Introduction

Today, most industries and commercial establishments are affected by power quality (PQ) problems. PQ has attracted considerable attention from both utilities and users, due to the use of many types of sensitive equipments. At the user end, due to non-linear loads, two types of problems occur. One is voltage fluctuation (VF) which is further divided into three categories—sag/swell, flicker and interruptions. Other is load frequency control (LFC). With the growth of inter-connected systems, the voltage and frequency controllers have gained importance. Voltage fluctuation (VF) depends on reactive power flow, whereas, load frequency (LF) depends on real power flow. In an interconnected power system, if a load demand changes randomly, both frequency and tie line power varies. The main aim of LFC is to minimise the transient variations in these variables and also to make sure that their steady state errors is zero. LFC is a very important issue in power system operation and control for supplying sufficient and both good quality and reliable power. To improve the stability of the power system, it is necessary to design LFC systems that control the power generation and active power. The main objective of automatic voltage regulator (AVR) is to maintain terminal voltage magnitude of a synchronous generator to a defined level by controlling its excitation voltage. It plays an essential role to control the reactive power and improve the steady state stability of power system. The voltage and frequency controller has gained importance with the growth of interconnected system and has made the operation of power system more reliable.

Literature survey shows many investigations in the area of LFC and automatic voltage regulation (AVR) of single area power system using schemes such as proportional and integral (PI) [1], neural network (NN) [2], fuzzy logic (FL), genetic algorithm(GA) [3] and particle swarm optimization (PSO) [4]. The conventional PI control method does not work well for different load conditions as they are fixed type controllers. Training of neural network and membership functions of fuzzy logic require a large number of input–output samples, hence increasing the mathematical complexity. Although, PSO is population-based search approach, but it requires large data for training the weights and involves highly complex mathematical operations [5].

To overcome the shortcomings of the above mentioned controllers, a novel approach is proposed, that is, hybrid of neural network (NN) and fast traversal filter (FTF) based controller for LFC and AVR systems. Input to the controller that is the error signal is divided into two parts- linear and non- linear. The linear part of the error signal is minimized by FTF algorithm, whereas the non- linear part is minimized by NN algorithm. This controller requires less memory and less number of samples for training, thus making the system fast. This scheme also corroborates improved performance in shorter time, hence making the system computationally efficient.

Literature survey shows that generally studies are made assuming the fact that there is no interaction between LFC and AVR loops. But the AVR and LFC loops are not in true sense non-interacting. Practically, during dynamic perturbations some interactions between these two control loops exist. Interaction exists in opposite direction of the loops, or in simpler words, control actions in AVR loops, which is a faster loop, affect the magnitude of generator emf. Voltage fluctuations can be controlled by adjusting the excitation winding of the generator [6]. As internal emf determines the magnitude of real power, it is clear that changes in AVR must be felt in LFC loop [6, 7]. Combined model for LFC and AVR were first studied with PI controller in paper [8] for the first time. This work has been extended with the proposed controller Therefore, in this paper, a study is done by incorporating the proposed controller in the combined model (LFC and AVR) for dynamic improvement and its effects on steady state response of turbine output power (Pm). Dynamic behavior of transients is improved by the proposed controller, as shown in the simulation results. Finally, simulation results of the proposed controller are compared with model of combined loops (LFC and AVR) and LFC loop alone. Simulated results also show that there is interaction between LFC and AVR loops.

The Proposed Controller

In the nascent approach, the input signal to the controller is divided into linear and non- linear part. Using FTF algorithm for the linear part and neural network for the non- linear part of the error signal, an efficient controller is developed to achieve faster convergence of weights and the least square of error with a small number of samples. Figure 1 shows the block diagram of the proposed controller, that is NN and FTF based controller. Set point and error signal are inputs to the FTF part of the controller whereas error signal is input to the NN part of the controller. This concept originates from the fact that the non- linear part of the signal tries to adhere to the set point (r) and the linear part (e) tries to maintain the linearity between the two consecutive points. The output of the controller is the sum of the outputs of the non-linear block that is neural network (u1) and the linear block (u2).

