UNIVERSITI TEKNIKAL MALAYSIA MELAKA FINAL YEAR PROJECT 2 BEKU 4894

Similar documents
PSO-TUNED PID CONTROLLER FOR COUPLED-TANK SYSTEM (CTS) VIA PRIORITY-BASED FITNESS SCHEME

FINAL YEAR PROJECT REPORT TITLE: MODELING AND PSO-BASED LQR CONTROLLER DESIGN FOR COUPLED TANK SYSTEM FIONA SERINA DAUD B

TRACKING PERFORMANCE OF A HOT AIR BLOWER SYSTEM USING PID CONTROLLER WITH PSO AND HARMONIC SEARCH ALGORITHM ANDY HENG POH SENG

HIRZI BIN MOHD ISHAK UNIVERSITI TEKNOLOGI MALAYSIA

SELF-TUNING PID CONTROLLER FOR ACTIVATED SLUDGE SYSTEM HUONG PEI CHOO

SYSTEM IDENTIFICATION AND POSITION CONTROL OF PNEUMATIC ACTUATOR USING EMBEDDED SYSTEM TAHA MOHAMMED AHMED SADEQ

PARTICLE SWARM OPTIMIZATION FOR MPPT : SIMULATION AND ANALYSIS NOOR DZULAIKHA BINTI DAUD UNIVERSITI TEKNOLOGI MALAYSIA

SYSTEM IDENTIFICATION AND INTELLIGENT CONTROL OF AUTOMOTIVE AIR CONDITIONING SYSTEM. MOHD FIRDAUS BIN MOHAMED

OPTIMAL PROPORTIONAL INTEGRAL DERIVATIVE CONTROLLER FOR AUTOMATIC VOLTAGE REGULATOR SYSTEM USING PARTICLE SWARM OPTIMIZATION ALGORITHM

RESONANT CONTROL OF A FLEXIBLE MANIPULATOR SYSTEM

OPTIMIZATION OF PID PARAMETERS FOR HYDRAULIC POSITIONING SYSTEM UTILIZING VARIABLE WEIGHT GREY-TAGUCHI AND PARTICLE SWARM OPTIMIZATION

PUMP SCHEDULING OPTIMIZATION FOR WATER SUPPLY SYSTEM USING ADAPTIVE WEIGHTED SUM GENETIC ALGORITHM FOLORUNSO TALIHA ABIODUN

STRUCTURE AND TUNING INTERNAL MODEL CONTROL FOR INTEGRATING PROCESS

PERFORMANCE OF INVERSE RESPONSE PROCESS WITH VARIATION OF PROCESS PARAMETERS AND TUNING METHODS LOW YEOK CHAN

HARMONIC MODELING IN POWER DISTRIBUTION SYSTEM USING TIME SERIES SIMULATION CHE KU FARHANA BINTI CHE KU AMRAN UNIVERSITI TEKNOLOGI MALAYSIA

SYSTEM IDENTIFICATION AND CONTROL OF THE HORIZONTAL MOTION OF A TWIN ROTOR MULTI-INPUT MULTI-OUTPUT SYSTEM (TRMS) NURUL HAZIRAH BINTI ABD AZIZ

ENHANCEMENT OF VOLTAGE STABILITY AND POWER LOSSES FOR DISTRIBUTION SYSTEM WITH DISTRIBUTED GENERATION USING GENETIC ALGORITHM OMAR TAHSEEN OMAR KHALAF

SOFTWARE PROCESS FOR INTEGRATED PATTERN ORIENTED ANALYSIS AND DESIGN (POAD) AND COMPONENT ORIENTED PROGRAMMING (COP) ON EMBEDDED REAL-TIME SYSTEMS

Signature. Supervisor :.. ~.~H-.~.~0~P..?.j.~H~~~.. ~.~.~ Date :...?./!!./~~ ~

SLIDING MODE CONTROL FOR DC-AC CONVERTER POUYA IZADIFAR

SPEED CONTROL OF DC MOTOR USING PID CONTROLLER IMPLEMENTATION WITH VISUAL BASIC NURUL IZZATI BINTI PANDAK JABO

PRODUCTIVITY IMPROVEMENTS USING LEAN PRACTICES AT JAPANESE ELECTRICAL AND ELECTRONICS MANUFACTURING AFIF AIMADUDDIN BIN PARNON

UNIVERSITI TEKNOLOGI MALAYSIA

AN IMPROVED ACCURACY OF WEB SERVICE SELECTION BASED ON MULTI-CRITERIA DECISION MAKING AND WEB SERVICE MODELING ONTOLOGY

