TUNING OF PID CONTROLLERS USING PARTICLE SWARM OPTIMIZATION

Similar documents
PID Controller Tuning using Soft Computing Methodologies for Industrial Process- A Comparative Approach

TUNING OF PID CONTROLLER USING PSO AND ITS PERFORMANCES ON ELECTRO-HYDRAULIC SERVO SYSTEM

Position Control of Servo Systems using PID Controller Tuning with Soft Computing Optimization Techniques

International Journal of Innovations in Engineering and Science

Determination of the PID Controller Parameters by Modified Genetic Algorithm for Improved Performance

Design Of PID Controller In Automatic Voltage Regulator (AVR) System Using PSO Technique

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

PID Tuning Using Genetic Algorithm For DC Motor Positional Control System

PID Controller Tuning Optimization with BFO Algorithm in AVR System

A COMPARATIVE APPROACH ON PID CONTROLLER TUNING USING SOFT COMPUTING TECHNIQUES

Compare the results of Tuning of PID controller by using PSO and GA Technique for AVR system Anil Kumar 1,Dr. Rajeev Gupta 2

Evolutionary Computation Techniques Based Optimal PID Controller Tuning

PID Controller Optimization By Soft Computing Techniques-A Review

6545(Print), ISSN (Online) Volume 4, Issue 1, January- February (2013), IAEME & TECHNOLOGY (IJEET)

Non Linear Tank Level Control using LabVIEW Jagatis Kumaar B 1 Vinoth K 2 Vivek Vijayan C 3 P Aravind 4

BFO-PSO optimized PID Controller design using Performance index parameter

INTEGRATED PID BASED INTELLIGENT CONTROL FOR THREE TANK SYSTEM

Position Control of DC Motor by Compensating Strategies

Cohen-coon PID Tuning Method; A Better Option to Ziegler Nichols-PID Tuning Method

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 03, 2016 ISSN (online):

Pareto Optimal Solution for PID Controller by Multi-Objective GA

Research Article Multi-objective PID Optimization for Speed Control of an Isolated Steam Turbine using Gentic Algorithm

Comparison of Different Performance Index Factor for ABC-PID Controller

Design of PID Controller for Higher Order Discrete Systems Based on Order Reduction Employing ABC Algorithm

Design of Model Based PID Controller Tuning for Pressure Process

DC Motor Speed Control for a Plant Based On PID Controller

Design of an Intelligent Pressure Control System Based on the Fuzzy Self-tuning PID Controller

CONTROLLER TUNING FOR NONLINEAR HOPPER PROCESS TANK A REAL TIME ANALYSIS

International Journal of Research in Advent Technology Available Online at:

PID Controller Based Nelder Mead Algorithm for Electric Furnace System with Disturbance

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

PID TUNING WITH INPUT CONSTRAINT: APPLICATION ON FOOD PROCESSING

CHBE320 LECTURE XI CONTROLLER DESIGN AND PID CONTOLLER TUNING. Professor Dae Ryook Yang

MALAYSIA. Hang Tuah Jaya, Melaka, MALAYSIA. Hang Tuah Jaya, Melaka, MALAYSIA. Tunggal, Hang Tuah Jaya, Melaka, MALAYSIA

Design of Fractional Order Proportionalintegrator-derivative. Loop of Permanent Magnet Synchronous Motor

PID Control Tuning VIA Particle Swarm Optimization for Coupled Tank System

INTELLIGENT PID POWER SYSTEM STABILIZER FOR A SYNCHRONOUS MACHINE IN SIMULINK ENVIRONMENT

NAVIGATION OF MOBILE ROBOT USING THE PSO PARTICLE SWARM OPTIMIZATION

IJESRT. Scientific Journal Impact Factor: (ISRA), Impact Factor: 1.852

Modeling and Analysis of a Real Time Spherical Tank Process for Sewage Treatment Plant

