Patent ID: 7791293

Claim:
A motor controller for driving a brushless motor, comprising: an inverter circuit which converts a current from a predetermined power supply based on a voltage command value for controlling driving the brushless motor and supplies the conversion result to the brushless motor to drive the brushless motor; only one current detector provided between the inverter circuit and the power supply for detecting a current given from the power supply to the inverter circuit; an each-phase current value acquisition unit which acquires a current value of each phase of the brushless motor based on the current detected by the current detector; a low-pass filter which time-averages the current detected by the current detector; an average current value acquisition unit which receives the time-averaged current from the low-pass filter; and a controller which finds the voltage command value based on the command current value indicating the current amount to be supplied to the brushless motor and the current value acquired by the each-phase current value acquisition unit.