Introduction

Due to rapid industrialization and urbanization, the load demand increases day by day. In order to meet the growing load demand, the level of power transmission increases largely through existing interconnections. These interconnections are becoming weak, and inadequate load characteristics added to the problem cause spontaneous low-frequency (1–3 Hz) oscillations. To preserve the synchronism against these oscillations, adequate damping is required [1]. Power system stabilizer (PSS) is the most popular device to damp out these oscillations [2]. However, traditional PSS cannot damp out all oscillations except local oscillation mode. In addition, PSSs cannot provide sufficient damping for oscillations resulting from severe faults such as three-phase short-circuit fault.

During the last two decades, invent of power electronics technology-based flexible AC transmission system (FACTS) acts as a promising application toward power system stability [3]. FACTS controllers have the potential to significantly improve the stability margin. FACTS controllers can influence transmission system voltages, currents and impedance and/or phase angles rapidly. These typical features of FACTS controllers can be used to improve stability of a power system [4]. FACTS controllers can control the network condition in a very efficient manner. FACTS controllers enhance utilization of current networks up to their thermal loading capacity instead of constructing new transmission lines. Recently, series FACTS controllers have shown superior and competitive features to improve power oscillation damping (POD) and frequency oscillation damping (FOD) [5]. Static synchronous series compensator (SSSC) is one of the important members of FACTS family. The SSSC can effectively control the power flow in a line by changing its reactance characteristic from capacitive to inductive and independent of the magnitude of the line current [6, 7] and also immune to classical network series resonances. An ancillary damping controller is designed for SSSC to damp out oscillations [8]. The extensive study of power oscillation damping, stability enhancement and frequency stabilization is reported in [9]. The impact of degree of compensation and mode of operation of SSSC on transient stability and small disturbance is also studied in [10, 11]. Most of the reported results based on small disturbance analysis use a linear model of the system. However, linear methods fail to address satisfactorily the dynamics behavior of power systems under major disturbances. The designed controllers that perform satisfactorily at small signal conditions may not assure desirable performance during large disturbances.

In this work, the nonlinear model of multi-machine power system with SSSC controller is developed in MATLAB/Simulink environment. A conventional lead–lag controller structure is implemented because of its simplicity, reliability and less design process [12]. The selection of suitable control input for the controller is paramount importance in achieving desirable performance. The two common input signals are local signal and remote signal. In the case of local signal active power, reactive power, line current magnitude or line voltage magnitude can be used as a controlling input. But, line active power and line current are mostly used as local input signals in the literature. The generator rotor angle and speed deviation are considered as remote signals. Remote signal (rotor speed deviation) is found to be better than the local signal as an input signal to SSSC controller for damping of inter-area mode of oscillations [13]. In this work, generator rotor speed deviation is used as a controlling input to the proposed controller.

Tuning of controller parameters is a difficult task. A number of conventional methods are being used, but those are prone to be trapped by local minima. In recent years, evolutionary and swarm intelligence-based algorithms are becoming a more popular and effective tool in solving complex nonlinear and non-differentiable problems. The differential evolution (DE) algorithm is a population-based evolutionary algorithm [14] widely used in a variety of fields due to its one-to-one completion and hundred percent success rate. Particle swarm optimization (PSO) is a trusted swarm intelligence-based stochastic algorithm [15]. In this paper, hybridization of DE and PSO is done to find out optimal values of controller parameters [16]. A time delay of 15 ms for sensor and 50 ms for signal transmission is considered in this work. To show the effectiveness and robustness of the proposed hDE-PSO approach, simulation results are compared with DE and PSO-based controller under different disturbances.

System model