MODELING, SIMULATION AND DESIGN OF AN IMPROVED HIGH POWER FACTOR BRIDGELESS SEPIC CONVERTER IZNI BINTI MUSTAFAR UNIVERSITI TEKNOLOGI MALAYSIA

UNIVERSITI TEKNIKAL MALAYSIA MELAKA FACULTY OF ELECTRICAL ENGINEERING FINAL YEAR PROJECT II (FYP II) BEKU 4973

FREQUENCY RECONFIGURABLE ARCHIMEDEAN SPIRAL ANTENNA MASMURNI BINTI ABDUL RAHMAN

OPTIMAL HEAT TRANSFER OF HEAT SINK DESIGN BASED ON ELECTRONIC PACKAGE THERMAL DISTRIBUTION USING COMSOL PACKAGE SOFTWARE

PID IMPLEMENTATION OF UMP MINI AUTOMATION PLANT PART 1 - HEATING TANK LEE MING JIE

FPGA IMPLEMENTATION OF A RECONFIGURABLE ADDRESS GENERATION UNIT FOR IMAGE PROCESSING APPLICATIONS KAM KOK HORNG UNIVERSITI TEKNOLOGI MALAYSIA

MODELING OF IMAGE PROCESSING ALGORITHMS FOR HARDWARE-SOFTWARE CO-SIMULATION IBRAHIM ISA UNIVERSITI TEKNOLOGI MALAYSIA

iii I hereby declare that this report is the result of my own work except for quotes as cited in the references

SIMULATION AND OPTIMIZATION OF ELECTRICAL DISCHARGE MACHINING PROCESS USING MATLAB ELNAZ KARIMPOUR UNIVERSITI TEKNOLOGI MALAYSIA

THE PRE-SIZING APPROACH OF DC-DC CONVERTER AS THE APPLICATION TO DESIGN A BUCK CONVERTER FOR THE AUTOMOTIVE DOMAIN NOOR SUHADA BINTI AB RAZAK

COMPUTER AIDED APPROACH FOR OCCUPATIONALLY HEALTHIER CHEMICAL PROCESSES ASSESSMENT AND SELECTION SANTHA PANDIAN UNIVERSITI TEKNOLOGI MALAYSIA

WIRELESS POWER TRANSFER MONITORING. Ahmad Faiz Bin Ahmad Azahar Bachelor of Electrical Engineering. (Control, Instrumentation & Automation)

HIRZI BIN MOHD ISHAK UNIVERSITI TEKNOLOGI MALAYSIA

DEVELOPMENT OF DYNAMIC EQUIVALENTS FOR INTERCONNECTED POWER SYSTEMS USING IDENTIFICATION APPROACHES KOK BOON CHING UNIVERSITI TEKNOLOGI MALAYSIA

EXPERIMENTAL ANALYSIS OF MACHINING PERFORMANCE BASED ON SELECTED CUTTING PARAMETERS FOR SMART CNC TURNING ENVIRONMENT

SPDT SWITCH DESIGN USING SWITCHABLE RESONATOR AT 5GHZ FOR WIRELESS COMMUNICATIONS MOHD HAIDIL BIN ZURAIMI UNIVERSITI TEKNIKAL MALAYSIA MELAKA

PRODUCT DESIGN EVALUATION OF LUCAS HULL DFMA METHOD MOHD NAFIS BIN MOHAIZI

FREQUENCY ESTIMATOR USING ARTIFICIAL NEURAL NETWORK FOR ELECTRICAL POWER SYSTEM DYNAMICS AZLIZA BINTI MOHD JELANI UNIVERSITI TEKNOLOGI MALAYSIA

A GRAY-SCALE IMAGE STEGANOGRAPHY TECHNIQUE USING FIBONACCI 12-BITPLANE DECOMPOSITION AND LSB APPROACH SABAH FADHEL HAMOOD

DETERMINATION OF LEAKAGE IN AN OIL AND GAS PIPELINE NOR AZIAN BINTI MOHIDEEN ABDUL KADIR

SPEED CONTROL OF BUCK-CONVERTER DRIVEN DC MOTOR USING PD-TYPE FUZZY LOGIC CONTROLLER ZAKARIA BIN ABDUL RAHMAN

PID CONTROL SYSTEM IMPLEMENTATION IN EMBEDDED SYSTEM FOR DC MOTOR SPEED CONTROL ARIFF BIN CHE MOHD NOOR

COMPARISON BETWEEN PIEZOELECTRIC AND CAPACITIVE SENSORS FOR PD DETECTION AND SIGNAL MONITORING IN PALM OIL

IMAGE IMPROVEMENT TECHNIQUE USING FEED FORWARD NEURAL NETWORK

EFFECTIVENESS OF SAFETY PROGRAMS IN MALAYSIAN CONSTRUCTION INDUSTRY JAIMEY ATTAU

