Professional Documents
Culture Documents
Performances Evaluation and Comparison of PID Controller and Fuzzy Logic Controller for
Process Liquid Level Control
l 2
Asst. Prof. Mrs. Deepa Shivshant Bhandare and Dr. Prof. Mrs. N. R.Kulkarni
I Ph. D. Student, Department of Electrical Engineering, Modem College of Engineering, Pune University,
Pune-05, India (deepal.phdelect@gmail.com)
2 H.O.D. Department of Electrical Engineering, Modem College of Engineering, Pune University,
Abstract: Tank level control systems can be found everywhere. It is essential for control systems engineers to
understand how tank control system work and how the level control problems are solved. In industrial control systems
the liquid level is carrying its significance as the control action for level control in tanks containing different chemicals
or mixtures is essential for further control linking set points.
All the real systems exhibits non-linear nature, conventional controllers are not always able to provide good and
accurate results. Fuzzy Logic Control is used to obtain better response. Fuzzy Logic is a paradigm for an alternative
design methodology, which can be applied in developing both linear and non-linear systems for embedded control. By
using fuzzy logic, designers can realize lower development costs, superior features, and better end product performance.
One of the successful applications that used fuzzy control is tank liquid level control.
In this paper, we take the liquid level water tank, and use MATLAB to design a Fuzzy Control. Then we analyze the
control effect and compare it with the effect of PID controller. As a result of comparison, Fuzzy Control is superior to
PID control. Especially it can give more attention to various parameters, such as the time of response, the error in
steady state and overshoot. Comparison of the resultant control response from these two systems indicated that the
fuzzy logic controller significantly reduced overshoot and steady state error.
1. INTRODUCTION
Manipulated variables Controlled Variable (Level)
1.1 Liquid level controller
In control systems there are a number of generic
systems and methods which are encountered in all areas
of industry and technology. From the dozens of ways to Control Element (Valve) Measuring means (Liquid
control any system, it turns out that fuzzy is often the level sensor)
very best way. The only reasons are faster and cheaper.
The control of the liquid level in tanks and flow
between tanks is a basic problem in the process
industries. The process industries require liquid to be Set point
pumped, stored in tanks, and then pumped another tanl....
Many times the liquids will be processed by chemical or
mixing treatment in the tanks, but always the level of Fig.1 A typical industrial Liquid Level control system
fluid in the tanks must be controlled, and the flow
between tanks must be regulated. Often the tanks are so 1.2 Liquid storage tank
coupled together that the levels interact and this must Fig.2 shows a storage tank of constant cross sectional
also be controlled. The primary question at that time
area a.
was: "What the fuzzy logic control does that the
conventional cannot do?"Here we concentrate on fuzzy
logic control ( one of the Intelligent Control Technique)
as an alternative control strategy to the current
proportional - integral - derivative (PID) method
- - - ---c
widely used in industry[I].
Level and flow control in tanks the heart of all h(m)
chemical engineering system. Vital industries [2] where
liquid level and flow control are essential include:
Petro-chemical Industries
Nuclear power plant [3] R
Water treatment Industries -----t><1-/-...",---+- qo (m3/s)
Consider a generic liquid level control application
Fig.2 Storage tank
shown in Fig. I.
J k
Wet..:r , ..
bV I
co ntrol
Tcmk
/
x
2 r------- out fl=...
sour ce flow Prod'u d:
Water o .. t
FigA Block diagram of valve subsystem
System
... (1)
1348
The water-tank system itself. 2.2 The FIS Editor
A Controller subsystem to control the height of water. We have defined two Inputs for the Fuzzy Controller.
in the tank by varying the voltage applied to the pump. One is Level of the liquid in the Tank denoted as "level"
A reference signal that sets the desired water level. and the other one is rate of change of liquid in the Tank
A Scope block that displays the height of water as a denoted as "rate". Both these Inputs are applied to the
function of time. Rule Editor [6, 7]. According to the Rules written in the
Double-click a block to view its contents. The Rule Editor the controller takes the action and governs
Controller block contains a simple proportional integral the opening of the Valve which is the Output of the
derivative controller. controller and is denoted by "valve". It may be shown in
Fig.9.
2.1.4 Water-Tank System Block
The circuitry for the water tank system may be shown
in Fig.7.The Eq. (1) describes the height of water, H, as
a function of time, due to the difference between flow
rates into and out of the tank. 'A' is the cross-sectional
area of the tank, 'b' is a constant related to the flow rate
into the tank, and 'a' is a constant related to the flow
rate out of the tank. Values of the parameters are given
as a=2 cm25/s,A=20 cm2, b=5 cm3/(sV )
0.5
Derivative Derivative
Gain Divisor
-0.1 -0.08 -0.06 -0.04 -0.02 0.02 0.04 0.06 0.08 0.1
Filta in put variable "rate"
Fig.8 Block diagram of PTD controller Fig.11 Gaussian membership function Fuzzy Set
Characterizing the rate input
1349
2.3.2 Fuzzy Set Characterizing the Output 3.1 Simulation Results: Response of Liquid Level
Use triangular membership function types for the Controller using PID Controller
output. First, set the Range (and the Display Range) to
(-1 1), to cover the output range. Your system should
look something like this n Fig.I2.
Rule Editor: t a n k
e' D ka e va c an
2. If (level is low) then (valve is open_fast) (1)
3. If (level is high) then (valve is close_fast) (1)
4. If (level is okay) and (rate is posive) then (valve is close_slow) (1)
5. If (level is okay) and (rate is negative) then (valve is open_slow) (1)
1350
From Fig. 17, FLC provide good performance in terms results from these two systems indicated that the fuzzy
of oscillations and overshoot in the absence of a logic controller significantly reduced overshoot and
prediction mechanism. The FLC algorithm adapts steady state error. Comparison results of PID and FLC
quickly to longer time delays and provides a stable are shown in Table no.1 below.
Response. Table no.l The overall performance parameter of
5. CONCLUSION
The FLC simulated on a level control problem with
promising results can be applied to an entirely different
Fig. 18 Transient Response of Fuzzy and PID industrial level controlling apparatus. Here FLC and
controllers PID both are applied to the same exactly modeled level
Fig.18 shows the comparison of fuzzy and PID control system and simulation results are obtained. The
controller transient response for 1m desired level (Green result shows significant improvement in maintaining
line shows PID response, Pink line shows fuzzy performance over the widely used PID design method in
response and Yellow one indicates desired level). It is terms of oscillations produced and overshoot. As seen
clear from the graph that the PID controller has a large from the graphs drawn in figs. 15 and 17, 18 the rise
overshoot compared to the fuzzy controller and also time in case of PID controller is less but oscillations
takes a lot of time to stabilize at the desired level. Fuzzy produced and overshoot and settling time is more. But
logic on the other hand, has little overshoot and steady in case of fuzzy logic controller, oscillations and
state error and stabilizes quickly providing accurate overshoot and settling time are low, so FLC can be
level control. We find that the advantages and applied where oscillations cannot be tolerated in the
disadvantages of PID control and fizzy control just process. The FLC exhibits robust performance for plants
offset each other. We can use fuzzy controller for rapid with significant variation in dynamics.
control (coarse adjustment) and then use PID controller Fuzzy Logic method focuses on what the system
for accurate control (fine tune). should do rather than trying to understand how it works.
One can concentrate on solving the problem rather
4. DISCUSSION trying to model the system mathematically, if that is
even possible. This ahnost invariably leads to quicker,
The FLC is applied to the plant described above in
cheaper solutions.
Fig. 14. Obtained FLC simulation results are plotted
against with that of conventional controller PID ACKNOWLEDGMENT
controller for comparison purposes in Fig.l8. The
This work was partially supported by Mr. Shivshant S.
simulation results are obtained using a 5 rule FLC. For
Bhandare.
comparison purposes, simulation plots include a
REFERENCES
conventional PID controller, and the fuzzy algorithm.
As expected, FLC provide good performance in terms [1] Y. Peng, J. Luo, J. Zhuang, C. Wu, "Model
of oscillations and overshoot in the absence of a reference fuzzy adaptive PID control and its
prediction mechanism. The FLC algorithm adapts applications in typical industrial processes",
quickly to longer time delays and provides a stable "IEEEIICAL", pp.896-90l, Sep. 2008.
response while the PID controllers drives the system [2] P. J.King and E. H.Mamdani, "The application
unstable due to mismatch error generated by the of fuzzy control to industrial process," Automatica,
inaccurate time delay parameter used in the plant model. Volume 13, Issue 3, May 1977, Pages 235-242.
From the simulations, in the presence of unknown or [3] Z. Zhi, H. Lisheng, "Performance assessment for
possibly varying time delay, the proposed FLC shows a the water level control system in steam generator of the
significant improvement in maintaining performance nuclear power plant", "IEEEICCC'. pp.5842-5847, July
and preserving stability over standard PID method. 2011.
To strictly limit the overshoot, using Fuzzy Control [4] 'Process dynamics and control' by S.Sundaram,
can achieve great control effect. As a result of Cengage Learning, India.
comparing, Fuzzy Control is superior to PID control. [5] T. E. Marlin, 'Process Control: designing
Especially it can give more attention to various processes and control systems for dynamic
parameters, such as the time of response, the error of performance', 2nd Ed., McGraw-Hill, 2000.
steadying and overshoot. Comparison of the control [6] E.H. Mamdani, "Advances in the linguistic
1351
synthesis of fuzzy controllers", International Journal of
Man Machine Studies 8 (1976) 669-678.
[7] E.H. Mamdani, "Applications of fuzzy logic to
approximate reasoning using linguistic synthesis", IEEE
Transactions on Computers 26112 (1977) 1182-119l.
[8] Chuen Chien Lee, "Fuzzy logic in control systems
i.e. fuzzy logic controller", IEEE Transactions on
Systems, man and cybernetics, Volume 20, No.2,
March/April 1990.
[9] S. N. Sivanandam, S. Sumathi and S. N. Deepa,
"Introduction to Fuzzy Logic using MATLAB",
Springer-Verlag Berlin Heidelberg 2007.
[10] User's Guide of Matlab for Fuzzy Logic
Toolbox.2012.B.
[II] T.J. Ross, "Fuzzy Logic with Engineering
Applications", 2nd Ed, Hoboken, NJ: John Wiley &
Sons, 2004.
[12] J. Harris, "Fuzzy Logic Applications m
Engineering Science", Springer, 2006.
1352