| CPC H02P 27/04 (2013.01) [H02P 6/16 (2013.01)] | 7 Claims |

|
1. A motor controller, wherein the motor controller is used for driving a motor, the motor has a coil, and the motor controller comprising:
a switch circuit, configured to supply a coil current to the coil;
a control unit, coupled to the switch circuit via a plurality of control signals; and
a pulse width modulation signal, wherein the control unit receives the pulse width modulation signal, the pulse width modulation signal has a duty cycle, when the motor is in a still state, the motor controller generates a fixed set of voltage waveforms to a first terminal, a second terminal, and a third terminal respectively, so as to enable a first driving signal, a second driving signal, and a third driving signal to be a six-step square wave signal or sinusoidal signal for driving the motor, at this moment the motor controller enters an early alignment state and enables the duty cycle to vary rapidly, such that the coil current to achieve a predetermined value within one electric period, and when the coil current achieves the predetermined value, the control unit records the duty cycle.
|