Modern Permanent Magnet Synchronous Motor Control Principle and Matlab Simulation with Book Simulation Model