Patent ID: 8198846

Claim:
A motor control device for controlling driving of a motor having a permanent magnet provided at a rotor of the motor so as to control rotation of the rotor, the motor control device comprising: an angle detector that detects an angle of the rotor by use of an angle sensor: a current detector that detects, as a detected current, an outflow current from or an inflow current to a direct-current power source that serves as a source for driving the motor; and an angle corrector that corrects the detected angle based on the detected current, wherein the driving of the motor is controlled by use of a corrected angle obtained through correction by the angle corrector wherein, when it is defined that an axis parallel to a direction of a magnetic flux produced by the permanent magnet is a d-axis; that an axis assumed, for control purposes, to correspond to the d-axis is a γ-axis; and that an axis perpendicular to γ-axis is a δ-axis, the motor control device further comprises a specified current value generator that generates a target γ-axis current value and a target δ-axis current value at which a γ-axis component and a δ-axis component of a supply current to the motor are supposed to be, wherein the angle corrector finds an angle correction value based on the detected current as detected when the target δ-axis current value is zero and simultaneously the target γ-axis current value is negative, and finds the corrected angle based on the angle correction value and the angle detected by the angle detector.