Robust Fuzzy-PID Technique for the Automatic Generation Control of Interconnected Power System with Integrated Renewable Energy Sources

This paper proposes a robust hybrid fuzzy PID controller, with the PID gain values tuned using the particle swarm optimization (PSO) technique for the automatic generation control (AGC) of the two-area hybrid power system. PSO Algorithm is applied to reduce the integral of time-weighted absolute error (ITAE) of the frequency and tie-line power variations of the two-area interconnected power system. The suggested method’s efficacy is examined on an interconnected two-area power system with Area 1 containing thermal reheat plants, hydropower plants, and diesel generating units, and Area 2 comprising thermal reheat plants and renewable energy sources (RES): wind energy conversion system, solar photovoltaic system, and electric vehicles. The thermal reheat power plants are modelled taking into consideration the governor dead band (GDB) and the generation rate constraints (GRC). The performance of the presented controller is compared with the genetic algorithm-optimized PID AGC and the PSO-optimized PID AGC. The simulation outcomes show superior results of the proposed controller against other controllers. Further, sensitivity analysis reflects that the proposed technique provides better dynamic response and robustness than the other techniques.


Introduction
In the electrical power grid, maintaining a consistent power supply and demand is vital to enhance the quality, reliability and stability of the power grid.Failure to control the power generated against power demand following a sudden load change or power system disturbance will lead to frequency deviation of the power system from its nominal values and in some cases to a total blackout of the power system [1].Moreover, power grids are becoming more complex and the integration of RES, such as wind plants, solar and tidal turbines into multi-area hybrid power systems has increased significantly in recent years.In addition, the emersion of new concepts like micro-grids and smart grids has increased both the complexity and uncertainty of modern power grids [2].The main goal of AGC is to automatically control any variation of frequency tie-line power to zero and keep their values consistent with their nominal predefined values [3].Recently, several advanced methods have been introduced for AGC in multi-area conventional as well as hybrid power grids.Classical controllers such as PID controllers have been used to manage frequency and tie-line power changes [4].Although classical controllers have a simple design and are well-investigated controllers for AGC, drawbacks such as their weak dynamic response, inaccurate results, long settling time and dependency on trial-and-error procedures limit their applications [2].Fractional order PID controllers have also been proposed over conventional integral controllers for AGC [5].The major drawbacks of fractional order controllers are their increased computational requirements and complexity [6].The other advanced control techniques proposed in the literature include sliding mode controllers [7], H-infinity controllers [8] and model predictive control approaches [9].The drawbacks of these controllers are their complexity, and uncertainty in their performance, and further, these are not commonly utilized in the industry [10].Heuristic methodologies like genetic algorithm [11], particle swarm optimization techniques [12], differential evolution algorithm [13], firefly algorithm Robust Fuzzy-PID Technique for the Automatic Generation Control Othman and Ramdas [14], and grey wolf optimization algorithm [15], have been used to optimize PID gain parameters.However, mostly these optimization approaches are applied in conventional power systems without considering the renewable energy sources and any of the nonlinear constraints of the system components [10].Many researchers have introduced cascaded controllers, which consist of two controllers, one of which is positioned inside the feedback loop of the other, and the output of the first controller acts as the set-point for the second.
The major drawbacks of the cascaded controllers are the time consumption, the high level of tolerance required, and the complexity of its design [6].The developments in artificial intelligence have increased significantly and artificial neural network (ANN) controllers have been utilized which update the training sets based on continuous learning.Moreover, the knowledge of the controller is updated continuously via a set of training rules resulting in estimation convergence to zero.ANN-based controllers have been used for AGC in interconnected hybrid power systems using several algorithms such as fractional order ANN Controller [16] and ANN-tuned PID controller [17].Tilt integral derivative controllers (TID) give better performance compared to conventional controllers [2].TID has been used for AGC of power systems using several algorithms like fractional order TID controller using pathfinder algorithm [18] and hybrid modified particle swarm optimization with genetic algorithm [19].The major drawbacks of TID controllers are that these controllers take more time to achieve a stable state and more numbers of control parameters are needed to be tuned in the optimization process [20].Research interest in the fuzzy logic approach to system dynamics control has increased because of its reasonably wide application range and its fast response.Fuzzy logic Controllers and ANFIS controllers have been introduced in [21], [22].However, a fuzzy Fig. 1.Block diagram for AGC of two-area hybrid power system.

