You are on page 1of 6

Estimation of optimum range of set-points and two level & four level

control for a closed loop Quadruple Tank Pilot Plant through PLC
Shrinivas Shirnewar Ganesh Shete Prof.S.D.Agashe
Dept of Instrumentation Dept of Instrumentation Dept of Instrumentation
College of Engineering College of Engineering College of Engineering
Pune-411005,India Pune-411005,India Pune-411005,India
Email: shirnewarshri@gmail.com Email: gspatil555@gmail.com Email: sda.instru@coep.ac.in

AbstractNearly all process industries exhibit nonlinear char- Due to gravitational forces the lower tanks receive water
acteristics and have complex dynamic properties. Some of these from their corresponding upper tanks. The system aims at
industries are highly coupled. Most industries are MIMO i.e. controlling the liquid levels in all the four tanks. In order to
multi-input multi-output systems or multivariable systems. Mul-
tivariable systems which involve more than one control loop, they measure the liquid levels in corresponding tanks, diaphragm
mutually interact and in these, input of one loop affects its own type level transmitters are placed at the bottom of each tank.
output as well as outputs of other loops. The Quadruple Tank The control valve positions give the ratio in which the water
system helps us to visualize anomalies of such systems . is split into the diagonally placed upper and lower tanks. The
In this paper the Quadruple Tank Pilot Plant which is flow to the tanks can be manipulated by either varying the
present at Advance Process Lab of College of Engineering,Pune
is tested and commissioned and operated through the local speed of pumps or by changing control valves opening. The
controller (Micrologix 1400 PLC),remote controller(Controllogix pumps are driven by a 3-phase induction motors those are
1756 PLC) and MATLAB through OPC communication.The controlled by a variable frequency drive (VFD).
objectives are i)To control level in lower two tanks ii)To control The quadruple tank system is used in understanding the
level in all four tanks Proportional Integral Derivative (PID)
control strategy is implemented to control the outputs both in
dynamic interactions as the operation of the system can be is
minimum phase as well as non-minimum phase system. PID in two phases, viz, minimum phase and non- minimum phase.
is tuned to control the outputs when Pseudo Random Binary Minimum phase system is a system in which all poles and
Sequence (PRBS), sinusoidal signal, square wave signal and zeros are located in the left half of S-plane where as non-
staircase signals are generated and given as a disturbance to minimum system is the one with at least one pole or zero in the
the valves. Supervisory Control and Data Acquisition (SCADA)
for the system is developed. The real time data logging is also
right half of S-plane.The non-minimum phase characteristics
created for the continuous data monitoring of the system and to of a system has several limitations on system design. In the
validate the model with the physical model of the system. For linearized model of the quadruple-tank plant a variable zero
the implementation of advanced control strategies, it is operated occurs, the location of this zero can be changed from left
via remote PLC (Controllogix 1756 PLC) and MATLAB. half of S-plane to right half of S-plane or vice versa by
changing valve opening. This zero is mainly responsible for
I. INTRODUCTION the transition of system from minimum phase to non-minimum
phase.
The quadruple tank pilot plant on which this experiment The properties of the nonlinear model of the quadruple-
is performed consists of four water tanks which are intercon- tank process are concerned mainly by the nonlinear zero
nected, four level transmitters, two pumps, and two 3-way dynamics and steady state conditions. Some nonlinear design
control valves. The manipulated variables of the system are methods usually require that the zero dynamics are stable. The
the voltages to the pumps, the controlled variables being the nonlinear zero dynamics can be made stable or unstable by
water levels in the tanks. The control valve openings act as simply changing the valve position.
disturbance signals to the system when objective i) is followed
and act as manipulated variable when objective ii) is followed
. Tank 1 and tank 2 are placed below the tank 3 and tank II. M ETHODOLOGY
4 respectively, which make them to receive the water flow
by the action of gravity. As the lower two tanks are having It refers that the first stage started with the testing and
continuous drainage at their respective bottoms so a reservoir commissioning of the pilot plant. Simultaneously, different
is placed at the bottom of these two tanks. The pumps are control strategies were studied for implementation. Lastly,
used to transfer water from the reservoir to the tanks based on the pilot plant would be operated and controlled through 2
the valve opening. Pump 1 delivers water to tank 1 and tank 4 different modes- local and remote. Remotely the plant can be
via a 3-way control valve 1 (CV1) and pump 2 delivers water again accessed by 4 different controllers- remote PLC, remote
to tank 2 and tank 3 via control valve 2 (CV2). DCS, VLAB (VPLC/VDCS) & MATLAB.
III. L ITERATURE S URVEY a 3-way control valve, ie, 1 inlet and 2 outlets, so that the
A. Quadruple Tank System with an adjustable zero water pumped can be split into diagonally placed upper and
lower tanks. The purpose of doing so is to add disturbance by
changing the valve positions.
The quadruple tank is made highly interactive by con-
tinuously draining them at their bottoms. This provision is
done by introducing 1 hole at the base of all four tanks of
diameter approximately 1cm (exact 0.9cm) whereas the inlet
pipe diameter discharge to the tanks are approximately of
diameter 2cm approx (2.1cm exact). The levels in each of
the tank is measured by level transmitters that are labeled as
shown in 1.
The quadruple plant can be operated in 3 different phases:
Minimum phase experiment
Non-minimum phase experiment
Pseudo random binary sequence experiment

