- Original research
- Open access
- Published:

# A new two-degree of freedom combined PID controller for automatic generation control of a wind integrated interconnected power system

*Protection and Control of Modern Power Systems*
**volumeÂ 7**, ArticleÂ number:Â 20 (2022)

## Abstract

Frequency control of an interconnected power system in the presence of wind integration is complex since wind speed/power variations also affect system frequency in addition to load perturbations. Therefore, improving existing control schemes is necessary to maintain a stable frequency in such complex power system scenarios. In this paper, a new 2-degree of freedom combined proportional-integral and derivative control scheme is applied to a wind integrated interconnected power system. In designing the controller, several inputs used for a secondary frequency control loop are considered along with the merits of the existing controllers. The combined controller provides better control action than existing controllers in the presence of wind as is evidenced by the wide variety of results presented. For tuning of the controller gains, a crow search optimization algorithm (CRSOA) is used. Results are obtained via the MATLAB/Simulink software.

## 1 Introduction

Power imbalance between generating and demand units is the main reason for frequency deviation, while the integration of renewable resources into a power network increases the imbalance which in turn influences system frequency. Scrutiny of stability in interconnected power systems is a significant issue because of the advanced nature and complexity of the modern power system. A slight discrepancy in the real power demand and its associated losses from active power generation can deviate the operating frequency and tie line power from their nominal values [1]. Primary control can be achieved by appropriate selection of speed regulation parameter â€˜Râ€™, while an ancillary service like Automatic Generation Control (AGC) addresses the problem due to both frequency and tie line power deviations by nullifying the area control error (ACE) and conserving system stability in addition to engaging the security and reliability constraints in the system [2]. The key intentions of AGC are to enhance the dynamic response of the system by damping the steady state frequency and to keep power exchange deviations within tolerable limits. It alters the operating points of the generators to harmonize with the continuously changing load demand, as advocated by an appropriate control strategy. Integration of renewable energy sources like photovoltaics (PV), wind turbines, energy storage systems, fuel cells (FC) and batteries with conventional power system is expanding because of generation shortfall and depletion of fossil fuels, increasing fuel cost, environmental concerns and global warming. However, they add a burden to the control strategy because of their limitations [3,4,5]. Classical AGC controllers have proven to be robust and are well suited for decentralized systems when the system parameters are rigid. Classical controllers of I, PI, ID, PID, IID, and PIDN have been extensively used and covered in the literature because of their simple mathematical models and practical feasibility [6], though they have been found to be burdensome in assuring stability in the non-linear AGC problem. The superiority of a controller depends on not only its fast control action but also its ability to sustain the nonlinearities such as governor dead band (GDB) and boiler dynamics (BD). Cascading the independent classical controllers facilitates more options to attenuate the disturbance and process the error accurately to simulate a smooth transient response. PI-PD [7] and PD-PID [8, 8] are used in AGC to test their capability for wide variations in load and system parameters. The flexibility and robustness of supplementary control in an AGC can be enhanced by incorporating higher degrees of freedom. A 2-DOF-PID controller has one additional closed loop transfer function that can be independently controlled to track the set point and reject noise. The empirical formulae for optimal parameters and its functions are given in [10]. The optimized 2-DOF-PID and 2-DOF-IDD controllers are implemented successfully in AGC and this leads to significant reductions in the performance index [11,12,13]. A 2-DOF-FOPID is implemented for three unequal thermal power systems with GRC and it provides good time response characteristics under load uncertainties [14, 14]. However, there is a compromise among the inversely related disturbance and noise rejection parametrics.

The aforementioned shortcomings motivate the design of a combined controller. Based on the merits of 2-DOF-PID controller with filter coefficient and regular PID controller without filter, they are recombined to produce improved control for a plant. Optimization algorithms enhance the effectiveness of the controllers by apposite selection of tuning parameters and nullifying ACE swiftly, thereby aiding the suitability and selectivity of the controller. The Crow search optimization algorithm [16] is demonstrated to be a better tuner than existing optimization techniques [5]. In this paper, the effectiveness of the combined controller is exhibited by optimizing the gains using the crow search algorithm for superior dynamic response of the system and to yield better performance than existing controllers. The combined controller performance is tested on a multi-area interconnected system without wind integration, with wind integration, load perturbations, and wind changes along with noise. The detailed illustrations regarding the structure of the controller, optimization algorithm and results are presented in the following sections.

