Power Balance Optimization Technology of Microgrid Based on Full-Bridge Converter

Independent microgrids are widely used in islands and remote townships. However, power imbalance often leads to fluctuations in voltage and frequency, which inhibit the development of AC microgrids. To overcome such problems, this paper proposes an optimized full-bridge converter energy storage structure to realize power balance and optimization of themicrogrid.-e proposed structure has the characteristics of simple design, easy modularization, and flexible power regulation. First, the working structure and mathematical model are analyzed, and the power model is then established. From the viewpoint of capacitor charging and discharging and inverter, the active and reactive power control technology of the full-bridge structure is analyzed, and a multimode power coordinated control strategy is adopted to adjust and optimize the target power. Finally, the feasibility of the structure and control strategy is verified through a simulation and an experiment. In summary, this study is of great significance to the future promotion and application of AC microgrids.


Introduction
e demand for electricity is growing with the continuous advancement of rural construction [1]. However, in remote mountainous areas and pastoral areas, the environment is harsh, the power load is small and scattered, and in spite of the large investment in the construction of the distribution network, the cycle is long and the loss is large [2][3][4][5]. Microgrids constitute a new trend of new energy utilization, featuring wide energy distribution, various forms, and a high utilization rate [4][5][6][7]. e use of a microgrid power supply fully exploits various renewable energy sources in rural areas and contributes toward maintaining the stability of the microgrid [8][9][10]. However, the input of a large number of nonlinear loads and the uncertainty of the wind and light system cause power imbalance in the microgrid [7]. erefore, the microgrid requires a flexible power compensator to achieve stable operation. A new type of reactive power compensation structure has been proposed [7,11] to realize a substantial continuous reactive output with a small capacitance, but its harmonic content is high and the compensation of active power cannot be realized. Further, a novel double closed-loop control strategy has been proposed [12,13] to inhibit the influence of negative-sequence voltage on the system, improve the switching function, and suppress the third harmonic current, but its control structure is complex and response speed is low. Wang et al. [14] propose a new class of nonlinear PI-based algorithms to relax these requirements and allow for unbalanced and switching topologies having a jointly strongly connected basis.
Adapting the right nonlinear PI parameters may cause certain difficulties, and its universal applicability deserves further expansion. Ding [15] deals with adaptive consensus output regulation of a class of network-connected nonlinear systems with completely unknown parameters, including the high-frequency gains of the subsystems. In the control design, only the relative information of subsystem outputs is used, provided that regulation error of one of the subsystems is available. Wang and Sun [16] propose a new class of Nussbaumtype function-based algorithms to handle the unknown high-frequency gain signs adaptively and cooperatively in which the underlying topology is a fixed graph with strongly connected. In addition, the energy storage (battery) capacity of the microgrid has been reasonably configured [17] to improve its active power utilization, but the voltage fluctuation caused by the nonlinear load access cannot be resolved. For a clearer comparison, the mainstream reactive power compensators and their characteristics are listed in Table 1.
is paper proposes a full-bridge converter energy storage structure with the characteristics of simple design, easy modularization, flexible power regulation, multimode coordinated operation strategy, and flexible compensation of active power and reactive power of the system. rough parameter optimization, the equivalent power surface of the system is established to meet the requirements of the system's capacitance voltage peak and total current distortion rate, and thus optimize its operation. e circuit structure, working model and principle, and control method of the compensator are described in detail. Finally, a simulation is conducted to prove that the proposed structure can realize flexible power regulation, achieve optimal operation of the system, and guarantee stability of the microgrid. Figure 1 shows the energy storage structure of a full-bridge converter, which mainly consists of three modules: battery, DC-DC converter, and fullbridge converter.

Circuit Principle.
e battery module provides active power and stabilizes the DC side voltage through a DC/ DC converter. e full-bridge converter structure provides flexible power compensation and improves the power quality of the AC side. Figure 2(a), the equivalent power model consists of a full-bridge converter voltage source U S ∠φ and AC microgrid power source U G ∠0, where R is the equivalent resistance and X j is the equivalent impedance. As shown in Figure 2(b), the power model of the full-bridge converter is established by vector analysis.

