摘要:This paper presents an implementation embedded system for position control of Permanent Magnet Synchronous Motor (PMSM). The control system consists of raspberry pi 3 as a microcontroller, ASDA-A2 servo drive, and Delta Servo ECMA type. The software design includes simulation tool and Python included on Raspbian OS. Communication between Raspberry Pi 3 and ASDA-A2 drivers using the ASCII Modbus communication protocol. Raspberry Pi 3 processes the reference data and the actual reading result and calculates the resulting error. The control algorithm used in this research is Model Predictive Control (MPC). As a Linear Quadratic Regulator, MPC aims to design and generate an optimal control signal with the ability to anticipate saturation, receding horizon, future event and take control accordingly In the design of the MPC technique to adjust the speed of the PMSM to take action of reference tracking, performance index optimization is done by adjusting the value of weighting horizon N, Q and R. The simulation and implementation results showed that the PMSM can reach the stability point on each desired setpoint and result in a near-zero steady-state error.