#### Abstract

In recent years, improvement of dynamic behavior of power systems has interested many researchers and to achieve it, various control methods are proposed. In this paper, in order to improve transient stability of power system, a robust optimal H_{2} state feedback is employed. In order to appropriate formulation of the problem, linear matrix inequality (LMI) theory is used. To achieve the best answer, controller parameters are tuned using particle swarm algorithm. The obtained results of the proposed method are compared to conventional power system stabilizer.

#### 1. Introduction

With the development of power grids, low-frequency oscillations appeared in power system. Small and sudden disturbances cause such oscillations. In more cases, these oscillations are damped rapidly and the amplitude of the oscillation is below a definite value, but, depending on the operating point conditions and system parameters values, these oscillations may become continuing for a long time and, in the worst case, their amplitudes are increased. The transient stability of the power system is an important factor in development of power grids. In [1], a robust controller is proposed for SVC control to improve the damping of synchronous machine oscillations. The obtained results in this work are compared to the ones from a conventional power system stabilizer (PSS). In [2], the effect of injected reactive power of STATCOM on grid voltage and the damping of synchronous machine oscillations are investigated. In [3], using fuzzy logic laws, a controller is designed for STATCOM and the improvement of power system transient stability is studied. In [4], to improve the transient stability, a UPFC is employed and two control methods are proposed. In this work, the effect of UPFC capacitance value on transient stability is investigated. There are various PSS structures, but conventional PSS is still interesting because of its simple structure and good flexibility and feasibility. However, the performance of conventional PSS is sensitive to operating point of the system which is changed by load variation; thus the conventional PSS may be failed or may lose its capability [5]. Most of the controllers proposed for this purpose need a perfect model of power system with good precision. It is worthwhile to note that the power system is a nonlinear coupled system. Most of the models used in controller design are a linear approximation around the operating point. Usually the design of the controller is based on the worst operating point and simply the damping torque is increased. With a change in load or system parameters, the good performance of the system is not guaranteed. In this research paper, a robust optimal state feedback control to improve transient stability of power system in the presence of parametric uncertainties is introduced. This controller overcomes the mentioned difficultly in power system. To achieve the best controller tuning, the particle swarm optimization (PSO) is employed. The obtained results are compared to the results with a conventional PSS.

It has to be noted that PSO is an efficient and reliable optimization method that has the following advantages compared to the other well-known methods [6].(1)PSO has no overlapping and mutation calculation. The search can be carried out by the speed of the particle. During the development of several generations, only the most optimist particle can transmit information to the other particles, and the speed of the researching is very fast.(2)The calculation in PSO is very simple. Compared with the other developing calculations, it occupies the bigger optimization ability and it can be completed easily.(3)PSO adopts the real number code, and it is decided directly by the solution. The number of the dimension is equal to the constant of the solution.

#### 2. Selected Power System and Its Modeling

The power system under study in this paper is presented in Figure 1. In this single machine infinite bus (SMIB) system, and are terminal voltage and infinite bus voltage, respectively. A local load with admittance is on the generator bus and the transmission line is presented with total impedance.

Considering Heffron-Phillips model for synchronous generator, the model of the system is given by the following equations [7]: After linearization, considering state variables as , , and and input variables as and , these equations can be written as Substituting (5) and (6) in (3) and (4), the following linear state equation is obtained: where is the mechanical input torque, is the electromagnetic torque of machine, and are inertia constant and damping coefficient of machine, respectively, is synchronous speed, is excitation voltage, and are synchronous and transient -axis machine reactance, respectively, is synchronous -axis machine reactance, is power angle, is open circuit time constant of the machine, and is the initial value of power angle.

#### 3. Robust Control

Using a suitable robust control, the closed-loop system remains stable even in the presence of system uncertainties. Most of these uncertainties are due the approximation in modeling the system. Usually in system modeling, small time constants and some nonlinear and time varying terms are neglected. To retain the good performance of the closed-loop system despite these approximations, a robust controller is designed for introduced power system [8].

Considering model uncertainties, the state equation is given as It can be written as where represents a scalar or matrix including uncertainties, which is satisfied by , and , , and are scalars or matrices relating to uncertainties coefficients.

