Impact of Speed Ripple on the Back-Emf Waveform of Permanent Magnet Synchronous Machines