Next Article in Journal
Shielding Effectiveness of Unmanned Aerial Vehicle Electronics with Graphene-Based Absorber
Previous Article in Journal
Anomaly Detection Methods for Industrial Applications: A Comparative Study
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Model Predictive Secondary Frequency Control for Islanded Microgrid under Wind and Solar Stochastics

1
College of Information and Electronic Engineering, Zhejiang Gongshang University, Qiantang District, Hangzhou 310018, China
2
College of Electrical Engineering, Northeast Electric Power University, Jilin 132012, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(18), 3972; https://doi.org/10.3390/electronics12183972
Submission received: 15 August 2023 / Revised: 15 September 2023 / Accepted: 15 September 2023 / Published: 21 September 2023

Abstract

:
As microgrids are the main carriers of renewable energy sources (RESs), research on them has been receiving more attention. When considering the increase in the penetration of renewable energy sources/distributed generators (DGs) in microgrids, their low inertia and high stochastic power disturbance pose more challenges for frequency control. To address these challenges, this paper proposes a model predictive control (MPC) secondary control that incorporates an unknown input observer and where RESs/DGs use a deloading virtual synchronous generator (VSG) control to improve the system’s inertia. An unknown input observer is employed to estimate the system states and random power disturbance from the RESs/DGs and load to improve the effect of the predictive control. The distributed restorative power of each DG is obtained by solving the quadratic programming (QP) optimal problem with variable constraints. The RESs/DGs are given priority to participate in secondary frequency control due to the proper weighting factors being set. An islanded microgrid model consisting of multiple photovoltaic and wind power sources was built. The simulation results demonstrate that the proposed method improves the system frequency, restoration speed, and reduces frequency deviations compared with the traditional secondary control method.

1. Introduction

Microgrids have attracted tremendous attention because they can facilitate the integration of RESs/DGs and improve the reliability, efficiency, and flexibility of power grids [1]. Microgrids can be operated in an islanded mode, wherein the primary objective is to maintain a balance between sources and loads. RESs/DGs are connected to the microgrid through inverters, which makes the microgrid less inertial than the traditional grid and deteriorates the frequency characteristics of the system [2]; additionally, due to the uncertainty of RESs, more unknown disturbances are brought into the system [3]. All of these factors bring more challenges to the frequency regulation of microgrids [4].
Hierarchical control is the basic control strategy for microgrids, which includes primary frequency regulation, secondary frequency regulation, and even tertiary frequency regulation [5,6]. Primary regulation immediately adjusts the power output from the local governor or electronic controller to address the microgrid’s frequency deviation. The conventional primary control is a droop control, but it provides barely any inertia/damping support. To cope with this problem, the concept of the VSG has been presented. VSG mimics the behavior of conventional synchronous generators (SGs) and achieves primary frequency control while compensating for some inertia deficiency [7]. The primary control cannot achieve error-free regulation [8] and must introduce the secondary control; this is a control that utilizes measurements and communication systems to eliminate frequency deviation [9].
Many control methods have been utilized for the secondary frequency control of islanded microgrids [10]. The authors in [11] adopted a sliding mode control to control frequency; this method can overcome system uncertainty and has strong robustness, but the chattering phenomenon exists in sliding mode controls. The linear quadratic regulator (LQR) has also been used for the frequency control of microgrids [12,13]. Its design is convenient and suitable for MIMO systems, but it requires a high precision of the control parameters. Some artificial intelligence (AI) methods are also used for frequency control. In [14,15], the black hole optimization search algorithm and particle swarm optimization algorithm were used for secondary frequency control. The authors in [16,17] used a fuzzy adaptive controller and self-tuning techniques based on AI for secondary frequency control. However, these AI-based methods do not consider the control quantity in the objective function, which may cause power overlimit and waste renewable energy. In addition to centralized schemes, the distributed control has been previously adopted [18,19,20], but distributed control has the problems of high technical requirements, high costs, traffic congestion, and limits on critical monitoring and protection functions [21].
The emerging MPC method has a good control effect and robustness, and the rolling optimization algorithm can make up for the uncertainty that is caused by model mismatch, distortion, interference, and other factors [22]. The study in [23] is a review of the application of MPC in microgrids. The study analyzed the application of MPC in microgrids, covering various levels of the hierarchical control structure; however, it did not focus on the application of MPC in microgrid frequency regulation. The authors in [24] presented a novel secondary control method for voltage regulation in islanded microgrids. In [25], an MPC method for a renewable energy AC microgrid without a PID regulator was proposed. A tube-based MPC method was presented in [26] to control the participation of electric vehicles (EVs) in the frequency regulation of an islanded power system. The authors in [27] presented a modified MPC strategy to account for limiting overcurrent in the case of a faulted autonomous AC microgrid operation; however, this fails to address the impact of RES randomness. In [28], the authors considered energy storage systems based on virtual inertia control in coordination with a diesel generator that was controlled by the MPC method to improve the frequency regulation of an islanded MG. The authors in [29] proposed a fuzzy control combined with an MPC for VSG control, where the fuzzy MPC controller enhances the frequency stability of islanded microgrids by adjusting virtual inertia and damping coefficients. The authors in [30] presented an MPC strategy that optimizes the power flow between energy storage batteries in a microgrid and employs a solver to handle the nonlinear changes in energy storage batteries. However, the above-mentioned MPC studies only utilize storage batteries and diesel generators for participating in frequency regulation. Recently, RESs have been proposed to participate in system frequency regulation [31,32] through a deloading control that the DGs operate at suboptimal points. MPC requires an observer to estimate the current system state. The uncertainties from the DGs may deteriorate the performance of the observer. Conventional observers struggle to obtain accurate values because they only use input signals, including perturbed signals [33].
This paper proposes a load frequency control strategy for islanded microgrids based on the MPC method. The main salient features of the proposed method are briefly outlined as follows: (1) RESs adopt a deloading control and VSG control to provide reserve power, virtual inertia, and participation in secondary frequency regulation; (2) The decoupled unknown state observer is used to observe the system state value and power disturbance, respectively; (3) MPC is utilized to optimize the output of each RES/DG for secondary frequency control in real time. RESs/DGs are given priority by setting the appropriate weight factors, and the variable constraints are set based on the maximum available power of RESs/DGs to prevent their output power from exceeding the limit.
The rest of this article is organized as follows. Section 2.1 includes the study of microgrid load frequency modeling and its space state equations. Section 2.2 provides the unknown input observer design. The proposed MPC controller is described in Section 2.3. Section 2.4 focuses on wind power, photovoltaic, and load uncertainty modeling. The simulation and results are demonstrated in Section 3, and the conclusion is presented in Section 4.

