Modeling and simulation of asynchronous motor based on dq coordinate system