Abstract: The micro computer 17 continue an output of a motor control signal to execute a current control to carry to each of two phases a phase current changing like a secant curve or a cosecant curve at making a predetermined rotational angle according to the phase generated the current-carrying failure as an asymptote at the generation of the current-carrying failure. The micro computer 17 provides a rotational angle compensating section 40 compensating an input rotational angle ? to correct a phase offset between a phase current command value Ix* as a current command value and an actual phase current value Ix as an actual current value in the current control.