Mathematical Model. As shown in
According to the equivalent circuit and vector relationship shown in Figure 2, the full-bridge converter output can be obtained. e incoming current is As the phase difference between the output voltage phase of the full-bridge converter and the AC grid voltage is small, it can be ignored. erefore, sin φ ≈ φ, cos φ � 1, and the active and reactive power can be expressed as e differential of equation (2) is given by Because the value of U S is much greater than that of φ, the active power is given by Finally, the active and reactive outputs are From equations (4) and (5), it is possible to not only compensate the active power of the AC microgrid to stabilize its frequency but also maintain the stability of the grid voltage by adjusting the reactive power of the system.

Equivalent Variable Capacitance Technology.
Full-bridge converters are mainly used in the grids of cascaded STATCOM modules. However, there are few known applications for microgrids. In view of the power imbalance of microgrids, a new type of equivalent variable capacitor structure is proposed from the perspective of charging and discharging of capacitors. A mathematical model of the equivalent capacitance is established as shown in Figure 3. By controlling the IGBT switch, we can operate it in three different states of charge, discharge, and bypass in one cycle, and thus control the state time of 2 Complexity action to realize an equivalent capacitance with variable capacitance characteristics. e range of variable capacitors is [0, ∞]. Figure 4 shows the working principle diagram of a fullbridge converter. It can be seen that the full-bridge converter operates in three states: charging, discharging, and bypassing. e current and voltage of the full-bridge converter are periodic odd functions.
As shown in Figure 4, by setting the minimum capacitance hysteresis voltage V c− min , the control tube is turned off in advance to make it enter the single-tube conduction mode, and the charge and discharge state is controlled. Finally, the voltage of the full-bridge converter can be obtained as equation (9), where X C is the capacitance impedance, I is the fundamental current, and k is an integer: Fourier transformation of equation (6) yields the fundamental voltage of the full-bridge converter as equation (7). e equivalent variable impedance is given by equation (8), and the reactive power output from the full-bridge converter is given by equation (9):  Figure 1: Full-bridge converter energy storage structure.
From equation (9), the greater the values of α and V c− min , the smaller the system and the greater the reactive power output by the system. Conversely, the smaller the values of α and V c− min , the larger the system and the smaller the reactive power output by the system.

Full-Bridge Converter Inverter Technology.
To ensure power balance of the microgrid, the system needs to compensate not only the reactive power but also the active power. To this end, the voltage outer loop and the power double loop strategy of the inner loop are used to compensate the active power. Figure 5 shows the dual closedloop control technology. Figure 5(a) is a block diagram of active power closedloop control, where In the formula, G ppi (s) is a transfer function of active power for the PI controller; H i (s) is an equivalent circuit for active power output; G pd (s) is the transfer function for the sampling delay link; k pp is the proportional coefficient of PI control on active power; k ip is the integral coefficient of PI control on active power; and I sc means the total current flowing into the energy storage module on the DC side. Finally, its active power closed-loop control transfer function W p (s) is shown in the following equation: where G upi (s)   link; G f (s) is the transfer function of DC/DC side current feedforward control; k pu is the proportional coefficient of PI control on vpltage; k iu is the integral coefficient of PI control on voltage; V bn is the output voltage on the battery side; and U dc is the voltage of compensator DC side. e transfer function of the DC side voltage outer loop is as follows: When designing its control parameters, the robustness of DC voltage outer loop control should be strengthened. erefore, when analyzing the voltage loop, it can be considered that the power feedforward completely eliminates the influence of the DC/DC side fast response system on the DC voltage when the active power is required and the bandwidth of the voltage loop is much smaller than the bandwidth of the current inner loop. erefore, equation (14) can be simplified to where k pu is the scale factor for PI, k i is the integral coefficient for PI, and C dc is a DC capacitor.

