摘要 |
PROBLEM TO BE SOLVED: To solve the problem of occurence of a position estimation error depending on a position of a rotor, that is caused by the structure of a motor.SOLUTION: This rotary electric machine control device includes: a phase estimation part for estimating a first estimated phase value relating to an estimated phase of a rotor based on a rotary electric machine current flowing in a rotary electric machine; a correction value storage part for storing correction information showing a plurality of second estimated phase values relating to the estimated phase in association with a plurality of correction values; a first phase correction part for obtaining, based on a second estimated phase value corresponding to the first estimated phase value, a correction value associated with the second estimated phase value from the correction information, and correcting the second estimated phase value based on the correction value; a position control part for calculating a speed command based on a position command and the corrected second estimated phase value; and a speed control part for calculating a torque command value or a q axis current command value based on the speed command and the corrected second estimated phase value. |