Loss minimizing gear shifting algorithm based on optimal current sets for IPMSM | IEEE Conference Publication | IEEE Xplore