Online tuning method for current measurement offsets and gain deviations for SPMSM | IEEE Conference Publication | IEEE Xplore