2. Materials and Methods

2.1. Microgrid Model

The islanded microgrid studied in this paper is shown in Figure 1. It mainly contains two distributed photovoltaic generators (PV1, PV2), two distributed wind turbines (WT1, WT2), a battery energy storage system unit (BESS), and a diesel engine unit (DU). The capacity configuration of each power generation unit is shown in Table 1 below.
The conventional primary frequency control is droop control, but it provides barely any inertia/damping support. In Figure 1, the VSG deloading control is used for grid-tied converters to achieve virtual inertia and primary frequency regulation and obtain partial reserve power. It should be noted that RESs can participate in secondary frequency regulation by using a deloading control, but this also generates the influence of input uncertainty and affects the control effect. Furthermore, the stochastic power fluctuation of the WT, PV, and load causes system frequency fluctuation.

2.1.1. The Small Signal of VSG

In this study, the RESs adopt a VSG deloading control. The DC side provides a stable voltage for the inverter. The power command value is set according to the maximum available power and deloading coefficient. Deloading control has been extensively researched and is not the focus of this paper; however, [34] can serve as a reference for it.
In Figure 2, I d c [A] and U d c [V] are the DC side current and voltage, respectively. E [V] is the inverter output voltage, U l [V] is the grid voltage, I [A] is the grid current, L f [mH] is the filter inductor, C f [mF] is the filter capacitor, L g [mH] is the line inductor, K q is the voltage sag factor, P i n [kW] is the input power of the inverter, P i n [kW] is the output power of the inverter, and P r e f [kW] and Q r e f [kVar] are the command values of active and reactive power, respectively.
The mechanical equation of the synchronous generator is
J ω d ω d t = P s P e D ω ( ω ω n )
where P s [kW] is the mechanical power, P e [kW] is the electromagnetic power, and D is the damping factor of the generator. J is the rotational inertia of the generator, and ω [rad/s] is the mechanical angular velocity of the rotor; the electrical angular velocity is also ω [rad/s], and ω n [rad/s] is the synchronous angular velocity of the grid.
The active output of the inverter can be expressed as
P = E U l Z cos ( φ δ ) U l 2 Z cos φ
where Z [Ω] is the line impedance, P [kW] is the active output power of the inverter, E [V] is the inverter output voltage, U l [V] is the grid voltage, φ [rad] is the line impedance angle, and δ [rad] is the power angle.
For simplicity, the line impedance is usually represented as purely inductive and δ is a small value; thus, Equation (2) can be simplified as
P = 3 U U l ω L δ
where U [V] is the inverter-side voltage, L [mF] is line inductive reactance, and U l [V] is the grid-side voltage.
From Equation (3), the output power and power angle are linearly related. The power angle of VSG can be obtained through the rotor mechanical Equation (1).
By combining Equations (1) and (3), the VSG small-signal model can be obtained as shown in Figure 3, where K = 3 U U l ω L .

2.1.2. LFC Model of Microgrid

This paper mainly focuses on the secondary frequency control of RES high-penetration microgrids. The load frequency control (LFC) model of the microgrid is shown below in Figure 4. In the LFC model, the VSG small-signal model is used to simulate the grid-connected inverter. The energy storage battery and the diesel engine adopt the first-order equivalent model. More details can be found in [35]. In order to facilitate the research, all parameters are normalized.
In Figure 4, J pv and J wt are the inertia values of the virtual synchronous generator of the photovoltaic and wind turbines, respectively. D pv and D wt are the damping values of the virtual synchronous generator of the photovoltaic and wind turbines, respectively. Δ U pv , Δ U wt , Δ U du , and Δ U bess are the power reference values of the photovoltaic, wind turbine, diesel engine, and energy storage battery, respectively. R and T du 1 are the diesel sag factor and speed regulation time constant, respectively, and T du 2 is the time constant of the diesel engine. K 1 is the rated angular velocity, K 2 = 3 U U g ω L , H t is the microgrid inertia, and D t is the damping coefficient of the system. The specific values of the LFC microgrid modeling are listed in Table 2.

2.1.3. State-Space Equation Modeling

