Professional Documents
Culture Documents
Abstract - Control of synchronous generators such as II. AVR SYSTEMS MODELING AND SIMULATION
automatic voltage regulators have been developed to maintain
stability and to improve damping of power systems. When an There are five models: (a) PID Controller Model, (b)
operating condition changes greatly, however, such controllers Amplifier Model, (c) Exciter Model, (d) Generator Model, and
may become less effective because of nonlinearity of the power (e) Sensor Model.
system. The mathematical model of AVR system has been Their transfer functions are described as follows:
established for control and analysis using a flexible and fast tuning
method based on genetic algorithm (GA) technique. Tuning with A. PID Controller Model:
different population size and generations number have been used The transfer function of PID controller is
to determine the optimal values of the PID controller parameters
to improve the transient response of the system. G(s) = k p + kd (s) + ki
s (1)
Index Terms –Synchronous Generator, Root locus, PID
Controller, Genetic Algorithm. B. Amplifier Model:
The transfer function of amplifier model is
I. INTRODUCTION
V R
= KA
(s) (s) (2)
One of the most important elements of electric power
system is synchronous generator, because it is the source of
V E
(s) 1+ T A (s)
electrical energy. It is normally equipped with an automatic
voltage regulator, which is responsible for keeping the track of Where the value of KA is in the range 10 to 400 and the
the generator terminal voltage all the time and under any load value of the amplifier time constant TA is in the range 0.02s to
condition, working in order to keep the voltage within 0.1s. In our simulation, KA was set to 5 and TA was set to 0.1s.
pre-established limits. Based on this, it can be said that the AVR C. Exciter Model:
also controls the reactive power generated and the power factor
of the machine once these variables are related to the generator The transfer function of exciter model is:
excitation level [1]. V (S ) K (S ) (3)
F
= E
40
30
20
10
Im a gina ry Ax is
0
-10
-20
-30
Root KA KR KE KG TA 1+ ST R
locus By expanding this equation we get;
2
Witho 5 1 1 1 0.1
G( S ) H ( S ) = a s +a S +b 0 1 (13)
ut PID 5 4 3 2
a s + a s + a s + a s + a s +b
2 3 4 5 6 1
Poles
TE TG Kd Kp Ki
location
Using the same value in Table (1), the transfer function in
S=-1±j1 equation (13), we get:
0.05 0.4 1 - - Near the 2
0 .99 s + 28 .9 s + 190 (14)
G(S )H (S ) =
jw axis
(0.5 s + 16.75 s + 153 .75 s + 387 .53 s + 269 s + 190 )
5 4 3 2
There are two closed poles lies on the jw axis at ±j5 and also
two complex conjugate poles on the right half s-plane at From the equation (14) the frequency response was obtained
s=6±j10 as shown in Figure 2. by using MATLAB. The time responses are shown in Figure 3
with rise time of 1.86, settling time of 13.4, maximum
overshoot of 27.4 at peak time of 4.58 and steady state of 1
1545
Step Response
1.4
Over Shoot =27.1%
1.2
1
A m p litu d e
0.8
0.6
0.4
0.2
0
2 4 6 8 10 12 14 16 18 20
Time (sec)
1546
E. Mutation At first: Generation was varied from 50 to 150 with a step
After a crossover is performed, mutation takes place. This is size of 50 while population size was kept constant at 30. The
to parent falling all solutions in population into a local optimum best output response of GA-PID is shown in Fig 6.
of solved problem. Mutation changes randomly the new
offspring (children).There are many types of accomplishing
mutation (binary mutation, and real mutation). Real mutation is
used according to the following equation:
i
( 0 0
)
d = r l , u if z ≤ p , d otherwise
/ /
m i
(15)
Where
Z/ is random number.
Table 3: GA’s results with generation (G=50) Fig.8 Response of PID at generation is 50 and population size is 50
Size Kp Ki Kd Fitness
Function (J)
20 1.4734 1.9295 1.0157 0.9398
30 1.8787 1.3901 0.9266 0.9218
40 1.6558 1.4873 0.7998 0.8730
50 1.3643 1.1168 0.6467 0.8509
1547
[10] Back, T., Evolutionary Algorithms in Theory and Practice, Oxford
University Press, New York, 1996.
[11] Liu Sheng, Li Gao-yun, Song Jia, Sun Tian-ying, Research on
Optimization Efficiency of Genetic Algorithms , 2nd International
Symposium on Systems and Control in Aerospace and Astronautics,
ISSCAA, 2008.
[12] Arumugam, M. S., Rao, M.V.C., Palaniappan, “New hybrid genetic
operators for real coded genetic algorithm to compute optimal control of
aclass of hybrid systems,” Applied Soft Computing Journal, 6(1), pp.
38-52, 2005.
.
Fig.9 Fitness function’s evolution
From first and second steps the best output response of
GA-PID at 50 generation and 50 population size as shown
above in Fig 8 and the best fitness function J as shown above in
Fig. 9.
VIII. CONCLUSIONS
The genetic algorithm based PID tuning provides much
better results compared to the conventional methods.
The conventional method is good for getting the initial
values of the PID tuning which needs to be modified.
In this study, genetic algorithm is used to tuning PID
parameters of AVR system with different size of population and
generations number.
The AVR is very stable after applied GA and the
overshooting was minimized because of GA-PID tuning. And
the results of the simulation show that the PID controller based
on a genetic algorithm has faster speed and stronger
adaptability.
IX. ACKNOWLEDGMENT
This work is supported by the Program for New Century
Excellent Talents in University (NCET-11-0826), National
Natural Science Foundation of China (NSFC 51279037), the
Research Project of Chinese Ministry of Education, (No
113060A).
X. REFERENCES
[1] Kirshnan R (2001), Electric motor drives modeling, analysis, and control.
Prentice Hall, Upper Saddle River, NJ.
[2] S. Chapman, “Electric Machinery Fundamentals,” McGraw-Hill, 1985.
[3] Ching-Chang Wong, Shih-An Li and Hou-Yi Wang, “Optimal PID
Controller Design for AVR System,”Tamkang Journal of Science and
Engineering, Vol. 12, No. 3, pp. 259-270, 2009.
[4] J. H. Holland (1975). Adaptation in Natural and Artificial Systems,
University Michigan Press. Ann Arbor.
[5] C. R. Houck, J. Joines. and M.Kay. A genetic algotithm for function
optimisation: A Matlab implementation. ACM Transactions on
Mathematical Software, 1996.
[6] Dounias G.Tsakonas A., and Jantzen J. Genetic Programming for the
Generation of Crisp and Fuzzy Base in Classification and Diagnosis of
Medical Data, 2001.
[7] Brindle, A.,Genetic Algorithms for Function Optimization, PhD Thesis,
University of Alberta, Edmonton (Canada), 1981.
[8] Goldberg D.E, Ā Genetic Algorithms in Search, Optimization, and
Machine Learningā, Addison-Wesley, 1989.
[9] Jain, L.C., and Jain R.K, ĀHybrid Intelligent Engineering Systemsā,
World ScientificPublishing, 1997.
1548