Motor controller of air conditioner and method of the motor controller
The present invention relates to a motor controller for an air conditioner and a motor control method. The motor controller including a converter converting AC utility power into DC power and an inverter having a plurality of switching elements, the inverter receiving the DC power, converting the received DC power into AC power by switching operations of the switching elements, and supplies the AC power to a motor, the motor controller further including: a current detector detecting a current flowing in the motor controller; a temperature detector detecting a temperature in the motor controller or a temperature ambient to the motor controller; and a controller calculating a loading based on at least one of room temperature, setup temperature, and inner unit capacity and setting up a final target frequency for driving the motor based on the calculated loading and at least one of the detected current and the detected temperature. The motor controller for the air conditioner and the motor control method determines a target frequency considering a current and a temperature, to reduce power consumption and protect circuit elements.