## 2 System studied

In this paper, a two-area interconnected power system with wind penetration and thermal units in individual areas is simulated in MATLAB/Simulink to investigate the new combined controller scheme. FigureÂ 1 shows the simulated system block diagram, in which area I consists of one thermal plant integrated with sufficient wind generation whereas area II is operated with a single thermal plant. Investigations are carried out in three cases to show the improvement in the stability of the interconnected power system in the presence of the combined controller in two scenarios of wind integration. In case 1, load perturbations are considered in a particular area where the wind power is maintained at a constant level. In case 2, limited variation in wind speed is considered along with regular load changes but the overall contribution of the wind change is less than the demand variation and therefore has limited influence on the system frequency. Large wind variations are introduced along with load changes in case 3. In all these cases, wind changes do not dominate load perturbations and hence the additional frequency oscillations caused by these changes are negligible. However, the wind speed/power changes in area I dominate load perturbations and severe frequency oscillations are observed. Hence, suitable controller design is essential to minimize the frequency disturbances caused by load and wind power variations. The load perturbations are simulated with step functions and the wind power generation is designed with a stochastic model available in [17, 17]. Under these disturbance models, the system response is studied using the combined controller and is compared with existing PID and 2-DOF-PID controllers. The performance of the combined controller is evaluated in two scenarios and the structure of the controller and its mechanism are provided in Sect.Â 3.

## 3 Combined 2 DOF PID coupled classical controller

Several controllers have been applied to the AGC problem to maintain the system frequency within limits during load disturbances. During random load perturbations, the presence of a PID controller in the generation secondary control loop of multi-area interconnected power systems provides better performance than either with an I/PI controller or without a controller. Because of the integration of renewable sources, additional disturbances are added to the AGC problem and hence a proper control strategy is needed in order to limit frequency oscillations for such additional disturbances along with load changes. Therefore, a new proposed controller is investigated for wind integrated power systems. A classical PID without filter-coefficient and a 2-DOF-PID controller with filter coefficient are chosen for implementation of the combined complex controller to satisfy control system performance specifications and to provide superior results. FigureÂ 2 shows the 2-DOF-PID-controller connection structure for plant \(P\left( S \right)\), one which utilizes two inputs called reference input \(R\left( S \right)\) and output \(Y\left( S \right)\). To improve the response of the control system under large and regular disturbances, an additional PID controller \(C_{2} \left( S \right)\) is connected with the help of output signal \(Y\left( S \right)\) along with original control blocks of the 2-DOF-PID controller \(F\left( S \right) \;and\; C_{1} \left( S \right)\). This modified combined controller set up for the plant is shown in Fig.Â 3, and the transfer functions of the combined individual controller components are given by:

In (1), \(P_{w}\) and \(D_{w}\) are the weighted coefficients of degree of freedom controllers, \(N\). is the first order filter coefficient, \(k_{p} , k_{i} \;and \;k_{d}\). are the proportional, integral, and derivative parameter gains of the 2-DOF-PID controller, respectively. In (3), \(k_{pc} , k_{ic} \;and \;k_{dc}\) are the proportional, integral, and derivativearameter gains of the coupled PID controller, respectively. The proposed contller structure shown in Fig.Â 3 has an additional feedback control block \(C_{2} \left( S \right)\) to provide additional stability and fast response since its structure is a regular PID controller. On the second side, there is no additional input requirement for the combined controller as it uses the same reference input \(R\left( S \right)\) and output \(Y\left( S \right)\) as the 2-DOF-PID controller. Together, the control input to the plant from the combined controller is given by:

In (4), the additional control signal provided with the help of two control blocks of the combined controller set up with output signal as input is capable of decreasing additional oscillations and increases the overall stability of the system. The effect of this additional controller is presented in detail in Sect.Â 5.

## 4 Application of controllers to the LFC problem with tuning mechanism

Since the control signal provided by most of the advanced secondary controllers to reduce the frequency oscillations of the power plant uses two-reference input signals, known as ACE and change in frequency \(\Delta f\). A regular PID controller uses the ACE signal as reference in a multi-area interconnected power system scenario and change in frequency in the isolated scenario. As both signals are available in each area, the PID component in the combined controller is actuated by \(\Delta f\) instead of the ACE signal. This eliminates the additional noise at corner points in the LFC problem and complications in practical applications. The combined secondary controller set up for minimization of frequency oscillations of interconnected power system scenario is presented in Fig.Â 4.

The combination of two controllers increases the number of decision variables to 9 and hence a centralized controller structure is opted for here, so that even though the number of plants of each area increases the dimension of the control problem remains the same. For optimal tuning of these combined controller parameters, the crow search optimization algorithm (CRSOA) is adopted. CRSOA is a heuristic population search-based algorithm implemented from crowsâ€™ intelligence introduced by Askar Zadeh in 2016 [16]. Crows are known as clever birds which interact in all critical situations to achieve better group solutions. After some time period, crows recall their food hiding places and the memory allocations help to achieve better solutions in real time problems. Another interesting fact is that crows can also cheat other crows by moving to another place. By taking these merits of the intelligence in crows, the CRSOA algorithm is proposed. In the CRSOA, assuming that N is flock size and \(n\) is the number of decision variables of the problem, the initial solution of the problem (position of each bird at iteration k) is denoted as:

Since the crows have memory of the food the hiding places are given by (the allocation is different for different crows):

EquationsÂ (5)â€“(6) are the steps in initialization of the CRSOA. Based on memory strategies of individual crows, the new position of crow *i* is obtained as follows:

where \(r_{i}\) is a random number and \(fl_{i,k}\) is the flight length. Based on awareness probability (AP), the position of a crow for the next iteration is selected as:

Depending on AP values, the CRSOA changes its search region and \(r_{i}\) is a uniform distribution between 0 and 1. The intelligent behavior of crows inculcated in the algorithm provides global optimum solutions. For identification of optimal values of the combined controller, ones which minimize the overall frequency oscillations of each area in the interconnected power system, an objective function is framed with the output variables and the value of the objective function depends on the controller parameter selection. Since the test system consists of two areas with three output variables known as frequency change in area I (\(\Delta f_{1}\)), frequency change in area II (\(\Delta f_{2}\)) and power transfer between the two areas (\(\Delta P_{12}\)), it leads to a unique fitness function given by:

The individual output variables of the system depend on the controller variables and can be decided directly by the CRSOA. Since the proposed controller is a combination of 2-DOF and PID controllers, a total of 9 variables are required in each area with isolated plants so that the problem dimension is 18 for the two-area interconnected system and the limits of the variables are given by:

In (10), suffix \(c_{1}\) and \(c_{2}\) represent the parameters in controller components \(C_{1 }\) and \(C_{2}\), respectively. However, the same CRSOA is used for tuning the controller parameters of individual 2-DOF and PID controllers for comparison purposes and to show the superiority of the combined controller from different perspectives. All the advantages of the combined controller in different operational modes are discussed in detail in Sect.Â 5.

## 5 Simulation results

During small load perturbations, primary regulation of the conventional generating units is capable of maintaining the system in a stable operating region. However, the stability of the system is enhanced with the help of a secondary control mechanism which also provides additional control during large load disturbances to keep the system in that region. Providing proper control becomes more complex when the systems are integrated with large wind farms where the wind generation is more volatile in nature. The combined controller is studied here with different wind power along with regular load perturbations, and the results are compared with other controllers.

### 5.1 Performance of combined controller at constant wind power condition

