Abstract

In this paper, virtual inertia control (VIC) is suggested to increase the frequency stability in islanded microgrid (MG) clusters. The aim of the suggested control method is to improve damping characteristic of MG clusters including different distributed generations (DGs). The optimal/robust values of the VIC parameters are tuned by a μ-synthesis robust control method. The proposed robust/optimal VIC-based control method is confirmed by various scenarios. Computer simulation and hardware-in-the-loop (HIL) tests are used to show the effectiveness of the suggested method in increasing the damping of the power system. Clearly, different characteristics of the dynamic responses and the results show the practicality of the suggested robust VIC.

1. Introduction

The main task of load frequency controllers (LFCs) is to remove frequency deviations and, consequently, to adjust the system frequency following unexpected disturbances/changes [14]. It is well known that the energy stored in the rotor inertia of synchronous generators (SGs) contributes significantly to maintaining the stability of the system during faults. In this regard, the frequency/voltage of power systems must be stabilized and well tuned. Today, renewable energy sources (RESs) are rapidly integrating into traditional power systems. Future plans show a crucial role for RESs around the world. These RESs and distributed generators (DGs) reduce the total inertia of the power system due to their low stored inertia.

In recent studies, a virtual implementation of SG behavior with modeling and simulation is suggested to achieve system stability and compensate for system inertia [58]. In recent years, research has been conducted to investigate the concept of virtual inertia control to deal with the negative effects of RESs on the stability of power systems [36]. In [9], to increase the system inertia, a cascade control scheme using permanent-magnet synchronous generator (PMSG) wind turbines is suggested.

In [10], by shifting the operating point of the wind turbine from the maximum power point (MPP) to the VIC curves in relation to the frequency deviation, the damping capabilities and inertial dynamic responses during faults are improved. In [11, 12], the idea of droop control for virtual inertia is expressed on wind turbines to improve the dynamic responses of the power system. In [13], the authors implemented the grid-side converter to support frequency and voltage regulation. In [14], a VIC using H method is proposed to improve the frequency stability of an MG. In [1518], double fed induction generator (DFIG)-based wind turbines are used as a virtual synchronous generator to improve system dynamic responses. In [19], adaptive VIC is proposed to increase frequency stability. In this method, the VIC’s parameters are updated by the frequency deviation. A virtual synchronous generator (VSG) based on a bang-bang control strategy is proposed in [20]. In this method, the stability analysis of the system is performed by a small signal model. To obtain a desired dynamic response, an adaptive approach is proposed in [21] for a VSG in which a relatively complex mathematical algorithm is obtained to realize an adaptive mechanism for updating the inertia parameter of the VSG. The main drawback of these methods is that they depend on the accuracy of the mathematical model.

In several papers, optimization algorithms such as genetic slgorithm (GA) [22], particle swarm optimization (PSO) [23], grey wolf optimization (GWO) [24], Harris’s hawk optimization [25], and firefly [26] have been proposed to improve the frequency stability of microgrids. The nonrobust performance can be considered as the most important problem of these methods.

Most published research studies focused on the study of virtual inertia control performance in a single small-scale microgrid, and there are no reports focusing on virtual inertia control for a large-scale microgrid involving a number of clusters. A real microgrid may consist of a number of clusters, each with a number of high-penetration DGs. In this case, the virtual controller may not work properly and may need to be redesigned.

In this study, virtual inertia control is proposed to increase frequency stability of MG clusters. To control the frequency and enhance the inertia of the MG clusters, the suggested VIC is applied to the inverter-based DGs as a virtual inertia controller. The main features of the suggested method are summarized below:(i)The suggested VIC emulates damping and the inertia feature, and frequency control loops characteristics of synchronous generators. Combining the virtual rotor and virtual primary and secondary controllers utilized in the synchronous generators, the suggested method can compensate the lack of inertia in the MG clusters.(ii)To robustly and optimally tune the VIC’s parameters, a μ-synthesis method is used. Therefore, uncertainties existing in the MG system can be easily addressed by the suggested method.(iii)The suggested VIC can provide the required inertia for the MG system to improve the frequency stability under serious faults and uncertainties.(iv)In the structure of the suggested VIC, there are both the inertial response characteristics of original synchronous generator and the fast dynamics of power electronic interfaces. This leads to great flexibility in designs.

