Text this: Modeling and validation of brushless DC motor