Patent attributes
A current sensor of a motor controller detects the current applied to a motor drive circuit and thus a phase where a failure cannot be detected would occur without taking any measures. However, an abnormal current monitor section contained in a microcomputer receives a voltage signal of an average value of the currents detected in the current sensor by allowing a signal to pass through a first LPF having a cutoff frequency sufficiently lower than the frequency of a PWM signal. Therefore, whether or not the value is within a predetermined normal range is checked, whereby whether or not some failure containing a failure of the current sensor occurs can be easily determined about every phase.