The microgrid LFC model of Figure 4 is organized into a state-space form as follows:
x ˙ ( t ) = A x ( t ) + B u ( t ) y ( t ) = C x ( t )
where x(t) is the state variable, u(t) is the control variable and unknown input perturbation, and y(t) is the output variable; A, B, and C are the state constant matrix, control constant matrix, and output constant matrix of the continuous state equation, respectively. The system state and control quantities are shown below.
x = ω pv 1 p pv 1 ω pv 2 p pv 2 ω wt 1 p wt 1 ω wt 2 p wt 2 p bess ω du p du f T
u = u pv 1 u pv 2 u wt 1 u wt 2 u bess u du T
where ω pv 1 ω pv 2 is the angular velocity of the PV virtual synchronous generator, p pv 1   p pv 2 is the PV output power, ω wt 1   ω wt 2 is the angular velocity of the WT virtual synchronous generator, p wt 1   p wt 2 is the WT output power, ω bess is the angular velocity of the BESS virtual synchronous generator, p bess is the BESS output power, p du is the diesel engine output power, ω du is the diesel engine angular velocity, and f is the system frequency variation. u is the control variable of DGs.

2.2. Unknown Input Observer Design

In this study, an MPC is used for secondary frequency control because it can achieve satisfactory control effects when dealing with multi-input multi-output coupled systems. MPC uses the current system state as the initial value for the predictive control. However, the system’s current state is not directly measurable, so a state observer is necessary.
Due to the randomness of the system, conventional observers struggle to obtain accurate system states. This paper uses an unknown input observer to obtain the state estimation and unknown input perturbation (the equivalent load disturbance).
The equivalent load disturbance is represented as an unknown input disturbance d k . The state equations of the microgrid can be rewritten as
x k = A o b x k 1 + B o b u k + E o b d k y k = C o b x k
where A o b is the state matrix of the system; B o b is the control matrix of the system, which does not contain unknown perturbation terms; C o b is the output matrix of the system; E o b is the matrix of unknown input perturbations; x k is the state vector; y k is the output vector; u k is the known input vector; and d k is the equivalent load perturbation. They are all discretized matrices.
The state estimation error vector e k is defined as
e k = x k x ^ ( k | k )
where x ^ ( k | k ) is the state estimate.
The structure of the UIO according to the dynamic system design is shown in Figure 5. The equations are as follows:
z k = F z k 1 + T B u k 1 + K y k
x ^ ( k | k ) = z k + H y k
where z k is the state of the observer, and F, T, K, and H are the matrices designed to achieve the decoupling of the unknown inputs. From the block diagram, it can be seen that the UIO is essentially a dynamic system that decouples the state estimates from the perturbation terms in the original system.
Expanding e ˙ ( k ) , we obtain:
e ˙ ( k ) = ( A H C A K 1 C ) e ( k ) + [ F ( A H C A K 1 C ) ] z ( k ) + [ K 2 H ( A H C A K 1 C ) ] y ( k ) + [ T ( I H C ) ] B u ( k ) + ( H C I ) E d ( k )
It can be seen that if we want to observe the decoupled state, e k needs to be made a function of M e k , i.e.,
e ˙ k = M e k .
The following equation can be derived:
0 = ( H C I ) E
T = I H C
F = A H C A K 1 C
K 2 = F H
If all eigenvalues of M are negative, then e ( k ) will gradually approach zero. Based on Equation (11), the value of the corresponding matrix is obtained. At this point, Equation (10) is not a function of E or d k , having achieved the expected decoupling of the state estimate from the unknown perturbation input.
The disturbance estimate can also be derived as:
d ( k | k ) = ( C E ) [ y C A x ^ ( k | k ) C B u ]
where d ( k | k ) is the estimated value of the disturbance.

2.3. Model Predictive Controller Design

MPC control is used in this paper to implement the secondary frequency regulation control of the microgrid, and its control structure is shown in Figure 6.
In Figure 6, the MPC controller frequency deviation Δf reference is 0, and the output is the power reference ΔU for each DG. The current state x(k|k) is observed by the proposed unknown input observer. The system state is predicted in the finite time domain based on the prediction model. The rolling optimal control is adopted to solve the optimal control variable under the satisfied constraint. The output ΔU adjusts the DG’s output power to improve the system frequency response.

2.3.1. Prediction Model

Considering the accuracy of the MPC and the complexity of the calculation, this paper sets the prediction time domain as p = 12 and the control time domain as m = 4. Combined with the system discrete model, the prediction values in the prediction time domain p can be obtained using the following equations:
Y p ( k + 1 k ) = S Δ x ( k ) + I y ( k ) + S B Δ U ( k )
S = C A i = 1 2 C A i i = 1 3 C A i i = 1 p C A i T
I = 1 1 1 1 1 × p T
S B = C B 0 0 i = 1 2 C A i 1 B C B 0 i = 1 3 C A i 1 B i = 1 2 C A i 1 B C B i = 1 4 C A i 1 B i = 1 3 C A i 1 B i = 1 k m + 1 C A i 1 B i = 1 p C A i 1 B i = 1 p 1 C A i 1 B i = 1 p m + 1 C A i 1 B
where Y p ( k + 1 k ) , k = 1 , 2 , 3 p .

2.3.2. Constraints

For generators and energy storage batteries, the available power mainly depends on their rated capacity, so the constraints of diesel engines and energy storage batteries during frequency regulation can be expressed as
P D U , min P ¯ D U Δ U D U ( k ) P D U ,   max   P ¯ D U P B E S S , min P ¯ B E S S Δ U B E S S ( k ) P B E S S , max P ¯ B E S S
where P D U , min , P D U ,   max   , P B E S S , min , and P B E S S , max are the upper and lower power limits of the diesel engine and energy storage unit, respectively. P ¯ D U , P ¯ B E S S is the upper dispatch power value at the current moment.
The available power for the WTs and PVs is dependent on the maximum power and deloading level d%. In this paper, a 10% deloading level is chosen for each WT and PV. The estimation method for the maximum available power is provided in [36].
The available frequency regulation power constraints of the WT and PV generating sets are set as
d % P MAP , WT Δ U WT ( k ) d % P MAP , WT d % P MAP , PV Δ U PV ( k ) d % P MAP , PV
where P MAP , PV and P MAP , WT are the maximum available power of the PV and WT, respectively. d % is the deloading level. Δ U PV ( k ) and Δ U WT ( k ) are the available power of the PV and WT, respectively.