When the power system is integrated with wind, the relative frequency oscillations are comparatively high because of the particular property of wind speed and power. To study the combined controller in line with the improvements over conventional controllers, initially an interconnected system with constant wind power is considered. This case is similar to a system without wind integration in both areas. In this case, two load perturbation conditions are evaluated and the system outputs are compared to show the efficacy of the combined controller.

When 5% load is decreased in area I at 0Â s and the power demand of area II is maintained at a constant level, Fig.Â 5 shows various output signals of the interconnected power system. Large frequency oscillations are observed in area I as shown in Fig.Â 5a since the load disturbances occurred in area I. Because of the interconnection, small frequency changes are observed in area II as shown in Fig.Â 5b. This happens in the system because of tie line power flow between both areas as shown in Fig.Â 5c. With this load change, for the traditional interlinked system, the combined controller reduces frequency oscillations of both areas to a greater extent than the other 2 controllers as shown in Fig. 5a, b. The parameters of the combined controller and the existing controller are tuned by the CRSOA with the same common and control parameters. The tuned parameter values are listed in Table 1. In addition to frequency oscillations, the combined controller also reduces the inter tie line power fluctuation during load disturbance. Such improvements are measured in terms of transient and steady state specifications and are presented in Table 3. When the load change condition is reversed, i.e., 10% of load increase in area II at 0Â s and the demand of area I is maintained at a constant level, the system responses are presented in Fig.Â 6. In this case, the combined controller also produces a better response than the existing controllers, and controls the frequency oscillations in a better manner along with tie line power fluctuation. The combined controller yields a better solution for minimizing frequency oscillations under any load change in the presence of traditional generating units.

### 5.2 Performance of combined controller with wind speed noise

When stochastic variations of wind speed are considered, and then are followed by load changes, the responses of PID, 2 DOF and the combined controllers are presented in Fig.Â 7. The low frequency oscillations caused by small wind variations are reduced by the combined controller in a better manner than with the other two controllers. In both areas, similar observations are obtained. In this case, these variations are inserted in area I only. When both areas are integrated with wind farms and small wind variations are presented during the operation, the responses of the system in the presence of PID, 2 DOF and combined controllers are presented in Fig.Â 8. In both cases, the combined controller reduces frequency oscillations in a better way than the other controllers irrespective of wind penetration scenarios.

### 5.3 Performance of combined controller with wind power variations

Along with wind noise and load changes, when wind penetrations in area I change, the performances of the three controllers are presented in Fig.Â 9. Three types of variations in area 1 are observed in Fig.Â 9 including wind disturbances ofâ€‰+â€‰3% at 20Â s and âˆ’â€‰6% at 40Â s, and load changes as shown in Fig.Â 10. In the process of minimization of system frequency oscillations, the combined controller provides better control even with wind noise. The control signals provided by the other two controllers are comparatively weak even though all controllers are tuned by the same optimization algorithm. The tuned parameters of PID, 2-DOF PID and the combined controllers are listed in Table 2.

In all the disturbances, the frequency and tie line power oscillations are very low when the combined controller is presented in the secondary control loop of the generating units, and when compared to PID and 2-DOF PID controllers (Table 3). The corresponding performance specifications are listed in Tables 4 and 5 during wind power increase and decrease, respectively. Another important point is that the upper and lower bounds of all the controller parameters are the same when tuned by the crow search algorithm. Major disturbances are initiated in area II and the responses are presented in Fig.Â 11 with load step changes shown in Fig.Â 12. In both cases, the combined controller provides the best results.

In addition, fitness values achieved with CRSOA for all three controllers are presented in Fig.Â 13 for case 1. For the combined controller, the fitness value is 0.01142 which is relatively smaller than the values achieved with PID and the 2 DOF PID controller. The results validate the improvement of response of the combined system during load changes.

### 5.4 Influence of load and inertia parameter variations on output responses in presence of combined controller

