State-Space Modeling and Analysis for an Inverter-Based Intelligent Microgrid under Parametric Uncertainty

: In this paper, a multivariable linear integral feedback regulation controller for a microgrid was proposed. Considering that the nominal structure model of the inverter could not effectively and in a timely manner deal with the impact of ﬁlter parameter uncertainty, there were changes in output power quality among different generation environments. To solve the constraints imposed by uncertain factors on the system, we formulated the following scheme. First, based on the analysis of the asymptotic stability and power characteristics of the nominal model, we added the microgrid ﬁlter parameter uncertainty to this model. Secondly, under the action of the bounded range, the performance characteristics of the optimal cost were analyzed, adjusted, and optimized. The controller adjusted parameters to ensure the stable operation of the microgrid system, and to achieve the voltage stability regulation and output power balance. Finally, we built a test system to verify the feasibility and effectiveness of the proposed linear integral controller in MATLAB/Simulink.


Introduction
In recent years, with the rise of renewable energy Systems (RESs) and distributed generation (DG), advances in power converters and digital control technology have made it particularly important to integrate RESs into modern power systems. It is feasible to use distributed generation to provide a continuous power supply for key loads after power failure in large power grids and main power grids [1,2]. In order to reduce the pollution and waste of the power grid, the power grid connected to the power system through an inverter or converter should have a high output power factor and a low output current distortion [1]. At first, an inverter or a converter with a high power density was designed to connect the DG units of RESs to the large public power grid [3]. However, because of the excessive switching loss and the upper limit of the switching equipment, the output of power quality was reduced [4]; we used a compact high-order filter to make up for this disadvantage [5]. Compared with a traditional inverter connection mode, an inverter with a filter has the following advantages: a small inductance size, better attenuation of high-frequency harmonics, and lower power and current ripple. Similarly, the use of filters brought new challenges to the control methods and power grid structure [6]. For example, because of the uncertainty and interference problems such as frequency voltage, control loop delay, and structural nonlinearity, standard sinusoidal current had to be realized under the conditions of grid voltage harmonics and non-ideal circuit components to avoid resonance. This ensured that the system's stable and robust performance was ascertained [7]. At present, although there is no comprehensive method to solve these emerging challenges, various approaches have been proposed to solve them in a collaborative way.
Smart microgrids combine communication technology with control technology to achieve smarter, more efficient and robust large power networks. The first step in the fault. In [2], the authors proposed a robust nested loop control scheme, with different load and filter parameter uncertainties that enabled two types of modes to operate stably; however, this required an accurate mathematical model. In [20], the authors designed a centralized robust controller through a suboptimal solution of a convex optimization problem to resolve the influence of parameter uncertainty and unknown disturbances. However, there was no bounded analysis of parameters, and the time delay was not considered. In [21], a new dynamic sliding mode control (DSMC) solved the shortcomings of traditional control state references and sliding coefficient calculation. This compensated for the impact of time delay and uncertainty in the system, so the system had robustness and stability. However, the authors did not consider the capacitor voltage variation of the load itself. The authors of [22], based on droop control, designed a sliding mode control method to overcome the difference caused by feedback line impedance, reduce the error of voltage and reactive power, and improve the accuracy of data adjustment. In [23], the authors proposed that the stabilization algorithm was bound to deal with a class of boundless uncertainties, but the algorithm was too simple and not applicable to various types of uncertainties. In [24,25], robust state feedback control and steady-state robust state estimation for uncertain linear systems were designed by the authors to refine the types of uncertainties and to achieve better cost estimates, but the non-linear systems were not considered. The work of [26], a grid connected inverter control technology based on dq transformation, was introduced, which reduced the cost and the change of power harmonics, ensured the power quality, and made the power output stable; but it did not consider the impacts of the LCL filter and inverter structures on the system oscillation and output distortion. In [27], the authors designed an event triggered robust controller to solve the problem of frequency instability caused by uncertainty, and used system interference attenuation to reduce the communication burden. However, this method needed an accurate energy storage device model and did not consider the influence of the transmission delay. The work of [28], the distributed self-triggering secondary control, was proposed to solve the impact of communication interference and realize voltage recovery and reactive power sharing. The work of [29] achieved the bounded stability of frequency and voltage after an uncertain load change. However, it lacked the impact of the sensitivity of the hardware-in-the loop (HIL) on the boundary. In [30], the authors proposed online primary regulation under island to reduce power loss, optimize operation characteristics, and improve system reliability. However, the parameter sensitivity of the HIL was not considered. In [31], the authors investigated robust optimal control for a class of nonlinear quadratic systems with norm-bounded parameter uncertainties and disturbances. The work solved and suppressed the influence of disturbances and achieved system stability. However, this method had great limitations as it only realized the system in the local stability of the equilibrium point it did not apply to the actual engineering. Therefore, in [32], a newly defined LMI structure was introduced, which studied the design of the controller and observer for uncertain positive discrete systems, so that the ideal model could respond to actual engineering requirements and achieve secondary stability control.
As mentioned above, the intermittency of distributed energy affects the output of the intelligent microgrid inverter, leading to changes in power quality. The inverter with filter has a better control output effect than the traditional inverter and can respond to the demand of the power system in real time. However, because the resonance damping and conjugate poles of the filter are sensitive to parameters, parameter uncertainty will interfere with the stable operation of the microgrid system, resulting in voltage distortion and power imbalance. To better meet the needs of practical projects, the main contribution of this paper is to design a moving average phase-locked loop based on the nominal model to replace the traditional phase-locked loop to limit frequency fluctuations. Secondly, when the filter parameters change, based on the guaranteed cost control theory and method, this kind of uncertainty problem is analyzed in a bounded range to achieve a low-cost filter. Finally, the linear integral quadratic regulation (LQR) state feedback controller is used to optimize the influence of uncertain parameters on the system model, suppress the voltage harmonic distortion, ensure that the system is in a certain progressive stable state, and ensure the power output balance.
The paper is arranged as follows: Section 2 describes the problem and analyzes the model and the bounded range of parameter uncertainty according to assumptions. Section 3 describes a linear integral controller that is designed to analyze the stability and verify the hypothesis; Section 4 addresses the optimization and adjustment system parameters that verify system reliability. Section 5 summarizes the conclusions and prospects for future work.

