Académique Documents
Professionnel Documents
Culture Documents
Level control (Tank 1) of Coupled Tank Liquid Level System Using Integral Control State Feedback Controller
This thesis is submitted as partial fulfillment of the requirement for the award of the Bachelor Degree of Electrical Engineering (Power Systems)
MEI, 2009
ii
All the trademark and copyright use herein are property of their respective owner. Reference of information from other sources is quoted accordingly; otherwise the information presented in this report is solely work of the author.
Signature
: _____________________
Author
Date
iii
Specially dedicated to My beloved family Thanks For all their support, motivation and caring During the course of this project
iv ACKNOWLEDGEMENT
Firstly, thank to God throughout all His Almighty kindness and loveliness for letting me to finish my final year project. Secondly, I wish to hand a million thank to this final year project supervisor Mr. Mohd Syakirin Bin Ramli for his encouragement, guidance and consistent supports in finishing this project. I am also very thankful to my academic advisor Mr. Syahrulnaim Bin Mohammad Nawi for guidance and motivation.
I would like to extend my thank to UMP associates that contribute in the project progress either directly or indirectly. Also, thank to Mr Salmizan because help me to obtain all components was needed for the project.
My great thanks to my family especially my beloved father and mother who give a very good support to me to complete the project. For all of that, I am very thankful to the cooperation and contributions from everyone that has driven me to accomplished of this project especially my friend. To wrap it, thank you for everything. May Allah bless you all.
v ABSTRACT
This paper presents the design and modeling for coupled tank Liquid level system using Integral Control State Feedback Controller (ICSF). The ICSF have found wide acceptance and applications in the industries for the past few decades. ICSF controllers are proven to be sufficient for many practical control problems. The modeling for couple tank system, CTS-001 will be done before the designing controller begins. These coupled tank liquid level systems are in second order system. The ICSF Controller will be designed to control the liquid level at tank 1 and design techniques of the ICSF Controller is derived by using pole placement method that are conducted based on developed model. SIMULINK/MATLAB has been used to simulate and verified the mathematical model of the controller. Visual Basic 6 has been used to implement the graphic user interface (GUI) and implementation issues for the controllers algorithms will also be discussed. The DAQ card has been used to interfacing between hardware and software. Finally, the simulated result will be compared with the implemented result.
vi ABSTRAK
Projek ini memaparkan cara-cara untuk mereka dan membina pengawal Integral Control State Feedback Controller (ICSF) untuk mengawal paras cecair di dalam sistem tangki berkembar pada amnya dan mengawal paras cecair pada tangki 1 secara khususnya. Sistem pengawal ICSF ini diguna pakai secara meluas dalam industri di masa kini, Sistem pengawal ini telah di buktikan kebolehannya secara praktikal untuk mengawal pelbagai masalah sistem pengawal. Sebelum sistem ini pengawal ICSF dibina, ciri-ciri dan diskripsi sistem tangki air berkembar CTS-001 haruslah dikenal pasti terlebih dahulu. Model matematik sistem pengawal ini didapati dengan menggunakan teknik Pole Placement berdasarkan model yang dikehendaki. Perisian SIMULINK/MATLAB digunakan untuk menjalankan simulasi dan mengesahkan model matematik pengawal ICSF ini. Perisian Visual Basic 6 digunakan untuk
mengaplikasikan sistem pengguna berkomunikasi dengan computer (GUI) dan melaksanakan isu model matematik sistem pengawal ICSF akan dibincangkan. Kad DAQ di gunakan sebagai penghubung antara perisian dengan perkakasan. Akhirnya, hasil keputusan antara simulasi dan eksperimen akan dibandingkan.
CHAPTER
CONTENTS TITLE DECLARATION DEDICATION ACKNOWLEDGEMENT ABSTRACT ABSTRAK TABLE OF CONTENTS LIST OF FIGURES LIST OF TABLES LIST OF ABBREVIATIONS LIST OF APPENDICES
viii
1 1 2 3 3 4
2 2.1 2.2 2.2 3 3.1 3.2 3.3 3.4 3.5 3.6 3.6 3.6
LITERATURE REVIEW Overview Article Summary METHODOLOGY Overview Project Flow Chart Modeling of Coupled Tank System Controller Design MATLAB Visual Basic 6 DAQ card Summary
5 5 5 7 8 8 10 12 16 20 22 26 27
28
28 28 30
ix
4.4
32
4.4
Summary
32
CONCLUSION AND FUTURE RECOMMENDATION 5.1 5.2 5.3 Conclusion Future Recommendation Costing and commercialization
33
33 34 35
REFERENCE
36
37 38 45
APPENDIX D APPENDIX E
55 56
xi
LIST OF FIGURE
TITLE Overall flow chart work of progress Flow chart for software and hardware development Block Diagram of integral control feedback controller combines with Plant
PAGE 7 10
20 20 23 24 24 26
Integral Control Feedback Controller The first GUI The second GUI The third GUI Advantech USB DAQ 4716 card Advantech USB DAQ 4716 card connection between computer and plant
26 28 30
4.1 4.2
xii
LIST OF TABLE
PAGE 14 15 36
xiii
LIST OF ABBREVIATIONS
Proportional-Integral-Derivative Data acquisition Graphic User Interface Coupled Tank Liquid Level System Voltage Universal Serial Bus Resistor-Capacitor Circuit Visual Basic Projek Sarjana Muda
xiv
LIST OF APPENDICES
APPENDIX A B C D E
TITLE M-file coding First GUI coding Second GUI coding Third GUI coding DAQ card Datasheet
PAGE 37 38 46 55 56
Chapter 1
Introduction
1.3 Objectives
There are several objectives that must be achieved in order to make this project successful: i. To control Coupled Tank liquid Level (Tank 1) Using Integral Control State Feedback Controller. ii. To compare result between experiment and simulation
1.5 Summary
This section provides insight of the overall project and explains the objectives and the scope of the project.
CHAPTER 2
LITERATURE REVIEW
2.1 Overview This chapter is about the explanation for some article that will refer to gets the information or some knowledge that will apply to make the project run successfully. 2.2 Articles
[1] Elke Laubwald., Coupled Tank System, Control System Principles.Co.uk This is one of series of papers on modeling, analysis and control to give insight into important principle and process [2] Seil Aydn1 Sezai Tokat1 Sliding Mode Control of a Coupled Tank Systemwith a State Varying Sliding Surface Parameter, 1Computer Engineering Department, Pamukkale University, 20017, Denizli, Turkey This paper presents a special purpose approach with a state dependent moving algorithm for the control of the coupled tank system where the state variables are defined as the liquid levels of the tanks.
[3] Hugues Bersini ADAPTIVE FUZZY CONTROLLER FOR STATE-FEEDBACK OPTIMAL CONTROL, ADAPTIVE FUZZY CONTROLLER FOR STATE-FEEDBACK OPTIMAL CONTROL This paper first discusses how to provide fuzzy models with the capacity to automatically self-tune their parameters by using wellknown gradientbased algorithms. Then the temporal extension of the gradient-based method which allows the automatic tuning of the fuzzy controller parameters over a temporal horizon will be presented and illustrated for an optimal control and a time-minimization simple problems.
2.3 Summary Literature reviews discuss about usage of this controller at different system or plant and also same system or plant with different controller. This chapter is also about the explanation for some article that will refer to gets the information or some knowledge that will apply to make the project run successfully.
CHAPTER 3: METODHOLOGY
3.1 OVERVIEW To help this project run smoothly, the draft of work has been organized so that this project will finish on time. There are several part work progress can be divided. The PSM flow chart showed the flows of this from the study case until it finish with demo and summit final report. The Project flow chart at sub-section 3.3 shown about how the progress works between software and hardware is done.
10
11
Figure 3.2 show about the overall progress for both software and hardware development that will be discuss later. For the software part, modeling for the controller must be obtain and verify it with MATLAB before it can be implemented in Visual Basic 6 as GUI. MATLAB also has been used to run this plant simulation. A simple communication must be done between plant and computer using DAQ card, the DAQ card itself must be analyzed to make the interfacing easier. Both operations at this point need to refer to their respective manual. After make sure that both part software and hardware do not have problem, both of them must be integrated in order to test the designed controller. At this point, the simulation result that has been tested using MATLAB must be compared with the real time result. If there are some errors or miscalculation, troubleshooting was performed to obtain better result.