wherein the PWM mode is adapted on the running conditions of the motor