Patent ID: 8232755

Claim:
A motor apparatus comprising: a DC motor comprising a stator and a rotor; an AC to DC converter configured to receive an AC power input and to convert the AC power input to a DC power; a PWM signal generator configured to generate PWM signals; a switching circuit configured to generate a PWM switched power using the DC power and the PWM signals, and to supply the PWM switched power to the DC motor; an input power irregularity detector configured to detect irregularities in the AC power input and to send a control signal to the PWM signal generator, wherein upon receiving the control signal the PWM signal generator is configured to stop generating the PWM signals and then restart generating a new set of PWM signals; and a voltage dividing circuit connected to the AC power input and configured to scale down the AC power input to a logic circuit voltage level, wherein the input power irregularity detector monitors the scale-down version of the AC power input.