rcarlyle / StepperSim

Simulates stepper motor driver systems
MIT License
100 stars 11 forks source link

Inductance is treated as constant #27

Closed rcarlyle closed 8 years ago

rcarlyle commented 8 years ago

Real stepper motor coil inductance is a function of rotor position and rotor/stator tooth gap. Would be nice to incorporate inductance as a function of rotor/stator phase position.

It could just be a sine function, so this would be treated the same way as back-emf is currently treated, but I'm not sure how to get the necessary motor parameters without a pretty elaborate test jig to force the rotor to precise phase positions while testing with an RLC meter. Might just be a diminishing returns effort.

rcarlyle commented 8 years ago

EG see http://www.mathworks.com/help/physmod/sps/powersys/ref/steppermotor.html

rcarlyle commented 8 years ago

There's also mutual inductance between coils to worry about, since the stator back-iron shares flux paths for both coils. So just checking position-dependent inductance isn't entirely accurate... it will also depend on current through the other coil.

This is probably too much of a pain to be worth incorporating.