Flux-Weakening Drive for IPMSM Based on Model Predictive Control