#### Abstract

In this paper, an active frequency control strategy of wind turbines based on model predictive control is proposed by using the power margin of wind turbines operating in load shedding mode. The frequency response model of the microgrid system with the load shedding of the wind turbines is used to predict the output power and system frequency deviation of the wind turbine. According to the prediction information, the output power control signal of the model predictive controller in the wind turbine can be optimized. On this basis, a wind turbine active participation frequency control strategy based on model predictive control is designed by rolling prediction and optimization. The wind turbine power control signal after the strategy is used to adjust the output power of the wind turbine and balance the change of the active power of the system to reduce the frequency deviation.

#### 1. Introduction

With the large-scale development and access of domestic wind turbines, some wind turbines already have frequency modulation (FM) capacity, so that they can actively participate in the FM control [1–3]. Therefore, further exploration and research of wind turbines piconets frequency controller design scheme, on the one hand, make full use of the frequency modulation capability of synchronous generators in the system to maintain the frequency stability of microgrid after wind turbines are connected; on the other hand, by introducing the active frequency control, the wind turbines effectively participate in the system dynamic frequency regulation, so as to further improve the frequency response of microgrid containing wind turbines, which is of great significance to ensure the safe and economic operation of microgrid [4, 5].

As wind power retains a significant proportion of generation mix in the electric system, it may impact the system's frequency security due to the lack of frequency support from units. To make up for such a system change, wind turbines should actively provide frequency response upon request. Hence, the variable speed wind turbine generators, such as doubly-fed induction generator (DFIG) [6] and direct-drive permanent magnetic synchronous generator (PMSG) [7], are widely studied for their great control characteristics in recent works of literature. The results of a study on the frequency deviation of the utility grid due to wind power fluctuations are presented in [8], in which the deviation is estimated by a deterministic method based on the transfer functions of system components. In [9], a cooperative control scheme for wind generators and plug-in hybrid electric vehicles (PHEVs) is proposed, in which the centralized and distributed control structures are considered and examined as two possible coordination methods. Ref. [10] proposes a primary frequency response strategy for the DFIG to regulate the remote area power supply (RAPS) system frequency and further proposes a supplementary control loop to enhance the primary frequency response with torque feedback control. The authors in [11] discuss the possibility of deloading wind turbines for frequency response using blade pitch angle control, in which a pitch control scheme is proposed to provide frequency response utilizing fixed-speed induction generator- (FSIG-) and DFIG-based wind turbines. In [12], authors explore several operating strategies for DFIGs to support system frequency with less sacrifice in the wind energy production and validate the effectiveness of the methodology in regulating wind power upon the operator's request, while stability is assured under variant wind speeds. In [13], a switching angle controller (SAC) and an automatic generation controller (AGC) for the DFIG are proposed to control the frequency of DFIG-based wind power penetrated power systems, in which the concept of virtual rotor angle of the DFIG is defined, and the virtual rotor angle is controlled by the SAC in a bang-bang manner. Besides, some other related works have been reported recently, such as learning control methods [14], USDE-based sliding mode control, and output feedback control [15, 16]. However, in these above works, the load shedding for wind turbines is not considered, and the prediction of wind power is not discussed.

Therefore, considering both the load shedding and the prediction of wind turbines, this paper proposes a novel active frequency control strategy of the wind power based on model predictive control (MPC). The contributions of this paper can be summarized as follows:(1)The load shedding operation model of the wind turbine is established in this paper, in which a certain amount of mechanical power reserve for frequency modulation is obtained by reducing load and maintaining wind turbines worked at a suboptimal operating point.(2)An MPC-based active frequency control strategy is proposed for wind turbines in the paper by utilizing the power margin of wind turbines operating in load shedding mode, which is able to regulate the frequency deviations to be within the safe operation range and has the excellent dynamic performance of the system frequency.(3)The proposed control strategy in the paper can make full use of the advantages of model predictive control. Specifically, the proposed strategy is feasible without wind speed prediction due to the power output delay caused by the inertia link of the wind turbine.

The remainder of this paper is organized as follows. Section 2 introduces the load shedding operation model of the wind turbine. In Section 3, the wind turbine active participation in a microgrid frequency control strategy based on model predictive control is introduced. Then, simulation results carried on a single-area and a four-zone power system are shown in Section 4. Finally, Section 5 concludes this paper.

#### 2. Load Shedding Operation Model of Wind Turbine

