Professional Documents
Culture Documents
Part IV
ADVANCED ISSUES IN MPC
1
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
Contents
1 STATE-SPACE MODEL PREDICTIVE CONTROL 3
1.1 SHORTCOMINGS OF CURRENT INDUSTRIAL MPC PRACTICE . . . . 3
1.2 STATE SPACE MPC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 DISTURBANCE ESTIMATION VIA STATE ESTIMATION . . . . . . . . 8
1.4 MPC FORMULATION USING STATE-SPACE MODEL . . . . . . . . . . . 13
2
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
Chapter 1
STATE-SPACE MODEL
PREDICTIVE CONTROL
1.1 SHORTCOMINGS OF CURRENT INDUSTRIAL
MPC PRACTICE
Truncated Step Response Model:
{ Many model coecients have to be stored:
Example) 5 x 5 system with 30 step response coecients on each
gives 750 coecients.
The problem is much worse for systems with mixed time scale
dynamics (e.g. a high-purity distillation column) where sample
time needs to be chosen according to the fast time-scale dynamics,
but the settling time is determined by the slow time-scale
dynamics.
This limits the size of application.
{ Unstable systems cannot be handled.
{ Truncation error is unavoidable.
3
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
Disturbance estimation:
{ Step disturbance is assumed and, thus, drift, ramp, oscillatory
disturbances cause poor performance.
{ No cross channel update.
{ Unmeasured outputs are not updated.
4
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
+ dierencing
x(k + 1) = Ax(k) + Buu(k) + Bdd(k)
y(k) = C x(k)
x(k): state
u(k): control input
y(k): measurement output
d(k): measured disturbances
+
Y (k + 1jk) = S X X (kjk) + S dd(k) + S U U (k)
6
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
7
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
9
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
Overall model:
2 3 2 32 3
66 x( k + 1) 77 66 A 0 0 7 6 x(k) 7
0
76 7
66 xw (k + 1) 77 6 Aw 0 777 666 xw (k) 777
66 77 = 666 0 0
66 e(k + 1) 77
4 5
66 0
4
0 0 7775 6664 e(k) 7775
0
y~(k + 1) 2 CA C3 w Aw Cw B2 w I 3 y~(k) 2 3
66 Bu 77 66 Bd 77 66 0 77
66 0 77 6 7 6 7
+ 666 77 u(k) + 666 0 777 d(k) + 666 0 777 e(k + 1)
64 0 77 66 0 77 66 I 77
5 4 5 4 5
CBu CBd Dw
2 3
66 x (k ) 7
66 xw (k) 777
y^(k) = [0 0 0 I ] 666 77 + (k)
64 e(k) 775
y~(k)
10
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
11
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
12
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
Chapter 2
NONLINEAR AND ADAPTIVE
MODEL PREDICTIVE CONTROL
2.1 MOTIVATION
Why Nonlinear and Adaptive MPC?
Continuous processes with wide operating ranges
13
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
14
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
Nonlinear Models
17
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
18
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
19
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
State Estimation
The following two steps are performed at t = k:
Model Prediction
2 3
X (kjk , 1) = 664 x(kjk , 1) 77
5
w(kjk , 1)
2 3
F (x(k , 1jk , 1); u(k , 1); d(k , 1); w(k , 1jk , 1)) 77
= 664 ts 5
w(k , 1jk , 1)
Hence, this step involves nonlinear ODE integration for one
sample interval.
Measurement Correction
X (kjk) = X (kjk , 1) + Kk(^y| (k) , y{z(kjk , 1)})
prediction error
where y(kjk , 1) = g(X (kjk , 1)).
Kk is the update gain (\lter gain"):
{ Linear update structure is retained (suboptimal).
{ The update gain needs to be varied with time due to the
nonlinearity.
{ The gain matrix can be computed using the model
linearized with respect to the current state estimate and
using linear ltering theory =) Extended Kalman Filter
(see the attached paper by Lee and Ricker for details).
20
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
Prediction
One can follow the similar argument as before and construct
2 3 2 3
x(k + 1jk) 77 66
66 Fts (x(kjk); u(k , 1); d(k); w(kjk)) 77
66 77 66 7
x(k + 2jk) 777 = 666 Fts (x(k + 1jk); u(k , 1); d(k); w(k + 1jk)) 7777
66
66
66 .. 77 66
77 66
.. 77
77
64 5 4
x(k + pjk) | Fts (x(k + p , 1jk); u(k ,{z 1); d(k); w(k + p , 1jk)) 5}
2 F : from ODE integration
32 3
66
66
Bk u 0 0 77 66
7 6
u(kjk) 77
77
+ 66
66 Ak Bku + Bku
6
B u
k 0 7
7
7
7
6
6
6
6
u(k + 1jk) 777
66
.. .. ... .. 77 66
77 66
.. 77
77
4 Pp j ,1B u p,1 Aj ,1 B u p,m+1 Aj ,1B u
P P 5 4 5
| j =1 k
A k j =1 k k {zj =1 k k u ( k + m , 1 j k )
}
SkU : dynamic matrix
where w(k + ijk) = w(kjk) and Ak and Bku are computed through
Linearization
0 1 0 1
A~k = @ @f A@x ; B~k = @ @f A
@u
x(kjk);u(k,1);d(k);w(kjk) x(kjk);u(k,1);d(k);w(kjk)
Discretization
Z ts
Ak = exp A~k ts ; Bku = 0 A~k d B~ku
Denote the above as
X (k + 1jk) = F (x(kjk); u(k , 1); d(k); w(kjk))
+SkU (x(kjk); u(k , 1); d(k); w(kjk))U (k)
21
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
Summary
At t = k, we are given the previous estimate
(x(k , 1jk , 1); w(k , 1jk , 1)), previous inputs
d(k , 1); u(k , 1), and new measurements y^(k), d(k). The
following steps need to be performed:
23
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
24
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
ODE model for the above process is bilinear (see Lee and
Ricker for model equations).
We model Nw unmeasured disturbance as random walk, i.e.,
xe(k + 1) = xe(k) + e(k)
N w (k) = xe(k)
We used the extended Kalman lter for state update.
We used the following parameters for control computation:
p = 5; m = 3; ,y = diagf1; 1; 0g; ,u = diagf1; 1g
25
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
28
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
29
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
ODE model for the above process is bilinear (see Yoon et al.
for model equations).
Recursive least-square estimation technique is employed for
parameter adpatation
No input and state constraints are imposed.
The following horizons for objective and control are used:
p = 22; m = 20
31
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
33
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
34
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
35
c 1997 by Jay H. Lee, Jin Hoon Choi, and Kwang Soon Lee
36