2.3.3. Optimization Target

The optimization objectives of the MPC control are set as follows:
J ( x ( k ) , Δ U ( k ) ) = Γ y x ( k + 1 k ) 2 + Γ u Δ U ( k ) 2
The objective function includes state variables and control variables, which can be optimally solved by considering these two sets of variables, where Γ y and Γ u are the weight matrices of the state variable and output variable, respectively.
Γ y = d i a g { α α α α } Γ u = d i a g { β P V 1 β P V 2 β W T 1 β W T 2 β D U β B E S S }
where Γ y is used to penalize the system frequency deviation and Γ u is used to penalize the control output, i.e., the output power of the generation unit; α and β are the corresponding penalty factors.
To make full use of renewable energy, it is better to prioritize the output power of the RESs participating in frequency regulation. We set the penalty factors of the PVs and WTs to be lower than those of the battery and diesel units. In this paper, α = 1.395; the wind and photovoltaics had a penalty factor of β W T = β P V = 0.2432, and the diesel unit and battery had a penalty factor of β D U = β B e s s = 0.3236 .
The diesel and storage units have a larger penalty factor than the WTs and PVs. This treatment can prioritize the wind and photovoltaic units for participation in secondary frequency regulation.

2.3.4. Constraint-Containing Optimization Problem Solving

Due to the existence of constraints, the optimal solution of the objective function cannot be directly obtained. Therefore, it is necessary to convert the MPC optimization problem with variable constraints into a quadratic programming problem. The prediction equation is brought into the objective function and, for the optimization problem, the objective function is simplified as:
J = Δ U ( k ) T ( S T Γ y T Γ y S T + Γ u T Γ u ) Δ U ( k ) ( 2 S T Γ y T Γ y E p ( k + 1 k ) ) T Δ U ( k )
Converting the constraints into inequality form, we obtain:
C Δ U ( k ) B ( k + 1 | k )
To solve the optimization problem in quadratic programming form, we define new variables, i.e., where R is the reference value matrix.
ρ = Γ y Y p ( k + 1 ) - R ( k + 1 ) Γ u Δ U ( k )
The optimization problem then becomes min ρTρ, and the extreme value condition of ρTρ = (Az − b)T(Azb) is derived from the derivative to obtain the extreme value solution.
Z = ( A T A ) 1 A T b
The optimal control sequence that is obtained by solving is as follows:
Δ U ( k ) = K m p c ( 0 Y p ( k + 1 k ) )
K m p c = S B T Γ y T Γ y S B + Γ u T Γ u 1 S B T Γ y T Γ y
Only the first element of the optimal control sequence is taken as the control output.
Based on the above discussion, the flow chart of the MPC controller designed in this paper is shown in Figure 7.
The state observer obtains the current system state X ( k | k ) according to the input system output Y ( k | k ) and control command U ( k | k ) and passes it to the MPC controller. The MPC controller predicts the system state in the prediction time domain through the prediction model according to the current state. The optimization is solved according to the optimization objective and set real-time variable constraints. The first control command in the optimal control sequence is sent to the control object to complete the optimal control.

2.4. Equivalent Load and Wind Power, Photovoltaic, Load Uncertainty Modeling

To facilitate analysis, the WT and PV output power can be equivalent to a ‘negative’ load. The equivalent load power of the system is the difference in power between the load and PV as well that of the WT power. The equivalent load power of the system is
Δ P E = Δ P L Δ P W Δ P S
where Δ P E is the equivalent load power of the system, Δ P L is the load power, Δ P W is the WT power, and Δ P S is the PV power. The equivalent load perturbation is represented as an unknown input perturbation by the B array. The specific values are shown in Appendix A.
The wind speed, irradiance, and system load fluctuate. In this study, the wind speed, irradiance, and load are obtained according to statistical rules.
Irradiance is usually approximated to obey the lognormal distribution. The probability distribution function is as follows:
f ( I t | μ t , σ t ) = 1 I t μ t 2 π exp ( ( ln I t σ t ) 2 2 σ t 2 )
where I t is the solar irradiance at time t and μ t , σ t is the parameter of the lognormal distribution function.
Wind speed is described as the three-parameter Burr distribution function, which is expressed as
f ( v t | a t , c t , k t ) = ( k t c t a t ( v t a t ) c t 1 ) ( 1 + ( v t a t ) c t ) k t + 1
where v t is the wind speed at time t; a t , c t , k t are the scale parameter, first shape parameter, and second shape parameter of the Burr distribution at time t, respectively. According to the generated wind speed and irradiance data, the output power of the WT and PV is obtained.
The load fluctuation can be expressed by the normal distribution function that is shown in the following equation:
f ( P ) = 1 2 π σ p exp ( ( P μ p ) 2 2 σ p 2 )
where σ p is the standard deviation of active power; μ p is the mean value of active power.
Details of the probabilistic model and the remaining parameters can be found in [37].

3. Results

To verify the effect of the proposed control strategy, according to Figure 1, this paper built a simulation model of a microgrid consisting of wind turbines and photovoltaic, diesel, and energy storage batteries. The traditional PI control, conventional MPC control, and proposed MPC control are the three control methods used for secondary frequency regulation. In the study, all parameters are normalized.

3.1. Wind Speed, Solar Irradiance, and Load Fluctuation Scenarios