Problem Description and Model Analysis
This section discusses the system operation state under parameter uncertainty based on the nominal model. First, the limitations of the nominal model are discussed. Secondly, state space modeling is carried out. Finally, combined with relevant research, the system is assumed to be stable and the bounded uncertainty range is provided.

A Configuration of PLL
The peer-to-peer control strategy in island mode in the intelligent micro network is necessary as shown in Figure 1, which means that micro power supplies in MG have the same control state. First, each micro power supply performs local control according to the voltage and frequency of the access point. Plug and play are realized and automatized adjustment of voltage and frequency takes place, eliminating communication, improving the reliability of MG, and reducing costs.
Appl. Sci. 2022, 12, 12418 4 of 16 method, this kind of uncertainty problem is analyzed in a bounded range to achieve a low-cost filter. Finally, the linear integral quadratic regulation (LQR) state feedback controller is used to optimize the influence of uncertain parameters on the system model, suppress the voltage harmonic distortion, ensure that the system is in a certain progressive stable state, and ensure the power output balance. The paper is arranged as follows: Section 2 describes the problem and analyzes the model and the bounded range of parameter uncertainty according to assumptions. Section 3 describes a linear integral controller that is designed to analyze the stability and verify the hypothesis; Section 4 addresses the optimization and adjustment system parameters that verify system reliability. Section 5 summarizes the conclusions and prospects for future work.

