A voltage stabilization method, system, device and medium for a network-forming energy storage system

By analyzing electrical quantity data and adaptive virtual impedance reshaping of the grid-type energy storage system, the problem of offline tuning of virtual impedance parameters was solved, enabling dynamic adjustment of grid strength and voltage stability control, thereby improving the system's reliability and anti-disturbance performance.

CN123184048APending Publication Date: 2026-11-27FOSHAN POWER SUPPLY BUREAU GUANGDONG POWER GRID
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611659110.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-26
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In weak grid environments, the virtual impedance parameters of grid-based energy storage systems are set offline under typical operating conditions, which can lead to over-compensation or under-compensation of impedance, reducing the reliability of system operation.

Method used

By acquiring electrical quantity data, grid-connected transient parameter estimation and grid impedance identification are performed, virtual impedance is dynamically reshaped, and combined with obstacle Lyapunov constraint control, energy storage converter switching drive signals are generated to achieve adaptive voltage stability control.

Benefits of technology

It improves the system's damping under weak grid conditions, suppresses grid-connected oscillations and active and reactive power coupling, ensures that voltage deviation is within the safe range, and enhances the system's transient voltage support capability and disturbance rejection performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184048A_ABST
    Figure CN123184048A_ABST
Patent Text Reader

Abstract

The application discloses a kind of voltage stabilization method, system, equipment and medium of network type energy storage system, it is related to network energy storage control technical field, according to the electrical quantity data of network type energy storage system Determine corresponding current component, grid-connected point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance and target grid reactance, according to grid-connected point voltage amplitude and target grid reactance Determine corresponding virtual resistance, target equivalent reactance, virtual reactance and virtual inductance according to grid-connected point voltage amplitude, target equivalent reactance, instantaneous active power, instantaneous reactive power, virtual resistance, virtual reactance, virtual inductance and current component Voltage stabilization control is carried out, and energy storage converter switch driving signal is obtained.The existing network type energy storage adopts linear reactive voltage droop control strategy, when grid impedance changes, the problem that impedance overcompensation or undercompensation is prone to occur is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of grid-connected energy storage control technology, and in particular to a voltage stabilization method, system, device and medium for a grid-connected energy storage system. Background Technology

[0002] In the process of building new power systems, wind power, photovoltaics, and other new energy sources are being connected to the grid on a large scale, the characteristics of power electronics are becoming increasingly prominent, the proportion of traditional synchronous generators is gradually decreasing, the overall rotational inertia of the system is decreasing, and the pressure on voltage and frequency stability control is significantly increasing. A large number of new energy sources are concentrated at the end of the grid and in remote areas. Affected by long-distance transmission lines, these areas generally exhibit weak grid operation conditions with small short-circuit capacity and high grid impedance. Voltage stability has become a key bottleneck restricting the reliable absorption of new energy. Traditional grid-connected energy storage exhibits current source characteristics externally, passively tracking grid voltage and frequency signals through phase-locked loops (PLLs). It cannot autonomously establish a voltage and frequency reference, and in weak grid environments, it is prone to PLL lockout, oscillation instability, and other phenomena, making it difficult to provide effective active voltage support capabilities. Grid-based energy storage, with virtual synchronous machine technology at its core, embeds the synchronous generator rotor motion equations into the converter control system, effectively functioning as a voltage source externally. It can autonomously construct voltage and frequency references without relying on external grid signals and can also achieve black start under fault conditions. It is an important technical means to improve the system stability level in weak grid areas and has broad application prospects in scenarios with a high proportion of new energy grid connection.

[0003] While grid-based energy storage possesses the capability for active voltage and frequency establishment, in actual operation scenarios with weak power grids, the strong coupling relationship between active and reactive power poses a significant challenge to voltage stability control due to the time-varying characteristics of grid impedance. Currently, grid-based energy storage systems generally employ a fixed-parameter virtual impedance combined with a linear reactive-voltage droop control strategy. The virtual impedance parameters are tuned offline under typical operating conditions. When grid impedance changes, over-compensation or under-compensation issues can easily occur, reducing the reliability of the grid-based energy storage system. Summary of the Invention

[0004] This invention provides a voltage stabilization method, system, device, and medium for grid-type energy storage systems. It solves the technical problem that current grid-type energy storage systems generally adopt a fixed-parameter virtual impedance combined with a linear reactive power-voltage droop control strategy. The virtual impedance parameters are tuned offline under typical operating conditions. When the grid impedance changes, the system is prone to over-compensation or under-compensation, which reduces the reliability of the grid-type energy storage system.

[0005] The first aspect of this invention provides a voltage stabilization method for a grid-type energy storage system, comprising:

[0006] Obtain electrical quantity data of the grid-connected energy storage system, and perform grid-connected transient parameter estimation and grid impedance identification based on the electrical quantity data to obtain the corresponding current component, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance.

[0007] Based on the voltage amplitude at the grid connection point and the reactance of the target grid, the equivalent resistance of the target grid is reshaped using virtual impedance to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance.

[0008] Grid control is performed based on the grid connection point voltage amplitude, the target equivalent reactance, the instantaneous active power, and the instantaneous reactive power to obtain the corresponding first virtual internal potential component and second virtual internal potential component;

[0009] Voltage stabilization control is performed based on the first virtual internal potential component, the second virtual internal potential component, the virtual resistance, the virtual reactance, the virtual inductance, and the current component to obtain the corresponding energy storage converter switching drive signal.

[0010] Optionally, the electrical quantity data includes the three-phase voltage and three-phase current at the grid connection point. The step of estimating the transient parameters and identifying the grid impedance based on the electrical quantity data to obtain the corresponding current components, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance includes:

[0011] The Parker transformation is performed on the three-phase voltage at the grid connection point and the three-phase current at the grid connection point to obtain the corresponding voltage and current components.

[0012] Based on the preset instantaneous power function, the corresponding instantaneous active power and instantaneous reactive power are determined according to the voltage component and the current component;

[0013] The voltage component is input into a preset grid connection point voltage amplitude function to obtain the corresponding grid connection point voltage amplitude.

[0014] The voltage component and the current component are used to construct the corresponding weak grid equivalent branch equation, and the weak grid equivalent branch equation is discretized by backward Euler to obtain the corresponding discrete model.

[0015] The discrete model and the pre-acquired target discrete model are subjected to equation subtraction to obtain the corresponding difference relationship model, and the corresponding regression model is constructed using the difference relationship model.

[0016] The regression model is solved using a multi-output recursive least squares algorithm to obtain the corresponding estimated values ​​of the grid equivalent resistance and grid equivalent inductance.

[0017] The estimated equivalent resistance and the estimated equivalent inductance of the power grid are subjected to a first-order low-pass filter to obtain the corresponding target power grid equivalent resistance and target power grid equivalent inductance.

[0018] The equivalent inductance of the target power grid is multiplied by a preset rated angular frequency to obtain the corresponding target power grid reactance.

[0019] Optionally, the step of virtually reshaping the equivalent resistance of the target grid based on the grid connection point voltage amplitude and the target grid reactance to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance includes:

[0020] Based on the voltage amplitude at the grid connection point, the equivalent resistance of the target grid, and the reactance of the target grid, an adaptive assessment of grid strength is performed to obtain the corresponding adaptive short-circuit ratio.

[0021] The corresponding virtual resistance is obtained by multiplying the equivalent resistance of the target power grid with a preset virtual resistance coefficient.

[0022] The equivalent resistance of the target power grid and the virtual resistance are summed to obtain the corresponding equivalent resistance;

[0023] The equivalent resistance and the adaptive short-circuit ratio are multiplied to obtain the corresponding target equivalent reactance.

[0024] The difference between the target equivalent reactance and the target grid reactance is processed to obtain the corresponding virtual reactance;

[0025] The virtual reactance is compared with the preset rated angular frequency to obtain the corresponding initial virtual inductance.

[0026] The initial virtual inductance is subjected to a lower limit limiting process to obtain the corresponding virtual inductance.

[0027] Optionally, the step of performing adaptive grid strength assessment based on the grid connection point voltage amplitude, the target grid equivalent resistance, and the target grid reactance to obtain the corresponding adaptive short-circuit ratio includes:

[0028] The online short-circuit ratio is calculated based on the voltage amplitude at the grid connection point, the equivalent resistance of the target grid, and the reactance of the target grid.

[0029] The preset reference short-circuit ratio is compared with the online short-circuit ratio to obtain the corresponding first ratio.

[0030] The reference short-circuit ratio is compared with the preset rated short-circuit ratio to obtain the corresponding second ratio.

[0031] The first ratio and the second ratio are processed to obtain the corresponding first difference;

[0032] The first difference is multiplied by a preset adaptive gain to obtain the corresponding first multiplier. The first multiplier is then summed with a preset rated reactance-resistance ratio to obtain the corresponding adaptive short-circuit ratio.