2. Modeling of the Microgrid

Figure 1 shows the islanded multiple AC microgrid clusters studied in this paper. Each MG has a number of DGs, and the MGs are connected to each other via a tie line. In the first MG, a photovoltaic panel (PV), a diesel engine generator (DEG), and a fuel cell (FC) are employed. In the second MG, there are a fuel cell, a wind turbine generator (WTG), and a diesel engine generator. The third MG includes a photovoltaic panel, a flywheel energy storage system (FESS), and a diesel engine generator.

To achieve voltage conversion or synchronization between DC and AC systems, a power electronic interface and interconnection equipment (IC) are used. FC and PV need proper power converters for energy exchange with AC systems.

Due to the dependence of the power generated by WTGs and PVs on environmental conditions, they play no role in frequency control. Therefore, the secondary loop control (ΔPSL) is applied to the DEG. Fluctuations in PV, WTG, and load and uncertainty in MG, on the one hand, and low inertia of inverters, on the other hand, negatively affect the performance of frequency controllers. To tackle this problem, the suggested VIC designed by μ-synthesis is applied to the inverter of the PV system in clusters 1 and 2 and the fuel cell in cluster 2. Figures 2(a)2(c) present the dynamic model of the MG clusters, and parameters for each block are presented in Table 1.

The exchanged tie line power in each cluster is computed bywhere Tij is the tie line synchronizing torque coefficient between cluster i and cluster j.

3. Virtual Inertia Control

In the virtual inertia control, the power of inverter-based DGs is governed by the grid frequency derivation. Therefore, the lack of inertia is virtually compensated to improve the dynamic response of the MG. Distributed generators such as photovoltaic panels, fuel cells, batteries, and so on are connected to the power grid via DC/AC inverters. The inertia of the inverter-based DGs is much lower than that of synchronous generators having rotating parts. Increasing penetration of distributed power generation devices in recent years has reduced the total inertia of the power system. As a result, grid frequency oscillations cannot be efficiently damped out, and therefore, the power system stability is seriously threatened [6, 27, 28]. Additional inertia can be considered as a strategy to stabilize such a power system. In this regard, the concept of the virtual inertia control has been introduced in [2932].

The following equation presents amount of emulated power to compensate the lack of inertia:where KPE is the gain of the power electronics and fo is the system frequency.

Virtual inertia control is applied as a supplement to reduce frequency deviations in an interconnected grid in the presence of traditional automatic generation control (AGC). The virtual inertia control can be designed according to the concept of derivative control as follows:where TVIC and KVIC are the time constant and gain of the VIC. Figure 3 shows the block diagram of the VIC. As shown in Figure 3, the frequency derivative is selected as the input of the VIC to reduce the frequency deviation during the penetration of renewable power and/or operating conditions.

4. μ-Synthesis Robust Control

The goal of this section is to design μ-synthesis robust control for the VIC. In this section, μ-synthesis theorem is used to robustly design KVIC.

4.1. Modeling of Uncertainties

There are several definitions of the uncertainty modeling in the literature [33]. Generally, there are two categories for the uncertainty as dynamic perturbation: (1) modeling errors and (2) unmodeled dynamics.

For μ-synthesis, a single perturbation block Δ (s) referred to as “unstructured uncertainty” is considered as a lumped dynamic parametric perturbation. The structured uncertainty may contain parametric perturbation and structured unmodeled dynamics. The system dynamics can be used to extract the structured uncertainty block Δ shown in the general form of (2). Hence, a standard configuration of upper linear fractional transformation (LFT) can be used to rearrange the whole system. In this study, for simplification, only four parameters TFC,Tt, , and TWTG are assumed to be subject to ± 25% uncertainty around their nominal values. Figure 4 shows the uncertainty “pulled out” of the loop for these four blocks of the MG system where Tc is constant time of these blocks and ΔTc is its uncertainty. Besides, Δf is selected as the measured system output, and ΔPwind, ΔPPV, and ΔPL are counted as disturbance signals.

