Text this: Modeling and simulation of torque hysteresis controller for brushless DC motor drives