Nair JR. Digital Control of Permanent Magnet Synchronous Motor. Embedded System Design. 2013.