| CPC H02P 21/18 (2016.02) [H02P 27/08 (2013.01)] | 20 Claims |

|
1. A method for controlling a motor comprising:
generating a pulse width modulation (PWM) signal for driving the motor;
determining a position of the motor based on transitions in a motor position signal, wherein transition intervals are defined between the transitions;
determining a PWM count of cycles in the PWM signal during a first transition interval of the transition intervals;
updating the position of the motor during a second transition interval of the transition intervals based on the PWM count to generate an updated position; and
controlling the motor based on the updated position.
|