Model Predictive Control
Model Predictive Control
ABB
ACT
Adaptics
Adaptive Resources
Adersa Home Page
Aspen Technology
Aurel Systems Inc.
Batch CAD
Bonner and Moore
Brainwave
C.F. Picou and Associates
Chemstations
Comdale Technologies
Control Arts Inc.
Control Consulting Inc.
Control Dynamics Homepage
Controlsoft Incorporated
Cybosoft
DOT Products
Trieber Controls
Yokogawa APC
US Process Control L.L.C.
Eldridge Engineering Inc.
Elsag Bailey
Envision Systems Inc.
Gensym
Enterprise Control Technologies
Fantoft Process Group
MATHWORKS
Honeywell
Hyprotech
Inferential Control Company
IntellOpt
Knowledgescape
MDC Technology
Neuralware
Nexus Engineering
Objectspace
Optimal Control Research
Pavilion Technologies
Predictive Control Ltd.
Process System Consultants
RSI
Simulation and Advanced Controls Inc.
Simtech
Texas Controls Inc.
Structure of Presentation
Conclusion of presentation:
Nonlinear model predictive control of realistically sized chemical
processes possible, if
(i) state of the art NMPC formulations,
(ii) specialized NMPC optimizers
are used.
x(0) = x0
satisfies constraints
u( ) U
x( ) X
Feedback u=k(x)
s.t. closed-loop trajectories
satisfy optimality conditions
Feedback present!
suited for uncertainty, disturbances, unstable systems, . . .
Finding closed solution hardly
possible
No feedback!
Unstable systems?
Uncertain systems?
No reaction to disturbances
TP
F (x( ), u( ))d
MPC
past
future
prediction horizon
set-point
predicted state
x(t)
state x()
optimal input u at time t
input u()
t
t + TP
MPC
past
future
prediction horizon
set-point
predicted state
x(t + )
state x()
input u()
t
t+
t + TP
t + + TP
Characteristics of MPC
cont.
50
10
10
6
7
41
4
16
10
17
42
13
40
1833
40
696
UT/ TWMCC/AspenTech 1
1045
1438
3
7
26
125
450
450
68
10
14
37
51
17
45
13
7
1601
4542
S. Joe Qin and T. A. Badgwell
Klatt/Engell/Kremling/Allgower 93
2
1
B
C
VR
V, A, B, C, D
QK
3
2A
D
controlled variables:
manipulated variables:
disturbances:
concentration cB
flow rate V
feed temperature Tf , cA0
2
c A = V (cA0 cA) k1()cA k3()cA ,
c B = V cB + k1() cA k2()cB ,
1
= V (0 )
k1()cAHRAB + k2()cB HRBC
Cp
k w AR
2
+k3()cA HRAD +
(K )
CpVR
1
K =
QK + kw AR ( K )
mK CP K
Ei
ki() = ki0exp
, i = 1, 2, 3
1.1
2
Yield:
cBs
s =
cA
0
at optimum:
=
u opt
Kopt
0
=0
y
=
u opt
1
1.0
Ks
-1
0.9
5
10
15
us
gain changes sign at optimal operating point
strong nonlinearity
not integral controllable
20
25
30
35
Control task:
VR
V, A, B, C, D
QK
NMPC setup:
performance index: J =
R t+Tp
t
(cB cBs)2dt
Performance of NMPC-controller
1.2
Output
mol
cB
1.1
setpoint
1
0.9
30
Input
1
V h
20
10
0
0
x
scenario
500
1000
1500
Tf = 100o C
2000
Time[s]
2500
3000
3500
4000
Tf = 115o C
|
{z
}|
{z
}
model/plant mismatch
model/plant mismatch
case 1
case 2
Output
mol
cB
R t+Tp
t
c2B ( )d
1.2
1.1
1
0.9
40
30
Input
1
V h
20
10
0
0
x
cA0
h mol i
l
Tf [o C]
500
1000
1500
2000
2500
Time[s]
3000
3500
4000
4500
5.1
4.5
4.5
5.7
4.5
104.9
100
115
5000
yield optimization
0.22
yield
0.21
0.2
0.19
production
rate
mol
V cB h
NT $
x.
h
i
cA0 mol
l
400
300
200
0
5.1
500
1000
1500
2000
Time[s]
2500
5.7
production rate doubled
3000
3500
4000
xu *i
xi
u
u
u
u
u
u
sN
sN1
x0 uu u u
t t1 t2
u
u
u-
tN1 tN
x0 uu us1 u
t t1 t 2
u
u
tN1 tN
t + TP
t + + TP
x(t + 2)
x(t + 3)
Predicted open-loop
trajectories
6=
Closed-loop trajectories
R
Performance? Goal: min 0 F (x( ), u( ))d . What is achieved
R t+Tp
by repeatedly minimizing t F (x( ), u( ))d ?
Stability? Why should the closed-loop be stable?
Schemes that guarantee stability?
Dilemma of NMPC
Guaranteed Stability versus Performance
good performance
Large horizon
closed loop stability
computationally
not feasible
x(t)
+ stability
- feasibility, performance for short horizons?
- computationally not feasible
x(t + TP ) = 0
Z
J()=
t+Tp
x(t)
x(t + TP )
E(t + TP )
Guaranteed Stability
[Chen&Allg
ower 98], [Mayne et.al. 00], [Fontes 01]
min J(x(t), u)
u
Z
with: J()=
t+Tp
Nominal Stability: If
a) E() and s.t.:
x u U with
E
f (x, u) + F (x, u) < 0
x
R
x(t)
E(x(t + TP ))
Asymptotic Stability
Guaranteed Region of Attraction:
Set R of states satisfying b)
horizon performance approx. even for small TP
Advantages: guaranteed stability
Comments
Many schemes fit into this setup:
Quasi-infinite horizon NMPC
Simulation-approximated infinite horizon NMPC
CLF approaches
[Jadbabaie et. al.
...
How to determine E, ?
[Chen&Allg
ower 97]
[De Nicolao et.al.97]
99, Primbs et.al. 00]
Assumptions:
On-line computation of optimal input trajectory u? requires
no computation time
(instantaneous solution)
Continuous application of
optimal input u = u?(x), i.e. 0
(instantaneous implementation)
predicted state
x(t + )
input u
x(t)
state x()
input u()
t+
t + TP t + TP +
xD
40
D
28
T28
F, XF
21
14
V
1
Q
xB
B
T14
xD
40
D
28
T28
F, XF
21
14
V
1
xB
B
Methanol/n-Propanol
High purity separation
Performance?
Computational feasibility?
x 10
x28x28s
1
0
1
6
VVs [kmol/s]
x 10
2
1
0
0
0
500
1000
1500
2000
time [s]
2500
3000
3500
Experimental Results
NMPC
PI Controller
T28 [oC]
71
70.5
2 PI control loops:
T14 L, T28 Q
70
Q [kW]
2.5
2
0
Conclusions