Patent ID: 7671552

Claim:
A control device for a motor, comprising: a d-axis/q-axis current instructing unit creating a d-axis current command and q-axis current command in response to a deviation between an actually measured speed and preset rotation speed of the motor; a rotation angle detecting unit detecting a rotation of the motor and outputting an electrical angle of the motor; a motor parameter setting unit setting parameters corresponding to characteristics of the motor; a current command value correcting unit performing a correction necessary to suppress harmonic torque ripple components generated by the motor for the d-axis current command and q-axis current command outputted from the d-axis/q-axis current instructing unit in response to the electrical angle outputted from the rotation angle detecting unit and to the parameters outputted from the motor parameter setting unit, and creating a corrected d-axis current command value and corrected q-axis current command value; a current detecting unit detecting output currents of three phases, which are supplied to the motor, and outputting output current signals of the motor; and a 3-phase driving unit creating drive voltages of three phases and supplying the drive voltages to the motor based on the corrected d-axis current command value and corrected q-axis current command value outputted from the current command value correcting unit and on the output current detection signals of the motor outputted from the current detecting unit.