EVOLUTIONARY ALGORITHM BASED CONTROLLER FOR HEAT EXCHANGER

MM7 Practical Issues Using PID Controllers

CHAPTER 4 PID CONTROLLER BASED SPEED CONTROL OF THREE PHASE INDUCTION MOTOR

Optimized Tuning of PI Controller for a Spherical Tank Level System Using New Modified Repetitive Control Strategy

EMPIRICAL MODEL IDENTIFICATION AND PID CONTROLLER TUNING FOR A FLOW PROCESS

Optimal Tuning of PI Controller Parameters for Three- Phase AC-DC-AC Converter Based on Particle Swarm Algorithm

ABC Algorithm Based PID Controller Design for Higher Order Oscillatory Systems

Control of Load Frequency of Power System by PID Controller using PSO

International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN Volume 3, Issue 7, October 2014

Hacettepe University, Ankara, Turkey. 2 Chemical Engineering Department,

1 Faculty of Electrical Engineering, UTM, Skudai 81310, Johor, Malaysia

Cantonment, Dhaka-1216, BANGLADESH

Differential Evolution and Genetic Algorithm Based MPPT Controller for Photovoltaic System

CHAPTER 5 PSO AND ACO BASED PID CONTROLLER

Performance Analysis of Conventional Controllers for Automatic Voltage Regulator (AVR)

Experiment 9. PID Controller

An Expert System Based PID Controller for Higher Order Process

Comparative Study of PID and FOPID Controller Response for Automatic Voltage Regulation

Different Controller Terms

Load Frequency Controller Design for Interconnected Electric Power System

VECTOR CONTROL SCHEME FOR INDUCTION MOTOR WITH DIFFERENT CONTROLLERS FOR NEGLECTING THE END EFFECTS IN HEV APPLICATIONS

MATLAB Simulink Based Load Frequency Control Using Conventional Techniques

A Comparative Novel Method of Tuning of Controller for Temperature Process

Decentralized PID Controller Design for a MIMO Evaporator Based on Colonial Competitive Algorithm

Auto-tuning of PID Controller for the Cases Given by Forbes Marshall

Load Frequency and Voltage Control of Two Area Interconnected Power System using PID Controller. Kavita Goswami 1 and Lata Mishra 2

Genetic Algorithm Optimisation of PID Controllers for a Multivariable Process

Design and Implementation of Intelligent Controller for a Continuous Stirred Tank Reactor System

New PID Tuning Rule Using ITAE Criteria

Assessment Of Diverse Controllers For A Cylindrical Tank Level Process

OPTIMAL LOAD FREQUENCY CONTROL IN SINGLE AREA POWER SYSTEM USING PID CONTROLLER BASED ON BACTERIAL FORAGING & PARTICLE SWARM OPTIMIZATION

Adaptive PID Dc Motor Speed Controller With Parameters Optimized with Hybrid Optimization Strategy

Non-Integer Order Controller Based Robust Performance Analysis of a Conical Tank System

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

Tuning of Controller for Electro-Hydraulic System Using Particle Swarm Optimization (PSO)

Design and Development of an Optimized Fuzzy Proportional-Integral-Derivative Controller using Genetic Algorithm

Review of PI and PID Controllers

Optimum Design of PSO based tuning using PID controller for an Automatic Voltage Regulator system

Simulation of Optimal Speed Control for a DC Motor Using Conventional PID Controller and Fuzzy Logic Controller

DC Motor Speed Control: A Case between PID Controller and Fuzzy Logic Controller

Fuzzy Gain Scheduled PI Controller for a Two Tank Conical Interacting Level System

Optimal design of a linear antenna array using particle swarm optimization

Controller Tuning for Disturbance Rejection Associated with Delayed Double Integrating Process, Part III: PI-PD Controller

Comparative Analysis of Controller Tuning Techniques for Dead Time Processes

Online Tuning of Two Conical Tank Interacting Level Process

PYKC 7 March 2019 EA2.3 Electronics 2 Lecture 18-1