Fig. 1
figure 1

Block diagram of the proposed controller

The two parts of the controller are explained as follows:

Fast Transversal Filter (FTF)

As clear from the name, transversal FTF makes use of the combination of four separate nth order filters in unison. These filters are denoted by:

  1. 1.

    wn(n), Least squares (LS) prediction filter

  2. 2.

    fn(n), forward prediction error filter

  3. 3.

    bn(n), backward prediction error filter

  4. 4.

    gn(n), gain filter

These filters are the direct consequence of:

  1. 1.

    Requiring the LS prediction filter to be wn(n) transversal in nature.

  2. 2.

    Maintaining the required LS orthogonal conditions at both times n−1 and n.

In predicting LS, the LS error criterion is used to optimally predict the desired signal using the required data. Prediction should be done with a transversal filter structure. The second LS transversal filter used in FTF algorithm is an nth order forward linear prediction filter. This filter computes the Forward Prediction Error (FPE) between the current data vector x(n) and a prediction xf(n) based on the knowledge of past data vectors. The third transversal filter is an nth order backward filter. This computes the Backward Prediction Error (BPE) between the current data vector x(n) and a prediction xb(n) based upon the future data vectors. The last one is the Gain Traversal Filter gn(n). In general, it can be said that these four filters and other scalar parameters are all a natural consequence of minimizing the original LS error. Equations for FTF algorithm are given in Appendix.

The output of the FTF algorithm block, u2(k) is given by

$$ {\text{u}}_{ 2} ({\text{k}}) = {\text{ w}}_{\text{f1}} \times {\text{r}}({\text{k}}) \, + {\text{ w}}_{\text{f2}} \times {\text{r}}({\text{k}} - 1) $$
(1)

where, wf1 and wf2 are the FTF weights to be updated so as to minimize error.

Neural Network (NN)

A three layered feed-forward neural network is used.

Input to neural network is the error between the set point and the actual output (load frequency). Here, the actual output is the instantaneous value of the system output when simulink model is run.

The output of the NN, u1(k) is given by

$$ u_{1} (k) = \psi \left[ {\sum\limits_{k = 0}^{n} {w_{k} e_{k} + b} } \right] $$
(2)

where, n is the number of samples taken at a time; wk are the weights of the neural network; b is the bias, u1 is the output of the NN controller.

The weights of the NN are adjusted by well-known back propagation algorithm.

As in Fig. 1, the output of FTF controller (u2) and NN controller (u1) add to give the final output of the proposed controller (u).

Thus, the output of the controller u(k) is:

$$ {\text{u}}({\text{k}}) \, = {\text{u}}_{ 1} ({\text{k}}) \, + {\text{ u}}_{ 2} ({\text{k}}) $$
(3)

System Modeling of Single Area Power System

In our study, one machine-infinite bus system with a local load have been considered as shown in Fig. 2, where Z denotes series impedance of transmission line and Y denotes the shunt admittance as a local load. The two main control loops of a generation system are LFC and AVR as seen in Fig. 3.

Fig. 2
figure 2

Power system under study

Fig. 3
figure 3

Schematic layout of LFC and AVR of a synchronous generator

Linearized Model: Basic Generator Control Loops

The schematic layout of the voltage and frequency control loops is represented in Fig. 3 [4] and Fig. 4. In these loops, LFC and AVR equipments are installed for each generator. Frequency control is slow acting while excitation control is fast acting. Reason for this is that the time constant contributed by the turbine and generator in LFC loop is much larger (mainly due to moment of inertia) than that of the generator field in AVR loop. Thus, load frequency and excitation voltage control are generally analyzed independently assuming that cross coupling between the LFC loop and the AVR loop is negligible. LFC and AVR loops for automatic generation are shown in Fig. 4 when dealt separately.

Fig. 4
figure 4