SPACE VECTOR MODULATION FOR FIVE-PHASE INDUCTION SPEED DRIVE CONTROL NORAZELINA BINTI KAMISMAN. of Bachelor in Electrical Engineering

AN IMPROVED METHOD FOR UNIVERSITY BUILDING S ENERGY EFFICIENCY INDEX USING CLUSTER APPROACH NUR NAJIHAH BINTI ABU BAKAR UNIVERSITI TEKNOLOGI MALAYSIA

NON-LINEAR WATER LEVEL FORECASTING OF DUNGUN RIVER USING HYBRIDIZATION OF BACKPROPAGATION NEURAL NETWORK AND GENETIC ALGORITHM SITI HAJAR BINTI ARBAIN

WATER LEVEL TANK USING FUZZY LOGIC CONTROLLER MUNIRAB BINTI MOHD SALMI

AN ADAPTIVE ALGORITHM FOR THE TUNING OF TWO INPUT SHAPING METHODS NUR HAFIZAH BINTI HASSAN

Eliakim Bin Che Yaacob

Nur Athykah binti Basiran

SYSTEM IDENTIFICATION AND INTELLIGENT CONTROL OF AUTOMOTIVE AIR CONDITIONING SYSTEM. MOHD FIRDAUS BIN MOHAMED

POWER OPTIMIZATION CONTROL OF SMALL-SIZED WIND TURBINE FOR MALAYSIA WIND CONDITION SUHAILA BINTI SAMSURI UNIVERSITI TEKNOLOGI MALAYSIA

BORANG PENGESAHAN STATUS TESIS

STRESS DETECTION USING GALVANIC SKIN RESPONSE SHAHNAZ SAKINAH BINTI SHAIFUL BAHRI UNIVERSITI MALAYSIA PAHANG

CORRELATIVE INTERFEROMETRY FOR ANGLE OF ARRIVAL ESTIMATION AND SIGNAL SOURCE LOCATING USMAN BATURE ISYAKU

ARDUINO BASED WATER LEVEL MONITOR- ING AND CONTROL VIA CAN BUS TUAN ABU BAKAR BIN TUAN ISMAIL UNIVERSITI MALAYSIA PAHANG

PRODUCT DESIGN IMPROVEMENT USING DESIGN FOR MANUFACTURE AND ASSEMBLY (DFMA) METHODOLOGY

CONTINUOUS INDIVIDUAL PLOT CURVES TECHNIQUE FOR SIMULTANEOUS TARGETING AND DESIGN OF A MASS EXCHANGE NETWORK YANWARIZAL UNIVERSITI TEKNOLOGI MALAYSIA

Mohd Hafizi Bin Ab Rahim

NURSYAHIDA ASHIKIN BINTI NOR IZLANIN

JPEG IMAGE TAMPERING DETECTION BASED ON BLOCKING ARTIFACTS ALI EBRAHIMI

Analysis of Transient Response for Coupled Tank System via Conventional and Particle Swarm Optimization (PSO) Techniques

PWM PIC16F877A DIMMING ELECTRONIC BALLAST FOR HPS LAMP NATRA BINTI ISMAIL

HOUMAN OMIDI. A project report submitted in partial fulfilment of the. Master of Engineering (Electrical-Power) Faculty of Electrical Engineering

EXPECTED LIFE CYCLE COST FOR SYSTEMS WITH REPAIRABLE COMPONENTS AMIRHOSSEIN EBRAHIMI

THE ESTIMATION OF EVAPOTRANSPIRATION IN KUANTAN USING DIFFERENT METHODS NUR AIN BINTI MOHAMMAH FUZIA B. ENG (HONS.) CIVIL ENGINEERING

DESIGN A WIDEBAND LOW-NOISE AMPLIFIER FOR WIRELESS COMMUNICATION USING 0.35-µm CMOS TECHNOLOGY MOHD HAFIZ BIN ABU

MITIGATING INTER-CARRIER INTERFERENCE IN ORTHOGONAL FREQUENCY DIVSION MULTIPLEXING SYSTEM USING SCALED ALPHA PULSE SHAPING TECHNIQUE

INTEGRATED SYSTEM OF AUTOMATIC IDENTIFICATION SYSTEM (AIS) AND RADAR FOR PORT TRAFFIC MANAGEMENT NUR AIREEN BT. AMRAN UNIVERSITI TEKNOLOGI MALAYSIA

MICROCONTROLLER BASED RATIO CONTROL FOR ELECTROMECHANICAL DUAL ACTING PULLEY CONTINUOUSLY VARIABLE TRANSMISSIONS ARIES BUDIANTO

