An FPGA-Based Real-Time Spatial Harmonics Model of a PMSM Considering Iron Losses and the Thermal Impact | IEEE Journals & Magazine | IEEE Xplore