1 Introduction

The stability of the electrical power systems in the modern power industry has become an important and urgent problem due to the increasing complexity electric power grids as well as the growing energy demand with the configurations and parameters which vary over time (Wan et al. 2014; Alizadeh et al. 2013). It has led to dynamic problems of low frequency oscillations in the system and the instability that needs to be detected and damped out quickly and adequately (Tripathy and Mishra 2015). The power system stabilizer (PSS) is widely used as a complementary controller in the system of excitation in order to improve the oscillation damping (Ali and Abd-Elazim 2012). However, when the operating point and the configurations of the power systems frequently change, the CPSS cannot ensure the best performance (Khodabakhshian and Hemmati 2012). Therefore, it is required to use an approach which can take into account parameter uncertainties and the change of the operating condition in the power system. Various intelligent methods have been proposed, to deal with the problems of PSS, such as the artificial neural network based on PSS (Segal et al. 2004), genetic algorithm (Hassan et al. 2014) fuzzy logic control (Touil and Attous 2015), and bio-inspired algorithms (Peres et al. 2015). Proportional–integral-derivative PID and Proportional Integral PI, have also been applied as a substitute of PSS (Jaleel and Thanvy 2013). The PID controller is usually applied in industry control due to its simple structure (Li and Liu 2012). It is difficult to properly adjust the gains of PID controller. Different algorithms of optimization have been used in the literature such as hybrid differential evolution (DE) and particle swarm optimization (PSO) (Sahu et al. 2014). In Chaib et al. (2015) the authors are used the bat algorithm to optimize the fractional order PID–PSS. The genetic algorithm based on PID–PSS is used in Duman and Öztürk (2010). The DE algorithm is applied in Dib and Boumhidi (2015). In this study, DE and TLBO algorithms are hybridized (DE–TLBO) in order to improve the mechanism of global search and increase the speed of the convergence of the all algorithms.

In this paper, our contribution consists in combining the design of the optimal H control and the PID–PSS controller optimized by the new hybrid DE and teaching–learning based optimization algorithm (DE–TLBO), in order to ensure a robust controller, to take into account a large parametric uncertainty and to guarantee the system stability, which leads to a flexible controller device.

Generally, TLBO and DE algorithms have a higher capacity at the beginning of the run for global searching at the beginning and a local search near the end of the run (Ghasemi et al. 2014). To balance the global and local search capacity, a modified learning strategy is integrated into the teacher phase. In this technique, the hybrid algorithm (DE–TLBO) uses the learning strategy based on neighborly search in the teacher phase in the TLBO so as to generate a new mutation vector, while integrating the differential learning to create another new mutation vector. The crossover operator is used to create new solutions in order that the population diversity will be increased (Zou et al. 2015).

The main objective of the new hybrid DE and teaching learning based optimization (DE–TLBO) is to adjust the parameter β of the general exponential form of the tracking error and the gains of PID–PSS controller for the optimal tuning of all controller parameters in order to ensure a robust performance and efficient results of tracking.

The approach of H control has been extensively applied to treat efficiently the robust stabilization of the nonlinear system owing to its capacity of disturbance attenuation and its effective robustness (Chen et al. 1996; Chang 2000). The optimal H tracking control is applied in this study for the multi-machine power system in order to attenuate the effects due to the approximate errors, disturbances and unmodeled dynamics, it is characterized by a simple structure designed to regulate the amplitude of the output of the angular speed deviation and the angle rotor so as to attenuate the amplitude of the oscillations and to track the desired operating point. In the presence of the uncertainties wide enough in the system parameters, the high gain in the input of H control is required to achieve the intended attenuation level and guarantee the efficient performance of tracking (Miao et al. 2008; Pan et al. 2011). To avoid the compromise between a high control signal and the high attenuation level, different approaches have been used in the literature (Yilmaz and Hurmuzlu 2000; Chang and Hurmuzlu 1998). In this study, we have used a technique based on the tracking error modified by integrating the exponential function optimized by the new hybrid algorithm DE–TLBO to eliminate significantly the reaching phase.

The principal purpose of designing the proposed approach (H and DE–TLBO–PID) is to eliminate sufficiently the reaching phase and to enhance the level of oscillation damping which significantly affects the tracking errors and the robustness of the multi-machine power system under the change in operating point. The results of the simulations test demonstrates the validity of the proposed method is efficiently enhanced compared with the optimal controller proposed in Dib and Boumhidi (2015) and other controllers, with the presence of the parametric variation and the change in operating point, the proposed method provide an effective damping in the oscillation of the power system and good tracking to the desired values with faster convergence.