The closed-loop block diagram of the microgrid along with a structured diagonal uncertainty is drawn in Figure 5. Here, a 4 × 4 parametric diagonal uncertainty is selected:

4.2. D-K Iteration

To guarantee the robust performance of a dynamic system, the structured singular value (μ-based control) framework is used. The following equation is used to define μ function:

Figure 6 illustrates the standard schematic of M-Δ configuration. In this figure, W represent the disturbance inputs, u represent the control signals, z represent the performance signals, y represent the measured outputs, and pertin and pertout are the input and output perturbation signals of the uncertain block. To satisfy the robust performance condition in μ-synthesis, ‖Twz‖∞ ≤ 1 must be satisfied for all Δ ∈ ΔP, where ΔP is represented bywhere ΔF and Δ represent performance requirements and uncertainty, respectively. The robust performance will be guaranteed, if and only if

The standard analytical method is unable to compute the μ-optimal controller presented in (7). So, equation (7) can be solved by a numerical method called D-K iteration [33]. This method determines controller K by minimizing the following equation:

To design robust μ-controller, the LFT arrangement shown in Figure 7 is used to implement the D-K iteration method. In this figure, We (s), Wu (s), Wd1 (s), Wd2 (s), and Wd3 (s) are the weighting functions to improve the robust performance and robust stability; , , and are disturbance inputs; u denotes the control signal; z1-5 are desired performance signals; and y is the measured output. Here the weighting functions are chosen as follows:where I is the identity matrix.

In the D-K iteration method, the left-hand side value of (14) is alternately minimized for D and K while holding the other one fixed.

4.3. Evaluating Robust Stability and Robust Performance

Two theorems called robust performance and robust stability can be defined by using the μ-synthesis method [33]. When a closed-loop system is internally stable, both robust performance and robust stability are met for any system with any uncertainty.

For the robust stability, considering M−Δ configuration, we can writewhere is the transfer function of the closed-loop system. For and , the closed-loop system is internally stable when

For the robust performance, considering M−Δ configuration, we can writewhere Δp and Δu are performance and uncertainty requirements, respectively. For and , the robust performance of the closed-loop system is guaranteed if and only if

Figure 8 shows the changes in μ versus frequency changes. From this figure, it is clear that at all frequencies, the value of μ-upper band is below 1, i.e., the system achieves robust performance.

5. Results and Discussion

This section presents the simulation and HIL results for some scenarios. The simulation tests are performed using MATLAB/Simulink under several load/RES perturbations. Also, to show the effectiveness of the suggested VIC in low-inertia microgrids, the performance of the suggested VIC is compared with the method proposed in [6]. In [6], a virtual inertia has been used in a microgrid for the load frequency controller. A multiobjective optimization problem has been used to tune the parameters of MG.

To obtain the robust KVIC using the μ-synthesis method, the D-K method is performed. The best robust performance is obtained after six iterations in the D-K method. The control transfer function obtained by the μ-synthesis method has an order of 28 which must be reduced for real-time implementation. In this paper, the Hankel-norm approximation method is used to reduce the order of the controller transfer function. The reduced controller transfer function is represented bywhere n0 = 5.14 × 1020, n1 = 2.06 × 1020, n2 = 9.19 × 1016, n3 = 9.51 × 1014, n4 = 2.03 × 1010, n5 = 0.65 × 107, d0 = 6.28 × 1016, d1 = 3.93 × 1016, d2 = 9.88 × 1014, d3 = 5.84 × 109, d4 = 7.38 × 108, and d5 = 7.66 × 104.

5.1. Simulations

