Keywords

1 Introduction

The power balance between total load demands with power generation keeps the quality of generated power and stability of power generating system. It can be obtained with help of implementing load frequency control (LFC)/automatic generation control (AGC) scheme in power system. The role of LFC/AGC scheme in power generating system is to keep system stability and quality of power during emergency loading circumstance. In power system, two control loops are available such as primary and secondary control loops. In these, primary control is a slow control loop, and it will keep system stability and quality of power at nominal loading situations only. When higher load demand occurs in system, the control loop generated control signal is not sufficient. At this time, secondary control loop generates the required signal to keep system operation in the predetermined value. From the literature survey, it clearly shows that several controllers are designed and implemented in power system successfully. Simultaneously, several optimization techniques for tuning of controller gain values are utilized for secondary controller gain values tuning for getting desired good power quality.

Improved sine cosine algorithm (SCA)-based adaptive fuzzy-aided proportional–integral–derivative (AFPID) controller is proposed for LFC of an autonomous power generation system (fuel cells along with energy storing units, diesel energy generator, wind turbine generator, solar photovoltaic units) [1]. Kharitonov theorem-based fuzzy logic approach designed proportional–integral controller is considered and proposed for LFC of single-area power system. Simulation result of the proposed controller is compared with conventional PID controller response [2]. Elephant herding optimization algorithm (EHOA) optimized PID controller is considered and utilized for LFC of single-area non-reheat power system. The proposed controller response is compared with genetic algorithm (GA), bacterial foraging optimization algorithm (BFOA), teaching learning-based optimization algorithm-tuned PID controller and quasi-oppositional gray wolf optimization algorithm (QOGWOA) response [3]. A hybrid stochastic fractal search plus pattern search (hSFS-PS) technique-tuned cascade PI-PD controller is proposed and investigated for AGC of multi-source single-area power system (thermal unit, hydro unit and gas power unit with plug-in electrical vehicle (PEV)). The superiority of the proposed controller is shown by comparing with optimal control, DE and TLBO techniques-tuned PI, PID and cascade PI-PID response for the identical power system [4].

Imperialist competitive algorithm (ICA) based optimization technique designed Fractional-order fuzzy PID (FOFPID) controller is applied in multi source power System. The response of controller is examined for AGC of multi-source single-/ two-area power unit (hydrothermal, gas) interconnected power system with/ without considering RFB unit in power system. This response is compared with hybrid stochastic fractal search (hSFS), pattern search (PS), differential evolution (DE), teaching learning-based optimization (TLBO) technique-tuned I, PI and PID controller response [5]. Gray wolf optimizer algorithm-tuned PID controller was designed and demonstrated for three-area interconnected AGC in power system incorporated with solar thermal power plant (STPP). The simulation response is compared with GWO-I, PI and PID controller response [6].

Adaptive set-point modulation (ASPM) method-tuned PI controller is proposed and investigated for LFC of two-area power system with HVDC link. The proposed controller response is compared with conventional controllers (PI, PID) performance [7]. Modified harmony search algorithm (MHSA)-tuned PID controller is proposed and examined for LFC of interconnected two-area hydrothermal power generating system using ITAE objective function. Simulation response of the proposed controller is compared with GA–PID response [8]. BAT algorithm-based PID controller is proposed and demonstrated for LFC of interconnected multi-area power generating system. The proposed controller simulation result is compared with fuzzy gain scheduling technique-tuned PI and conventional controller response [9].

Cuckoo search (CS) algorithm-tuned PID controller is applied in LFC of three-area interconnected power system (two-area reheat thermal systems and hydro system) which is investigated. Effectiveness of the projected technique is compared with GA, PSO-tuned I controller [10]. Genetic algorithm fuzzy system (GAF)-based polar fuzzy logic controller is investigated for LFC of three-area connected (hydro, nuclear and thermal) power generating systems. The performance was compared with fuzzy and conventional PI controller [11]. BAT algorithm (BA)-based cascade PD–PID controller is applied for multi-area reheated thermal power generating system for AGC. The performance of P, PI and PID controllers is investigated and compared with PD–PID cascade controller [12].