Soft Computing Based Cavity Temperature Control of Plastic Injection Molding system

Modeling and Control of Liquid Level Non-linear Interacting and Non-interacting System

Elmo HARmonica Hands-on Tuning Guide

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

Simulation and Analysis of Cascaded PID Controller Design for Boiler Pressure Control System

Some Tuning Methods of PID Controller For Different Processes

A SOFTWARE-BASED GAIN SCHEDULING OF PID CONTROLLER

Load frequency control in Single area with traditional Ziegler-Nichols PID Tuning controller

Particle Swarm Optimization for PID Tuning of a BLDC Motor

COMPARISON OF TUNING ALGORITHMS OF PI CONTROLLER FOR POWER ELECTRONIC CONVERTER

A PID Controller Design for an Air Blower System

Automatic Voltage Control For Power System Stability Using Pid And Fuzzy Logic Controller

Design of a Fractional Order PID Controller Using Particle Swarm Optimization Technique

BINARY DISTILLATION COLUMN CONTROL TECHNIQUES: A COMPARATIVE STUDY

Transcription:

TUNING OF PID CONTROLLERS USING PARTICLE SWARM OPTIMIZATION 1 K.LAKSHMI SOWJANYA, 2 L.RAVI SRINIVAS M.Tech Student, Department of Electrical & Electronics Engineering, Gudlavalleru Engineering College, JNTU K, A.P, India. Professor, Department of Electrical & Electronics Engineering, Gudlavalleru Engineering College, JNTU K, A.P, India. E-mail: kesarilakshmi11@gmail.com Abstract- PID controllers are most popular controllers because of simplicity of implementation and broad applicability. In order to obtain the desired control performance correct tuning of PID controller is very important. There are many tuning algorithms available for tuning the PID controller. Most of the tuning processes are implemented manually. These processes are difficult and time consuming. Soft computing techniques have been widely used to tune the parameters of PID. In this paper parameters of PID controller are tuned using soft computing technique which is Particle Swarm Optimization (PSO). The optimal PID control parameters are applied for a composition control system. The performance of the technique is evaluated by setting its objective function with Integral Square Error (ISE), Integral Absolute Error (IAE), Integral of Time multiplied by Absolute Error (ITAE). This paper also compares performance of tuned PID controller using PSO with Ziegler-Nichols method. Keywords- PID Controller, Ziegler-Nichols method Particle Swarm Optimization. I. INTRODUCTION PID controllers are most widely used in industries such as oil and gas, chemical etc.pid controlled has been proven in terms of reliability and robustness in controlling the process variables. Other factors that attracted industries to choose PID could be due to low cost, easy to maintain as well as simplicity in control structure and easy to understand. The PID controller calculation involves three separate parameters: proportional, integral and derivative values. The proportional value calculates the value of the current error, the integral value determines the result of sum of recent errors and derivative value determines the reaction based on the rate at which the error has been changing. The weighted sum of these three actions is used to be imported into the controlled system. However in practice, the controlled system systems usually have some features, such as nonlinearity, time-variability and time delay, which make controller parameters tuning more complex. Thus the goal of PID controller tuning is to determine parameter parameters that meet the closed-loop system performance specifications over a wide range of operating conditions. Improper PID parameters tuning could lead to cyclic and slow recovery, poor robustness would be the collapse of system operation [1].This lead researches to explore the best tuning method in searching optimum PID parameters. Many strategies have been proposed to determine optimum setting of PID parameters. Ziegler-Nichols and cohen-coon are the most popular PID tuning methods. Among the conventional PID tuning methods Ziegler-Nichols (ZN) method may be the well known technique. However sometimes it does not provide good tuning and tends to produce big overshoot. To enhance the capabilities of traditional PID parameters tuning techniques, several soft computing techniques have been suggested, such as those based on Particle Swarm Optimization (PSO), Genetic Algorithm (GA), Differential Evolution (DE), Ant Colony Optimization (ACO). PSO is a well known simple optimization compared to other optimization techniques. PSO is a novel population-based technique, which utilize the swarm intelligence generated by the cooperation and competition between the particles in a swarm and has emerged as a useful tool for engineering optimization. Unlike other heuristic techniques, it has a flexible and well-balanced mechanism to enhance the global and local exploration abilities. This paper presents development of an optimal PID controller for a composition control system using PSO technique. This paper also compares the transient performance of the system using PSO technique with Ziegler-Nichols method. II. COMPOSITE CONTROL SYSTEM Composite control system was designed to control liquid level in a three tank system. Composite Control system consists control reagent tank, tank1, tank2,tank3.control 17