In control theory, the main aim is the obtaining of a stabilizing feedback gain (state feedback) as follows: To solve this control problem, the following matrix inequalities are used: where In these LMIs, is a variable without sign, and and are positive definite constants relating to the following cost function: is a diagonal positive definite matrix as follows: Using MATLAB coding, the following state feedback gain can be obtained: Now, if one wants to obtain the optimal robust control, he or she should solve the following optimization problem Min trace () under the conditions dictated with LMIs given in (12) and (14).

#### 4. Tuning by Particle Swarm Optimization

Particle swarm optimization (PSO) was introduced in 1995 by Kennedy and Eberhart [9]. In PSO algorithm, a random population of points is generated. Each point represents a member of the population. In PSO algorithm, there is no sudden jump or confusion; each point is a solution. Considering and as particle position and velocity, respectively, the position of th particle in a space with dime is represented with .

The position of each particle is changed in the next stage and it reaches a new position. The best position of th particle which is corresponding to the lowest cost function for that particle is saved in . In addition, of all particles are compared and the position of particle which has the lowest cost function is saved in . The next vector of each particle is depending on its position and its distance to its and its distance to . The relations of particles movements are as follows: where is a parameter that prevents going out of suitable search space which causes the solution to be in acceptable region and and are constants which represent the speed of learning or pulling to and ; the weighing function w is given by where and are the minimum and maximum of weighing function and iter is the number of iterations.

In order to optimize the parameters of the controller with PSO, the following cost function is used: where is the final time of simulation, is the error signal, and is the settling time of the system.

#### 5. Simulation and Results

To show the effectiveness of the proposed controller, simulation results are demonstrated in this section. The simulation results are obtained for two cases: without considering uncertainties and with considering uncertainties.

Using the model and system parameters, the following state space and control matrices are obtained: To obtain the coefficients and parameters of (10), two cases are considered.

##### 5.1. Without Considering Uncertainties

In this case, these coefficients and parameters are given by The parameters of the proposed controllers and should be positive definite. In the first step, they selected as unitary matrices. Using these matrices, some machine input variables become out of reasonable range. With PSO algorithm, the optimal matrices are obtained as PSO Parameters are iteration = 100 and population = 30.

With MATLAB coding, the following state feedback gain is obtained: The obtained results for three-phase short circuit are represented as follows.

The initial conditions of the system are obtained with AC load flow. Assuming a three-phase short circuit fault at sec on synchronous machine terminal for 200 ms, the results of Figures 2, 3, and 4 are obtained. The controller used here with and is called optimal H_{2} state feedback.

Referring to Figures 2, 3, and 4, it can be seen that the designed robust controller with optimized coefficients using PSO has considerably lower oscillations compared to conventional PSS. Using the designed controller, the oscillations are damped very rapidly; in fact, the settling time of the closed-loop system is very small which is very important in dynamic stability.

##### 5.2. Power System with Parametric Uncertainties

In this section, it is assumed that there are uncertainties in damping coefficient () and inertia constant () of synchronous machine. The uncertainty in is modeled as Using the following geometric series: the uncertainty in is modeled as follows: In (25) and (27), and represent the uncertainties in and , respectively.

The matrices of (10) are given by The matrices and using PSO algorithm after 100 iterations are obtained as Using MATLAB software, the state feedback gain is obtained as

##### 5.3. Three-Phase Short Circuit

Assuming a three-phase short circuit fault on synchronous machine terminal at sec for 200 msec, the capability of the proposed controller is investigated with uncertainties. Figures 5, 6, and 7 show the simulation results of this test. Figure 8 shows the convergence of PSO for the best cost.

These results show that when there are uncertainties in the system, the conventional PSS does not have a suitable response, but the proposed controller has a good response and good dynamic stability.

#### 6. Conclusion

Considering the capability of robust control in the presence of uncertainties, in this paper, a robust optimal state feedback controller is designed for a power system. Parameters of the controller are tuned using PSO algorithm. The performance of the closed-loop system is investigated without and with uncertainties in the mechanical parameters with three-phase short circuit fault and sudden load variation.

The obtained simulation results show the superiority of the proposed controller over conventional PSS. Using the proposed controller, the oscillations have a small amplitude and they are damped rapidly.

#### Appendix

System data for single machine infinite bus power system are shown as follows.

*Generator is**Transmission Line and Load are**Exciter (simplified IEEE type-ST1) is*

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.