Direct torque control of brushless DC motor with nonideal trapezoidal back EMF | Synapse