Problem Description and Model Analysis
This section discusses the system operation state under parameter uncertainty based on the nominal model. First, the limitations of the nominal model are discussed. Secondly, state space modeling is carried out. Finally, combined with relevant research, the system is assumed to be stable and the bounded uncertainty range is provided.

A Configuration of PLL
The peer-to-peer control strategy in island mode in the intelligent micro network is necessary as shown in Figure 1, which means that micro power supplies in MG have the same control state. First, each micro power supply performs local control according to the voltage and frequency of the access point. Plug and play are realized and automatized adjustment of voltage and frequency takes place, eliminating communication, improving the reliability of MG, and reducing costs. However, this control strategy has certain limitations that prevent it from eliminating the harmonic distortion and frequency change in voltage, current, and power characteristics of the distributed generator and power grid to some extent and ensuring the effectiveness and feasibility of model verification.
An accurate estimation of power grid frequency was a key step, so moving the average filter (MAF) is designed to eliminate the frequency fluctuation in phase-locked loop in the synchronous reference frame as follow Figure 2. The MAF transfer function is: where = ⁄ is the number of samples within the window length of MAF, and is the window length of MAF. However, this control strategy has certain limitations that prevent it from eliminating the harmonic distortion and frequency change in voltage, current, and power characteristics of the distributed generator and power grid to some extent and ensuring the effectiveness and feasibility of model verification.
An accurate estimation of power grid frequency was a key step, so moving the average filter (MAF) is designed to eliminate the frequency fluctuation in phase-locked loop in the synchronous reference frame as follow Figure 2. The MAF transfer function is: where N = T w /T s is the number of samples within the window length of MAF, and T w is the window length of MAF.
As the uncertainty of three-phase voltage is mostly odd harmonics, and even harmonics are generated in SRF, half of the base period was selected as the window length. The number of samples is N = T/2T s , where t is the fundamental frequency period of grid voltage [15]. The state space equation of the integral control term is as follows: where A p = I 2×2 , B p = T s × I 2×2 , z 0 (k + 1) is the state vector of the integral control term, Appl. Sci. 2022, 12, 12418 5 of 16 As the uncertainty of three-phase voltage is mostly odd harmonics, and even harmonics are generated in SRF, half of the base period was selected as the window length. The number of samples is = 2 ⁄ , where t is the fundamental frequency period of grid voltage [15]. The state space equation of the integral control term is as follows: is the state vector of the integral control term, The improved nominal model was analyzed. First, a unit was analyzed that as shown in Figure 3, obtain the stable changes of frequency and voltage of the power grid unit.  The parameters of connecting between the DG unit and the main grid are as follows: According to Table 1, two DG devices were used in parallel to obtain stable voltage and power as shown in Figure 4 and Figure 5.

Description
Symbol Value Converter side inductance of filter  The improved nominal model was analyzed. First, a unit was analyzed that as shown in Figure 3, obtain the stable changes of frequency and voltage of the power grid unit. As the uncertainty of three-phase voltage is mostly odd harmonics, and even harmonics are generated in SRF, half of the base period was selected as the window length. The number of samples is = 2 ⁄ , where t is the fundamental frequency period of grid voltage [15]. The state space equation of the integral control term is as follows: is the state vector of the integral control term, The improved nominal model was analyzed. First, a unit was analyzed that as shown in Figure 3, obtain the stable changes of frequency and voltage of the power grid unit.  The parameters of connecting between the DG unit and the main grid are as follows: According to Table 1, two DG devices were used in parallel to obtain stable voltage and power as shown in Figure 4 and Figure 5.  The parameters of connecting between the DG unit and the main grid are as follows: According to Table 1, two DG devices were used in parallel to obtain stable voltage and power as shown in Figures 4 and 5.

State Space Model
Compared with the application in practical control engineering, the uncertainty of system inductance and capacitance inductance (LCL) were studied. It was proposed that adding components with impedance or parameters to the filter instead of uncertain factors would change the characteristics of the nominal system.

