DOI 10.17816/transsyst201843s1279-288 © Z. Ma1, Y. Zhao1, Y. Sun1, Z. Liao12, G. Lin1
1National Maglev Transportation Engineering R&D Center, Tongji University 2College of Electronics and Information Engineering, Tongji University (Shanghai, China)
CONSTANT SWITCHING FREQUENCY MODEL PREDICTIVE CONTROL FOR PERMANENT MAGNET LINEAR SYNCHRONOUS MOTOR
Aim: This paper proposes constant switching frequency model predictive control (CSF-MPC) for a permanent magnet linear synchronous motor (PMLSM) to improve the steady state and dynamic performance of the drive system.
Methods: The conventional finite control set model predictive control (FCS-MPC) can be combined with a pulse width modulation (PWM) modulator due to an effective cost function optimization algorithm which is from the idea of dichotomy. In the algorithm, all the voltage vectors in the constrained vector plane are dynamically selected and calculated through iteration. The whole system including control algorithm and mathematical model of PMLSM is built and tested by simulation using MATLAB/Simulink. Besides, the control algorithm is tested in the FPGA controller through FPGA-in-the-Loop test.
Results: With the modern digital processors or control hardware such as digital signal processors (DSPs) or field programmable gate arrays (FPGAs), the algorithm can be easily executed in less than 10-micro second. This is very proper for industrial applications. The proposed control algorithm is implemented on FPGA and tested by FPGA-in-the-Loop method. The proposed control algorithm can improve the performance of drive system greatly.
Conclusion: The proposed CSF-MPC for PMLSM not only keeps the same dynamic transient performance as FCS-MPC but also greatly decreases the torque ripple in steady state. Furthermore, CSF-MPC is also robust to parameter variations. Simulation and FPGA-in-the-Loop results illustrate that CSF-MPC has an attractive performance for PMLSM drives.
Keywords: Permanent magnet linear synchronous motor (PMLSM), Model predictive control, Field programmable gate arrays (FPGAs), Dichotomy, Constant switching frequency, Voltage vector.
Linear machines are widely used in industry systems which require fast response and large thrust. Without an intermediate conversion mechanism, a linear machine can directly convert electrical energy into mechanical energy in a linear motion [1]. This is the most attractive characteristics of linear machines. Recently, Permanent magnet linear synchronous motors (PMLSM) drive systems develop very fast because of some advantages such as low losses, fast dynamic performance and high thrust performance.
PMLSM drive systems have wide applications in industrial automation production lines and industrial transmissions such as machine tools. With the
INTRODUCTION
This article is available under license
continuous development of equipment manufacturing technology, on the one hand, PMLSM drive system requires higher control bandwidth and dynamic response; on the other hand, it needs higher steady state accuracy and better static characteristics. These technique demand make advantage control strategies of PMLSM more desirable [2, 3]. Recent years, with the rapid development of control platform devices, such as DSP (digital signal processor) and FPGA (field programable gate array), model predictive control (MPC) becomes attractive in control of electrical drive systems for some advantages such as good dynamic response and straightforward inclusion of nonlinearity and restrictions in the model and control [4, 5]. For application in power electronics and electrical drives, MPC can be concluded into two categories: continuous control set MPC (CCS-MPC) and finite control set MPC (FCS-MPC).
For CCS-MPC, generalized predictive control (GPC) is a typical control strategy belong to this category [6]. GPC is established on linear models and extended to including constraints. In order to receive a required accuracy, the prediction of GPC usually need at least several steps. Moreover, the calculation is normally so large that it can only be realized by off-line calculation. Furthermore, GPC degrades accuracy while control of nonlinear systems such as electrical drive systems. FCS-MPC considers only finite set of possible switching states of power converters and solves the cost function for each of them and selects a switching state which minimizes the cost function. Easy to be implemented and good dynamic response are the two remarkable advantages of FCS-MPC. Therefore, it becomes rather popular in control of power electronic systems in these years [6, 7]. However, only one switching state to be applied in a sampling interval makes a variable switching frequency. Meanwhile, a relatively large control error is generated in each switching interval especially for two level converters. Hence, a large current ripple and wide range harmonics frequency are unavoidable.
Recently, many research works try to solve above men9tioned problems of FCS-MPC. In [8], based on a fixed hysterics bandwidth, multi-step prediction is adopted to select a proper switching state so that it keeps a constant torque ripple bandwidth. In each sampling interval, following an active switching state, a zero state will be inserted in the control interval to decrease the current ripple [9]. While in [10], a cost function for minimum torque ripple is directly defined to calculate the switching point. Based on duty cycle control, an improved model predictive control for current control is proposed in [11]. In [12], dichotomy solution algorithm for cost function is proposed which provide an effective approach to solve some of these problems.
This paper proposed a dichotomy solution based constant switching frequency model predictive control (CSF-MPC) for PMLSM. The d and q axes currents are
This article is available under license
both predicted based on the fundamental model of PMLSM using Euler formula. The optimal voltage vector can be chosen in the whole voltage vector plane since the dichotomy solution algorithm is used. Through FPGA-in-the-Loop test, the advantages of proposed CSF-MPC compared with conventional FCS-MPC is proved. Mathematical model of PMLSM is described in the next section of this paper. Then, Section III presents conventional FCS-MPC for PMLSM. The proposed control algorithm is elaborated in Section IV. After FPGA-in-the-Loop test, we conclude the paper in Section VI.
MATHEMATICAL MODEL OF PMLSM
In this work, a simplified mathematical model of PMLSM which includes no magnetic saturation is considered. Due to the inductances of PMLSM are normally varied with position information, we mainly consider the mathematical model in synchronous rotating frame, i.e., d-q coordinate. Firstly, the d-q frame voltage equations can be described as:
= Rid + ^--x, (1)
dt t dXq nv
u, = Rsia +—T- + — X d (2)
q sq dt T
where, ud, uq are the d-q axis voltage; id , iq are the d-q axis current; Xd , Xq are the d-q axis flux, respectively. Rs is the resistance of on phase PMLSM primary winding; v is the moving speed of the mover; t is the pole pitch.
The flux linkage equations in d-q frame can be written in the following equations:
X d = Ld ld + X f (3) X q = Lqlq (4)
where, Ld, Lq are the d-q axis inductances, respectively; X} is the flux linkage produced by permanent magnet.
Correspondingly, the electromagnetic thrust of PMLSM is deduced as the following equation:
3n
Fe = 2T nP [X flq + (Ld - Lq )ldlq ] (5)
For multi-pole linear motors, np denotes pole-pairs.
Because the air gap is relatively large for the linear machines, the inductance value in d and q frame could be seen as the same. This means Ld = Lq = Ls. Therefore, the equation of electromagnetic thrust can be simplified as
This article is available under license I
F = — n„ X fi„ = kj
2t
p f q~ fq
(6)
In equation (6), kf is the coefficient of electromagnetic thrust.
The equation used to model the dynamics is presented in (7), where m is the mass of linear movement part; Fl is the load resistance; D is the system friction coefficient.
dv
m— = Fe - Fi - Dv
dt e 1
(7)
CONVENTIONAL FCS-MPC FOR PMLSM
Similar with conventional direct torque control (DTC) proposed in the 1980s which is continuously developed and improved by ABB cooperation, FCS-MPC also considers finite switching states of power converters. Therefore, the optimization problem is reduced to evaluate all possible switching states and select the one which minimizes the given cost function. Based on this idea, the complex model predictive control optimization strategy of three-phase two-level inverter is simplified to optimize only eight possible switch states. Although the calculation burden will increase exponentially when the prediction horizon increases, one step prediction usually receives satisfied performance.
In the d-q synchronous rotating frame, the d-axis and q-axis current state space equations of PMLSM are respectively described as
dd1=- Ri+nv Li]
(8)
Fig. 1. PMLSM drive system: three-phase two-level inverter and its eight voltage vector state
This article is available under license I
dt
Rslq
nv nv
--Lsid--X f ]
i i
(9)
In order to calculate predicted current in the next sampling interval, Euler formula is used to discretize the current equations. This means the approximated d-axis and q-axis current can be presented by the following equations
id (k +1) = id (k) + -f [ud (k) - Rsid (k) + ^Lsi (k)] (10)
Ls T
iq (k + 1) = lq (k) + T- [Uq (k) - Rglq (k) - ^ Li (k) - ^ X f ] (11)
Ls II
Where, id (k +1) and iq (k +1) are the predicted d and q axes current in the next sampling interval, respectively; id (k) and iq (k) are the measured feedback d and q axes current at present sampling interval; Ts is the sampling period; ud (k) and uq (k) are the d and q axes voltage, v(k) is the speed all at present time.
Conventional FCS-MPC replaces the inner current control loop of field-oriented control (FOC) by model predictive control method. The speed control loop keeps the same to use proportional integration (PI) controller. For conventional FCS-MPC, equation (10) and (11) are firstly used to calculate the one step prediction value for d and q axes current. Then, through calculation of cost function (12), the voltage vector which is able to minimize the cost function will be selected as the optimal voltage vector and applied to the inverter. Fig. 2 shows the control structure of conventional FCS-MPC for PMLSM drive system.
g =\ld * - ld(k + 1)l +1 С - lq (k +1)1
(12)
D
Fig. 2. Conventional FCS-MPC (predictive current control) for PMLSM drive system
PROPOSED CSF-MPC FOR PMLSM
Though the concept of FCS-MPC is straightforward and it is easy to implement this control strategy, FCS-MPC for PMLSM will present large steady
This article is available under license I
state current and torque errors. To improve its performance, this work proposes a dichotomy solution based constant switching frequency model predictive control (CSF-MPC) for PMLSM. The structure of CSF-MPC for PMLSM drive system is presented in Fig. 3. We can see the difference between conventional FCS-MPC and proposed CSF-MPC for PMLSM drive system (Fig. 2 and Fig. 3) is PWM module is required of CSF-MPC. The reason is that the output voltage vector of CSF-MPC is quasi-continuous, so PWM module can be applied to the control system. Due to the proposed dichotomy solution algorithm, the optimal voltage vector in each sampling interval can be acquired in time. In the proposed CSF-MPC, the over current protection is added in addition,
G =
- id (k +1) + С - lq (k +1)
+ gi
(13)
gi
0 lfls < is
да, else
Fig. 3. Proposed CSF-MPC for PMLSM drive system
The idea of the cost function solution algorithm is from dichotomy. As presented in Fig. 4, the voltage vector search area is the voltage circular plane with a radius of Um - the maximum available voltage. In each sampling interval, with Um /2 amplitude and n /4 phase different of each other, eight voltage vectors are selected as the vector candidates at the initialization. At the first step of the iteration, one of the eight vectors is selected as the optimal vector based on the cost function.
Fig. 4. Dichotomy solution algorithm process for cost function
This article is available under license I
In the next step, based on the optimal vector selected in the last step, 18 new voltage vectors, whose amplitude and phase angle are added or subtracted by half of last step optimal voltage vector, are selected to solve the cost function. Therefore, the search area decreases to half of the last step. After 14 steps iteration, the optimal voltage vector is selected as the reference vector for PWM modulator.
FPGA-IN-THE-LOOP TEST RESULTS
For the FPGA-in-the-Loop test, the plants including power converters, PMLSM and mechanical load are simulated in the MATLAB/Simulink in the computer. The control algorithm which is described as VHDL is working in the real FPGA board, for instance, Altera DE2-115 development board is used in this work. When the test is working, both the plants and control algorithm are working in real time connected with each other through Ethernet communication. Using this test method, the control algorithm can be completely tested as tested in the real test bench. The researchers do not need to pay too much time on hardware system. Therefore, the development time of control algorithms could be dramatically decreased. The whole FPGA-in-the-Loop test platform is described in Fig. 5. The parameters of PMLSM is shown in table I.
Fig. 6 presents the FPGA-in-the-Loop test results of both control methods. For the test, the speed is set to 125 rad/s, the thrust load is set to 190 N and 380 N before and after 0.1S. The sampling frequency of conventional FCS-MPC is 40 kHz, which can insure the maximum switching frequency is no more than 20 kHz. The fixed switching frequency is 10 kHz for the proposed CSF-MPC for PMLSM. It is clear to see that conventional FCS-MPC for PMLSM has larger current ripple compared with CSF-MPC. The current performance of CSF-MPC for PMLSM is elegant.
VHDL Control algorithm
Simulink Control plant PMLSM
This article is available under license I
Table 1. Parameters of PMLSM
Parameter Value Unit of measurement
Rated power 1050 W
Maximum power 2030 W
Current effective value 4.6 A rms
Maximum current effective value 24.6 A rms
Resistance 3.1 Q
Capactance 32.2 mH
Back EMF constant 26 Vrms/(m/s)
Maximum speed 3 m/s
Maximum acceration 50 m^2
Continuous thrust 1S0 N
Pole pitch (2t) 32 mm
(a)
О 0.02 0.04 О.С
(b)
0.08 0.1 0.12 0.14 0.16 0.18 0.2
Time is :•
t
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
Time{s}
Fig. 6. FPGA-in-the-Loop test results comparison: (a) conventional FCS-MPC; (b) proposed CSF-MPC
This article is available under license I
CONCLUSION
CSF-MPC which is based on current prediction and control is proposed for PMLSM drive system. D and q axes currents are the control target in the control algorithm. Due to the effective dichotomy solution algorithm, the required optimal voltage vector can be selected on the whole voltage vector plane. So PWM modulator can be combined with conventional FCS-MPC method to generate the optimal voltage vector. This is reason why current ripple is dramatically reduced. With the novel FPGA-in-the-Loop test method, the effectiveness of proposed CSF-MPC of PMLSM is proved and the test results are rather excited. The next step of this work will improve the algorithm further and test it on the real test bench.
This work was supported by the National Key Technology R&D Program of China (2016YFB1200602-02), Shanghai science and technology innovation action plan (17511102302) and Hunan provincial science and technology major project, "medium and low speed maglev train integrated technology engineering and high reliability operation demonstration" (Porject No.: 2015GK1001).
1. Boldea I, Tutelea LN, Xu W, Pucci M. Linear Electric Machines, Drives, and MAGLEVs: An Overview. IEEE Transactions on Industrial Electronics. 2018;65(9):7504-15. doi: 10.1109/TIE.2017.2733492
2. Chen MY, Lu JS. High-precision motion control for a linear permanent magnet iron core synchronous motor drive in position platform. IEEE Transactions on Industrial Informatics. 2014;10(1):99-108. doi: 10.1109/TII.2013.2247044
3. Wang M, Li L, Pan D, Tang Y, Guo Q. High-bandwidth and strong robust current regulation for PMLSM drives considering thrust ripple. IEEE Transactions on Power Electronics. 2016;31(9):6646-57. doi: 10.1109/TPEL.2015.2499303
4. Vazquez S, Leon JI, Franquelo LG, Rodriguez J, Young HA, Márquez A, Zanchetta P. Model predictive control: A review of its applications in power electronics. IEEE Industrial Electronics Journal. 2014;8(1):16-31. doi: 10.1109/MIE.2013.2290138
5. Kouro S, Cortés P, Vargas R, Ammann U, Rodríguez J. Model predictive control - A simple and powerful method to control power converters. IEEE Transactions on industrial electronics. 2009;56(6):1826-38. doi: 10.1109/TIE.2008.2008349
6. Kouro S, Perez MA, Rodriguez J, Llor AM, Young HA. Model predictive control: MPC's role in the evolution of power electronics. IEEE Industrial Electronics Journal. 2015;9(4):8-21. doi: 10.1109/MIE.2015.2478920
7. Bordons C, Montero C. Basic principles of MPC for power converters: Bridging the gap between theory and practice. IEEE Industrial Electronics Journal. 2015;9(3):31-43. doi: 10.1109/MIE.2014.2356600
ACKNOWLEDGEMENTS
References
This article is available under license
8. Geyer T, Quevedo DE. Performance of multistep finite control set model predictive control for power electronics. IEEE Transactions on power electronics. 2015;30(3):1633-44. doi: 10.1109/TPEL.2014.2316173
9. Pacas M, Weber J. Predictive direct torque control for the PM synchronous machine. IEEE Transactions on industrial electronics. 2005;52(5):1350-6. doi: 10.1109/ TIE.2005.855662
10. Landsmann P, Stolze P, Kennel R. Optimal switching time calculation in predictive torque control. InPower Electronics and ECCE Asia (ICPE & ECCE), 2011 IEEE 8th International Conference on 2011 May 30, p. 923-930. IEEE. doi: 10.1109/ICPE.2011.5944645
11. Zhang Y, Xu D, Liu J, Gao S, Xu W. Performance improvement of model-predictive current control of permanent magnet synchronous motor drives. IEEE Transactions on Industry Applications. 2017;53(4):3683-95. doi: 10.1109/TIA.2017.2690998
12. Ma Z, Saeidi S, Kennel R. FPGA implementation of model predictive control with constant switching frequency for PMSM drives. IEEE Transactions on Industrial Informatics. 2014;10(4):2055-63. doi: 10.1109/TII.2014.2344432
13. Nalakath S, Sun Y, Preindl M, Emadi A. Optimization-based Position Sensorless Finite Control Set Model Predictive Control for IPMSMs. IEEE Transactions on Power Electronics. 2017 Dec 19. doi: 10.1109/TPEL.2017.2784816
Information about the authors: Liao Zhiming, M.E., Senior Engineering; ORCID: 0000-0002-6005-4858; E-mail: [email protected]
Ma Zhixun, PhD, Associate Professor; ORCID: 0000-0001-6772-0756; E-mail: [email protected]
Zhao Yuanzhe, PhD, Post Doctor; ORCID: 0000-0002-9669-8209; E-mail: [email protected]
Sun Yan, PhD, Post Doctor; ORCID: 0000-0003-4324-5553; E-mail: [email protected]
Lin Guobin, M.E., Professor; ORCID: 0000-0002-6583-4896; E-mail: [email protected]
To cite this article:
Ma Z, Zhao Y, Sun Y, et al. Constant Switching Frequency Model Predictive Control for Permanent Magnet Linear Synchronous Motor. Transportation Systems and Technology. 2018;4(3 suppl. 1): 279-288. doi: 10.17816/ transsyst201843s1279-288
This article is available under license