Patent ID: 6992451

Claim:
A motor control apparatus comprising: an encoder for producing a pulse signal in synchronism with rotation of a rotor of a motor that rotates a control object; an encoder counter for counting a count of the pulse signal of the encoder as an encoder count; a controller for sequentially switching a current supply phase of the motor to rotate the rotor to a target position during a feedback control of the motor by detecting a rotation position of the rotor on the basis of the encoder count; a first current supply phase setter for setting the current supply phase on the basis of the encoder count in synchronism with pulses of the pulse signal of the encoder during the feedback control of the motor; a second current supply phase setter for setting the current supply phase on the basis of the encoder count in a prescribed cycle by time-synchronous processing until the rotor is rotated to the target position; a current supply controller for causing, every time the current supply phase is set by each of the first and second current supply phase setter, a current to flow through a winding of the thus-set current supply phase; a reversing detector for detecting reversing of a rotation direction of the rotor occurring on its way to the target position; and a current supply phase holder for fixing the current supply phase for which current supply is effected by the current supply controller to a preceding current supply phase when the reversing detector has detected reversing.