 Open Access
 Total Downloads : 863
 Authors : Teena Toms, Hepsiba. D
 Paper ID : IJERTV3IS20135
 Volume & Issue : Volume 03, Issue 02 (February 2014)
 Published (First Online): 11022014
 ISSN (Online) : 22780181
 Publisher Name : IJERT
 License: This work is licensed under a Creative Commons Attribution 4.0 International License
Comparison of PID Controller with a Sliding Mode Controller for a Coupled Tank System
Teena Toms
PG Student Department of Electronics and Instrumentation Engineering Karunya University, Coimbatore
Hepsiba. D
Assistant Professor Department of Electronics and Instrumentation Engineering Karunya University, Coimbatore
Abstract.Controlling the level of the liquids is a critical need in many industrial processes. Often the tanks are so coupled together that the levels interact and exhibits a nonlinear behavior. The sliding mode control (SMC) is used to control the level of the coupled tank system. Initially we develop the mathematical model for a nonlinear singleinput single output (SISO). A simulation is carried out using MATLAB/SIMULINK to control the nonlinear model of coupledtank system. The step input signals is fed to the system to test the tracking performance of SMC. The tracking performance of SMC is also compared with conventional PID controller in terms of performance index ITAE. The SMC showed excellent tracking results than PID controller.
Keywords: SMC, PID, Sliding surface, Switching function, Chattering .

INTRODUCTION:
The control of liquid level in tanks is a basic problem in the process industries. The process industries require liquid to be pumped and stored in the tanks, then pumped to another tank. Many times the liquids will be processed by chemical or mixing treatment in the tanks, but always the level of fluid in the tanks must be controlled, and the flow between tanks must be regulated. Often the tanks are so coupled together that the levels interact and this must also be controlled. Vital industries where liquid level control is essential include are paper industries, pharmaceutical industries, petrochemical industries etc

SYSTEM DESCRIPTION:

Coupled tank system:
Two tanks are connected in interactive manner. Both tanks are identical in cross section. The cross sectional area is represented as A (cm2). The inlet flow Fin is given to the tank 1 and the outlet flow Fout is from tank 2. A manual valve is available between the tank1 and tank2 can be used to change the interaction between the tanks. The change in water level p (cm) in tank1 affects the water level p(cm) in tank 2. The water level variation in tank1 and tank2 depends on the inlet and outlet flows. The control variable is level in tank2 that is p (cm). Manipulated variable is input flow rate Fin
Figure 1: Experimental Setup of a Coupled Tank level system
The main objective of the dualtank system is to reach a reference height of the second tank. This is done by controlling the inflow of the first tank.

Block diagram:
Figure 2: Block diagram of proposed method
In control theory, sliding mode control, or SMC, is a nonlinear control method that alters the dynamics of a nonlinear system by application of a discontinuous control signal that forces the system to slide along a crosssection of the system's normal behavior. The statefeedback control law is not a continuous function of time. The motion of the system as it slides along these boundaries is called a sliding mode. And the geometrical locus consisting of the boundaries is called the sliding (hyper) surface. For designing the SMC, a sliding surface has been selected at first, and then a suitable control law is designed so that the control variable is being driven to its reference value.The structure of SMC law U(t) is based on two main parts; a continuous part UC (t) and a discontinuous part UD(t).

Process model
A dh/dt = Qin – Qout
The mass balance equation for tank 1 and tank 2 is given as,
dp(t) 12a12
2g(h (t) h (t)) Q
dt A
1 2 A
1 1
Expand the above equations using Taylors series.We can get,
dp(t) 12a12
g H (t) H (t) Q
dt A 2(h (t) h (t)) 1 2 A
1 1 2 1
dp (t) 2a2
g H (t) 12a12
g H (t) H (t)
dt A
2h (t) 2
A 2(h (t) h (t)) 1 2
Figure 3: Process model of proposed system
LT :Level transmitter.
I/V :Current to voltage converter. V/I :Voltage to current converter. I/P :Current to pressure converter.
2 2 2 1 2
Taking Laplace transform and simplifying, the transfer function of a coupled tank process is obtained from the linear equations
H (s) K


MATHEMATICAL MODELING:
2 G(s)
U (s)
T T s2 (T
2T )s 1
The conical tank is the process considered which is given in figure 4.
Figure 4: coupled tank
A1 cross sectional area of tank1 A2: cross sectional area of tank 2
a2 : cross sectional area of output pipe in tank 2
a1: cross sectional area of interaction pipe between tank 1 and tank 2
p,p: water level of tank 1 and tank 2 Qin: inflow (Lph)
Qout:outflow (Lph)
12 : valve ratio of interaction pipe between tank 1and tank 2
12 2 12 2