DEVELOPMENT OF THREE PHASE INDUCTION MOTOR CONTROLLER AHMAD FAKHRUZZAMAN B M ZAWAWI. This report is submitted as partial fulfillment of the

THERMAL ANALYSIS OF H.V INSULATION OIL DURING PARTIAL DISCHARGE DETECTION RASOOL ABDELFADIL GATEA UNIVERSITI TEKNOLOGI MALAYSIA

WIRELEES VIBRATION MONITORING SYSTEM (WVMS) WONG YOON KHANG APRIL 2007

ADAPTIVE CROSS WIGNER-VILLE DISTRIBUTION FOR PARAMETER ESTIMATION OF DIGITALLY MODULATED SIGNALS CHEE YEN MEI

DESIGN OF A MIMO RECTANGULAR DIELECTRIC RESONATOR ANTENNA FOR LTE APPLICATION

DESIGN AND IMPLEMENTATION OF AN AUTONOMOUS SUMO ROBOT

STATIC AND DYNAMIC CONTROL OF NETWORK BASED ROTARY INVERTED PENDULUM SYSTEM ZAID BIN YAAKOB

NURUL AFIQAH BINTI AZIZ

EVALUATION ALGORITHM- BASED ON PID CONTROLLER DESIGN FOR THE UNSTABLE SYSTEMS

MESOPYME-IEMA SOFTWARE PROCESS EVALUATION MODEL FOR SMALL AND MEDIUM SOFTWARE INDUSTRIES IMRAN BASHA

COMPARATIVE STUDY OF REGTANGULAR MICROSTRIP PATCH ANTENNA ARRAY DESIGN ABDULLAHI MOALLIM YUSUF

Signature : NOR MANIHA BINTI ABDUL GHANI

BTST THIN FILM SENSOR APPLICATION: HEAT INDICATOR NUR FAIZAH BINTI JAAFAR

PID Control Tuning VIA Particle Swarm Optimization for Coupled Tank System

TWO DIMENSIONAL DIRECT CURRENT RESISTIVITY MAPPING FOR SUBSURFACE INVESTIGATION USING COMPUTATIONAL INTELLIGENCE TECHNIQUES

MOHD IZZAT BIN DZOLKAFLE

GRAPHICS PROCESSING UNIT BASED PARALLEL COPY MOVE IMAGE FORGERY DETECTION SCHEME AHMAD UWAYS BIN ZULKURNAIN

CONSTRUCTABILITY COMPARISON BETWEEN IBS AND CONVENTIONAL CONSTRUCTION EHSAN HARIRCHIAN UNIVERSITI TEKNOLOGI MALAYSIA

: Datuk Prof. Dr. Mohd Ruddin bin Ab Ghani

A DESIGN METHODOLOGY FOR A SELF-OSCILLATING ELECTRONIC BALLAST AMIRA BINTI MUSTAPA

ARDUINO-BASED TEMPERATURE MONITOR- ING AND CONTROL VIA CAN BUS MOHAMMAD HUZAIFAH BIN CHE MANAF UNIVERSITI MALAYSIA PAHANG

UNIVERSITI PUTRA MALAYSIA SIMULATED REAL TIME CONTROLLER FOR TUNING ALGORITHM USING MODIFIED HILL CLIMBING APPROACH AHMED ABDULELAH AHMED

DEVELOPMENT OF COOPERATIVE RELAY USING UNIVERSAL SOFTWARE RADIO PERIPHERAL MUHAMMAD RUSHIDI SABIRIN

PATTERN AND FREQUENCY RECONFIGURABLE ANTENNA FOR WIRELESS APPLICATIONS DELPHINE ABIJURU. requirements for the award of the degree of

Transcription:

UNIVERSITI TEKNIKAL MALAYSIA MELAKA FINAL YEAR PROJECT 2 BEKU 4894 TITLE: PID CONTROL TUNING USING CUCKOO SEARCH ALGORITHM FOR COUPLED TANK LIQUID LEVEL SYSTEM NAME AIN NADZIRAH BINTI AZMAN IC NO. 900918-10-5898 MATRIX NO. COURSE SUPERVISOR NAME B011110075 BACHELOR OF ELECTRICAL ENGINEERING (CONTROL, INSTRUMENTATION & AUTOMATION) NUR ASMIZA BINTI SELAMAT

"I hereby declare that I have read through this report entitle "PID 'ontrol1uning using Cuckoo Search Algorithm for Coupled Tank Liquid Level System" and found that it has comply the partial :fulfillment for awarding the degree of Bachelor of Electrical Engineering (Control, Instrumentation and Automation)" Signature Supervisor's name ~<?JfJ..... ~~ J-..JUf2. #1Sl'012PI Q>t NII Sf..LArnA-1 Date....?. ~ /.~!.JI?~-~......... Universiti Teknikal Malaysia Melaka