Othman and Ramdas
Robust Fuzzy-PID Technique for the Automatic Generation Control system alone requires a lot of experience for tuning the membership functions.Therefore, the best dynamic performance of fuzzy logic control has been achieved by utilizing optimization techniques [23].Thus, several publications are there in the field of AGC of power systems.In this paper, a hybrid PSO-fuzzy PID controller is suggested to optimize PID gain values for the AGC of a two-area interconnected power grid comprising thermal reheat, hydro, diesel, wind and solar photovoltaic power plants together with electric vehicles.PSO method is utilized to obtain the best PID gain parameters enabling the fuzzy logic controller to provide optimal response.
The paper is arranged as follows: Description and component modeling of the hybrid power system is introduced in the following section followed by an overview of the GA-PID AGC and PSO-PID AGC in Section 3. Section 4 discusses the proposed PSO-optimized fuzzy-PID AGC design followed by the test system data and the simulation outcomes with discussion in Section 5 and the conclusion in Section 6.

System Description and Modelling
The system investigated is composed of two different areas connected with each other.Area 1 comprises thermal plants with reheat turbines, hydro plants and diesel generators while Area 2 integrates wind power plants, solar photovoltaic systems, and electric vehicles altogether with thermal power plants.Fig. 1 represents the AGC block diagram for the suggested power system model under study.
Area control error (ACE) corresponding to Areas 1 and 2 are: where B 1 and B 2 : bias parameters of areas 1 and 2, respectively.Δf 1 and Δf 2 : frequency variation in areas 1 and 2, respectively.
where R i : regulation parameter of the turbine-generator unit.D i : frequency dependency of load.
The modelling aspects of various system components are given in this section.

Thermal Power Plant
The representation of a thermal reheat model taking into consideration (GRC) and (GDB) is illustrated in Fig. 2 [24], [25].

Hydro Power Plant
The representation of a hydro plant model is illustrated in Fig. 3 [26].

Diesel Generating Unit
The representation of a diesel generator is illustrated in Fig. 4 [27].

Solar Photo-Voltaic Energy Conversion System
The transfer function of a solar PV plant with a maximum power point tracking facility (MPPT) is shown in Fig. 5 [10].

Wind Energy Conversion System
The output power generated from wind system is represented by:  where ρ: air density.A sr : blade swept area.C p : power coefficient.V W : wind velocity.
The transfer function of the wind system is: where K W 1 and K W 2 : gains of the wind system.T W 1 and T W 2 : time constants of the wind system [10].
The system block diagram is shown in Fig. 6.

Battery Energy Storage System (BESS)
The intermittent nature of the power outputs from wind and solar PV systems can be managed to a certain extent by the provision of a BESS.The transfer function of BESS is illustrated in Fig. 7: [28].

Electric Vehicle Charging System
Converters in electric vehicles (EVs) have become a reliable backup for frequency support in power systems due to their bidirectional connection capabilities [29].In this paper, the linearized model, as shown in Fig. 8 [30] is used to represent EV System.

GA and PSO Techniques-An Overview
To attain the optimum AGC performance, it is important to choose an objective function to be minimized to optimize the gain values of the PID controller accordingly.The major performance indices commonly utilized for optimizing PID parameters of the AGC are absolute error integral (IAE), integral of time multiplied by absolute error (ITAE), integral of squared error (ISE), and integral of time multiplied by squared error (ITSE) [31] These are given by: × dt (7) where α i and α ij are weighting for frequency and tie-line power errors respectively in both areas which are used to provide importance index.these variables are given an appropriate weightage in the equations.In the current work, ITAE is considered as the fitness function to improve the PID gain parameters of the AGC.Thus, the ITAE is:

Particle Swarm Optimization (PSO)
PSO is a stochastic optimization algorithm based on swarm of birds and schooling of fish.It is processed by the imitation of a bird flocking in multiple-dimensional area.Every particle is represented by a position (x) and velocity vectors (v).The particle is updated based on its position and its velocity information.In every iteration, the particle is evaluated via ITAE fitness function to obtain its best value (P best ) and its position.Further, every particle has the optimum value so far in the group (G best ) out of P best of all particles.Position and velocity of the particle are updated as [32] where k is the iteration number, i is the particle index, P best is the global best solution, x 1 and x 2 are acceleration factors, ra 1 and ra 2 are uniformly random numbers, and w is inertia weight.The particle swarm optimization algorithm proceeds as follows: 1. Initialize the positions and velocities of particles, also population size, iteration number, and upper and lower bounds of controller variables.

Othman and Ramdas
Robust Fuzzy-PID Technique for the Automatic Generation Control  17) and ( 18) in each iteration and update x and v of the particles, respectively.5.If the stopping criteria are reached, proceed to the last step 6.Otherwise, return to step ii and repeat the procedure.6.In the last iteration, the optimum controller parameters are obtained by the minimum objective function which is the latest G best [33].

Genetic Algorithm (GA)
GA is an optimization technique used to optimize the PID controller gains due to its high optimization capability that guarantees the survival of the fittest.GA had been developed by the natural selection principle, a biological method where the stronger individual has a high probability of winning against weaker individuals.The technique begins with an initial random population of chromosomes, each chromosome consisting of genes represented by binary bits.These bits are appropriately decoded and mapped to give an appropriate string for the optimization problem.The initial population is then regenerated to obtain the new population and to converge to the fittest individuals by the utilization of the fitness function.The fitness function gives a value to each chromosome.After that, the outcomes are organized, and elected strings are selected to produce a new generation.GA applies selection, crossover and mutation to converge at the global optimum and to improve the selected individuals [11], [28].To make a high correlation between parents and offspring, there is a need for a repair function which is necessary for defining the initial population of genetic algorithm individuals, mutation and crossover operators.AGC focuses on power flow balancing and frequency stability of interconnected systems during periods of generation-load mismatch.(ITAE) is utilized as the objective function to be reduced in the process of tuning the gain parameters of the PID controller.The genetic algorithm thus proceeds as follows: 1. Initiate a random population of chromosomes.2. Calculate the fitness function of every chromosome in the population.

Proposed PSO-Optimized Fuzzy PID Controller
The structure of the proposed hybrid PSO-Fuzzy PID technique is demonstrated in Fig. 9.As shown in this diagram, the system consists of a fuzzy controller connected in parallel with the conventional PID controller.The gains of PID are tuned by employing the PSO technique.fuzzy logic controller has two inputs: area control error (ACE) and variation in area control error ACE.AGC output is the frequency deviation caused by the load variation in the power grid.
Figs. 10 to 12 show the membership functions defined for the input variables: ACE and ACE, and the output variable f.In this paper, the Mamdani method of fuzzy inference mechanism and the centroid method of defuzzification approach are utilized.As shown in these figures, the input variables, ACE and ACE are represented by seven fuzzy linguistic variables: Largely Negative Value (LNV), Average Negative Value (ANV), Slightly Negative Value (SNV), Zero (Z), Slightly Positive Value (SPV), Average Positive Value (APV), and Largely Positive Value (LPV) respectively.The FLC output variable f is fuzzified into seven subsets as that of the input variables.The rule base developed for the fuzzy Controller is given in Table I.The range of variation of ACE, ACE and f are assumed to be in the range (−0.2 to +0.2).

