Professional Documents
Culture Documents
Robust PID controller design for nonlinear processes using JITL technique
Cheng Cheng, Min-Sen Chiu ∗
Department of Chemical and Biomolecular Engineering, National University of Singapore, 4 Engineering Drive 4, Singapore 117576, Singapore
A R T I C L E I N F O A B S T R A C T
Article history: A robust PID controller design methodology for nonlinear processes is proposed based on the just-in-time
Received 14 May 2007 learning (JITL) technique. To do so, a composite model consisting of a nominal ARX model and the JITL,
Received in revised form 18 June 2008 where the former is used to capture linear process dynamics and the latter to approximate the inevitable
Accepted 10 July 2008
modeling error caused by the process nonlinearity, is employed to model the process dynamics in the
Available online 15 July 2008
operating space of interest. The state space realizations of this composite model and PID controller
Keywords:
are then reformulated as an uncertain closed-loop system, by which the corresponding robust stability
Robust control condition is developed. Literature examples are employed to illustrate the proposed methodology and a
Just-in-time learning comparison with the previous result is made.
Nonlinear system © 2008 Elsevier Ltd. All rights reserved.
PID controller
0009-2509/$ - see front matter © 2008 Elsevier Ltd. All rights reserved.
doi:10.1016/j.ces.2008.07.013
5142 C. Cheng, M.-S. Chiu / Chemical Engineering Science 63 (2008) 5141 -- 5148
that robust PID controller design methods have been developed us-
ing different techniques in the literature, for example linear matrix z−1
inequalities (LMIs) approach in the multiple-model modeling frame-
x(k) x(k + 1)
work (Ge et al., 2002; Toscano, 2007) and numerical optimization
approach by solving the maximization of the shortest distance from
the Nyquist curve of the open-loop transfer function to the critical A0 B0 E1
point (Toscano, 2005). However, these methods require a priori pro- u(k) C0 D0 E2 y(k)
cess knowledge or ad-hoc procedure to address the associated de-
F1 F2 E3
sign issue of partition of the operating space in the multiple-model
approach and determine the worst-case model (or optimal model for
that matter) in the operating space of interest in order to obtain the ~
y(k)
best viable PID design in the numerical optimization approach. In ~
u(k)
contrast, the proposed design method is a one-shot design approach 1
in the sense that the PID parameters are obtained directly from a 2
set of process data characterizing the process dynamics of interest.
3
In this respect, the proposed method is more advantageous than the
previous model-based robust PID design methods because the re- a
quired a priori process information may not be readily available in
practical applications, leading to the tedious trial and error design Fig. 1. The interconnection structure for the composite model described by Eqs. (8)
procedure. In the proposed method, it is assumed that the process and (10).
nonlinearity is the only source of the model uncertainty. A compos-
ite model consisting of a nominal ARX model and the JITL, where where x(k) = [x1 (k) x2 (k)]T and
the former is used to capture linear process dynamics and the latter
is applied to approximate the inevitable modeling error caused by + 1 l,2 + 2
A = l,1
the process nonlinearity. The state space realization of this compos- 1 0
ite model is then reformulated as an uncertain system, by which the
robust stability condition of this uncertain system under PID control B0 = [1 0]T ; C = [l,1 + 1 0]; D0 = 0
is developed. Literature examples are used to illustrate the proposed
Given the process input and output data {u(k), y(k)}, the
method and a comparison with the previous result is made.
plant/model mismatch caused by the nonlinearity, i.e. y(k) − yl (k),
can be calculated after the nominal ARX model given in Eq. (2)
2. Modeling methodology is identified. Subsequently, the JITL technique can be applied to
model the dynamics between the input sequence {u(k)} and the
In this paper, a composite model consisting of a nominal ARX sequence {y(k) − yl (k)} by using the reference dataset constructed
model and JITL models is used to describe the nonlinear process in from {u(k), y(k)}. Upon the successful implementation of JITL algo-
the operating range of interest, where the former can be identified rithm, the respective ranges of variation for model coefficients in
by using the process input and output data around a nominal oper- Eq. (3) are denoted by 1 ∈ [1,min 1,max ], 2 ∈ [2,min 2,max ],
ating condition and the latter is used to capture the modeling error and 1 ∈ [1,min 1,max ], which can be represented by the follow-
caused by the process nonlinearity, i.e. the difference between the ing equations:
predicted output of nominal ARX model and actual process output.
Suppose that an input sequence {u(k)} is injected into the process and 1 = ¯ 1 (1 + r1 1 ); |1 | 1
the corresponding output sequence {y(k)} is measured. The follow- 2 = ¯ 2 (1 + r2 2 ); |2 | 1
ing composite model is then used to model the nonlinear dynamics 1 = ¯ 1 (1 + r3 3 ); |3 | 1 (6)
between {u(k)} and {y(k)}:
where i (i = 1–3) is the uncertainty bounded by one and other
ŷ(k) = yl (k) + ynl (k) (1) parameters are defined as follows:
1,min + 1,max 1,max − 1,min
¯ 1 = ; r1 =
where ŷ(k) is the output of the composite model, yl (k) is the predicted 2 1,min + 1,max
output of nominal ARX model, and ynl (k) is the effect of process + 2,max 2,max − 2,min
nonlinearity, i.e. y(k)−yl (k), to be approximated by the JITL technique ¯ 2 = 2,min ; r2 =
2 2,min + 2,max
(see Appendix A).
+ 1,max − 1,min
Because JITL normally employs a first-order or second-order ARX ¯ 1 = 1,min 1,max
; r3 = (7)
model, we shall use a second-order model structure for both nominal 2 1,min + 1,max
ARX model and JITL in the subsequent developments. Therefore, yl (k) By using Eqs. (6) and (7), Eqs. (4) and (5) can be rewritten as
and ynl (k) are represented as follows:
A1 A2
x(k + 1) = A0 + 1 + x(k) + B0 u(k) (8)
yl (k) = l,1 y(k − 1) + l,2 y(k − 2) + l,1 u(k − 1) (2) 01×2 01×2 2
0.9
M
0.8
0.7
M11 M12
0.6
M21 M22 y
x(k) x(k + 1) 0.5
Ψ(k) Ψ(k + 1)
~ ~
y (k) 0.4
u(k)
zI4
0.3 Process output
1 ARX model
2 Composite model
0.2
3 0 50 100 150 200 250 300
a Sample
Fig. 2. The interconnection structure for the uncertain closed-loop system. Fig. 4. Validation result for the CSTR example.
0.5
y
0
0 50 100 150 200 250 300
0.5
yl
0
0 50 100 150 200 250 300
0.2
y-yl
-0.2
0 50 100 150 200 250 300
30
15
u
0
0 50 100 150 200 250 300
Sample
Fig. 3. Input–output data used for the JITL.
5144 C. Cheng, M.-S. Chiu / Chemical Engineering Science 63 (2008) 5141 -- 5148
It is noted from Eq. (9) that the state variable x2 (k) has no effect on ỹ(k) = [¯ 1 r1 x1 (k) ¯ 2 r2 x2 (k) ¯ 1 r3 x1 (k) la x1 (k)]T
the model output ŷ(k), which explains why the additive uncertainty
a in Eq. (10) is only associated with the state variable x1 (k). ũ(k) = [¯ 1 r1 x1 (k)1 ¯ 2 r2 x2 (k)2 ¯ 1 r3 x1 (k)3 la x1 (k)a ]T
After some algebraic manipulation, the composite model by in-
cluding the uncertainty a , i.e. Eqs. (8) and (10), can be recast into Lastly, when a first-order ARX model is employed for both nomi-
the interconnection structure as depicted in Fig. 1, where nal model and the JITL, the corresponding interconnection structure
is given by
x(k + 1) = A0 x(k) + B0 u(k) + E1 ũ(k) (12)
A0 = l,1 + ¯ 1 ; B0 = 1
y(k) = C0 x(k) + D0 u(k) + E2 ũ(k) (13)
C0 = l,1 + ¯ 1 ; D0 = 0
ỹ(k) = F1 x(k) + F2 u(k) + E3 ũ(k) (14)
E1 = [1 0 0]; E2 = [0 1 1]; E3 = 03×3
1 1 0 0
E1 = ; E2 = [0 0 1 1]; E3 = 04×4 F1 = [¯ 1 r1 ¯ 1 r3 la ]T ; F2 = 03×1
0 0 0 0
⎡ ⎤
¯ 1 r1 0 ỹ(k) = [¯ 1 r1 x(k) ¯ 1 r3 x(k) la x(k)]T
⎢ 0 ¯ 2 r2 ⎥
F1 = ⎢ ⎥; F2 = 04×1
⎣ ¯ r
1 3 0 ⎦ ũ(k) = [¯ 1 r1 x(k)1 ¯ 1 r3 x(k)3 la x(k)a ]T
la 0
3. Robust stability analysis
0.8
0.6
x1
0.4
0.2
0
0 20 40 60 80 100 120
1
Set-point
0.8 Process output
0.6
x1
0.4
0.2
0
0 20 40 60 80 100 120
Sample
Fig. 6. Set-point responses for the PI designs with I = 1.1 and (1) kc = 32.4 (top); (2) kc = 50 (bottom).
C. Cheng, M.-S. Chiu / Chemical Engineering Science 63 (2008) 5141 -- 5148 5145
x1
A − B0 Dc C0 B0 Cc
M11 = 0
−Bc C0 Ac
0.53
E − B0 Dc E2
M12 = 1 Set-point
−Bc E2 Process output
0.52
M21 = [F1 04×2 ]
0.198
as manipulated variable while x1 (=y) is the controlled variable. The
process has one stable steady state when Da = 0.072, B = 1, b = 0.3, 0.196
and = 20. The following operating space xc ∈ [5 23] and x1 ∈ 0.194
[0.1969 0.8781] is considered in this example.
0.192
To construct the composite model, a first-order ARX model is 0.19
adopted. By using the process input and output data obtained around
the nominal operating condition, the parameters of the nominal ARX 0.188
model are obtained as l,1 = 0.7216 and l,1 = 0.1231. To model
0 10 20 30 40 50 60 70 80
the process nonlinearity by the JITL, a different set of input and Sample
output data is generated within the operating space as illustrated in
Fig. 7. Closed-loop responses for −20% step disturbance at three operating conditions.
Fig. 3, where yl is the predicted output by the nominal ARX model
and y − yl is the modeling error caused by the process nonlinearity.
To model the nonlinearity effect by the JITL with = 0.75, kmin =
10, and kmax = 60, the resulting model parameters are obtained as
1 ∈ [−0.3363, 0.0191] and 1 ∈ [−0.0217, 0.1112]. In addition, resulting composite model gives reasonably good prediction in the
to quantify the modeling error of the composite model, the worst validation test by using input and output data different from that
perturbation is calculated as la = 0.0514. Fig. 4 illustrates that the used in constructing the composite model.
5146 C. Cheng, M.-S. Chiu / Chemical Engineering Science 63 (2008) 5141 -- 5148
0
-0.05
y
-0.1
0 100 200 300 400 500 600 700 800
0
yl -0.05
-0.1
0 100 200 300 400 500 600 700 800
x 10-3
5
0
y-yl
-5
-10
0 100 200 300 400 500 600 700 800
0.05
0
u
-0.05
0 100 200 300 400 500 600 700 800
Sample
0.01
-0.01
-0.02
-0.03
y
-0.04
-0.05
-0.06
Process Output
-0.07 Nominal ARX Model
Composite Model
-0.08
0 50 100 150 200 250 300 350 400 450 500
Sample
Fig. 9. Validation results for the distillation process. Fig. 10. Robust stability region (shadow) for the distillation process.
To proceed with the proposed robust PI design, Eq. (20) is ap- this PI controller yields stable response at any operating condition
plied to obtain the PI parameters that guarantee the robust stability within the pre-specified operating space.
over the concerned operating space. Fig. 5 shows the resulting ro- Lastly, it is noted that this example was previously studied by
bust stability region in the kc − I parameter space. To verify the Knapp and Budman (2000) who developed a robust PID design
analysis result thus obtained, set-point changes covering the entire method based on the state affine model. Compared with the viable
operating space for the viable PI design with kc = 32.4 and I = 1.1 PI designs reported in their paper, the proposed method gives less
are conducted. As can be seen from Fig. 6, this PI controller is able to conservative result, for example, the maximum allowable kc ob-
maintain closed-loop stability over the entire operating space. For PI tained for I = 1.1 is 18 in their result, not to mention that tedious
design with I = 1.1, the actual maximum allowable controller gain modeling procedure is required to build a state affine model.
is found to be kc = 50 through the trial and error procedure via dy-
namic simulation studies. The set-point responses of this controller Example 2. Consider a distillation process described by (Gao et al.,
are also shown in Fig. 6 for comparison purpose. To illustrate the 2000):
disturbance rejection capability of the PI controllers thus obtained,
−20% step disturbance in the parameter b is considered. The con- y(k) = 0.757y(k − 1) + 0.243g(u(k − 1)) (23)
trol performances of the above PI design (kc = 32.4 and I = 1.1) at
different operating conditions are illustrated in Fig. 7. It is clear that g(x) = 1.04x − 14.11x2 − 16.72x3 + 562.7x4 (24)
C. Cheng, M.-S. Chiu / Chemical Engineering Science 63 (2008) 5141 -- 5148 5147
Malan, S., Milanese, M., Regruto, D., Taragna, M., 2004. Robust control from data Sontag, E., 1979. Realization theory of discrete-time nonlinear systems: Part I. The
via uncertainty model sets identification. International Journal of Robust and bounded case. IEEE Transactions on Circuits and Systems CAS-26, 324–356.
Nonlinear Control 14, 945–957. Toscano, R., 2005. A simple robust PI/PID controller design via numerical optimization
Morari, M., Zafiriou, E., 1989. Robust Process Control. Prentice-Hall, Englewood Cliffs, approach. Journal of Process Control 15, 81–88.
NJ. Toscano, R., 2007. Robust synthesis of a PID controller by uncertain multi-model
Packard, A., Doyle, F.J., 1993. The complex structured singular value. Automatica 29, approach. Information Science 177, 1441–1451.
71–109.