A comprehensive analysis and implementation of vector control of permanent magnet synchronous motor. (1st January 2014)