Tracking of Partially Unknown Trajectories for Permanent Magnet Synchronous Motors