Professional Documents
Culture Documents
Decentralized Control of A Water Tank Using MBPC Control
Decentralized Control of A Water Tank Using MBPC Control
Abstract—For comparison purposes, this work implements two Section VII, while in Section VIII, some concluding remarks
decentralized control systems to control simultaneously the water derived from this work are presented.
level and the temperature in a tank. The first control system
employs MBPC (Model Based Predictive Control) controllers, II. T HE C ONTROL S YSTEM FOR E XPERIMENTATION
while the second uses PID (Proportional Integral Derivative) con-
The experimental setup comprises a multipurpose plant
trollers. Experimental results obtained in this work demonstrate
that the performance using a MBPC controller is better than shown in Fig. 1a, and a supervision module (Fig. 1b). Both
using a PID controller only in the level process. That is, the modules were patented by UTEC (Universidad de Ingenierı́a
settling times and the steady–state errors were diminished. But y Tecnologı́a) [7], [8], and are placed in the Automation Lab
in the case of the temperature process, the MBPC controller only of UTEC.
diminishes the settling time.
The multipurpose plant is mainly a water tank equipped
Index Terms—PID decentralized control, MBPC decentralized
control, water tank plant. with level, rate flow, pressure, and temperature transmitter,
as well as two proportional valves and an electric heating
I. I NTRODUCTION device. The supervision module possesses breakers, power
sources, a PanelView front, two PAC (Programmable Automa-
There are a few works dealing with the simultaneous tion Controller), a PLC (Programmable Logic Controller), and
control of the level and temperature inside a water tank a Flex I/O (Input/Output) switch, as well as a front panel
plant. The work in [1] employs PID controllers for two with input and output connectors to establish physical Ethernet
control approaches. The first one uses decouplers while the communication between the PACs and the PLC with the valves
second approach implements a centralized control. The paper and transmitters of the multipurpose plant.
published in [2] implement a multi–loop control with two PID
controllers, while in [3], level and temperature in the tank are
controlled by means of four decoupling devices and two PID
controllers. A MIMO (Multiple Input Multiple Output) PID
controller is used in [4] to control the level and temperature
employing the cold water flow rate and the heat of an electric
resistance as control inputs. The work published in [5], a
MIMO fractional order control of a water tank plant was
designed and implemented, while in [6], a nonlinear predictive
control was applied to a water tank plant. No work dealing
with the decentralized MBPC control of a water tank plant
has been published.
This paper develops two decentralized control systems for
controlling the water level and the temperature into a tank,
using MBPC controllers as well as classical PID controllers,
respectively.
This work is structured as follows. Section II describes (a) The multipurpose plant. (b) The supervision module.
the experimental setup of the control system. Section III Fig. 1: The experimental setup.
deals with the design of the decentralized control system,
while the experimental modelling of the plant is performed in Fig. 2 illustrates the P&ID (Piping and Instrument Diagram)
Section IV. Section V deals with the MBPC controller design. of the water tank T–10 located in the multipurpose plant. A
In Section VI, the two decentralized control systems are flow rate of cold water entering into T–10 is controlled by
implemented. Comparison of both controllers are presented in the valve FV10. The tank is equipped with an electric heating
978–1–7281–9377–9/20/$31.00 ©2020 IEEE resistor. The power supplied by such device is regulated by the
power controller PW10. The control objectives are to keep the Using the Jacobian method on (2) and (5), the linear state–
level and temperature in the tank close to reference values. We space representation is found to be
assumed that the output flow rate exiting the tank possesses
ẋ = Ax + Bu; y = Cx (6)
the same water temperature into the tank. Table I describes
components of Fig. 2 x1 h u1 qi
x= = ; u= = (7)
x2 θo u2 Φi
In (6), A, B and C are the state, control, and output matrices
respectively, y, x and u are the output, state, and control
vectors, respectively. The transfer matrix Gp (s) of the plant
is found to be
Gp (s) = C(sI − A)−1 B
K11
T11 +s 0
Gp (s) = (8)
P s+Q K22
(Ta s+1)(Tb s+1) T22 s+1
without considering the effect of disturbances. The objective In (17), N1 , . . . , N2 is the time horizon, λ is a tuning parame-
of the MBPC is to find the control vector u(t + k/t), k = ter, and ∆u(t) = u(t) − u(t − 1) is an increment of the scalar
0, . . . , N2 −1 (the control force in the discrete–time unit t+k control law. The default value of N1 is either 1 or the process
postulated in t), which minimize the cost function dead–time, while the default value of N2 − N1 is 10. Also,
N2
Σk=N Nu −1
[r(t + k/t) − y(t + k/t)]2 + λΣk=0 (11) r(t + k/t) is a trajectory related with the desired signal or set
1
point w(t + k/t) as follows
In (11), r is the predictive trajectory, y is the controlled
variable, and λ is a tuning parameter. r(t + k/t) = αr(t + k − 1/t) + (1 − α)w(t + k/t) (18)
The z–transform of either (9) or (10) for a sampling time VI. R EAL –T IME I MPLEMENTATION
Ts has the following form
A. Real–Time Decentralized PID Control System
A(z −1 )Y (z) = B(z −1 )U (z) (12) In Fig. 4, the PID controller is applied to the water tank
A(z −1 ) = 1 + a−1
1 ; B(z −1 ) = b−1
1 plant. Instead of using the Ziegler–Nichols method [10], we
obtained the parameters of such controller using the auto–
In (12), Y (z), U (z), and z are the process output, input, and
tuning software of the Control Logix PLC L73 from Rockwell
shift operator, respectively, and a1 and b1 are coefficients. For
Automation. Observing the experimental time–responses to
Ts = 0.01 s, b1 = 0.02871 and a1 = -0.9998 for (9), while
step–form reference signals in Fig. 4, the controlled tank level
b1 = 0.0001977 and a1 = -1 for (10). The difference equation
depicts a settling time around 95 s in average, 12 % overshoot,
corresponding to (12) for the discrite–time index k = 1, 2, . . .
and 2% steady–state error in average. The controlled tank
is expressed as
temperature presents a settling time about 150 s in average,
yk = −a1 y(k − 1) + b1 u(k − 1) (13) around 14 % overshoot, and a 1.6% steady–state error. On the
The predictive response of the output formulated for the time other hand, we can note a great effort in the control law for
t + k given t, that is y(t + k/t), is the result of two effects: the two variables.
the free response and the forced response
y(t + k/t) = yf ree (t + k/t) + yf orced (t + k/t) (14)
The free response yf ree (t + k/t) is caused by the past control
signals u(t − 1), u(t − 2), ..., and by the future control signals
u(t/t) = u(t − 1), u(t + 1/t) = u(t − 1), .... Therefore, the
difference equation of the free response for (13) with yf ree (t−
1) = 0 takes on the form
yf ree (t) = −a1 yf ree (t − 1) + b1 u(t − 1) = b1 u(t − 1)
yf ree (t + 1) = −a1 yf ree (t) + b1 u(t)
= −a1 yf ree (t) + b1 u(t − 1)
..
. (15)
The forced response yf orced (t + k/t) is caused by
two reasons: the action of the future control increments
∆u(t/t),∆u(t + 1/t), ..., ∆u(t + Nu − 1/t), where Nu is the
control horizon, and the process response g(k) to a sequence of
step inputs. The difference equation of the forced response for Fig. 4: Controlled Level (top graph), control law of the level
(13) with g(−1) = 0, u(−1) = 0, and u(0) = u(1) = . . . = 1 process (2nd graph from top), controlled temperature (3rd
is expressed as graph from top) and control law (bottom graph) from the
temperature process using a PID controller
g(k) = −a1 g(k − 1) + b1 u(k − 1)
g(0) = −a1 g(−1) + b1 u(−1) = 0
g(1) = −a1 g(0) + b1 u(0) = b1
B. Real–Time Decentralized MBPC Control System
g(2) = −a1 g(1) + b1 u(1) = −a1 g(1) + b1
.. In Fig. 5, now, the MBPC controller is applied to the water
. (16) tank plant. The tuning parameters for such a controller were α
= 0.04 and λ = 100 for level, and α = 0.6 and λ = 0.2 for tem- TABLE II: Comparison of the control performance of the two
perature. The real–time structured text programming option implemented control systems for the level process.
of the Control Logix PLC L73 from Rockwell Automation Controller Level % Percent Settling % Steady
was employed. The corresponding time–responses to step– Reference (cm) overshoot time state error
form reference signals evidence that the controlled tank level 8 - 10 10% 27.6 s 5%
MBPC 10 - 8 6% 38.1 s 1.5 %
depicts a settling time around 30 s in average, 8% overshoot 10 - 12 10% 24.5 s 0.8 %
in average, and 2.4% steady–state error. The controlled tank 8 - 10 3% 105.8 s 0.4 %
temperature depicts a settling time about 130 s in average, PID 10 - 8 12.8% 90.1 s 3.2 %
around 20 % overshoot, and a 2.3% steady–state error. Again, 10 - 12 20.5% 88.2 s 2.5 %
we observe a great control effort for the two variables.
TABLE III: Comparison of the control performance of the two
implemented control systems for the temperature process.
Controller Temperature % Percent Settling % Steady
Reference (◦ C) overshoot time state error
MBPC 23 - 26 20.6% 130 s 2.3 %
PID 23 - 26 14% 150 s 1.6 %