A Novel CCS-MPC Algorithm for SPMSM Position Control with Innovative Constraint Processing Strategy
Lingbo Kong, Jianli Wang, Xinyu Dong, Huiying Hu, Boting Liu

TL;DR
This paper introduces a new control algorithm for precise position control of surface-mounted permanent magnet synchronous motors.
Contribution
The novel NCCS-MPC algorithm improves multi-step predictive control and introduces an innovative constraint processing strategy.
Findings
The NCCS-MPC algorithm compensates for one-step computational delay and ensures steady-state performance.
The ICPS strategy effectively handles constraint conflicts by integrating speed, current, and voltage constraints.
Simulation and experimental results confirm the effectiveness of the proposed control strategy.
Abstract
In this study, we develop a novel continuous control set model predictive control (NCCS-MPC) strategy for surface-mounted PMSM (SPMSM) position control, which consists of the improved multi-step model predictive position control (IMS-MPPC) algorithm and an innovative constraint processing strategy (ICPS). The algorithm reforms the predictive model in the conventional strategy for multi-step model predictive position control, and the one-step computational delay is compensated for within the multi-step CCS-MPC frame, guaranteeing steady-state performance. The ICPS takes speed and current constraints into account during reference trajectory planning and imposes a voltage constraint on the unconstrained optimization result, removing the problem of constraint conflict. A comparative simulation study combined with experimental results verified the merits of the proposed NCCS-MPC.
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7- —Jilin Province’s Special Project for Concentrated Efforts and Breakthroughs: “Intelligent Lightweight Ultra-Wide Swath High-Resolution Remote Sensing Satellite and Data Processing Technology”
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Control Systems Optimization · Advanced Control Systems Design · Robotic Mechanisms and Dynamics
1. Introduction
Surface-mounted permanent magnet synchronous motors (SPMSMs) have been widely used in industrial fields such as robotics [1], aerospace [2], and electric vehicles [3] due to their outstanding advantages of high power density, high reliability, and good control performance. The classical control method for SPMSMs is field-oriented-based cascaded PID control, which has the advantages of simplicity and good robustness. However, the SPMSM is a typical nonlinear, coupled system, and with PID control, it is difficult to achieve a fast response, small overshoot, and high steady-state accuracy simultaneously. Therefore, in high-end applications, advanced control algorithms such as sliding mode control [4], adaptive control [5], backstepping control [6], and model predictive control (MPC) [7,8] have been widely studied, and many achievements have been made in improving the control performance of SPMSMs. Among these algorithms, MPC has received increasing attention due to the merits of intuitive modeling and tuning, easy inclusion of nonlinearity and constraints, and multiple control objectives.
MPC is classified as finite control set model predictive control (CCS-MPC) or continuous set model predictive control (FCS-MPC), based on whether it solves an integer optimization problem [9]. FCS-MPC directly considers the discrete characteristics of power converters and uses exhaustive methods to evaluate the control effect of the eight basic voltage vectors. The voltage vector that minimizes the cost function is selected as the output of the power converter in the next control cycle [10,11,12]. CCS-MPC obtains continuous control signals by solving quadratic optimization problems [13] and then uses PWM technology (mostly SVPWM) to modulate the optimal control signal. In the field of motor control, MPC is more commonly used for direct current (torquer) control [14,15,16,17], but relatively less studied in the high-order position control or speed control system.
However, cascaded-free direct position control based on the MPC algorithm performs better in dynamic response than the conventional PID strategy does [8]. Reference [18] presented an FCS-MPC-based direct position control approach, where good track performance was demonstrated, but only one voltage vector was applied during a complete switching cycle in the FCS-MPC frame, and achieving system steady-state performance was challenging because of high current ripples. The steady-state ripple is alleviated to some extent via duty-ratio and multi-voltage vector technology in [19]. Moreover, the FCS-MPC method is commonly employed in short predictive horizon problems [9] combined with the deadbeat principle [20] where different sample times between the position and current are necessary because the electromagnetic time constant is much smaller than the mechanical time constant.
Compared to the FCS-MPC method, CCS-MPC can perform better in the steady state because of the modulation technology. In addition, the CCS-MPC method is flexible in handling long-predictive-horizon problems, which is important for high-order control systems to achieve better stability and performance. S.D. Huang et al. applied the CCS-MPC method in predictive position control for a long-stroke planar motor [21] and achieved micrometer-level control accuracy. Mohammadreza Mamashli et al. designed speed and current loops by adopting a method that combines MPC and sliding mode control, effectively reducing torque ripple and losses [22]. However, the main challenge of implementing the CCS-MPC algorithm is determining how to solve the quadratic optimization problem effectively, even with conflict among the constraints. The constraints in the position control system for SPMSM usually include the speed, current, and voltage limits [20]. The speed and current constraints concern the long-term safe operation of the system, while limits can be exceeded for short periods with small amplitudes, commonly referred to as soft constraints [23]; the voltage constraint is determined by the DC-Link voltage and modulation method and must be strictly respected, commonly known as hard constraints [23]. Hildreth’s quadratic planning procedure [13,24] is the most used method in CCS-MPC optimization, but it treats both types of constraints as soft. When conflict occurs, the convergence and voltage limit cannot be guaranteed, so it is difficult for the actual system performance to remain optimal. C. He et al. proposed a geometric optimization method in [25] and showed that it is more effective than Hildreth’s algorithm. Unfortunately, this method treats all the constraints as hard, leading to the so-called deadlock during conflict.
Besides the optimization problem mentioned above, the inherent one-step computational delay phenomenon that exists in the digital control system is not treated well in the long-horizon multi-step CCS-MPC algorithm in [8,21,25,26,27,28,29,30], causing chattering in the steady-state response [31].
In this study, a novel CCS-MPC strategy (NCCS-MPC) for surface-mounted PMSM (SPMSM) position control is developed, which consists of the improved multi-step model predictive position control algorithm (IMS-MPPC) and an innovative constraint processing strategy (ICPS). The control diagram of the proposed NCCS-MPC strategy is illustrated in Figure 1. The constrained trajectory planner (CTP) is the core of the ICPS and produces the constraint-compatible reference trajectories of stator current, angular speed, and angular position. These trajectories are then fed into the IMS-MPPC module to construct the cost function. The main contributions of this paper can be summarized as follows:
- (1)The proposed IMS-MPPC algorithm reforms the predictive model in the conventional strategy for multi-step model predictive position control. The strategy of one-step delay compensation is used for the first time in the CCS-MPC framework based on multi-step prediction on SPMSM.
- (2)The proposed ICPS adopts distinct disposals for system constraints, concerning their different properties. Speed and current limits are considered in the CTP module to plan the constraint-compatible trajectories for the IMS-MPPC to track, so the constrained problem degrades to an unconstrained one and the unconstrained optimal solution is further limited to the voltage vector circle to respect the voltage constraints. The ICPS balances the hard and soft constraints well, and deadlock and non-convergence are consequently avoided.
This paper is organized as follows. Section 2 introduces the proposed IMS-MPPC algorithm with its predictive model and cost function for SPMSM position control. The proposed ICPS is described in Section 3 in detail regarding how it deals with the system constraints. Section 4 briefly describes the design of the extended Luenberger observer in SPMSM. Section 5 demonstrates the simulation and experimental results to validate the advantages of the proposed NCCS-MPC over other MPC strategies, and finally, Section 6 concludes the paper.
2. The Proposed IMS-MPPC Algorithm
2.1. Full-Order Model of SPMSM
The dynamic model of SPMSM in the and synchronous rotating coordinate system is described as follows:
where , , , and are the - and -axis voltages and currents, respectively, and and correspond to the electrical angular position and speed. The inductance and resistance of the d- and q-axes are basically equal in actual measurement, so are assumed equal for the convenience of research. and are the excitation inductance and resistance of the motor stator, respectively, and , , , and represent the permanent magnet flux linkage, pole pairs, moment of inertia, and load torque, respectively.
2.2. Discrete State Space of SPMSM
The dynamics in Equations (1)–(4) are discretized using 1st-, 2nd-, and 3rd-order Taylor expansions, and is supposed owing to the high system sampling frequency.
represents the sample period. The method in [19] is used to modify Equations (5) and (6) to improve the current predictive accuracy as
The system output vector and state vector are defined as , and the control input is defined as ; then, the discrete state space of the position control system of SPMSM is formulated as
where , , , and is the disturbance term.
2.3. The Proposed IMS-MPPC Strategy
Neglecting the variation in disturbance term between two consecutive samples, the incremental state space of the system is expressed as
The new state vector and output vector are defined as and , and then the new state space is described as
where , , , and , and and , respectively, denote the zero and identity matrices of compatible dimensions. When considering the control horizon and the prediction horizon ( ≤ ), the following vectors are defined:
The system state predictive model for the future samples can be established as
where , .
However, there is a one-step delay in digital control systems. When the optimal control sequence is obtained according to the predictive model (17) and the first sample is output to the modulation module, it will not act on the motor until the sampling period, and will consequently lead to chattering [28]. To compensate for the one-step delay phenomenon, (17) is reformed as
where , , , and , with . The cost function is defined as
where denotes the output weighting matrix, and , , , and are the -axis current, -axis current, speed, and position weighting factors, respectively. denotes the control weighting matrix and is the control weighting factor. are the reference trajectories of the system outputs, which is expressed as . , where , , , and are the -axis current, -axis current, angular speed, and angular position reference trajectories, respectively. The strategy is adopted in this study, so the -axis current reference trajectory is set to . , , and are discussed in Section 3.
When the system constraints are not a problem, the unconstrained optimal control sequence is calculated by minimizing the cost function (19). Substituting (18) into (19) and solving the equality , the closed form of is obtained as
3. The Proposed ICPS
The unconstrained optimal control sequence may risk overspeed and overcurrent or exceed the modulation range of the system, so the system constraints must be considered carefully. In this section, the proposed ICPS is presented, where the speed and current constraints are considered within the CTP and the voltage constraint is imposed on directly.
3.1. The Proposed CTP Considering Speed and Current Constraints
The reference trajectories are tracked via the IMS-MPPC algorithm. If these trajectories are speed- and current-constraint-compatible, then it is feasible to ignore these constraints during the optimization. According to the conventional MPC principle, the position trajectory is obtained via smooth processing:
where represents the position command. is the smooth factor and is the same as below. Theoretically, the speed trajectory is equal to the first-order difference of , that is,
However, the speed trajectory obtained from (22) may not meet the speed constraint, so it should be modified.
where is the maximum allowable speed. If the speed limit is triggered at any moment, then the corresponding position trajectory at the same moment should be modified too.
To obtain the current trajectory, dynamic (3) is discretized using the backward difference method:
Defining the constant , the incremental version of (25) can be formulated as follows to weaken the impact of .
Then, the current trajectory can be calculated from the speed trajectory according to the following procedure:
Similarly, the current trajectory should be modified to meet the current limit.
where is the maximum allowable current. If the current limit is triggered at any moment, then the corresponding speed and position trajectories at the same moment should be modified too.
Formula (35) is identical to (24), rewritten here only for the sake of completeness.
At every control cycle, let , which is determined by the state and control variable in this case. By iteratively calculating from to according to (21)–(35), the speed- and current-constraint-compatible reference trajectories are produced.
To smoothen the expected trajectory, the generated expected current is averaged to suppress system noise. It is expressed as follows based on the principle of equal impulse:
3.2. Voltage Constraint
The voltage constraint is determined by the DC-link voltage and modulation method. Concerning SVPWM technology, the voltage constraint is limited to the voltage vector circle described as
where is the DC-link voltage. According to the principle of receding horizon control, only the first sample, , of is applied to the motor, and the -axis control voltages are calculated as
where
Let be .
Voltage constraints are applied as hard constraints by directly limiting the amplitude after solving the QP problem. In practice, however, the algorithm addresses an unconstrained QP problem with a positive definite weight matrix during the solution process, thereby avoiding deadlock and non-convergence issues.
The control variable will act on the motor in the next control cycle.
4. Extended Luenberger Observer
Due to the presence of noise in actual motor systems, in this study, an extended Luenberger observer is adopted to observe the electrical angle and angular velocity [20]. The form of the observer is as follows:
where , , , and . The notation (^^^) is used to express the estimated variables. The system matrices A, B, and C are defined as follows:
To simplify the processing, the eigenvalues of matrix are uniformly set to . The system is only stable and converges when the eigenvalues have negative real parts. By substituting the characteristic equation into the expressions of each matrix in this section, we can derive the equation . Since the eigenvalues of the matrix are all set to , the characteristic equation of the matrix should be . Therefore, we can infer that the elements of matrix L are
5. Simulation and Experiment Results
5.1. Comparative Simulation Study
A simulation study is conducted to evaluate the performance of the proposed NCCS-MPC in this section, and comparative simulations with MPPC-GC [25] and MPPC-HA are also implemented. Concerning MPPC-HA, it features solving the QP problem (44) and (45) with Hildreth’s algorithm [24].
When formulating the cost function (44), is redefined as , and therefore the matrices , , , , and the reference trajectory should be modified accordingly. The constraints (45) can be modeled similarly to [25].
The parameters of the SPMSM used in simulation are listed in Table 1. All the methods are simulated with sampling period and maximum allowable mechanical angular speed ; that is, the speed constraint is . The current constraint is for NCCS-MPC and and for MPPC-GC and MPPC-HA, respectively. Sensor noise is not considered in the simulation. The control parameters of the three methods are determined by trial and error and are listed in Table 2.
A step signal is used to test the performance of the three methods, and the response curves are depicted in Figure 2. The rise time, RMS tracking error, q-axis current ripple, and maximum position error during 0.1–0.15 s are measured in Table 3, which imply that the MPPC-GC features the fastest response property but highest static error, and the proposed NCCS-MPC responds faster than MPPC-HA and has the lowest static error. It also proves that the NCCS-MPPC strategy proposed in this paper can effectively reduce waste power and mechanical wear.
More importantly, the following can be seen from the speed and current curves: ① MPPC-GC and MPPC-HA both suffered from oscillation during the transient stage because of the deadlock and non-convergence problem caused by the frequent constraint conflicts, but NCCS-MPC survived thanks to the proposed ICPS, leading to an unconstrained QP problem (19). ② MPPC-GC and MPPC-HA both presented chattering features during the steady state due to the one-step computational delay, but NCCS-MPC survived because this delay was compensated for in the proposed IMS-MPC algorithm. Oscillation and chattering will lead to more waste power and mechanical wear, and the proposed NCCS-MPC strategy can efficiently mitigate these adverse effects.
At the same time, to verify the effectiveness of the algorithm by directly constraining the voltage, Figure 3 shows a plot of the unlimited and after solving the QP problem. During the simulation, it can be seen that the optimized calculated does not exceed the limit in 99.93% of cases, and it will not exceed the limit in the near-steady and steady states; there are very few cases where the limit is exceeded only in the transient response process. In this case, the - and -axis voltage after the limit is not the optimal solution; only the amplitude has been reduced, which does not affect the overall transient performance.
5.2. Experimental Result
To verify the practical effectiveness of the proposed NCCS-MPC strategy and its consistency with the simulation conclusions, experiments are conducted on a set of high-performance SPMSM experimental platforms. A 26-bit absolute encoder is selected, and the PWM wave carrier frequency is 10 KHz. The motor parameters are completely consistent with those in Table 1, and the experimental period, trajectory constraints, etc., are consistent with the simulation to ensure the comparability of the experimental and simulation conditions. The experimental platform is shown in Figure 4.
According to the size and precision requirements of the rotating shaft, a metal grating angle encoder is adopted. With image acquisition and processing technology as the core, a signal super-resolution decoding method is used for high-precision and miniaturized angle sensing measurement. It has excellent characteristics such as a large hollow shaft, light weight, and small rotational inertia, and it is suitable for controlling hollow shaft structure turntables. Its split structure design allows the encoder disk to be directly fixed on the rotating component, reducing measurement errors. The main technical parameters are shown in Table 4, and Figure 5 shows an image of the device.
A step position instruction with an amplitude of is applied to the system. Figure 6a shows the experimental results from adopting the proposed NCCS-MPC strategy. It can be observed that the motor tracks the instruction rapidly and accurately, and the position transient response is smooth and without overshoot. The rise time is 57.9 ms and the maximum steady-state error is less than 10 μrad. At the same time, to prove the feasibility of using a control frequency of 10 kHz, the actual time taken for the control algorithm to execute one cycle was measured to be 65.6 μs, which is less than 100 μs and meets the requirement. The speed and current responses are smooth during the transient process, and they are confined within the preset constraint boundaries (indicated by the red line in the figure) after a brief overjump, which fully demonstrates the effectiveness of the ICPS in handling constraints, and the IMS-MPPC algorithm successfully compensates for the computational delay.
Parameters such as the resistance and inductance of the SPMSM system are clearly provided by the motor, while the moment of inertia depends on the load and the measurement method is limited. When the actual moment of inertia of the SPMSM system deviates from the nominal value, the system model parameters will not match. Experiments were conducted to verify the robustness of the algorithm: the moment of inertia parameters were modified in the software program since the actual load was immutable. The experimental results are shown in the figure. Figure 6b,c show the response curves when the nominal moment of inertia deviates by 20% and −20%, respectively, indicating that the transient response time and steady-state error barely change.
After solving the QP problem in the simulation, the d- and q-axis voltage distribution prior to application of the voltage hard constraint was analyzed. To verify the consistency in an actual motor control system, the above voltage values were measured, and the distribution is shown in Figure 7. The same conclusions as in the simulation can be drawn.
According to the experiment, the core performance of the algorithm was reproduced in the experimental environment, the rise time was highly consistent, and the robustness of the model parameters was good. However, the steady-state error increased, which can be attributed to the non-ideal factors of the actual system, such as mechanical friction, encoder noise, inverter dead zone, and parameter uncertainty. However, it still maintains a high precision at the milliradian level and demonstrates good and stable transient performance in the experiment.
The experimental results are highly consistent with the simulation predictions, which strongly proves that the proposed NCCS-MPC strategy is not limited to the simulation environment. It significantly improves the dynamic performance, steady-state performance, and reliability of the system, meeting the requirements of high-precision industrial applications.
6. Conclusions
In this paper, we propose a strategy for novel continuous control set model predictive control (NCCS-MPC) for the high-performance position control problem of an SPMSM. This strategy is organically composed of two parts: the improved multi-step model predictive position control (IMS-MPPC) algorithm and the innovative constraint handling strategy (ICPS). It can achieve high-precision fast responses and overshoot position control in both simulation environments and real systems. At the same time, it can properly handle multi-constraint problems and eliminate the adverse effects caused by computational delays. The combination of the two strategies not only ensures good performance in steady-state tracking but also addresses the issues caused by constraint conflicts. Although the solution obtained by directly using series voltage limiting after solving the unconstrained QP problem may not be optimal, under actual working conditions, the limiting conditions are met in both the steady state and when the transient response is over 99.9%, and it will not affect the control of the system. In conclusion, the NCCS-MPC strategy proposed in this paper provides an effective solution for controlling the SPMSM with high precision and reliability, and has broad application prospects in high-end fields such as industrial robots, precision optical instruments, and semiconductor manufacturing equipment.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Metwly M.Y. Clark C.L. He J. Xie B. A Review of Robotic Arm Joint Motors and Online Health Monitoring Techniques IEEE Access 20241212879112880910.1109/ACCESS.2024.3447573 · doi ↗
- 2Hsiao D.-C. Hsieh M.-F. Integrated Design and Power Loss Minimization of Reaction Wheel Motor for Satellite Attitude Control IEEE Trans. Ind. Appl.2023593291329910.1109/TIA.2023.3249149 · doi ↗
- 3Sankhwar P. Application of Permanent Magnet Synchronous Motor for Electric Vehicle Indian J. Des. Eng.202441610.54105/ijde.A 8028.04020824 · doi ↗
- 4Zhang Z. Yang X. Wang W. Chen K. Cheung N.C. Pan J. Enhanced Sliding Mode Control for PMSM Speed Drive Systems Using a Novel Adaptive Sliding Mode Reaching Law Based on Exponential Function IEEE Trans. Ind. Electron.202471119781198810.1109/TIE.2023.3347845 · doi ↗
- 5Abo-Khalil A.G. Eltamaly A.M. Alsaud M.S. Sayed K. Alghamdi A.S. Sensorless control for PMSM using model reference adaptive system Int. Trans. Electr. Energy Syst.202131 e 1273310.1002/2050-7038.12733 · doi ↗
- 6Linares-Flores J. García-Rodríguez C. Sira-Ramírez H. Ramírez-Cárdenas O.D. Robust Backstepping Tracking Controller for Low-Speed PMSM Positioning System: Design, Analysis, and Implementation IEEE Trans. Ind. Inf.2015111130114110.1109/TII.2015.2471814 · doi ↗
- 7He C. Hu J. Li Y. Predictive Position Control for PMSM Drives with Speed and Current Constraints Proceedings of the 2023 IEEE International Conference on Predictive Control of Electrical Drives and Power Electronics (PRECEDE)Wuhan, China 16–19 June 2023
- 8Li S. Xu Y. Zou J. A Novel Constrained Model Predictive Position Control for PMSM Drives Proceedings of the 2023 IEEE International Conference on Predictive Control of Electrical Drives and Power Electronics (PRECEDE)Wuhan, China 16–19 June 2023