According to the probability model proposed in Section 2.4, take μ t = 0.01   σ t = 0.02   a t = 2.15 , c t = 2 , k t = 0.5   σ p = 0.08   μ p = 0 . The generated RESs/DGs power data and equivalent load are shown in Figure 8.
Figure 9 shows the observation results of the decoupled observer and observation error. Figure 9a shows the observed results of the equivalent load perturbations. In the equivalent load fluctuation smooth range, which ranges from 160 s to 180 s, the observation performance is accurate. In the high fluctuation range, which ranges from 40 s to 80 s, the observation performance is degraded. This means that the observation error is 1%. Overall, the observed value for the proposed observer is close to the real value, although the load perturbations quickly vary.
Figure 9b shows the observation results of x6, that is, the output power of the WT. Figure 9c shows the observation results of x9, that is, the output power of the energy storage battery, and Figure 9d shows the observation results of x11, that is, the diesel engine angular velocity. x6 is the output of the second-order system, and x9 is the output of the first-order system; it can be seen that, compared with the second-order system, the observer has a better observation effect on the first-order system.
Figure 10 is the power instruction value of the controller.
The upper and lower limits of power of the diesel engine and energy storage battery are fixed; however, due to the fluctuations in the irradiance and wind speed, the upper and lower limits of PV and WT fluctuate.
Observing Figure 10, we see that the output of the PI controller is proportionally distributed to the DGs. The output power of each DG is approximate.
While there are two MPC controls, by solving the quadratic programming problem, the optimal power of each DG is obtained. Due to the setting of the weight coefficient, the outputs of PV and WT will be higher than that of the diesel engine and energy storage battery. Across some time periods, such as from 10 s to 30 s, the PV and WT outputs reach their maximum values but do not cross the limit due to the real-time variable constraint setting.
Figure 11 is the frequency response result of Case 1.
As seen in Figure 11, among the three control methods, two MPC methods had a better frequency control effect than the PI control because MPC uses real-time rolling optimization and can optimally distribute the restorative power between all DGs. The proposed control method has the best frequency response because the used unknown input observer has an accurate observed value that is beneficial for model prediction in the prediction time domain. The standard deviation of the PI control is 7.174 × 10−3, MPC is 5.232 × 10−3, and UIO + MPC is 3.651 × 10−3.

3.2. Severe Fluctuation Scenarios of Wind Speed, Solar Irradiance, and Load

In some severe weather conditions, wind speed and solar irradiance may rapidly change, such as through the rapid shading of clouds, sudden changes in wind speed, etc. Take μ t = 0.01   σ t = 0.05   a t = 1.22 , c t = 1.1 , k t = 2   σ p = 0.15   μ p = 0 . This generates a set of fluctuations and more violent random perturbations, and the data are shown in Figure 12 below.
As shown in Figure 13, although the fluctuation is intensified, the observer can still obtain an accurate estimate. The average observation error is 1.5%. The observation effect of the first-order system is better than that of the second-order system.
Figure 14 is the output of the controller in Case 2.
Similarly, the traditional PI control allocates the recovery power proportionally to each DG. Subfigures a–d show that the PV and WT reach saturation at many time points. However, the MPC control is the optimal control under the constraint; the MPC will increase the output of other DGs when some RESs reach the power limit. Therefore, in this time frame, the output powers of the diesel and storage battery will be increased appropriately to ensure frequency regulation performance.
Figure 15 is the frequency response result of Case 2. Among the three control methods, the proposed method has the best frequency control effect. The standard deviation of the PI control is 9.817 × 10−3, MPC is 7.613 × 10−3, and the UIO + MPC is 4.612 × 10−3.
To reflect the performance of the proposed controller more intuitively in the secondary frequency regulation control response, Table 3 depicts the maximum frequency deviation and standard deviation of the three controllers.

4. Conclusions

This paper proposes an MPC microgrid secondary frequency control method by incorporating an unknown input observer. RESs adopt a deloading VSG control and participate in centralized secondary frequency regulation. The proposed unknown input observer, when decoupled, observes the unknown equivalent load input and system state, respectively.
Compared with the conventional PI control, the results show that the proposed controller reduces the standard deviation by 49% in the case of small perturbations and by 53% in the case of large perturbations. Benefiting from the improvement in the observation effect, when compared with the normal MPC control, the results show that the proposed controller reduces the standard deviation by 31% in the case of small perturbations and by 38% in the case of large perturbations.
The proposed method improves the insufficient inertia of the RES high-permeability microgrid and enables the RESs to participate in secondary frequency regulation. The unknown input observers improve the observation accuracy, thus improving the control effect of MPC. The MPC controller gives priority to the RES output, which reduces the consumption of the energy storage battery and diesel engine. The proposed control strategy in this paper has a better control effect on microgrid frequency control.
In this paper, the influence of randomness on the MPC algorithm is not considered; this may affect the control effect of the controller. In subsequent research, the stochastic model predictive control method will be studied to further enhance the frequency control effect under the high stochastic power perturbation scenario, for example, in chance-constrained MPC and tree-based MPC applications.

Author Contributions

Conceptualization, Z.Z.; methodology, Z.Z., X.Z. and C.Z.; software, X.Z. and C.Z.; validation, Z.Z.; investigation, Z.Z. and X.Z.; resources, C.Z.; writing—original draft preparation, Z.Z.; writing—review and editing, X.Z. and C.Z.; visualization, C.Z.; supervision, C.Z.; project administration, Z.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Jilin Province Science and Technology Development Plan Project under grant ID 20190201289JC.

Data Availability Statement

The data are available in a publicly accessible repository.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

