Controlling a Stepper as a Closed-Loop Brushless Motor