Traditional wind turbines operate in the maximum power tracking mode, in which there is no power reserve for continuous frequency adjustment. In order to obtain a certain amount of mechanical power reserve for frequency modulation, wind turbines need to reduce load and maintain it at a suboptimal operating point, i.e., the load shedding operation model of the wind turbine. Specifically, this section describes the load reduction operation of the wind turbine to obtain the power reserve for frequency modulation.

The mechanical characteristic *P*_{m}(*ω*_{r}) of the wind turbine is shown in Figure 1, wherein the solid gray curve represents the typical maximum power tracking curve of the wind turbine. In order to realize the wind turbine participating in the frequency regulation of microgrid, the sufficient mechanical power load reduction capacity of the wind turbine is required. Therefore, for the wind turbine in a maximum power tracking mode, there is no available power reserve for frequency control. However, adopting blade variable torque Angle control requires external mechanical functions, which is inflexible and may lead to mechanical wear problems. Therefore, in the following context, this section discusses the use of rotor speed control to obtain the power reserve.

As shown in Figure 1, for the rotor speed control mode, the operating point of the wind turbine can be moved from the maximum power tracking curve to its left or right side. This section uses the right shift to maintain a higher rotor speed and store additional kinetic energy to achieve short-term frequency regulation. Therefore, the aerodynamic coefficient *C*_{p}(*λ*_{opt}) is multiplied by a load reduction coefficient *k*_{del}:

The active power of the wind turbine under load shedding mode is as follows:

Under the load-shedding operation mode, the tip speed ratio can be deduced as follows:where the suboptimal coefficient *C*_{del} is expressed as

The load shedding suboptimal power tracking curve shown in the red line in Figure 1 and the load shedding rotor speed are shown as follows:

#### 3. Wind Turbine Active Participation in Microgrid Frequency Control Strategy Based on Model Predictive Control

The model predictive control system is introduced in Section 3. The active control strategy of wind turbines with frequency modulation capacity proposed in this section is based on the model predictive control and frequency response model of the microgrid.

##### 3.1. Frequency Response Model of Microgrid with Wind Turbine Actively Participating in Frequency Control

The traditional active power control strategy of the wind turbine is based on the maximum power tracking curve generation success rate, so the frequency change and active power injection can be decoupled subtly. The objective of the auxiliary frequency controller in the wind turbine is to support the system frequency by associating its active power output with the system frequency. Therefore, the frequency deviation signal is introduced into the auxiliary frequency control strategy based on model predictive control.

The wind turbine has frequency modulation capability under load shedding mode, and its frequency response model structure is shown in Figure 2. The frequency response model (FRM) of wind turbines participating in frequency control is composed of the microgrid frequency control model and wind turbine model under load shedding operation mode. Its structure diagram is shown in Figure 3.

In Figure 2, the output wind power of the wind turbine can be expressed as the sum of control power command output by the model predictive controller and wind power output according to load shedding power tracking curve:where represents the output power command of the model predictive controller, and represents the wind power output according to the load shedding power tracking curve.

As shown in Figure 2, the input of the wind turbine frequency response model is the system frequency deviation, and the output is the active power injected into the microgrid. The frequency response model consists of an active power response unit and a rotor speed response unit. The active power response unit is composed of two parts: the power response unit of a frequency control strategy based on model predictive control and the rotor speed response unit. Its speed response depends on the rotating dynamics, that is, the balance between the generated electromagnetic power and the mechanical power captured by the fan. The mechanical power captured by the wind turbine is determined according to the fan’s mechanical power characteristic curve and rotor speed.

Due to the active participation of wind turbines in frequency control, wind turbines need to operate in load shedding mode to obtain a frequency modulation power margin. In this section, the wind turbine model and the frequency response model of multiarea microgrid under load shedding operation are described and derived. The frequency response model is the basis of the predictive model in the subsequent model predictive control strategy.

According to the mathematical model of wind turbine and microgrid frequency control system under load shedding operation described above, the frequency response model of wind turbine active frequency control is established. The mechanical torque and electromagnetic torque models of the wind turbine are expanded according to Taylor series, and the following mathematical models are obtained:where the first-order Taylor series expansion of the linear coefficient around the running point is defined as

The mathematical model of the elemental block drive model of the wind turbine under the download operation mode is expressed as an incremental form:

Taking into account the dynamic relation formula of generator load in the microgrid frequency control model, the following relation between frequency and power can be deduced according to the block diagram of the microgrid frequency response model in which the fan actively participates in the control:

By combining (7) with (8), and substituting the frequency control model of microgrid described in Section 3 into the above formula, we can obtain

By combining formula (11) with the frequency control model of microgrid, the frequency response model of microgrid with wind turbine active participation in frequency control can be uniformly described as the following mathematical model:where is the state variable matrix, is the control variable matrix, is the disturbance variable matrix, is the output vector, and , , , and are the coefficient matrices of the state space model.

The regional frequency deviation , tie-line power deviation , prime mover output power command , governor output power command , wind turbine rotor speed and synchronous generator power control command under load shedding operation are selected as state variables. Therefore, the state variable matrix can be expressed as follows:

The output vector is the regional control deviation signal . The control variable of the state space model is the output power command of the model predictive controller in the wind turbine. In the microgrid controlled by the wind turbine, the power fluctuation and wind speed change of tie-line caused by disturbance variables in other regions are represented as follows:

In the frequency response model formula (12), each coefficient matrix iswhere the parameters in are

In the frequency response model proposed in formula (12), the dynamic model of wind turbine participating in frequency control under load shedding operation is taken into account. Therefore, the frequency deviation of the system can be obtained by the input of wind speed and various state variables. At the same time, the frequency response model represents the linear relationship between wind speed fluctuation and frequency change, and the system output frequency and other variables are obtained through wind speed data input. Therefore, the frequency response model can be used as a prediction model after transformation, which can provide a reference for the frequency control strategy of wind turbines with frequency regulation capacity.

##### 3.2. Prediction Model of Wind Turbine Active Frequency Control Based on Microgrid System

Firstly, the frequency response model is discretized. The frequency response model of microgrid with wind turbine actively participating in frequency control, namely, the discrete linear state-space model of formula (12), can be expressed aswhere , , , and are, respectively, the state coefficient matrix, control coefficient matrix, observation coefficient matrix, and disturbance coefficient matrix after discretization of the continuous state-space model corresponding to formula (12).

According to the principle of the model predictive control algorithm, the system response is predicted in the prediction time domain . Based on the state information and the state equation of the current system time (time *k*), the system state and output response of the next time *k* *+* 1 are predicted as follows:where is the control time domain, and the control time domain is less than or equal to the prediction time domain ; is the output response of the system predicted at time *k* at time *k* *+* *j*, and ; is the optimal control variable of the system calculated at time *k* at time *k* *+* *j*, and ; ** I** is the identity matrix; when the time is between the control time domain and the prediction time domain, the optimal control sequence is the control sequence in the last control time domain.

The matrix form of formula (18) can be expressed as

In the formula,where in the control coefficient matrix , and in the measurement coefficient matrix .

Formula (19) is the microgrid frequency control prediction model of the region I, and is the prediction unit of model prediction control. Using this model, the frequency and state information of the system can be obtained in advance according to the current output signal, interference signal, and control signal of the system. The forecast information will be used to optimize the wind power output of the wind turbine by using the controller unit of the wind turbine under reduced load operation.

##### 3.3. Active Frequency Control Strategy of Wind Turbine Based on Model Predictive Control

The function of active frequency control of wind turbines based on model predictive control is to predict the system output and adjust the power control signal to change the fan output power, so as to obtain the better dynamic frequency response of the system. Therefore, model predictive control needs to determine appropriate control objectives and constraints and also needs to take into account the special dynamic characteristics of wind turbine under load shedding operation.

Figure 4 describes the flow chart structure of the wind turbine model predictive frequency control method. The model predictive control algorithm uses the predictive model to predict the frequency deviation and state variables of the system and then optimizes the wind turbine power control command sequence in the prediction time domain by optimizing the objective function of the controller. The predictive time domain only selects the control actions in the control time domain of the optimal control vector. In this cycle, the prediction of the previous time is repeated in the next cycle to recalculate the control action sequence.

For microgrid systems with wind turbines actively participating in frequency control under load shedding operation, the goal of model predictive control is to optimize the output power of wind turbines based on the system frequency standard and the actual frequency of the system. Therefore, for each control area containing wind turbines, the control objective function of model predictive control design should not only take into account the dynamic performance of wind turbines, but also consider the minimization of the frequency deviation of the microgrid. By optimizing the target, the proposed strategy can achieve maximum security and economic profits at the same time. The objective function of area *i* with load shedding wind turbines is expressed as follows:where and are symmetric weighted positive definite matrices.