Automatic generation control with LFC and AVR loops

Load Frequency Control (LFC)

The aim of LFC is to maintain load frequency balance in the system through control of system real power. Even small changes in real power demand lead to changes in frequency. Simulink model of LFC is shown in Fig. 5 [4]. Change in frequency is the input to the controller and its output becomes input to the governor turbine set. Step increase in the load is added to get load frequency variation. R is regulation constant in Fig. 5. This method is referred to as power frequency (P–f) or megawatt frequency control.

Fig. 5
figure 5

Simulink model of LFC with NN + FTF controller

Automatic Voltage Regulator (AVR)

Figure 6 is the simulink model for AVR [4]. The controller senses the difference between the reference voltage and the rectified voltage derived from the stator voltage. Controller output is amplified and fed to the excitation circuit. The change of excitation maintains the reactive (VAR) balance in the network. This method is referred to as reactive voltage (QV) or megawatt volt amp reactive (MVAR) control.

Fig. 6
figure 6

Simulink model of AVR with hybrid NN + FTF controller

First, the system modeling is done for LFC loop alone for change in load of 0.1 p.u. Figure 7 shows the simulink model of controller sub-system. Error in actual and reference frequency is the input to the neural controller subsystem and error and reference frequency are inputs to the FTF controller subsystem. MATLAB function along with a bus system is used in the simulink model of FTF controller which is shown in Fig. 8. Error, change in error, reference frequency and ramp function are the inputs to the MATLAB function block for FTF algorithm and its output are weights of the filter. Output u2 is the product of weights and reference value. Embedded MATLAB function used in the simulink model of Neural Network is shown in Fig. 9. Three layer feed forward neural network is used. Initial weights (w1, w2) and biases (b1, b2) are randomly initialized. These are updated to new weights (w11, w22) and biases(b11, b22) by using back propagation algorithm.

Fig. 7
figure 7

Simulink model for the proposed controller sub-system

Fig. 8
figure 8

Simulink subsystem for FTF controller

Fig. 9
figure 9

Simulink subsystem for neural controller

Simulated Results and Conclusion

The simulation was performed using the simulink package available in MATLAB version 7.2. The simulation is done for the model with LFC loop alone for change in load of 0.1 p.u with different controllers—PI, Neural, PSO and the proposed controller. Figure 10 shows the dynamic response of frequency deviation with the proposed controller for LFC alone. The comparison of the dynamic response in terms of peak overshoot, settling time and steady state error with different controllers is tabulated in Table 1. Figure 11 shows the comparative analysis of different controllers. As seen from Fig. 11, steady state error is improved to 0.2 with PSO and to 0.02 with proposed controller as compared to PI and Neural Controller. Peak overshoot and settling time are also reduced considerably using the proposed controller as compared to PSO. Table 1 and Fig. 11 clearly show that the proposed controller makes the dynamic response faster, smoother and minimizes the steady state error.

Fig. 10
figure 10

Frequency deviation with the proposed controller for LFC alone

Table 1 Comparison of the proposed hybrid controller with other controllers for LFC
Fig. 11
figure 11

Comparative analysis of different controllers

Combined Model for LFC and AVR Loops with Proposed Controller

After seeing the superiority of the proposed controller with LFC alone, as compared to the classic controllers, now a combined model for LFC and AVR loops with the proposed controller is modeled.

AVR and LFC loops are not in the truest sense non-interacting; cross coupling may at times be troublesome. Interaction in the two loops exists in the opposite direction. Control actions in AVR loop affect the magnitude of generator emf. Internal emf determines the magnitude of real power, therefore changes in AVR loop must be felt in LFC loop [6]. For more accuracy in dynamic and steady state responses, mutual effects between LFC and AVR loops are investigated in a combined simulink model of LFC and AVR loops.

System Modeling [6]

A complete system model for low frequency oscillation studies including mechanical and electrical loops of a single machine-infinite bus model of a power system is considered. One-area power system with local load under study is shown in Fig. 2.

