Woldia University
Woldia University
Faculty of technology
department of electrical and computer
engineering
Submitted to inst:
Hailekiross Abadi
Abstract
Measuring the flow of liquid is a
critical need in many industrial plants. The aim of this paper is to do the
comparative study of conventional PID, fuzzy logic controller and PID-Fuzzy
controller in the area of liquid flow control. In this paper, performance analysis of
conventional PID, fuzzy logic and PID-Fuzzy has been done by the use of MATLAB
and Simulink and in the end comparison of various time domain parameter is done
to prove that the PID-Fuzzy logic controller has small overshoot and fast response as
compared to PID controller. PID controller is the most widely used control strategy
in industry. The popularity of PID controller can be attributed partly to their robust
performance and partly to their functional simplicity. In this paper, the response of
the PID and PD controller is oscillatory which damage the system. But the response
of the fuzzy logic controller AND PID-Fuzzy is free from this dangerous oscillation
in transient period. Hence the Fuzzy logic and PID-Fuzzy logic controller is better
than the conventionally used PID controller.
Keywords - Fuzzy Logic Controller, PID Controller, Matlab/ Simulink.
I.INTRODUCTION
Flow control is critical need in many industrial processes.The control action of
chemical industries maintaining the controlled variables. In this paper, we control
the flow via three methods:
PID, Fuzzy Logic Controller and PID-Fuzzy. PID control is one of the earlier control
strategies [1]. PID controller has a simple control structure which is easy to
understand but the response of PID controller is not fast. To overcome these
problems we use fuzzy logic and PID-Fuzzy Controller. Performance analysis of PID
and Fuzzy Logic Controller has been done by the use of MATLAB and Simulink.
Comparison of various time domain parameters is done to prove that the Fuzzy
Logic Controller has small overshoot and fast response as compared PID controller.
Traditionally, accurate mathematical model-based strategies have been applied to
deal with control problems. However, flow control system is very complex system,
because of the non linear and uncertainties of a system. Fuzzy logic , PID and PD
control have emerged over the years and become one of the most active and fruitful
areas of the research in the intelligent control applications. There are two major
different types of the control rules in fuzzy control: the Mamdani type and the
Sugeno type[1].The Mamdani control rules are significantly more linguistically
intuitive while Sugeno rules appear to have more interpolation power even for a
relative small number of control rules. PID controller is used when dealing with
higher order capacity processes (processes with more than one energy storage) when
their dynamic is not similar to the dynamics of an integrator (like in many thermal
processes) [2]. PID controller is often used in industry, but also in the control of
mobile objects (course and trajectory following included) when stability and precise
reference following are required. Conventional autopilot is for the most part PID
type controllers [3].
PID CONTROLLER
PID tuning is a difficult problem, even though there are only three parameters and in
principle is simple to describe, because it must satisfy complex criteria within the
limitations of PID control [4]. There are accordingly various methods for loop tuning,
some of them:
Manual tuning method
Ziegler–Nichols tuning method
PID tuning software methods
Ziegler–Nichols tuning method: This method was introduced by John G. Ziegler and
Nathaniel B. Nichols in the 1940s. The Ziegler-Nichols closed loop method is based on
experiments executed on an established control loop (a real system or a simulated system)
[5].
The tuning procedure is as follows:
I. Bring the process to (or as close to as possible) the specified operating point of the
control system to ensure that the controller during the tuning is “feeling” representative
process dynamic and to minimize the chance that variables during the tuning reach
limits.Process is brought to the operating point by manually adjusting the control
variable, with the controller in manual mode, until the process variable is approximately
equal to the set-point.
II. Turn the PID controller into a P controller by setting set Ti = ∞ and Td = 0. Initially,
gain Kp is set to “0”. Close the control loop by setting the controller in automatic mode
[6].
III. Increase Kp until there are sustained oscillations in the signals in the control system,
e.g. in the process measurement, after an excitation of the system. (The sustained
oscillations correspond to the system being on the stability limit.) This Kp value is
denoted the ultimate (or critical) gain, Kpu. The excitation can be a step in the set-point.
This step must be small, for example 5% of the
maximum set-point range, so that the process is not driven too far away from the
operating point where the dynamic properties of the process may be different [7]. On the
other hand, the step must not be too small, or it may be difficult to observe the
oscillations due to the inevitable measurement noise. It is important that Kpu is found
without the control signal being driven to any saturation limit (maximum or minimum
value) during the oscillations [8]. If such limits are reached, there will be sustained
oscillations for any (large) value of Kp, e.g. 1000000, and the resulting Kp-value is
useless (the control system will probably be unstable). One way to say this is that Kpu
must be the smallest Kp value that drives the control loop into sustained oscillations.
IV. Measure the ultimate (or critical) period Pu of the
sustained oscillations [9].
V. Calculate the controller parameter values according to
Table 1, and these parameter values are used in the controller. If the stability of the
control loop is poor, stability is improved by decreasing Kp, for example a 20% decrease.
Design of PD Controller
Figure.1 shows the Simulink model of the PD Controller with unity feedback. Derivative
controller (Kd) reduces both the overshoot and the settling time
Fig. 1: Simulink diagram of PD Controller.
Design of PID Controller
A simple strategy widely used in industrial control is PID controller [4]. A PID
Controller is being designed for a higher order system. Fig.2 shows the simulink
diagram of the PID Controller with unity feedback.
iv.Simulation Results
The Fig. 8, 9 and 10 shows the response of PD, conventional PID controller and the
response of the fuzzy logic controller to the step input.
Fig. 5: The step response of the PD controller
References
[1] Rahul Malhotra and Tejbeer Kaur, “DC motor control using fuzzy logic
controller,” International journal of advanced engineering sciences and
technologies vol no. 8, issue no. 2, 291 – 296.
[2] Philip A. Adewuyi, “DC Motor Speed Control: A Case between PID
Controller and Fuzzy Logic Controller,” international journal of
multidisciplinary sciences and engineering, vol. 4, no. 4, may 2013.
[3] Zhang Shengyi and Wang Xinming, “Study of Fuzzy-PID Control in
MATLAB for Two-phase Hybrid SteppingMotor,” Proceedings of the 2nd
International Conference On Systems Engineering and Modeling (ICSEM-
13).
[4] Awang N.I. Wardana, “PID-Fuzzy Controller for Grate Cooler in Cement
Plant,” IEEE transaction of fuzzy system, no.7, vol. 32, 2005, 1345-1351.
[5] Farhad Aslam and Gagandeep Kaur, “Comparative Analysis of
Conventional,
P, PI, PID and Fuzzy Logic Controllers for the Efficient Control of
Concentration in CSTR,”International Journal of Computer Applications
(0975 – 8887) Volume 17– No.6, March 2011.
[6] D. Puangdownreong, T. Kulworawanichpong, S. Sujitjorn, Input
weighting optimization for PID controllers based on the adaptive tabu
search, 2004 IEEE
Region 10 Conference D (2004) 451–454.
[7] Gaddam Mallesham and Akula Rajani, “ Automatic tuning of pid
controller using fuzzy logic,” 8th International Conference on development
and application systems Suceava, Romania, May 25 – 27, 2006.
[8] Gaurav and Amrit Kaur, “ Comparison between Conventional PID and
Fuzzy Logic Controller for Liquid Flow Control: Performance Evaluation of
Fuzzy Logic and PID Controller by Using MATLAB/Simulink,”
International Journal of Innovative Technology and Exploring Engineering
(IJITEE) ISSN: 2278-3075, Volume-1, Issue-1, June 2012.
[9] S.R.Vaishnav and Z.J.Khan, “Design and Performance of PID and Fuzzy
Logic Controller with Smaller Rule Set for Higher Order System,”
Proceedings of the World Congress on Engineering and Computer Science
2007 WCECS 2007, October 24-26, 2007.
[10] Elangeshwaran Pathmanathan and Rosdiazli Ibrahim, “Development
and Implementation of Fuzzy Logic Controller for Flow Control
Application,” Intelligent and Advanced Systems (ICIAS), International
Conference on Digital Object Identifier, pp.1-6, 2010.
[11] Gaurav and Amrit Kaur, “Conventional PID controller and Fuzzy logic
controller for Liquid flow control: Performance Analysis Using
MATLAB/Simulink,” International Journal of Engineering Research &
technology (IJERT) Vol. 1 Issue 3, May – 2012.
[12] Sahil Chandan and Rahul Agnihotri, “Fuzzy logic Controller for
Flowing Fluids,” International Journal of Advanced Research in Computer
[13] Chuen Chien Lee, “Fuzzy logic in control systems i.e. fuzzy logic
controller,”IEEE Transactions on Systems, man and cybernetics, Vol 20,
No.2, March/April 1990.
[14] R. Manoj Manjunath,S, S. Janaki Raman ,” Fuzzy Adaptive PID for
Flow Control System based on OPC,” IJCA Special Issue on
“Computational Science - New Dimensions & Perspectives NCCSE”, 2011.
[15] R. Rajesh,“Fuzzy Logic Control - A Quick Review,” international
journal of wisdom based computing, VOL. 1(1), 2011.