Rapid control prototyping for PMSM drives using DSPs and PLECS | IEEE Conference Publication | IEEE Xplore