A = D 1 J K 1 J 0 0 0 0 0 0 0 0 0 K 1 K J K 2 0 0 0 0 0 0 0 0 0 0 2 π K 2 0 0 D 1 J K 1 K 2 J 0 0 0 0 0 0 0 K 1 K J 0 0 K 2 0 0 0 0 0 0 0 0 2 π K 2 0 0 0 0 D 1 J K 1 K 2 J 0 0 0 0 0 K 1 K J 0 0 0 0 K 2 0 0 0 0 0 0 2 π K 2 0 0 0 0 0 0 D 1 J K 1 K 2 J 0 0 0 K 1 K J 0 0 0 0 0 0 K 2 0 0 0 0 2 π K 2 0 0 0 0 0 0 0 0 1 T b e s s 0 0 0 0 0 0 0 0 0 0 0 0 1 T d u 1 0 1 R T d u 1 0 0 0 0 0 0 0 0 0 1 T d u 2 1 T d u 2 0 0 1 6 H 0 1 6 H 0 1 6 H 0 1 6 H 1 6 H 0 1 6 H D H
B = k 1 J 0 0 0 0 0 0 0 0 0 0 0 0 0 0 k 1 J 0 0 0 0 0 0 0 0 0 0 0 0 0 0 k 1 J 0 0 0 0 0 0 0 0 0 0 0 0 0 0 k 1 J 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 T b e s s 0 0 0 0 0 0 0 1 T d u 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 H
C = 0 0 0 0 0 0 0 0 0 0 0 1