This paper is categorized in four major parts, described as follows: the mathematical model of the nonlinear multi-machine power system is explained in Sect. 2. The new hybrid DE algorithm with teaching learning based optimization DE–TLBO is described in Sect. 3. The design of the proposed approach is detailed in Sect. 4. The simulation results which conduct to the performance analysis and comparison of the applied approaches to the multi-machine power system are presented in Sect. 5. Finally, conclusion is explained in Sect. 6.

2 Mathematical model of multi-machine power system

The dynamics of (n) generators interconnected by a transmission network is presented by the third order model (Colbia-Vega et al. 2008):

The equation of the mechanical part:

$$\left\{ {\begin{array}{*{20}l} {\dot{\delta }_{i} = \omega_{i} - \omega_{s} } \hfill \\ {\dot{\omega }_{i} = \frac{{\omega_{s} }}{{2H_{i} }}\left( {P_{{m_{i} }} - D_{i} \left( {\omega_{i} - \omega_{s} } \right) - P_{{e_{i} }} } \right)} \hfill \\ \end{array} } \right.$$
(1)

The equation of the generator electrical part:

$$\dot{E}_{qi}^{\prime } = \frac{1}{{T_{di}^{\prime } }}\left( {E_{fi} - E_{qi}^{\prime } - \left( {X_{di} - X_{di}^{\prime } } \right)I_{di} } \right)$$
(2)

The electrical power is written as:

$$P_{{e_{i} }} = E_{qi}^{\prime } I_{qi}$$
(3)

\(I_{qi}\) and \(I_{di}\) are the currents in direct and quadrature reference for each generator which are expressed by:

$$\left\{ \begin{aligned} \begin{array}{l}I_{qi} = G_{ii} E_{qi}^{\prime } + \sum\limits_{j = 1,j \ne i}^{n} {E_{qi}^{\prime } \left\{ {G_{ij} \cos \left( {\delta_{j} - \delta_{i} } \right) - B_{ij} \sin \left( {\delta_{j} - \delta_{i} } \right)} \right\}} \hfill \\ I_{di} = - B_{ii} E_{qi}^{\prime } - \sum\limits_{j = 1,j \ne i}^{n} {E_{qi}^{\prime } \left\{ {G_{ij} \sin \left( {\delta_{j} - \delta_{i} } \right) + B_{ij} \cos \left( {\delta_{j} - \delta_{i} } \right)} \right\}} \hfill \\\end{array} \end{aligned} \right.$$
(4)

\(P_{{m_{i} }}\) is the mechanical input power assumed to be constant, we consider \(E_{fi} (t)\) as the input of the system.

The power system used in this study consists of three generators, ith generator is considered as a subsystem of the multi-machine power system. The subsystem is presented by the following states equations:

$$\left\{ {\begin{array}{*{20}l} {\dot{x}_{i1} = \omega_{i} - \omega_{s} } \hfill \\ {\dot{x}_{i2} = \frac{{\omega_{s} }}{{2H_{i} }}\left( {Pm_{i} - D_{i} \left( {\omega_{i} - \omega_{s} } \right) - x_{i3} I_{qi} } \right)} \hfill \\ {\dot{x}_{i3} = \frac{1}{{T_{di}^{\prime } }}\left( {E_{fi} - x_{i3} - \left( {X_{di} - X_{di}^{\prime } } \right)I_{di} } \right)} \hfill \\ \end{array} } \right.$$
(5)

With \(x_{i} = [x_{i1} ,x_{i2} ,x_{i3} ]^{T} = [\delta_{1} ,\omega_{1} ,E_{q1}^{\prime } ]^{T}\) denotes the state vector for ith subsystem.

The purpose of this study is controlling the rotor angle to track the desired value for each machine, for this reason, we choose the output is the rotor angle to calculate the relative degree, let define: \(z_{i1} = \delta_{i}\), \(z_{i2} = \omega_{i}\), \(\, z_{i3} = \dot{\omega }_{i}\) then the vector of state variables of the power system can be chosen to be:

$$z = \left[ {\delta_{1} ,\omega_{1} ,\dot{\omega }_{1} , \ldots ,\delta_{n} ,\omega_{n} ,\dot{\omega }_{n} } \right]$$

This new state vector allows one to transform the system model described by (5) into the form given by:

$$\left\{ {\begin{array}{*{20}l} {\dot{z}_{i1} = z_{i2} } \hfill \\ {\dot{z}_{i2} = z_{i3} } \hfill \\ {\dot{z}_{i3} = \frac{ - 1}{{2H_{i} }}\left( {\begin{array}{*{20}l} {\sum\limits_{j = 1}^{NG} {\frac{{\partial P_{ei} }}{{\partial E_{qj}^{\prime } }}\frac{1}{{T_{doj}^{\prime } }}\left[ { - E_{qj}^{\prime } + (X_{dj}^{\prime } - X_{dj} )I_{dj} } \right] + D_{i} \dot{\omega }_{i} } } \hfill \\ \quad + \sum\limits_{j = 1}^{NG} \frac{{\partial P_{ei} }}{{\partial \delta_{j} }}\omega_{j} + \mathop{\sum\limits_{j = 1}^{NG}}\limits_{j \ne\,i} {\frac{{\partial P_{ei} }}{{\partial E_{qj}^{\prime } }}\frac{1}{{T_{doj}^{\prime } }}E_{fdj} + \frac{{\partial P_{ei} }}{{\partial E_{qi}^{\prime } }}\frac{1}{{T_{doi}^{\prime } }}E_{fdi} } \hfill \\ \end{array} } \right)} \hfill \\ \end{array} } \right.$$
(6)

We consider \(u = E_{fd}\), the canonical form of the power system can be written as:

$$\left\{ {\begin{array}{*{20}l} {\dot{z}_{i1} = z_{i2} } \hfill \\ {\dot{z}_{i2} = z_{i3} } \hfill \\ {\dot{z}_{i3} = f_{i} (x) + g_{i} (x)u_{i} } \hfill \\ \end{array} } \right.$$
(7)

With

$$f_{i} (x) = \frac{ - 1}{{2H_{i} }}\left\{ {\begin{array}{*{20}l} {\sum\limits_{j = 1}^{NG} {\frac{{\partial P_{ei} }}{{\partial E_{qj}^{\prime } }}\frac{1}{{T_{doj}^{\prime } }}\left[ { - E_{qj}^{\prime } + \left( {X_{dj}^{\prime } - X_{dj} } \right)I_{dj} } \right]} } \hfill \\ {\quad + \sum\limits_{j = 1}^{NG} {\frac{{\partial P_{ei} }}{{\partial \delta_{j} }}\omega_{j} + D_{i} \dot{\omega }_{i} + \mathop{\sum\limits_{j = 1}^{NG}}\limits_{j \ne\,i } {\frac{{\partial P_{ei} }}{{\partial E_{qj}^{\prime } }}\frac{1}{{T_{doj}^{\prime } }}E_{fdj} } } } \hfill \\ \end{array} } \right\}$$
(8)
$$g_{i} (x) = - \frac{1}{{2H_{i} }}\frac{{\partial P_{ei} }}{{\partial E_{qi}^{\prime } }}\frac{1}{{T_{doi}^{\prime } }}$$
(9)

3 Proposed designing of hybrid algorithm DE–TLBO

3.1 Differential evolution algorithm

The DE algorithm mainly is characterized by three advantages; the fast convergence, the use of a few control parameters which makes the DE algorithm simple and easy to use (Cuevas et al. 2013). The optimization process is composed by three main steps: the mutation, the crossover and the selection.

  • Initialization

The initial parameter values (at G = 0) should better cover as much as possible all the search space by randomizing the individuals in the interval limited by the lower and the upper bounds:

$$x_{j,i,0} = x_{j,\hbox{min} } + rand_{j} (0,1) \times (x_{j,\hbox{max} } - x_{j,\hbox{min} } )$$
(10)
  • Mutation

A donor vector \(X_{i,G}\) is created by combining the three target vectors \((X_{r1,G} ,X_{r2,G} ,X_{r3,G} )\) through a mutation strategy it can be written as:

$$V_{i,G} = X_{{r1^{i} ,G}} + F \cdot \left( {X_{{r2^{i} ,G}} - X_{{r3^{i} ,G}} } \right)$$
(11)

F is a constant from [0, 2], the indices i, r1, r2 and r3 are distinct.

  • Crossover

The trial vector \(U_{i,G + 1}\) is obtained from the target vector \(X_{i,G}\) and the donor vector \(V_{i,G}\) as follow:

$$U_{j,i,G} = \left\{ {\begin{array}{*{20}l} {V_{j,i,G} } \hfill &\quad {if\,rand_{j} \le CR\,or\, \, j = j_{rand} } \hfill \\ {X_{j,i,G} } \hfill &\quad {if\,rand_{j} \succ CR\,or\, \, j \ne j_{rand} } \hfill \\ \end{array} } \right.$$
(12)

CR is the crossover probability, \(rand_{j} \in [0,1]\) is the jth random number index.

  • Selection

The trial vector U i,G+1 is compared with the target vector X i,G the vector which have the best fitness value is chosen to the next generation. The selection operation may be represented by:

$$X_{i,G + 1} = \left\{ {\begin{array}{*{20}l} {U_{i,G} } \hfill &\quad {if\,J(U_{i,G} ) \prec J(X_{i,G} )} \hfill \\ {X_{i,G} } \hfill &\quad {\text{otherwiswe}} \hfill \\ \end{array} } \right.$$
(13)

where \(i \in [1,N_{p} ]\) and J(X) is the function to be minimized.

3.2 Teaching learning based optimization algorithm

TLBO algorithm is composed by two phases, the teacher and learner phases.

  • Teacher phase

In this first phase, the learners (students) aim to improve their knowledge by the teacher. The learner who has the minimum value of the objective function is considered as the teacher which tries to increase the existing mean result (Mean) of the group of learners (class) (Kanwar et al. 2015).

$$U_{i} = X_{i} + r \times \left( {XTeacher - TF \times Mean} \right)$$
(14)

TF is the teaching factor is randomly determined by the equation:

$$TF = round\left[ {1 + rand\left( {0,1} \right)} \right]$$
(15)
  • Learner phase

During the second stage, a learner improves their knowledge by a random interaction with the other learners. The learner process can be expressed as follow:

Two learners are randomly selected xi and xj such that i ≠ j

$$newX_{i} = \left\{ {\begin{array}{*{20}l} {X_{i} + r \times (X_{i} - X_{j} )} \hfill &\quad {if\,f(X_{i} ) < f(X_{j} )} \hfill \\ {X_{i} + r \times (X_{j} - X_{i} )} \hfill &\quad {if\,f(X_{j} ) < f(X_{i} )} \hfill \\ \end{array} } \right.$$
(16)

The flowchart showing the operation of the DE–TLBO algorithm is illustrated in Fig. 1.

Fig. 1
figure 1

Flowchart of the hybrid DE–TLBO algorithm

In the proposed DE–TLBO algorithm, during the teacher phase which is hybridized by the DE, two mutant vectors (U i , V i ) are associated to each learner X i . The first mutant vector U i is generated by the Eq. (14), and the second mutant vector V i is generated by the mutation operator in the DE algorithm given by the Eq. (11).

The crossover operator is applied to the mutant vectors (U i , V i ) to improve the potential diversity of population, this is the adapted formula in the teacher phase for the learner X i , that can be described by Eq. (12).

The Selection operator is applied at the end of the teaching phase by comparing the parent Xi and the trial vector newX i , the vector which have the best fitness value is chosen for the next phase, this operation is described by the Eq. (13).

Finally, the original learner phase in the TLBO algorithm is still applied in the hybrid DE–TLBO algorithm, the learning process is described in Eq. (16).

4 Proposed control design

The optimal H control is characterized by high ability for the disturbance attenuation. Therefore, the combination between the H control theory and the nominal control can reduce the effects of the parameter uncertainties, external disturbances and the errors of the approximation (Lin 2009).

We consider the dynamical equations of the multi-machine power system which are represented by the canonical form described by the Eq. (7). We formulate the output tracking error of the power system in order to avoid the high control input gain; one introduces the following modified output tracking error as follows (Pan et al. 2012):

$$E(t) = e(t) - \eta (t)$$
(17)

We define the tracking error as followings:

$$e = \delta - \delta_{r} = z_{1} - \delta_{r}$$
(18)

We can define the error vector by: \(\underset{\raise0.3em\hbox{$\smash{\scriptscriptstyle-}$}}{e} = [e_{1} ,e_{2} ,e_{3} ] = [e,\dot{e},\ddot{e}].\)

Where \(\eta (t)\) is designed in order to satisfy the following conditions (Yilmaz and Hurmuzlu 2000):

  1. 1.

    To make the modified error E small enough in the beginning of the movement t = 0.

  2. 2.

    Should rapidly disappear as the movement evolves at t > 0.

In this study \(\eta_{i} (t)\) is described by the exponential form, can written as:

$$\eta_{i} (t) = \gamma_{i} (t)\exp (\psi_{i} (t))$$
(19)
$$\psi_{i} (t) = - \beta_{i} t$$
(20)
$$\gamma_{i} (t) = \left( {q_{0i} + q_{1i} t + \cdots + q_{n - 1 \, i} t^{n - 1} } \right)$$
(21)
$$\eta_{i} (t) = \left( {q_{0i} + q_{1i} t + \cdots + q_{n - 1 \, i} t^{n - 1} } \right)\exp ( - \beta_{i} t)$$
(22)

For \(j = 0,1, \ldots ,n - 1\), where \(\beta_{i}\) a positive constant, \(q_{i}\) is chosen to satisfy condition (1) and \(\psi_{i} (t)\) is selected to satisfy condition (2).

In this study, a new method DE–TLBO algorithm is applied to adjust optimally the value of the parameter \(\beta_{i}\).

Expanding (17) by the Taylor’s series leads to

$$E_{i} (t) = \sum\limits_{j = 1}^{n - 1} {\frac{1}{j!}\left( {\left( {e_{i}^{(j)} (0) - \eta_{i}^{(j)} (0)} \right)t^{j} } \right)} + o\left( {t^{n - 1} } \right)$$
(23)

where \(o(t^{n - 1} )\) is an infinitesimal of higher order of \(t^{n - 1}\).

$$\eta_{i}^{(j)} (0) = e_{i}^{(j)} (0)$$
(24)

Then (20) becomes \(o(t^{n - 1} )\), i.e., Condition 1 is satisfied. By solving the equation set in (22) we can obtain the values of \(q_{i}\).

Then our design objective is to impose H control so that the following asymptotically stable tracking:

$$\ddot{E}_{i} (t) + k_{2i} \dot{E}_{i} (t) + k_{1i} E_{i} (t) = 0$$
(25)
$$\eta_{i} (t) = (q_{0i} + q_{1i} t + q_{2i} t^{2} )\exp ( - \beta_{i} t)$$
(26)

With \(k_{i} = [{\text{k}}{}_{1i},{\text{k}}_{2i} ,1]^{T}\) are the coefficients of the Hurwitz polynomial:

$$h_{i} (\lambda ) = \lambda^{2} + k_{2i} \lambda + k_{1i}$$
(27)
$$k_{1i} \dot{E}_{i} (t) + k_{2i} \ddot{E}_{i} (t) - {\dddot{\eta}}_{i} (t) + f_{i} (x) + g_{i} (x)u_{i} = 0$$
(28)

If f i (x) and g i (x) are known, we can construct the nominal control:

$$u_{{eq_{i} }} = \frac{ - 1}{{g_{i} (x)}}\left( {k_{1i} \dot{E}_{i} (t) + k_{2i} \ddot{E}_{i} (t) - {\dddot{\eta}}_{i} (t) + f_{i} (x)} \right)$$
(29)

The dynamic equation of the output tracking error of the nonlinear system (28) is described by:

$$\dot{E}_{i} = A_{i} E_{i} + B_{i} \left[ {g_{i} (x) \cdot u_{{h_{i} }} } \right]$$
(30)

where

$${\text{A}}_{i} = \left( {\begin{array}{*{20}c} 0 &\quad 1 &\quad 0 \\ 0 &\quad 0 &\quad 1 \\ { - K_{1i} } &\quad { - K_{2i} } &\quad { - K_{3i} } \\ \end{array} } \right)\quad {\text{and}}\quad B_{i} = \left[ {\begin{array}{*{20}c} 0 &\quad 0 &\quad 1 \\ \end{array} } \right]$$

where \(u_{{h_{i} }}\) is a H compensator, defined as:

$$u_{{h_{i} }} = - \frac{1}{{g_{i} (x)r_{i} }}E_{i}^{T} P_{i} B_{i}$$
(31)

where r is a positive scalar value and \(P = P^{T} > 0\) is the P solution of the Riccati equation (Chen et al. 1996).

$$PA + A^{T} P + Q - \frac{2}{r}PBB^{T} P + \frac{1}{{\rho^{2} }}PBB^{T} P = 0$$
(32)

Remark

The solvability of H tracking performance is on the existence of positive semi definite and symmetric solution P of which can be rewritten as (Chen et al. 1996):

$$PA + A^{T} P + Q - PB\left( {\frac{2}{r} - \frac{1}{{\rho^{2} }}} \right)B^{T} P = 0$$
(33)

where \(Q > 0\), \(\rho\) is prescribed the level of attenuation and r is positive constant.

The above Riccati equation has a solution semi-definite positive \(P = P^{T} > 0\) if and only if:

$$\frac{2}{r} - \frac{1}{{\rho^{2} }} \ge 0\quad {\text{or}}\quad 2\rho^{2} \ge r$$
(34)

The design of the control strategy applied in this study consists of the combining the three terms the nominal control \(u_{{eq_{i} }}\), the robust term designed by the optimal H tracking control without reaching phase \(u_{{h_{i} }}\) and the PID–PSS optimized by the new hybrid algorithm DE–TLBO u DETLBOPID is used for damping the oscillations in multi-machine power systems

$$u_{i} = u_{{eq_{i} }} + u_{{h_{i} }} + u_{{\left( {DE - TLBO - PID} \right)_{i} }}$$
(35)
$$\begin{aligned} u_{i} & = \frac{ - 1}{{g_{i} (x)}}\left( {\begin{array}{*{20}l} {k_{1i} \dot{E}_{i} (t) + k_{2i} \ddot{E}_{i} (t)} \hfill \\ {\quad - {\dddot{\eta}}_{i} (t) + f_{i} (x) + \frac{1}{{r_{i} }}E_{i}^{T} P_{i} B_{i} } \hfill \\ \end{array} } \right) \\ & \quad + \tilde{k}_{{p_{i} }} \Delta \omega_{i} + \tilde{k}_{{I_{i} }} \int\limits_{0}^{t} {\Delta \omega_{i} dt + \tilde{k}_{{d_{i} }} \frac{{d\Delta \omega_{i} }}{dt}} \\ \end{aligned}$$
(36)

where \(\tilde{k}_{p} , \, \tilde{k}_{I} , \, \tilde{k}_{d}\) are the optimal value of proportional gain, integral gain and derivative gain, respectively, adjusted optimally by the hybrid algorithm DE–TLBO.

The combination between the optimal H control by modifying the output tracking error and the PID–PSS controller optimized by the hybrid algorithm (DE–TLBO), ensures the optimal tracking by eliminating completely the reaching phase with a minimal effort of control, and improve the oscillation damping under variation in operating point.

5 Simulation of multi-machine power system

We validate the robustness and the performance of the proposed approach by the simulations in MATLAB for the three machine nine-bus power system the data of the system under study are shown in Table 1 (Colbia-Vega et al. 2008).

Table 1 The values of the nominal parameters

The conductance nodal matrix G and the susceptance nodal matrix B which represent the topology of the network are defined as:

$$\begin{aligned} & G = [G_{ij} ] = \left[ {\begin{array}{*{20}c} {0.8453} &\quad {0.2870} &\quad {0.2095} \\ {0.2870} &\quad {0.4199} &\quad {0.2132} \\ {0.2095} &\quad {0.2132} &\quad {0.2770} \\ \end{array} } \right] \\ & B = \left[ {B_{ij} } \right] = \left[ {\begin{array}{*{20}c} { - 2.9882} &\quad {1.5130} &\quad {1.2256} \\ {1.5130} &\quad { - 2.7238} &\quad {1.0879} \\ {1.2256} &\quad {1.0879} &\quad { - 2.3681} \\ \end{array} } \right] \\ \end{aligned}$$
  • Objective function

The primary goal is to minimize the objective function to improve the stability of the power system. In this paper, an integral time absolute error (ITAE) of the speed deviation \(\Delta \omega {}_{i}\) is chosen as the objective function.

$$\begin{aligned} & J = \int\limits_{0}^{T} {t\left( {\left| {\Delta \omega_{1} } \right| + \left| {\Delta \omega_{2} } \right| + \left| {\Delta \omega_{3} } \right|} \right)dt} \\ & {\text{Minimize}}\,{\text{J}} \\ & {\text{Subject}}\,{\text{to}} \\ & \left\{ {\begin{array}{*{20}l} {K_{{p_{i} }}^{\hbox{min} } \le K_{{p_{i} }} \le K_{{p_{i} }}^{\hbox{max} } } \hfill & {} \hfill \\ {K_{{I_{i} }}^{\hbox{min} } \le K_{{I_{i} }} \le K_{{I_{i} }}^{\hbox{max} } } \hfill & {} \hfill \\ {K_{di}^{\hbox{min} } \le K_{{d_{i} }} \le K_{{d_{i} }}^{\hbox{max} } } \hfill & {{\text{ for}}\,i = 1,2,3} \hfill \\ {\beta_{i}^{\hbox{min} } \le \beta_{i} \le \beta } \hfill & {} \hfill \\ \end{array} } \right. \\ \end{aligned}$$
(37)

The typical ranges of the optimized parameters of the PID controller are [0 120] for Kp, [0 10] for K I and Kd, and The parameter of the exponential function \(\beta_{i}\) is [0 10].

The values of the parameters optimized by the DE algorithm and the hybrid algorithm DE–TLBO are given in the Table 2. The parameters of the conventional PID controller are given in the Table 3.

Table 2 The optimal parameters
Table 3 The parameters of the conventional PID

The objective of this section is to compare the performance of the proposed control (optimal H tracking control without reaching phase and DE–TLBO–PID) with (H and DE–PID–PSS) proposed by Dib and Boumhidi (2015), with (H∞ and PID–PSS), the (PID–PSS) and the PSS (Naresh et al. 2013).

Case 1: Control response with nominal loading

The operating point for the first case is given as:

$${\text{X}}_{{{\text{ir}} }} = \left( {{\text{x}}_{{{\text{i}}1{\text{r}}}} ,{\text{x}}_{{{\text{i}}2{\text{r}}}} ,{\text{x}}_{{{\text{i}}3{\text{r}}}} } \right) = \left[ {\begin{array}{*{20}c} {\delta_{i} } & {\Delta \omega_{i} } & {E_{qi}^{\prime } } \\ \end{array} } \right]$$

For i = 1, 2, 3 of the three-machine system are considered as:

$$\begin{aligned} & \delta_{1r} = 0.0396 ,\quad 3\Delta \omega_{ 1r} = 0,\quad E_{{{\text{q1}}r}}^{\prime } = 1.0566\\ & \delta_{ 2r} = 0.3444 ,\quad \Delta \omega_{ 1r} = 0,\quad E_{{{\text{q2}}r}}^{\prime } = 1.0502\\ & \delta_{ 3r} = 0.2300 ,\quad \Delta \omega_{ 1r} = 0,\quad E_{{{\text{q3}}r}}^{\prime } = 1.017\\ \end{aligned}$$

To validate the robustness and the performance of the proposed method, we use two performance indices: the integral of time absolute value of error (ITAE) and the integral of time squared error (ITSE):

$$ITAE = \int\limits_{0}^{T} {t\left( {\left| {\Delta \omega_{1} } \right| + \left| {\Delta \omega_{2} } \right| + \left| {\Delta \omega_{3} } \right|} \right)dt}$$
(38)
$$ITSE = \int\limits_{0}^{T} {\left( {\Delta \omega_{1}^{2} (t) + \Delta \omega_{2}^{2} (t) + \Delta \omega_{3}^{2} (t)} \right) \cdot t \cdot dt}$$
(39)

The numerical results of these indices for all controllers are given in Table 4.

Table 4 The values of the nominal parameters

It is clear from Table 4 that minimum ITAE and ITSE values are obtained with the proposed method and therefore the performance of H and DE–TLBO–PID controllers are superior to the other controllers.

It is observed from Fig. 2 that the convergence rate of the hybrid DE–TLBO algorithm is considerably faster and better than the other algorithms.

Fig. 2
figure 2

Convergence characteristics of DE–TLBO, DE and TLBO

We define the tracking error for the three generators by the following equations:

$$\left\{ \begin{aligned} e_{1} = \delta_{1} - \delta_{1r} = z_{11} - \delta_{1r} \hfill \\ e_{2} = \delta_{2} - \delta_{2r} = z_{21} - \delta_{2r} \hfill \\ e_{3} = \delta_{3} - \delta_{3r} = z_{31} - \delta_{3r} \hfill \\ \end{aligned} \right.$$

The tracking errors of the rotor angle for each generator are illustrated in the Figs. 3, 4 and 5; these results show that the proposed method significantly reduces the deviation of the rotor angle comparing with the other control devices. We can deduce that the proposed controller device has a better ability to maintain the system to follow the desired values as well as to reach the point of operation in a reduced time.

Fig. 3
figure 3

Response of the tracking error e 1

Fig. 4
figure 4

Response of the tracking error e 2

Fig. 5
figure 5

Response of the tracking error e 3

Simulations results in the first case have shown the superior performance of the proposed method (H and DE–TLBO–PID) in terms of the elimination the reaching phase and the reduction of the oscillation.

From the simulation results seen in Figs. 6, 7, 8, 9, 10 and 11 shows that the proposed method (H and DE–TLBO–PID) permit to reduce significantly the deviation of the power angle, speed deviation comparing with (H and DE–PID–PSS), we can deduce that the proposed controllers are always effective and has the best ability to keep the system track the desired values and helps the system to achieve the operating point very quickly. The (DE–TLBO) algorithm has a good robustness and a much reduced time convergence.

Fig. 6
figure 6

Response of the rotor angle δ1

Fig. 7
figure 7

Response of the rotor angle δ2

Fig. 8
figure 8

Response of the rotor angle δ3

Fig. 9
figure 9

Response of the speed deviation ∆w1

Fig. 10
figure 10

Response of the speed deviation ∆w2

Fig. 11
figure 11

Response of the speed deviation ∆w3

Case 2: Control response including the parameter variations

In practice, a third-order model of power system could not represent accurately the generator unit and the exact model is unavailable. Therefore, it is required to test the performance and the robustness of the proposed approach in the presence of the variation in the system parameters and model errors. We consider the change in the inertia constant H i and the time constant \(T_{do}^{\prime }\) for each generator see Table 5.

Table 5 Parameter variation of the nominal values

From simulation results shown in Figs. 12, 13, 14, 15, 16 and 17 it can be clearly seen that the proposed approach can still ensure an efficient control performance even with the change in the system parameters and results a satisfactory tracking performance and achieves a good level in the oscillation damping.

Fig. 12
figure 12

Response of the rotor angle δ1 under parameter variations

Fig. 13
figure 13

Response of the rotor angle δ2 under parameter variations

Fig. 14
figure 14

Response of the rotor angle δ3 under parameter variations

Fig. 15
figure 15

Response of the speed deviation ∆w1 under parameter variations

Fig. 16
figure 16

Response of the speed deviation ∆w2 under parameter variations

Fig. 17
figure 17

Response of the speed deviation ∆w3 under parameter variations

Case 3: Control response with change in the operation point

In this section, we present the simulation results when the variation in the operating point (EP) occurs. In this case, the operating point EP1 changes to the following value EP2.

$$\begin{aligned} & X_{ir}^{*} = \left( {x_{i1r}^{*} ,x_{i2r}^{*} , \, x_{i3r}^{*} } \right) = \left[ {\begin{array}{*{20}c} {\Delta \omega_{i} } & {\Delta \omega_{i} } & {E_{qi}^{\prime } } \\ \end{array} } \right]\quad {\text{For}}\quad\,{\text{i}} = 1,2,3{:} \\ & EP2{:}\left\{ \begin{aligned} x_{11r}^{*} = 0.0377,\quad x_{12r}^{*} = 0,\quad x_{13r}^{*} = 1.0768 \hfill \\ x_{21r}^{*} = 0.0376,\quad x_{22r}^{*} = 0,\quad x_{23r}^{*} = 0.9833 \hfill \\ x_{31r}^{*} = 0.2187,\quad x_{32r}^{*} = 0,\quad x_{33r}^{*} = 1.0713 \hfill \\ \end{aligned} \right. \\ \end{aligned}$$

The results of simulation illustrated in Figs. 18, 19, 20, 21, 22 and 23 demonstrate that the proposed method (H and DE–TLBO–PID) stabilizes the power system with the new equilibrium point EP2 and the performance of the tracking is achieved efficiently.

Fig. 18
figure 18

The variation of the rotor angle δ1 under changes in the operation point

Fig. 19
figure 19

The variation of the rotor angle δ2 under changes in the operation point

Fig. 20
figure 20

The variation of the rotor angle δ3 under changes in the operation point

Fig. 21
figure 21

Response of the speed deviation ∆w1 under changes in the operation point

Fig. 22
figure 22

Response of the speed deviation ∆w2 under changes in the operation point

Fig. 23
figure 23

Response of the speed deviation dw3 under changes in the operation point

We can therefore conclude that the proposed controllers (H and DE–TLBO–PID) is characterized by a stable performance and can guarantee high performance of the tracking and a good level in the oscillation damping in a very reduced time, the controllers have demonstrated the robustness even when to changes in the operating point and the system parameter variations are occurred.

6 Conclusion

In this paper, the optimized PID–PSS using the new hybrid algorithm (DE–TLBO) combined with the optimal H tracking control provides an effective solution to eliminate significantly the reaching phase and damp the oscillations under the variation in the system parameters and the operation point in the multi-machine power system. The hybrid algorithm (DE–TLBO) has been employed to tune optimally the parameter β of the exponential function which is an important factor for the rapid convergence of the tracking error, and also to adjust the parameters of the PID–PSS in order to guarantee the dynamic stability. The comparison performed by the simulations show the robust performance of the proposed approach in terms of damping the oscillations, in terms of the best tracking to the desired values optimally and in terms of the rapid convergence even in the presence of the parameter variations.