11 I declare that this report "P ID( ontroftllning using Cuckoo Search Algorithm for -coupled Tank Liquid Level System" is the result of my own research except as cited in references. The report has not been accepted for any degree and is not concurrently submitted in candidature of any other degree. Signature ~... Supervisor's name Date Universiti Tekmkal Malaysia Me aka

i I hereby declare that I have read through this report entitle PID control tuning using Cuckoo Search Algorithm for Coupled Tank Liquid Level System and found that it has comply the partial fulfillment for awarding the degree of Bachelor of Electrical Engineering (Control, Instrumentation and Automation) Signature :. Supervisor s name : NUR ASMIZA BINTI SELAMAT Date :.

ii PID CONTROL TUNING USING CUCKOO SEARCH ALGORITHM FOR COUPLED TANK LIQUID LEVEL SYSTEM AIN NADZIRAH BINTI AZMAN A report submitted in partial fulfillment of the requirements for the degree of Bachelor in Electrical Engineering (Control, Instrumentations and Instrumentations) Faculty of Electrical Engineering UNIVERSITI TEKNIKAL MALAYSIA MELAKA 2014

iii I declare that this report PID control tuning using Cuckoo Search Algorithm for Coupled Tank Liquid Level System is the result of my own research except as cited in references. The report has not been accepted for any degree and is not concurrently submitted in candidature of any other degree. Signature :. Name : AIN NADZIRAH BINTI AZMAN Date :.

iv ACKNOWLEDGEMENT In the name of Allah the Most Gracious, the Compassionate Merciful Thank God, I express my gratitude to Allah s.w.t because with His permission, blessing and will allowed me to complete this report. A major research project like this is never the work of anyone alone. The contributions of many different people, in their different ways, have made this possible. Appreciation and thanks to my supervisor Miss Nur Asmiza Binti Selamat for the continuous support on my final year project research, for her patience, motivation, enthusiasm, and immense knowledge. Her guidance helped me in all the time of research and completing this project. I could not have imagined having a better supervisor, mentor and guidance in completion of my final year project in Universiti Teknikal Malaysia Melaka. Besides my supervisor, I would like to express my sincere gratitude to all the lecturers that helped me throughout the completion of the project and always willing to help and gives their best suggestions. Without their support and guidance, this project will not complete as what I wanted. Moreover, I would like to express my gratitude to all my fellow friends who always there cheering me up and stood by me through the good and bad times. Completing this project would not have been possible without their helps and support. Finally, I would like to thank my dearest parents and my family that always give me full support and encouraging me with their best wishes. My research would not have been possible without their helps.

v ABSTRACT This project describes a liquid level control for a Coupled Tank System (CTS). Coupled tank is common equipment that is used in the industry. In this particular system, the liquid will be pumped into the tank, stored and having a process for example a chemical process. The liquid will be then transferred to another tank depending on the requirement of the system. A controller need to be added in the liquid level system in order to maintain the level of the liquid as desired. As the time pass by, the parameter of the system will slightly change due to the condition of the system for example disturbance. Thus, the existing controller parameter will no longer valid. Therefore, optimization technique will be used as the tuning to find the controller parameter, which will lead the system to give optimal performance. In this study, the Proportional-Iintegral- Derivative (PID) control tuning using Cuckoo Search (CS) is designed by using MATLAB and Simulink. The transient system performance (overshoot, settling time, rise time and steady state error) will be evaluated and compared with Particle Swarm Optimization (PSO). Performance index, Integral of Time Square Error (ITSE) will be used in this study as the comparator for both PSO and CS. The performance index also will be as reference that indicates the performance of the CTS. Based on this study, the result shows that tuning with CS algorithm outperforms the tuning using PSO algorithm in term of both fitness and transient response.

