Text this: Passivity Based Control for Permanent-Magnet Synchronous Motors