References

  1. Rehman, H.U.; Yan, X.; Abdelbaky, M.A.; Jan, M.U.; Iqbal, S. An advanced virtual synchronous generator control technique for frequency regulation of grid-connected PV system. Int. J. Electr. Power Energy Syst. 2021, 125, 106440. [Google Scholar] [CrossRef]
  2. Dozein, M.G.; De Corato, A.M.; Mancarella, P. Virtual inertia response and frequency control ancillary services from hydrogen electrolyzers. IEEE Trans. Power Syst. 2022, 38, 2447–2459. [Google Scholar] [CrossRef]
  3. Da Silva, G.S.; de Oliveira, E.J.; de Oliveira, L.W.; de Paula, A.N.; Ferreira, J.S.; Honório, L.M. Load frequency control and tie-line damping via a virtual synchronous generator. Int. J. Electr. Power Energy Syst. 2021, 132, 107108. [Google Scholar] [CrossRef]
  4. Oshnoei, S.; Aghamohammadi, M.; Oshnoei, S. A novel fractional order controller based on fuzzy logic for regulating the frequency of an islanded microgrid. In Proceedings of the 2019 International Power System Conference, Tehran, Iran, 9–11 December 2019; pp. 320–326. [Google Scholar]
  5. Hu, J.; Xu, G.; Bi, T.; Cui, H. Coordinated frequency control method for variable speed and pitch of load shedding wind turbine. Power Grid Technol. 2019, 43, 3656–3663. [Google Scholar]
  6. Liu, L.; Wu, N.; Zhang, H.; Wu, L.; Liu, M.; Tang, Z. Multi-objective optimization model and simulation verification of economical secondary frequency and voltage control for microgrid. Power Grid Technol. 2019, 43, 521–530. [Google Scholar]
  7. Li, M.; Yu, P.; Hu, W.; Wang, Y. Phase Feedforward Damping Control Method for Virtual Synchronous Generators. IEEE Trans. Power Electron. 2022, 37, 9790–9806. [Google Scholar] [CrossRef]
  8. Xiaohui, Q.; Lining, S.; Yongning, C. Discrimination and analysis of inertia support and primary frequency modulation function of virtual synchronous generator in large power grid. Autom. Electr. Power Syst. 2018, 9, 36–43. [Google Scholar]
  9. Ayar, M.; Trevizan, R.D.; Obuz, S.; Bretas, A.S.; Latchman, H.A.; Bretas, N.G. Cyber-physical robust control framework for enhancing transient stability of smart grids. IET Cyber Phys. Syst. Theory Appl. 2017, 2, 198–206. [Google Scholar] [CrossRef]
  10. Khalghani, M.R.; Solanki, J.; Solanki, S.K.; Sargolzaei, A. Stochastic Secondary Frequency Control of Islanded Microgrid Under Uncertainties. IEEE Syst. J. 2021, 15, 1056–1065. [Google Scholar] [CrossRef]
  11. Cucuzzella, M.; Trip, S.; De Persis, C.; Ferrara, A. Distributed second order sliding modes for optimal load frequency control. In Proceedings of the 2017 American Control Conference (ACC), Seattle, WA, USA, 24–26 May 2017; pp. 3451–3456. [Google Scholar]
  12. Devi, P.S.; Santhi, R.V.; Pushpalatha, D. Introducing LQR-fuzzy technique with dynamic demand response control loop to load frequency control model. IF AC Pap. 2016, 49, 567–572. [Google Scholar] [CrossRef]
  13. Sen, S.; Kumar, V. Decentralized output-feedback-based robust LQR V-f controller for PV-battery microgrid including generation uncertainties. IEEE Syst. J. 2020, 14, 4418–4429. [Google Scholar] [CrossRef]
  14. Khooban, M.-H. Secondary load frequency control of time-delay stand-alone microgrids with electric vehicles. IEEE Trans. Ind. Electron. 2018, 65, 7416–7422. [Google Scholar] [CrossRef]
  15. Gholamrezaie, V.; Dozein, M.G.; Monsef, H.; Wu, B. An optimal frequency control method through a dynamic load frequency control (LFC)model incorporating wind farm. IEEE Syst. J. 2018, 12, 392–401. [Google Scholar] [CrossRef]
  16. Ghafouri, A.; Milimonfared, J.; Gharehpetian, G.B. Fuzzy-adaptive frequency control of power system including microgrids, wind farms, and conventional power plants. IEEE Syst. J. 2018, 12, 2772–2781. [Google Scholar] [CrossRef]
  17. Khalghani, M.R.; Khushalani-Solanki, S.; Solanki, J. A load frequency control for microgrid including stochastic elements based on hebb learning. In Proceedings of the 2017 North American Power Symposium (NAPS 2017), Morgantown, WV, USA, 17–19 September 2017; pp. 1–6. [Google Scholar]
  18. Lai, J.; Zhou, H.; Lu, X.; Yu, X.; Hu, W. Droop-based distributed cooperative control for microgrids with time-varying delays. IEEE Trans. Smart Grid 2016, 7, 1775–1789. [Google Scholar] [CrossRef]
  19. Shafiee, Q.; Guerrero, J.M.; Juan, V.C. Distributed secondary control for islanded microgrids—A novel approach. IEEE Trans. Power Electron. 2014, 29, 1018–1031. [Google Scholar] [CrossRef]
  20. Bidram, A.; Davoudi, A.; Lewis, F.L. A multi-objective distributed control framework for islanded AC microgrids. IEEE Trans. Ind. Inform. 2014, 10, 1785–1798. [Google Scholar] [CrossRef]
  21. Zhang, X.-M.; Han, Q.-L. Network-based H∞ filtering using a logic jumping-like trigger. Automatica 2013, 49, 1428–1435. [Google Scholar] [CrossRef]
  22. Kumar, K.; Bae, S. Dynamic power management based on model predictive control for hybrid-energy-storage-based grid-connected microgrids. Electr. Power Energy Syst. 2022, 143, 108384. [Google Scholar] [CrossRef]
  23. Joshal, K.S.; Gupta, N. Microgrids with Model Predictive Control: A Critical Review. Energies 2023, 16, 4851. [Google Scholar] [CrossRef]
  24. Lou, G.; Gu, W.; Sheng, W.; Song, X.; Gao, F. Distributed model predictive secondary voltage control of islanded microgrids with feedback linearization. IEEE Access 2018, 6, 50169–50178. [Google Scholar] [CrossRef]
  25. Shan, Y.; Hu, J.; Li, Z.; Guerrero, J.M. A Model Predictive Control for Renewable Energy Based AC Microgrids Without Any PID Regulators. IEEE Trans. Power Electron. 2018, 33, 9122–9126. [Google Scholar] [CrossRef]
  26. Oshnoei, A.; Kheradmandi, M.; Muyeen, S.; Hatziargyriou, N.D. Disturbance observer and tube-based model predictive controlled electric vehicles for frequency regulation of an isolated power grid. IEEE Trans Smart Grid 2021, 12, 4351–4362. [Google Scholar] [CrossRef]
  27. Taher, A.M.; Hasanien, H.M.; Ginidi, A.R.; Taha, A.T. Hierarchical Model Predictive Control for Performance Enhancement of Autonomous Microgrids. Ain Shams Eng. J. 2021, 12, 1867–1881. [Google Scholar] [CrossRef]
  28. Wu, J.; Yang, F. A dual-driven predictive control for photovoltaic-diesel microgrid secondary frequency regulation. Appl. Energy 2023, 334, 120652. [Google Scholar] [CrossRef]
  29. Li, B.; Zhou, L.; Yu, X.; Zheng, C.; Liu, J. Quadratic Frequency Modulation Scheme of Microgrid Inverter Based on Improved Virtual Synchronous Generator Algorithm. PowerGrid Technol. 2017, 41, 2680–2687. [Google Scholar]
  30. Morstyn, T.; Hredzak, B.; Aguilera, R.P.; Agelidis, V.G. Model Predictive Control for Distributed Microgrid Battery Energy Storage System. IEEE Trans. Control Syst. Technol. 2018, 26, 1107–1114. [Google Scholar] [CrossRef]
  31. Wang, Y.; Delille, G.; Bayem, H.; Guillaudand, X.; Francois, B. High Wind Power Penetration in Isolated Power Systems—Assessment of Wind Inertial and Primary Frequency Responses. IEEE Trans. Power Syst. 2013, 28, 2412–2420. [Google Scholar] [CrossRef]
  32. Kroposki, B.; Johnson, B.; Zhang, Y.; Gevorgian, V.; Denholm, P.; Hodge, B.M.; Hannegan, B. Achieving a 100% Renewable Grid: Operating Electric Power Systems with Extremely High Levels of Variable Renewable Energy. IEEE Power Energy Mag. 2017, 15, 61–73. [Google Scholar] [CrossRef]
  33. Prasad, S.; Purwar, S.; Kishor, N. Non-linear sliding mode based load frequency control for power systems using unknown-input-observer. In Proceedings of the 2017 Indian Control Conference, ICC 2017, Guwahati, India, 4–6 January 2017; pp. 233–239. [Google Scholar]
  34. Jawad, A.; Masood, N. A systematic approach to estimate the frequency support from large-scale PV plants in a renewable integrated grid. Energy Rep. 2022, 8, 940–954. [Google Scholar] [CrossRef]
  35. Rajaguru, V.; Iyswarya Annapoorani, K. Virtual synchronous generator based superconducting magnetic energy storage unit for load frequency control of micro-grid using African vulture optimization algorithm. J. Energy Storage 2023, 65, 107343. [Google Scholar] [CrossRef]
  36. Zhang, Q.; Li, Y.; Ding, Z.; Xie, W.; Li, C. Self-Adaptive Secondary Frequency Regulation Strategy of Micro-Grid with Multiple VirtualSynchronous Generators. IEEE Trans. Ind. Appl. 2020, 56, 6007–6018. [Google Scholar] [CrossRef]
  37. Sun, H.; Gong, L.; Peng, C. Multi-objective Dynamic Decomposition Optimal Dispatch Considering Wind-photovoltaic-hydro Multiple Uncertainty Confidence Risk. Power Syst. Technol. 2022, 46, 3416–3425. [Google Scholar]