Reagent tank contains water and solution. It control the liquid level in tank1, tank2, tank3.control of liquid level was accomplished by control valve which is operated by PID controller. Liquid flows from control reagent tank to tank1, then tank1 to tank2 and finally tank2 to tank3.the level of liquid in third tank is sent to the controller. The controller generates a signal which opens or closes the control valve. Based on control valve operation liquid level in three tank system is controlled. The time constant and steady state gain of control reagent tank is chosen as 5 and one. The time constant and steady state gain of three tanks is chosen as one. The block diagram representation of the system is shown in fig.2. Once the input has been changed, the error will be computed between the input and actual output. The error signal, E(s), is used to generate the proportional, integral, and derivative actions. With the resulting signals weighted and summed to form the control signal U(s), applied to the plant model. The new output signal will be obtained. This new actual output signal will be sent to the controller, and again error signal will be computed. New control signal, U(s) will be sent to the plant. This process will run continuously until the steady state error. IV. PARTICLE SWARM OPTIMIZATION Where R is the set-point, C is the output of three tanks that is height of liquid level and Ci is the input from the control reagent tank. The transfer function of the system shown in fig.2 is 1 G (s) = (5s + 1)(s + 1) 1 + (1) (s + 1) Many methods are available for tuning the PID controller. The most widely used method is Ziegler- Nichols method. Though Ziegler-Nichols method is simple and most popular it has some disadvantages. It gives large overshoot and prior knowledge regarding plant model. If the plant is tuned by the Ziegler- Nichols method it gives good results but those are not optimum. To enhance the PID parameter tuning techniques soft computing techniques have been suggested. Some of the techniques are Genetic Algorithm (GA), Particle Swarm Optimization (PSO), Differential Evolution (DE), Ant Colony Optimization (ACO). III. PID CONTROLLER PID controller consists of three separate PID controller consists of three separate parameters: proportional, integral and derivative with gains denoted by Kp, Ki, Kd. Appropriate setting of these parameters will improve dynamic response of a system, reduce over shoot eliminate steady state error and increase stability of the system. The transfer function of a PID controller is C(S) = () = K () + + K S (2) Particle Swarm Optimization, first introduced by Kennedy and Eberhart, is one of optimization algorithms. It was developed through simulation of simplified social system, and has been found to be robust in solving continuous nonlinear optimization problems.pso can generate a high quality solution within shorter calculation time and stable convergence characteristic than other stochastic methods. PSO is a population based stochastic optimization technique where individuals, referred to as particles, are grouped into a swarm. Each particle in the swarm represents a candidate solution to the optimization problem. In PSO technique each particle is flown through a multidimensional search space, adjusting its position in search space according to its own experience and that of neighboring particles. A particle therefore makes use of best position encountered by itself and that of its neighbors to position itself toward an optimal solution The effect is that particles fly toward a minimum, while still searching a wide area around the best solution. The performance of each particle is measured using a predefined fitness function, which encapsulate the characteristics of the optimization problem. Algorithm of PSO is as follows Step-1: Set up the control parameters of PSO optimization process that are population size, acceleration constants(c1,c2),convergence criterion, number of problem variables, lower and limits of variables and maximum number of iterations. Create an initial population of particles with random positions and velocities. The positions (X )and velocity(v ) of initial swarm of the particle are 18