To verify the performance of the proposed approach, a multi-machine power system with SSSC is considered as used in [13]. Figure 1 shows a power system with SSSC which consists of three generators divided into two areas connected through tie line. Area 1 consists of two generators \(G_{1}\) and \(G_{2}\). The area 2 has one generator \(G_{3}\). \(T_{1} ,\,T_{2} \,\,{\text{and}}\,\,T_{3}\) are represented as three transformers. The SSSC is connected in between area 1 and 2 to damp out the system oscillations. A SSSC is connected in series with the transmission line and can inject ac voltage at the desired frequency with controllable amplitude and phase angle. Hence, the injected voltage by the SSSC acts as a virtual compensation of the line reactance. The voltage source converter (VSC) uses IGBT-based PWM inverters to produce ac voltages from a dc voltage source. The VSC is connected to the line through a coupling transformer. A capacitor link is used as a dc source and draws a small amount of active power from the line for its charging and to meet transformer and VSC losses. All the parameter ratings of the SSSC and other power system components are provided in [16].

Fig. 1
figure 1

Three-machine power system with SSSC

Proposed approach

Structure of SSSC-based damping controller

A commonly used lead–lag structured controller consists of a delay block \((D)\), a gain block \((K_{s} )\), a signal washout block and a two-stage lead–lag block. The delay block depends on the type of input signal fed to the controller. For local signal only, senor delay is considered. But, for remote signal, sensor as well as signal transmission delays are considered. The signal washout filter is a high-pass filter that rejects steady-state inputs and passes transient inputs. The washout block with the time constant \(T_{\text{w}}\) is high enough to allow signals associated with oscillations in the input signal to pass unchanged. From the viewpoint of the washout function, the value of \(T_{\text{w}}\) is not critical and may be in the range of 1–20 s [1, 13]. Most of the previous literatures have considered the value of \(T_{\text{w}}\) as 10 s. In view of the above, the value of \(T_{\text{w}}\) is taken as 10 s in the present work. A two-stage lead–lag compensator (time constants \(T_{1s} ,\,\,T_{2s} ,\,\,T_{3s} \,\,{\text{and}}\,\,T_{4s}\)) provides proper phase compensation between the input and output signals. The values of \(K_{s} ,\,\,T_{1s} ,\,\,T_{2s} ,\,\,T_{3s} \,\,{\text{and}}\,\,T_{4s}\) are obtained using the proposed optimization algorithm.

Problem formulation

The oscillations in power system can be seen as deviations in rotor speed, power angle or tie-line power. Minimization of any one of the above parameters can be taken as an objective function of the problem. Here, integral time absolute error (ITAE) of the speed deviations of local and inter-area mode of oscillations has been taken as an objective function. The objective function \(J\) is defined as:

$$J = \int_{t = 0}^{{t = t_{\text{sim}} }} {\left( {\left| {\omega_{1} - \omega_{2} } \right| + \left| {\omega_{1} - \omega_{3} } \right|} \right)} \cdot t \cdot {\text{d}}t,$$
(1)

where \(\omega_{1} ,\,\,\omega_{2} \,\,{\text{and}}\,\,\omega_{3}\) are the speed deviations of the generators \(G_{1} ,\,\,G_{2} \,\,{\text{and}}\,\,G_{3}\), respectively; \(t_{\text{sim}}\) is the simulation time range.

Algorithm used