State Space Model
Compared with the application in practical control engineering, the uncertainty of system inductance and capacitance inductance (LCL) were studied. It was proposed that adding components with impedance or parameters to the filter instead of uncertain factors would change the characteristics of the nominal system.
For the accurate modeling and performance analysis of an uncertain intelligent microgrid system. Combined with Figure 6 and the specific filter uncertain parameters were given to establish the state-space model of the inverter in the synchronous coordinate system, as shown below:

State Space Model
Compared with the application in practical control engineering, the uncertainty of system inductance and capacitance inductance (LCL) were studied. It was proposed that adding components with impedance or parameters to the filter instead of uncertain factors would change the characteristics of the nominal system.
For the accurate modeling and performance analysis of an uncertain intelligent microgrid system. Combined with Figure 6 and the specific filter uncertain parameters were given to establish the state-space model of the inverter in the synchronous coordinate system, as shown below: For the accurate modeling and performance analysis of an uncertain intelligent microgrid system. Combined with Figure 6 and the specific filter uncertain parameters were given to establish the state-space model of the inverter in the synchronous coordinate system, as shown below: where L 1 , R 1 , L 2 , R 2 are the impedance, C f and R f are the capacitance and impedance, v f ,q , v f ,q are the capacitance v c shunt voltage at both ends, v g,d , v g,q are the grid voltage v g shunt voltage at both ends, between the microgrid side and the grid side branch current i 1,d , i 1,q , i 2,d , i 2,q , ω is the power system frequency.
where 1 , 1 , 2 , 2 are the impedance, and are the capacitance and impedance, , , , are the capacitance shunt voltage at both ends, , , , are the grid voltage shunt voltage at both ends, between the microgrid side and the grid side branch current 1, , 1, , 2, , 2, , is the power system frequency. At this time, the continuous time representation of the system can be re represented by the state-space model of the following formula: The grid side current was the measured state, and the inverter side current and capacitor voltage were the unmeasured parts of the state vector. To facilitate the use of data acquisition equipment and PWM signal acquisition in the simulation experiment, the bounded range analysis of parameter uncertainty was conducted.

Bounded Analysis
In order to achieve dynamic stability and robustness for uncertainty, a class of systems with norm bounded uncertainties were introduced into the Η∞ control theory to ensure that the closed-loop system was asymptotically stable at the specified Η∞ disturbance attenuation level [20]. But it is difficult to achieve a stable and uncertain optimal cost. So, for the non-zero term uncertainty, we assume that there is a positive scalar constant and a certain value limit. Therefore, we define the following: At this time, the continuous time representation of the system can be re represented by the state-space model of the following formula: . where The grid side current was the measured state, and the inverter side current and capacitor voltage were the unmeasured parts of the state vector. To facilitate the use of data acquisition equipment and PWM signal acquisition in the simulation experiment, the bounded range analysis of parameter uncertainty was conducted.

Bounded Analysis
In order to achieve dynamic stability and robustness for uncertainty, a class of systems with norm bounded uncertainties were introduced into the H∞ control theory to ensure that the closed-loop system was asymptotically stable at the specified H∞ disturbance attenuation level [20]. But it is difficult to achieve a stable and uncertain optimal cost. So, for the non-zero term uncertainty, we assume that there is a positive scalar constant and a certain value limit. Therefore, we define the following: Then, ifΘ(t) ∈ S, we have thatΘ(t) =Θ + ∆Θ(t),Θ = (θijmax)+(θijmin) 2 is a time invariant mean matrix, and θ ij is a matrixΘ The element with the largest singular value in, ∆Θ(t) is a real valued uncertain matrix function.