Multimode Power Coordination Control
To achieve coordinated power operation, a multimode power coordinated control strategy is adopted as shown in Figure 6. By sampling the grid voltage, branch current, battery capacity, etc., the actual active and reactive power on the AC microgrid side is calculated and compared with the target active and reactive power. e active and reactive power is realized through the switch controller ES.
When the reactive power is constant, the active power required by the load is insufficient, i.e., P out < P ref and Q out � Q ref . Here, Es is closed, the full-bridge converter is inverted, and the battery is regulated by DC-DC. e output voltage is compared with the given voltage through double closed-loop control to form an instantaneous error adjustment signal. After PI adjustment, feedback is provided to the power inner loop, which then passes through the PI regulator to form a control signal that generates a pulse signal to control the output of the active power.
When the active power of the microgrid is stable and there is a large amount of reactive power in the system, P out � P ref and Q out < Q ref . At this time, Es is disconnected, the phase voltage of the grid is detected by the phase-locked loop, the capacitor voltage is detected at the same time, and the hysteresis capacitor voltage reference value V c− min is passed. e phase shift angle α controls the GT 1 , GT 3 and GT 4 , GT 2 tube turn-on half cycle as well as the GT 1 , GT 3 tube lag synchronization, while the phase angle π + α controls the GT 4 , GT 2 lag synchronization in a voltage wave period. e phase interval is [0.5π, 1.5π] and the capacitor voltage V c is less than V c− min . When the GT 2 tube is turned off in advance, only the GT 4 tube works; it enters the single-tube bypass state and bypasses the capacitor. Similarly, in the phase interval [0.5π, 1.5π], the GT 1 tube is turned off and only the GT 3 tube is operated; it enters the single-tube bypass state. e entire reactive control can be changed with α. e value of V c− min compensates for the reactive power of the system and optimizes the system by adjusting the parameters.
When the active power and reactive power of the microgrid do not meet the requirements of the microgrid at the same time, P out < P ref and Q out < Q ref . According to the principle of frequency modulation and voltage regulation, the system is first compensated for active power, E s is closed, and the compensation is completed. en, Es is disconnected and reactive power compensation is performed to ensure power balance of the AC microgrid.
Two different working modes are controlled by the power regulator to realize power compensation of active and reactive power. Firstly, the voltage and current data on the busbar are collected to calculate the active and reactive power. When the actual active power value is less than the reference value, the active power is compensated according to the adjustment principle, the switch ES is closed, and the power inner loop is closed. e double closed-loop of the voltage outer loop compensates for the active power; when the active power is sufficient, the ES switch is turned off, the α and V C-min are adjusted to achieve the reactive power compensation, and the optimization is adjusted to meet the smaller capacitor voltage and total harmonics of the MERS. e requirement for a lower distortion rate is shown in Figure 7. Finally, the double-closed active compensation and parameter optimization control can be coordinated to ensure the power balance of the bus.