Beta wavelet neural network (BWNN)-supported proportional-integral plus (PI+) controller is investigated for interconnected two-area thermal power systems with and without fast-acting energy storage device such as HAE–FC and RFB in load frequency control. The performance of power system is compared with BWNN-based PID controller simulation result [13]. Proportional–integral–derivative with filter (PIDF) is designed and proposed into AGC of a multi-area thermal power system in deregulated environment. Simulation result of designed controller was compared with fuzzy logic controller response [14]. Fruit fly optimization algorithm (FFOA)-tuned I, PI, IDD, PID and PIDD controllers are designed and investigated for AGC of multi-area multi-source (combination of reheat thermal hydro, nuclear) power generating units. The proposed controller response is compared with I, PI, PID and IDD controller response [15].

The above discussed literature review analysis clearly manifests that recently, optimization techniques play a vital role in generating good quality power to consumer. The optimization techniques are used to tune gain values of secondary controllers in power generating system. Many optimization techniques are utilized to solve engineering optimization problems of power systems such as generic algorithm (GA) [16], particle swarm optimization (PSO) [16], gravitational search algorithm (GSA) [17, 18], bacteria foraging optimization (BFO) [19], firefly algorithm (FA) [20, 21], bat algorithm (BA) [12, 22], cuckoo search algorithm (CSA) [10, 23], artificial bee colony [24], hybrid genetic firefly algorithm [25], modified harmony search algorithm [26], hybrid firefly algorithm and pattern search [27], stochastic particle swarm optimization [28], ant colony optimization [29,30,31] and different combinations of controller are variable structure control [32], discrete-mode control [33], classical controller [34], fuzzy IDD controller [35], FOPID controller [36], 2DOF-PID controller [37], robust PID controller [38], fuzzy logic controller [39, 40], adaptive controller [41], PI+ controller [42], optimal control [43], dual-mode gain scheduling of PI controller [44], fractional-order controller [45], 2DOF controllers [46], PD-PID cascade controller [47], integral controller [48], conventional controller [49], fuzzy logic controller [50], PID controller [28,29,30,31] and various optimization techniques are utilized to optimize a variety of engineering issues in real-time application [51,52,53,54,55,56]. The investigation of the literature analysis effectively shows that in recent years, evolutionary computational techniques are implemented to tune controller gain values of power system application for obtaining desired performance of system. In this work, the proposed system has investigated the effectiveness and performance of PSF-HS optimization technique in multi-source power generating system. Also, the performance of the proposed method is compared with PSO, GA and HS optimized controller performance in similar multi-source single-area power generating system.

The association of the remaining proposed chapter is as follows. Sect. 1 clearly discusses about the literature review of the proposed research in detail and Sect. 2 gives the clear transfer function Simulink model of investigated single-area multi-source power generating system (comprises thermal, hydro and gas system). Sects. 3 and 4 give details about the controller and proposed optimization technique tuning process. In Sect. 5, the performance of the proposed technique is compared with GA, PSO and HS tuning method-based controller response to show the efficiency of the proposed technique-tuned secondary controller response under emergency load situation. Finally, the performance of the proposed optimization technique in proposed system is clearly presented in conclusion section.

2 Single-Area Multi-source Power System Modeling

In this proposed work, AGC control of single-area multi-source power generating system is considered for investigation. Multi-source power system comprises thermal unit, hydro unit and gas generating unit. The Simulink transfer function with Simulink model of investigated power system model is shown in Fig. 1. The thermal power system includes single-stage reheat turbine. The simulation work carried out for the single-stage reheat turbine, hydro turbine and gas turbines equipped power system is considered for investigation. In this work, PID controller is applied as a secondary controller for frequency regulation of generated power by generating unit. The primary control loop available in power system does not generate required control signal at the time of emergency situation. To overcome this crisis, secondary PID controller is implemented to keep system stability and quality of generated power system. The nominal parameter values of investigated single-area multi-source power generating system are shown in Table 1, and system simulation model is given in Fig. 1.

Fig. 1
figure 1

Transfer function Simulink model of single-area multi source power system

Table 1 Nominal parameter values of analyzed power system

3 Controller Design

