摘要 |
PROBLEM TO BE SOLVED: To provide a motor controller which enables motor drive by a 180-degree current application, such as sine wave current application which is low noise, low vibration, and high efficiency, etc., having a larger number of control devices and applications and can realize drive at low-cost with high performance. SOLUTION: A motor current value detected by a current sensor 5 is converted into a digital signal, by a carrier-synchronous A/D converter 16 and is supplied to a motor current correcting operation unit 17, which corrects the difference of a motor coil current detection value caused by the difference between the sampling timing of the carrier-synchronous A/D converter 16 and a prescribed sampling timing for supplying accurate phase difference information to a phase difference detection unit 8. A PI calculation of the error value between the phase difference information value from the phase difference detection unit 8 and a target phase difference information value from a target phase difference information storage unit 9 is carried out by a PI a operation unit 11; output duty is calculated by a PWM-generating unit 15, according to the duty reference value of the output of the PI operation unit 11 and sine wave data from a sine wave data generating unit 14; and the outputs of the PWM generating unit 15 are applied to the motor coils via an inverter circuit 2 to drive a motor 1. |