Simulation Analysis.
To verify the flexible power adjustment of the microgrid by the full-bridge converter, a simulation model is established. As can be seen from Figure 6, the structure can be operated in multiple power modes, which can compensate the active and reactive power Complexity of the system. According to the principle of frequency modulation and voltage regulation, first, P out < P ref and Q out < Q ref . For example, the target active power is 6.5 kW and the reactive power is 2.4 kVAr. As shown in Figure 8(a), the active power compensation is performed first, and at 0.3 s, the active power of the target output is reached. At this time, the switch Es is turned off, reactive power compensation is performed, and at 0.53 s, the target reactive power is reached. As shown in Figure 8(b), the frequency is gradually stabilized at 50 Hz from the power frequency of 50.7 Hz. At 0.3 s, owing to the action of the switch Es, the frequency drops sharply and then recovers quickly, and reactive power compensation is performed. At 0.53 s, the voltage frequency is stable. us, the simulation verifies that the structure has flexible power adjustment capability to effectively suppress voltage and frequency fluctuations.
To ensure optimal operation of the system and meet the system requirements, this study aims to optimize the microgrid system structure and ensure stability of the system by targeting its capacitor voltage peak and total current distortion rate. To this end, in the simulation experiment, α and V c− min are the independent variables, and the waveforms of current distortion rate and capacitance voltage value are obtained, respectively, as shown in Figure 9. Figure 9 plots the total current distortion rate and capacitance voltage peak against the parameters α and V c− min . As shown in Figure 9(a), the total distortion rate of the current without the third harmonic is lower than that with the third harmonic, and the current distortion rate increases with V c− min and α; however, between 20°and 60°, the current distortion rate is somewhat reduced. As shown in Figure 9(b), the voltage value of the capacitor increases and decreases linearly with V c− min ; when α is greater than 40°, the capacitor voltage will increase exponentially. rough simulation analysis of the parameters, the equivalent reactive power is output for different α and V c− min . As shown in Figure 10, there is a target reactive point where the peak value of the capacitor voltage is low and the harmonic content is lower. As shown in Figure 11, the optimal target reactive power is 5 kVAr.
As shown in Figure 11, equal power curve points A (16°, 95 V) and B(27°, 180 V) can be obtained by optimizing the comparison before and after. When the target reactive power is the same, the peak value of the capacitor at the optimized point B is lower than the peak voltage at point A before optimization by around 15%. Meanwhile, the harmonic content also shows a certain decrease compared with point A. e simulation indicates that adjustment of α and V c− min can effectively reduce the capacitor voltage and harmonics, achieve small capacitance of the system, and realize operation with low harmonics.

Experimental Verification.
rough simulation, it can be seen that the energy storage structure of the full-bridge converter provides a flexible power regulation effect and it can realize a small capacitance and low harmonic operation. To verify the simulation, an experiment was conducted on a microgrid as shown in Figure 12. e power generation unit includes an analog wind power generator and a photovoltaic array. e energy storage structure of the full-bridge converter includes a full-bridge converter, a battery, a DC-DC converter, and a variable load. e specifications are summarized in Table 2. Figure 13 shows the experimental diagram of power regulation for an asynchronous microgrid. As shown in Figure 13, the stability of the microgrid is verified by increasing and decreasing the load. It can be seen that when the experimental system is stable, the voltage of the microgrid can be stabilized at 400 V, and the root mean square of the grid voltage is stable when the experimental system is running stably. Further, the phase of voltage and current is corrected, and the power factor is increased to more than 95%. However, some constraints must be considered, such as current distortion and the ability of the components to withstand voltage in practical application.
As shown in Figure 14, when the system is stable, the peak voltage and current distortion rate at point A are measured. e yellow waveform stands for the voltage of phase A. e blue, purple, and green waveforms are the currents of the phase A, phase B, and phase C, respectively. At this point, the adjusting parameter is (90, 0 V), the peak capacitance voltage can reach 580 V, and the current distortion rate is 5.9%.
is is not the best working point. However, the optimal operation of the microgrid can be improved by dynamically adjusting α and V c− min . After optimizing point A (100, 15 V), the peak capacitance voltage is 490 V and the current distortion rate is 5.1%. e experimental results show that the energy storage circuit structure of the full-bridge converter operates stably with a small capacitance and low harmonics with current distortion rate reduced by 0.8%, realizes flexible power regulation, and restrains frequency and voltage fluctuations effectively at the same time.
us, the power factor of the microgrid is   Complexity improved, thereby increasing the working efficiency of the electrical equipment and reducing the failure rate.

Conclusion
To address the power imbalance problem of microgrids, this paper proposed an energy storage circuit structure of a fullbridge converter from the perspective of inverter and capacitor charge/discharge, analyzed the working principle of the structure, and adopted a multimode power coordination strategy. e simulation proved that the structure can realize flexible power regulation, effectively suppress frequency and voltage fluctuations, and realize stable microgrid operation with small capacitance and low harmonics, which is of great significance for the promotion of microgrids.

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

Conflicts of Interest
e authors declare that they have no conflicts of interest.