Patent ID: 8836255

Claim:
A control device that controls an electric motor drive device including a DC/AC conversion section that converts a DC voltage into an AC voltage using a detected angle detected by a resolver provided in an AC electric motor to supply the resulting AC voltage to the AC electric motor, the control device comprising: a detected angle acquisition section that acquires a detected angle detected by the resolver; a correction information storage section that stores both first correction information associated with a rotational speed of the AC electric motor and second correction information associated with a modulation rate, which is a ratio of an effective value of a fundamental-wave component of the AC voltage to the DC voltage, as correction information for correcting the detected angle; a correction information acquisition section that acquires the first correction information on the basis of the rotational speed in the case where the rotational speed at an angle acquisition time point when the detected angle acquisition section acquires the detected angle is equal to or more than a rotational speed threshold determined in advance, and that acquires the second correction information on the basis of the modulation rate at the angle acquisition time point in the case where the rotational speed at the angle acquisition time point is less than the rotational speed threshold; and a detected angle correction section that corrects the detected angle on the basis of the correction information acquired by the correction information acquisition section.