V. M ATHEMATICAL MODELING OF QUADRUPLE TANK


SYSTEM

A. Mass balance law


It says that, (mass flow into the system)-(mass flow out of
Fig. 1. Schematic diagram of pilot plant
system)= rate of change of mass inside the system with respect
to time
According to the Mass balance law, mass can neither be
created or destroyed, ie, the conservation of mass is the main
concept behind the mass balance law. Specifically, in the
case of quadruple tank system the liquid accumulated in the
tanks is equal to the liquid entering into the tanks via the
control valve inlet minus the liquid draining from the bottoms.
Mathematically, it can be represented as follows: (mass at
time (t+t)) = (mass at time t)+(mass that entered system
from t to (t+t))-(mass that exited from t to (t+t)+(mass
generated/consumed by reaction processes from t and t+t))

B. Bernoullis law
Bernoulis law is based on conservation of energy. It states
that sum of kinetic energy, pressure head and potential energy
remains constant.
1
P + v 2 + gh = constant (1)
2
Fig. 2. Experimental set-up where,
P=Static pressure (N/m2 )
PID control of the quadruple-tank process is tuned manually =Fluid density (Kg/m3 )
on simulators using the physical model. The controller parame- v=Velocity of fluid flow (m/s)
ters are manually tuned to give good closed loop performance. h=height above a reference surface (m)
But it is found that the system is difficult to control in non-
minimum phase than in the minimum phase.
C. To control 2-levels
IV. OVERVIEW OF THE SYSTEM A quadruple tank system is a multi-variable, non linear
It consists of a water reservoir which is of capacity 200 system. Based on setting of three way control valve, a zero
liters. Here the water is stored to 95% of its capacity. The moves in left and right half of S-plane in other words it is
water from this reservoir is pumped to the 4 tanks through termed as minimum phase system and non minimum phase
a combination of 2 positive displacement pumps and control system. The objective i) is to control the level in two tanks by
valves viz pump 1 and control valve 1 (CV1), and Pump 2 manipulating voltages to pumps. The manipulated variables
and control valve 2 (CV2). The control valve used here is are the input voltages to the pumps v1 and v2 and the
controlled variables are the level of the two lower tanks y1 So matrix B is,
and y2 , 1 and 2 represents the valve openings. 1 k1

0
Equations for a quadruple tank system: A1
2 k2

a1 p a3 p 1 k1
0 A2

h 1 = B= (10)

2gh1 + 2gh3 + v1 (2) (12 )k2
A1 A1 A1
0 A3


a2 p a4 p 2 k2 (11 )k1
h 2 = 2gh2 + 2gh4 + v2 (3) A4 0
A2 A2 A2
The state space model thus obtained is,
a3 p (1 2 )k2
h 3 = 2gh3 + v2 (4) Let
A3 A3 dx
X =
a4 p (1 1 )k1 dt
h 4 = 2gh4 + v1 (5) 1 k1

A4 A4
T11 0 A3
0

0
A1 T3 A1
where, A4
2 k2

T12 0

dx 0 0 A2 T4

A2

hi =Level of water in tank i =
1
x+

(12 )k2 u

dt

ai =Cross-sectional area of the outlet hole 0 0 T3 0
0 A3


