Text this: Modeling and Control of Permanent Magnet Synchronous Motor Based Electric Vehicle