CPC H02P 27/08 (2013.01) [H02P 23/14 (2013.01)] | 11 Claims |
1. A motor controller comprising:
an inverter configured to turn on a different portion of all arms, for each energization pattern, among the arms, to energize a motor that includes a rotor;
a current detection unit coupled to a DC side of the inverter;
a PWM signal generator configured to generate a PWM signal, for each phase, with a duty cycle of a same value, the PWM signal having a first period length that is defined by
a first period during which a portion of the arms is turned on with a first energization pattern, during an idle time of the rotor,
a second period during which a portion of the arms is turned on with a second energization pattern, during the idle time, and
a third period during which all upper arms or all lower arms, among the arms, are turned on with a third energization pattern, during the idle time; and
a current detector configured to
subtract, from a first current magnitude or a second current magnitude, a magnitude that is half of a sum of the first current magnitude for a first phase flowing through the current detection unit during the first period, and the second current magnitude for the first phase flowing through the current detection unit during the second period, and
calculate an offset current magnitude for the first phase during the idle time.
|