1 (11 )k1
Ai =Cross-sectional area of tank i 0 0 0 T4 0
A4
g=Acceleration due to gravity (11)
i =Valve opening " #
ki =Pump parameter kc 0 0 0
ki vi =Rate of flow of the pump i y= x (12)
0 kc 0 0
Let, The measured level signals are kc h1 and kc h2 .
f1 f1
h1 ... hn
f G(s) = C(sI A)1 B + D
A=

(hi , ui ) = .. ..
. .

h
T1 k1 kc k2 (12 )

T1 k1 kc 1
fn fn A1 (1+sT1 ) k1 A1 (1+sT1 )(1+sT3 )
h1 hn G(s) = (13)
T2 k1 kc (11 ) T2 k2 kc 2
and k2 A2 (1+sT2 )(1+sT4 ) A2 (1+sT2 )
f1 f1
u1 ... un

C1 1 C1 (12 )

f .. .. (1+sT1 ) (1+sT1 )(1+sT3 )
B= (hi , ui ) = . .
G(s) = (14)
u C2 (11 ) C2 2
fn fn (1+sT2 )(1+sT4 ) (1+sT2 )
u1 un  
Let, C1 C1 (1 1 )(1 2 )
|G(s)| = (1 + sT3 )(1 + sT4 )
f = h i (6) 1 2 4i=1 (1s Ti ) 1 2
(15)
We know that, here The system is found to be non-minimum phase if
f1 f1 f1 f1
0<(1 +2 )<1
h1 h2 h3 h4
f2 f2 f2 f2 And found to be minimum phase if 1<(1 +2 )<2
f
h1 h2 h3 h4

T1 T2 kp2 1 2
 
A= = (7) (1 1 )(1 2 )

f3 f3 f3 f3
h |G(s)| = 2 4 (1 + sT3 )(1 + sT4 )

h1 h2 h3 h4

a i=1 (1s Ti ) 1 2
f4 f4 f4 f4
h1 h2 h3 h4
To find the both zeros z1 and z2 , we set the term in bracket
The result of partial differentiation of the A matrix is given to zero,
below: A3 (1 1 )(1 2 )
T11

0 A1 T3 0 (1 + zi T3 )(1 + zi T4 ) = 0, i = 1, 2
A4
1 2
T12

0 0 A2 T4

A=
1
(8) (1 1 )(1 2 )
0 0 T3 0 =
1 2

0 0 0 T14
and solve this quadratic equation for z1 and z2 . Depending
f1 f1

u1 u2 on the flow ratios 1 and 2 , the introduced parameter
f2 f2 takes values in (0,). Qualitatively then zeros behaves as like
f
u1 u2

B= =

f3 f3

(9) follows:
u

u1 u2 <1 implies minimum phase system


f4 f4
u1 u2 >1 implies non-minimum phase system
Physically minimum phase means sum of flow in lower two
tanks compared to upper two tanks is more where as non-
minimum phase means sum of flow in lower two tanks
compared to upper two tanks is less.

D. To control 4-levels

Here controlled variables are four those are level of water


in all four tanks and manipulated variables are also four those
are two VFDs and two control valves.
Fig. 4. SCADA Summary Page
A3
T11

0 A1 T3 0
A4
T12

0 0 A2 T4

A= (16)

0 0 T13 0

0 0 0 T14

1 k 1

k1 v1
A1 0 A1 0
2 k 2 k 2 v2

0 A2 0 A2

B= (17)

(12 )k2 k2 v2


0 A3 0 A3


(11 )k1 k1 v1 Fig. 5. Output h1 maintained at 40cm and output h2 maintained at 35cm
A4 0 A4 0


kc 0 0 0
0 kc 0 0
C= (18)


0 0 kc 0
0 0 0 kc

VI. R ESULTS
Fig. 6. 2-Level control using PI-PD
Below are the results when experiment is performed through
PLC and through MATLAB to control 2 levels and 4 levels of
quadruple tank separately. Here conventional PID controlling
algorithm is used.
2-level control

Fig. 7. Output h1 for 2 level PI-PD control Set-point:45cm

Fig. 3. SCADA Main Page


Fig. 8. Output h2 for 2 level PI-PD control Set-point:25cm Fig. 12. Output h2 for 4 level control using PI Set-point:35cm