vi ABSTRAK Projek ini menerangkan kawalan tahap cecair untuk sistem tangki ditambah, Coupled Tank System (CTS). Tangki ditambah adalah peralatan biasa yang digunakan dalam industri. Dalam sistem tertentu, cecair akan dipam ke dalam tangki, disimpan dan mempunyai proses sebagai contoh proses kimia. Cecair tersebut akan kemudian dipindahkan ke tangki lain bergantung kepada keperluan sistem. Pengawal perlu ditambah dalam sistem tahap cecair untuk mengekalkan tahap cecair seperti yang dikehendaki. Sebagai masa berlalu, parameter sistem sedikit akan berubah disebabkan oleh keadaan sistem contohnya gangguan. Oleh itu, parameter pengawal yang sedia ada tidak lagi sah. Oleh itu, teknik pengoptimuman akan digunakan sebagai penalaan untuk mencari parameter pengawal, yang akan membawa sistem untuk memberikan prestasi optimum. Dalam kajian ini, yang Proportional-Integral-Derivatif (PID) penalaan kawalan menggunakan algoritma Cuckoo Search (CS) direka dengan menggunakan MATLAB dan Simulink. Prestasi sementara sistem (lanjakan, masa penetapan, masa naik dan ralat keadaan mantap) akan dinilai dan dibandingkan dengan Particle Swarm Optimization (PSO). Indeks prestasi, Integral Time Square Error (ITSE) akan digunakan dalam kajian ini sebagai pembanding untuk kedua-dua PSO dan CS. Indeks prestasi juga akan menjadi rujukan yang menunjukkan prestasi CTS. Berdasarkan kajian ini, keputusan menunjukkan bahawa penalaan dengan algoritma CS melebihi pertasi penalaan menggunakan algoritma PSO dari segi keduadua kecergasan dan prestasi keluaran sistem.

vii TABLE OF CONTENT CHAPTER TITLE PAGE ABSTRACT ABSTRAK TABLE OF CONTENTS LIST OF TABLES LIST OF FIGURES v vi vii x xi 1 INTRODUCTION 1 1.1 Background of study 1 1.2 Problem statement 2 1.3 Objectives 2 1.4 Project scopes 3 1.5 Project outline 4 2 LITERATURE REVIEW 6 2.1 Basic Principle 6 2.1.1 Coupled tank liquid level system 6

viii CHAPTER TITLE PAGE 2.1.2 PID controller 7 2.1.3 PID tuning 9 2.1.4 Swarm intelligence 10 2.1.5 Particle swarm optimization 11 2.1.6 Cuckoo search 11 2.1.7 Performance index 13 2.2 Related previous work 15 2.3 Summary of review 15 3 METHODOLOGY 17 3.1 Introduction 17 3.2 Flow of the study 17 3.3 Coupled tank system 19 3.4 Optimization technique 25 3.4.1 Particle swarm optimization 25 3.4.2 Cuckoo search 29 3.5 Objective function 35 3.6 Simulations 36 3.7 System with disturbance 37 4 RESULTS AND DISCUSSION 38 4.1 Introduction 38 4.2 Closed loop system 38 4.3 PID tuning using optimization technique 39 4.3.1 PID with cuckoo search (PIDCS) 40 4.3.2 PID with particle swarm optimization (PIDPSO) 42

ix CHAPTER TITLE PAGE 4.3.3 Comparison between PIDCS and PIDPSO 43 4.4 Robustness of PID controller using optimization tecnique 45 4.4.1 PIDCS 45 4.4.2 PIDPSO 46 4.4.3 Comparison of robust controller 48 4.5 Performance of PIDCS in Coupled Tank System 50 5 CONCLUSION 51 5.1 Conclusion 51 5.2 Recommendation 52 REFERENCES 53 APPENDIX A 55 APPENDIX B 59

x LIST OF TABLES TABLE NO TITLE PAGE 2.1 The effect of performance based on PID controller properties 8 2.2 The criteria of each performance index 14 3.1 Parameters value of Coupled Tank System 24 3.2 Parameter initialization in PSO algorithm 28 3.3 Parameter initialization in CS algorithm 34 4.1 PID parameters value for CTS system 44 4.2 Comparison of Transient Response Analysis 45 4.3 PID parameters value for CTS with disturbance 48 4.4 Comparison of Transient Response Analysis (with disturbance) 49 4.5 Transient Response Analysis of PIDCS in CTS 50

xi LIST OF FIGURES FIGURE NO TITLE PAGE 2.1 PID controller block diagram 7 2.2 Swarm intelligence based 10 3.1 Methodology flowchart 18 3.2 Diagram of PID controller with optimization technique 18 3.3 Diagram of coupled tank liquid level system 19 3.4 Block diagram of second order process 24 3.5 PSO flow chart in CTS 26 3.6 CS flow chart in CTS 30 3.7 Block diagram of CTS for online simulation 36 3.8 Block diagram of CTS for online simulation with disturbance 37 4.1 Block diagram of closed loop system 39 4.2 Step response of closed loop coupled tank liquid level system 39 4.3 Graph fitness function versus iteration (CS) 40 4.4 Step Response of Close Loop System using CS 41 4.5 Graph fitness function versus iteration (PSO) 42 4.6 Step Response of Close Loop System using PSO 43 4.7 Step Response of Close Loop System using PID optimization (PIDCS and PIDPSO) 44 4.8 Graph fitness function versus iteration (CS) for disturbance system 46 4.9 Step Response of Close Loop System with disturbance using CS 46