Among all system parameters, the power system gains and time constants vary significantly because of the dynamic nature of the related parameters during operation. When the interconnected power system is equipped with the combined controller in the secondary control loop, the variations of aforementioned parameters are negligible as shown in Fig.Â 14. FigureÂ 14a, b show the frequency changes of the areas when the power system gain values vary toâ€‰+â€‰25% and âˆ’â€‰25%, whereas Fig. 14c, d show the frequency changes of the areas when the power system time constant values vary toâ€‰+â€‰25% and âˆ’â€‰25%. From these results, it is very clear that their impact on the output variable values are negligible even for large changes in system parameter values, especially for the combined controller. This shows the advantage of the combined controller over the others in dynamic conditions.

## 6 Conclusions

Based on the merits of the regular PID and 2-DOF-PID controllers, a new controller is designed to improve the overall response of an interconnected power system in the presence of large wind penetration. The system frequency and inter tie-line power fluctuations are minimized by the combined controller in the presence of continuous load and wind power changes with better performance than existing controllers. This control strategy also reduces parameter variation effects on system outputs, e.g., frequency variation. Overall, the combined controller tuned by the crow search algorithm is the best choice in LFC applications especially with renewable integrated systems for maintaining a stable frequency and power flows.

## Availability of data and materials

Not applicable.

## References

Kothari, M. L., Nanda, J., Kothari, D. P., & Das, D. (1989). Discrete-mode automatic generation control of a two-area reheat thermal system with new area control error.

*IEEE Transactions on Power Systems,**4*(2), 730â€“738.Kumar, P., & Kothari, D. P. (2005). Recent philosophies of automatic generation control strategies in power systems.

*IEEE Transactions on Power Systems,**20*(1), 346â€“357.Rahman, A., Saikia, L. C., & Sinha, N. (2017). Automatic generation control of an interconnected two-area hybrid thermal system considering dish-stirling solar thermal and wind turbine system.

*Renewable Energy,**105*, 41â€“54.Ibraheem, R., Niazi, K. R., & Sharma, G. (2015). Study on dynamic participation of wind turbines in automatic generation control of power systems.

*Electric Power Components and Systems,**43*(1), 44â€“55.Hasanien, H. M., & El-Fergany, A. A. (2017). Symbiotic organisms search algorithm for automatic generation control of interconnected power systems including wind farms.

*IET Generation, Transmission and Distribution,**11*(7), 1692â€“1700.Saikia, L. C., Nanda, J., & Mishra, S. (2011). Performance comparison of several classical controllers in AGC for multi-area interconnected thermal system.

*International Journal of Electrical Power and Energy Systems,**33*(3), 394â€“401.Gorle, P. K., Srinu Naik, R., & Prasad, C. D. (2021). Application of the PI-PD cascade control scheme in AGC of a deregulated power system with PV in the presence of communication delay.

*International Journal of Ambient Energy,**52*, 1â€“12.Dash, P., Saikia, L. C., & Sinha, N. (2015). Automatic generation control of multi area thermal system using Bat algorithm optimized PD-PID cascade controller.

*International Journal of Electrical Power and Energy Systems,**68*, 364â€“372.Patan, M. K., Raja, K., Azaharahmed, M., Prasad, C. D., & Ganeshan, P. (2021). Influence of primary regulation on frequency control of an isolated microgrid equipped with crow search algorithm tuned classical controllers.

*Journal of Electrical Engineering and Technology,**16*(2), 681â€“695.Araki, M., & Taguchi, H. (2003). Two-degree-of-freedom PID controllers.

*International Journal of Control, Automation, and Systems,**1*(4), 401â€“411.Sahu, R. K., Panda, S., Rout, U. K., & Sahoo, D. K. (2016). Teaching learning based optimization algorithm for automatic generation control of power system using 2-DOF PID controller.

*International Journal of Electrical Power and Energy Systems,**77*, 287â€“301.Zhao, X., Lin, Z., Fu, B., He, L., & Fang, N. (2018). Research on automatic generation control with wind power participation based on predictive optimal 2-degree-of-freedom PID strategy for multi-area interconnected power system.

