Closed-loop control algorithm used in SEM Lexium MDrive products which uses an encoder to accurately track and maintain the relationship between the motor’s rotor and stator. By keeping this relationship within a set control boundary of less than 1.7 motor full steps, the full performance envelope of the stepper motor may be utilized and common conditions such as loss of synchronization and stalling eliminated.