[0033] Optionally, the step of performing grid-connection control based on the grid connection point voltage amplitude, the target equivalent reactance, the instantaneous active power, and the instantaneous reactive power to obtain the corresponding first virtual internal potential component and second virtual internal potential component includes:

[0034] Based on the grid connection point voltage amplitude and the target equivalent reactance, a reactive power reference is estimated to obtain the corresponding target reactive power reference.

[0035] The target reactive power reference and the instantaneous reactive power are input into a preset grid-type reactive voltage PI control loop to obtain the corresponding virtual internal potential amplitude.

[0036] The pre-acquired reference virtual angular frequency, pre-acquired active power reference, and instantaneous active power are input into the preset active frequency loop to obtain the corresponding virtual internal potential phase.

[0037] The first virtual internal potential component is obtained by multiplying the amplitude of the virtual internal potential and the cosine of the phase of the virtual internal potential.

[0038] The virtual internal potential amplitude and the sine value of the virtual internal potential phase are multiplied to obtain the corresponding second virtual internal potential component.

[0039] Optionally, the step of performing reactive power reference estimation based on the grid connection point voltage amplitude and the target equivalent reactance to obtain the corresponding target reactive power reference includes:

[0040] The voltage amplitude at the grid connection point and the preset rated voltage reference value are processed to obtain the corresponding voltage deviation;

[0041] Construct the corresponding barrier Lyapunov function based on the voltage deviation and the preset voltage deviation constraint;

[0042] The target equivalent reactance is subjected to a lower limit limiting process to obtain the corresponding limited equivalent reactance;

[0043] The corresponding reactive power reference is determined based on the limiting equivalent reactance and the barrier Lyapunov function.

[0044] The reactive power reference is subjected to amplitude limiting processing to obtain the corresponding target reactive power reference.

[0045] Optionally, the step of performing voltage stabilization control based on the first virtual internal potential component, the second virtual internal potential component, the virtual resistance, the virtual reactance, the virtual inductance, and the current component to obtain the corresponding energy storage converter switching drive signal includes:

[0046] The voltage drop of the first virtual internal potential component and the second virtual internal potential component is corrected based on the virtual resistance, the virtual reactance, the virtual inductance, and the current component to obtain the corresponding voltage loop reference voltage component.

[0047] The reference voltage component of the voltage loop is input into a preset voltage and current dual closed loop to obtain the corresponding energy storage converter switching drive signal.

[0048] A voltage stabilization system for a grid-type energy storage system is provided in a second aspect of the present invention, comprising:

[0049] The data acquisition module is used to acquire electrical quantity data of the grid-type energy storage system, and to perform grid-connected transient parameter estimation and grid impedance identification based on the electrical quantity data, so as to obtain the corresponding current component, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance and target grid reactance.

[0050] The reshaping module is used to perform virtual impedance reshaping on the equivalent resistance of the target grid based on the voltage amplitude at the grid connection point and the reactance of the target grid, so as to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance and virtual inductance;

[0051] The grid construction control module is used to perform grid construction control based on the grid connection point voltage amplitude, the target equivalent reactance, the instantaneous active power and instantaneous reactive power, and obtain the corresponding first virtual internal potential component and second virtual internal potential component.

[0052] The voltage control module is used to perform voltage stabilization control based on the first virtual internal potential component, the second virtual internal potential component, the virtual resistance, the virtual reactance, the virtual inductance, and the current component, and to obtain the corresponding energy storage converter switch drive signal.

[0053] A third aspect of the present invention provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the voltage stabilization method for a grid-type energy storage system as described above.

[0054] The fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the voltage stabilization method for a grid-type energy storage system as described above.

[0055] As can be seen from the above technical solutions, the present invention has the following advantages:

[0056] This invention acquires electrical quantity data of a grid-connected energy storage system, performs grid-connected transient parameter estimation and grid impedance identification based on the electrical quantity data, and obtains the corresponding current component, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance. Based on the grid connection point voltage amplitude and target grid reactance, the target grid equivalent resistance is reshaped using virtual impedance, resulting in the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance. Grid-connected control is performed based on the grid connection point voltage amplitude, target equivalent reactance, instantaneous active power, and instantaneous reactive power, yielding the corresponding first and second virtual internal potential components. Voltage stabilization control is performed based on the first and second virtual internal potential components, virtual resistance, virtual reactance, virtual inductance, and current components, resulting in the corresponding energy storage converter switching drive signal. This approach overcomes the technical challenges of existing grid-connected energy storage systems, which commonly employ fixed-parameter virtual impedance combined with linear reactive power-voltage droop control strategies. The virtual impedance parameters are typically tuned offline under typical operating conditions, making over-compensation or under-compensation prone to occur when grid impedance changes, thus reducing the reliability of the grid-connected energy storage system. Compared to traditional grid-connected energy storage system control methods, this approach can collect electrical quantity data of the grid-connected energy storage system in real time, perform online grid-connected transient parameter estimation and grid impedance identification, dynamically acquire grid parameters such as equivalent resistance, equivalent inductance, and grid reactance, and perform adaptive virtual impedance reshaping based on the identified grid parameters. This generates virtual resistance, virtual reactance, and virtual inductance, which can automatically adjust the equivalent impedance characteristics according to grid strength, effectively improving system damping under weak grid conditions and suppressing grid-connected oscillations and active and reactive power coupling problems. Simultaneously, it combines obstacle Lyapunov constraint control to achieve reactive voltage regulation, strictly limiting the grid connection point voltage deviation within a preset safe range and preventing transient voltage exceedances. It also generates virtual internal potentials d and q based on grid control. The voltage drop is corrected by using virtual impedance and then outputting the energy storage converter switching drive signal through a dual closed-loop voltage and current circuit. The entire control scheme takes into account online grid identification, adaptive impedance reshaping and voltage hard constraint protection. It can still ensure the stable and reliable grid-connected operation of the grid-type energy storage system under the scenario of dynamic changes in grid strength, and improve the transient voltage support capability and anti-disturbance performance of the grid-type energy storage under weak grid conditions. Attached Figure Description

[0057] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0058] Figure 1 This is a flowchart illustrating the steps of a voltage stabilization method for a grid-type energy storage system provided in Embodiment 1 of the present invention.

[0059] Figure 2 This is a flowchart illustrating the steps of a voltage stabilization method for a grid-type energy storage system provided in Embodiment 2 of the present invention.

[0060] Figure 3 This is a structural block diagram of a voltage stabilization system for a grid-type energy storage system provided in Embodiment 3 of the present invention;

[0061] Figure 4 This is a structural block diagram of an electronic device provided in Embodiment 4 of the present invention. Detailed Implementation

[0062] This invention provides a voltage stabilization method, system, device, and medium for a grid-type energy storage system. It addresses the technical problem that current grid-type energy storage systems commonly employ a fixed-parameter virtual impedance combined with a linear reactive power-voltage droop control strategy. The virtual impedance parameters are tuned offline under typical operating conditions, which can easily lead to over-compensation or under-compensation when the grid impedance changes, thus reducing the reliability of the grid-type energy storage system.

[0063] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0064] Please see Figure 1 , Figure 1 The flowchart illustrates the steps of a voltage stabilization method for a grid-type energy storage system provided in Embodiment 1 of the present invention.

[0065] This invention provides a voltage stabilization method for a grid-type energy storage system, comprising:

[0066] Step 101: Obtain electrical quantity data of the grid-connected energy storage system, and perform grid-connected transient parameter estimation and grid impedance identification based on the electrical quantity data to obtain the corresponding current components, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance.

[0067] Electrical quantity data refers to the voltage and current sampling data at the grid connection point of the grid-connected energy storage system, including the three-phase voltage and three-phase current at the grid connection point.

[0068] The current component refers to the d-axis current component and q-axis current component obtained in the dq rotating coordinate system after the three-phase current of the grid is transformed by Parker transformation. The positive direction is the energy storage flow to the grid.

[0069] The grid connection point voltage amplitude refers to the square root of the sum of the squares of the d-axis and q-axis components of the grid connection point voltage in the dq coordinate system, and is used to characterize the grid connection point voltage level.

[0070] Instantaneous active power refers to the active power calculated from the d and q components of the grid connection point voltage and the d and q components of the current, based on instantaneous power theory.

[0071] Instantaneous reactive power refers to the reactive power calculated based on instantaneous power theory.

[0072] The target grid equivalent resistance refers to the resistance value obtained after the grid equivalent resistance estimate is filtered by a first-order low-pass filter. It is used to characterize the equivalent resistance of a weak grid and participate in virtual impedance reshaping.

[0073] The target grid equivalent inductance refers to the inductance value obtained after the grid equivalent inductance estimate is filtered by a first-order low-pass filter. It is used to characterize the equivalent inductance of a weak grid and participate in virtual impedance reshaping.

