Design and Performance Analysis of PID Controller For Automatic Generation Control of An Autonomous Power System
Design and Performance Analysis of PID Controller For Automatic Generation Control of An Autonomous Power System
net/publication/334762835
CITATIONS READS
0 125
1 author:
Lakhwinder Singh
Baba Banda Singh Bahadur Engineering College
26 PUBLICATIONS 62 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Lakhwinder Singh on 01 August 2019.
Abstract—Proportional Integral Derivative (PID) controller is Previously various conventional techniques such as Ziegler-
a generic feedback controller which is widely used in industrial Nicholes method, Cohen-Coon method, minimum variance
control system, motor drive, process control, and in method, gain phased margin method, etc. were used in optimal
instrumentation. It provides simplest and most efficient solution to tuning of the PID controller [4]. These methods were difficult to
many real word control problems. However, tuning of PID implement in complex control design. Recently, evolutionary
controller gains is a challenge for researchers and plant operators. computational algorithms such as Artificial Bee Colony (ABC),
In this paper, the design problem of PID controller is formulated Bacterial Foraging Algorithm (BFA), Differential Evolution
as an optimization problem. Particle Swarm Optimization (PSO) (DE), Genetic Algorithm (GA), Particle Swarm Optimization
technique is used to search the optimum controller gain values.
(PSO), etc. are used to search for the optimal controller gains of
Optimal controller gains are obtained by minimizing the objective
function. For evaluating the performance of the proposed PSO
the PID controller. PSO has the advantage that it is a derivative
based PID and Many Optimizing Liaisons (MOL) based PID free algorithm which does not require an initial solution to start
controller, a comparison of different frequency domain the algorithm [5].
performance indices were undertaken as objective functions. Particle swarm optimization is a population based, heuristic
Independent PID controllers were used for Load Frequency evolutionary technique based on the movement and intelligence
Control (LFC) and Automatic Voltage Regulation (AVR) of a of swarms. It is inspired by the social behavior of bird flocking
single area power system. The comparison shows that MOL tuned or fish schooling. In a swarm, birds generally follow the shortest
PID controller with Integral Time of Absolute Error (ITAE) as
path in a particular direction for searching food. Through social
performance index is most efficient in improving the step response
of the system.
interaction with the bird at best location with respect to the food
source, the rest of the birds try to reach that location by adjusting
Keywords— Automatic Voltage Regulation, Load Frequency their velocities. This technique was first described by James
Control, PID controller, Particle Swarm Optimization. Kennedy and Russell C. Eberhart in 1995 [6]. Much
advancement in PSO has been made since then and different
I. INTRODUCTION variants of PSO algorithm have been introduced [7-8]. The
A power system is prone to instability due to faults and accepted standard PSO algorithm is the global best model of
sudden changes in the system load. The faults can be sensed PSO introduced by Shi and Eberhart [9]. Many Optimizing
through relays and suitable controlling action can be applied to Liaisons (MOL) is a PSO variant in which the cognitive
a particular fault. The variations in load, however, cannot be coefficient of the particle is set to zero. MOL is a simplified form
predicted and eliminated. The sudden changes in load can cause of PSO and is also termed as Social only PSO (S-PSO). The
variation in frequency and voltage of the system. Thus, for stable advantage of MOL algorithm when compared with PSO
operation of the system, the system generation must equal the algorithm is that in the former the particle is updated randomly
system demand. Load Frequency Control (LFC) and Automatic whereas, in later, the particle is updated iteratively over the
Voltage Regulation (AVR) are two important control entire swarm which results in less execution time [10]. Secondly,
mechanisms that help in a minimizing the frequency and voltage in MOL the swarm’s best position is set to zero, this makes
variations. LFC is used to maintain the system frequency by particle not to have any persistence in the previously followed
controlling the real power flow in the system; AVR is used to path.
maintain the voltage profile of the system by controlling the The intent of the paper is to design PSO and MOL based
reactive power flow in the system. Both the LFC and AVR are PID controllers with different frequency domain performance
closed loop control systems and because of the inherent non- indices which has been taken as independent objective
linearities present in the power system components and functions. PID controllers were used for LFC and AVR loop of
synchronous machines, these control loops are compensated by a single area power system. A comparison of the results
a controller primarily composed of an integral controller [1-2].
obtained with conventional tuned PID controller, PSO tuned
PID controller has three tuning parameters i.e. proportional PID controller and MOL tuned PID controller are presented in
gain, integral gain and derivative gain. Proper selection of these this paper.
gain values ensures simplest yet most efficient control [3].
However, the tuning of the controller is quite difficult.
1
𝐺(𝑠) = 𝐾𝑃 + 𝐾𝐼 + 𝑠. 𝐾𝐷 (11) Step 10: Update Pbest and Gbest based on minimum value
𝑠
between new performance index and old performance
index value.
Step 11: Update the Gbest value and its performance index.
Step 12: Iteration = iteration + 1.
Step 13: If iteration ≤ maximum iteration, go to step 6,
otherwise continue.
Step 14: The obtained Gbest is the optimum set of parameters of
the PSO-PID controller.
C. Tuning using Many Optimizing Liaisons
In PSO algorithm, the cognitive coefficient (C1) is set to zero,
Fig. 2. Simulink block diagram of PID Controller this results in MOL algorithm. The implementation algorithm of
A. Conventional tuning MOL is similar to that of PSO except the fact that C1=0. Besides
this change, the parameters C2 remains unchanged and the
The procedure of tuning the PID controller by conventional inertia weight is also set similar to PSO. The velocity update
trial and error method is as follows [15]: equation for MOL algorithm is thus reduced to
Step 1: Set KD and KI to zero. By trial and error, select KP that vj,g (i+1) = w.vj,g (i)+c2.r2.[Gbest g (i)–xj,g (i)] (13)
results in a stable oscillatory performance. In case of multi input
system, select KP that results near to critical damping. D. Performance Index
Step 2: Vary KD with KP fixed so as to reduce the oscillations In terms of error signal e(t), the performance indices
and result in reasonable overshoot and settling time. employed in control system design can be given as:
Step 3: Vary KI with KP and KD fixed, such that there is zero ∞
steady state error in minimum time. 𝐼𝑇𝐴𝐸 = ∫0 𝑡. |𝑒(𝑡)|. 𝑑𝑡 (14)
∞
B. Tuning using Particle Swarm Optimization 𝐼𝐴𝐸 = ∫0 |𝑒(𝑡)|. 𝑑𝑡 (15)
∞
For the tuning of PID controller, the PSO algorithm 𝐼𝑇𝑆𝐸 = ∫0 𝑡. 𝑒 2 (𝑡). 𝑑𝑡 (16)
generates a random population of the controller gains, then ∞
searches for the optimal set of gain values from this random 𝐼𝑆𝐸 = ∫0 𝑒 2 (𝑡). 𝑑𝑡 (17)
population that minimizes a defined performance index as
These are also referred as error functions. These integral
objective function. Integral of Time multiplied Absolute Error
performance criteria in the frequency domain have their own
(ITAE), Integrated Absolute Error (IAE), Integral of Time
advantages and disadvantages [3]. For e.g., a disadvantage of the
multiplied Square Error (ITSE) and Integrated Squared Error
IAE and ISE criteria is that its minimization can result in a
(ISE) are some of the performance indices. ITAE is chosen as
response with relatively small overshoot but a long settling time.
the performance index in this study as it can be easily evaluated
analytically in the frequency domain [3-5]. The steps involved IV. SYSTEM INVESTIGATED
in implementation of PSO algorithm for tuning of PID controller
are [16-17]: A power system consisting of a thermal generating unit of
non-reheat type was considered for the simulation. The
Step 1: Initialize the particles to some linear positions in the performance of the system was observed in terms of dynamic
range of KP, KI & KD and set their velocities as zero. response of the system measured in terms of frequency
Step 2: Evaluate the initial population by simulating the deviation, Δf and voltage deviation ΔV occurring due to an
system model with each particle row value as the PID application of a step load perturbation. The system is brought to
controller value and calculate the performance index its stable sate of operation with the use of PID controller. The
for each particle at their corresponding positions. Simulink model for the system is shown in fig. 3. The system
Step 3: Initialize local minimum (Pbest) for each particle. was observed under a step change in load of 0.1 p.u., speed
regulation of R = 3 Hz/p.u. and simulation time of t = 10
Step 4: Find best particle (Gbest) in initial particle matrix based seconds. The error signal in the calculation of the performance
on minimum performance index. index is taken as sum of frequency deviation, ∆f and Voltage
Step 5: Start the iteration, iter =1. deviation, ∆V. Thus, the performance indices can be stated as:
Step 6: Update velocities of the particles by the equation: 𝑡
𝐼𝑇𝐴𝐸 = ∫0 𝑡. |∆𝑓 + ∆𝑉|. 𝑑𝑡 (18)
vj,g (i+1)= w.vj,g (i)+c1.r1.[Pbest j,g (i)–xj,g (i)]+c2.r2.[Gbest g (i)–xj,g (i)] (12)
𝑡
𝐼𝐴𝐸 = ∫0 |∆𝑓 + ∆𝑉|. 𝑑𝑡 (19)
Step 7: Create new particles from the updated velocity.
𝑡
Step 8: If any of the new particles violate the search space 𝐼𝑇𝑆𝐸 = ∫0 𝑡. [∆𝑓 + ∆𝑉]2 . 𝑑𝑡 (20)
limit, then choose the particle and generate new values
𝑡
within the particle space. 𝐼𝑆𝐸 = ∫0 𝑡. [∆𝑓 + ∆𝑉] . 𝑑𝑡 (21)
Step 9: Evaluate performance index for each new particle at
their respective position by simulating the system
model.
TABLE II
PSO-PID CONTROLLER GAINS OBTAINED FROM DIFFERENT PERFORMANCE
INDICES
Performance KP KI KD
Index LFC AVR LFC AVR LFC AVR
ITAE 3.19 0.80 2.00 0.38 2.39 0.30
IAE 4.54 0.80 2.00 0.39 2.89 0.30
ISE 5.00 0.80 2.00 0.80 5.00 0.80
ITSE 5.00 0.80 2.00 0.48 4.47 0.50
APPENDIX
The simulation parameters for the Simulink model are
Fig. 8. Comparison of frequency deviation obtained from different tuning provided in table below:
methods TABLE VII
SIMULATION PARAMETERS CONSIDERED FOR SYSTEM MODEL
REFERENCES
[1] D. P. Kothari and I. J. Nagrath, “Automatic generation and voltage
control,” in Power System Engineering, 2nd ed., New Delhi, India: Tata
McGraw Hill, 2011, pp. 409-430.
[2] H. Saadat, “Power System Control,” in Power System Analysis, New
Delhi, India: Tata McGraw Hill, 2002, pp. 527-569.
[3] Z. L. Gaing, “A particle swarm optimization approach for optimum design
of PID controller in AVR,” IEEE Trans. on Energy Convers., vol. 19, no.
2, pp. 384-391, June, 2004.
[4] J. F. Nirmal, and D. J. Auxilia, “Adaptive PSO based tuning of PID
controller for an automatic voltage regulator system,” in Proc. of IEEE
Int. Conf. on Circuits, Power and Computing Technology, Nagercoil,
2013, pp. 661-666.
[5] Y. Valle, G. K. Venayagamoorthy, S. Mohagheghi, J. C. Hernandez and
R. G. Harley, “Particle swarm optimization: Basic concepts, variants and
applications in power systems,” IEEE Trans. on Evol. Computation, vol.
12, no. 2, pp. 171-195, April, 2008.
[6] J. Kennedy and R. C. Eberhart, “Particle swarm optimization,” in Proc. of
IEEE Int. Conf. on Neural Networks, Piscataway, NJ, 1995, vol. IV, pp.
1942-1948.
[7] M. Imran, R. Hashim and N. E. A. Khalid, “An overview of particle
swarm optimization variants,” in Proc. of Malaysian Tech. Universities
Conf. on Eng. & Tech. (MUCET 2012), Part 4 – Inform. And Commun.
Technology, Malaysia, 2013, pp. 491-496.
[8] Z. H. Zhan, J. Zhang, Y. Li, and H. S. H. Chung, “Adaptive particle swarm
optimization,” IEEE Trans. on Syst. Man and Cybern. B, Cybern., vol. 39,
no. 6, pp. 1362-1381, December, 2009.
[9] Y. Shi and R. C. Eberhart, “A modified particle swarm optimizer,” in
Proc. of IEEE Int. Conf. on Evol. Computation, Piscataway, NJ, 1998, pp.
69-73.
[10] S. Panda, B. K. Sahu, and P. K. Mohanty, “Design and performance
analysis of PID controller for an automatic voltage regulator system using
simplified particle swarm optimization,” J. of The Franklin Institute, vol.
349, pp. 2609-2625, July, 2012.
[11] A. Chakrabarti and S. Halder, “Automatic Generation Control,” in Power
System Analysis-Operation & Control, New Delhi, India: Prentice Hall
India, 2010, pp. 469-506.
[12] P. Dabur, N. K. Yadav and V. K. Tayal, “Matlab design and simulation of
AGC and AVR for multi area power system and demand side
management,” Int. J. of Comput. and Elect. Eng., vol. 3, no. 2, pp. 259-
264, April, 2011.
[13] P. Kundur, “Control of active power and reactive power,” in Power Sys.
Satbility & Control, New York, USA: McGraw Hill, 1994, pp. 581-688.
[14] K. H. Ang, G. Chong and Y. Li, “PID control system analysis, design and
technology,” IEEE Trans. on Control Syst. Technology, vol. 13, no. 4, pp.
559-576, July, 2005.
[15] M. Nagendra, and M. S. Krishnarayalu, “PID controller tuning using
simulink for multi area power systems,” Int. J. of Eng. Research &
Technology, vol. 1, no. 7, pp. 1-9, September, 2012.
[16] J. Venkatachalam and S. Rajalaxmi, “Automatic generation of two area
interconnected power system using particle swarm optimization,” IOSR J.
of Elect. and Electron. Eng., vol. 6, no. 1, pp. 28-36, June, 2013.
[17] A. Soundarrajan, S. Sumathi and C. Sundar, “Particle swarm optimization
based LFC and AVR of autonomous power generating system,” IAENG
Int. J. of Comput. Sci., vol.37, no.1, Feb, 2010.