- Open Access
- Total Downloads : 1412
- Authors : Athuluri Usha, Hemlata Patel, Dr. K. V. Lakshmi Narayana
- Paper ID : IJERTV3IS061601
- Volume & Issue : Volume 03, Issue 06 (June 2014)
- Published (First Online): 01-07-2014
- ISSN (Online) : 2278-0181
- Publisher Name : IJERT
- License: This work is licensed under a Creative Commons Attribution 4.0 International License
Water Tank Level Control System using Self-Adaptive Fuzzy-PID Control
Athuluri Usha, Hemlata Patel M.Tech (Control and Automation) School of Electrical Engineering VIT University
Vellore-632014, Tamil Nadu, India.
Dr. K. V. Lakshmi Narayana
Associate Professor School of Electrical Engineering
VIT University
Vellore-632014,Tamil Nadu, India
Abstract – This paper demonstrates the performance of self- adaptive fuzzy-PID controller to control level of an automatic water level control system. The traditional PID controller cannot give satisfactory response to liquid level systems, because there exists time delay in this type of systems. Therefore, a self-adaptive fuzzy control is developed by combining the advantages of fuzzy and PID controller is applied to water level systems. In this paper, mathematical model for a first order tank system with valve lag, measurement lag and time delay are considered. For the water tank level control system (WTLCS), the measurements are carried out from process plant which is located at process dynamics and control laboratory, VIT University. The performance analysis of the self-adaptive fuzzy-PID controller and conventional PID controller has been implemented in MATLAB and Simulink for the first order WTLCS. The comparison of various time domain parameters is performed to prove that the self-adaptive fuzzy-PID control is superior to conventional controllers.
Keywords : self-adaptive fuzzy-PID control, valve lag, measurement lag, dead time.
-
INTRODUCTION
An industrial process control system consists of many constraints like non linearity, inertial lag, time delay, time varying parameters and so on. Because of these features, it is very difficult to develop the mathematical model of such systems. Thus conventional PID controller [5] doesnt give good results for such systems which consist of disturbances. Therefore, a new approach which is a combination of fuzzy and PID control is considered that can deal with these limitations. The fuzzy logic controller [1] is applicable to non-linear systems and it is based on the human thinking and experience about the plant to be controlled. Fuzzy modeling doesnt depend on the precise mathematical model. When Compared toconventional PID control, self-adaptive fuzzy PID control [2] has many advantages such as fast response, minimal overshoot and good anti-inference ability.
An adaptive controller adjusts itsparameters according to the situation. The variation in the plant or in the disturbance characteristics are the most important situations that demands for the adaptive control. Fuzzy logic can be understood as computation using linguistic variables instead of numbers, whereas fuzzy control uses IF-THEN statements
[12] instead of equations. If the controller further takes thecorrective action without human intervention then it is said to be adaptive control.
Dynamics of level control are influenced by the lags in the tank, the measuring device, and the control valve. For small changes in level, a tank with a control valve in the exit line behaves as a first-order system.PID controller [7] requires the exact model of the system. Fuzzy control is an intelligent control method [4] and this feature makes it self-adaptive. This self-adaption mechanism provides faster response, small overshoot, insensitive to the changes of process parameters, and strong robustness. This paper combines the traditional PID controller and fuzzy controller, and this self- adaptive fuzzy-PID controller strategy is implemented in the water tank level control system.
In this paper, section-II describes the development of mathematical model of plant and performance of conventional controllers. Section-III deals with the design and development of self-adaptive fuzzy-PID controller [2]. Results and simulations are illustrated respectively in section-IV. Section-V concludes with the performance evaluation of self-adaptive fuzzy-PID controllers over conventional controllers.
-
METHODOLOGY
In the liquid level control system, water level measurement and precise water level control is an important process in improving the manufacturing quality of products. However, there are many difficulties in controlling of water level system. In some cases, the system is operated under unstable condition, for example, above set-point level or below set- point level. Therefore, it seems to be quite challenging to perform an accurate leveling process. Thus this project has been conducted to perform precise water level control using self-adaptive fuzzy controller to overcome the above difficulties. The measured data is compared with conventional PID controller which has been developed from MATLAB control system toolbox.
-
Automatic water tank level control system:
The water tank level control system with conventional controllers is implemented in the plant shown in figure2. This plant is located at process dynamics laboratory, VIT University. The components employed on the process plant are summarized in table1. The plant is applicable to operate either in manual mode or automatic mode to control the
water level. The project was conducted by choosing an automatic mode controller. The principle of this tank is explained below.
A pump discharges the water from reservoir and flows through the rotameter and control valve. Tank level is sensed by level transmitter. Computer is acting as an error detector as well as controller, which detect the difference between the users defined set point and digital form of level transmitter output. The output of controller is used to actuate the electro pneumatic converter conversion thereby the controlling of valve is done. It controls the flow of the fluid in pipeline by varying stem position of the control valve opening. The block diagram of water tank level system is shown in figure1.
Fig.1.Block diagram of water tank level control system
-
Mathematical model:
The level process station is a single tank system, which consists of a tank of uniform cross-sectional area A to which is attached a flow resistance R such as a valve and a pipe. Assume that 0 , the volumetric rate of flow through the resistance, is related to the head of tank h by linear relationship given by,
Equipment Name
Ratings
Function
Level transmitter (RF Capacitance)
Height: (0-800)mm Water column
Range: (0-700)mmWater column
It measures the level of the tank at every instant.
Process tank
Capacity: 35 liters Height: 800mm
It stores the water.
Rotameter (variable area)
Range: (100-1000)LPH
It measures the flow rate of water.
Pump
RPM: 2700
Motor rating: 0.5 HP Discharge: 1500 LPH
It pumps the water to fill the tank.
Pneumatic control valve
(single seated globe)
Valve action: Air to open Flow rate: 500/1000 LPH
It controls the flow of water in tank through pressure.
Electro pneumatic converter
Input air: 20 psi Output: 3 to 15 psi
It converts electrical signals to pressure signal.
Fig.2. Level process station located at VIT University TABLE.1. COMPONENTS EMPLOYED IN THE PROCESS PLANT
() =
(1)
0
We can analyze this system by writing a transien mass balance around the tank:
The accumulation of mass in the tank is the difference between the input flow rate and output flow rate and is given by
()
(2)
0
Substitute equation (1) in equation (2) ,
(3)
Applying Laplace transform on both sides
= 1 + () (4)
The process transfer function is
Assume R = 2.
= () =
(5)
()
+1
From the experiment it is observed that measurement lag,
=2sec, and valve lag, =20sec
The transfer function of measuring lag is,
() 1 2+1
(6)
X-axis: Time (sec) Y-axis: Level (mm)
Similarly, transfer function for control valve lag is,
() 1
20+1
(7)
By using Ziegler Nicholas method tuning of PID controller
-
is done. The complete transfer function of the given system is,
() = () 1+ ()
( )
2 1
Fig.3.PID controller response
=
23+1
2
20+1
(9)
1+
1 1
( )
23+1
20+1 2+1
-
-
ADAPTIVE FUZZY LOGIC CONTROLLER
Characteristic equation is given as,
() () (10)
(11)
By substituting = in the equation (11) We get, =12.85 and =0.22.
The ultimate period is given as,
Fuzzy inference system (FIS) is a knowledge based rule base system. The fuzzifier performs conversion of inputs, outputs and physical constraints into fuzzy variables by assigning appropriate membership functions [12]. Fuzzy rules are framed accordingly in the inference engine with the consent of knowledge base and the firing of rules proposes fuzzy outcomes. The defuzzifier converts the fuzzy outcomes into real world physical quantities.
2 (12)
Now calculating the settings of PID controller using Z-N method
= 0.6 . (13)
So, =7.71
= =14.205 (14)
Fig.4. Block diagram of fuzzy logic control
=
2
= 3.55 (15)
8
-
Designing of fuzzy logic controller:
In the design of fuzzy controller, we considered deviation,
andrate of deviation change,() as the inputs for the
By using these values the closed loop performance of PID controller is shown in figure 3. It has been observed that the response of PID controller has more oscillations, large settling time and large peak overshoot. Hence, fuzzy controller is considered in parallel with PID controller, in order to improve the response of the given system.
fuzzy controller. The position of the valve is denoted as
valve position was considered as output variable. Gaussian membership function was considered for the input variables and triangular membership was considered for the output variable. Also settings of the PID controller, from Ziegler- Nichols method were optimized and used in fuzzy control. Accordingly the rules were framed and written in the rule editor. The firing of rules makes the fuzzy controller to perform the necessary action and governs the opening of valve.
Fig.5.Mamdani type fuzzy controller
-
Fuzzy set characterizing the input:
-
Deviation
Fuzzy variable Crisp input range High (-0.3,-1)
Zero (0.3, 0)
Low (0.3, 1)
-
-
Fuzzy set characterizing the output:
3) Valve position
Fuzzy variable Crisp output range
Close fast (CF) (-1.0,-0.9,-0.8)
Close slow(CS) (-0.6,-0.5,-0.4)
No change (NC) (-0.1, 0, 0.1)
Open slow (OS) (0.2, 0.3, 0.4)
Open fast (OF) (0.8, 0.9, 1.0)
Fig.8. Triangular membership function characterizing output variable valve position
Fig.6.Membership function characterizing the input variable
deviation
2) Rate of deviation change
Fuzzy variable Crisp input range Positive (-0.03,-0.1)
Zero (0.03, 0)
Negative (0.03, 0.1)
Fig.7. Membership function characterizing the input variable
rate of deviation change
-
Rule editor:
Using the graphical rule editor interface rules are constructed based on the descriptions of the input and output variables defined in the FIS editor [14]. The rules are framed as follows:
-
If is low and () is zero then valve position is open slow
-
If is high and () is negative then valve position is close fast
-
If is zero and () is negative then valve position is close slow
-
If is low and () is positive then valve position is open fast
-
If is zero and () is positive then valve position is open slow
-
If is zero and () is zero then valve position is no change
-
If is high and () is zero then valve position is close slow
-
If is low and () is negative then valve position is open fast
-
If is high and () is negative then valve position is close fast
-
-
SIMULATION DIAGRAM& RESULTS
The simulink diagrams for PID controller and self-adaptive fuzzy PID controller are illustrated respectively in figures 9 and 10.In the model given, the control step setting value is r(t)=u(t). In the controller, the proportional factorKp = 7.71, the integral factor Ki = 0.074 , the differential factor Kd = 3.55 were obtained. The qualification factor in the
X-axis: time (sec) Y-axis:level (mm)
fuzzy controller is Ke = 6,Kec = 120, the proportion factor of fuzzy output is Ku = 0.833 and simulation time is 500sec.The simulation result of self-adaptive fuzzy PID is illustrated in figure11.
-
CONCLUSION
The control method adapted in this paper infers that the self-adaptive fuzzy- PID controller has small settling time, minimum peak overshoot and has high disturbance rejection capability compared to conventional PID controller. Self- adaptive fuzzy-PID controller reaches the goal of improving the controller process dynamics and steady performance. Thus the control effect of self-adaptive fuzzy-PID is better than the conventional PID control. The future scope is that the adapted strategy can be applied for higher order systems with more number of physical constraints and increased
rules. Fig.11. Simulation result of self-adaptive fuzzy-PID controller.
Fig.9 .Simulink diagram using self-adaptive fuzzy PID controller.
Fig.10. Simulink diagram using PID controller.
ACKNOWLEDGMENT
We would like to also thank the management of VIT University and School of Electrical Engineering for providing us with the required facilities for the successful completion of our project.
REFERENCES
-
G.Wang, H.Song, Q.Niu, Mine Water Level Fuzzy Control System design Based on PLC, Second International Conference on intelligent Computation Technology and Automation, Vol.3, pp130-133, 2009.
-
L.Chen, C.Wang, Y.Yu and Y.Zhao, The research on Boiler drum water Level Control system based on Self-Adaptive fuzzy-PID, Control and Decision Conference (CCDC), pp1582-1584,May2010.
-
H.Chen and Z.Chen, Implement of a Cascade Integral Sliding Mode controller for a Water Tank Level Control System International conf. on Innovative Computing Information and control (ICICIC), pp 162- 165, Jun 2008.
-
M.Petrov, I.Ganchez and A.Taneva, Fuzzy PID controller Of nonlinear Plant, Proceedings on First International IEEE Symposium on Intelligent Systems, Vol.1,pp30-35, Dec 2002.
-
A.Varun, M.Meng and O.Una-May, A Self-Tuning Analog proportional-Integral-Derivative (PID) Controller, First NASA/ESA conference on Adaptive Hardware and Systems (AHS'06), pp12-16, 2006.
-
C.T.Chen, Analog & Digital Control System Design: Transfer function,State-space and Algebraic Method, Fort Worth: Saunders college Publishing, pp551-558, 2006.
-
G.F Franklin, J.D.Powell and A. Emami-Naeini, Feedback Control of dynamic Systems, Massachusetts: Addison-Wesley Publishing company, pp12-472, 2002.
-
S.SGade, S.B.Shendage and M.D.Uplane, Performance Comparison of on Line Auto Tune PID Controller with Conventional PID controller, International Journal of Computer Science & Communication, Vol 1,No.1, pp273-277, June 2010.
-
Y Lee, Spark, M Lee. PID controller tuning to obtain desired loop responses for cascade control systems [J].Ind. Eng.chem. Res, 1998,37: 1859-1865.
-
A Datta, MT Ho, SP Bhattacharyya Structure and Synthesis of PID Controllers [C]. London: Springer, 2000.
-
Jiang Wei sun, Yu Jin shou. Process Control Project [M]. Bei Jing: China Petrochemical Press. 1999:278-285.
-
Liu Xiang jie, Zhou Xiao xin. The application status and perspectives of fuzzy control in electric power plant boiler control[J]. Electric Network Technology. 1998,22:4-14.
-
Zou Tao, Liu Hong bo, Li Shao yuan. The forecasting control of boiler drum water level non-self-value system[J]. Control Theory & Application. 2004,6:386-397.
-
Liu Shu guang, Wei Jun min, Zhu Zhi chao. Fuzzy Control Technology[M]. Bei Jing: China Textile & Apparel Press. 2001:59- 102.
-
Zhang Li qun, Li Dong hai, Tang Duo yuan. The PID parameter optimization research in thermodynamic system cascade control[J]. Journal of System Simulation. 2005,8:1848-1849. 1584 2010