Detecting uniform and partial demagnetization for an interior permanent magnet machine | IEEE Conference Publication | IEEE Xplore