Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abstract—Model predictive control (MPC) offers a variety of manipulated variables can be scheduled in this way so that
advantages compared to conventional control methods. The prob- a faster and better damped transient response is achieved in
lem with MPCs is the high computational cost and the associated comparison to conventional concepts. Here, possible control
long control cycle time. This makes the use of MPCs unattractive
for processes with small time constants, as in permanent magnet and state variable constraints are directly taken into account.
synchronous motors with interior magnets (IPMSM) for electric By doing so, the model predictive control is particularly
vehicles. In this paper a model predictive control method for suitable for the control of coupled non-linear multivariable
nonlinear systems with inherent output limitation is presented. systems. The online optimization of the controller in each
This approach offers real-time capability for online MPCs even cycle step enables an intelligent foresighted planning of the
for processes with time constants in the millisecond range. This
becomes feasible by the possibility of parallel computation, as control variables, in contrast to the reactive character of a PI
provided by a FPGA (Field Programmable Gate Array). In the controller. This leads to an optimal utilization of the available
following, the functional principle of this real-time MPC ap- control variables - both for small as well as large deviations
proach is presented and the functionality is verified by simulation from the reference set point. Despite many advantages of
results of an IPMSM control for automotive applications. MPC approaches enormous demands on processing power for
high-dynamic control systems, as they are common in the
I. I NTRODUCTION electric drive technology, have to be faced. However, there are
new MPC approaches which allow a reduction of the online
III. M ODEL P REDICTIVE C ONTROL Initialization of the controller and model parameters
d,PI
setpoint r(t) −50 i
d,MPC
d
−100
optimal controlled variable y(t)
−150
0 0.002 0.004 0.006 0.008 0.01
Time in s
b) 150
umax i*
100 q
iq,PI
i in A
−50
umin 0 0.002 0.004 0.006 0.008 0.01
Time in s
c) 0.35
Computing time in s
0.2
Fig. 1. predictive calculation of the state model and the manipulated variables
0 0.002 0.004 0.006 0.008 0.01
3 provides a comparison of the MPC with a PI controller, Time in s
vi(Ji,min)
udc + ia ua
min(Ji)
2 sa(t)
- + ib
udc ub
sb(t)
- +
J0
J1
J6
udc ic uc
sc(t)
J0 = f (e)
J1 = f (e)
J6 = f (e)
2 -
ed
eq
ed
eq
ed
eq
id* iq*
id* iq*
iq
-
*
d
i
iq -
iq -
iq -
id
id
id
ub
xk = AT xk-1 + BT uk-1 + BT uk + ET k-1 + ET k
v3 - + - v2 ++ -
εk
εk
εk
v0 +++ v1 + - -
yk = C xk + D uk
yk = C xk + D uk
yk = C xk + D uk
v4 - ++ v7 - - - udc ua
2
v6 + - +
ud
uq
ud
uq
ud
uq
v5 - - +
d, q
d, q
d, q
α, β
α, β
α, β
εk
εk
εk
uc
α, β
α, β
a, b, c
a, b, c
a, b, c
v1
v6
PHS-Bus
State model calculation Calculation of the best
A(ω), B(ω), E(ω) voltage vector
Predictive state calculation of the time step k +1, when the first
intervention is possible Providing of the state-model Gate signal output
A(ω), B(ω), E(ω) to the inverter
Predictive calculation of the system response for each of the Fig. 8. Distribution of the control algorithm on the processor and FPGA board
voltage vectors vi from the time k +1 computation of the quality function
for the corresponding voltage vectors
it will be explained with the phase-locked loop (PLL) which
is shown in Figure 9. The measurement of the sine and
cosine signal from the encoder of the IPMSM is done by
the A/D-converters on the processor board. That is the reason
Comparison of the Ji quality functions resulting from the different
voltage vectors and output of the gate signals of the voltage vector why new mesurement results are available only every 100 µs.
with the minimal quality function However, for the Vector-MPC an updated rotor position signal
is necessary every controller cycle step. To realize this, the
integrator of the PLL is embedded on the FPGA board. In
this way, the intermediate steps of the rotor position can be
Fig. 7. Schematic flowchart of the real-time online Vector-MPC interpolated accordingly so that all 10 µs, an updated value
is available. In addition to providing these interpolated rotor
dSPACE DS1006 Quad-Core Processorboard dSPACE DS5203 Xilinx FPGA-Board
is necessary. With the division of the control algorithm on the
dSPACE DS1006 quad-core processor board and the dSPACE Cycle time: 100 μs Cycle time: 10 μs
DS5203 FPGA board, a control cycle time of 10 µs can be
realized. As advantages of this Vector-MPC approach the pos- sin(εm)
sin(εm-ε0) Oscillator ε0
Phase ω0
PI-Controller
sibility of parallelization (see Figure 6), the low computational cos(εm) detector (Integrator)
id in A
−50
other hand, the inverter can be thermally destroyed due to the i*d
high switching losses. Therefore, the switching frequency was −100 i
d,PI
limited to 10 kHz. So the Vector MPC and the PI control with id,MPC
PWM will have the same maximum switching period for the −150
following comparisons. 0 0.5 1 1.5 2 2.5 3 3.5 4
Time in ms
Following successful implementation of the Vector-MPC
b) 150
scheme using MATLAB Simulink and Xilinx System Gener- i*q
ator, the performance of the Vector-MPC method was shown 100 iq,PI
by simulations. For these simulations the real computing time iq,MPC
i in A
on hardware has been considered. 50
q
0
C. Quality Function Design
After implementation of the parameterization the MPC has −50
to be performed. In the model predictive control this is very 0 0.5 1 1.5 2 2.5 3 3.5 4
Time in ms
easy because the MPC is based on the optimization of a quality
function. Therefore it is only necessary to define a suitable
Fig. 10. Step response of the Vector-MPC (blue curve) compared to the PI
quality function with appropriate weighting matrices. For the control (green curve); a) Motor current in d-direction; b) Motor current in
presented vector MPC following quality function is selected: q-direction
10
manipulated variable sequence. By weighing the switching
operations, the switching frequency can be affected. That 0
VI. C ONCLUSION
Model predictive controls are characterized by their the-
oretical high controller performance. For implementation of
traditional real-time online MPC the computational effort is so
high that the solution of the optimization algorithm is likely
to significantly exceed the control cycle time. However, it was
shown that with the Vector-MPC a real-time online MPC can
be implemented. This method does not rely on a complex
and thus computationally expensive optimization algorithm
and therefore turns out to be suitable for controlling processes
with small time constants, such as IPMSM. Moreover the step
response demonstrated that the dynamics of the drive can be
improved by the use of the model predictive control.
R EFERENCES
[1] T. Finken and M. Felden and K. Hameyer, Comparison and design of
different electrical machine types regarding their applicability in hybrid
electrical vehicles IEEE, 2008.
[2] W. Peters and O. Wallscheid and J. Böcker, Current Controller with De-
fined Dynamic Behavior for an Interior Permanent Magnet Synchronous
Motor IECON2011, Melbourne, Australia, 2011.
[3] S. Mathapati and J. Böcker, Dynamically Reconfigurable Control Struc-
ture for Induction Motor Drives on FPGA Control Platform EPE
Journal, Vol. 20-1, 2010.
[4] A. Bemporad and M. Morani and V. Dua and E. Pistikopoulos, The ex-
plicit solution of Model Predictive Control via multiparametric Quadratic
Programming Proceedings of the American Control Conference, 2000.
[5] S. Bolognani, R. Kennel, S. Kuehl, G. Paccagnella, Speed and Current
Model Predictive Control of an IPM Synchronous Motor Drive TU
Mnchen, Germany, 2012
[6] A. Horch, Angewandte Regelung und Optimierung in der Prozessindus-
trie, ABB 2010.
[7] H. Kobayashi and H. Kitagawa and S. Doki and S. Okuma, Realization
of a Fast Current Control System of PMSM based on Model Predictive
Control IEEE, 2008.
[8] K. Graichen and M. Egretzberger and A. Kugi, A Suboptimal Approach
to Real-time Model Predictive Control of Nonlinear Systems at -
Automatisierungstechnik, 2010.