Assumption 1.
When the number of uncertain resistive components or uncertain parameters are added to the LCL, the islanding system is stable. There is a reasonable stability margin ( (I + E 0 T) −1 ∞ ≤ 1)established, then the sensitivity of nominal and uncertain perturbation is not much different, and the uncertainty is expressed in the following structured bounded form.
where: E, F a , F b are units of a known real constant, and M is an uncertain perturbation matrix that can be measured. Therefore, the system model changes to the following: .
The cost functions related to uncertain systems are as follows: Q = Q T is a positive semi-definite symmetric matrix, R = R T is a positive definite symmetric matrix and is controllable for (A, B).

Lemma 1 [2].
For any > 0, given the matrices Y, C and D with appropriate dimensions, and Y is a symmetric matrix, then Y + CDM + DTMTCT < 0. For any M, the following equation is satisfied.
Lemma 2 [31]. Considering the system uncertainty (without disturbance), given an admissible set D and cost function (13), it is assumed that there are some positive 1 , 2 . There is an invariant set if and only if > 0, ⊂ R n , ⊃ D, a symmetric positive definite matrix P and a matrix K. We then set the following formula: Definition 1.
If the system has no other interference, the designed state-feedback controller is: u(t) = Kx(t) to keep the uncertain system stable. Given the cost function (14), an admissible set D and a positive definite cost matrix P > 0, the following satisfied: For all admissible uncertainties ∆Θ(t) in system (9), if the following conditions are satisfied, the feedback controller is a quadratic guaranteed cost controller with a related cost matrix.
The relationship between the above quadratic stability definition and quadratic stabilizability definition is extended to ensure performance. Theorem 1. Considering the system stability under the assumption, the control law is a quadratic guaranteed cost control with cost matrix P > 0. Then the closed-loop uncertain system (12) is quadratic stable at any time under constraints M T (t)M(t) ≤ I. In addition, for all allowable uncertainties ∆Θ(t), the corresponding value of the cost function (13) satisfies the following bound: Proof. The uncertain system performance index (13) satisfies the boundary (17) in the initial state, and it is proved by Lemmas 1 and 2. Under the constraints M T (t)M(t) ≤ I, Lyapunov function is considered in combination with the above two lemmas: Then: .
It can be seen that the Lyapunov derivative is negative definite, then (Q + K T RK) = −I. As Q and R are positive definite real symmetric matrices, there is a solution P of positive definite real symmetric matrix, so that the uncertain system (12) tends to be asymptotically stable.
It has been proved that the system is asymptotically stable. Then, when x(∞) = 0, there are: From the above conditions, ∆Θ(t), the lower and upper bounds can be displayed here as follows: Remark 1. (11) and constraint condition M T (t)M(t) ≤ I are admissible conditions, which are widely used to represent the parameter uncertainty in the control system. When other disturbances are not considered, the derivative of the quadratic Lyapunov function along the system trajectory is in the form of V(x) = x T (t)Px(t) to prove and infer Lemma 2.

Remark 2.
In uncertain structure matrices E, F a , F b and M, according to the restricted condition of Lebesque measurable matrix value, the function conforms to the above operation within a certain bounded range.

Controller Design
For uncertain systems, the Riccati equation method for constructing the optimal quadratic guaranteed cost controller under the Lyapunov function is given. Symmetric matrix P is a stable Riccati differential equation solution of A T P + PA + PMP + Q = 0.

Lemma 3.
For any > 0 and any M satisfying Equation (16), then combined with Lemma 1, there are x ∈ R n , all of which have the following: Theorem 2. Given Q ∈ R n×n and R ∈ R n×n , the symmetric matrix satisfies the Riccati equation and has a constant > 0, in combination with references [5,6], the Riccati equation is as follows: With positive definite symmetric solution P, the uncertain system (10) is quadratic stable. Then, the appropriate stable control rate of the state feedback system is given as: , which meets the assumed design criteria and makes the system control stable.
Proof. Combined with Lemma 1, for any > 0 and any m satisfy Equation (16), there are x ∈ R n , all of which have the following: ,P = P and when P = ( / 1 )P = (1/ 1 )P > P, any constant 1 < 1 nσ[P(t)] ∈ (0, ), According to the above expression, we have the following equation: There is a constant 1 such that the controller makes the system stable. The proof is completed.