The optimal control problem at time *k* can be expressed as the following optimal control objectives:

Its constraint condition is the discretization equation of the system frequency response model, namely, the equality constraint:

The inequality constraint is the limitation of the frequency modulation capacity margin of the wind generator:

Optimization objective formula (22) and constraint condition formula (23) and formula (24) form a programming problem. By using a rolling optimization algorithm, the optimal control action in the control time domain in the control sequence is taken as the actual control action of the system. At the next moment, the system state is remeasured, the optimization process is repeated, and the above steps are repeated. According to the prediction model formula (19), the fan controller in load reduction operation predicts the future state at time *k* and calculates the optimal control action sequence within the control range. At time *k* *+* 1, the optimization object formula (22) is solved in each controller based on the prediction information. The fan active frequency control strategy for model-based predictive control can be summarized by the following algorithm flow shown in Figure 5.

The first step (initialization): set the initial time *t* *=* *k*, the control time domain is *Nu*, the prediction time domain is *N*_{p}, the control signal *u*_{i}(*k*) at the current time is obtained, and the predicted state variable *x*_{i}(*k*) at the previous time is read;

The second step (prediction): the system state xi(*k* + 1) and output response yi(*k* + 1) of the next time *k* + 1 are predicted by using the system control variables and state variables of the current time *k*;

The third step (optimization): by solving the optimization objective formula (22), the control variable *u*_{i}(*k* + 1) at the next moment of *k* + 1 is obtained;

The fourth step (judgment): if the optimal control action of time *k* + 1 satisfies the constraint conditions, the controller applies the control action at that time; otherwise, it returns to the second step;

The fifth step (prediction): predict the system state and output response in the next prediction time domain;

The sixth step (implementation): apply the control action *u*_{i}(*k*) at time *k* + 1, set the time as *k* + 2, and go to the second step to execute the predictive control in the next control time domain.

Through the above steps, the control action sequence can be solved by the model predictive controller designed in this section, and then the control signal adjusts the output power of the wind turbine with frequency modulation capacity according to the fluctuation of wind speed, so as to balance the fluctuation of system load and stabilize the system frequency.

#### 4. The Simulation Analysis

In order to verify the effectiveness of the proposed model predictive control based wind turbine active participation frequency control strategy in improving the system frequency performance, this section carries out simulation experiments on the four-zone microgrid frequency control model shown in Figure 6. The model considers the frequency state of the synchronous generator and unloaded wind generator in the microgrid to test the proposed fan active frequency control strategy based on model predictive control. The simulation results of wind turbine active participation frequency control strategy based on model predictive control and conventional PID microgrid frequency control strategy proposed in this section are analyzed and compared.

In the single-area microgrid system of an airport island in reference [2], the wind turbine is considered as the new energy source, and the proposed active frequency control strategy is used for simulation. The state-space model is shown in the appendix. The parameters of the generator, governor, and non-reheat steam turbine are given in Table 1, which are widely used in references [15–18]. The single-zone system includes the wind turbine model under load shedding operation mode, and its parameters are shown in Table 2. Sampling time *T* = 0.1s, prediction time *T*_{p} = 0.3s, and control time *T*_{c} = 0.1s were set to simulate the proposed control strategy.

Input the 50-second wind speed sequence as shown in Figure 7(a) of standard wind speed data into the wind turbine running in load reduction mode. Figure 7(b) is the wind power output of the wind turbine. Figure 7(c) and Figure 7(d), respectively, show the dynamic response of system frequency deviation and the control variable of wind turbine output power. Table 3 shows the ITAE index values of regional maximum frequency deviation and frequency deviation when using the active participation frequency control strategy and PID frequency control strategy proposed in this paper, respectively. From the comparison of the simulation results in Table 3, the frequency deviation of the active frequency control strategy based on model predictive control is obviously less than that of the PID frequency control strategy.

**(a)**

**(b)**

**(c)**

**(d)**

