Patent ID: 6984957

Claim:
An apparatus for controlling a permanent-magnet rotary machine having a permanent magnet and an armature respectively in a rotor and a stator, comprising: magnetic pole position detecting means for detecting a magnetic pole position of said rotor; correcting quantity determining means for determining a magnetic pole position correcting quantity to correct the magnetic pole position detected by said magnetic pole position detecting means; and current control means for controlling an armature current flowing through said armature while controlling the phase of an armature voltage to be applied to said armature depending on the magnetic pole position of said rotor depending on the magnetic pole position which is produced by correcting the magnetic pole position detected by said magnetic pole position detecting means with the magnetic pole position correcting quantity determined by said correcting quantity determining means said correcting means quantity determining means comprising means for performing a dq vector control process which has a d-axis representing the direction of a magnetic field of said rotor and a q-axis representing a direction perpendicular to said d-axis while said rotor is rotating and a command values for both the d-axis current and the q-axis current are being held at zero in said dq vector control process by setting said magnetic pole position correcting quantity to a predetermined temporary setting value, and determining a true value of said magnetic pole position correcting quantity according to a predetermined equation where only a d-axis voltage command value and a q-axis voltage command value are the variables based on the d-axis voltage command value and the q-axis voltage command value which are determined when said dq vector control process is performed, said permanent-magnet rotary machine comprising a rotary machine mounted on a vehicle for generating a propulsive force for propelling the vehicle, and said correcting quantity determining means comprising means for performing a process of determining said magnetic pole position correcting quantity while said vehicle is running idly with no torque generated by said permanent-magnet rotary machine.