In this section, simulation results are presented. The main purpose is to evaluate the performance of the proposed VIC considering the level of RES penetration, uncertainties, and nonlinearities in different areas. The microgrid is tested with heavy load changes in areas 1, 2, and 3. The frequency response of the microgrid clusters and tie line power deviation under heavy loading and penetration of RESs is drawn in Figures 914. When a decreasing load step occurs in one of the regions, the excess power leads to a positive frequency deviation, or in other words, the frequency increases in the microgrid clusters. Conversely, when an incremental load step occurs in one of the regions, the power shortage leads to a negative frequency deviation in all clusters, or in other words, the frequency decreases in microgrid clusters. In all these cases, the controller must quickly compensate for the positive or negative frequency deviation in the microgrid. In addition, the controller must damp frequency oscillations quickly and reduce frequency settling time. As can be seen in these figures, the suggested μ-synthesis-based VIC provides a better performance than the VSG proposed in [6], since the suggested method creates less frequency deviation and less frequency oscillations and takes less settling time. Frequency deviations in all clusters are in the range of 0.1% Hz in the presence of the proposed method. Table 2 compares the results of different controllers in terms of settling time, rise time, overshoot, and integral time absolute error (ITAE) index. From this table, it can be concluded that the proposed method can eliminate frequency deviations within 4–5 s and significantly reduce the amplitude of oscillations, which means that it better meets the requirements of microgrid frequency control. Figure 15 shows the output of the VIC controller in all three clusters.

Here, the performance of the different controllers is evaluated under high wind power penetration. Figures 1618 show the frequency deviation of all three MG clusters. It is clear from these figures that the proposed method keeps the frequency deviation range of clusters within ± 0.15 Hz. In addition, when no virtual inertia is used, the microgrid frequency oscillates with large frequency deviations due to severe lack of inertia. The method proposed in [6] provides less inertia than the proposed VIC. Therefore, the proposed VIC can better maintain the frequency stability of low-inertia microgrid clusters.

5.2. HIL Tests

Here, real-time hardware-in-the-loop tests are used to verify the proposed μ-synthesis-based VIC. Figure 19 shows the HIL system including two section segments: controller and physical circuits. An OP5600 real-time simulator with time steps of 20 microseconds that can mimic the dynamics of real power components is used to realize physical circuits. The controller is implemented in a TMS320F2812 DSP processor which is programmed by the MATLAB DSP support package.

Due to hardware limitations, the HIL test is performed on the microgrid only with one cluster (cluster shown in Figure 2(a)). The HIL tests are performed primarily for two purposes. The first purpose is to demonstrate the efficiency and accuracy of the proposed VIC in a real MG. The second is to evaluate the ability of the real-time computing, correctness, and robustness of the suggested controller in the real world. The total power demand in cluster 1 is shown in Figure 20. The frequency deviation in cluster 1 is illustrated in Figure 21. It is clear that when no virtual inertia is used, the microgrid frequency oscillates with large frequency deviations due to severe lack of inertia. The frequency deviation is much less when the suggested VIC is used, which means it provides more inertia compared to other methods. Therefore, the proposed VIC can better maintain the frequency stability of low-inertia microgrid clusters.

Table 3 compares the performance of three controllers in the HIL test. Clearly, considering the ITAE index, the suggested method provides the best performance.

6. Conclusion

Renewable energy resources have inherently a low inertia, since they have no rotating part. Hence, large frequency deviation occurs when the microgrid contains high-penetration RESs. This paper suggests virtual inertia control to enhance the inertia of renewable energy resources in islanded microgrid clusters considering high RES penetration, uncertainties, and nonlinearities. To achieve robust and optimal VIC and to decrease the impact of dynamic perturbations and uncertainties, a μ-synthesis method is used. In the structure of the suggested VIC, there are both the inertial response characteristics of original synchronous generator and the fast dynamics of power electronic interfaces. The suggested method can compensate the lack of inertia in the MG clusters. As discussed, robust controllers are designed to reduce the impacts of wind farm, photovoltaic, and load disturbances and dynamic perturbations. It is shown that in the case of using the structured uncertainty (μ approach), the obtained controller demonstrates better performance. It is demonstrated that in the case of utilizing the structured uncertainty, the controller shows a satisfactory performance. Islanded microgrid clusters are utilized to confirm the efficiency of the suggested VIC. The simulation and HIL results confirm that the suggested controller can reduce the frequency deviations considerably and also show superior performance of the suggested VIC in the presence of high RES penetration and heavy loading.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.