In this work, PID controller is considered for AGC scheme in single-area multi-source power system as secondary control loop. The PID controller structure is depicted in Fig. 2, and it consists of three controller actions with respect gain values. The gain values are proportional, integral and derivative controller, and its gain values are KP, KI and KD, respectively. The input of values of PID controller is considered as area control error, and it is a linear combination of deviations in system frequency and deviation in tie-line power in between connected power system.

Fig. 2
figure 2

Structure of PID controller

Objective Function

At the time of controller gain values, optimization selection of appropriate objective function plays vital role. The objective is selected based on the requirement in system output response. In this proposed research work, ITAE cost function is implemented at the time of optimization controller gain value optimization process. The expression for ITAE objective function is given as follows (1):

$$J = {\text{ITAE}} = \int\limits_{0}^{{t_{\text{sim}} }} {t.|e(t)|{\text{d}}t}$$
(1)

For PID controller parameters (gain values) ranges are chosen in between 0 to 1, and it is given (57). From the earlier structure controller, it is obviously shown that area controller error (ACE) is considered as an input signal, and control signal is considered as the output of controller (UPID) and given in (4). The generated control signal by the controller depends on the ACE values. The ACE is defined as “the linear arrangement of system frequency error and error in tie-line power.” The expression for area control error is depicted in Eq. (3), and PID controller generated control signal is given in Eq. (2).

The PID controller transfer function is given as the following expression:

$$G_{\text{PID}} (s) = K_{\text{P}} + K_{\text{I}} S + \frac{{K_{\text{D}} }}{S}\,\,\,\,{\text{or}}\,\,\,\,\,G_{\text{PID}} (s) = K_{\text{P}} \left( {1 + \frac{1}{{T_{i} S}} + T_{\text{D}} S} \right)$$
(2)

where

Proportional gain is Kp,

Integral gain is Ki,

Derivative gain is Kd,

Integral action time is Ti and

Derivative action time Td.

The expression of ACE is given by:

$${\text{ACE}}_{i} = B_{i} .\Delta F_{i} + \Delta P_{{{\text{tie}}\,\;i,j}}$$
(3)

The generated control signal by each controller in each area as:

$$U_{\text{PID}} = u_{\text{i}} (t) = K_{\text{P}} .{\text{ACE}} + K_{\text{I}} \int\limits_{0}^{t} {{\text{ACE d}}t} + K_{\text{D}} \frac{{{\text{d}}\,{\text{ACE}}}}{{{\text{d}}t}}$$
(4)
$$K_{\text{P}}^{\text{min} } \le \, K_{\text{P}} \le \, K_{\text{P}}^{\text{max} }$$
(5)
$$K_{\rm I}^{\text{min} } \le \, K_{\rm I} \le \, K_{\rm I}^{\text{max} }$$
(6)
$$K_{\rm D}^{\text{min} } \le \, K_{\rm D} \le \, K_{\rm D}^{\text{max} }$$
(7)

where KP, KI and KD are the minimum gain and maximum gain values of the proposed controller gain. The minimum and maximum controller gain values are chosen to be 0 and 1, respectively. The detail about the proposed optimization technique is clearly depicted into the following section, and the corresponding gain values are given in Table 2.

Table 2 Gain values of controller tuned with different optimization techniques

4 Proposed Parameter-Setting-Free Harmony Search Algorithm-Tuned PID Controller

In 2010, Geem and Sim [57] proposed parameter-setting-free harmony search algorithm which is the modified version of classical harmony search [58]. Like the other meta-heuristic algorithms, the performance of the classical harmony search is strongly dependent on the values of its parameters which are harmony memory consideration rate (HMCR) and pitch adjusting rate (PAR). Finding the optimal parameter values is a laborious task which requires expertise and knowledge about the algorithm, its parameters and the problem.

In this context, parameter-setting-free harmony search algorithm is good choice in the optimization of PID controller. Optimum value of HMCR and PAR has been selected through three operations which are random tuning, rehearsal and performance as described in the [57]. In this work, parameter-setting-free harmony search has been applied to optimize Eq. (1) for the single-area power generating multi-source model given in Figure 1. Three parameter values (p, i, d) have to be optimized according to Eq. (1). The history of the HMCR and PAR is given in Fig. 3a, b, respectively. After 300 iterations, optimum controller gain values of GA, PSO, HS and PSF-HS have been reported in Table 2.

