Text this: Condition Monitoring and Fault Diagnosis of Permanent Magnet Synchronous Motor Stator Winding Using the Continuous Wavelet Transform and Machine Learning