4 level control

Fig. 13. Output h1 for 4 level control using PI Set-point:25cm

Fig. 9. 4-Level control using PI

Fig. 14. 4-level control with disturbance to pumps using PI

Fig. 10. Output h4 for 4 level control using PI Set-point:40cm

Fig. 11. Output h3 for 4 level control using PI Set-point:30cm Fig. 15. Output h4 for 4 level control using PI with disturbance Set-
point:40cm
This system is bulkier and has higher inertia, so even though
advanced control strategies are applied the system is most
likely to reach steady state slowly.
R EFERENCES
[1] A. Abdullah and M. Zribi, Control schemes for a quadruple tank pro-
cess, International Journal of Computers Communications & Control,
volume 7, no. 4,pp. 594-605, 2014.
[2] Prof. D.AngelineVijula, Anu K, Honey Mol P, PoornaPriya S, Math-
ematical Modelling of Quadruple Tank System, in IJETAE, Volume
3,Issue 12, December 2013.
[3] K.H. Johansson,The quadruple-tank process: a multivariable laboratory
Fig. 16. Output h3 for 4 level control using PI with disturbance Set- process with an adjustable zero,IEEE Trans. Control Syst. Technol.,
point:30cm volume 8, pp. 456-465, 2008.
[4] B. Moaveni, A. Khaki-Sedigh,Input-output pairing for nonlinear mul-
tivariable systems,J. Appl. Sci., vol. 22, pp. 3492-3498, 2007.
[5] F. Garelli, R.J. Mantz, H. De Battista,Limiting interactions in decentral-
ized control of MIMO systems,J. Process Control, vol. 16, pp. 473-483,
2006.
[6] I. Alvarado, D. Limon, W. Garca, T. Alamo, and E. Camacho, An
educational plant based on the quadruple-tank process,in Preprints of
the 7th IFAC Symposium on Advances in Control Education, 2006.
[7] E.P. Gatzke, E.S. Meadows, C. Wang, F.J. Doyle III,Model based
control of a four-tank system,Comput. Chem. Eng., vol. 24, pp. 1503-
1509, 2000.
[8] K. J. Astrom, PID controllers: theory, design and tuning, Instrument
society of America, 1995.
[9] Bernoullis law help[Online]. Available:
http://scienceworld.wolfram.com/physics /BernoullisLaw.html
[10] Johansson, K. H., Relay feedback and multivariable control, PhD
thesis TFRT-1048, Dept. of Automatic Control, Lund Institute of Tech-
Fig. 17. Output h2 for 4 level control using PI with disturbance Set- nology, Lund, Sweden,1997.
point:35cm [11] E. Bristol,On a new measure of interaction for multivariable process
control,IEEE Transactions on Automatic Control, 11:133, 1966.
[12] J. L. R. Nunes,Modeling and control of the Quadruple-Tank Pro-
cess,Master thesis, Department of Automatic Control, Lund Institute
of Technology, Sweden, 1997.
[13] F.D. Bianchi, R.J. Mantz, C.F. Christiansen, Multivariable PID control
with set-point weighting via BMI optimisation, Automatica, vol. 44,
pp. 472-478, 2008.
[14] Tomi Roinila, Matti Vilkko, Antti Jaatinen, Corrected Mathematical
Model of Quadruple Tank Process,in Proceedings of the 17th World
CongressThe International Federation of Automatic Control Seoul, Ko-
rea, July 6-11, 2008.
[15] Johansson KH, Horch A, Hansson A. Teaching multivariable control
using the quadruple tank process,in Proceeding of the 38th conference
on decision & control; December 1999.

Fig. 18. Output h1 for 4 level control using PI with disturbance Set-
point:25cm

VII. C ONCLUSION
2-level control of quadruple tank is easy since manipulated
variables those are voltages to either pump appear as positive
term in both the controlled variables where as it is difficult
to control 4 levels of quadruple tank as manipulated variables
appear as negative term in 2 out of 4 controlled variable. For
this reason conventional PI controllers fail to achieve desired
results. Optimum range for controlling levels in either case is
found out to be between 25 cm to 45 cm. Above and below
which output response is strongly oscillatory.System described
here has dimensions:
Total depth 60 cm
Total width 14 cm
Total length 14 cm

You might also like