Fig. 3
figure 3

a History of HMCR. b History of PAR

5 Simulation Results and Discussions

The proposed PSF-HS algorithm is implemented to tune gain values of PID controller in single-area multi-source power generating system. The model is developed under MATLAB\Simulink environment. The designing details of the proposed system design are given in Sect. 4. The optimal gain values are tuned by implementing optimization technique, and optimized gain values of controller gain values are given in Table 2 for investigated power system.

A 1% SLP is applied into analyzed power generating system for verification of the proposed optimization technique-based controller performance in single-area multi-source power system. The response comparison of the proposed algorithm performance is compared with the open-loop response under sudden load demand situation. The frequency deviation responses of GA-PID controller, PSO-PID controller, HS-PID controller and PSF-HS-PID controller performance verified with response of open-loop system under 1% SLP environment are depicted in Figs. 4, 5, 6 and 7, respectively. The time-domain specification parameters, peak overshoot, settling time and undershoot values, are given in Table 3 for various optimization technique-based controller performances.

Fig. 4
figure 4

System frequency changes comparison with open-loop and GA-based PID controller

Fig. 5
figure 5

System frequency changes comparison with open loop and PSO based PID controller

Fig. 6
figure 6

System frequency changes comparison with open-loop and HS-based PID controller

Fig. 7
figure 7

System frequency changes comparison with open-loop and PSF-HS-based PID controller

Table 3 Settling time (Ts), overshoot (OS), undershoot (US) values for different technique optimized controllers

From the response comparisons in Figs. 4, 5, 6 and 7 in that dashed line shows the result of PSO technique-tuned controller response, and solid line shows the result of open-loop system performance under critical load disturbance situation.

Based on the response comparisons shown in Figs. 4, 5, 6 and 7, it obviously shows that the performance of system is improved compared to open-loop response of system by utilizing optimization technique for optimization of controller gain values. And also, time-domain specification numerical parameters values are shown in Table 3. In addition, the response of GA, PSO, HS and PSF-HS techniques is compared, and time-domain specification numerical parameters values are given in Table 3.

In that comparison of simulation response in Fig. 8, dotted line, dash line, dash dot line and solid lines show the performance of GA, PSO, HS and PSFHS technique-optimized controller response, respectively. From the simulation response comparison result and Table 3 indicates numerical values and it is effectively evident that proposed technique-tuned controller yield minimal settling time over GA, PSO and HS optimization technique-tuned controller response.

The bar chart comparisons in Figs. 9, 10 and 11 shows the values of peak overshoot and undershoot values, settling time for different optimization technique-tuned controllers performance under emergency load demand situation scenario.

The bar chart comparisons (Figs. 9, 10 and 11) of peak overshoot, settling time and undershoot values clearly show that the proposed PSF-HS technique-tuned controller yields better performance over GA, PSO and HS technique optimized controller performance under emergency loading conditions in power system with lesser peak magnitude of system frequency with settling time.

Fig. 8
figure 8

System frequency changes comparison with GA, PSO, HS and PSF-HS-PID controllers

Fig. 9
figure 9

Bar chart comparisons of settling different technique-tuned PID controllers

Fig. 10
figure 10

Comparisons in bar chart of overshoot with different technique-tuned PID controllers

Fig. 11
figure 11

Comparisons in bar chart of undershoot with different technique-tuned PID controllers

6 Conclusion

In this work, automatic generation control of single-area multi-source power generating system is analyzed by the inclusion of secondary PID controller. The single-area multi-source power system comprises thermal, hydro and gas power plant. The PID controller considered as a secondary controller and implemented in single-area power system to keep the power system parameters within the prescribed limit at the time of emergency situation is effectively investigated. In this work, parameter-setting-free harmony search technique is implemented to tune the PID controller gain values, and the performance of the proposed tuning technique is compared with GA technique, PSO technique and HS technique-tuned controller response. The simulation result comparison clearly shows that PSF-HS technique-based PID controller response yields better controlled response over GA, PSO and HS technique-tuned PID controller response in terms of minimal peak over- and undershoot with settling time in the response.