Patent attributes
In a motor controller, in the case that occurrence of a failure of electric current flow is detected in any phase of a motor, a phase electric current command value changing in accordance with a secant curve or a cosecant curve with an asymptotic line at a predetermined rotation angle corresponding to the phase in which the failure of electric current flow has occurred is calculated. The calculated phase electric current command value is limited in such a manner as to become within a predetermined range. In the case that a rotation angle of the motor exists in a range in which the phase electric current command value is limited, the execution of an anomaly detection of a control system utilizing an electric current deviation of a d/q coordinate system is inhibited.