Permanent magnet synchronous motors (PMSMs) are widely used in the field of industrial servo control, especially in high-precision applications. Owing to the periodic torque ripple caused by the cogging torque, flux harmonics, and current offsets, the speed output of the system has a periodic ripple, which affects the control accuracy of the servo system. The conventional proportional-integral controllers cannot reject torque ripple and are highly dependent on motor parameters. This limits the control performance when a PMSM is used as a high-precision servo system. Thus, this paper proposes a combination of model predictive control (MPC) and iterative learning control (ILC) to not only speed up the response time of the system but also effectively reduce the speed ripples. MPC updates the predictive model in real time through feedback and evaluates the system output and control rate according to the cost function. It obtains an optimal control sequence for the next moment and has good parameter robustness and fast response. ILC records the speed of ripple signals over an entire cycle and then uses those signals to compensate for the control signal in the next cycle. It is capable of reducing the periodic speed ripples. The experimental verification of the schemes was conducted on a digital signal processor-field programmable gate-array-based platform. The experimental results obtained confirm the effectiveness of the proposed MPC-ILC scheme. INDEX TERMS Iterative learning control, model predictive control, PMSM control, speed ripple.