randomly generated using lower and upper bounds of design variables.for ith particle position and velocity are generated as follows X = X + (X X ) rand (2) V = V + (V V ) rand (3) Step-2: For each particle calculate the value of fitness function. Step-3: Compare the fitness of each particle with personal best position(pbest).if current solution has best fitness then replace pbest with current fitness. Step-3: Compare the fitness of all particles with global best (gbest).if any of the particles is better than gbest, and then replace gbest. Steo-4: Update the velocity and positions of all particles. The velocity of ith particle is updated as V = V + c1 r1p X + c2 r2g X (4) Where V is the velocity of ith particle at time k.c1,c2 are acceleration constants.r1,r2 are random variables.p is the personal best position of ith particle at time k.g is the global best position of ith particle.x is the position of ith particle at time k. The position of the particle is updated as X = X + V (5) evaluated in terms of integral square error(ise),integral absolute error(iae),integral time multiplied by absolute error(itae).pid controller is tuned based on the minimum value of performance index. I = e (t) dt (6) I = e(t) dt (7) VI. I = t e(t) dt (8) IMPLIMENTATION PID CONTROLLER TUNING In this section the performance of composite control system with Ziegler-Nichols method, PSO and HDE is evaluated. The tuning performance is evaluated using integral square error (ISE), integral absolute error (IAE), integral of time multiplied by absolute error (ITAE).PSO and HDE find optimum value of control parameters where the smaller the value of fitness function. The transient performance of the system tuned by PSO and HDE is compared with Ziegler-Nichols method. Step-5: Repeat the steps from 2 to 4 until the desired fitness is reached. A. PID TUNING WITH ZIEGLER NICHOLS METHOD Ziegler-Nichols tuning method is the first tuning method is the first tuning method to provide a practical approach for tuning of PID controller. This tuning rule is very popular in industry as it is a simple method and it requires very little information about the process. However the resulting system may exhibit large overshoot and oscillations in the step response which is unacceptable. In fact Ziegler-Nichols tuning rules give an educated guess for the parameter values. Tuning of PID controller using Ziegler-Nichols is based on frequency response of closed-loop system by determining the point of marginal stability under pure propotional control. The propotional gain is increased until the system becomes marginal stable. At this point, the value of proportional gain is known as ultimate gain k together with its period of oscillation frequency so called ultimate period τ. Based on these values tuning parameters are calculated as shown in table 1 Fig.4.Flow Chart of Particle Swarm Optimization V. EVALUATION OF FITNESS FUNCTION The fitness function considered here is based on error criterion. This work utilizes performance indices as objective function. Controller performance is Table 1 Ziegler-Nichols PID Tuning Parameter Controller K K K PID 0.6*k 2k/τ K*τ 8 For mathematical model system the ultimate gain and ultimate period can be calculated using Routh- 19

Hurwitz criterion. The PID tuning parameters are calculated and those are K = 3.7, K = 1.8 andk = 1.8. VII. SIMULATION RESULTS In this section PSO is applied to find the optimal parameters of PID controller for the closed loop controlled composite control system. The parameter values of PSO and HDE optimization are shown in table 2.The performance of tuning method is observed in terms of rise time, overshoot, peak time, settling time and steady state error. Table 2 Parameter Setting for PSO Parameter value Population Size 80 Generation Size 220 Range of K 40 Range of K 20 Range of K 200 C1 2 C2 2 Table 3 Response Characteristics of the system for a unit step response with ISE objective function ZN GA PSO- ISE %age 44.2823 20.8564 17.3499 overshoot Rise 0.9586 0.6619 0.6817 Peak 2.5 1 1 SettlingTime( 10.4349 6.7159 3.5141 Sec) Steadystateer ror 16.841*1 9.184*1 1.489*1 K 3.7 3.53227 10 K 1.8 24.3176 7.6084 K 1.8 99.6794 8 105.023 7 Fig.7 Optimization process of the system with PSO-IAE Fig.5 Optimization process of the system with PSO-ISE Fig.6 Closed loop step response of the system with ISE objective function Fig.8 Closed loop step response of the system with IAE objective function 20

