Text this: Modeling and simulation of a brushless DC motor drive /