[0074] The target grid reactance refers to the reactance value obtained by multiplying the equivalent inductance of the target grid by the rated angular frequency. It is used to characterize the equivalent inductive impedance of the grid and participates in virtual impedance and voltage control gain compensation.

[0075] In this embodiment of the invention, the three-phase voltage and three-phase current at the grid connection point of the grid-connected energy storage converter are collected. A Parker transformation is performed on the three-phase voltage and current at the grid connection point to convert the AC electrical quantities in the three-phase stationary coordinate system to the dq rotating coordinate system, outputting the voltage and current components in the dq coordinate system. Based on a preset instantaneous power function, the corresponding instantaneous active power and instantaneous reactive power are determined according to the voltage and current components. The voltage components are input into a preset grid connection point voltage amplitude function to obtain the corresponding grid connection point voltage amplitude. The corresponding weak grid equivalent branch equations are constructed using the voltage and current components, and backward Euler discretization is performed on the weak grid equivalent branch equations to obtain the corresponding discrete model. The discrete model and the pre-acquired target discrete model are subtracted to obtain the corresponding difference relationship model, and the corresponding regression model is constructed using the difference relationship model. A multi-output recursive least squares algorithm is used to solve the regression model to obtain the corresponding grid equivalent resistance estimate and grid equivalent inductance estimate. The estimated equivalent resistance and inductance of the power grid are subjected to a first-order low-pass filter to obtain the corresponding target power grid equivalent resistance and inductance. The target power grid equivalent inductance is then multiplied by a preset rated angular frequency to obtain the corresponding target power grid reactance.

[0076] Step 102: Based on the voltage amplitude at the grid connection point and the reactance of the target grid, perform virtual impedance reshaping on the equivalent resistance of the target grid to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance.

[0077] Virtual resistance refers to the resistance parameter virtually generated by the grid control algorithm and connected in series with the equivalent resistance of the actual power grid. It is used to increase system damping and suppress voltage and power oscillations under weak power grid conditions. It is obtained by multiplying the equivalent resistance of the target power grid by the virtual resistance coefficient.

[0078] The target equivalent reactance refers to the total series reactance of the grid-virtual impedance expected to be obtained after impedance reshaping.

[0079] Virtual reactance refers to the virtual inductive reactance value constructed by the algorithm, which is equal to the target equivalent reactance minus the identified target grid reactance. It is used to compensate for grid impedance and change the equivalent inductance of the system.

[0080] Virtual inductance refers to the final value of the initial virtual inductance after being limited by a lower limit (the lower limit is 0). It is used as the virtual inductance parameter actually applied in the control loop to avoid control instability caused by negative inductance.

[0081] In this embodiment of the invention, the grid strength is assessed online based on the grid connection point voltage amplitude, the target grid equivalent resistance, and the target grid reactance to obtain the corresponding adaptive short-circuit ratio. The target grid equivalent resistance is multiplied by a preset virtual resistance coefficient to obtain the corresponding virtual resistance. The target grid equivalent resistance and the virtual resistance are summed to obtain the corresponding equivalent resistance. The equivalent resistance is multiplied by the adaptive short-circuit ratio to obtain the corresponding target equivalent reactance. The difference between the target equivalent reactance and the target grid reactance is calculated to obtain the corresponding virtual reactance. The virtual reactance is ratioed to a preset rated angular frequency to obtain the corresponding initial virtual inductance. The amplitude lower limit is set to zero to perform lower limit amplitude limiting on the initial virtual inductance, resulting in the corresponding virtual inductance.

[0082] It should be noted that the specific expression for the adaptive short-circuit ratio is:

[0083] ;

[0084] in, For adaptive short-circuit ratio, Rated reactance, For adaptive gain, This is the rated short-circuit ratio.

[0085] Step 103: Perform grid control based on the grid connection point voltage amplitude, target equivalent reactance, instantaneous active power, and instantaneous reactive power to obtain the corresponding first virtual internal potential component and second virtual internal potential component.

[0086] The first virtual internal potential component refers to the d-axis component of the virtual internal potential in the dq coordinate system, which is obtained by multiplying the virtual internal potential amplitude by the virtual internal potential phase cosine.

[0087] The second virtual internal potential component refers to the q-axis component of the virtual internal potential in the dq coordinate system, which is obtained by multiplying the virtual internal potential amplitude by the virtual internal potential phase sine.

[0088] In this embodiment of the invention, the voltage deviation is obtained by subtracting the voltage amplitude at the grid connection point from the rated voltage reference. A barrier Lyapunov function is constructed based on the voltage deviation and a preset voltage constraint boundary. Simultaneously, the target equivalent reactance is minimized to obtain a limited equivalent reactance to prevent excessive gain. The reactive power reference is calculated by combining the limited equivalent reactance and the barrier Lyapunov function. The reactive power reference is then amplitude-limited to obtain the target reactive power reference. The target reactive power reference and the instantaneous reactive power are input into a preset grid-type reactive voltage PI control loop to obtain the corresponding virtual internal potential amplitude. The pre-acquired reference virtual angular frequency, the pre-acquired active power reference, and the instantaneous active power are input into a preset active frequency loop to obtain the corresponding virtual internal potential phase. The virtual internal potential amplitude is multiplied by the cosine and sine values ​​of the virtual internal potential phase, respectively, to obtain the first virtual internal potential component and the second virtual internal potential component.

[0089] It should be noted that the expression for the active frequency loop is:

[0090] ;

[0091] The expressions for the first virtual internal potential component and the second virtual internal potential component are as follows:

[0092] ;

[0093] in, For virtual inertia, The first derivative of the virtual angular frequency. For active power reference, Instantaneous active power The damping coefficient is... The system's rated angular frequency, The first derivative of the phase of the virtual internal potential. The virtual internal potential amplitude, For virtual internal potential phase, This is the first virtual internal potential component. This is the second virtual internal potential component.

[0094] Step 104: Perform voltage stabilization control based on the first virtual internal potential component, the second virtual internal potential component, the virtual resistance, the virtual reactance, the virtual inductance, and the current component to obtain the corresponding energy storage converter switching drive signal.

[0095] The switching drive signal of the energy storage converter refers to the pulse level signal output by pulse width modulation, which is directly sent to the driving terminal of the power semiconductor device to control the power transistor to turn on and off, thereby completing the AC-DC power conversion.

[0096] In this embodiment of the invention, virtual resistance, virtual reactance, virtual inductance, current component, first virtual internal potential component, and second virtual internal potential component are input into a preset voltage drop correction function to obtain the corresponding voltage loop reference voltage component. The voltage loop reference voltage component is input into a voltage-current dual closed-loop controller. The voltage loop adjusts the output current inner loop reference command, and the current loop completes the tracking adjustment to generate a modulation wave signal. The modulation wave signal is converted into a switching drive signal for the energy storage converter through pulse width modulation, thereby controlling the on / off switching of power devices to achieve grid-connected operation of the energy storage system.

[0097] It should be noted that the voltage drop correction function is as follows:

[0098] ;

[0099] in, The d-axis component of the voltage loop reference voltage. This is the reference voltage component for the q-axis voltage loop. For virtual resistance, For virtual inductance, For virtual reactance, For the q-axis current component, This represents the d-axis current component.

[0100] In this embodiment of the invention, electrical quantity data of the grid-connected energy storage system is acquired, and grid transient parameters and grid impedance are estimated and identified based on the electrical quantity data to obtain the corresponding current component, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance. Virtual impedance reshaping is performed on the target grid equivalent resistance based on the grid connection point voltage amplitude and target grid reactance to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance. Grid-connected control is performed based on the grid connection point voltage amplitude, target equivalent reactance, instantaneous active power, and instantaneous reactive power to obtain the corresponding first virtual internal potential component and second virtual internal potential component. Voltage stabilization control is performed based on the first virtual internal potential component, second virtual internal potential component, virtual resistance, virtual reactance, virtual inductance, and current component to obtain the corresponding energy storage converter switching drive signal. This approach overcomes the technical challenges of existing grid-connected energy storage systems, which commonly employ fixed-parameter virtual impedance combined with linear reactive power-voltage droop control strategies. The virtual impedance parameters are typically tuned offline under typical operating conditions, making over-compensation or under-compensation prone to occur when grid impedance changes, thus reducing the reliability of the grid-connected energy storage system. Compared to traditional grid-connected energy storage system control methods, this approach can collect electrical quantity data of the grid-connected energy storage system in real time, perform online grid-connected transient parameter estimation and grid impedance identification, dynamically acquire grid parameters such as equivalent resistance, equivalent inductance, and grid reactance, and perform adaptive virtual impedance reshaping based on the identified grid parameters. This generates virtual resistance, virtual reactance, and virtual inductance, which can automatically adjust the equivalent impedance characteristics according to grid strength, effectively improving system damping under weak grid conditions and suppressing grid-connected oscillations and active and reactive power coupling problems. Simultaneously, it combines obstacle Lyapunov constraint control to achieve reactive voltage regulation, strictly limiting the grid connection point voltage deviation within a preset safe range and preventing transient voltage exceedances. It also generates virtual internal potentials d and q based on grid control. The voltage drop is corrected by using virtual impedance and then outputting the energy storage converter switching drive signal through a dual closed-loop voltage and current circuit. The entire control scheme takes into account online grid identification, adaptive impedance reshaping and voltage hard constraint protection. It can still ensure the stable and reliable grid-connected operation of the grid-type energy storage system under the scenario of dynamic changes in grid strength, and improve the transient voltage support capability and anti-disturbance performance of the grid-type energy storage under weak grid conditions.

[0101] Please see Figure 2 , Figure 2 This is a flowchart illustrating the steps of a voltage stabilization method for a grid-type energy storage system provided in Embodiment 2 of the present invention.

[0102] This invention provides a voltage stabilization method for a grid-type energy storage system, comprising:

[0103] Step 201: Obtain electrical quantity data of the grid-connected energy storage system, and perform grid-connected transient parameter estimation and grid impedance identification based on the electrical quantity data to obtain the corresponding current components, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance.

[0104] Furthermore, the electrical quantity data includes the three-phase voltage and three-phase current at the grid connection point, and step 201 includes the following sub-steps:

[0105] S11. Perform Parker transformation on the three-phase voltage and three-phase current at the grid connection point to obtain the corresponding voltage and current components.

[0106] The Parker transformation is a coordinate transformation method from a three-phase stationary coordinate system to a synchronous rotating coordinate system dq. It uses the synchronous rotation angle to convert the time-varying three-phase AC signal into an approximate DC signal, eliminating the time-varying coupling of AC quantities and facilitating subsequent control algorithm calculations.

[0107] Voltage components refer to the d-axis voltage components and q-axis voltage components in the dq coordinate system obtained after the Park transformation.

[0108] In this embodiment of the invention, the three-phase voltage and three-phase current at the grid connection point in the three-phase stationary abc coordinate system are input into the Parker transformation module, and the coordinate decoupling operation is completed by substituting them into the rotating coordinate transformation matrix constructed by the virtual internal potential phase. The time-varying three-phase AC quantities are transformed into the dq synchronous rotating coordinate system, and the d-axis voltage component and q-axis voltage component are output to form the voltage component. At the same time, the d-axis current component and q-axis current component are output to form the current component.

[0109] S12. Based on the preset instantaneous power function, determine the corresponding instantaneous active power and instantaneous reactive power according to the voltage component and current component.

[0110] In this embodiment of the invention, the voltage component and the current component are input into a preset instantaneous power function to obtain the corresponding instantaneous active power and instantaneous reactive power.

[0111] It should be noted that the instantaneous power function is specifically as follows:

[0112] ;

[0113] in, Instantaneous active power Instantaneous reactive power The voltage component along the d-axis. The voltage component is the q-axis. The current component is the d-axis component. This represents the d-axis current component.

[0114] S13. Input the voltage component into the preset grid connection point voltage amplitude function to obtain the corresponding grid connection point voltage amplitude.

[0115] In this embodiment of the invention, a preset grid connection point voltage amplitude function is called to square the d-axis voltage component and the q-axis voltage component respectively, and then the square root operation is performed to obtain the corresponding grid connection point voltage amplitude.

[0116] It should be noted that the voltage amplitude function at the grid connection point is specifically as follows:

[0117] ;

[0118] in, This represents the voltage amplitude at the grid connection point.

[0119] S14. Construct the corresponding equivalent branch equations of the weak power grid using voltage and current components, and perform backward Euler discretization on the equivalent branch equations of the weak power grid to obtain the corresponding discrete model.

[0120] Backward Euler discretization refers to a numerical discretization algorithm that uses the difference between the current time and the previous sampling time to approximate the differential, transforming continuous differential equations into discrete difference equations, which are suitable for sampling and iterative calculations in digital control chips.

[0121] In this embodiment of the invention, based on the voltage and current components, and combined with the equivalent resistance and equivalent inductance parameters of the power grid, the equivalent branch equation of the weak power grid in the dq coordinate system is constructed to characterize the constraint relationship between the voltage of the remote power grid, the voltage drop of the power grid impedance and the voltage of the grid connection point. Then, the backward Euler discretization method is used to replace the differential terms in the equivalent branch equation of the weak power grid with backward difference form, and the system of differential equations in the continuous time domain is transformed into a system of discrete time domain equations that can be executed by the digital controller, thus obtaining the corresponding discrete model.

[0122] It should be noted that the equivalent branch equations for a weak network are as follows:

[0123] ;

[0124] in, The d-component of the voltage of the remote power grid. For the voltage of the remote power grid Quantity, The equivalent resistance of the power grid. The equivalent inductance of the power grid, The rated angular frequency, This is the rated frequency.

[0125] The discrete model is specifically as follows:

[0126] ;

[0127] in, Let be the d-axis voltage component at time k. Let q be the voltage component at time k. Let d be the d-component of the remote grid voltage at time k. The voltage of the distant power grid at time k is Quantity, Let q be the current component at time k. Let be the d-axis current component at time k. is the sampling period, and k is the index of the sampling time.

[0128] S15. Subtract the equations of the discrete model and the pre-acquired target discrete model to obtain the corresponding difference relationship model, and use the difference relationship model to construct the corresponding regression model.

[0129] The target discrete model refers to the discrete model corresponding to the previous sampling time k-1.

[0130] In this embodiment of the invention, the discrete model and the pre-acquired target discrete model are subtracted term by term to perform a difference operation. The unknown remote grid voltage term in the equation is eliminated by utilizing the characteristic that the remote grid voltage is approximately constant over a short period, resulting in a difference relationship model that does not contain remote grid parameters. The difference relationship model is then rearranged into a standard linear regression form where the output vector equals the regression matrix multiplied by the vector of parameters to be identified, thus completing the construction of the regression model.

[0131] It should be noted that the difference relationship model is as follows:

[0132] ;

[0133] in, For the q-axis voltage difference at the k-th sampling time, The first-order difference of the q-axis current at the k-th sampling time. For the d-axis voltage difference at the k-th sampling time, For the first-order difference of the d-axis current at the k-th sampling time, The second-order difference of the d-axis current at the k-th sampling time. The second-order difference of the q-axis current at the k-th sampling time. For the first-order difference of the d-axis current at the (k-1)th sampling time, The first-order difference of the q-axis current at the (k-1)th sampling time. The d-axis current component at time k-2 is... The q-axis current component at time k-2 is... For the d-axis voltage differential of the remote power grid, For the q-axis voltage differential of the remote power grid, The d-axis current component at time k-1 is... Let q be the current component at time k-1.

[0134] The regression model is as follows:

[0135] ;

[0136] in, The vector of grid impedance parameters to be identified. The equivalent resistance of the power grid. The equivalent inductance of the power grid, The regression matrix is ​​composed of current differences. It is the measurable voltage differential output vector.

[0137] S16. The regression model is solved using a multi-output recursive least squares algorithm to obtain the corresponding power grid equivalent resistance estimate and power grid equivalent inductance estimate.

[0138] The estimated equivalent resistance of the power grid refers to the original estimated result of the equivalent resistance of the power grid obtained by the iterative solution of the multi-output recursive least squares algorithm, which includes a small fluctuation caused by sampling noise.

[0139] The estimated equivalent inductance of the power grid refers to the original estimated result of the equivalent inductance of the power grid obtained by the iterative solution of the multi-output recursive least squares algorithm, which includes a small fluctuation caused by sampling noise.

[0140] The multi-output recursive least squares algorithm refers to an online parameter identification algorithm for multivariate linear regression models. It can iteratively update the parameters to be estimated as the sampled data changes over time, without needing to store all historical sampled data in batches. It can solve multiple parameters to be identified at the same time and is suitable for online real-time identification scenarios of power grid impedance.

[0141] In this embodiment of the invention, the regression model constructed in the previous step is input into the multi-output recursive least squares algorithm, the output vector and regression matrix at the current sampling time are read, the parameter estimates and covariance matrix stored at the previous time are used to iteratively update the parameter vector to be identified, and the equivalent resistance estimate and equivalent inductance estimate of the power grid are output simultaneously.

[0142] It should be noted that the multi-output recursive least squares algorithm is as follows:

[0143] ;

[0144] in, The recursive gain matrix is... Let k be the covariance matrix at time k-1. for, Let k-1 be the power grid impedance parameter vector. Let K be the covariance matrix at time k, with a dimension of 2×2. This is a forgetting factor used to improve the tracking capability of time-varying impedance in weak power grids. It is a 2×2 identity matrix.

[0145] S17. Perform a first-order low-pass filter on the estimated values ​​of the grid equivalent resistance and the grid equivalent inductance to obtain the corresponding target grid equivalent resistance and target grid equivalent inductance.

[0146] In this embodiment of the invention, the historical output values ​​of resistance and inductance after filtering at the previous sampling time are retrieved, and the estimated values ​​of the equivalent resistance and inductance of the power grid are subjected to first-order low-pass filtering in combination with preset filtering coefficients to obtain the corresponding target equivalent resistance and inductance of the power grid.

[0147] It should be noted that the expressions for the equivalent resistance and equivalent inductance of the target power grid are as follows:

[0148] ;

[0149] in, Let k be the equivalent resistance of the target power grid at time k. Let k be the equivalent inductance of the target power grid at time k. These are the filter coefficients. Let K be the equivalent resistance of the target power grid at time k-1. Let K be the equivalent inductance of the target power grid at time k-1. Let k be the estimated equivalent resistance of the power grid at time k. Let k be the estimated equivalent inductance of the power grid at time k.

[0150] S18. Multiply the equivalent inductance of the target power grid by the preset rated angular frequency to obtain the corresponding target power grid reactance.

[0151] Rated angular frequency refers to the angular frequency constant corresponding to the power grid frequency, which is calculated from the system's rated power frequency.

[0152] In this embodiment of the invention, the product between the equivalent inductance of the target power grid and the preset rated angular frequency is calculated to obtain the corresponding reactance of the target power grid.

[0153] It should be noted that the target grid reactance is specifically as follows:

[0154] ;

[0155] in, The target is the grid reactance.

[0156] Step 202: Based on the voltage amplitude at the grid connection point and the reactance of the target grid, perform virtual impedance reshaping on the equivalent resistance of the target grid to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance.

[0157] Further, step 202 includes the following sub-steps:

[0158] S21. Based on the voltage amplitude at the grid connection point, the equivalent resistance of the target grid, and the reactance of the target grid, perform an adaptive assessment of the grid strength to obtain the corresponding adaptive short-circuit ratio.

[0159] Furthermore, S21 includes the following sub-steps:

[0160] S211. Calculate the corresponding online short-circuit ratio based on the voltage amplitude at the grid connection point, the equivalent resistance of the target grid, and the reactance of the target grid.

[0161] Online short-circuit ratio refers to the short-circuit ratio calculated based on the locally identified real-time grid impedance and grid connection point voltage amplitude. It represents the strength of the power grid under the current operating conditions in real time. The smaller the short-circuit ratio, the weaker the power grid.

[0162] In this embodiment of the invention, the equivalent resistance and reactance of the target power grid are squared and added together, and then the square root is taken to obtain the equivalent impedance modulus of the power grid. Then, the square of the voltage amplitude at the grid connection point is calculated, and the square of the voltage amplitude is divided by the equivalent impedance modulus of the power grid to complete the solution of the online short-circuit ratio and obtain the corresponding online short-circuit ratio.

[0163] It should be noted that the expression for the online short-circuit ratio is as follows:

[0164]

[0165] in, For online short-circuit ratio, Let k be the voltage amplitude at the grid connection point.

[0166] S212. The preset reference short-circuit ratio and the online short-circuit ratio are compared to obtain the corresponding first ratio.

[0167] The reference short-circuit ratio refers to the pre-set and stored reference short-circuit ratio parameter, which corresponds to the standard operating conditions of the power grid design.

[0168] In this embodiment of the invention, the ratio between a preset reference short-circuit ratio and the online short-circuit ratio is calculated to obtain the corresponding first ratio.

[0169] S213. Ratio the reference short-circuit ratio with the preset rated short-circuit ratio to obtain the corresponding second ratio.

[0170] The rated short-circuit ratio refers to the preset parameter of the short-circuit ratio under the rated operating conditions of the system design, representing the standard grid strength conditions under which grid-type energy storage is expected to operate.

[0171] In this embodiment of the invention, the ratio between the reference short-circuit ratio and the preset rated short-circuit ratio is calculated to obtain the corresponding second ratio.

[0172] S214. Perform a difference operation on the first ratio and the second ratio to obtain the corresponding first difference value.

[0173] In this embodiment of the invention, the difference between the first ratio and the second ratio is calculated to obtain the corresponding first difference.

[0174] S215. Multiply the first difference with the preset adaptive gain to obtain the corresponding first multiplier, and sum the first multiplier with the preset rated reactance-resistance ratio to obtain the corresponding adaptive short-circuit ratio.

[0175] Adaptive gain refers to a pre-tuned control parameter that is greater than zero, used to adjust the response sensitivity of the reactance-resistivity ratio as the grid strength changes. The greater the gain, the greater the adjustment range of the reactance-resistivity ratio caused by changes in grid strength.

[0176] The rated reactance-resistance ratio refers to the preset reference value of the reactance-resistance ratio under the rated short-circuit ratio operating condition.

[0177] In this embodiment of the invention, the multiplication between the first difference and the preset adaptive gain is calculated to obtain the corresponding first multiplication value, and the sum between the first multiplication value and the preset rated reactance-resistance ratio is calculated to obtain the corresponding adaptive short-circuit ratio.

[0178] S22. Multiply the equivalent resistance of the target power grid by the preset virtual resistance coefficient to obtain the corresponding virtual resistance.

[0179] The virtual resistance coefficient refers to a pre-tuned control coefficient that is greater than or equal to zero. It is used to adjust the output amplitude of the virtual resistance and is configured according to the system damping requirements.

[0180] In this embodiment of the invention, the product between the equivalent resistance of the target power grid and the preset virtual resistance coefficient is calculated to obtain the corresponding virtual resistance.

[0181] It should be noted that the specific expression for the virtual resistance is:

[0182] ;

[0183] in, For virtual resistance, This is the virtual resistance coefficient.

[0184] S23. Add the equivalent resistance and virtual resistance of the target power grid to obtain the corresponding equivalent resistance.

[0185] In this embodiment of the invention, the sum of the equivalent resistance and the virtual resistance of the target power grid is calculated to obtain the corresponding equivalent resistance.

[0186] It should be noted that the expression for the equivalent resistance is as follows:

[0187] ;

[0188] in, This is the equivalent resistance.

[0189] S24. Multiply the equivalent resistance and the adaptive short-circuit ratio to obtain the corresponding target equivalent reactance.

[0190] In this embodiment of the invention, the product between the equivalent resistance and the adaptive short-circuit ratio is calculated to obtain the corresponding target equivalent reactance.

[0191] It should be noted that the specific expression for the target equivalent reactance is:

[0192] ;

[0193] in, The target is the equivalent reactance.

[0194] S25. Perform difference processing on the target equivalent reactance and the target grid reactance to obtain the corresponding virtual reactance.

[0195] In this embodiment of the invention, the difference between the target equivalent reactance and the target grid reactance is calculated to obtain the corresponding virtual reactance.

[0196] It should be noted that the specific expression for the virtual reactance is:

[0197] ;

[0198] in, This is a virtual reactance.

[0199] S26. Ratio the virtual reactance with the preset rated angular frequency to obtain the corresponding initial virtual inductance.

[0200] In this embodiment of the invention, the ratio between the virtual reactance and the preset rated angular frequency is calculated to obtain the corresponding initial virtual inductance.

[0201] It should be noted that the expression for the initial virtual inductance is as follows:

[0202] ;

[0203] in, This is the initial virtual inductance.

[0204] S27. Perform lower limit limiting on the initial virtual inductance to obtain the corresponding virtual inductance.

[0205] In this embodiment of the invention, the initial virtual inductance is compared with the preset lower limit threshold of zero. When the initial virtual inductance is greater than or equal to zero, the value is directly output. If the initial virtual inductance is less than zero, the lower limit threshold of zero is forcibly output to avoid the introduction of negative inductance parameters causing instability and oscillation in the control loop. The virtual inductance is output after amplitude limiting.

[0206] It should be noted that the specific expression for the virtual inductance is:

[0207] ;

[0208] in, This is a virtual inductance.

[0209] Step 203: Perform grid control based on the grid connection point voltage amplitude, target equivalent reactance, instantaneous active power and instantaneous reactive power to obtain the corresponding first virtual internal potential component and second virtual internal potential component.

[0210] Furthermore, step 203 includes the following sub-steps:

[0211] S31. Based on the voltage amplitude at the grid connection point and the target equivalent reactance, perform reactive power reference estimation to obtain the corresponding target reactive power reference.

[0212] Furthermore, S31 includes the following sub-steps:

[0213] S311. The difference between the voltage amplitude at the grid connection point and the preset rated voltage reference value is processed to obtain the corresponding voltage deviation.

[0214] In this embodiment of the invention, the difference between the voltage amplitude at the grid connection point and the preset rated voltage reference value is calculated to obtain the corresponding voltage deviation.

[0215] It should be noted that the specific expression for voltage deviation is:

[0216] ;

[0217] in, This refers to the voltage deviation.

[0218] S312. Construct the corresponding barrier Lyapunov function based on the voltage deviation and the preset voltage deviation constraint.

[0219] In this embodiment of the invention, a pre-set voltage deviation constraint boundary is retrieved, and the current initial value of voltage deviation is verified to be within the constraint boundary. Then, the voltage deviation and voltage deviation constraint boundary are substituted into the logarithmic barrier Lyapunov function expression to complete the function construction.

[0220] It should be noted that the barrier Lyapunov function is specifically:

[0221] ;

[0222] in, The voltage deviation constraint threshold, It is a logarithmic barrier Lyapunov function.

[0223] S313. Perform lower limit limiting processing on the target equivalent reactance to obtain the corresponding limited equivalent reactance.

[0224] Limiting equivalent reactance refers to the final usable reactance parameter obtained after the target equivalent reactance has been subjected to lower limit protection.

[0225] In this embodiment of the invention, a preset lower limit threshold of reactance is retrieved, and the target equivalent reactance is compared with the lower limit threshold. When the target equivalent reactance is greater than or equal to the lower limit threshold, the target equivalent reactance is directly output. When the target equivalent reactance is less than the lower limit threshold, the lower limit threshold is forcibly output to avoid virtual impedance reshaping failure and control loop instability caused by the equivalent reactance value being too small. After the limiting process, the limited equivalent reactance is output.

[0226] It should be noted that the expression for the limiting equivalent reactance is as follows:

[0227] ;

[0228] in, For limiting equivalent reactance, This is the lower threshold.

[0229] S314. Determine the corresponding reactive power reference based on the limiting equivalent reactance and the barrier Lyapunov function.

[0230] In this embodiment of the invention, the limiting equivalent reactance is substituted into the stability constraint condition after the derivative of the barrier Lyapunov function, and the reactive power command that satisfies the system stability and voltage constraint is solved by combining the voltage deviation dynamic equation. Under the premise of ensuring that the derivative of the barrier Lyapunov function is negative definite, the reactive power reference is obtained.

[0231] It should be noted that the specific expression for reactive power reference is as follows:

[0232] ;

[0233] in, For reactive power reference, For proportional gain, For barrier gain, This is the voltage deviation constraint threshold.

[0234] It is worth mentioning that traditional grid-based energy storage often employs linear reactive power-voltage droop:

[0235] ;

[0236] However, the linear droop gain remains limited when the voltage deviation is large, and it cannot guarantee that the voltage will not exceed the limit. Furthermore, the reactive power reference in this application adds a barrier term. .

[0237] when Approaching ± When the denominator approaches zero, the gain theoretically approaches infinity, thus generating a strong reactive power regulation effect, "pulling" the voltage deviation back into the constraint range.

[0238] Assuming the reactive inner loop is fast enough, ,but

[0239] ;

[0240] Using Young's inequality:

[0241] ;

[0242] therefore,

[0243] ;

[0244] in, The system lumped external disturbance term at time t includes various external disturbances such as grid voltage fluctuations and load abrupt changes. The proportional gain of the voltage control loop. The inertial time constant in the voltage amplitude dynamic model. Let D be the lumped external disturbance term of the system, and let D be the upper bound of the lumped disturbance.

[0245] when Approaching the boundary At that time, Therefore, the system state It will not cross the constraint boundary. During disturbances... Under bounded conditions, the voltage deviation eventually becomes bounded.

[0246] S32. Limit the reactive power reference to obtain the corresponding target reactive power reference.

[0247] The target reactive power reference refers to the final reactive power command obtained after the original reactive power reference is constrained by upper and lower limits. It takes into account both voltage constraints and converter capacity constraints and is used for reactive power closed-loop control.

[0248] In this embodiment of the invention, the reactive power reference is input into a preset reactive power limiting function to obtain the corresponding target reactive power reference.

[0249] It should be noted that the reactive power limiting function is as follows:

[0250] ;

[0251] in, For target reactive power reference, This is the upper limit of reactive power capacity for energy storage.

[0252] S33. Input the target reactive power reference and instantaneous reactive power into the preset grid-type reactive voltage PI control loop to obtain the corresponding virtual internal potential amplitude.

[0253] The virtual internal potential amplitude refers to the amplitude of the internal potential of the synchronous generator simulated by the grid control. It is output by the reactive power PI loop and used to generate the amplitude of the converter port reference voltage.

[0254] In this embodiment of the invention, the target reactive power reference and instantaneous reactive power are input into a preset grid-type reactive voltage PI control loop, and the virtual internal potential amplitude is output through proportional-integral calculation to obtain the corresponding virtual internal potential amplitude.

[0255] It should be noted that the specific structure of the grid-type reactive power voltage PI control loop is as follows:

[0256] ;

[0257] in, This represents the amplitude of the no-load internal potential. The first PI parameter of the reactive power loop. This refers to the second PI parameter of the reactive power loop. This represents the amplitude of the virtual internal potential.

[0258] S34. Input the pre-acquired reference virtual angular frequency, the pre-acquired active power reference, and the instantaneous active power into the preset active frequency loop to obtain the corresponding virtual internal potential phase.

[0259] The virtual internal potential phase refers to the phase information obtained by integrating the real-time virtual angular frequency, which, in conjunction with the virtual internal potential amplitude, generates the virtual internal potential required for network control.

[0260] The reference virtual angular frequency refers to the preset reference angular frequency of the network control, which corresponds to the rated power frequency of the system and serves as the basic reference value for frequency adjustment.

[0261] In this embodiment of the invention, the pre-acquired reference virtual angular frequency, the pre-acquired active power reference, and the instantaneous active power are input into a preset active frequency loop, and proportional-integral calculation is performed to obtain a frequency correction amount. The frequency correction amount is superimposed on the reference virtual angular frequency to obtain the real-time virtual angular frequency, and then the real-time virtual angular frequency is integrated to obtain the virtual internal potential phase.

[0262] S35. Multiply the amplitude of the virtual internal potential and the cosine value of the phase of the virtual internal potential to obtain the corresponding first virtual internal potential component.

[0263] In this embodiment of the invention, the product between the amplitude of the virtual internal potential and the cosine of the phase of the virtual internal potential is calculated to obtain the corresponding first virtual internal potential component.

[0264] S36. Multiply the sine value of the virtual internal potential amplitude and the virtual internal potential phase to obtain the corresponding second virtual internal potential component.

[0265] In this embodiment of the invention, the product between the amplitude of the virtual internal potential and the sine value of the phase of the virtual internal potential is calculated to obtain the corresponding second virtual internal potential component.

[0266] Step 204: Perform voltage drop correction on the first virtual internal potential component and the second virtual internal potential component based on the virtual resistance, virtual reactance, virtual inductance, and current component to obtain the corresponding voltage loop reference voltage component.

[0267] The voltage loop reference voltage component refers to the d-axis and q-axis voltage reference components after correction by virtual impedance voltage drop, and is the final reference input for converter voltage closed-loop control.

[0268] In this embodiment of the invention, based on the virtual resistance, virtual reactance, virtual inductance, and current component relative to the first and second virtual internal potential components, the resistive voltage drop and inductive coupling voltage drop generated by the virtual resistance and virtual inductance in the d-axis and q-axis branches are calculated respectively. The two types of voltage drops are superimposed on the initial virtual internal potential component to complete the voltage drop compensation correction, thereby offsetting the voltage distortion and power coupling problems caused by the impedance of the weak power grid line, and outputting accurate d-axis and q-axis voltage loop reference voltage components.

[0269] Step 205: Input the voltage loop reference voltage component into the preset voltage and current dual closed loop to obtain the corresponding energy storage converter switching drive signal.

[0270] The voltage and current dual closed loop refers to the inner control loop of a grid-type energy storage converter, with an outer voltage loop and an inner current loop. The voltage loop outputs a current reference, and the current loop outputs a modulation signal to achieve port voltage stabilization and overcurrent protection.

[0271] In this embodiment of the invention, the voltage error is obtained by subtracting the voltage loop reference voltage component from the real-time acquired converter port voltage component. The voltage error is sent to the voltage loop controller to output the inner current loop reference command. The current error is then obtained by subtracting the current reference command from the real-time acquired grid-connected current component. The current error is sent to the current loop controller to output the modulation signal. The modulation signal is converted by the pulse width modulation module to generate the energy storage converter switching drive signal.