Table 4 Response Characteristics of the system for a unit step response with IAE objective function ZN GA PSO- IAE %age 44.2823 27.4646 19.3733 overshoot Rise 0.9586 0.6276 0.6702 Peak 2.5 1 1 SettlingTime 10.4349 2.6804 2.7349 (Sec) Steadystateer ror 16.841* 1 6.283*1 4.9848* 10^-5 K 3.7 31.1642 10 8 K 1.8 9.0578 11.8118 K 1.8 92.0436 1 80.5940 Table 5 Response Characteristics of the system for a unit step response with ISE objective function ZN GA PSO- ITAE %age 44.282 28.6518 18.0959 overshoot 3 Rise 0.9586 0.6218 0.6774 Peak 2.5 1 1 SettlingTim 10.434 2.7310 2.1916 e(sec) Steadystatee rror 9 16.841 3.8192*1 7.0166*1 *1 0^-6 K 3.7 54.9623 38.9810 K 1.8 8.51 35.7879 K 1.8 99.1578 74.3414 It is clear from the responses that the PSO based controller has the advantage of a better closed loop rise time, settling time, over shoot and steady state error compared to the Ziegler-Nichols method. The time domain specification comparison is done for the ZN and PSO-ISE, PSO-IAE and PSO-ITAE based controllers are tabulated and given in Table 3, Table 4, and Table 5. CONCLUSION Fig.9 Optimization process of the system with PSO-ITAE PID controller has been tuned using Ziegler-Nichols method and Particle Swarm Optimization for a composite control system. The various results presented above proves better performances of PID controller tuned with PSO than PID controller tuned with Ziegler-Nichols method. The step responses for the system reflect effectiveness of the PSO based PID controller in terms of time domain specifications. The results show that the proposed controller can perform an efficient search for the optimal PID controller parameters. REFERENCES [1] Bhawna Tandon, Genetic Algorithm Based Parameter Tuning of PID Controller for Composition Control system : International Journal of Engineering Science and technology, Vol. 3No8, Aug, 2011. [2] Chia-Ju Wu, Genetic Tuning of PID controllers using a Neural Network model: A seesaw example, Journal of Robotics and Intelligent systems, Vol. 25, Issue 1, 1999. [3] T. K. Teng, J. S. Shieh, C. S. Chen, Genetic Algorithms applied in on-line auto tuning PID parameters of a liquid control system, Transactions of Institute of Measurement and Control, Vol. 25, pp. 433-450, 2003. [4] Pereira, D.S., Pinto, Genetic Algorithm based system identification and PID tuning for adaptive control, Advanced Intelligent Mechatronics, Proceedings, IEEE/ASME International Confrence, July 2005. Fig.10 Closed loop step response of the system with ITAE objective function [5] Ismail K. Bouserhane, Rahli Mostefa, Optimal Fuzzy self tuning of PI Controller using Genetic Algorithm for 21

Induction motor speed control University of Sciences and Technology of Oran, Algeria, August 2007. [6] J. G. Ziegler, N. B. Nichols, Optimum settings for Automatic controllers, Transactions of American Society of MechanicalEngineers, Vol. 64, pp. 759-768, 1942. [7] M. Zhuang, D. P. Atherton, Automatic Tuning of Optimum PID Controllers, IEE Proceedings on Control and Applications, Vol.140, pp. 216-224, 1993. [8] Z. Y. Zhao, M. Tomizuka, S. Isaka, Fuzzy gain scheduling of PID controllers, IEEE Transactions on Systems Man and Cybernetics,Vol. 8, pp. 56-65, 2003. 22