In this work, hybrid DE-PSO [16] optimization algorithm is used to tune the controller parameters (i.e., time constants T1, T2, T3 and T4). The phase compensation blocks (time constants T1, T2, T3 and T4) provide the appropriate phase lead characteristics to compensate for the phase lag between the input and output signals, which are responsible for the series injected voltage to damp out oscillations. The value of the objective function is an integral of time multiplied absolute error (ITAE) of the speed deviations of local and inter-area mode of oscillations. Thus, the time constants T1, T2, T3 and T4 are related to the objective function. hDE-PSO starts with the usual DE, and then, PSO is incorporated to reach the optimal solution. DE operators like selection, crossover and mutation are applied to the PSO. Thus, the diversity in population increases and makes the PSO to escape local optima. However, the main disadvantage in DE is the lack of memory. PSO combines individual through local best \(\left( {P_{\text{best}} } \right)\) and global best \(\left( {P_{\text{gbest}} } \right)\). To take the advantages of both the algorithms, that is, to maintain the diversity and to add memory in population, hDE-PSO algorithm is associated with the present work. Different computational steps adopted in this hDE-PSO [16] algorithm are as follows:

  • Step 1: Initialize a random population of size \(\left[ {NP \times D} \right]\)

    where row represents the population \(NP\) and column represents the dimension \(D\).

  • Step 2: Initialize the velocity randomly for each particle to be used in PSO algorithm.

  • Step 3: DE operation

    1. (1)

      Generate the donor vector \(V_{i}\) from parent vectors

      $$V_{i} = X_{{i,r_{1} }} + F \times \left( {X_{{i,r_{2} }} - X_{{i,r_{3} }} } \right),$$
      (2)

      where \(r_{1}\), \(r_{2}\) and \(r_{3}\) are three distinct integers chosen between 1 and \(NP\). \(F\) is the scaling factor.

      Calculate the offspring vector \(U_{i}\) to perform crossover operation

      $$U_{i} = V_{i} ,\quad {\text{if}}\; {\text{rand}}\left( {0,\,\,1} \right) \le {\text{CR}}\; {\text{or}}\; j = j_{\text{rand}}$$
      (3)

      \(U_{i} = X_{i} ,\) otherwise, where \({\text{CR}}\) is the crossover rate.

      Choose the target vector to be used in the selection process as in Eq. (4):

      $$X_{i} = \left\{ {\begin{array}{*{20}l} {U_{i} ,} \hfill & {{\text{if}}\quad f\left( {U_{i} } \right) \le f\left( {X_{i} } \right)} \hfill \\ {X_{i} ,} \hfill & {\text{otherwise}} \hfill \\ \end{array} } \right.,$$
      (4)

      where \(f = J\) is the function to be minimized.

    2. (2)

      Identify the local best \(\left( {P_{\text{best}} } \right)\) and the global best \(\left( {P_{\text{gbest}} } \right)\).

  • Step 4: PSO operation

    1. (1)

      Take \(X_{i}\) as the initial population obtained in step (3) of DE operation.

    2. (2)

      Update the velocity of each particle in Eq. (5):

      $$v_{i}^{i + 1} = w\,v_{i}^{i} + c_{1} \,{\text{rand}}_{1} \left( {p_{{i,{\text{best}}}}^{k} - x_{i}^{k} } \right) + c_{2} \,{\text{rand}}_{2} \left( {p_{{i,{\text{gbest}}}}^{k} - x_{i}^{k} } \right),$$
      (5)

      where \(c_{1}\) and \(c_{2}\) are acceleration coefficients. \(w\) is the inertia weight whose value linearly decreases from \(0.9\) to \(0.4\) with iteration. \({\text{rand}}_{1}\) and \({\text{rand}}_{2}\) are two random numbers in the range \(\left[ {0,\,\,1} \right]\).

    3. (3)

      Update the swarm position using Eq. (6):

      $$X_{{i,{\text{new}}}} = X_{i} + V_{i} .$$
      (6)
    4. (4)

      Evaluate the fitness of the objective function.

    5. (5)

      Select the best solutions for the next iteration by comparing the fitness using Eq. (7):

      $$X_{i}^{G + 1} = \left\{ {\begin{array}{*{20}l} {X_{{i,{\text{new}}}} ,} \hfill & {{\text{if}}\quad f\left( {X_{{i,{\text{new}}}} } \right) \le f\left( {X_{i} } \right)} \hfill \\ {X_{i} ,} \hfill & {\text{otherwise}} \hfill \\ \end{array} } \right..$$
      (7)
  • Step 5: Increase the generation count.

  • Step 6: Repeat steps 3–5 until stopping criteria are met.

Simulation results and discussion

The simulation study has been implemented in MATLAB 7.10.0.499 (R2010a) environment on a 2.30 GHz, Intel Core-i5 processor with 4 GB RAM PC. The proposed hDE-PSO algorithm has been applied to the multi-area power systems for frequency oscillation damping when subjected to different disturbances. The SPS toolbox is used for all simulations and SSSC-based damping controller design. The SPS is a MATLAB-based modern design tool that allows the user to rapidly and easily build models to simulate power systems using the Simulink environment. The optimized values of the controller parameters are given in Table 1. The load flow and machine initialization parameters are given in Table 2.

Table 1 Optimized controller parameters
Table 2 Load flow and machine initialization

Case 1 Three-phase fault: A three-cycle three-phase fault is applied at bus-6, at \(t = 1\) s. The fault is cleared by the tripping of the faulted line. The line is reclosed after three cycles, and the original system is restored. The system response under this severe fault is shown in Figs. 2 and 3. Figure 2 shows the inter-area mode of oscillation, and Fig. 3 shows the local mode of oscillation.

Fig. 2
figure 2

Inter-area mode oscillation

Fig. 3
figure 3

Local mode oscillation

In those figures, the response with DE-based controller is shown with dashed line (with legend DE); the response with PSO-based controller is shown with dotted line (with legend PSO); and the response with hDE-PSO-based controller is shown with solid line (with legend DE-PSO). From these figures, it is clear that the proposed controller gives a better response in terms of damping and settling time. Figures 4 and 5 show the responses of inter-area and local mode of oscillation, respectively, for local remote signal. The response of the system with no controller is shown with dotted line (with legend NC); response with local signal is shown with dashed line (with legend local signal); and response with remote signal is shown with solid line (with legend remote signal). These results show that the remote signal is the best option as the control input for the controller than the local signal.

Fig. 4
figure 4

Inter-area mode oscillation

Fig. 5
figure 5

Local mode oscillation

Case 2 Load rejection: Then, a disturbance as load rejection has been considered by taking out the load at bus-3 at \(t = 1\) s for a period of 100 ms. Figures 6 and 7 show the system response for inter-area and local mode of oscillations, respectively. From the figures, we can observe that the proposed controller using remote signal is a better choice for effective damping power system oscillations.

Fig. 6
figure 6

Inter-area mode oscillation

Fig. 7
figure 7

Local mode oscillation

Case 3 Tripping of one parallel transmission line: At last, the case of tripping off of parallel lines has been considered. First, half of one parallel line is tripped off for a period of 100 ms at \(t = 1\) s. Then, one full parallel line is tripped off at \(t = 1\) s for 100 ms and finally one parallel line is tripped off at \(t = 1\) s for a period of 187 ms. Figure 8 shows the system response for inter-area mode of oscillations for the above disturbance conditions. Figures 4, 5, 6, 7 and 8 clearly indicate that the proposed approach can damp out these oscillations efficiently compared to without controller (no controller).

Fig. 8
figure 8

Inter-area mode oscillation

Extension to four-machine system

Figure 9 shows the MATLAB/SIMULINK model of the four-machine power system. The load flow and machine initialization parameters are given in Table 3. The optimized values of the controller parameters are provided in Table 4.

Fig. 9
figure 9

Simulink model of four-machine system

Table 3 Load flow and machine initialization
Table 4 Optimized controller parameters

Case 1 Three-phase to ground fault

A five-cycle three-phase fault is applied at bus-7, at \(t = 1\) s. The fault is cleared by the tripping of the faulted line. The line is reclosed after five cycles, and the original system is restored. The system response under this severe fault is shown in Figs. 10, 11, 12 and 13. Figure 10 shows the response of speed deviation of inter-area mode of oscillation between machines 1 and 3, Fig. 11 shows the response of speed deviation of inter-area mode of oscillation between machines 1 and 4, Fig. 12 shows the response of speed deviation of inter-area mode of oscillation between machines 2 and 3, and Fig. 13 shows the response of tie-line power. In those figures, the response with a hybrid DE-PSO-based controller is shown with solid red line (with legend DE-PSO) and that without controller is shown with dashed blue line (with legend NC). From these figures, it is clear that the proposed controller gives a better response in terms of damping and settling time.

Fig. 10
figure 10

Inter-area mode oscillation between machines 1 and 3

Fig. 11
figure 11

Inter-area mode oscillation between machines 1 and 4

Fig. 12
figure 12

Inter area mode oscillation between machine 2 and 3

Fig. 13
figure 13

Tie-line power at bus-7

Case 2 Double-line to ground fault

A five-cycle double-line to ground (LLG) fault is applied at bus-7, at \(t = 1\) s. The fault is cleared by the tripping of the faulted line. The line is reclosed after five cycles, and the original system is restored. The system response under this severe fault is shown in Figs. 14, 15, 16 and 17. Figure 14 shows the response of speed deviation of inter-area mode of oscillation between machines 1 and 3, Fig. 15 shows the response of speed deviation of inter-area mode of oscillation between machines 2 and 4, Fig. 16 shows the response of speed deviation of inter-area mode of oscillation between machines 2 and 3, and Fig. 17 shows the response of tie-line power. In those figures, the response with hybrid DE-PSO-based controller is shown with solid red line (with legend DE-PSO) and that without controller is shown with dashed blue line (with legend NC). From Figs. 14, 15, 16 and 17, it is clear that the proposed controller gives a better response in terms of damping and settling time.

Fig. 14
figure 14

Inter-area mode oscillation between machines 1 and 3

Fig. 15
figure 15

Inter-area mode oscillation between machines 2 and 4

Fig. 16
figure 16

Inter-area mode oscillation between machines 2 and 3

Fig. 17
figure 17

Tie-line power at bus-7

Case 3 Single-line to ground fault

A five-cycle single-line to ground (LG) fault is applied at bus-7, at \(t = 1\) s. The fault is cleared by the tripping of the faulted line. The line is reclosed after five cycles, and the original system is restored. The system response under this severe fault condition is shown in Figs. 18, 19, 20, 21 and 22. Figure 18 shows the response of speed deviation of inter-area mode of oscillation between machines 1 and 3, Fig. 19 shows the response of speed deviation of inter-area mode of oscillation between machines 1 and 4, Fig. 20 shows the response of speed deviation of inter-area mode of oscillation between machines 2 and 3, Fig. 21 shows the response of speed deviation of inter-area mode of oscillation between machines 2 and 4, and Fig. 22 shows the response of tie-line power. In those figures, the response with hybrid DE-PSO-based controller is shown with solid red line (with legend DE-PSO) and that without controller is shown with dashed blue line (with legend NC). From Figs. 18, 19, 20, 21 and 22, it is clear that the proposed controller gives a better response in terms of damping and settling time.

Fig. 18
figure 18

Inter-area mode oscillation between machines 1 and 3

Fig. 19
figure 19

Inter-area mode oscillation between machines 1 and 4

Fig. 20
figure 20

Inter-area mode oscillation between machines 2 and 3

Fig. 21
figure 21

Inter-area mode oscillation between machines 2 and 4

Fig. 22
figure 22

Tie-line power at bus-7

Conclusion

In this paper, a study has been carried out for the improvement in the power system stability by damping of power system oscillations. The SSSC-based controller (lead–lag structure) is used for damping out of power system oscillations. The controller parameters are tuned using the hDE-PSO algorithm. The simulation results are compared with the results obtained from tuning the controller parameters using DE and PSO to show the effectiveness and robustness of the proposed controller. Also, the effectiveness of the controller is checked using different kinds of disturbances. The analysis infers that the proposed controller structure can be implemented in power system for stability enhancement.