Comparative Analysis of Surface-mounted and Interior Permanent Magnet Synchronous Motor