摘要 |
A signal generating section 24 includes a second calculating section 35 that corrects phase resistance. The calculating section 35 stores resistance values Ru, Rv, Rw of phases that have been measured in advance and a reference resistance value R. The calculating section 35 calculates correction components µd, µq, which cancel a voltage drop term of a voltage equation of a d-q coordinate system changing depending on the rotation angle ¸ of the motor 12, based on the stored resistance values Ru, Rv, Rw and the reference resistance value R. The signal generating section 24 superimposes the correction component µd and the correction component µq on a d-axis voltage command value Vd* and a q-axis voltage command value Vq*, respectively. The d-axis voltage command value Vd* and the q-axis voltage command value Vq* are thus corrected in such a manner as to suppress a torque ripple caused by difference among the resistance values of the phases. |