Figure 1. Schematic diagram of the microgrid structure.
Figure 1. Schematic diagram of the microgrid structure.
Electronics 12 03972 g001
Figure 2. VSG control schematic diagram.
Figure 2. VSG control schematic diagram.
Electronics 12 03972 g002
Figure 3. Virtual synchronous generator small-signal model.
Figure 3. Virtual synchronous generator small-signal model.
Electronics 12 03972 g003
Figure 4. Equivalent model of the microgrid.
Figure 4. Equivalent model of the microgrid.
Electronics 12 03972 g004
Figure 5. UIO schematic diagram.
Figure 5. UIO schematic diagram.
Electronics 12 03972 g005
Figure 6. Schematic diagram of the MPC control principle.
Figure 6. Schematic diagram of the MPC control principle.
Electronics 12 03972 g006
Figure 7. MPC control flow chart.
Figure 7. MPC control flow chart.
Electronics 12 03972 g007
Figure 8. Random disturbance of WT, PV, loads, and equivalent load.
Figure 8. Random disturbance of WT, PV, loads, and equivalent load.
Electronics 12 03972 g008
Figure 9. (a) Equivalent load estimation value; (b) system state x 6 estimation value; (c) system state x 9 estimation value; (d) system state x 11 estimation value.
Figure 9. (a) Equivalent load estimation value; (b) system state x 6 estimation value; (c) system state x 9 estimation value; (d) system state x 11 estimation value.
Electronics 12 03972 g009aElectronics 12 03972 g009b
Figure 10. Controller instruction value in Case 1. (a) PV power output, (b) WT power output, (c) energy storage output, (d) diesel engine output.
Figure 10. Controller instruction value in Case 1. (a) PV power output, (b) WT power output, (c) energy storage output, (d) diesel engine output.
Electronics 12 03972 g010aElectronics 12 03972 g010b
Figure 11. System frequency in Case 1.
Figure 11. System frequency in Case 1.
Electronics 12 03972 g011
Figure 12. Random disturbance of the WTs, PVs, loads, and equivalent load.
Figure 12. Random disturbance of the WTs, PVs, loads, and equivalent load.
Electronics 12 03972 g012
Figure 13. Observer output in Case 2. (a) Equivalent load estimation value, (b) system state x 6 estimation value, (c) system state x 9 estimation value, (d) system state x 11 estimation value.
Figure 13. Observer output in Case 2. (a) Equivalent load estimation value, (b) system state x 6 estimation value, (c) system state x 9 estimation value, (d) system state x 11 estimation value.
Electronics 12 03972 g013aElectronics 12 03972 g013b
Figure 14. Controller instruction value in Case 2. (a) PV power output, (b) WT power output, (c) energy storage output, (d) diesel engine output.
Figure 14. Controller instruction value in Case 2. (a) PV power output, (b) WT power output, (c) energy storage output, (d) diesel engine output.
Electronics 12 03972 g014aElectronics 12 03972 g014b
Figure 15. System frequency in Case 2.
Figure 15. System frequency in Case 2.
Electronics 12 03972 g015
Table 1. Microgrid-rated power and load.
Table 1. Microgrid-rated power and load.
Microgrid PowerSymbolsNumerical Value
Photovoltaic (PV)PPV1100 kW
PPV2100 kW
Wind turbine (WT)Pwt1100 kW
Pwt2100 kW
BESSPBESS120 kW
Diesel enginePDU120 kW
Load Load640 kW
Table 2. Microgrid parameters.
Table 2. Microgrid parameters.
Microgrid PowerSymbolsValue
Photovoltaic (PV)JPV0.0987
DPV88.8264
Wind turbineJwt0.0987
Dwt88.8264
Energy Storage SystemTBESS0.01
Diesel engineTdu10.04
Tdu20.01
R3
Microgrid inertiaHt0.6
Microgrid dampingD1
Table 3. Frequency control effects of the three controllers.
Table 3. Frequency control effects of the three controllers.
Control MethodStandard DeviationMaximum ErrorUnit
Case 1PI7.174 × 10−31.56 × 10−3p.u.
MPC5.232 × 10−31.22 × 10−3p.u.
MPC + UIO3.651 × 10−30.71 × 10−3p.u.
Case 2PI9.817 × 10−32.73 × 10−3p.u.
MPC7.613 × 10−31.94 × 10−3p.u.
MPC + UIO4.612 × 10−30.84 × 10−3p.u.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhao, Z.; Zhang, X.; Zhong, C. Model Predictive Secondary Frequency Control for Islanded Microgrid under Wind and Solar Stochastics. Electronics 2023, 12, 3972. https://doi.org/10.3390/electronics12183972

AMA Style

Zhao Z, Zhang X, Zhong C. Model Predictive Secondary Frequency Control for Islanded Microgrid under Wind and Solar Stochastics. Electronics. 2023; 12(18):3972. https://doi.org/10.3390/electronics12183972

Chicago/Turabian Style

Zhao, Zhongwei, Xiangyu Zhang, and Cheng Zhong. 2023. "Model Predictive Secondary Frequency Control for Islanded Microgrid under Wind and Solar Stochastics" Electronics 12, no. 18: 3972. https://doi.org/10.3390/electronics12183972

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop