Inertia support stability control method and system of micro-grid in off-grid mode
By constructing a load disturbance prediction model and implementing dual closed-loop control of voltage and current, the virtual inertia and damping coefficient of the distributed power source are dynamically adjusted, solving the problem of insufficient frequency stability in the off-grid mode of the microgrid. This enables rapid frequency suppression and recovery, improving the stability and reliability of the system.
Patent Information
- Application Number
- CN202611685929.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-24
AI Technical Summary
In off-grid microgrid mode, existing virtual synchronous generator control methods struggle to balance the contradiction between suppressing the rate of frequency change under rapid disturbances and steady-state recovery. They lack the ability to proactively perceive load changes and lack an effective inertia coordination mechanism when multiple generators are running in parallel, resulting in insufficient frequency stability.
By collecting microgrid operating status data, a load disturbance prediction model is constructed. Based on the long short-term memory network, load disturbances are predicted. Combined with voltage and current dual closed-loop control, the virtual inertia and damping coefficient of the distributed power source are dynamically adjusted to achieve inertia-supported stability control.
It effectively suppresses frequency drop depth and rate of change, improves frequency recovery speed, enhances the power quality and current limiting protection capabilities of the system under nonlinear load and load change conditions, and improves frequency stability and adaptability.
Smart Images

Figure CN123162829A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of microgrid operation control, specifically to an inertia-supported stability control method and system for microgrids in off-grid mode. Background Technology
[0002] In off-grid mode, microgrids lose the frequency and voltage support of the main grid, and their frequency stability depends entirely on the coordinated control of internal distributed power sources. However, distributed power sources such as photovoltaics and energy storage, which are connected to the grid based on power electronic converters, do not have rotational inertia. This results in off-grid microgrids exhibiting low or even zero inertia characteristics. When power disturbances occur, such as load switching or fluctuations in renewable energy output, the system frequency change rate increases sharply, which can easily trigger low-frequency load shedding or cause equipment to disconnect from the grid, thereby threatening the safe operation of the system.
[0003] Virtual synchronous generator (VSR) technology, by simulating the rotor motion equations of a synchronous generator and introducing virtual inertia into the inverter, has become a mainstream technical approach to improve the frequency stability of off-grid microgrids. However, existing VSR control methods generally use fixed virtual inertia coefficients, making it difficult to balance the contradiction between suppressing the rate of frequency change under rapid disturbances and achieving rapid convergence during the steady-state recovery phase. While large inertia can effectively suppress the rate of frequency change, it prolongs the frequency recovery time and exacerbates power oscillations; small inertia, while beneficial for rapid recovery, cannot effectively suppress the depth of transient frequency drops. Furthermore, existing methods only respond passively after load disturbances occur, lacking the ability to proactively perceive load change trends. Moreover, when multiple VSRs are operating in parallel, there is a lack of effective inertia coordination mechanisms among the units. The differences in the state of charge of energy storage of each distributed power source further exacerbate the coordination difficulty, easily leading to decreased power sharing accuracy or system instability. In addition, existing virtual synchronous generator control schemes mostly adopt single voltage loop or voltage open loop control architecture, lacking an effective current inner loop current limiting protection mechanism. Under load change or short circuit fault conditions, power devices are prone to overcurrent failure, and the output voltage waveform quality is difficult to guarantee when carrying nonlinear loads. Summary of the Invention
[0004] To address the aforementioned technical problems, this paper provides an inertia-supported stability control method and system for off-grid microgrids. This technical solution solves the technical problems mentioned in the background section regarding the existing virtual synchronous generator control method, which struggles to balance transient suppression and steady-state convergence with a fixed inertia coefficient, lacks forward-looking perception of load changes, and lacks an effective inertia coordination mechanism when multiple generators are operating in parallel.
[0005] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0006] An inertia-supported stability control method for off-grid microgrids includes:
[0007] Collect the common bus frequency, voltage and current at each distributed power source's grid connection point, and DC-side energy storage charge status of each distributed power source under off-grid operation conditions to form an operation status dataset;
[0008] Based on the operating status dataset, the dynamic response characteristics of the common bus frequency during load disturbance are extracted, a load disturbance prediction model is constructed, and the load disturbance prediction coefficient at the current moment is output.
[0009] Based on the load disturbance prediction coefficient, a virtual inertia adaptive adjustment model for each distributed power source is constructed, and the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source under the current operating conditions are output.
[0010] Based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, and combined with the grid connection point voltage and current of each distributed power source, the modulation wave signal of each distributed power source is generated through voltage and current dual closed-loop control.
[0011] Based on the modulation wave signals of each distributed power source, the power converters of each distributed power source are driven to perform power output, thereby completing the inertia support stability control of the off-grid microgrid.
[0012] Preferably, the data collection of the common bus frequency, voltage and current at each distributed power source's grid connection point, and DC-side energy storage state of each distributed power source under off-grid operation conditions to form the operation status dataset includes:
[0013] Voltage transformers and current transformers are deployed at the grid connection points of each distributed power source to collect the three-phase voltage and three-phase current signals at each grid connection point.
[0014] The local frequency is obtained by phase-locked loop at each grid connection point, and the average value is obtained by low-bandwidth communication to obtain the common bus frequency.
[0015] Voltage and current sensors are deployed on the DC side of each distributed power source to collect DC side voltage and current, and the energy storage state of charge of each distributed power source is calculated based on the ampere-hour integration method.
[0016] Using the GPS second pulse as the synchronization time mark, the data collected by each sensor is timestamped and resampled at a unified sampling frequency to form a time-aligned running status dataset.
[0017] The operational status dataset includes at least the common bus frequency, three-phase voltage, three-phase current, active power, reactive power, and DC-side energy storage state of charge at each distributed power source grid connection point.
[0018] Preferably, the step of extracting the dynamic response characteristics of the common bus frequency during load disturbance based on the operating status dataset, constructing a load disturbance prediction model, and outputting the load disturbance prediction coefficient at the current moment includes:
[0019] Extract the time series of the common bus frequency from the running status dataset, set a sliding window, and truncate the time series of the common bus frequency to obtain the frequency change sequence of several consecutive sampling points at the current time;
[0020] The frequency change sequence is differentially processed to calculate the frequency change rate between adjacent sampling points, forming a frequency change rate sequence.
[0021] Based on the frequency change rate sequence, the weighted average frequency change rate at the current moment is calculated using the weighted moving average method, which serves as an instantaneous disturbance characteristic quantity characterizing the instantaneous impact intensity of the load.
[0022] Using the original sampled common bus frequency change rate, common bus frequency deviation, local energy storage charge state and local current active power as input features, the input feature quantities of the current time and the previous few sampling points are arranged into a sequence in time order to construct a load disturbance prediction model based on long short-term memory network.
[0023] The Long Short-Term Memory network consists of an input layer, two LSTM hidden layers, and an output layer. The model parameters are obtained by training with historical running data.
[0024] The historical operating data refers to the operating data of off-grid microgrids collected or simulated under various load disturbance scenarios. After the model training is completed, it is deployed offline, and during online operation, the parameters are fine-tuned or retrained periodically according to the prediction error.
[0025] The input feature sequence at the current moment is input into the trained long short-term memory network load disturbance prediction model, and the predicted value of the common bus frequency change rate at the next moment is obtained by forward calculation.
[0026] The load disturbance trend factor is calculated based on the difference between the absolute value of the predicted rate of change of the common bus frequency and the measured absolute value of the rate of change of the common bus frequency at the current moment.
[0027] The load disturbance trend factor is fused with the weighted average frequency change rate at the current moment to calculate the load disturbance prediction coefficient.
[0028] Preferably, the step of constructing an adaptive virtual inertia adjustment model for each distributed power source and outputting the optimal virtual inertia coefficient and optimal damping coefficient for each distributed power source under the current operating conditions includes:
[0029] The load disturbance prediction coefficient is used as the feedforward input signal to calculate the inertia compensation reference value;
[0030] Calculate the state of charge normalization coefficient based on the energy storage state of each distributed power source;
[0031] Calculate the frequency deviation ratio based on the deviation between the common bus frequency and the rated frequency;
[0032] The product of the inertia compensation reference value and the state of charge normalization coefficient is used as the first inertia adjustment component.
[0033] The product of the frequency deviation proportional coefficient and the proportional coefficient is multiplied by the state of charge normalization coefficient to obtain the second inertia adjustment component.
[0034] The virtual inertia coefficient is obtained by superimposing the first inertia adjustment component and the second inertia adjustment component.
[0035] Based on the current frequency deviation proportional coefficient and frequency change rate, combined with the state of charge normalization coefficient, the damping compensation benchmark value is calculated, and the optimal damping coefficient is obtained after amplitude limiting.
[0036] Preferably, the step of generating modulation wave signals for each distributed power source based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, combined with the grid connection point voltage and current of each distributed power source, through voltage and current dual closed-loop control includes:
[0037] Based on the three-phase voltage and three-phase current at the grid connection point of each distributed power source, the instantaneous output active power and instantaneous output reactive power of each distributed power source are calculated based on the instantaneous power theory.
[0038] Based on the optimal virtual inertia coefficient and damping coefficient, and combined with the common bus frequency, rated frequency and instantaneous output active power, the virtual synchronous generator rotor motion equations of each distributed power source are constructed.
[0039] Based on the deviation between instantaneous output reactive power and rated reactive power, and combined with the rated voltage amplitude, virtual excitation regulation equations for each distributed power source are constructed.
[0040] The phase angle and amplitude of the virtual internal electromotive force of each distributed power source are obtained by solving the virtual synchronous generator rotor motion equation and the virtual excitation regulation equation in a coupled manner.
[0041] A virtual internal electromotive force reference signal is generated based on the phase angle and amplitude of the virtual internal electromotive force.
[0042] The virtual internal electromotive force reference signal is used as the given value of the voltage outer loop. The voltage and current dual closed-loop control is used to generate a modulated wave signal. The voltage outer loop adopts a quasi-proportional resonant controller, and the current inner loop adopts a proportional controller.
[0043] Preferably, the step of driving the power converters of each distributed power source to perform power output based on the modulation wave signals of each distributed power source, thereby completing the inertia support stability control of the off-grid microgrid, includes:
[0044] In each control cycle, the modulation wave signal of each distributed power source is input to the drive circuit of the corresponding power converter. After being amplified by the drive circuit, the on / off state of the switching devices in the power converter is controlled.
[0045] Each distributed power source, based on its independently calculated optimal virtual inertia coefficient and optimal damping coefficient, shares the load power according to a unified common bus frequency.
[0046] After the current control cycle ends, the next control cycle begins with a fixed control cycle. The real-time operating status of the system is re-acquired, the load disturbance prediction coefficient and the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source are updated, and the modulation wave signal is generated again to drive the power converter.
[0047] The process is repeated cyclically, allowing changes in the system's operating state to be fed back to the control input via data acquisition, forming a closed-loop control system that integrates real-time monitoring, disturbance prediction, and inertia damping for coordinated adaptive control.
[0048] Furthermore, this solution proposes an inertia-supported stability control system for off-grid microgrids, used to implement the aforementioned inertia-supported stability control method for off-grid microgrids, including:
[0049] The data acquisition module is used to collect the common bus frequency, the voltage and current of each distributed power source grid connection point, and the DC side energy storage charge status of each distributed power source under off-grid operation conditions, forming an operation status dataset.
[0050] The prediction model module is used to extract the dynamic response characteristics of the common bus frequency during load disturbance based on the operating status dataset, construct a load disturbance prediction model, and output the load disturbance prediction coefficient at the current moment.
[0051] An adaptive adjustment model module is used to construct an adaptive adjustment model of the virtual inertia of each distributed power source based on the load disturbance prediction coefficient, and output the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source under the current operating conditions.
[0052] The modulation wave signal module is used to generate modulation wave signals for each distributed power source based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, combined with the grid connection point voltage and current of each distributed power source, through voltage and current dual closed-loop control.
[0053] The control module is used to drive the power converter of each distributed power source to perform power output according to the modulation wave signal of each distributed power source, so as to complete the inertia support stability control of the off-grid microgrid.
[0054] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0055] By decoupling the virtual inertia coefficient and damping coefficient and adjusting them independently, the contradiction between the difficulty of simultaneously suppressing transient frequency change rate and achieving rapid steady-state convergence with a fixed inertia coefficient is overcome. This effectively suppresses frequency drop depth and rate of change under strong disturbances, while avoiding slow response caused by over-damping under weak disturbances. A load disturbance prediction model based on a long short-term memory network is introduced. By fusing the frequency change rate prediction deviation and measured trend, the load disturbance prediction coefficient is calculated, achieving forward-looking perception of load changes and feedforward pre-adjustment of inertia, thus compensating for the shortcomings of passive response in traditional methods. At the same time, based on the differentiated inertia allocation and low-bandwidth periodic communication coordination mechanism of the energy storage charge state normalization coefficient, each distributed power source automatically adapts its inertia support strength according to its own energy state, realizing inertia coordination and power distribution under multi-machine parallel operation. In addition, the voltage and current dual closed-loop control architecture enhances the output power quality and current limiting protection capability of the system under nonlinear loads and load change conditions, comprehensively improving the frequency stability, adaptability, and operational reliability of the off-grid microgrid under random disturbances. Attached Figure Description
[0056] Figure 1 This is a flowchart of the inertia-supported stability control method for microgrids in off-grid mode according to the present invention.
[0057] Figure 2 The flowchart for constructing the load disturbance prediction model of this invention and outputting the load disturbance prediction coefficients at the current moment is shown below.
[0058] Figure 3 The present invention provides a flowchart for constructing an adaptive virtual inertia adjustment model for each distributed power source and outputting the optimal virtual inertia coefficient and optimal damping coefficient for each distributed power source under the current operating conditions.
[0059] Figure 4 The flowchart of the present invention is based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, and generates the modulation wave signal of each distributed power source through voltage and current dual closed-loop control. Detailed Implementation
[0060] The following description is intended to disclose the invention and enable those skilled in the art to implement it. The preferred embodiments described below are merely examples, and other obvious variations will occur to those skilled in the art.
[0061] Reference Figure 1 As shown, an inertia-supported stability control method for off-grid microgrids includes:
[0062] Collect the common bus frequency, voltage and current at each distributed power source's grid connection point, and DC-side energy storage charge status of each distributed power source under off-grid operation conditions to form an operation status dataset;
[0063] Based on the operating status dataset, the dynamic response characteristics of the common bus frequency during load disturbance are extracted, a load disturbance prediction model is constructed, and the load disturbance prediction coefficient at the current moment is output.
[0064] Based on the load disturbance prediction coefficient, a virtual inertia adaptive adjustment model for each distributed power source is constructed, and the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source under the current operating conditions are output.
[0065] Based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, and combined with the grid connection point voltage and current of each distributed power source, the modulation wave signal of each distributed power source is generated through voltage and current dual closed-loop control.
[0066] Based on the modulation wave signals of each distributed power source, the power converters of each distributed power source are driven to perform power output, thereby completing the inertia support stability control of the off-grid microgrid.
[0067] The essence of inertia support in off-grid microgrids lies in the active injection or absorption of active power related to the rate of frequency change into the system through inverter control strategies when load disturbances cause the system frequency to deviate from the rated value, thereby simulating the physical buffering effect of synchronous generator rotor inertia on frequency changes. However, in actual operation, load disturbances are random and unpredictable, and a fixed inertia coefficient cannot simultaneously meet the requirements for suppressing the rate of frequency change under large disturbances and the requirements for rapid frequency recovery under small disturbances. Therefore, this scheme, based on the traditional virtual synchronous generator control architecture, introduces a power disturbance prediction mechanism based on a long short-term memory network. It utilizes the common bus frequency change rate as the instantaneous response signal to system disturbances, and through time-series feature extraction and deep learning prediction, it anticipates power change trends. Furthermore, it integrates energy storage state-of-charge constraints and real-time frequency deviation information to construct an independent adaptive adjustment model for virtual inertia and damping coefficients under multiple constraints. This achieves dynamic decoupling and optimized configuration of the inertia and damping coefficients of each distributed power source. Finally, each distributed power source independently executes local virtual synchronous generator control and dual closed-loop voltage and current regulation, achieving multi-machine inertia coordination and stability support for the off-grid microgrid under conditions requiring only low-bandwidth periodic communication. The virtual inertia coefficient is mainly adjusted forward based on the load disturbance prediction coefficient and energy storage state of charge to suppress the frequency change rate, while the damping coefficient is mainly adjusted based on real-time frequency deviation and frequency change rate to accelerate frequency recovery and suppress low-frequency oscillations. The two are decoupled through independent tuning rules, ensuring excellent dynamic response characteristics of the system under various disturbance conditions.
[0068] The common bus frequency, voltage and current at each distributed power source's grid connection point, and DC-side energy storage state of each distributed power source are collected under off-grid operation conditions to form an operation status dataset, including:
[0069] Voltage transformers and current transformers are deployed at the grid connection points of each distributed power source to collect the three-phase voltage and three-phase current signals at each grid connection point.
[0070] The local frequency is obtained by phase-locked loop at each grid connection point, and the average value is obtained by low-bandwidth communication to obtain the common bus frequency.
[0071] Voltage and current sensors are deployed on the DC side of each distributed power source to collect DC side voltage and current, and the energy storage state of charge of each distributed power source is calculated based on the ampere-hour integration method.
[0072] Using the GPS second pulse as the synchronization time mark, the data collected by each sensor is timestamped and resampled at a unified sampling frequency to form a time-aligned running status dataset.
[0073] The operational status dataset includes at least the common bus frequency, three-phase voltage, three-phase current, active power, reactive power, and DC-side energy storage state of charge at each distributed power source grid connection point.
[0074] In practical deployments, voltage transformers and current transformers are connected in parallel and series to the grid connection points of each distributed power source, respectively, to directly obtain the instantaneous values of three-phase voltage and current. Then, active and reactive power are calculated in real time using three-phase instantaneous power theory, providing power feedback for subsequent virtual synchronous generator control. The phase-locked loop (PLL) tracks the voltage phase at the grid connection point and outputs a local frequency. Each power source uploads its local frequency via a low-bandwidth communication cycle and averages it to obtain the common bus frequency. This averaging process aims to eliminate measurement deviations and local disturbances in single-unit PLLs, providing a unified frequency reference for multi-unit coordination. DC-side voltage and current sensors are used to estimate the remaining usable energy of the energy storage. The ampere-hour integration method obtains the current energy storage state of charge by integrating the charging and discharging current over time and superimposing the initial state of charge. However, long-term operation results in accumulated errors, requiring correction using open-circuit voltage calibration or filtering algorithms in practice. The GPS second pulse serves as a unified synchronization time stamp, assigning a consistent time base to data from all sensors. Through timestamp marking and resampling interpolation, sampled data from different physical locations are aligned to the same sampling frequency, eliminating phase errors introduced by asynchronous sampling times. The operating status dataset, containing physical quantities such as the common bus frequency, three-phase voltage and current, active and reactive power, and energy storage state of charge, serves as the fundamental input for load forecasting feature extraction and inertia optimization models, ensuring accurate calculations in subsequent stages based on time alignment. The low-bandwidth communication period is set to 100ms~500ms, significantly longer than the inverter control period, ensuring that communication load does not affect the deterministic delay of microsecond-level real-time control.
[0075] Reference Figure 2As shown, a load disturbance prediction model is constructed, and the output load disturbance prediction coefficients at the current time include:
[0076] Extract the time series of the common bus frequency from the running status dataset, set a sliding window, and truncate the time series of the common bus frequency to obtain the frequency change sequence of several consecutive sampling points at the current time;
[0077] The frequency change sequence is differentially processed to calculate the frequency change rate between adjacent sampling points, forming a frequency change rate sequence.
[0078] Based on the frequency change rate sequence, the weighted average frequency change rate at the current moment is calculated using the weighted moving average method, which serves as an instantaneous disturbance characteristic quantity characterizing the instantaneous impact intensity of the load.
[0079] Using the original sampled common bus frequency change rate, common bus frequency deviation, local energy storage charge state and local current active power as input features, the input feature quantities of the current time and the previous few sampling points are arranged into a sequence in time order to construct a load disturbance prediction model based on long short-term memory network.
[0080] The Long Short-Term Memory network consists of an input layer, two LSTM hidden layers, and an output layer. The model parameters are obtained by training with historical running data.
[0081] The historical operating data refers to the operating data of off-grid microgrids collected or simulated under various load disturbance scenarios. After the model training is completed, it is deployed offline, and during online operation, the parameters are fine-tuned or retrained periodically according to the prediction error.
[0082] The input feature sequence at the current moment is input into the trained long short-term memory network load disturbance prediction model, and the predicted value of the common bus frequency change rate at the next moment is obtained by forward calculation.
[0083] The load disturbance trend factor is calculated based on the difference between the absolute value of the predicted rate of change of the common bus frequency and the measured absolute value of the rate of change of the common bus frequency at the current moment.
[0084] The load disturbance trend factor is fused with the weighted average frequency change rate at the current moment to calculate the load disturbance prediction coefficient.
[0085] The impact of load disturbances on system frequency is manifested as the instantaneous response of the rate of frequency change. The sign and magnitude of the rate of frequency change directly reflect the direction and amplitude of the system's active power imbalance. This scheme uses a sliding window to extract a fixed-length time window from the common bus frequency time series. The selection of the window length needs to consider the matching relationship between the data sampling frequency and the system's inertial time constant; an example value of 20 is used to ensure that the window contains sufficient information on dynamic frequency changes. The formula for calculating the rate of frequency change is:
[0086]
[0087] In the formula, For the first The rate of change of the original frequency at each sampling time, For the first The common bus frequency at each sampling time, For the first The common bus frequency at each sampling time, The sampling period;
[0088] The formula for calculating the weighted moving average is:
[0089]
[0090] In the formula, For the current moment The weighted average rate of change of frequency, This represents the total number of sampling points within the sliding window. For the first The weighting coefficients for each sampling point are in an exponential decay form, i.e. ,in, The attenuation coefficient is obtained through offline tuning, and its typical value range is 0.3~1. The first time before the current moment The frequency change rate of each sampling point is calculated based on the frequency sequence measured locally in real time during the communication interval.
[0091] Long Short-Term Memory (LSTM) networks are a variant of recurrent neural networks suitable for time series forecasting. Their core lies in effectively modeling the long-term memory and short-term correlation of historical information through three gating structures: input gate, forget gate, and output gate. This scheme constructs a network structure consisting of an input layer, two LSTM hidden layers, and an output layer. The input layer's dimension is the input feature dimension (common bus frequency change rate, common bus frequency deviation, energy storage state of charge, and current active power), and the input sequence length is M+1, containing features from the current time step and the previous M sampling points. A typical value for M is 10. The number of neurons in the two hidden layers is set to 64 and 32, respectively. The output layer consists of a single neuron that outputs the predicted value of the common bus frequency change rate for the next time step. The network training employs a supervised learning approach, using the input feature sequence at the current moment from historical operating data and the actual value of the common bus frequency change rate at the next moment to form training sample pairs. The mean square error between the predicted and true values is used as the loss function, and the Adam optimization algorithm is employed for iterative parameter updates until the loss function converges. LSTM forward computation can be executed asynchronously, eliminating the need for synchronous completion within each virtual synchronous generator control cycle.
[0092] The formula for calculating the load disturbance prediction coefficient is:
[0093]
[0094] In the formula, For the current moment The load disturbance prediction coefficient, This is the rate of change of the common bus frequency predicted by the Long Short-Term Memory network at the next time step. For a very small positive number, take , For the rated frequency, and To integrate the weighting coefficients, satisfy the following conditions: Through offline optimization and tuning, typical values are obtained. , ;
[0095] The first term on the right side of the formula This is defined as the load disturbance trend factor, which characterizes the degree of deviation of the predicted rate of change from the current weighted average, reflecting the abrupt trend of load disturbance. The second term... The magnitude of the current weighted average frequency change rate relative to the rated frequency reflects the disturbance intensity; the two are linked by weighting coefficients. and After fusion and amplitude limiting, a normalized load disturbance prediction coefficient is obtained. The larger the coefficient, the stronger the load disturbance the system is about to experience or is experiencing, and the more the virtual inertia needs to be increased to suppress the rate of frequency change.
[0096] Reference Figure 3 As shown, a virtual inertia adaptive adjustment model is constructed for each distributed power source, and the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source under the current operating conditions are output, including:
[0097] The load disturbance prediction coefficient is used as the feedforward input signal to calculate the inertia compensation reference value;
[0098] Based on the state of charge of each distributed power source, a state of charge normalization coefficient is calculated. The state of charge normalization coefficient is the ratio of the current state of charge of each distributed power source to the average state of charge of all operating power sources synchronized through a low-bandwidth cycle.
[0099] Based on the deviation between the common bus frequency and the rated frequency, the frequency deviation ratio coefficient is calculated. The frequency deviation ratio coefficient is the ratio of the absolute value of the difference between the common bus frequency and the rated frequency to the rated frequency.
[0100] The product of the inertia compensation reference value and the state of charge normalization coefficient is used as the first inertia adjustment component.
[0101] The product of the frequency deviation proportional coefficient and the preset proportional coefficient is multiplied by the state of charge normalization coefficient to obtain the second inertia adjustment component.
[0102] The virtual inertia coefficient is obtained by superimposing the first inertia adjustment component and the second inertia adjustment component.
[0103] Based on the current frequency deviation proportional coefficient and frequency change rate, combined with the state of charge normalization coefficient, the damping compensation benchmark value is calculated, and the optimal damping coefficient is obtained after amplitude limiting.
[0104] The core parameter for virtual synchronous generator control is the virtual inertia coefficient. With damping coefficient ,in, This determines the intensity of the virtual rotor's inertial response to frequency changes. The damping recovery capability after the virtual rotor frequency deviates from the rated value is determined in a second-order dynamic system. The suppression effect on the dominant frequency change rate, Convergence speed and overshoot suppression of dominant frequency deviation, The larger the value, the more obvious the suppression effect on the rate of change of frequency, but if If the matching is not appropriate, it may prolong the adjustment time or cause low-frequency oscillations; If the value is too small, the rate of change of frequency will not be sufficiently suppressed. The larger the value, the faster the frequency recovery and the smaller the overshoot, but excessively large values... This will amplify high-frequency noise and increase steady-state error. This solution uses a load disturbance prediction coefficient. As a feedforward input, the inertia compensation reference value is calculated. The calculation formula is: In the formula, For the current moment The inertia compensation reference value, The virtual inertia base value is set in advance. This is the feedforward gain coefficient. This is the load disturbance prediction coefficient at the current moment;
[0105] The virtual inertia baseline and feedforward gain coefficient are determined statistically. Specifically, before system commissioning or during trial operation, historical operating data of the microgrid under normal operation, load fluctuations, and different disturbance intensities are continuously collected. This includes the common bus frequency, frequency change rate, active power output of each distributed power source, energy storage state of charge, and load disturbance event records. Then, the frequency change rate data is statistically analyzed, and a probability distribution of the frequency change rate is plotted. Using the allowable frequency change rate limit as a constraint, the maximum frequency change rate quantile corresponding to the vast majority of operating conditions (e.g., 95% confidence level) is identified. Based on this, the minimum required baseline inertia level of the system is deduced, and this minimum inertia is converted into a virtual inertia baseline value in conjunction with the distributed power source capacity. For the feedforward gain coefficient, the correspondence between the load disturbance prediction coefficient and the actual change in active power can be statistically analyzed to establish the empirical distribution of prediction error. With the minimum frequency point not lower than the low-frequency load reduction threshold and the frequency recovery time not exceeding the allowable value as constraints, within a given prediction error confidence interval, the system response index under different feedforward gain coefficient values is statistically regressed, and the coefficient value that meets the frequency safety index and is least sensitive to prediction error is selected as the tuning result.
[0106] Considering that the state of charge (SoC) of each distributed power source directly determines its energy sustainability when providing virtual inertia support, this scheme introduces a state of charge normalization coefficient. For the The inertia coefficient of each distributed power source is adjusted differentially, and the calculation formula is as follows: In the formula, For the first Taiwan distributed power supply Normalized coefficients of the state of charge at time t. For the first The current state of charge of the distributed power source's energy storage. The system average state of charge (SOC) and the number of operating power sources are updated synchronously through low-bandwidth periodic broadcasts. The transmitted content includes at least the SoC value and operating status flag of each power source. During the two synchronization cycles, the system statistics are temporarily stored as the previous synchronization value, which does not affect the real-time operation of the microsecond-level control cycle.
[0107] The state of charge normalization coefficient is processed by the limiting circuit, and the typical limiting range is 0.2~5. The upper and lower limits of the limiting are set offline according to the system operation stability constraints. A coefficient greater than 1 indicates that the current distributed power source has sufficient energy storage and can bear a large inertial support load; a coefficient less than 1 indicates that the energy storage is low and the inertial support strength should be appropriately reduced to save energy.
[0108] By introducing a frequency deviation proportionality coefficient The formula reflects the degree to which the current frequency deviates from the rated value. In the formula, This is the frequency deviation proportionality coefficient. For the common bus frequency, This is the rated frequency, which is 50Hz under power frequency conditions;
[0109] Combining the above quantities, the first Optimal virtual inertia coefficient of distributed power source The calculation formula is: In the formula, For the first Taiwan distributed power supply The optimal virtual inertia coefficient at time t. This is the frequency deviation proportional gain coefficient;
[0110] The first term on the right side of the above equation The first inertia adjustment component reflects the combined impact of load disturbance prediction and energy storage state constraints on inertia configuration; the second term... The second inertia adjustment component reflects the feedback correction effect of real-time frequency deviation on inertia, while also considering the differences in energy storage state of charge. The superposition of the two components realizes a dual adjustment mechanism that combines feedforward prediction and feedback correction of the inertia coefficient, and is uniformly constrained by the energy storage state of charge.
[0111] The frequency deviation proportional gain coefficient is determined as follows: keeping other control parameters constant, a typical frequency disturbance scenario of off-grid microgrid is constructed in the simulation platform, such as sudden load increase, sudden load decrease, step change in new energy output, and continuous small load fluctuation. A small initial value of the frequency deviation proportional gain coefficient is set, and the simulation is run to record the lowest frequency point, maximum frequency change rate, frequency recovery time, active power oscillation amplitude, and damping ratio under each disturbance. The coefficient is gradually increased with a fixed step size, and the simulation is repeated to obtain the curve of the performance index changing with the coefficient. According to the operating requirements, the feasible range of the coefficient is determined to simultaneously satisfy the following conditions: the lowest frequency point is not lower than the low-frequency load shedding setting value, the maximum frequency change rate does not exceed the allowable limit, the frequency recovery time is within the specified range, and the power oscillation damping is sufficient. Within this feasible range, considering different energy storage charge state distributions, different load prediction errors, and robustness under multi-machine parallel operation, the simulation is repeated to confirm that the system can still maintain stability and the performance degradation is acceptable. If the feasible range is narrow, a value that is more moderate or conservative is adopted as the final setting value.
[0112] No. Optimal damping coefficient of distributed power source The calculation expression is: In the formula, For the first Taiwan distributed power supply The optimal damping coefficient at time 1. The damping reference value is preset. This is the frequency deviation damping gain coefficient. This is the frequency change rate damping gain coefficient;
[0113] The damping reference value is used as the damping value corresponding to the critical damping characteristics (damping ratio = 1) of the system under the rated frequency deviation (0.1Hz). The specific method is as follows: a single-unit load model of the off-grid microgrid is constructed in the simulation platform, the virtual inertia coefficient is fixed as its base value, a step frequency deviation disturbance of 0.1Hz is applied at the grid connection point, the damping coefficient is gradually increased, the overshoot and settling time of the system frequency response curve are monitored until the system response shows critical damping characteristics, and the damping coefficient value corresponding to this time is recorded as the damping reference value. This tuning process is repeated to verify under different power levels and different line impedance ratios, and the average value or conservative minimum value of the damping reference value under each operating condition is taken as the final tuning value.
[0114] The frequency deviation damping gain coefficient is tuned by constructing a multi-condition frequency sweep environment in the simulation platform. The specific method is as follows: Based on the damping reference value, the frequency deviation proportional coefficient is set to several typical values (such as 0.001, 0.002, 0.005, and 0.01, corresponding to frequency deviations of 0.05Hz, 0.1Hz, 0.25Hz, and 0.5Hz, respectively). For each typical deviation value, the frequency deviation damping gain coefficient is gradually increased. The system frequency recovery time, overshoot, and steady-state error are recorded. The recovery time versus gain coefficient curve and the overshoot versus gain coefficient curve are plotted. The gain coefficient value that minimizes the recovery time and overshoot under each typical deviation condition is selected as the preliminary tuning result. Based on this, robustness verification is performed under continuous fluctuating load scenarios and random fluctuation scenarios of new energy power output. If the system can maintain the frequency recovery time within the allowable range and avoid underdamped oscillations in all verification scenarios under a certain gain value, then this value is determined as the final tuning value of the frequency deviation damping gain coefficient.
[0115] The frequency change rate damping gain coefficient is tuned by applying frequency disturbance signals with different rate of change amplitudes in the simulation platform. Specifically, based on the damping reference value and the tuned frequency deviation damping gain coefficient, typical frequency change rate disturbance signals with amplitudes of 0.5 Hz / s, 1 Hz / s, 2 Hz / s, and 5 Hz / s are applied to the system. For each typical rate of change value, the frequency change rate damping gain coefficient is gradually increased, and the attenuation envelope and damping ratio of the system's active power oscillation are observed. The minimum gain coefficient value that satisfies this constraint is selected, whereby the active power oscillation amplitude attenuates to within 5% of the steady-state value within three cycles and the damping ratio is not lower than 0.3, to avoid excessive amplification of high-frequency measurement noise. The maximum value among the gain coefficient values obtained under each typical frequency change rate disturbance is taken, and robustness verification is performed under different energy storage states of charge and different load models to confirm that the tuned value can effectively suppress low-frequency oscillations and not introduce high-frequency resonances throughout the entire operating range. Finally, the frequency change rate damping gain coefficient is determined.
[0116] The virtual inertia coefficient and damping coefficient are both processed by the limiting circuit, and the upper and lower limits of the limiting are tuned offline according to the power converter capacity and system stability constraints.
[0117] Reference Figure 4 As shown, based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, the modulation wave signal of each distributed power source is generated through voltage and current dual closed-loop control, including:
[0118] Based on the three-phase voltage and three-phase current at the grid connection point of each distributed power source, the instantaneous output active power and instantaneous output reactive power of each distributed power source are calculated based on the instantaneous power theory.
[0119] Based on the optimal virtual inertia coefficient and damping coefficient, and combined with the common bus frequency, rated frequency and instantaneous output active power, the virtual synchronous generator rotor motion equations of each distributed power source are constructed.
[0120] Based on the deviation between instantaneous output reactive power and rated reactive power, and combined with the rated voltage amplitude, virtual excitation regulation equations for each distributed power source are constructed.
[0121] The phase angle and amplitude of the virtual internal electromotive force of each distributed power source are obtained by solving the virtual synchronous generator rotor motion equation and the virtual excitation regulation equation in a coupled manner.
[0122] A virtual internal electromotive force reference signal is generated based on the phase angle and amplitude of the virtual internal electromotive force.
[0123] The virtual internal electromotive force reference signal is used as the given value of the voltage outer loop. The voltage and current dual closed-loop control is used to generate a modulated wave signal. The voltage outer loop adopts a quasi-proportional resonant controller, and the current inner loop adopts a proportional controller.
[0124] The core of virtual synchronous generator control lies in simulating the electromechanical transient characteristics of a synchronous generator through a mathematical model. For the first... The equation of motion for the virtual synchronous generator rotor of this distributed power source is:
[0125]
[0126] In the formula, For the first The virtual rotor angular frequency of the distributed power source. The rate of change of the virtual rotor angular frequency. For the first The virtual mechanical power of the distributed power source is given by active-frequency droop control, specifically as follows: ,in, For the first The reference active power of the distributed power source. For the first The active power-frequency droop factor of a distributed power source is directly proportional to its capacity. For the first The instantaneous output active power of the distributed power source. The rated angular frequency;
[0127] According to the differential equation The larger, The smoother the change, the more significant the suppression effect on the rate of frequency change. The larger the value, the greater the damping torque. The larger the value, the faster the frequency deviation converges. The two are independent of each other and work together to determine the dynamic response characteristics of the system.
[0128] The damping term uses the rated angular frequency as a reference. Each virtual rotor automatically adjusts its virtual mechanical power through droop control, so that the angular frequency of each virtual rotor converges to a unified operating frequency that is consistent with the common bus frequency in steady state, thereby achieving multi-machine coordination.
[0129] For off-grid microgrids that may have unbalanced loads, this solution calculates the instantaneous output active power based on a generalized instantaneous power calculation with positive and negative sequence separation. With instantaneous output reactive power The positive-sequence components of the three-phase voltage and current are extracted using a notch filter, and the active power is calculated based on these components. , In this formula, the superscript + indicates the positive sequence component. Under balanced operating conditions, this formula automatically degenerates into the standard instantaneous power calculation formula: , ;
[0130] The virtual excitation regulation equation is: In the formula, For the first The amplitude of the virtual internal electromotive force of the distributed power source. The rated no-load electromotive force, This is the reactive power-voltage droop factor. For the first The rated reactive power of the distributed power source. For the first The instantaneous reactive power output of the distributed power source;
[0131] The virtual rotor angular frequency is obtained by solving the motion equations of the virtual synchronous generator. ,right The phase angle is obtained by time integration. The amplitude of the virtual internal electromotive force is obtained by solving the virtual excitation regulation equation. .by For amplitude, The reference signal for synthesizing the three-phase sinusoidal modulation wave by phase angle:
[0132]
[0133]
[0134]
[0135] Virtual internal electromotive force reference signal As the setpoint for the outer voltage loop, it enters the voltage and current dual closed-loop control stage:
[0136] Voltage outer loop: Measured voltage at grid connection point The deviation is fed into a quasi-proportional resonant controller, whose transfer function is: In the formula, For proportional gain, For resonant gain, The cutoff frequency, The fundamental angular frequency, For the Laplace operator;
[0137] The value is determined by frequency domain analysis: Under the rated operating conditions of the off-grid microgrid, Bode plot of the open-loop transfer function of the voltage loop is plotted. With the phase margin not less than 45° and the gain margin not less than 6dB as constraints, the proportional gain value that maximizes the crossover frequency is selected.
[0138] The value is determined by the time-domain response method: a step voltage reference value is applied at the rated frequency, the resonant gain is gradually increased, and the convergence speed and steady-state error of the voltage tracking error are observed. The minimum resonant gain value that meets the constraints is selected, with the error converging to the steady-state value within ±1% within 5 fundamental frequency cycles and the overshoot not exceeding 10%.
[0139] The fundamental angular frequency is taken as the power frequency. It remains unchanged;
[0140] The quasi-PR controller provides high gain at the fundamental frequency, achieving zero steady-state error tracking of the voltage reference value, while also suppressing harmonics. The voltage outer loop output is the setpoint of the current inner loop. ;
[0141] Inner current loop: Measured current of filter inductor The deviation is fed into the proportional controller (P controller), whose transfer function is: In the formula, The current loop proportional gain is tuned as follows: Using 5 to 10 times the voltage outer loop crossover frequency as the desired bandwidth of the current loop, and under the system's rated DC bus voltage and filter inductor parameters, the bandwidth is determined using the formula... Calculate the initial proportional gain value, where, This is the value of the filter inductance. To determine the desired current loop bandwidth, extreme conditions such as sudden load changes and short-circuit faults are applied in the simulation platform, and the bandwidth is gradually fine-tuned. With the current response rise time not exceeding one switching cycle and the current overshoot not exceeding 10% of the given value as constraints, the proportional gain value that satisfies the constraints and has the largest margin is selected as the final setting value, and the current inner loop output is used as the modulation wave voltage signal after being limited by the limiting circuit.
[0142] The modulated voltage signal output from the inner current loop is compared with a high-frequency triangular carrier wave through a comparator to generate pulse width modulation signals for each phase power switching device, thereby driving the switching of each switching device in the power converter.
[0143] Based on the modulation wave signals of each distributed power source, the power converters of each distributed power source are driven to perform power output, completing the inertia support stability control of the off-grid microgrid, including:
[0144] In each control cycle, the modulation wave signal of each distributed power source is input to the drive circuit of the corresponding power converter. After being amplified by the drive circuit, the on / off state of the switching devices in the power converter is controlled.
[0145] Each distributed power source, based on its independently calculated optimal virtual inertia coefficient and optimal damping coefficient, shares the load power according to a unified common bus frequency.
[0146] After the current control cycle ends, the next control cycle begins with a fixed control cycle. The real-time operating status of the system is re-acquired, the load disturbance prediction coefficient and the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source are updated, and the modulation wave signal is generated again to drive the power converter.
[0147] The process is repeated cyclically, allowing changes in the system's operating state to be fed back to the control input via data acquisition, forming a closed-loop control system that integrates real-time monitoring, disturbance prediction, and inertia damping for coordinated adaptive control.
[0148] The modulated wave signal, amplified by the drive circuit, is applied to the control terminals of each switching device in the power converter, controlling them to perform high-frequency switching actions according to the duty cycle determined by the pulse width modulation signal, thereby achieving dynamic adjustment of the voltage amplitude and frequency at the grid connection point. Although each distributed power source independently calculates its virtual inertia coefficient and damping coefficient, since all distributed power sources use the rated frequency as the reference frequency for the damping term of the rotor motion equation, and the virtual mechanical power achieves frequency synchronization through active power-frequency droop control, the virtual rotors of each distributed power source automatically follow the unified operating frequency determined by the common bus frequency during the dynamic process. This achieves multi-machine inertia coordination and active power distribution according to capacity ratio under low-bandwidth communication conditions. The steps of data acquisition, disturbance prediction, inertia optimization, local control, and power output are executed iteratively in a fixed control cycle, forming a closed-loop control link of real-time monitoring, disturbance prediction, and inertia-damping collaborative adaptive control. This enables the system to continuously track load changes and dynamically adjust the inertia and damping configuration, achieving continuous optimization control for stable inertia support in the off-grid microgrid. The independent decoupled adjustment of the virtual inertia coefficient and the damping coefficient enables the system to suppress the rate of frequency change by increasing the inertia under large disturbances, while increasing the damping to accelerate frequency recovery and suppress oscillations; under steady-state small fluctuations, it automatically returns to a smaller value to avoid over-damping and slow response, thus achieving excellent dynamic performance across the entire operating range.
[0149] Furthermore, based on the same inventive concept as the aforementioned inertia-supported stability control method in off-grid microgrid mode, this solution proposes an inertia-supported stability control system in off-grid microgrid mode, comprising:
[0150] The data acquisition module is used to collect the common bus frequency, the voltage and current of each distributed power source grid connection point, and the DC side energy storage charge status of each distributed power source under off-grid operation conditions, forming an operation status dataset.
[0151] The prediction model module is used to extract the dynamic response characteristics of the common bus frequency during load disturbance based on the operating status dataset, construct a load disturbance prediction model, and output the load disturbance prediction coefficient at the current moment.
[0152] An adaptive adjustment model module is used to construct an adaptive adjustment model of the virtual inertia of each distributed power source based on the load disturbance prediction coefficient, and output the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source under the current operating conditions.
[0153] The modulation wave signal module is used to generate modulation wave signals for each distributed power source based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, combined with the grid connection point voltage and current of each distributed power source, through voltage and current dual closed-loop control.
[0154] The control module is used to drive the power converter of each distributed power source to perform power output according to the modulation wave signal of each distributed power source, so as to complete the inertia support stability control of the off-grid microgrid.
[0155] In summary, the advantages of this invention are as follows: by decoupling and independently adjusting the virtual inertia coefficient and damping coefficient, and combining load disturbance prediction and energy storage state constraints, the off-grid microgrid achieves coordinated optimization of frequency change rate suppression and rapid frequency recovery under all operating conditions, significantly improving the system's adaptive support capability for random load disturbances.
[0156] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the claimed invention. The scope of protection claimed by the appended claims and their equivalents is defined.
Claims
1. A method for inertia-supported stability control in off-grid mode of a microgrid, characterized in that, include: Collect the common bus frequency, voltage and current at each distributed power source's grid connection point, and DC-side energy storage charge status of each distributed power source under off-grid operation conditions to form an operation status dataset; Based on the operating status dataset, the dynamic response characteristics of the common bus frequency during load disturbance are extracted, a load disturbance prediction model is constructed, and the load disturbance prediction coefficient at the current moment is output. Based on the load disturbance prediction coefficient, a virtual inertia adaptive adjustment model for each distributed power source is constructed, and the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source under the current operating conditions are output. Based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, and combined with the grid connection point voltage and current of each distributed power source, the modulation wave signal of each distributed power source is generated through voltage and current dual closed-loop control. Based on the modulation wave signals of each distributed power source, the power converters of each distributed power source are driven to perform power output, thereby completing the inertia support stability control of the off-grid microgrid.
2. The inertia-supported stability control method for off-grid microgrids according to claim 1, characterized in that, The data collected during off-grid operation, including the common bus frequency, voltage and current at each distributed power source's grid connection point, and the DC-side energy storage state of each distributed power source, forms an operational status dataset comprising: Voltage transformers and current transformers are deployed at the grid connection points of each distributed power source to collect the three-phase voltage and three-phase current signals at each grid connection point. The local frequency is obtained by phase-locked loop at each grid connection point, and the average value is obtained by low-bandwidth communication to obtain the common bus frequency. Voltage and current sensors are deployed on the DC side of each distributed power source to collect DC side voltage and current, and the energy storage state of charge of each distributed power source is calculated based on the ampere-hour integration method. Using the GPS second pulse as the synchronization time mark, the data collected by each sensor is timestamped and resampled at a unified sampling frequency to form a time-aligned running status dataset. The operational status dataset includes at least the common bus frequency, three-phase voltage, three-phase current, active power, reactive power, and DC-side energy storage state of charge at each distributed power source grid connection point.
3. The inertia-supported stability control method for off-grid microgrids according to claim 2, characterized in that, Based on the operating status dataset, the dynamic response characteristics of the common bus frequency during load disturbance are extracted to construct a load disturbance prediction model. The output load disturbance prediction coefficients at the current moment include: Extract the time series of the common bus frequency from the running status dataset, set a sliding window, and truncate the time series of the common bus frequency to obtain the frequency change sequence of several consecutive sampling points at the current time; The frequency change sequence is differentially processed to calculate the frequency change rate between adjacent sampling points, thus forming a frequency change rate sequence. Based on the frequency change rate sequence, the weighted average frequency change rate at the current moment is calculated using the weighted moving average method, which serves as an instantaneous disturbance characteristic quantity characterizing the instantaneous impact intensity of the load. Using the original sampled common bus frequency change rate, common bus frequency deviation, local energy storage charge state and local current active power as input features, the input feature quantities of the current time and the previous few sampling points are arranged into a sequence in time order to construct a load disturbance prediction model based on long short-term memory network. The Long Short-Term Memory network consists of an input layer, two LSTM hidden layers, and an output layer. The model parameters are obtained by training with historical running data. The historical operating data refers to the operating data of off-grid microgrids collected or simulated under various load disturbance scenarios. After the model training is completed, it is deployed offline, and during online operation, the parameters are fine-tuned or retrained periodically according to the prediction error. The input feature sequence at the current moment is input into the trained long short-term memory network load disturbance prediction model, and the predicted value of the common bus frequency change rate at the next moment is obtained by forward calculation. The load disturbance trend factor is calculated based on the difference between the absolute value of the predicted rate of change of the common bus frequency and the measured absolute value of the rate of change of the common bus frequency at the current moment. The load disturbance trend factor is fused with the weighted average frequency change rate at the current moment to calculate the load disturbance prediction coefficient.
4. The inertia-supported stability control method for off-grid microgrids according to claim 3, characterized in that, The construction of the virtual inertia adaptive adjustment model for each distributed power source, and the output of the optimal virtual inertia coefficient and optimal damping coefficient for each distributed power source under the current operating conditions, include: The load disturbance prediction coefficient is used as the feedforward input signal to calculate the inertia compensation reference value; Calculate the state of charge normalization coefficient based on the energy storage state of each distributed power source; Calculate the frequency deviation ratio based on the deviation between the common bus frequency and the rated frequency; The product of the inertia compensation reference value and the state of charge normalization coefficient is used as the first inertia adjustment component. The product of the frequency deviation proportional coefficient and the proportional coefficient is multiplied by the state of charge normalization coefficient to obtain the second inertia adjustment component. The virtual inertia coefficient is obtained by superimposing the first inertia adjustment component and the second inertia adjustment component. Based on the current frequency deviation proportional coefficient and frequency change rate, combined with the state of charge normalization coefficient, the damping compensation benchmark value is calculated, and the optimal damping coefficient is obtained after amplitude limiting.
5. The inertia-supported stability control method for off-grid microgrids according to claim 4, characterized in that, The generation of modulation wave signals for each distributed power source based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, combined with the grid connection point voltage and current of each distributed power source, through voltage and current dual closed-loop control includes: Based on the three-phase voltage and three-phase current at the grid connection point of each distributed power source, the instantaneous output active power and instantaneous output reactive power of each distributed power source are calculated based on the instantaneous power theory. Based on the optimal virtual inertia coefficient and damping coefficient, and combined with the common bus frequency, rated frequency and instantaneous output active power, the virtual synchronous generator rotor motion equations of each distributed power source are constructed. Based on the deviation between instantaneous output reactive power and rated reactive power, and combined with the rated voltage amplitude, virtual excitation regulation equations for each distributed power source are constructed. The phase angle and amplitude of the virtual internal electromotive force of each distributed power source are obtained by solving the virtual synchronous generator rotor motion equation and the virtual excitation regulation equation in a coupled manner. A virtual internal electromotive force reference signal is generated based on the phase angle and amplitude of the virtual internal electromotive force. The virtual internal electromotive force reference signal is used as the given value of the voltage outer loop. The voltage and current dual closed-loop control is used to generate a modulated wave signal. The voltage outer loop adopts a quasi-proportional resonant controller, and the current inner loop adopts a proportional controller.
6. The inertia-supported stability control method for a microgrid in off-grid mode according to claim 5, characterized in that, The step of driving the power converters of each distributed power source to perform power output based on the modulation wave signals of each distributed power source, thereby completing the inertia support stability control of the off-grid microgrid, includes: In each control cycle, the modulation wave signal of each distributed power source is input to the drive circuit of the corresponding power converter. After being amplified by the drive circuit, the on / off state of the switching devices in the power converter is controlled. Each distributed power source, based on its independently calculated optimal virtual inertia coefficient and optimal damping coefficient, shares the load power according to a unified common bus frequency. After the current control cycle ends, the next control cycle begins with a fixed control cycle. The real-time operating status of the system is re-acquired, the load disturbance prediction coefficient and the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source are updated, and the modulation wave signal is generated again to drive the power converter. The process is repeated cyclically, allowing changes in the system's operating state to be fed back to the control input via data acquisition, forming a closed-loop control system that integrates real-time monitoring, disturbance prediction, and inertia damping for coordinated adaptive control.
7. An inertia-supported stability control system for off-grid microgrids, characterized in that, A method for implementing inertia-supported stability control in off-grid mode of microgrids as described in any one of claims 1-6, comprising: The data acquisition module is used to collect the common bus frequency, the voltage and current of each distributed power source grid connection point, and the DC side energy storage charge status of each distributed power source under off-grid operation conditions, forming an operation status dataset. The prediction model module is used to extract the dynamic response characteristics of the common bus frequency during load disturbance based on the operating status dataset, construct a load disturbance prediction model, and output the load disturbance prediction coefficient at the current moment. An adaptive adjustment model module is used to construct an adaptive adjustment model of the virtual inertia of each distributed power source based on the load disturbance prediction coefficient, and output the optimal virtual inertia coefficient and optimal damping coefficient of each distributed power source under the current operating conditions. The modulation wave signal module is used to generate modulation wave signals for each distributed power source based on the optimal virtual inertia coefficient and damping coefficient of each distributed power source, combined with the grid connection point voltage and current of each distributed power source, through voltage and current dual closed-loop control. The control module is used to drive the power converter of each distributed power source to perform power output according to the modulation wave signal of each distributed power source, so as to complete the inertia support stability control of the off-grid microgrid.