[0272] In this embodiment of the invention, electrical quantity data of the grid-connected energy storage system is acquired, and grid transient parameters and grid impedance are estimated and identified based on the electrical quantity data to obtain the corresponding current component, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance. Virtual impedance reshaping is performed on the target grid equivalent resistance based on the grid connection point voltage amplitude and target grid reactance to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance. Grid-connected control is performed based on the grid connection point voltage amplitude, target equivalent reactance, instantaneous active power, and instantaneous reactive power to obtain the corresponding first virtual internal potential component and second virtual internal potential component. Voltage stabilization control is performed based on the first virtual internal potential component, second virtual internal potential component, virtual resistance, virtual reactance, virtual inductance, and current component to obtain the corresponding energy storage converter switching drive signal. This approach overcomes the technical challenges of existing grid-connected energy storage systems, which commonly employ fixed-parameter virtual impedance combined with linear reactive power-voltage droop control strategies. The virtual impedance parameters are typically tuned offline under typical operating conditions, making over-compensation or under-compensation prone to occur when grid impedance changes, thus reducing the reliability of the grid-connected energy storage system. Compared to traditional grid-connected energy storage system control methods, this approach can collect electrical quantity data of the grid-connected energy storage system in real time, perform online grid-connected transient parameter estimation and grid impedance identification, dynamically acquire grid parameters such as equivalent resistance, equivalent inductance, and grid reactance, and perform adaptive virtual impedance reshaping based on the identified grid parameters. This generates virtual resistance, virtual reactance, and virtual inductance, which can automatically adjust the equivalent impedance characteristics according to grid strength, effectively improving system damping under weak grid conditions and suppressing grid-connected oscillations and active and reactive power coupling problems. Simultaneously, it combines obstacle Lyapunov constraint control to achieve reactive voltage regulation, strictly limiting the grid connection point voltage deviation within a preset safe range and preventing transient voltage exceedances. It also generates virtual internal potentials d and q based on grid control. The voltage drop is corrected by using virtual impedance and then outputting the energy storage converter switching drive signal through a dual closed-loop voltage and current circuit. The entire control scheme takes into account online grid identification, adaptive impedance reshaping and voltage hard constraint protection. It can still ensure the stable and reliable grid-connected operation of the grid-type energy storage system under the scenario of dynamic changes in grid strength, and improve the transient voltage support capability and anti-disturbance performance of the grid-type energy storage under weak grid conditions.

[0273] Please see Figure 3 , Figure 3 This is a structural block diagram of a voltage stabilization system for a grid-type energy storage system provided in Embodiment 3 of the present invention.

[0274] This invention provides a voltage stabilization system for a grid-type energy storage system, comprising:

[0275] The acquisition module 301 is used to acquire electrical quantity data of the grid-type energy storage system, and to perform grid-connected transient parameter estimation and grid impedance identification based on the electrical quantity data, so as to obtain the corresponding current component, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance and target grid reactance.

[0276] The reshaping module 302 is used to reshape the equivalent resistance of the target grid based on the voltage amplitude at the grid connection point and the reactance of the target grid, so as to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance and virtual inductance.

[0277] The grid control module 303 is used to perform grid control based on the grid connection point voltage amplitude, target equivalent reactance, instantaneous active power and instantaneous reactive power, and obtain the corresponding first virtual internal potential component and second virtual internal potential component.

[0278] The voltage control module 304 is used to perform voltage stabilization control based on the first virtual internal potential component, the second virtual internal potential component, the virtual resistance, the virtual reactance, the virtual inductance, and the current component, and to obtain the corresponding energy storage converter switching drive signal.

[0279] Furthermore, the electrical quantity data includes the three-phase voltage and three-phase current at the grid connection point. The acquisition module 301 includes:

[0280] The estimation submodule is used to perform Parker transformation on the three-phase voltage and three-phase current at the grid connection point to obtain the corresponding voltage and current components.

[0281] Based on the preset instantaneous power function, the corresponding instantaneous active power and instantaneous reactive power are determined according to the voltage component and the current component.

[0282] Input the voltage component into the preset grid connection point voltage amplitude function to obtain the corresponding grid connection point voltage amplitude;

[0283] The identification submodule is used to construct the corresponding equivalent branch equations of the weak power grid using voltage and current components, and to perform backward Euler discretization on the equivalent branch equations of the weak power grid to obtain the corresponding discrete model.

[0284] The difference between the discrete model and the pre-acquired target discrete model is calculated to obtain the corresponding difference relationship model, and the corresponding regression model is constructed using the difference relationship model.

[0285] The regression model is solved using a multi-output recursive least squares algorithm to obtain the corresponding power grid equivalent resistance and power grid equivalent inductance estimates.

[0286] The estimated equivalent resistance and equivalent inductance of the power grid are subjected to a first-order low-pass filter to obtain the corresponding target equivalent resistance and target equivalent inductance of the power grid.

[0287] The target grid reactance is obtained by multiplying the equivalent inductance of the target grid with the preset rated angular frequency.

[0288] Furthermore, the reshaping module 302 includes:

[0289] The strength assessment submodule is used to perform adaptive assessment of grid strength based on the grid connection point voltage amplitude, the target grid equivalent resistance and the target grid reactance, and obtain the corresponding adaptive short-circuit ratio.

[0290] The reshaping submodule is used to multiply the target grid equivalent resistance by a preset virtual resistance coefficient to obtain the corresponding virtual resistance.

[0291] The equivalent resistance and virtual resistance of the target power grid are summed to obtain the corresponding equivalent resistance.

[0292] The equivalent resistance and the adaptive short-circuit ratio are multiplied to obtain the corresponding target equivalent reactance;

[0293] The difference between the target equivalent reactance and the target grid reactance is processed to obtain the corresponding virtual reactance;

[0294] The virtual reactance is compared with the preset rated angular frequency to obtain the corresponding initial virtual inductance.

[0295] The initial virtual inductance is subjected to a lower limit limiting process to obtain the corresponding virtual inductance.

[0296] Furthermore, the intensity assessment submodule includes:

[0297] The first analysis unit is used to calculate the corresponding online short-circuit ratio based on the voltage amplitude at the grid connection point, the equivalent resistance of the target grid, and the reactance of the target grid.

[0298] The preset reference short-circuit ratio is compared with the online short-circuit ratio to obtain the corresponding first ratio.

[0299] The second analysis unit is used to perform ratio processing between the reference short-circuit ratio and the preset rated short-circuit ratio to obtain the corresponding second ratio.

[0300] The first ratio and the second ratio are then compared to obtain the corresponding first difference value.

[0301] The first difference is multiplied by the preset adaptive gain to obtain the corresponding first multiplier value. The first multiplier value is then summed with the preset rated reactance-resistance ratio to obtain the corresponding adaptive short-circuit ratio.

[0302] Furthermore, the network control module 303 includes:

[0303] The reactive power reference estimation submodule is used to perform reactive power reference estimation based on the grid connection point voltage amplitude and the target equivalent reactance to obtain the corresponding target reactive power reference.

[0304] The grid control submodule is used to input the target reactive power reference and instantaneous reactive power into the preset grid-type reactive voltage PI control loop to obtain the corresponding virtual internal potential amplitude.

[0305] The pre-acquired reference virtual angular frequency, pre-acquired active power reference, and instantaneous active power are input into the preset active frequency loop to obtain the corresponding virtual internal potential phase.

[0306] The first virtual internal potential component is obtained by multiplying the magnitude of the virtual internal potential by the cosine of the phase of the virtual internal potential.

[0307] The second virtual internal potential component is obtained by multiplying the amplitude and phase of the virtual internal potential by the sine value.

[0308] Furthermore, the reactive power reference estimation submodule includes:

[0309] The deviation unit is used to process the difference between the voltage amplitude at the grid connection point and the preset rated voltage reference value to obtain the corresponding voltage deviation.

[0310] The estimation unit is used to construct the corresponding barrier Lyapunov function based on the voltage deviation and the preset voltage deviation constraint.

[0311] The target equivalent reactance is subjected to a lower limit limiting process to obtain the corresponding limited equivalent reactance;

[0312] The corresponding reactive power reference is determined based on the limiting equivalent reactance and the barrier Lyapunov function.

[0313] The reactive power reference is subjected to amplitude limiting to obtain the corresponding target reactive power reference.

[0314] Furthermore, the voltage control module 304 includes:

[0315] The correction submodule is used to correct the voltage drop of the first virtual internal potential component and the second virtual internal potential component based on the virtual resistance, virtual reactance, virtual inductance and current component, so as to obtain the corresponding voltage loop reference voltage component.

[0316] The control submodule is used to input the voltage loop reference voltage component into a preset voltage and current dual closed loop to obtain the corresponding energy storage converter switching drive signal.

[0317] Since the above is a voltage stabilization method for a grid-type energy storage system, and its implementation principle is consistent with that of a voltage stabilization method for a grid-type energy storage system, for the sake of convenience and brevity, those skilled in the art can clearly understand that the specific working process of the system and modules described above can be referred to the corresponding process in the aforementioned method embodiments, and will not be repeated here.

[0318] Please see Figure 4 , Figure 4 This is a structural block diagram of an electronic device provided in Embodiment 4 of the present invention.

[0319] An electronic device according to an embodiment of the present invention includes: a memory 401 and a processor 402. The memory 401 stores a computer program. When the computer program is executed by the processor 402, the processor 402 performs a voltage stabilization method for a grid-type energy storage system as described in the above embodiment.

[0320] Memory 401 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Memory 401 has storage space 403 for program code 413 for performing any of the method steps described above. For example, storage space 403 for program code may include various program codes 413 for implementing the various steps in the methods described above. These program codes may be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact discs (CDs), memory cards, or floppy disks. The program code may be compressed, for example, in a suitable form. When run by a computing processing device, this code causes the computing processing device to perform the various steps in the methods described above. These computer program products include program code carriers such as hard disks, compact discs (CDs), memory cards, or floppy disks. The program code may be compressed, for example, in a suitable form. When run by a computing processing device, this code causes the computing processing device to perform the various steps in the voltage stabilization method for the grid-type energy storage system described above.

[0321] Embodiment 5 of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the voltage stabilization method for a grid-type energy storage system as described in the above embodiments.

[0322] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0323] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.

[0324] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0325] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0326] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0327] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A voltage stabilization method for a grid-type energy storage system, characterized in that, include: Obtain electrical quantity data of the grid-connected energy storage system, and perform grid-connected transient parameter estimation and grid impedance identification based on the electrical quantity data to obtain the corresponding current component, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance. Based on the voltage amplitude at the grid connection point and the reactance of the target grid, the equivalent resistance of the target grid is reshaped using virtual impedance to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance. Grid control is performed based on the grid connection point voltage amplitude, the target equivalent reactance, the instantaneous active power, and the instantaneous reactive power to obtain the corresponding first virtual internal potential component and second virtual internal potential component; Voltage stabilization control is performed based on the first virtual internal potential component, the second virtual internal potential component, the virtual resistance, the virtual reactance, the virtual inductance, and the current component to obtain the corresponding energy storage converter switching drive signal.

2. The voltage stabilization method for a grid-type energy storage system according to claim 1, characterized in that, The electrical quantity data includes the three-phase voltage and three-phase current at the grid connection point. The steps of estimating grid transient parameters and identifying grid impedance based on the electrical quantity data to obtain the corresponding current components, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance, and target grid reactance include: The Parker transformation is performed on the three-phase voltage at the grid connection point and the three-phase current at the grid connection point to obtain the corresponding voltage and current components. Based on the preset instantaneous power function, the corresponding instantaneous active power and instantaneous reactive power are determined according to the voltage component and the current component; The voltage component is input into a preset grid connection point voltage amplitude function to obtain the corresponding grid connection point voltage amplitude. The voltage component and the current component are used to construct the corresponding weak grid equivalent branch equation, and the weak grid equivalent branch equation is discretized by backward Euler to obtain the corresponding discrete model. The discrete model and the pre-acquired target discrete model are subjected to equation subtraction to obtain the corresponding difference relationship model, and the corresponding regression model is constructed using the difference relationship model. The regression model is solved using a multi-output recursive least squares algorithm to obtain the corresponding estimated values ​​of the grid equivalent resistance and grid equivalent inductance. The estimated equivalent resistance and the estimated equivalent inductance of the power grid are subjected to a first-order low-pass filter to obtain the corresponding target power grid equivalent resistance and target power grid equivalent inductance. The equivalent inductance of the target power grid is multiplied by a preset rated angular frequency to obtain the corresponding target power grid reactance.

3. The voltage stabilization method for a grid-type energy storage system according to claim 1, characterized in that, The step of virtually reshaping the equivalent resistance of the target grid based on the grid connection point voltage amplitude and the target grid reactance to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance, and virtual inductance includes: Based on the voltage amplitude at the grid connection point, the equivalent resistance of the target grid, and the reactance of the target grid, an adaptive assessment of grid strength is performed to obtain the corresponding adaptive short-circuit ratio. The corresponding virtual resistance is obtained by multiplying the equivalent resistance of the target power grid with a preset virtual resistance coefficient. The equivalent resistance of the target power grid and the virtual resistance are summed to obtain the corresponding equivalent resistance; The equivalent resistance and the adaptive short-circuit ratio are multiplied to obtain the corresponding target equivalent reactance. The difference between the target equivalent reactance and the target grid reactance is processed to obtain the corresponding virtual reactance; The virtual reactance is compared with the preset rated angular frequency to obtain the corresponding initial virtual inductance. The initial virtual inductance is subjected to a lower limit limiting process to obtain the corresponding virtual inductance.

4. The voltage stabilization method for a grid-type energy storage system according to claim 3, characterized in that, The step of performing adaptive grid strength assessment based on the grid connection point voltage amplitude, the target grid equivalent resistance, and the target grid reactance to obtain the corresponding adaptive short-circuit ratio includes: The online short-circuit ratio is calculated based on the voltage amplitude at the grid connection point, the equivalent resistance of the target grid, and the reactance of the target grid. The preset reference short-circuit ratio is compared with the online short-circuit ratio to obtain the corresponding first ratio. The reference short-circuit ratio is compared with the preset rated short-circuit ratio to obtain the corresponding second ratio. The first ratio and the second ratio are processed to obtain the corresponding first difference; The first difference is multiplied by a preset adaptive gain to obtain the corresponding first multiplier. The first multiplier is then summed with a preset rated reactance-resistance ratio to obtain the corresponding adaptive short-circuit ratio.

5. The voltage stabilization method for a grid-type energy storage system according to claim 1, characterized in that, The step of performing grid-connection control based on the grid connection point voltage amplitude, the target equivalent reactance, the instantaneous active power, and the instantaneous reactive power to obtain the corresponding first virtual internal potential component and second virtual internal potential component includes: Based on the grid connection point voltage amplitude and the target equivalent reactance, a reactive power reference is estimated to obtain the corresponding target reactive power reference. The target reactive power reference and the instantaneous reactive power are input into a preset grid-type reactive voltage PI control loop to obtain the corresponding virtual internal potential amplitude. The pre-acquired reference virtual angular frequency, pre-acquired active power reference, and instantaneous active power are input into the preset active frequency loop to obtain the corresponding virtual internal potential phase. The first virtual internal potential component is obtained by multiplying the amplitude of the virtual internal potential and the cosine of the phase of the virtual internal potential. The virtual internal potential amplitude and the sine value of the virtual internal potential phase are multiplied to obtain the corresponding second virtual internal potential component.

6. The voltage stabilization method for a grid-type energy storage system according to claim 5, characterized in that, The step of performing reactive power reference estimation based on the grid connection point voltage amplitude and the target equivalent reactance to obtain the corresponding target reactive power reference includes: The voltage amplitude at the grid connection point and the preset rated voltage reference value are processed to obtain the corresponding voltage deviation; Construct the corresponding barrier Lyapunov function based on the voltage deviation and the preset voltage deviation constraint; The target equivalent reactance is subjected to a lower limit limiting process to obtain the corresponding limited equivalent reactance; The corresponding reactive power reference is determined based on the limiting equivalent reactance and the barrier Lyapunov function. The reactive power reference is subjected to amplitude limiting processing to obtain the corresponding target reactive power reference.

7. The voltage stabilization method for a grid-type energy storage system according to claim 1, characterized in that, The step of performing voltage stabilization control based on the first virtual internal potential component, the second virtual internal potential component, the virtual resistance, the virtual reactance, the virtual inductance, and the current component to obtain the corresponding energy storage converter switching drive signal includes: The voltage drop of the first virtual internal potential component and the second virtual internal potential component is corrected based on the virtual resistance, the virtual reactance, the virtual inductance, and the current component to obtain the corresponding voltage loop reference voltage component. The reference voltage component of the voltage loop is input into a preset voltage and current dual closed loop to obtain the corresponding energy storage converter switching drive signal.

8. A voltage stabilization system for a grid-type energy storage system, characterized in that, include: The data acquisition module is used to acquire electrical quantity data of the grid-type energy storage system, and to perform grid-connected transient parameter estimation and grid impedance identification based on the electrical quantity data, so as to obtain the corresponding current component, grid connection point voltage amplitude, instantaneous active power, instantaneous reactive power, target grid equivalent resistance, target grid equivalent inductance and target grid reactance. The reshaping module is used to perform virtual impedance reshaping on the equivalent resistance of the target grid based on the voltage amplitude at the grid connection point and the reactance of the target grid, so as to obtain the corresponding virtual resistance, target equivalent reactance, virtual reactance and virtual inductance; The grid construction control module is used to perform grid construction control based on the grid connection point voltage amplitude, the target equivalent reactance, the instantaneous active power and instantaneous reactive power, and obtain the corresponding first virtual internal potential component and second virtual internal potential component. The voltage control module is used to perform voltage stabilization control based on the first virtual internal potential component, the second virtual internal potential component, the virtual resistance, the virtual reactance, the virtual inductance, and the current component, and to obtain the corresponding energy storage converter switch drive signal.

9. An electronic device, characterized in that, The system includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor causes the processor to perform the steps of the voltage stabilization method for a grid-type energy storage system as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it implements the voltage stabilization method for a grid-type energy storage system as described in any one of claims 1-7.