A Gain-Scheduled Multivariable LQR Controller For Permanent Magnet Synchronous Motor
A Gain-Scheduled Multivariable LQR Controller For Permanent Magnet Synchronous Motor
A Gain-Scheduled Multivariable LQR Controller For Permanent Magnet Synchronous Motor
Michał Brasel
Faculty of Electrical Engineering
West Pomeranian University of Technology, Szczecin
Szczecin, Poland
[email protected]
Abstract — The paper presents a gain-scheduled LQR control nonlinear plant. This approach can result in a switched
system for a nonlinear model of permanent magnet synchronous structure with a cluster of linear controllers [7, 8] or one linear
motor (PMSM). The most popular cascade FOC (Field Oriented adaptive controller with stepwise varying parameters [9, 10,
Control) structure including a few single-loop PI control systems 11].
is replaced with a single multivariable state feedback controller.
An optimal LQR controller designed for a plant, which is
Due to a nonlinear nature of the PMSM dynamics equations the
developed gain-scheduled controller is tuned in relation to the
linearized at the selected operating point, only provides optimal
changeable operating conditions of the motor. In order to ensure control in the immediate neighborhood of this point. Therefore,
zero steady-state speed error the system synthesis is carried out in the case of nonlinear plant or various operating point of the
by means of the LQ optimal control method with state vector plant on-line linearization around the current operating point is
augmentation. The presented simulation results show that the use required. The paper presents a gain-scheduled LQR controller
of gain-scheduled controller may improve control quality. tuned in accordance with changing PMSM operating points in
comparison with a LQR controller with fixed parameters
Keywords — Multivariable Control Systems; Nonlinear designed for a chosen operating point of the motor.
Systems; Gain-scheduled LQR controller; Permanent Magnet
Synchronous Motor II. NONLINEAR STATE SPACE MODEL OF PMSM
A nonlinear dynamic model of a PMSM in the d-q
I. INTRODUCTION
transformed rotor reference frame can be presented in the state-
In general, permanent magnet synchronous machines are space form as follows:
nonlinear multivariable dynamic plants. Due to nonlinear
dynamic interrelations occurring among mechanical and ⎧d Rs Lq 1
electromagnetic quantities it is useful to describe a permanent ⎪ id = − id + pωiq + ud
⎪ dt L L L
magnet synchronous motor in the state space form as d d d
723
around the current operating point of the motor. In this way the
gain-scheduled LQR controller is tuned in accordance with the
F(1,1) F(2,1)
changing PMSM operating points.
3 0.2
2.8 0
2.6 -0.2 IV. RESULTS OF SIMULATION TESTS
40 4000 40 4000
20
iq [A] 0 0
2000
speed [rpm]
20
iq [A] 0 0
2000
speed [rpm]
The study focuses on the control system reaction to a
F(1,2) F(2,2) change in the set value of the reference rotor angular speed as
0.2 3.4
well as ability to maintain the speed reached at a stepwise
0 3.2 changing torque load. However, the changing torque load is
-0.2 3 treated as a non-measureable stepwise disturbance. In the
40
20 2000
4000 40
20 2000
4000 simulation tests a gain-scheduled LQR controller is compared
0 0 0 0
iq [A] speed [rpm] iq [A] speed [rpm] with a LQR controller with fixed parameters designed for the
F(1,3) F(2,3)
chosen PMSM operating point determined as: idn=0,
20 5
iqn=21.47A, ωn=3000rpm. The motor parameters used in the
0 0
-20 -5
simulation tests are as follows: Ld=2.5⋅10-4H, Lq=3⋅10-4H,
40
20 2000
4000 40
20 2000
4000 Rs=0.2Ω, ψf=0.1551Wb, p=6, J=0.0825Nm, fc=10-4Nm⋅s/rad.
iq [A] 0 0 speed [rpm] iq [A] 0 0 speed [rpm]
F(1,4) F(2,4) The simulation tests were performed in the following
20 0
manner. At the beginning of the simulation the motor was in
0 -10 the equilibrium point with the torque load TL=5Nm and the
-20 -20 initial state variables: idn=0, iqn=3.58A, ωn=200rpm. At the time
40 40
20
0 0
2000
4000 20
0 0
2000
4000 point of t=0.5s the reference rotor angular speed changed to
iq [A] iq [A]
F(1,5)
speed [rpm]
F(2,5)
speed [rpm]
ωref=1500rpm. On the basis of Fig. 3 it can be stated that
quality of getting to the reference speed for both controllers
20 20
0 0
was approximately the same.
-20 -20
40 4000 40 4000
20 2000 20 2000 1800
iq [A] 0 0 speed [rpm] iq [A] 0 0 speed [rpm]
1600
1400
1000
values of matrix F occur most often for a relatively low rotor
speed. The higher the rotor speeds the smaller the changes in 800
performed for the specific weight matrices Q and R and idn=0. reference speed [rpm]
200
The results of the studies showed that for different values of the speed [rpm], LQR
speed [rpm], g-s-LQR
weight matrices the graphs in Fig. 1 have different shapes. 0
0 1 2 3 4 5 6 7 8
Therefore, the question of selecting optimal weight matrices Q t [s]
and R for nonlinear MIMO plants still remains to be answered.
It explicitly points to the requirement of performing Fig. 3. Rotor angular speed.
multicriteria analysis of the control system operation quality.
However, in the case of the gain-scheduled controller
The structure of the developed gain-scheduled LQR control reached the reference angular speed with a lesser id current
system is presented in Fig. 2. deviation, which is shown in Fig. 4. For both controllers the iq
yref u(t) y(t)
current control quality was similar.
1/s F2 Inverter PMSM
- - In the subsequent simulation stage an impact of stepwise
change of the torque load on the angular motor speed was
studied. At the time point of t=3s the torque load went up to
x(t) TL=40Nm, whereas at t=3s it went down to TL=5Nm, which is
F1 shown in Fig. 5.
724
speed and better compensation of the speed deviation during
20
the stepwise torque load disturbance.
10
V. CONCLUSIONS
id [A]
0
reference id [A] In the paper a gain-scheduled LQR control system for a
-10 id [A], LQR
id [A], g-s-LQR
nonlinear model of PMSM is presented. It is possible that if the
-20 motor operates within a wide range of nominal operating points
0 1 2 3 4 5 6 7 8
t [s] a LQR controller designed for the selected operating point does
40
not provide optimal control quality in other operating points.
reference iq [A] Therefore, the synthesis of a gain-scheduled LQR controller is
30 iq [A], LQR based on linearization of a nonlinear PMSM model around the
iq [A], g-s-LQR
current operating points of the motor. The presented simulation
iq [A]
20
tests results show that adaptation of the multivariable LQR
10 controller parameters is able to improve control quality by
0
means of reducing the integral control quality criterion.
0 1 2 3 4 5 6 7 8 Depending on the selected weight matrices different graphs
t [s]
representing the state-feedback matrix dependent on nominal
Fig. 4. Current components in d and q axes. operating points are obtained. An appropriate choice of weight
matrices for a specific vector control scheme realization still
50 remains an open issue. It points to the requirement of
performing multicriteria analysis of the control system
40
operation quality.
30
TL [Nm]
REFERENCES
20
[1] J. Quirion, E. Gunn, J. Gu, “Optimal control of permanent magnet
10 motors using dynamic programming”, IEEE Conference on Robotics,
5 Automation and Mechatronics, Vol. 1, 2004, pp. 364-369.
0
0 1 2 3 4 5 6 7 8 [2] S. Hassaine, B. Sari, S. Moreau, B Mazari, “Rapid Prototyping of a
t [s] Multivariable Control with Pole Placement by State Feedback of a
Fig. 5. Torque load. PMSM: LMI Approach”, 38th Annual Conference of the IEEE
Industrial Electronics Society, 2012.
The impact of the torque load stepwise change on the [3] K.T. Chang, T. S. Low ; T. H Lee, “An optimal speed controller for
permanent-magnet synchronous motor drives”, IEEE Transactions on
angular speed manifests in a rotor speed deviation from the set Industrial Electronics, Vol. 41, Issue: 5, 1994, pp. 503-510.
point value. Fig. 3 illustrates that the gain-scheduled controller
[4] L.M. Grzesiak, T. Tarczewski, “Permanent magnet synchronous motor
is better at compensating stepwise torque load disturbances. discrete linear quadratic speed controller”, IEEE International
Symposium on Industrial Electronics, 2011, pp. 667-672.
*10^3 [5] G. F. Franklin, J. D. Powell, A. Emami-Naeini, “Feedback Control of
Dynamic Systems”, 5th Edition, Prentice Hall, 2006.
184
176 [6] S. Bańka: “Multivariable control systems: A polynomial approach” (in
J(g-s-LQR) < J(LQR) Polish), Szczecin University of Technology Press, Szczecin, 2007.
150 [7] S. Bańka, P. Dworak, M. Brasel, “Linear Multi-controller Structure for
Control of a Nonlinear MIMO Model of a Drill Ship”, 13th IFAC
Symposium on Large Scale Complex Systems: Theory and Applications,
7-10 July, Shanghai, China, 2013.
100 [8] S. Bańka, M. Brasel, P. Dworak, K. J. Latawiec, “A Switched Structure
J
725