In LFC system, the effect of unbalance between electromagnetic torque and mechanical torque of individual machines is described by the rotational inertia equations. Even small deviation and perturbation in speed can completely change the swing equation to:

$$ \Delta f = \frac{{K_{p} }}{{1 + sT_{p} }}\left[ {\Delta P_{m} - (\Delta P_{L} +\Delta P_{e} )} \right] $$
(4)

where ΔPe is the internal electrical power deviation which is sensitive to the load characteristics; ΔPm is the deviation in power generation; ΔPL is the change in load demand (real power); Kp and Tp are power system equivalent gain and time constant respectively.

The derivation of Eq. (4) can be seen from [8].

The combined model for LFC and AVR loops for power system is based on Eq. (4). The simulink model for the combined loops is shown in Fig. 12 and the nomenclature used is listed below:

Fig. 12
figure 12

Combined model for LFC and AVR loops with proposed controller

R:

Droop characteristic

Tt :

Turbine time constant

TG :

Governor time constant

Ka :

Amplifier gain

Ta :

Amplifier time constant

Kr:

Sensor gain

Tr :

Sensor time constant

T3 :

Generator-field transient time constant

Δf:

Deviation in load frequency

ΔVt :

Deviation of terminal voltage

ΔPe :

Deviation of internal electrical power

ΔVf :

Deviation of field winding voltage

Δδ:

Deviation of torque angle

Simulated Results

The simulation was performed using the simulink package available in MATLAB version 7.2. The simulation was done for the combined model for LFC and AVR loops with the proposed controller assuming that real power 0.9 p.u., reactive power 0.6 p.u., machine terminal voltage deviation 0.091p.u. and change in load 0.1 p.u. The values of K1–K6 parameters shown in Fig. 12 for this condition are tabulated in Table 2. Details about calculation of these parameters are given in [8]. Values for different power system parameters for the simulink model are shown in Table 3.

Table 2 Values of K1–K6
Table 3 Parameters for LFC and AVR model

Figure 13 shows the plots for dynamic responses of combined model for LFC and AVR loops with proposed controller and model with LFC loop alone.

Fig. 13
figure 13

a Plot for frequency deviation (delf) Hz, b dynamic response for turbine output power (delpm) p.u. MW, c dynamic response for electrical power deviation (delpe) p.u. MW, d Plot for terminal voltage deviation (vt) p.u

Figure 13a, b show that there is significant effect on the dynamic responses for deviation in load frequency (delf). As clear from Fig. 13a for delf peak undershoot increases to 0.58 p.u. with the combined model from 0.045 p.u. with LFC loop alone. From Fig. 13b, without AVR loop the deviation in mechanical power (pm) is 0.1 p.u., but when both the loops are considered, deviation in pm reduces to 0.08 p.u. Thus, there is reduction of mechanical power when both loops are considered. The electrical power (pe) goes negative as can be seen in Fig. 13c clearly indicating that reduction in mechanical power is supplied by the AVR loop. Figure 13d shows variation in voltage when both loops are considered.

The new proposed controller gives less oscillations than PI controller [8] and combination of PI with power system stabilizer [9] thereby improving the dynamic response considerably.

Conclusion

The characteristics of a reliable power supply are good terminal voltage response and minimum frequency deviation. In the initial part of the paper a novel approach of hybrid NN and FTF based controller is proposed to make the system’s dynamic performance faster and smoother. The conventional controllers like PI, neural and PSO used have large peak overshoot, settling time and steady state error. The proposed controller provides satisfactory stability between frequency overshoot and transient oscillations with zero steady state error. The simulated results show that the proposed controller makes the dynamic response faster, smoother and minimizes the steady state error. In the later part of the paper importance of study of combined model with LFC and AVR loops with the proposed controller are investigated. Simulated results of model with combined LFC and AVR loops are compared with LFC loop alone for one area power system. Results show that there is interaction between LFC and AVR loops.