Theorem 3.
Combining Lemma 1 and Lemma 2, when there is a positive definite matrix X > 0, the uncertain system in nominal mode can achieve robust quadratic stability through optimization and adjustment within the bounded range of parameters. Therefore, the matrix under the condition of uncertain parameters satisfies the following inequality: Proof. The equation of the reasonable positive definite solution is as follows: through Lemma 4 and the above proof process, we have the following: Let P = P −1 , combined with Lemma 3, we have the following: through Equation (12), the above equation becomes: by Lemma 1, the above inequality applies to the following inequality, Using Theorem 2, replace A with A − BK and so on, respectively, and a new LMI similar to (20) appears. The proof of this theorem is completed. The proof is complete.

Remark 3.
The quadratic stabilizability of uncertain systems can be stabilized in the same system, but the opposite is not true.
Similarly, given constant 1 > 0, if and only if there is an appropriate scalar function or value, and there are positive definite symmetric matrix W −1 and matrix V −1 , then the guaranteed cost controller is stable to the system within a certain limit.

Simulation Results
In order to make the model more in line with the standards of the actual engineering field, improve the limitations brought by the nominal model. The uncertain parameters of the filter structure were adjusted in a bounded range to simulate the intermittency of distributed generation, although the controller ensures the stable operation of the system.
First, when two DGs units are connected in parallel and the nominal parameter value is changed, the frequency and voltage will change as shown in the Figure 7: Using Theorem 2, replace A with − and so on, respectively, and a new LMI similar to (20) appears. The proof of this theorem is completed. The proof is complete. □ Remark 3. The quadratic stabilizability of uncertain systems can be stabilized in the same system, but the opposite is not true.
Similarly, given constant 1 > 0, if and only if there is an appropriate scalar function or value, and there are positive definite symmetric matrix W −1 and matrix V −1 , then the guaranteed cost controller is stable to the system within a certain limit.

Simulation Results
In order to make the model more in line with the standards of the actual engineering field, improve the limitations brought by the nominal model. The uncertain parameters of the filter structure were adjusted in a bounded range to simulate the intermittency of distributed generation, although the controller ensures the stable operation of the system.
First, when two DGs units are connected in parallel and the nominal parameter value is changed, the frequency and voltage will change as shown in the figure 7: Within the uncertain and bounded range, adjust the rated values of capacitance and inductance in the filter to ensure that the parameters are between 20% as follow figure 8 and 50% as follow figure 9 of the nominal values. The simulation results are as follows. Within the uncertain and bounded range, adjust the rated values of capacitance and inductance in the filter to ensure that the parameters are between 20% as follow Figure 8 and 50% as follow Figure 9 of the nominal values. The simulation results are as follows.  To make the microgrid system effective and stable, a linear quadratic integral regulator (LQR) controller is designed to regulate the voltage, so that the active and reactive power of the system remain stable within a limited range as follow Figure 10. Through the following experimental simulation analysis, the feasibility and effectiveness of the model are verified.
Within a certain time variation range, for the output power imbalance caused by uncertainty, after the effective control of the controller, the active power and reactive power finally tend to balance, as shown in Figure 11.
Under the same conditions, continuously optimize and adjust the parameter values of the filter structure, and the system can converge more stably, as shown in Figure 12. To make the microgrid system effective and stable, a linear quadratic integral regulator (LQR) controller is designed to regulate the voltage, so that the active and reactive power of the system remain stable within a limited range as follow figure 10. Through the following experimental simulation analysis, the feasibility and effectiveness of the model are verified. Within a certain time variation range, for the output power imbalance caused by uncertainty, after the effective control of the controller, the active power and reactive power finally tend to balance, as shown in Figure 11.  To make the microgrid system effective and stable, a linear quadratic integral regulator (LQR) controller is designed to regulate the voltage, so that the active and reactive power of the system remain stable within a limited range as follow figure 10. Through the following experimental simulation analysis, the feasibility and effectiveness of the model are verified. Within a certain time variation range, for the output power imbalance caused by uncertainty, after the effective control of the controller, the active power and reactive power finally tend to balance, as shown in Figure 11. Under the same conditions, continuously optimize and adjust the parameter values of the filter structure, and the system can converge more stably, as shown in Figure 12. (a) (b) Figure 12. The controller adjusts some parameters and performance to optimize and stabilize the The performance of capacitors, inductors, and other components in the filter structure changes with temperature. In the case of uncertain parameters, the controller optimizes and adjusts the analog quantity change value within the bounded range of parameters to achieve the purpose of system voltage stability and power balance and to ensure the quality of power output.
At the same time, this method can indirectly and effectively reduce the cost. On the other hand, it could also optimize and adjust the system parameters by the trial-and-error method to determine the boundary value of system stability. Under the same conditions, continuously optimize and adjust the parameter values of the filter structure, and the system can converge more stably, as shown in Figure 12. The performance of capacitors, inductors, and other components in the filter structure changes with temperature. In the case of uncertain parameters, the controller optimizes and adjusts the analog quantity change value within the bounded range of parameters to achieve the purpose of system voltage stability and power balance and to ensure the quality of power output.
At the same time, this method can indirectly and effectively reduce the cost. On the other hand, it could also optimize and adjust the system parameters by the trial-and-error method to determine the boundary value of system stability.

