Simulated Design of Water Level Control System: January 2015
Simulated Design of Water Level Control System: January 2015
Simulated Design of Water Level Control System: January 2015
net/publication/272790461
CITATIONS READS
3 12,301
3 authors:
Promise Elechi
Rivers State University
47 PUBLICATIONS 94 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Analysis of Global System for Mobile Communication (GSM) Network in Port Harcourt Under Different Loading Conditions Using Erlang-B Techniques. View project
All content following this page was uploaded by Promise Elechi on 26 February 2015.
Abstract:
In this paper, the modelling and simulation of a water tank level controller using fuzzy logic approach has been
achieved. This project is aimed at the design and simulation of a fuzzy logic based controller that will provide a
stabilized output response. In order to successfully achieve this project, emphasis was made on two areas; the
foundational knowledge of fuzzy logic and the fuzzy inference system, and the definition of the tank system
model and its parameters. The design was implemented using Fuzzy Logic Toolbox package and SIMULINK
environment which can be found in MATLAB software. For the purpose of analysis, the controller was
simulated using a variety of rules in order to test the effect of the rules on the fuzzy logic controller. Results will
show that fuzzy logic can realize faster results, superior features, and better end product performance with
respect to overshoots, oscillations and response time.
Keywords: Fuzzy logic, Control System Design, Matlab, Simulink
I. INTRODUCTION
Water level control systems are used to control the level and flow of water circulation systems for a variety of
processes (Dhiman and Kumar, 2011). These processes may include; water dam, petrochemical process plants,
water treatment plants, pharmaceutical and food processing plants, overhead tanks etc (Srinivas and Durga
2012). The device that performs the controlling action is a valve which is attached to a controller whose main
objective is to maintain a desired set point level as well as accept a new one desired by the control engineer.
Fuzzy logic is widely used in the control of many processes, including that of the control of the water level in a
tank. the fuzzy logic controller applies human reasoning and experience in defining the behaviour of the
controller.
Due to the complexity (nonlinearities and uncertainties) inherent in liquid (water) tank systems, level
control using conventional control schemes (i.e PI, PD, PID) will not give efficient results. This is due to two
reasons:
• Difficulty in designing a precise mathematical model of the control system
• Poor control performance due to the fact that parameters of conventional controllers are required to be
tuned over a period of time to get a stabilized output.
This paper is aimed at the modelling and simulation of a water tank system based on the control of a
fuzzy logic expert system to stabilize the water level.
30
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
Designing the fuzzy logic controller to work with only the level as its input will produce an output
(water level) that oscillates about the desired level, hence there's a need to add an additional input. This input
will be the rate which is derived by differentiating the current level of the tank. Both the rate and level (which is
the difference between the current level and the desired set-point) will serve as inputs to the fuzzy logic
controller.
The rules used by the fuzzy logic controller will be written using the fuzzy logic toolbox. One of the
great advantages of the Fuzzy Logic Toolbox is the ability to take fuzzy systems directly into SIMULINK and
test them out in a simulation environment. These rules will be integrated into the SIMULINK model and
adjusted to acquire the best results.
31
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
........(3)
32
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
to the water tank system while the other goes to out port 3 labelled 'outflow'.
33
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
V. Conclusion
In this project, a unique fuzzy logic controller using five rules and a straight forward implementation was used to
solve the problem of overshoots in level control, commonly encountered by conventional controllers. The result
shows significant improvement in maintaining performance in terms of oscillations and overshoots produced.
REFERENCES
Abdullah, A.B. (2008): "A Research Project on Water Level in Tank using Level Sensor and PID Controller",
Pahang: University of Malaysia.
Chin, G.C. (2008): "A Research Project on Design and Modelling of Multiple Tank Control for Fluid
Circulation System Using Fuzzy Controller", Melaka: Technical University of Malaysia.
Dharamniwas, Ahmad, A., Redhu, V. and Gupta, U. (2012): " Liquid Level Control by Using Fuzzy Logic
Controller", IJAET, Vol. 4, Issue 1, pp. 537-549.
Dhiman and R. Kumar, B. (2011): " Optimization of PID Controller for Liquid Level Tank System Using
Intelligent Techniques", Canadian Journal on Electrical and Electronics Engineering, Vol. 2, p. 531.
34
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
Distefano, J.J., Stubberud, A.R. and Williams J.(1995), Theory and Problems of Feedback and Control
Systems, 2nd edition, McGraw-Hill Publishers, USA, p. 156.
Jang, J.S. and Gulley N. (1997): Matlab: Fuzzy Logic Toolbox, 1st edition, The Mathworks Inc, USA, pp.
1-68.
Grundberg, S. (2007): "A Report on Tank Level Control", Umea University.
Srinivas, P. and Durga, R (2012): "Comparative Analysis of Conventional PID Controller and Fuzzy Controller
with Various Defuzzification Methods in a Three Tank Level Control System", International Journal of
Information Technology, Control and Automation, Vol. 2, pp. 75-76.
Wu, D. , Karray, F. and Sond, I. (2005): " Water Level Control by Fuzzy Logic and Neural Networks", IEEE
Conference on Control Applications, pp. 1- 6.
Mathworks 2007, MATLAB 7.5.0. (R2007b),
AUTHOR’S BIOGRAPHY
Bourdillon .O. Omijeh holds a B.Eng degree in Electrical/Electronic Engineering,
M.Eng and Ph.D in Electronics/Telecommunications Engineering from the
University of Port Harcourt & Ambrose Alli University (A.A.U) Ekpoma,
respectively. His research areas include: Artificial Intelligence, Robotics,
Embedded Systems Design, Modeling and Simulation of Dynamic systems,
Intelligent Metering Systems, Automated Controls, Telecommunications and ICT.
He has over thirty (30) technical papers & publications in reputable National &
International peer reviewed Journals. He has authored some Electrical/Electronic
Engineering Text books; and also, has developed over ten(10) engineering
application Software. He is a member, Institute of Electronics and Electrical
Engineers (MIEEE), Corporate Member, Nigeria Society of Engineers; and also, a
registered practicing Engineer with COREN. He is currently a Senior Lecturer &
pioneer HOD, Department of Electronic and Computer Engineering, University of
Port Harcourt, Nigeria; and also, a consultant to companies & Institutions. He is
happily married with Children. E-mail: [email protected]
35
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
Fig 3.1: The Complete Water Tank Level Control System Fig 3.2: The Water Tank System (source: Grundberg (2007))
36
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
37
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
38
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
Fig 4.1: Control Response of Fuzzy Logic Fig 4.2: Control Response of Fuzzy Logic
Controller Using 3 Rules Controller Using 4 Rules
seconds.
Fig 4.3: Control Response of a Fuzzy Logic Fig 4.4: Control Response of a Fuzzy Logic
Controller Using Five Rules Controller Using Six Rules
39
Computer Engineering and Intelligent Systems www.iiste.org
ISSN 2222-1719 (Paper) ISSN 2222-2863 (Online)
Vol.6, No.1, 2015
Fig 4.5: Response of Fuzzy Logic Controller Fig 4.5: Tank Demo
Using Ruleviewer
40
The IISTE is a pioneer in the Open-Access hosting service and academic event management.
The aim of the firm is Accelerating Global Knowledge Sharing.
There are more than 30 peer-reviewed academic journals hosted under the hosting platform.
Prospective authors of journals can find the submission instruction on the following
page: http://www.iiste.org/journals/ All the journals articles are available online to the
readers all over the world without financial, legal, or technical barriers other than those
inseparable from gaining access to the internet itself. Paper version of the journals is also
available upon request of readers and authors.
MORE RESOURCES