Robust Nonlinear Predictive Controller for Permanent-Magnet Synchronous Motors With an Optimized Cost Function | Synapse