Conclusions
In this paper, the frequency fluctuation of the original system was eliminated through MAF. In the second section, under the condition of nominal parameters, we simulated and verified the stable operation state of voltage and power with one inverter DG unit, and two inverter DG units were run in parallel in the intelligent microgrid system. Secondly, on the basis of the nominal model, the problem of structural parameter uncertainty was introduced. Assuming that the new system was stable and under the initial conditions of guaranteed cost theory, the bounded range of the uncertain parameters was obtained through constraints. Finally, when the system was unstable due to parameter uncertainty, the relevant LQR controller was obtained by the Lyapunov function to give the system a certain progressive stable state. Through simulation, the purpose of optimizing the uncertain model, restraining voltage distortion, and balancing output power was achieved and ensured the stability of the power grid. At the same time, this method could

Conclusions
In this paper, the frequency fluctuation of the original system was eliminated through MAF. In the second section, under the condition of nominal parameters, we simulated and verified the stable operation state of voltage and power with one inverter DG unit, and two inverter DG units were run in parallel in the intelligent microgrid system. Secondly, on the basis of the nominal model, the problem of structural parameter uncertainty was introduced. Assuming that the new system was stable and under the initial conditions of guaranteed cost theory, the bounded range of the uncertain parameters was obtained through constraints. Finally, when the system was unstable due to parameter uncertainty, the relevant LQR controller was obtained by the Lyapunov function to give the system a certain progressive stable state. Through simulation, the purpose of optimizing the uncertain model, restraining voltage distortion, and balancing output power was achieved and ensured the stability of the power grid. At the same time, this method could analyze the parameter sensitivity of the controller, continuously adjust the filter parameters, find out the reasonable uncertainty range, verify the hypothesis, effectively simplify the model, and realize the low-cost filter.
To better respond to the needs of the actual project, the follow-up work would consider the impact of load imbalance, faults, communication delay, interference, and other issues on the system. Considering the intermittency of distributed generation, a hardware loop simulation experiment is conducted to simulate the impact of inverter on output power between islanding and grid connected modes. In the hardware in the loop simulation experiment, the impact of the implementation of the switching system on the system performance will also be considered to make the smart microgrid more anti-interference and ensure high-quality and stable output of power.