In Figures 7(b) and 7(c), the red solid line corresponds to the proposed active frequency control strategy based on model predictive control, and the blue dotted line corresponds to the traditional PID control method, and the PID controller parameters are the parameters applied in reference [19]. The blue dotted line shown in Figure 7(b) shows the output wind power of the wind turbine when the traditional PID load frequency control method is adopted, and the red solid line is the wind power output of the wind turbine operating in the load shedding mode proposed in this paper. Through comparison, it is easy to know that the wind turbine output power under the load shedding mode proposed in this paper is gentler. As shown in Figure 7(c), the blue dotted line is the frequency fluctuation curve after adopting the PID controller, and the system frequency will be significantly affected by wind power fluctuation. In contrast, the active frequency control strategy based on model predictive control is shown in the red curve in the figure. The frequency dynamic response is better, the system frequency deviation is significantly reduced, and the frequency dynamic response is improved.

In the microgrid system of an airport in reference [2], considering that the four terminals are relatively independent, the wind turbine active participation frequency control strategy proposed in this paper is simulated and tested on the four-area microgrid frequency control model. The system structure is the same as the four-area simulation structure in paper three, and its state-space model is shown in the appendix. The simulation rated parameters of four-zone microgrid with non-reheat prime mover are shown in Table 4. In order to verify the effectiveness of the proposed strategy in improving the frequency performance of the system, wind turbine models operating in load shedding mode are also added in zone 1 and zone 4. The parameters of the wind turbine are the same as those used in Section 4.1. The standard wind speed series of 50 seconds is input into the wind turbine of area 1 and area 4, respectively, as shown in Figures 8(a) and 8(b). At the same time, when the prediction time domain is *T*_{p} = 0.3s, and the control time domain is *T*_{c} = 0.1s, the proposed scheme is simulated.

**(a)**

**(b)**

Similarly, the proposed wind turbine active participation in the microgrid frequency control strategy is compared with the traditional PID microgrid frequency control strategy in this section. The frequency deviation of zone 1 to zone 4 is shown in Figure 9, and the ITAE index values of frequency deviation and maximum frequency deviation of each region are given in Tables 5 and 6 respectively.

**(a)1**

**(b)**

**(c)**

**(d)**

As shown in Figure 9, Tables 5 and 6, the results show that the strategy proposed in this paper can well control the output power of the wind turbine to make it output appropriate power to suppress the frequency fluctuation. Therefore, compared with the PID frequency control method, the system frequency deviation of fan active frequency control strategy based on model predictive control is extremely small. At the same time, the frequency response of each area has good dynamic performance no matter there is a wind turbine connected or not. This shows that the proposed fan active participation frequency control strategy of wind turbines based on model predictive control can provide control instructions for wind turbines and help them output appropriate wind power to balance the frequency fluctuation of the system. The local frequency variation of each region converges to zero to ensure that the frequency deviation of each region is kept within the safe working range. Similarly, the model predictive control strategy of the wind turbine needs input wind speed information to predict the state variables and output variables of the system, but in fact, it is difficult to obtain accurate wind speed series by prediction. It is necessary to make use of the inertia part of the transmission system in the fan to cause the time delay of its output wind power relative to the real-time wind speed input. This time delay is used to obtain the output power of the wind turbine in advance, so as to effectively control the output wind power of the wind turbine without wind speed prediction, thus enhancing the ability of the microgrid system to effectively smooth the system frequency fluctuation caused by wind turbine access.

#### 5. Conclusion

In this paper, an active frequency control strategy of the wind turbine is proposed based on model predictive control by using the power margin of wind turbines operating in load shedding mode. Specifically, the frequency response model of the microgrid system with the load shedding of the wind turbine is utilized to predict the output power and system frequency deviation of the wind turbine. According to the prediction information, the output power control signal of the model predictive controller in the wind turbine can be optimized. On this basis, an MPC-based active frequency control strategy is designed for the wind turbine by rolling prediction and optimization. The wind turbine power control signal after the strategy is used to adjust the output power of the wind turbine and balance the change of the active power of the system to reduce the frequency deviation. Besides, controlled by the proposed strategy, the frequency regulation capacity of the load shedding fan can be fully utilized when the wind speed changes, the frequency deviation can be controlled within the safe operation range, and the dynamic performance of the system frequency can be adjusted to the expected results.

Moreover, due to the power output delay caused by the inertia link of the wind turbine, the proposed strategy is feasible without wind speed prediction, so the strategy can make full use of the advantages of MPC. In order to verify the effectiveness of the strategy, the traditional PID frequency control strategy and the strategy proposed in this paper are simulated and analyzed in a single-area and four-area microgrid.

#### Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

#### Acknowledgments

This study is financially supported by the National Natural Science Foundation of China (No. 71804177) and the Natural Science Foundation of Hunan Province (No. 2019JJ50455).