CONTROLLER DESIGN:
The structure of SMC law U(t) is based on two main parts; a continuous part UC (t) and a discontinuous part UD(t) . That is
U(t) = Uc(t) + UD(t)
The continuous part of SMC is given by,
Uc(t) = f(R(t) Y(t))
In SMC, the objective is to make the error and derivative of error equal to zero. As the system error is defined as the difference between actual height and desired height, mathematically
e(t)=HD(t) H2(t)
HD(t) is desired height while H(t) is the actual height in 2nd tank. The expression for the nth order sliding function is given by
S(t)=(d/dt+)n1e Then for a 2nd order system
S=+
Where > 0 is the slope of sliding surface. Here =1.For stability condition consider a Lyapunov function:
2 :
valve ratio at the outlet of tank 2
V=1/2S2
From Lyapunov theorem it is known that if is negative
k : gain of the pump g : gravity (m/s2)
u : input voltage(v)
Mass balance equation :
Rate of change of mass in the tank = Mass flow in – Mass flow out
definite, the system trajectory will be driven and attracted toward the sliding surface and remain sliding on it until the origin is reached asymptotically.A sufficient condition for the stability of the system is
Â½ d/dt Â² 
Where S is a positive constant. This equation is called reaching condition or sliding condition. The basic discontinuous control law of SMC is given b
UD=Ksgn(S)
Where the parameter K is the constant manual tuning parameter and is responsible for the reaching mode. The main disadvantage of SMC is the Chattering phenomena. Chattering is a highfrequency oscillation around the desired equilibrium point. The chattering problem could be solved satisfactorily if the control UD is designed according to
The parameter is chattering suppression factor and is manually adjusted to eliminate the unwanted chattering. When system remains on sliding surface that means e (t) is zero all time. Hence it is desired to make
The continuous part of the control law will be
This procedure in which the continuous part of the controller derived is known in the SMC theory and the equivalent control procedure. The parameters b, a0 and a1 are calculated from the approximated model of the system and these values are b=0.006989, a0= 0.02785 and a1=5.753 respectively.
Then, the complete SMC law can be represented as follows

RESULTS AND DISCUSSION:
PID (proportional integral derivative) control is one of the earlier control strategies. It has a simle control structure which was understood by plant operators. Ziegler Nicholas open loop tuning is employed for coupled tank system which is shown in Figure 5 and the response of PID controller as shown in Figure 6
Figure 5: Block diagram of PID controller
Figure 6 Response graph for PID control
The saturation is used in the simulation to ensure that the control signal always remain within the bound. The value of tuning parameters used in the simulation results is k= 1200 and =0.15.The sliding mode control for coupled tank system is shown in figure7 and the response of sliding mode controller is shown in figure 8.
Figure7 Block diagram of sliding mode control
Figure 8 Response of sliding mode control
5.1 Comparison
PARAMETERS
PID
SMC
Settling time
560
7.6
Peak Overshoot
0.03
0
ISE
76.68
14.87
IATE
2.96e+003
1.23e+004
IAE
59.64
6.96
Table 1: comparison of performance measures
Figure 9 Comparison of PID and Sliding mode control

CONCLUSION AND FUTURE WORK:
The validation of this technique can be done by implementing in real time using LabVIEW. The response of sliding mode controller is obtained for various adjustment parameter values. The result is analyzed by adjusting various parameter values of sliding mode controller gives better response with no overshoot and reduced settling time.This project can be extended by the terminal sliding mode controller using evolutionary algorithms and other optimization techniques

REFERENCES:

Ivan Holic and Vojtech Vesely Robust PID Controller Design For CoupledTank Process 18th International Conference on Process Control June 1417, Tatranska Lomnica Slovakia, 2011

Ahmed ElBakly, A. Fouda, and W. Sabry A Proposed DC Motor Sliding Mode Position Controller Design using Fuzzy Logic and PID Techniques 13th International Conference on Aerospace Sciences & Aviation Technology, May 2009

Boonsrimuang P, Numsomran A, and Kangwanrat S. Design of PI Controller Using MRAC Techniques For CoupleTanks Process World Academy of Science Engineering and Technology, 2009

Maruthai Suresh, Gunna Jeersamy Srinivasan and Ranganathan Rani Hemamalini Integrated Fuzzy Logic Based Intelligent Control of Three Tank System Serbian Journal Of Electrical Engineering Vol. 6, No. 1, pp.114, May 2009

Oscar Camacho and Carlos A. Smith Sliding Mode Control: An Approach To Regulate Nonlinear Chemical Processes Universidad de Los Andes University of South Florida Merida 5101, Venezuela, 2008

Muhammad Nasiruddin Mahyuddin, Mohd. Rizal Arshad and Zaharuddin Mohamed Simulation of Direct Model Reference Adaptive Control on a CoupledTank System using Nonlinear Plant Model International Conference on Control, Instrumentation and Mechatronics Engineering (CIM07), Johor Bahru, Johor, Malaysia, May 2829,2007

Eduardo Sebastian and Miguel A. Sotelo Adaptive Fuzzy Sliding Mode Controller For The Snorkel Underwater Vehicle Intelligent Control Systems And Optimization ICINCO, 2005

Haizhou Pana, Hong Wonga, Vikram Kapilaa and Marcio S.de Queirozb Experimental validation of a nonlinear backstepping liquid level controller for a state coupled two tank system Control Engineering Practice 13, pp. 2740, 2005