Winding Function Model for Detecting Demagnetization in Permanent Magnet Synchronous Machines | IEEE Conference Publication | IEEE Xplore