Patent ID: 8217600

Claim:
A motor control device comprising: a current detection circuit that amplifies a voltage between terminals of a current detection resistor provided so as to correspond to each phase of a motor, and that outputs the amplified voltage; a current detector that detects a current value of each phase of the motor on the basis of an output voltage of the current detection circuit using a ground voltage as a reference; an exciting circuit that outputs an exciting current to a motor resolver provided to detect a rotation angle of the motor; and a motor driver that executes current control using a triangular wave as a PWM carrier on the basis of the current value of each phase and the rotation angle, wherein the current detector detects the current value of each phase on the basis of a difference between an output voltage of the current detection circuit, acquired at a timing at which the triangular wave reaches a peak, and an output voltage of the current detection circuit, acquired at a timing at which the triangular wave reaches a valley immediately before the triangular wave reaches the peak, wherein the current detection circuit and the exciting circuit share a grounding wire, and wherein the motor control device sets a phase of the exciting current in such a manner that output levels of the exciting current at respective timings, at which the current detector acquires an output voltage of the current detection circuit in one current detection circuit, are equal to each other.