| CPC H02P 21/10 (2013.01) [H02P 21/18 (2016.02); H02P 2207/05 (2013.01)] | 20 Claims |

|
1. A method for controlling a motor comprising:
receiving mechanical angle data and electrical angle data representing a position of the motor;
setting an encoder offset between the mechanical angle data and the electrical angle data;
determining extremum values of a phase current of the motor;
adjusting the encoder offset based on the extremum values to generate an adjusted encoder offset;
determining an estimated motor position and an estimated motor speed based on the mechanical angle data, the electrical angle data, and the adjusted encoder offset; and
generating a drive signal for the motor based on the estimated motor position and the estimated motor speed.
|