xii FIGURE NO TITLE PAGE 4.10 Graph fitness function versus iteration (PSO) for disturbance system 47 4.11 Step Response of Close Loop System with disturbance using PSO 47 4.12 Step Response of Close Loop System with disturbance using PID optimization (PIDCS and PIDPSO) 49 4.13 Step Response of Closed Loop System with and without disturbance (PIDCS) 50

1 CHAPTER 1 INTRODUCTION 1.1 Background of study Liquid level control system is commonly used in many process control applications, for example the level of liquid in a tank. Liquid tank system plays an important role in industrial application, such as in food processing, filtration and water purification system. In process industries, the water will be pumped into the tank and having a liquid process for example chemicals and mixing treatments. Afterwards, the liquid is transfered to other tanks as per requirement. The requirement in this system is to control the flow rate of the liquid delivered by the pump so that the liquid within the tank is as per desired. Vital industries where liquid level flow control is essential include petrochemical industries, papermaking industries and water treatment industries. In order to achieve this requirement of the process, the fluid supplied to the tanks must be controlled. An effective and proper tuning of PID tuning will be improved the performance of coupled tank liquid level system. Optimization technique will be used to obtain the tuning parameter of the controller. The liquid level control is widely used in industrial application especially in chemical process industries. In mixing the reactant process, level control is important. The accuracy of the

2 level according to the desired determines the quality of the overall product. Food process industries commonly used mixing reactants process such as sugar refining industries. The level of the tank preparing sugar syrup and the acid have to be mixed together in order to coagulate the syrup. This is to control the quality of the sugar is reserved. Evaporation is one of the applications that is applied in liquid level control. Evaporators are used in many chemical process for the purpose of separating chemicals products. Fertilizer process plant is one of the examples that used evaporator to transform a weak solution of chemicals to more concentrated solution. 1.2 Problem statement Many controllers have been designed by other researchers in order to find the preferred performance of coupled tank liquid level system for example Fuzzy Logic Controller (FLC), Sliding Mode Controller (SMC) and Proportional Integral Derivative (PID) controller. PID controller is the most commonly used control algorithm in the system. PID controller popularity can be attributed due to its effectiveness in a wide range of operation conditions, its functional simplicity and the ease with which engineers can implement it using current computer technology. The designed controller will be no longer suitable to the couple tank liquid level system as the parameter of the system is changed. Due to the durability of the system is getting weakear, value of the parameter will be changed and the controller is no longer suitable to be implemented. Thus, optimization technique will be used as the tuning to obtain the optimal PID parameter. By using this method, it gives easiness in tuning regardless the change in system condition. Optimization technique has been applied to the in this system with different controller for example PID tuning using Genetic Algorithm (GA) and Fuzzy Logic with Particle Swarm Optimization (PSO). The controller with optimization technique gives better performance in overshoot percentage, settling time, rise time and steady state error. The new algorithm that was introduced by Xin-She Yang [5], Cuckoo Search (CS) algorithm has not been applied yet as a PID tuning method in coupled tank liquid level system. CS algorithm is one of the swarm

3 intelligence based of the optimization tuning method. The algorithm will be used to find an optimal value PID parameter of coupled tank liquid level system. 1.3 Objectives In order to obtain the parameter tuning based in optimization technique, hence objectives of this study are: i. To obtain PID control tuning using swarm intelligence, Cuckoo Search for coupled tank liquid level system ii. To evaluate the transient system performance using Cuckoo Search and compare with Particle Swarm Optimization 1.4 Project scope Four scopes are listed in order the project is conducted within the boundary. i. Apply performance index, Integral of Time Square Error (ITSE) to obtain the error of the system and as the indicator of system performance. ii. Apply the optimization technique, Particle Swarm Optimization and Cuckoo Search algorithm in finding PID parameter with optimal system performances (overshoot, settling time, rise time and steady state error)

4 iii. Use MATLAB and Simulink for simulation and develop Particle Swarm Optimization and cuckoo search algorithm. iv. Apply disturbance to the coupled tank liquid level system to test the robustness of the optimization controller. 1.5 Report Outline The report is divided into five chapters; Chapter 1 Introduction This chapter provides readers a first glimpse at the basic aspects of the research undertaken, which are overview coupled tank liquid level system, problem statement, objectives and scopes of this report. Chapter 2 Literature Review This chapter reviews the basic principle of the system, related previous work and other reviews related to this project. Chapter 3 Methodology

5 This chapter will show the flow of the study and methodology being used in this study. The concept and characteristics of both algorithms will be shown in this section. Chapter 4 Results and Discussions This chapter will present the results of the system performance by using PID control tuning using Particle Swarm Optimization (PSO) and Cuckoo Search (CS). Both of the optimization controllers will be tested with disturbance. Chapter 5 Conclusion and Future Works This chapter consists of conclusion based on the result of the algorithm. It includes some of the advantages of using optimization of controller (PIDCS and PIDPSO) in the Coupled Tank System (CTS).

