Disturbance Models For Offset-Free Model-Predictive Control - Very Importnat
Disturbance Models For Offset-Free Model-Predictive Control - Very Importnat
Model-Predictive Control
Gabriele Pannocchia
Dept. of Chemical Engineering, University of Pisa, 56126 Pisa, Italy
James B. Rawlings
Dept. of Chemical Engineering, University of Wisconsin, Madison, WI 53706
Introduction
Model predictive control ŽMPC. arose from the industrial stable and unstable systems. As shown in Lee et al. Ž1994.,
applications called Identification and Command ŽIDCOM. step or impulse response models are particular cases of the
ŽRichalet et al., 1978., and Dynamic Matrix Control ŽDMC. state-space models.
ŽCutler and Ramaker, 1979.. These control algorithms used In these formulations, offset-free objectives are obtained
finite-impulse or step-response models to predict the future by augmenting the system state with integrating disturbances.
process behavior. In order to obtain offset-free control, the In the original formulations of MPC no analysis was given
model is updated with feedback information. Comparing the regarding steady-state offset. In Rawlings et al. Ž1994. it was
current measured process output and the current predicted shown that a constant output disturbance guarantees offset-
output, a constant bias term is added to the future model free performance for square systems without integrating
forecasts. These convolution models cannot be used with modes. The constant output disturbance model cannot be
open-loop integrating or unstable systems. Generalized pre- used in the presence of integrating modes, because the ef-
dictive control ŽGPC. ŽClarke et al., 1987a,b., instead, used fects of the plant integrating mode and of the additional dis-
autoregressive models. In order to cover unmodeled distur- turbance cannot be distinguished. For such cases, double in-
bances andror plant-model mismatch, a disturbance model is tegrated disturbances have been proposed ŽLundstrom ¨ et al.,
designed by choosing the so-called ‘‘T polynomial’’ Žsee, e.g., 1995.. Alternatively, the system can be augmented with inte-
Clarke and Mohtadi, 1989., which allows the designer to grating modes that affect the system states, as shown in Ep-
specify dynamics other than a constant step as in IDCOM or pler Ž1997.. When the number of measured variables is dif-
DMC. State-space formulations of MPC were proposed later ferent from the number of manipulated variables, a natural
ŽMarquis and Broustail, 1988; Kwon and Byun, 1989; Lee et question arises concerning the number of additional integrat-
al., 1992; Rawlings and Muske, 1993., which handle open-loop ing disturbances required to obtain offset-free control. The
purpose of this work is to understand steady-state offset with
MPC algorithms and provide general design criteria to obtain
Correspondence concerning this article should be addressed to J. B. Rawlings. offset-free performance.
dt
s
r 2h ž
y k 0 c exp y
RT / Ž 1b . T0
c0
r
350 K
1 molrL
0.219 m
dT F0 Ž T0 yT . y⌬ H E k0 7.2=10 10 miny1
dt
s
r h 2
q
Cp ž
k 0 c exp y
RT / ErR
U
8,750 K
915.6 Wrm2 ⴢ K
2Uh 1 kgrL
q Ž Tc yT . . Ž 1c . Cp 0.239 Jrg ⴢ K
r Cp ⌬H y5=10 4 Jrmol
In the following, both the linear and the nonlinear models Using the model ŽEq. 5. to replace the controlled variables
are used to generate the plant response in the presence of with the system state, the solution of the unconstrained opti-
disturbances. mization problem ŽEq. 3. is
1 0 0
0.1 0 It is clear from Eqs. 8 that x t and u t are the targets that
Qs 0 0 0 , Rs .
0 0.1 drive the controlled variables to their setpoint Žthat is, zero..
0 0 1
It is clear from the choice of the tuning matrix, Q, that only Disturbance rejection
the composition and the level are required to be at the set- We assume that at time t s10 min, a disturbance ps10
point Žfirst and third outputs.. enters the plant, which is an increment of 10 Lrmin on the
Since it is assumed that the disturbance, p, is not mea- inlet flow rate. The results of the simulation, reported in Fig-
sured, the model used by the regulator is ure 2, show offset in the controlled variables. In this work we
clarify why offset occurs in cases like this, and we present a
x kq1 s Ax k q Bu k general methodology for designing offset-free model predic-
y k sCx k . Ž4. tive controllers.
x kq1 A Bd xk B
s q u q wk Ž 12a .
d kq1 0 I dk 0 k
xk
yk s w C Cd x q ®k , Ž 12b .
dk
1 0.878 y0.864
GŽ s. s . Ž 34.
75sq1 1.082 y1.096
1 0.878 y0.880
Figure 3. Linearized CSTR. Gp Ž s . s . Ž 35.
Rejection of the disturbance on the inlet flow rate: outputs. 75sq1 1.100 y1.096
are still added to the process outputs and the same Kalman
1 0 filter is used. However, we require that only the first output
Cs ,
0 1 reaches its setpoint by choosing the following controller tun-
ing matrices,
added and a steady-state Kalman filter is designed for the or, in other words, the controlled variable is z s w1 0x y.
nonaugmented system, assuming zero noise of the state equa- Simulations of a setpoint change from the origin to y s
tion and arbitrarily small noise for the output equation. The w1 0xT using the three controllers are reported in Figures 7
controller tuning matrices as in Eq. 21 are and 8. As expected, MPC 2 leads to an unstable closed-loop
system, because it is designed to remove offset in both out-
1 0 1 0 puts. MPC 1 is not designed for zero steady-state offset in
Qs , Rs , the presence of modeling error and leads to a stable closed-
0 1 0 1
loop system, but with offset in the controlled variables. MPC
3 is designed for removing offset in the first output and leads
which means that both outputs are required to reach set- to a stable closed-loop system. From Theorem 1, we know
point. that if the closed-loop system is stable, there is zero offset in
I 0 Ay L1C Ž B d y L1 C d . ⌫ I 0
Combining Eqs. A1a, A2, and A3, we obtain s .
0 ⌫ y ⌳⌫ C H
I y ⌳⌫ H C d ⌫ 0 ⌫H
y1
xy
s y x t s Ž I y Ay BK . Ž Aq BK . L x e s , Ž A4. I 0 ˜ LC
˜ ˜ are equal
Since is unitary, the eigenvalues of Ay
0 ⌫
in which Ž I y Ay BK .y1 exists since A q BK is a strictly to the eigenvalues of
stable matrix Žsee, e.g., Kwakernaak and Sivan, 1972.. Using
Eqs. 18b and A4, we obtain
Ay L1C Ž B d y L1 C d . ⌫
Âs .
Hys y z s H Ž e s qCxy y y y ⌳⌫ C H
I y ⌳⌫ H C d ⌫
s qC d d s yCx t yC d d s .
y1
s H I qC Ž I y Ay BK . Ž Aq BK . L x e s Since the last row of ⌳ has only null elements, the matrix Aˆ
s K e es . has the following form:
Since Eq. A1b we have that e s g nullŽ L d ., and from Eq. 25 = ... ... =
. .
we have that K e e s s 0, and therefore Eq. 26. . .
Âs . . . Ž A6.
= ... ... =
Proof of Lemma 3 0 ... ... 1
The first statement ŽEq. 28. follows immediately from Eq.
27. From Eq. 15 we have that L d s L2 , and we prove that Therefore, 1 is an eigenvalue of Aˆ and of Ay
˜ LC,
˜ ˜ which
˜ LC.
contradicts the stability of Ay ˜ ˜ Hence, L d s L2 cannot
rank L2 s p by contradiction. Under the assumptions of
Lemma 1, the augmented system is detectable. Hence, a fil- be rank deficient.
ter gain, L,˜ exists such that the estimator characteristic
closed-loop matrix Ay ˜ LC˜ ˜ is stable. L2 g⺢ p=p can be Proof of Theorem 1
rewritten using the Schur decomposition wsee, e.g., Golub and Since the assumptions of Lemma 3 are satisfied, we have
Van Loan Ž1996, p. 313.x that L d is square and full rank. Therefore, the null space of
L d is only the zero vector. Thus, the assumptions of Lemma 2
L2 s ⌫⌳⌫ H , Ž A5. are satisfied and there is zero offset in the controlled vari-
ables.
in which ⌫ g⺓ p=p is a unitary matrix Ž ⌫⌫ H s ⌫ H ⌫ s I . and
⌳ g⺓ p=p is an upper triangular matrix whose diagonal con- Manuscript recei®ed Apr. 3, 2001, and re®ision recei®ed July 11, 2002.