Model Based Control of 4 Tank System
Model Based Control of 4 Tank System
&Chemical
Engineering
ELSEVIER Computers and Chemical Engineering 24 (2000) 1503-1509
www.elsevier.com/locate/compchemeng
Abstract
A multi-disciplinary laboratory for control education has been developed at the University of Delaware to expose students to
realistic process system applications and advanced control methods. One of the experiments is level control of a four-tank system.
This paper describes two model-based methods students can implement for control of this interacting four-tank system. Sub-space
identification is used to develop an empirical state space model of the experimental apparatus. This model is then used for model
based control using internal model control (IMC). This represents an application of inner-outer factorization for non-minimum
phase multivariable IMC design. Modeling is also performed using step tests and Aspen software for use with dynamic matrix
control (DMC). 0 2000 Elsevier Science Ltd. All rights reserved.
Keywords: Predictive control; Internal model control; Process control education; Experimental apparatus
0098-1354/00/$- see front matter 0 2000 Elsevier Science Ltd. All rights reserved.
PII: SOO98-1354(00)00555-X
1504 E.P. Gatzke et al. /Computers and Chemical Engineering 24 (2000) 1503-1509
I
out of the tanks, hi is the level of water in tank i; u, and
+ + _ u2 are the manipulated inputs (pump speeds); and d,
Tank 3 Tank 4 and d2 are external disturbances representing flow out
of tanks three and four. The linearized model is given
in Table 2 and the estimated model parameters for the
experimental setup are given in Table 3. Ai is the area
of tank i and ai is the area of the pipe flowing out of
tank i. The ratio of water diverted to tank one rather
Tank 1 Tank 2
than tank three is yr and y2 is the corresponding ratio
diverted from tank two to tank four. It can be shown
that for the linear system, a multivariable right half
plane zero will be present when yr + y2 < 1.
Sub-space identification is used to develop an empiri-
cal linear state space model of the experimental appara-
Fig. 1. Schematic of the interacting four-tank process. The two tus. This model is then used for formulation and
manipulated variables are the pump speeds. The two controlled application of model-based control methods. The iden-
variables are the levels of tanks one and two. Unmeasured flow
disturbances can affect tanks three and four.
tified state-space model is used explicitly in the control
algorithms. The methods considered in this work in-
clude multivariable internal model control (IMC) and
dynamic matrix control (DMC). Non-minimum phase
Table 1 behavior of the system requires that inner-outer factor-
Non-linear model equations for the four-tank system
ization is used for the multivariable IMC design. The
right-half plane pole also creates performance limita-
tions for the closed-loop system. Because the system
has an adjustable zero, the system can be adjusted to
exhibit minimum phase behavior and demonstrate im-
proved control response.
The physical system is constructed so that it appears
to emulate elements of an industrial unit operation.
Four five-gallon tanks are used in the simulation. The
addition of submersible pumps in the tanks can simu-
Table 2 late a leak disturbance in the tanks. An industrial
Linearized model equations for the four-tank system
distributed control system (DCS) from ABB-Bailey is
used for control of the system using the freelance
software package. The operator interface relies on a PC
communicating with the Bailey Process Station using
TCP/IP on a private LAN. An interface has been
developed using dynamic data exchange (DDE) that
i
dt 1 allows controllers developed using MATLAB and Sim-
0 0 - 0
T3 ulink to be used for simulation runs. The apparatus has
1 the flavor of an industrial system while retaining the
0 0 0
T4 flexibility needed to quickly implement and test ad-
J vanced control strategies.
0
0 0 2. Sub-space process modeling
Y&s 0 0
A3 kdI d Most advanced process control methodologies re-
U+
( 1- Ydkz - 0
0 ‘43 quire the development of accurate models of the sys-
A3 0 k d2 tem. For identification, the process is typically forced
(1-*/,)k, A, by known inputs and the resulting output responses are
0
4 used for development of a linear model relating system
inputs to outputs. Some process data should be used
for validation of new process models. In industrial
applications, one must consider tradeoffs between the
need for accurate process models, the disadvantage of
E.P. Gatzke et al. /Computers and Chemical Engineering 24 (2000) 1503-1509 1505
1
1 0
T’(s)=[ pls/s+(- -s++/s+i
1
Fig. 4. Closed-loop reference tracking using IMC controller with
-s++/s+s BzsIs+~
T*(s)= 0
1
A=7 s. [
E.P. Gatzke et al. /Computers and Chemical Engineering 24 (2000) 1503-1509 1507
1
0.039s + l/s + 0.32 1s + l/s + 0.32 controller tuning and ability to track setpoint
T(s) = changes offer interesting opportunities for student
Is/s + 0.32 - 0.039s + l/s + 0.32 experiments;
process identz&ztion: One of the first steps in imple-
1
1.2s + 1/32x + 1 32s/32s + 1 menting a DMC controller is the identification of a
= [ 32.~132~+ 1 - 1.2s + 1/32s + 1 step response model for the process. The associated
software tools can be used to store and implement
This also demonstrates that the system and controller different process models for different operating con-
formulation is symmetric. Both output channels should ditions. In this way, students can also investigate the
demonstrate equal performance limitations and effects of model mismatch on closed-loop perfor-
interactions. mance; and
1508 E.P. Gatzke et al. /Computers and Chemical Engineering 24 (2000) 1503-1509
Johansson, K. H., & Nunes, J. L. R. (1998). A multivariable labora- Skogestad, S., & Postlethwaite, I. (1996). M&variable feedback
tory process with an adjustable zero. In Proceeding of American control. New York: Wiley.
Control Conference, (pp. 2045-2049). Philadelphia, PA. Van Overshee, P., & De Moor, B. (1994). N4SID: subspace al-
Morari, M., & Zafiriou, E. (1989). Robust process control. Englewood gorithms for the identification of combined deterministic-stochas-
Cliffs, NJ: Prentice-Hall. tic systems. Automatica, 30(l), 75-93.