System Data and Simulation Findings
The efficacy of the proposed hybrid PSO-fuzzy PID method is analyzed on a two-area hybrid system discussed in Section 2, the data of which is given in the Appendix, by comparing its dynamic performance with those obtained using GA and PSO-optimized PID AGC.The GA and PSO parameters used for optimizing PID parameters of AGC are given in Tables II and III, respectively.The PSO method is utilized to improve the gain parameters of the fuzzy-PID controller of AGC.The data related to the genetic algorithm and the PSO techniques are shown in Tables II and III, respectively.
In both genetic and particle swarm optimization processes, the variation of K p , K i , K d parameter values are assumed to be within the limits from −2 to 40 as it is observed to be in this range from the conventional simulation studies.Table IV shows the gain parameters of the proposed PSO-optimized fuzzy PID controller of the two area AGCs together with those corresponding to GA-PID and PSO-PID controllers.The Table also shows the final values of the respective fitness functions.These results correspond to a step load change of 0.1 per unit step load change in Area 1 at zero time instant.As can be seen from this Table, the proposed controller has a lower ITAE value than the other two controllers.Moreover, it can be noticed that the results of PSO and PSO-Fuzzy PID controller obtained parameters and ITAE value are near together when compared with GA which has slightly further results.The ITAE value obtained by GA is much higher than PSO and PSO-Fuzzy PID controller which means that  the PSO and PSO-Fuzzy PID controller are much better than the GA.The variation of the fitness function of the proposed controller with the increasing number of iterations is shown in Fig. 13.As noticed from this figure, it converges within 50 iterations to the minimum ITAE value of 0.91672.For a 0.1 per unit step load variation implemented in area 1 at the time instant, t = 0 second, the variation of frequency in both areas Δf 1 , Δf 2 as well as tie-line power exchange ( P tie ) are demonstrated in Figs.14-16, respectively.These figures prove that the proposed PSO-Fuzzy PID method is more efficient in damping the oscillations compared to other controllers.From these figures and from Table V, it is obvious that the presented methodology is more efficient than others in handling dynamic issues related to settling time, peak overshoot and peak undershoot.
To evaluate the system robustness, the sensitivity analysis is performed corresponding to ±50% variations from the nominal values in the following AGC system parameters: 1. Area 2 governor time constant (T g2 ) and Area 2 turbine time constant (T T2 ) 2. Wind turbine time constants (T W2 ) 3. Regulation parameter (R for all the power plants included in the model) Table VI shows the performance of the PSO-Fuzzy PID AGC corresponding to these variations in terms of settling time, the maximum under and overshoots in Δf 1 , Δf 2 , and P tie, respectively.The comparison of the deviation of these variables from their standard values verifies the efficacy of the presented controller against system parameter deviations.
Robust Fuzzy-PID Technique for the Automatic Generation Control Othman and Ramdas

Conclusion
In this paper, a robust hybrid PSO-Fuzzy PID controller has been proposed for AGC of a two-area interconnected power system composed of thermal, hydro and diesel power plants together with the renewable energy resources:    The PSO optimization proceeds by minimizing the ITAE index value.Each of the input and output variables of the fuzzy controller are fuzzified into seven fuzzy subsets and the defuzzification is done by the centroid approach.A comparison of the dynamic performance of the proposed method for the two area AGC with those obtained using GA and PSO-optimized PID controllers indicates that the proposed method is significantly better than the other methods in damping the oscillations following the load disturbances.Further, the AGC controller remains practically robust in terms of the settling time, maximum and minimum overshoots of the frequency and the tie

3 .
For the upcoming population, apply the following procedures: a) Selection: Based on the fitness function, defined as the process of choosing individuals from the current population to produce the new generation.b) Recombination: Crossover chromosomes and allows the exploration of new solution combinations by recombining genetic material from promising individuals.c) Mutation: The process of introducing random changes in individual solutions by mutating chromosomes.d) Acceptation: Refuse or accept a new candidate.4. Replace the old generation with a new generation.5. Test method criterion.6. Repeat Step 2 to step 5 till the stopping criterion is met.
wind, solar PV energy conversion systems and in addition the electric vehicle loads.The proposed controller consists of the PSO-optimized PID controller in parallel with a fuzzy controller with ACE and changes in ACE as the inputs.The output is the area frequency deviations.

TABLE I :
Rule Base of the Fuzzy Logic Control

TABLE II :
Data Related to Genetic Algorithm

TABLE III :
Data Related to Particle Swarm Optimization

TABLE IV :
Gain Parameters of the GA, PSO and PSO-Fuzzy PID Controllers of the Two-Area AGC Fig. 13.Variation of fitness function with iteration number in PSO-Fuzzy PID controller.

TABLE V :
Performance Comparison of Controllers