Patent ID: 7990094

Claim:
A motor controller comprising a motor control signal output member outputting a motor control signal, a driving circuit supplying three phases driving power to a motor based on said motor control signal, and an abnormal detecting member detecting a current-carrying failure generated in any phases of said motor, wherein; said motor control signal output member generates said motor control signal by executing a current control based on a rotational angle of said motor, and executes an output of said motor control signal to carry a current in other remaining two phases than a phase generated said current-carrying failure at a generation of said current-carrying failure; and said motor control signal output member executes said current control to carry to each of said two phases a phase current changing in accordance with a secant curve or a cosecant curve with making a predetermined rotational angle according to said phase generated said current-carrying failure as an asymptote at said generation of said current-carrying failure, and compensates said rotational angle to correct a phase offset between a current command value and an actual current value in said current control.