*Energies,**11*(12), 3325.Dash, P., Saikia, L. C., & Sinha, N. (2014). Comparison of performances of several Cuckoo search algorithm based 2DOF controllers in AGC of multi-area thermal system.

*International Journal of Electrical Power and Energy Systems,**55*, 429â€“436.Debbarma, S., Saikia, L. C., & Sinha, N. (2014). Automatic generation control using two degree of freedom fractional order PID controller.

*International Journal of Electrical Power and Energy Systems,**58*, 120â€“129.Nayak, J. R., Shaw, B., Sahu, B. K., & Naidu, K. A. (2021). Application of optimized adaptive crow search algorithm based two degree of freedom optimal fuzzy PID controller for AGC system.

*Engineering Science and Technology, an International Journal*.Askarzadeh, A. (2016). A novel metaheuristic method for solving constrained engineering optimization problems: Crow search algorithm.

*Computers and Structures,**169*, 1â€“12.Bevrani, H., Feizi, M. R., & Ataee, S. (2015). Robust frequency control in an islanded microgrid: Hâˆž and Âµ-Synthesis approaches.

*IEEE Transactions on Smart Grid,**7*(2), 706â€“717.Pan, I., & Das, S. (2014). Kriging based surrogate modeling for fractional order control of microgrids.

*IEEE Transactions on Smart grid,**6*(1), 36â€“44.Hasanien, H. M. (2018). Whale optimisation algorithm for automatic generation control of interconnected modern power systems including renewable energy sources.

*IET Generation, Transmission and Distribution,**12*(3), 607â€“614.

## Acknowledgements

Not applicable.

## Funding

This research received no specific grant from any funding agency in the public, commercial or not-for-profit sectors.

## Author information

### Authors and Affiliations

### Contributions

ANKâ€”analyzed, developed and wrote the original manuscript. BSâ€”validated and supervised and reviewed the manuscript. Both authors read and approved the final manuscript.

### Authorsâ€™ Information

Appala Naidu Karanam received B.Tech. degree in Electrical and Electronics Engineering from Vignanâ€™s Institute of Information Technology, Visakhapatnam in 2010. And M.Tech. degree in Power electronics and drives from VIT University, Vellore in 2013. He is currently pursuing Ph.D. degree in Electrical engineering from NIT Raipur, India. His current research interests include Power system control and soft computing techniques.

Binod Shaw received Ph.D. degree in electrical engineering from the Indian Institute of Technology (ISM), Dhanbad, Jharkhand, India. He is currently working as an Assistant Professor with the Department of Electrical Engineering, National Institute of Technology, Raipur, India. His research interest includes power system control, optimization techniques, renewable energy and application of AI in RES.

### Corresponding author

## Ethics declarations

### Competing interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

## Appendix

### Appendix

P_{R}â€‰=â€‰2000Â MW (rating), P_{L}â€‰=â€‰1000Â MW (nominal loading), fâ€‰=â€‰60Â Hz, B_{1}â€‰=â€‰B2â€‰=â€‰0.045 p.u. MW/Hz; R_{1}â€‰=â€‰R_{2}â€‰=â€‰2.4Â Hz/p.u.; T_{G1}â€‰=â€‰T_{G2}â€‰=â€‰0.08Â s; T_{T1}â€‰=â€‰T_{T2}â€‰=â€‰0.3Â s; K_{PS1}â€‰=â€‰K_{PS2}â€‰=â€‰120Â Hz/p.u. MW; T_{P1}â€‰=â€‰T_{P2}â€‰=â€‰20Â s; T_{12}â€‰=â€‰0.545 p.u.

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Karanam, A.N., Shaw, B. A new two-degree of freedom combined PID controller for automatic generation control of a wind integrated interconnected power system.
*Prot Control Mod Power Syst* **7**, 20 (2022). https://doi.org/10.1186/s41601-022-00241-2

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s41601-022-00241-2