Beruflich Dokumente
Kultur Dokumente
an AVR System
C.Ismayil, Jisma M,
Department of Electrical and Electronics Engineering
Govt. Engineering College, Thrissur
Kerala, India
( ismayilc@gmail.com)
Abstract— This paper describes a novel design method for the parameters should be optimally designed. These parameters
optimal tuning of PID controller in AVR system and the can be optimally obtained via Particle swarm Optimization
optimum parameters are determined using Genetic Algorithm (PSO) and Genetic Algorithm (GA) [8].
based technique. A performance criterion in the time domain is GA is a general purpose optimization technique which
proposed for evaluating the performance of the proposed PID uses a direct analogy of natural evolution where stronger
controller. Simulations were carried out and the performance would likely be the winners in a competing
of proposed controller and conventional controller using environment[14].The GA method is faster and hence it has
Ziegler Nichols method of tuning is compared. The results
shows a better performance for the proposed controller in
received great attention in control systems such as the search
settling time ,rise time ,steady state error and maximum of optimum PID controller parameters. Unlike traditional
overshoot. techniques, GA works on a coding of the parameters to be
optimized, rather than the parameters themselves. Also, it
Keywords— Genetic Algorithm, AVR system, PID Controller. employs search procedures based on the mechanism of
natural selection and survival of the fittest. So it can
I. INTRODUCTION converge to the global optimum solution[15]
Power system control requires a continuous balance In this paper, Genetic Algorithm based technique is used
between electrical generation and a varying load demand, for the tuning of optimal PID controller parameters of an
while maintaining system frequency and voltage levels. AVR system. A simple performance criterion in time domain
Many industrial plants are heavily influenced by the is proposed for evaluating the performance of the proposed
disturbances occurring in the power system. An Automatic PID controller that was applied to the complex control
Voltage Regulator (AVR) is used to provide constant system. The performance measure to be minimized contains
terminal voltage at generator during normal small and slow the maximum overshoot, rise time, settling time and the
changes in the load. The terminal voltage is continuously steady state error.
sensed, rectified, and smoothed. This dc signal, proportional
to V, is compared with Vref . The resulting error voltage after II. MODELLING OF AUTOMATIC VOLTAGE REGULATOR
amplification is fed to the exciter which finally delivers the
voltage v f to the generator field winding [1]-[2].Thus the The basic role of the AVR is to provide constancy of the
generator terminal voltage during normal small and slow
main objective of AVR is to control the terminal voltage by changes in the load. It consists of a comparator, amplifier,
adjusting the generator exciter voltage[1]. exciter, generator and a sensor.A linearized model of an
In literature various methods have been proposed to AVR system with PID controller is shown in Fig.1. The PID
control the AVR system [1], [2] – [5]. But the classical is used to control the AVR system.
proportional-integral-derivative controller remain the
controllers of choice to due to its simple construction and
robust performance for wide range of operating conditions.[] Vref Ve ki VR KA VF KE Vg KG Vt
kp + + kd s
Thus in a typical AVR system the voltage control loop is s 1 + TA s 1 + TE s 1 + TG s
realised using a PID controller .The most critical step in the + -
application of PID controller is the parameter tuning. In a Vt PID Controller Amplifier Exciter Generator
PID controller, each mode (proportional, integral and
derivative mode) has a gain to be tuned, giving as a result
KA
three variables involved in the tuning process.
There have been a lot of approaches to search the 1 + TA s
1
f = (7)
Specify the parameters for GA W (K )
Where W(K) the evaluation value of each individual in
population.
Generate initial population C. Evolution of GA Population
The evolution of GA population starts from “selection”
process. The individuals from the population are selected
according to their fitness: the higher the fitness value, the
Apply GA operators(selection,
more probability to be chosen to be parents. In this paper
cross over and mutation)
Roulette wheel method is utilised. It is the most common and
easy-to-implement selection mechanism. A virtual wheel is
implemented for this selection process. Each chromosome is
Create the current population assigned a sector in this virtual wheel and the area of the
sector is proportional to their fitness value. Thus the
chromosome with largest fitness value will occupy largest
area, while the chromosome with a lower value takes the slot
Yes of a smaller sector.
Following the selection of parent population, offspring
Stop
Gen=Genmax population is generated by performing cross over and
mutation. In this paper uniform cross over is applied. The
No gene in the offspring is created by copying the corresponding
gene from one or the other parent chosen according to a
randomly generated cross over mask. When there is 1 in the
Gen=Gen+1
mask, the gene is copied from the first parent and when there
is 0, the gene is copied from the second parent. The process
is repeated with the parents exchanged to produce the second
offspring. The mutation process is then accomplished by
Fig.2.Flow chart of GA. randomly switch a bit in some offspring chromosome with a
specified probability.
D. Proposed PID Controller
V. FORMULATION OF PROPOSED PID CONTROLLER
In this paper, PID controller is developed using Genetic
algorithm.
This paper presents a PID controller for searching the
optimal or near optimal controller parameters k p , ki , k d
using genetic algorithm.
The searching procedures of the proposed PID controller
were described as below.
Step1: Specify the lower and upper bounds
of k p , ki , k d as shown in table.I.and also
specify the cross over rate , mutation rate and
elitism rate.
Step2: Create an initial population of chromosomes
randomly.
Step3: Calculate the fitness value using (7).
Step4: Perform a selection process to the current
generation.
Step5: Perform cross over operation on selected Fig.3.Step Response of an AVR system without PID
chromosomes. controller.
Step6: Apply a mutation operator.
Step7: Perform an elitism mechanism. After the simulation we found that maximum peak
Step8: Replace the current population with the new overshoot as 1.5065,steady state error as 0.1748,rise time as
population. 0.3s and settling time as=1s.
The GA parameters used for verifying the performance of
Step9: If termination criterion is reached then end the the proposed PID controller in searching the PID controller
program. Otherwise goto step3. parameters are shown in Table.III.
TABLE IIII
VI. COMPUTED RESULTS
GA PARAMETERS
Dedicated software is developed in MATLAB
programming language to implement the controller design Population size 50
based on GA.A practical higher order system shown in Fig.1. Chromosome length 24
was tested.The AVR system parameters used were tabulated Number of generations 200
in Table 1. Selection Scheme Roulette wheel
TABLE I Cross over type Uniform cross over
AVR SYSTEM PARAMETERS Cross over rate 0.6
Parameters value Mutation rate 0.01
Amplifier gain,KA 10 Elitism rate 20%
Amplifier time constant,TA 0.1s Termination criteria 200 generations
Exciter gain,KE 1 The PID controller in Fig.1. is then replaced with the GA-
Exciter time constant,TE 0.4s PID controller with the parameters obtained from the GA
Generator gain,KG 1 method.The step response of the system while using a GA-
Generator time constant,TG 1s PID and conventional PID controller using Ziegler Nichols
Sensor gain,KR 1 method for tuning is compared in Figure.4.
Sensor time constant,TR 0.01s
VIII. REFERENCES
[1] D.Devaraj,B.Selvabala”Real-coded genetic algorithm and fuzzy
logic approach for real time tuning of proportional-integral-
derivative controller in automatic voltage regulator system”, IET
generation,Transmission & Distribution
[2] Olle.I.Elgerd”Electric Energy Systems Theory”,Tata McGraw
Hill Publishing company limited,New Delhi.
[3] C S Hoong, S Taib, K S Rao and I Daut”Development of
Automatic Voltage Regulator for Synchronous Generator”,
National Power and Energy Conference 2004 Proceedings Kuala
Lumpur,Malaysia.
[4] B.H.Kwon,J.H.Youm,J.H.Choi”Automatic voltage regulator
with fast dynamic speed”, IEE Proceedings,1999
[5]Saiful Jamaan, Md Shah Majid Mohd Wazir Mustaffa, Hasimah
aaaaaabdul Rahman”A omparative Study of PI and Fuzzy Logic
Automatic Voltage Regulator of a Micro-Alternator System”,
National Power and Energy Conference 2004 Proceedings Kuala
Lumpur,Malaysia.
[6] Zwe-Lee Gaing, “A Particle Swarm Optimization Approach for
Optimum Design of PID Controller in AVR System”,IEEE
Transactions on Energy Conversion,vol.19,No.2,June 2004 .
[7] T. L. Seng, M. B. Khalid, and R. Yusof, “Tuning of a neuro-
fuzzy controller by genetic algorithm,” IEEE Trans. Syst., Man,
Cybern. B, vol. 29, pp. 226–236, Apr. 1999.
[8] You-Bo-Wang,Xin Peng,ben Sheng Wei, “A New Particle
Swarm Optimization Based Auto Tuning of PID Controller”,Proc.
Of Inter National conf on Machine Learning and cybernatics,July
2008,p.p.no:1818-1822.
[9] Adel.A.A.El-Gammal,.Adel.A.El-Samahy,”A Modified Design
of PID controller for DC Motor Drives Using Particle Swarm
Optimisation.”, Power Engg ,2009.pp.419-422.
[10A Visioli,”Tuning of PID Controllers with Fuzzy Logic”, IEE
Proc,2001.
[11] Nelendran Pillay,Poobalan Govinder,”A Particle Swarm
Optimisation for Model Independent tuning of PID Control loops.”
[12] Renato O Krohling.Joost P Ray,”Design Of Optimal
Disturbance Rejection using PID Controllers for Genetic
Algorithm”,IEEE Trans of evolutionary
Computation,vol.5,No.1,Feb 2001.
[13] J.Bastin Solai Nazaran,P.S.Kannan, “Particle Swarm
Optimization based fuzzy controller design for SVC to enhance
power system damping”,Indian Institute of Technology Madras
[14] David E. Goldberg, “Genetic Algorithms in Search,
Optimization & Machine Learning”, Pearson Education, Edition
2003.
[15] Kahouli.A,Guesmi.T,Hadj Abdallah.H and Ouali.A. “A
Genetic Algorithm PSS and AVR Controller for Electrical Power