6 CHAPTER 2 LITERATURE REVIEW 2.1 Basic Principles 2.1.1 Coupled tank liquid level system In this system, the liquid level in the coupled tank system is the controlled variable or process variable. It needs to be controlled or maintained at some desired liquid level. The input flow rate needs to be adjusted using pump voltage in order to control or maintain the liquid level. In the process control, the input flow rate is known as the manipulated variable in order to maintain the height of second tank at its set point. The basic principle of this system is to maintain the liquid level in the tank when there is an inflow of liquid into the tank and outflow of liquid out of the tank. The system is in a steady state condition when the liquid level is at a constant level. The water flow into the tank must be equal to the water flow out of the tank. This condition is same with the flow rate of inflow and outflow of liquid in the tank. If the rates remain unchanged, the liquid level of the coupled tank system will be maintained.

7 Despite that, the liquid level in the coupled tank system will change and settle at a different steady-state level when there is disturbance occurs in the system. The disturbance will change either the inflow or the outflow rate of the system. In order to maintain the liquid level at the previous condition, the input flow rate needs to be adjusted. The inflow rate needs to be increased when the outflow rate is greater than the inflow rate. Hence, the liquid level in the tank is increased. When the outflow rate is lower than the inflow rate, the liquid level will be settled at a higher level than before, assuming that a steady state is achieved before the tank overflows. 2.1.2 PID Controller The Proportional-Integral-Derivatives, PID controller is a control feedback mechanism, which it is a well-known controller for many decades and almost most of the industries still use it. This controller will minimize the error by adjusting the process control inputs. It will calculate the error value as the difference between a measured process variable and desired set point. 1 d u( t) K p e( t) e( t) dt Td e( t) (2.1) Ti dt Where is equal to the ratio of and and is equal to the product of and. Figure 2.1: PID controller block diagram

8 Figure 2.1 shows a basic PID controller in the block diagram form. The PID controller consists of three term control which are Proportional (P), Integral (I) and Derivative (D). Each of the term control gives the different performance of the system (overshoot, settling time, rise time and steady state error). Proportional controller, Kp is an adjustable amplifier to be responsible for process stability. It will give an effect of reducing the rise time and steady state error will decrease. The steady state error needs to be eliminated. Thus, by using an integral controller, Ki will reduce the error and lastly eliminate the steady state error. However, it will give a high oscillation and overshoot percentage, as well the effect of the settling time of the performance will increase. In order to improve the whole performance of the system, derivative controller, Kd will be added to the system. It will give an effect of reducing overshoot percentage, increasing the stability of the system as well as improving transient response. Table 2.1 is the comparison of the effect controller, Kp, Kd and Ki applied on a closed loop response. The table is used as a reference in trial and error method or traditional tuning. By varying of these variables, it may change the effect of the other two. It is because Kp, Kd and Ki are depending on each other. Table 2.1: The effect of performance based on PID controller properties Settling Time, Rise Time, Tr Steady State Overshoot, OS Ts Error, SSE Proportional, P Small Change Decrease Decrease Increase Integral, I Increase Decrease Eliminate Increase Derivative, D Decrease Small Change Small Change Decrease

9 2.1.3 PID tuning The process of obtaining the parameter of proportional gain, Kp, integral gain, Ki and derivative gain, Kd are called PID tuning. Difference control process may have different performance criteria. Therefore, different tuning parameters would be required. There are several techniques available for PID tuning, for example self-tuning PID, auto-tuning PID and optimization technique can be applied to the coupled tank system. In this study, PID tuning that will be used is optimization technique. Optimization is a process that finds a best or optimal, solution for a problem. The optimization problem can be defined as finding the values of the variables that minimize or maximize the objective function while satisfying the constraints. The optimization problems are centered on three factors, which are; i. Objective function, which is to be minimized or maximized ii. A set of unknown or variables that affect the objective function iii. A set of constraints that allow the unknown to take on certain values but exclude others Optimization is one of the simplest ways to give a better value of the parameters of a system under specified conditions. The function of the optimization in a system is to obtain the relevant parameter values, which enable performance index (also known as objective function) to produce minimum and maximum value. Optimization methods classified into five classes, which are Linear Programming, Integer Programming, Quadratic Programming, Combination Optimization and Metaheuristic. As the Metaheuristic algorithm recursively develops the pattern matrix at every iteration, the attribute variables of the pattern matrix decrease with the progressing iteration steps [1]. Two