Synchronous stability control method, system, device, medium and product for network-constructed energy storage system

By identifying the equivalent impedance and equivalent potential of the power grid online and dynamically adjusting the virtual damping coefficient and control reference, the problem of decoupling active frequency and reactive voltage in urban distribution networks has been solved, improving the synchronous stability of energy storage systems and the adaptability of power grid operation.

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

Patent Information

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

AI Technical Summary

Technical Problem

The large-scale integration of distributed power sources and energy storage devices in urban power distribution networks makes it difficult to establish the decoupling relationship between active frequency and reactive voltage in traditional grid-type control. Power coupling is severe, and synchronization stability is reduced. Furthermore, traditional virtual synchronization control lacks power stability constraints that adjust with changes in the equivalent impedance of the grid, making it difficult to maintain sufficient power angle stability margin under different system strength conditions.

Method used

By identifying the equivalent impedance and equivalent potential of the power grid at the grid connection point online, and rotating the output active and reactive power using the impedance angle, virtual active and virtual reactive power are determined. Combined with the equivalent parameters of the power grid and the potential amplitude within the converter, the virtual damping coefficient is dynamically adjusted to perform active frequency synchronization control and reactive voltage control, forming voltage phase and amplitude references to adapt to power grid conditions where line resistance cannot be ignored.

Benefits of technology

It improves the adaptability of grid-type energy storage systems to changes in line resistance and inductance characteristics and system strength, suppresses power angle oscillation, improves synchronous operation stability, reduces additional voltage drop, and enhances the synchronous stability of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123183992A_ABST
    Figure CN123183992A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of grid-forming energy storage system, and discloses a grid-forming energy storage system synchronous stability control method, system, equipment, medium and product. The method identifies the grid equivalent impedance and equivalent potential at the grid-connected point online, rotates the output active power and output reactive power according to the impedance angle, makes the virtual power relationship adopted by the control adapt to the grid condition where the line resistance cannot be ignored, reduces the influence of the resistive-inductive line on the active frequency and reactive voltage control relationship, determines the virtual damping coefficient by using the grid equivalent parameters, the internal potential amplitude of the grid-forming converter and the virtual active power, makes the damping adjustment update with the change of the grid condition and operating power, and makes the voltage phase reference and the voltage amplitude reference jointly act on the grid-forming converter, thereby improving the adaptability of the grid-forming energy storage system to the line resistive-inductive characteristics and the change of system strength, and helping to suppress the power angle oscillation and improve the synchronous operation stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of grid-type energy storage system technology, and in particular to a method, system, equipment, medium and product for synchronous and stable control of grid-type energy storage system. Background Technology

[0002] With the large-scale integration of distributed power sources and energy storage devices into urban power distribution networks, grid-based energy storage systems have received widespread attention for enhancing grid inertia and voltage support capabilities. Grid-based energy storage autonomously constructs voltage and frequency references through control algorithms, enabling converters to possess external voltage source characteristics and providing support to the power grid.

[0003] However, urban power distribution networks are characterized by high cable coverage, large line resistance-to-reactance ratios, small short-circuit capacity, and significant variations with operating conditions. The active frequency and reactive voltage decoupling relationship based on the pure inductive line assumption in traditional network-type control is difficult to establish, leading to severe power coupling and decreased synchronization stability. Existing methods to improve decoupling characteristics through series virtual impedance introduce additional voltage drops, which is detrimental to the operation of urban power distribution networks with strict voltage constraints. Furthermore, traditional virtual synchronization control uses fixed damping parameters and lacks power stability constraints that adjust with changes in the grid's equivalent impedance, making it difficult to maintain sufficient power angle stability margin under different system strength conditions. Summary of the Invention

[0004] In view of this, in order to solve the above-mentioned technical problems, the present invention provides a method, system, device, medium and product for synchronous and stable control of a grid-type energy storage system.

[0005] The first aspect of this invention provides a method for synchronous and stable control of a grid-type energy storage system, the method comprising:

[0006] Obtain the operating electrical quantities of the grid-connected energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online.

[0007] The impedance angle is determined based on the equivalent impedance of the power grid. The output active power and the output reactive power are then rotated using the impedance angle to obtain virtual active power and virtual reactive power.

[0008] The virtual active power limit is determined based on the equivalent impedance of the power grid, the equivalent potential, and the internal potential amplitude of the grid converter. The virtual damping coefficient is then determined based on the virtual active power limit and the virtual active power.

[0009] Active frequency synchronization control is performed using a preset target active power setpoint, the virtual active power, and the virtual damping coefficient to obtain a voltage phase reference. Reactive voltage control is performed using the virtual reactive power to obtain a voltage amplitude reference. The grid converter is then controlled to operate based on the voltage phase reference and the voltage amplitude reference.

[0010] In one example, determining the output active power and output reactive power based on the operating electrical quantities, and identifying the grid equivalent impedance and equivalent potential at the grid connection point online, includes:

[0011] Based on the voltage and current in the operating electrical quantities, the fundamental active power and fundamental reactive power output by the grid-type energy storage system are determined and respectively used as the output active power and the output reactive power.

[0012] Extract the fundamental positive sequence voltage and fundamental positive sequence current at the grid connection point. Based on the fundamental positive sequence voltage and fundamental positive sequence current, estimate and update the grid equivalent impedance and the equivalent potential using the recursive least squares method. The grid equivalent impedance includes equivalent resistance and equivalent reactance.

[0013] In one example, determining the impedance angle based on the equivalent impedance of the power grid, and using the impedance angle to perform power rotation on the output active power and the output reactive power to obtain virtual active power and virtual reactive power, includes:

[0014] The impedance angle is determined based on the equivalent resistance and equivalent reactance of the power grid equivalent impedance;

[0015] Using the sine and cosine values ​​of the impedance angle as power rotation coefficients, the output active power and the output reactive power are rotated using the power rotation coefficients to obtain the virtual active power and the virtual reactive power.

[0016] In one example, determining the virtual active power limit based on the grid equivalent impedance, the equivalent potential, and the internal potential amplitude of the grid converter, and determining the virtual damping coefficient based on the virtual active power limit and the virtual active power, includes:

[0017] The virtual active power limit value is determined based on the ratio of the product of the internal potential amplitude and the equivalent potential amplitude to the equivalent impedance of the power grid.

[0018] The virtual active power is low-pass filtered to obtain the filtered virtual active power;

[0019] The virtual synchronization coefficient is determined based on the ratio of the filtered virtual active power to the virtual active power limit, and the virtual active power limit.

[0020] Based on the virtual synchronization coefficient, the preset virtual inertia time constant, and the fundamental angular frequency, a candidate virtual damping coefficient is determined to enable the small-signal damping ratio of the active frequency synchronization loop to reach the preset target damping ratio.

[0021] The larger value between the candidate virtual damping coefficient and the preset virtual damping lower limit value is determined as the virtual damping coefficient.

[0022] In one example, the active frequency synchronization control using a preset target active power setpoint, the virtual active power, and the virtual damping coefficient to obtain a voltage phase reference, and the reactive voltage control using the virtual reactive power to obtain a voltage amplitude reference, includes:

[0023] Based on the active power deviation between the target active power setpoint and the virtual active power, and the frequency deviation between the internal potential frequency of the grid converter and the grid frequency, combined with the virtual damping coefficient and the preset virtual inertia time constant, the internal potential frequency change rate is determined.

[0024] The internal potential frequency is updated according to the rate of change of the internal potential frequency, and the power angle of the grid converter internal potential relative to the grid equivalent potential is updated according to the deviation between the updated internal potential frequency and the grid frequency, thus forming the voltage phase reference.

[0025] Based on the reactive power deviation between the preset reactive power setpoint and the virtual reactive power, and the voltage amplitude deviation between the internal potential amplitude and the equivalent potential amplitude, combined with the preset voltage droop coefficient and the reactive power loop time constant, the internal potential amplitude change rate is determined.

[0026] The internal potential amplitude is updated according to the rate of change of the internal potential amplitude to form the voltage amplitude reference.

[0027] In one example, the process for determining the target active power setpoint includes:

[0028] Based on the ratio of the preset minimum synchronization coefficient to the virtual active power limit, the power angle boundary that meets the minimum synchronization coefficient requirement is determined, and the smaller value between the power angle boundary and the preset fixed power angle upper limit is determined as the maximum allowable power angle.

[0029] The upper limit of the stable constraint power is determined based on the virtual active power limit value and the sine value of the maximum allowable power angle;

[0030] Determine the frequency deviation of the internal potential frequency of the grid converter relative to the grid frequency, and determine the positive frequency deviation based on the frequency deviation;

[0031] The power margin correction amount is determined by multiplying the preset overfrequency stability margin coefficient with the positive frequency deviation.

[0032] The stability constraint power limit is corrected according to the power margin correction amount to obtain the corrected power limit, and the smaller value between the preset original active power setpoint and the corrected power limit is determined as the target active power setpoint.

[0033] Secondly, the present invention also provides a synchronous stability control system for a grid-type energy storage system, the system comprising:

[0034] The parameter identification module is used to acquire the operating electrical quantities of the grid-type energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online.

[0035] A power rotation module is used to determine the impedance angle based on the equivalent impedance of the power grid, and to perform power rotation on the output active power and the output reactive power using the impedance angle to obtain virtual active power and virtual reactive power.

[0036] The damping coefficient determination module is used to determine the virtual active power limit value based on the equivalent impedance of the power grid, the equivalent potential and the internal potential amplitude of the grid converter, and to determine the virtual damping coefficient based on the virtual active power limit value and the virtual active power.

[0037] The converter control module is used to perform active frequency synchronization control using a preset target active power setpoint, the virtual active power, and the virtual damping coefficient to obtain a voltage phase reference, and to perform reactive voltage control using the virtual reactive power to obtain a voltage amplitude reference, and to control the operation of the grid converter according to the voltage phase reference and the voltage amplitude reference.

[0038] Thirdly, the present invention also provides an electronic device, the electronic device including a memory and a processor, the memory storing a computer program, the computer program being executed by the processor causing the processor to perform the steps of the grid-type energy storage system synchronization and stability control method as described in the first aspect.

[0039] Fourthly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the steps of the synchronous and stable control method for a grid-type energy storage system as described in the first aspect.

[0040] Fifthly, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein, when the program instructions are executed by a computer, the computer performs the steps of the grid-type energy storage system synchronization and stability control method as described in the first aspect.

[0041] As can be seen from the above technical solutions, this invention identifies the equivalent impedance and equivalent potential of the grid at the grid connection point online, and rotates the output active power and output reactive power according to the impedance angle. This allows the virtual power relationship used in the control to adapt to grid conditions where the line resistance is not negligible, reducing the impact of inductive lines on the active frequency and reactive voltage control relationship. Furthermore, it uses the equivalent parameters of the grid, the potential amplitude within the grid converter, and the virtual active power to determine the virtual damping coefficient, so that the damping adjustment is updated with changes in grid conditions and operating power. Through the combined action of voltage phase reference and voltage amplitude reference on the grid converter, the grid-type energy storage system can be improved to adapt to changes in line resistance and inductive characteristics and system strength without the need to introduce a large additional series virtual impedance. This helps to suppress power angle oscillations and improve synchronous operation stability. Attached Figure Description

[0042] 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.

[0043] Figure 1 This is an application environment diagram of a synchronous stability control method for a grid-type energy storage system provided in an embodiment of the present invention;

[0044] Figure 2 A flowchart of a synchronous stability control method for a grid-type energy storage system provided in an embodiment of the present invention;

[0045] Figure 3 This is a schematic diagram of the structure of a synchronous stability control system for a grid-type energy storage system provided in an embodiment of the present invention;

[0046] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0047] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and 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.

[0048] The synchronous stability control method for grid-type energy storage systems provided in this application can be applied to, for example... Figure 1 The application environment shown is described. The grid-type energy storage system 101 includes a grid converter 102 and a grid converter controller 103. The grid converter 102 and the grid converter controller 103 are electrically connected. The grid-connected converter controller 103 executes a synchronous stability control method for a grid-connected energy storage system. This method includes: acquiring the operating electrical quantities of the grid-connected energy storage system; determining the output active power and output reactive power based on the operating electrical quantities; identifying the grid equivalent impedance and equivalent potential at the grid connection point online; determining the impedance angle based on the grid equivalent impedance; performing power rotation on the output active power and output reactive power using the impedance angle to obtain virtual active power and virtual reactive power; determining the virtual active power limit value based on the grid equivalent impedance, equivalent potential, and the internal potential amplitude of the grid-connected converter; determining the virtual damping coefficient based on the virtual active power limit value and virtual active power; performing active frequency synchronous control using a preset target active power setpoint, virtual active power, and virtual damping coefficient to obtain a voltage phase reference; performing reactive voltage control using virtual reactive power to obtain a voltage amplitude reference; and controlling the operation of the grid-connected converter based on the voltage phase reference and voltage amplitude reference.

[0049] This embodiment is applicable to distribution network scenarios where line resistance is not negligible and the equivalent impedance of the power grid varies with the operating mode. For example, in urban distribution networks with a high proportion of cable lines, the ratio of line resistance to reactance can be in the range of 0.3 to 1.5, and cannot be directly treated as a purely inductive line. When feeder switching, distribution network reconfiguration, or changes in distributed power sources and loads cause changes in the equivalent parameters of the power grid, the controller adjusts the power rotation relationship and virtual damping coefficient according to the updated equivalent parameters to adapt the power control to the current power grid state.

[0050] In the timescale of synchronous stability analysis, the positive-sequence fundamental wave Thevenin equivalent is used to describe the grid connected to the energy storage point. The internal potential of the grid-connected converter is expressed as:

[0051]

[0052] in The magnitude of the internal potential. The power angle is the internal potential relative to the equivalent potential of the power grid.

[0053] Equivalent potential of urban power distribution network:

[0054]

[0055] Equivalent impedance at grid connection point:

[0056]

[0057] Where E is the voltage amplitude inside the grid converter. The equivalent potential amplitude of the power grid. The power angle of the internal potential of the grid converter relative to the equivalent potential of the grid. Equivalent resistance The value is the equivalent reactance, and j is the imaginary unit.

[0058] like Figure 2 As shown, this application provides a synchronous stability control method for a grid-type energy storage system, which is applied to... Figure 1 The following description uses the grid converter controller 103 as an example, including the following steps S1 to S4. Wherein:

[0059] Step S1: Obtain the operating electrical quantities of the grid-connected energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online.

[0060] The operating electrical quantities include voltage and current information used to determine the output power of the grid-connected energy storage system and to identify the equivalent parameters of the power grid. Output active power characterizes the active power exchange between the grid-connected energy storage system and the power grid, while output reactive power characterizes the reactive power exchange related to voltage support.

[0061] The grid connection point, denoted as PCC, is the common connection point where a grid-connected energy storage system connects to the power grid. The grid equivalent potential and the grid equivalent impedance together characterize the external grid characteristics observed from this connection point. Specifically, the impedance angle of the equivalent impedance is used to determine the subsequent power rotation relationship, while the magnitude of the equivalent impedance and the magnitude of the equivalent potential are used to determine the virtual active power limit.

[0062] By adopting an online identification method, the power grid parameters used in subsequent control can be updated with the operating electrical quantities, avoiding the inability to reflect the power grid status after feeder switching or network reconfiguration due to the constant use of fixed line parameters.

[0063] Step S2: Determine the impedance angle based on the equivalent impedance of the power grid, and use the impedance angle to perform power rotation on the output active power and output reactive power to obtain virtual active power and virtual reactive power.

[0064] In this context, power rotation refers to the linear combination of output active power and output reactive power in control calculations, related to the grid impedance angle, to form virtual active power and virtual reactive power. Virtual active power and virtual reactive power are power quantities in the control coordinate system, used for subsequent active frequency synchronization control and reactive voltage control, respectively.

[0065] For lines with non-negligible resistance, the actual output active power is related to both the power angle and voltage amplitude, and the actual output reactive power is also affected by changes in the power angle. By rotating the power according to the grid impedance angle, the rotated power expression can be restored to the same form as that of a purely inductive line, providing a unified power model for subsequent synchronization coefficient calculations and damping adjustments.

[0066] Step S3: Determine the virtual active power limit value based on the grid equivalent impedance, equivalent potential and internal potential amplitude of the grid converter, and determine the virtual damping coefficient based on the virtual active power limit value and the virtual active power.

[0067] The virtual active power limit value represents the amplitude of the virtual active power angle curve under the current internal potential amplitude, grid equivalent potential amplitude, and grid equivalent impedance conditions. This limit value reflects the transmission capacity between virtual active power and power angle under current grid conditions, and is not equivalent to the rated active power or device capacity limit of the grid converter.

[0068] By using the virtual active power limit and the current virtual active power, the virtual synchronization coefficient at the current stable operating point can be further estimated. The virtual synchronization coefficient reflects the degree of change in virtual active power when the power angle changes slightly, and is used to determine the virtual damping coefficient that matches the current operating point.

[0069] Step S4: Perform active frequency synchronization control using the preset target active power setpoint, virtual active power and virtual damping coefficient to obtain voltage phase reference, and perform reactive voltage control using virtual reactive power to obtain voltage amplitude reference. Control the grid converter operation according to the voltage phase reference and voltage amplitude reference.

[0070] In this process, active power frequency synchronization control uses the deviation between the target active power setpoint and the virtual active power as the basis for power regulation, and utilizes a virtual damping coefficient to dampen the deviation between the internal potential frequency of the grid converter and the grid frequency. The controller then updates the internal potential frequency and phase to form a voltage phase reference.

[0071] Reactive voltage control uses virtual reactive power as feedback. It updates the internal potential amplitude by combining the reactive power setpoint and the deviation of the internal potential amplitude from the grid's equivalent potential amplitude, thus forming a voltage amplitude reference. The voltage phase reference and voltage amplitude reference are used together for the output voltage control of the grid-connected converter.

[0072] During continuous operation, the output changes generated by the grid converter response voltage reference are reflected by the subsequently acquired operating electrical quantities, and continue to participate in power calculation, parameter identification and control quantity updates, forming a closed-loop control process.

[0073] It should be noted that this invention identifies the equivalent impedance and equivalent potential of the grid at the grid connection point online, and rotates the output active power and output reactive power according to the impedance angle. This allows the virtual power relationship used in the control to adapt to grid conditions where the line resistance is not negligible, reducing the impact of inductive lines on the active frequency and reactive voltage control relationship. Furthermore, it uses the equivalent parameters of the grid, the potential amplitude within the grid converter, and the virtual active power to determine the virtual damping coefficient, so that the damping adjustment is updated with changes in grid conditions and operating power. Through the combined action of voltage phase reference and voltage amplitude reference on the grid converter, the invention improves the adaptability of the grid-type energy storage system to changes in line resistance and inductive characteristics and system strength without the need to introduce a large additional series virtual impedance. This helps to suppress power angle oscillations and improve synchronous operation stability.

[0074] In some embodiments, determining the output active power and output reactive power based on operating electrical quantities, and identifying the grid equivalent impedance and equivalent potential at the grid connection point online, includes:

[0075] Step S101: Based on the voltage and current in the operating electrical quantities, determine the fundamental active power and fundamental reactive power output by the grid-type energy storage system, and use them as the output active power and output reactive power, respectively.

[0076] In this embodiment, the direction of power output from the grid-connected energy storage system to the grid is used as the reference direction for power calculation. In the adopted two-node AC equivalent model, the internal potential of the grid converter is connected to the equivalent potential of the grid through the equivalent impedance of the grid, and the output current and complex power satisfy the power flow equations of the two-node AC equivalent circuit:

[0077]

[0078] Where I is the fundamental current phasor. This is the conjugate of the current phasor. The complex power on the potential side of the grid converter has a real part corresponding to active power and an imaginary part corresponding to reactive power.

[0079] In urban power distribution networks, This cannot be ignored. At this point, expanding the power flow equations by their real and imaginary parts yields the output active power and output reactive power as follows:

[0080]

[0081]

[0082] in: This represents the actual fundamental active power output of the energy storage converter, expressed in per-unit value. For active power reference; This represents the actual fundamental reactive power output of the energy storage converter, expressed in per-unit value. All parameters in the above power calculation formula are per-unit values. .

[0083] Step S102: Extract the fundamental positive sequence voltage and fundamental positive sequence current at the grid connection point. Based on the fundamental positive sequence voltage and fundamental positive sequence current, estimate and update the grid equivalent impedance and equivalent potential using the recursive least squares method. The grid equivalent impedance includes equivalent resistance and equivalent reactance.

[0084] Among them, the fundamental positive-sequence voltage and fundamental positive-sequence current are the fundamental positive-sequence components extracted from the three-phase voltage and current, used to describe the operating state of the grid connection point under the positive-sequence fundamental Thevenin equivalent condition. The parameter identification process uses the obtained fundamental positive-sequence voltage and current as input, and recursively estimates the equivalent parameters of the power grid according to the relationship between the equivalent potential and equivalent impedance of the power grid and the voltage and current of the grid connection point.

[0085] Specifically, after obtaining new voltage and current data, the fitting deviation of the voltage and current relationship is judged by using the current parameter estimates, and the equivalent impedance and equivalent potential of the power grid are updated according to the recursive least squares estimation process.

[0086] In some embodiments, the impedance angle is determined based on the equivalent impedance of the power grid, and the output active power and output reactive power are rotated using the impedance angle to obtain virtual active power and virtual reactive power, including:

[0087] Step S201: Determine the impedance angle based on the equivalent resistance and equivalent reactance of the power grid equivalent impedance.

[0088] The impedance angle is determined according to the following relationship:

[0089]

[0090] in, It is the arctangent function. The impedance angle reflects the relative relationship between the resistive and reactive components in the equivalent impedance of the power grid.

[0091] Step S202: Using the sine and cosine values ​​of the impedance angle as power rotation coefficients, the output active power and output reactive power are rotated using the power rotation coefficients to obtain virtual active power and virtual reactive power.

[0092] The sine and cosine values ​​corresponding to the impedance angle are:

[0093]

[0094] The power rotation coefficient is expressed in matrix form as follows:

[0095]

[0096] Subsequently, the output active power and output reactive power are rotated using a power rotation coefficient to obtain virtual active power and virtual reactive power:

[0097]

[0098] in, , These are virtual active power and virtual reactive power, respectively. Expanding, we get:

[0099]

[0100]

[0101] Substituting the aforementioned actual power expression, we get:

[0102]

[0103]

[0104] In the process of expanding the virtual active power, the terms containing the square of the internal potential amplitude cancel each other out, and the cross terms related to the power angle cosine also cancel each other out. The remaining terms are rearranged into the above virtual active power expression by using the relationship that the sum of the square of the equivalent resistance and the square of the equivalent reactance equals the square of the impedance magnitude.

[0105] In some embodiments, a virtual active power limit is determined based on the grid equivalent impedance, equivalent electromotive force, and the internal potential amplitude of the grid-connected converter. A virtual damping coefficient is then determined based on the virtual active power limit and the virtual active power, including:

[0106] Step S301: Determine the virtual active power limit value based on the ratio of the product of the internal potential amplitude and the equivalent potential amplitude to the grid equivalent impedance.

[0107] Among them, the formula mentioned above The virtual power angle curve, that is, the relationship between virtual active power and power angle, is defined as follows:

[0108]

[0109] Wherein: Virtual active power limit value for:

[0110]

[0111] Given the current internal potential amplitude and the equivalent potential amplitude of the power grid, the larger the equivalent impedance magnitude, the smaller the virtual active power limit.

[0112] Because the short-circuit capacity of the distribution network satisfies the following condition:

[0113]

[0114] Therefore, the virtual active power limit value It can also be written as:

[0115]

[0116] It is evident that the smaller the short-circuit capacity, The smaller the value, the smaller the synchronous stability domain of the grid-type energy storage.

[0117] Step S302: Perform low-pass filtering on the virtual active power to obtain the filtered virtual active power.

[0118] In this process, low-pass filtering is applied to the virtual active power to ensure that the subsequent virtual synchronization coefficient estimation primarily reflects the changing trend of operating power, thus reducing the impact of rapid fluctuations in power measurement on damping calculations. The low-pass filtering process satisfies the following conditions:

[0119]

[0120] in, for The value after low-pass filtering, i.e., the filtered virtual active power. This is the low-pass filter time constant, typically ranging from 0.02 to 0.05 s.

[0121] Step S303: Determine the virtual synchronization coefficient based on the ratio of the filtered virtual active power to the virtual active power limit value, and the virtual active power limit value.

[0122] The virtual synchronization coefficient is defined as the rate of change of virtual active power with respect to the power angle at the steady equilibrium point.

[0123]

[0124] in, The power angle at the current stable equilibrium point, in rad; Virtual synchronization coefficient, reflecting the strength of synchronization torque.

[0125] when near hour, As the value approaches zero, the system's synchronization capability decreases significantly. Therefore, it is necessary to limit this in urban power distribution networks. This is to ensure sufficient synchronous torque.

[0126] In practical implementation, the virtual synchronization coefficient can be estimated online using the filtered virtual active power according to the following relationship:

[0127] .

[0128] When the operating power gradually approaches the virtual active power limit, the absolute value of the above ratio approaches one, and the virtual synchronization coefficient gradually decreases, indicating that the synchronization recovery capability weakens; when the power angle of the stable equilibrium point approaches positive ninety degrees or negative ninety degrees, the corresponding synchronization coefficient approaches zero.

[0129] Step S304: Based on the virtual synchronization coefficient, the preset virtual inertia time constant, and the fundamental angular frequency, determine the candidate virtual damping coefficient that enables the small-signal damping ratio of the active frequency synchronization loop to reach the preset target damping ratio.

[0130] Among them, virtual active power is utilized Constructing an active frequency synchronization loop for a grid-type energy storage system:

[0131]

[0132]

[0133] in, The virtual inertia time constant; This is the per-unit value of the frequency of the internal potential of the energy storage; This is the per-unit value of the power grid frequency; The fundamental angular frequency, in rad / s. Hz; For adaptive virtual damping coefficient, per-unit power / per-unit frequency; This is the given value of active power after stability constraints.

[0134] To establish the relationship between the virtual damping coefficient and the synchronous operating state, the active frequency synchronization loop is linearized with a small signal near the stable equilibrium point, resulting in:

[0135]

[0136]

[0137] in, This is a small disturbance of the work angle relative to the stable equilibrium point; This represents the small frequency perturbation used in the linearization analysis. Combining the above two equations, we obtain the second-order small-signal equation:

[0138]

[0139] Corresponding standard second-order system:

[0140]

[0141] Its damping ratio is:

[0142]

[0143] therefore:

[0144]

[0145] in, This represents the virtual damping coefficient. Based on this relationship, after determining the virtual synchronization coefficient, virtual inertia time constant, and fundamental angular frequency, the candidate virtual damping coefficient can be determined by replacing the aforementioned damping ratio with a preset target damping ratio. The target damping ratio is denoted as... The value can be between 0.6 and 0.8.

[0146] Step S305: The larger value between the candidate virtual damping coefficient and the preset virtual damping lower limit value is determined as the virtual damping coefficient.

[0147] In order to maintain sufficient damping when the intensity of the urban power distribution network system changes, the virtual damping coefficient is determined according to the following relationship:

[0148]

[0149] in, This is the lower limit of the virtual damping to prevent the damping from being too small; per-unit power / per-unit frequency.

[0150] When the candidate virtual damping coefficient is not lower than the virtual damping lower limit, the candidate value is adopted to make the damping ratio of the local small-signal model reach the set target damping ratio; when the candidate virtual damping coefficient is lower than the lower limit, the virtual damping lower limit is adopted to maintain the necessary damping effect. In this case, the actual damping ratio calculated according to the small-signal model can be higher than the target damping ratio.

[0151] In some embodiments, active frequency synchronization control is performed using a preset target active power setpoint, virtual active power, and virtual damping coefficient to obtain a voltage phase reference, and reactive voltage control is performed using virtual reactive power to obtain a voltage amplitude reference, including:

[0152] Step S401: Based on the active power deviation between the target active power setpoint and the virtual active power, and the frequency deviation between the internal potential frequency of the grid converter and the grid frequency, combined with the virtual damping coefficient and the preset virtual inertia time constant, determine the internal potential frequency change rate.

[0153] The difference between the target active power setpoint and the virtual active power forms the active power deviation. The product of the virtual damping coefficient and the frequency deviation forms the damping power component. After subtracting the damping power component from the active power deviation, the rate of change of the internal potential frequency is determined by combining it with the virtual inertia time constant H. Specifically, it is determined through the active power frequency synchronization loop:

[0154]

[0155] in, The internal potential frequency change rate is denoted as .

[0156] Step S402: Update the internal potential frequency according to the rate of change of internal potential frequency, and update the power angle of the grid converter internal potential relative to the grid equivalent potential according to the deviation between the updated internal potential frequency and the grid frequency, so as to form a voltage phase reference.

[0157] The controller updates the internal potential frequency by integrating the rate of change of the internal potential frequency over time. The power angle change satisfies:

[0158]

[0159] Since the frequency uses per-unit values, the frequency deviation needs to be converted into the power angle change rate using the fundamental angular frequency.

[0160] The controller integrates the rate of change of the power angle over time to obtain the updated power angle. In a coordinate system with the grid equivalent potential phase as a reference, this power angle represents the phase position of the internal potential relative to the grid; when forming an actual voltage phase reference, this relative phase should correspond to the grid equivalent potential phase reference at the same time.

[0161] For example, when the internal potential frequency is higher than the grid frequency, the power angle increases; when the internal potential frequency is lower than the grid frequency, the power angle decreases. The change in power angle further affects the virtual active power through the virtual active power angle relationship, thus linking the output phase adjustment with the active power feedback.

[0162] When the internal potential frequency is the same as the grid frequency, the relative power angle remains unchanged, but the actual output voltage phase still advances with the grid fundamental phase. The fact that the relative power angle remains unchanged cannot be interpreted as the actual voltage phase stopping changing.

[0163] Step S403: Based on the reactive power deviation between the preset reactive power setpoint and the virtual reactive power, and the voltage amplitude deviation between the internal potential amplitude and the equivalent potential amplitude, combined with the preset voltage droop coefficient and the reactive power loop time constant, determine the rate of change of the internal potential amplitude.

[0164] The reactive voltage control loop adopts the following relationship:

[0165]

[0166] in, Let be the reactive power loop time constant, in seconds; The reactive power is given in per-unit value; This is the voltage droop factor, calculated as per-unit reactive power / per-unit voltage.

[0167] The difference between the reactive power setpoint and the virtual reactive power is used to reflect the reactive power control demand, and the product of the voltage droop coefficient and the voltage amplitude deviation is used to form the voltage droop adjustment component. The controller determines the rate of change of the internal potential amplitude based on the result of subtracting the voltage droop adjustment component from the reactive power deviation, combined with the reactive power loop time constant.

[0168] Step S404: Update the internal potential amplitude according to the rate of change of internal potential amplitude to form a voltage amplitude reference.

[0169] The controller integrates the internal potential amplitude over time based on the rate of change of the internal potential amplitude to obtain the updated internal potential amplitude, which is then used as a reference for the voltage amplitude. The updated internal potential amplitude is also used in subsequent calculations of the virtual active power limit, ensuring that the voltage control and synchronization stability parameter calculations use the same internal potential state.

[0170] The voltage amplitude reference, together with the aforementioned voltage phase reference, characterizes the output voltage required for the grid-connected converter. The controller drives the grid-connected converter based on this voltage reference and recalculates the power and updates the control state using subsequently obtained output voltage and current.

[0171] This process enables active frequency synchronization control and reactive voltage control to maintain communication through a common voltage state, while using virtual active power and virtual reactive power as corresponding power feedback respectively.

[0172] In some embodiments, the target active power setpoint is a control input determined based on the original active power setpoint and in conjunction with synchronization stability constraints under current grid conditions. The original active power setpoint comes from upper-level energy management or dispatch, and the stability constraints are used to limit the setpoint entering the active power frequency synchronization loop to prevent it from exceeding the range allowed by the current synchronization capacity. Therefore, the process of determining the target active power setpoint includes:

[0173] Step S51: Determine the power angle boundary that meets the minimum synchronization coefficient requirement based on the ratio of the preset minimum synchronization coefficient to the virtual active power limit value, and determine the smaller value between the power angle boundary and the preset fixed power angle upper limit as the maximum allowable power angle.

[0174] In order to ensure that the system retains a certain degree of synchronization recovery capability during operation, a minimum synchronization coefficient is preset. The allowable power angle range is determined based on the relationship between the virtual synchronization coefficient and the power angle. The maximum allowable power angle is determined according to the following relationship:

[0175]

[0176] in, To fix the upper limit of the work angle, a typical value can be taken as follows: The following is .

[0177] The inverse cosine of the ratio of the minimum synchronization coefficient to the virtual active power limit is used to obtain the power angle boundary that satisfies the minimum synchronization coefficient requirement; then it is compared with the fixed power angle upper limit, and the smaller one is taken as the maximum allowable power angle.

[0178] Step S52: Determine the upper limit of the stable constraint power based on the virtual active power limit value and the sine value of the maximum allowable power angle.

[0179] The upper limit of the stability constraint power is:

[0180]

[0181] in, To stabilize the upper limit of power.

[0182] Step S53: Determine the frequency deviation of the internal potential frequency of the grid converter relative to the grid frequency, and determine the positive frequency deviation based on the frequency deviation.

[0183] The positive frequency deviation is used to reflect the degree to which the internal potential frequency of the grid converter is higher than the grid frequency. Specifically, the per-unit frequency deviation obtained by subtracting the grid frequency from the internal potential frequency is compared with zero, and the larger value is taken.

[0184] When the internal potential frequency is higher than the grid frequency, the positive frequency deviation is the frequency difference; when the internal potential frequency is equal to or lower than the grid frequency, the positive frequency deviation is zero. This processing enables subsequent power margin corrections to take effect in cases of overspeed relative to the grid.

[0185] Step S54: Determine the power margin correction amount based on the product of the preset over-frequency stability margin coefficient and the positive frequency deviation.

[0186] Among them, the over-frequency stability margin coefficient is denoted as k. m This parameter is used to convert the positive frequency deviation into a correction to the upper limit of the stability constraint power, and its unit is per unit power per per unit frequency. The larger the positive frequency deviation, the larger the corresponding power margin correction. To ensure that this process reduces the upper limit of power, the over-frequency stability margin coefficient should be set as a non-negative parameter. The power margin correction is... .

[0187] Step S55: Correct the upper limit of the stability constraint power according to the power margin correction amount to obtain the corrected upper limit of power, and determine the smaller value between the preset original active power setpoint and the corrected upper limit of power as the target active power setpoint.

[0188] The target active power setpoint is determined according to the following relationship:

[0189]

[0190] in, The given value is the original active power. The target active power is given.

[0191] Specifically, the power margin correction is subtracted from the stability constraint power limit to obtain the corrected power limit. Then, the original active power setpoint is compared with the corrected power limit, and the smaller value is taken as the target active power setpoint.

[0192] When the original setpoint does not exceed the corrected power upper limit, the original setpoint is retained; when the original setpoint exceeds the upper limit, the corrected power upper limit is used as the target setpoint. The obtained target setpoint is directly entered into the aforementioned virtual swing equation, and together with the virtual active power and damped power components, determines the rate of change of internal potential frequency.

[0193] Based on the same inventive concept, this application also provides a synchronous stability control system for a grid-type energy storage system for implementing the synchronous stability control method for the grid-type energy storage system described above.

[0194] The solution provided by this system is similar to the solution described in the above method. Therefore, the specific limitations of one or more embodiments of the synchronous stability control system for grid-type energy storage systems provided below can be found in the limitations of the synchronous stability control method for grid-type energy storage systems above, and will not be repeated here.

[0195] like Figure 3 As shown in the embodiments of this application, a synchronous stability control system for a grid-type energy storage system is also provided. The system includes:

[0196] The parameter identification module 100 is used to acquire the operating electrical quantities of the grid-type energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online.

[0197] The power rotation module 200 is used to determine the impedance angle based on the equivalent impedance of the power grid, and to rotate the output active power and output reactive power using the impedance angle to obtain virtual active power and virtual reactive power.

[0198] The damping coefficient determination module 300 is used to determine the virtual active power limit value based on the grid equivalent impedance, equivalent potential and the internal potential amplitude of the grid converter, and to determine the virtual damping coefficient based on the virtual active power limit value and the virtual active power.

[0199] The converter control module 400 is used to perform active frequency synchronous control using a preset target active power setpoint, virtual active power and virtual damping coefficient to obtain a voltage phase reference, and to perform reactive voltage control using virtual reactive power to obtain a voltage amplitude reference. The module controls the operation of the grid converter based on the voltage phase reference and the voltage amplitude reference.

[0200] In some embodiments, the parameter identification module 100 is used for:

[0201] Based on the voltage and current in the operating electrical quantities, determine the fundamental active power and fundamental reactive power output of the grid-type energy storage system, and use them as the output active power and output reactive power respectively.

[0202] Extract the fundamental positive sequence voltage and fundamental positive sequence current at the grid connection point. Based on the fundamental positive sequence voltage and fundamental positive sequence current, use the recursive least squares method to estimate and update the grid equivalent impedance and equivalent potential. The grid equivalent impedance includes equivalent resistance and equivalent reactance.

[0203] In some embodiments, the power rotation module 200 is used for:

[0204] Determine the impedance angle based on the equivalent resistance and equivalent reactance of the power grid's equivalent impedance;

[0205] Using the sine and cosine values ​​of the impedance angle as power rotation coefficients, the output active power and output reactive power are rotated using the power rotation coefficients to obtain virtual active power and virtual reactive power.

[0206] In some embodiments, the damping coefficient determining module 300 is used for:

[0207] The virtual active power limit is determined by the ratio of the product of the internal potential amplitude and the equivalent potential amplitude to the equivalent impedance of the power grid.

[0208] The virtual active power is low-pass filtered to obtain the filtered virtual active power.

[0209] The virtual synchronization coefficient is determined based on the ratio of the filtered virtual active power to the virtual active power limit, and the virtual active power limit.

[0210] Based on the virtual synchronization coefficient, the preset virtual inertia time constant, and the fundamental angular frequency, a candidate virtual damping coefficient is determined to enable the small-signal damping ratio of the active frequency synchronization loop to reach the preset target damping ratio.

[0211] The larger value between the candidate virtual damping coefficient and the preset virtual damping lower limit value is determined as the virtual damping coefficient.

[0212] In some embodiments, the converter control module 400 is configured to:

[0213] Based on the active power deviation between the target active power setpoint and the virtual active power, and the frequency deviation between the internal potential frequency of the grid converter and the grid frequency, combined with the virtual damping coefficient and the preset virtual inertia time constant, the internal potential frequency change rate is determined.

[0214] The internal potential frequency is updated based on the rate of change of internal potential frequency, and the power angle of the grid converter internal potential relative to the grid equivalent potential is updated based on the deviation between the updated internal potential frequency and the grid frequency, thus forming a voltage phase reference.

[0215] Based on the reactive power deviation between the preset reactive power setpoint and the virtual reactive power, and the voltage amplitude deviation between the internal potential amplitude and the equivalent potential amplitude, combined with the preset voltage droop coefficient and the reactive power loop time constant, the rate of change of the internal potential amplitude is determined.

[0216] The internal potential amplitude is updated based on the rate of change of the internal potential amplitude to form a voltage amplitude reference.

[0217] In some embodiments, the system further includes a target power determination module, configured to:

[0218] Based on the ratio of the preset minimum synchronization coefficient to the virtual active power limit, the power angle boundary that meets the minimum synchronization coefficient requirement is determined, and the smaller value between the power angle boundary and the preset fixed power angle upper limit is determined as the maximum allowable power angle.

[0219] The upper limit of the stability constraint power is determined based on the virtual active power limit and the sine value of the maximum allowable power angle;

[0220] Determine the frequency deviation of the internal potential frequency of the grid converter relative to the grid frequency, and determine the positive frequency deviation based on the frequency deviation;

[0221] The power margin correction amount is determined by multiplying the preset overfrequency stability margin coefficient with the positive frequency deviation.

[0222] The upper limit of the stability constraint power is corrected according to the power margin correction amount to obtain the corrected upper limit of power. The smaller value between the preset original active power setpoint and the corrected upper limit of power is determined as the target active power setpoint.

[0223] like Figure 4As shown, this application provides an electronic device 10, which includes a memory 20 and a processor 30. The memory 20 stores a computer program, and when the computer program is executed by the processor 30, the processor 30 performs the following:

[0224] Obtain the operating electrical quantities of the grid-connected energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online.

[0225] The impedance angle is determined based on the equivalent impedance of the power grid. The output active power and output reactive power are rotated using the impedance angle to obtain virtual active power and virtual reactive power.

[0226] The virtual active power limit is determined based on the grid equivalent impedance, equivalent potential, and internal potential amplitude of the grid converter. The virtual damping coefficient is then determined based on the virtual active power limit and the virtual active power.

[0227] Active frequency synchronization control is performed using a preset target active power setpoint, virtual active power, and virtual damping coefficient to obtain a voltage phase reference. Reactive voltage control is performed using virtual reactive power to obtain a voltage amplitude reference. The grid converter is then controlled to operate based on the voltage phase reference and voltage amplitude reference.

[0228] In some embodiments, when a computer program is executed by processor 30, processor 30 performs the following:

[0229] Based on the voltage and current in the operating electrical quantities, determine the fundamental active power and fundamental reactive power output of the grid-type energy storage system, and use them as the output active power and output reactive power respectively.

[0230] Extract the fundamental positive sequence voltage and fundamental positive sequence current at the grid connection point. Based on the fundamental positive sequence voltage and fundamental positive sequence current, use the recursive least squares method to estimate and update the grid equivalent impedance and equivalent potential. The grid equivalent impedance includes equivalent resistance and equivalent reactance.

[0231] In some embodiments, when a computer program is executed by processor 30, processor 30 performs the following:

[0232] Determine the impedance angle based on the equivalent resistance and equivalent reactance of the power grid's equivalent impedance;

[0233] Using the sine and cosine values ​​of the impedance angle as power rotation coefficients, the output active power and output reactive power are rotated using the power rotation coefficients to obtain virtual active power and virtual reactive power.

[0234] In some embodiments, when a computer program is executed by processor 30, processor 30 performs the following:

[0235] The virtual active power limit is determined by the ratio of the product of the internal potential amplitude and the equivalent potential amplitude to the equivalent impedance of the power grid.

[0236] The virtual active power is low-pass filtered to obtain the filtered virtual active power.

[0237] The virtual synchronization coefficient is determined based on the ratio of the filtered virtual active power to the virtual active power limit, and the virtual active power limit.

[0238] Based on the virtual synchronization coefficient, the preset virtual inertia time constant, and the fundamental angular frequency, a candidate virtual damping coefficient is determined to enable the small-signal damping ratio of the active frequency synchronization loop to reach the preset target damping ratio.

[0239] The larger value between the candidate virtual damping coefficient and the preset virtual damping lower limit value is determined as the virtual damping coefficient.

[0240] In some embodiments, when a computer program is executed by processor 30, processor 30 performs the following:

[0241] Based on the active power deviation between the target active power setpoint and the virtual active power, and the frequency deviation between the internal potential frequency of the grid converter and the grid frequency, combined with the virtual damping coefficient and the preset virtual inertia time constant, the internal potential frequency change rate is determined.

[0242] The internal potential frequency is updated based on the rate of change of internal potential frequency, and the power angle of the grid converter internal potential relative to the grid equivalent potential is updated based on the deviation between the updated internal potential frequency and the grid frequency, thus forming a voltage phase reference.

[0243] Based on the reactive power deviation between the preset reactive power setpoint and the virtual reactive power, and the voltage amplitude deviation between the internal potential amplitude and the equivalent potential amplitude, combined with the preset voltage droop coefficient and the reactive power loop time constant, the rate of change of the internal potential amplitude is determined.

[0244] The internal potential amplitude is updated based on the rate of change of the internal potential amplitude to form a voltage amplitude reference.

[0245] In some embodiments, when a computer program is executed by processor 30, processor 30 performs the following:

[0246] Based on the ratio of the preset minimum synchronization coefficient to the virtual active power limit, the power angle boundary that meets the minimum synchronization coefficient requirement is determined, and the smaller value between the power angle boundary and the preset fixed power angle upper limit is determined as the maximum allowable power angle.

[0247] The upper limit of the stability constraint power is determined based on the virtual active power limit and the sine value of the maximum allowable power angle;

[0248] Determine the frequency deviation of the internal potential frequency of the grid converter relative to the grid frequency, and determine the positive frequency deviation based on the frequency deviation;

[0249] The power margin correction amount is determined by multiplying the preset overfrequency stability margin coefficient with the positive frequency deviation.

[0250] The upper limit of the stability constraint power is corrected according to the power margin correction amount to obtain the corrected upper limit of power. The smaller value between the preset original active power setpoint and the corrected upper limit of power is determined as the target active power setpoint.

[0251] This application provides a computer-readable storage medium having a computer program stored thereon, which, when executed, implements:

[0252] Obtain the operating electrical quantities of the grid-connected energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online.

[0253] The impedance angle is determined based on the equivalent impedance of the power grid. The output active power and output reactive power are rotated using the impedance angle to obtain virtual active power and virtual reactive power.

[0254] The virtual active power limit is determined based on the grid equivalent impedance, equivalent potential, and internal potential amplitude of the grid converter. The virtual damping coefficient is then determined based on the virtual active power limit and the virtual active power.

[0255] Active frequency synchronization control is performed using a preset target active power setpoint, virtual active power, and virtual damping coefficient to obtain a voltage phase reference. Reactive voltage control is performed using virtual reactive power to obtain a voltage amplitude reference. The grid converter is then controlled to operate based on the voltage phase reference and voltage amplitude reference.

[0256] In some embodiments, the computer program implements the following when executed:

[0257] Based on the voltage and current in the operating electrical quantities, determine the fundamental active power and fundamental reactive power output of the grid-type energy storage system, and use them as the output active power and output reactive power respectively.

[0258] Extract the fundamental positive sequence voltage and fundamental positive sequence current at the grid connection point. Based on the fundamental positive sequence voltage and fundamental positive sequence current, use the recursive least squares method to estimate and update the grid equivalent impedance and equivalent potential. The grid equivalent impedance includes equivalent resistance and equivalent reactance.

[0259] In some embodiments, the computer program implements the following when executed:

[0260] Determine the impedance angle based on the equivalent resistance and equivalent reactance of the power grid's equivalent impedance;

[0261] Using the sine and cosine values ​​of the impedance angle as power rotation coefficients, the output active power and output reactive power are rotated using the power rotation coefficients to obtain virtual active power and virtual reactive power.

[0262] In some embodiments, the computer program implements the following when executed:

[0263] The virtual active power limit is determined by the ratio of the product of the internal potential amplitude and the equivalent potential amplitude to the equivalent impedance of the power grid.

[0264] The virtual active power is low-pass filtered to obtain the filtered virtual active power.

[0265] The virtual synchronization coefficient is determined based on the ratio of the filtered virtual active power to the virtual active power limit, and the virtual active power limit.

[0266] Based on the virtual synchronization coefficient, the preset virtual inertia time constant, and the fundamental angular frequency, a candidate virtual damping coefficient is determined to enable the small-signal damping ratio of the active frequency synchronization loop to reach the preset target damping ratio.

[0267] The larger value between the candidate virtual damping coefficient and the preset virtual damping lower limit value is determined as the virtual damping coefficient.

[0268] In some embodiments, the computer program implements the following when executed:

[0269] Based on the active power deviation between the target active power setpoint and the virtual active power, and the frequency deviation between the internal potential frequency of the grid converter and the grid frequency, combined with the virtual damping coefficient and the preset virtual inertia time constant, the internal potential frequency change rate is determined.

[0270] The internal potential frequency is updated based on the rate of change of internal potential frequency, and the power angle of the grid converter internal potential relative to the grid equivalent potential is updated based on the deviation between the updated internal potential frequency and the grid frequency, thus forming a voltage phase reference.

[0271] Based on the reactive power deviation between the preset reactive power setpoint and the virtual reactive power, and the voltage amplitude deviation between the internal potential amplitude and the equivalent potential amplitude, combined with the preset voltage droop coefficient and the reactive power loop time constant, the rate of change of the internal potential amplitude is determined.

[0272] The internal potential amplitude is updated based on the rate of change of the internal potential amplitude to form a voltage amplitude reference.

[0273] In some embodiments, the computer program implements the following when executed:

[0274] Based on the ratio of the preset minimum synchronization coefficient to the virtual active power limit, the power angle boundary that meets the minimum synchronization coefficient requirement is determined, and the smaller value between the power angle boundary and the preset fixed power angle upper limit is determined as the maximum allowable power angle.

[0275] The upper limit of the stability constraint power is determined based on the virtual active power limit and the sine value of the maximum allowable power angle;

[0276] Determine the frequency deviation of the internal potential frequency of the grid converter relative to the grid frequency, and determine the positive frequency deviation based on the frequency deviation;

[0277] The power margin correction amount is determined by multiplying the preset overfrequency stability margin coefficient with the positive frequency deviation.

[0278] The upper limit of the stability constraint power is corrected according to the power margin correction amount to obtain the corrected upper limit of power. The smaller value between the preset original active power setpoint and the corrected upper limit of power is determined as the target active power setpoint.

[0279] This application provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, wherein when the program instructions are executed by a computer, the computer performs the following:

[0280] Obtain the operating electrical quantities of the grid-connected energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online.

[0281] The impedance angle is determined based on the equivalent impedance of the power grid. The output active power and output reactive power are rotated using the impedance angle to obtain virtual active power and virtual reactive power.

[0282] The virtual active power limit is determined based on the grid equivalent impedance, equivalent potential, and internal potential amplitude of the grid converter. The virtual damping coefficient is then determined based on the virtual active power limit and the virtual active power.

[0283] Active frequency synchronization control is performed using a preset target active power setpoint, virtual active power, and virtual damping coefficient to obtain a voltage phase reference. Reactive voltage control is performed using virtual reactive power to obtain a voltage amplitude reference. The grid converter is then controlled to operate based on the voltage phase reference and voltage amplitude reference.

[0284] In some embodiments, when program instructions are executed by a computer, the computer performs the following:

[0285] Based on the voltage and current in the operating electrical quantities, determine the fundamental active power and fundamental reactive power output of the grid-type energy storage system, and use them as the output active power and output reactive power respectively.

[0286] Extract the fundamental positive sequence voltage and fundamental positive sequence current at the grid connection point. Based on the fundamental positive sequence voltage and fundamental positive sequence current, use the recursive least squares method to estimate and update the grid equivalent impedance and equivalent potential. The grid equivalent impedance includes equivalent resistance and equivalent reactance.

[0287] In some embodiments, when program instructions are executed by a computer, the computer performs the following:

[0288] Determine the impedance angle based on the equivalent resistance and equivalent reactance of the power grid's equivalent impedance;

[0289] Using the sine and cosine values ​​of the impedance angle as power rotation coefficients, the output active power and output reactive power are rotated using the power rotation coefficients to obtain virtual active power and virtual reactive power.

[0290] In some embodiments, when program instructions are executed by a computer, the computer performs the following:

[0291] The virtual active power limit is determined by the ratio of the product of the internal potential amplitude and the equivalent potential amplitude to the equivalent impedance of the power grid.

[0292] The virtual active power is low-pass filtered to obtain the filtered virtual active power.

[0293] The virtual synchronization coefficient is determined based on the ratio of the filtered virtual active power to the virtual active power limit, and the virtual active power limit.

[0294] Based on the virtual synchronization coefficient, the preset virtual inertia time constant, and the fundamental angular frequency, a candidate virtual damping coefficient is determined to enable the small-signal damping ratio of the active frequency synchronization loop to reach the preset target damping ratio.

[0295] The larger value between the candidate virtual damping coefficient and the preset virtual damping lower limit value is determined as the virtual damping coefficient.

[0296] In some embodiments, when program instructions are executed by a computer, the computer performs the following:

[0297] Based on the active power deviation between the target active power setpoint and the virtual active power, and the frequency deviation between the internal potential frequency of the grid converter and the grid frequency, combined with the virtual damping coefficient and the preset virtual inertia time constant, the internal potential frequency change rate is determined.

[0298] The internal potential frequency is updated based on the rate of change of internal potential frequency, and the power angle of the grid converter internal potential relative to the grid equivalent potential is updated based on the deviation between the updated internal potential frequency and the grid frequency, thus forming a voltage phase reference.

[0299] Based on the reactive power deviation between the preset reactive power setpoint and the virtual reactive power, and the voltage amplitude deviation between the internal potential amplitude and the equivalent potential amplitude, combined with the preset voltage droop coefficient and the reactive power loop time constant, the rate of change of the internal potential amplitude is determined.

[0300] The internal potential amplitude is updated based on the rate of change of the internal potential amplitude to form a voltage amplitude reference.

[0301] In some embodiments, when program instructions are executed by a computer, the computer performs the following:

[0302] Based on the ratio of the preset minimum synchronization coefficient to the virtual active power limit, the power angle boundary that meets the minimum synchronization coefficient requirement is determined, and the smaller value between the power angle boundary and the preset fixed power angle upper limit is determined as the maximum allowable power angle.

[0303] The upper limit of the stability constraint power is determined based on the virtual active power limit and the sine value of the maximum allowable power angle;

[0304] Determine the frequency deviation of the internal potential frequency of the grid converter relative to the grid frequency, and determine the positive frequency deviation based on the frequency deviation;

[0305] The power margin correction amount is determined by multiplying the preset overfrequency stability margin coefficient with the positive frequency deviation.

[0306] The upper limit of the stability constraint power is corrected according to the power margin correction amount to obtain the corrected upper limit of power. The smaller value between the preset original active power setpoint and the corrected upper limit of power is determined as the target active power setpoint.

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

[0308] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0309] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0310] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0311] In the several embodiments provided by this invention, it should be understood that the disclosed systems, electronic devices, computer storage media, computer program products, and methods can be implemented in other ways. For example, the device 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, indirect coupling or communication connection between devices or units, and may be electrical, mechanical, or other forms.

[0312] 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.

[0313] 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.

[0314] 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 for executing all or part of the steps of the methods described in the various embodiments of the present invention through a computer device (which may be a personal computer, a server, or a network device, etc.). The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.

[0315] 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 synchronous stability control method for a grid-type energy storage system, characterized in that, The method includes: Obtain the operating electrical quantities of the grid-connected energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online. The impedance angle is determined based on the equivalent impedance of the power grid. The output active power and the output reactive power are then rotated using the impedance angle to obtain virtual active power and virtual reactive power. The virtual active power limit is determined based on the equivalent impedance of the power grid, the equivalent potential, and the internal potential amplitude of the grid converter. The virtual damping coefficient is then determined based on the virtual active power limit and the virtual active power. Active frequency synchronization control is performed using a preset target active power setpoint, the virtual active power, and the virtual damping coefficient to obtain a voltage phase reference. Reactive voltage control is performed using the virtual reactive power to obtain a voltage amplitude reference. The grid converter is then controlled to operate based on the voltage phase reference and the voltage amplitude reference.

2. The synchronous stability control method for a grid-type energy storage system according to claim 1, characterized in that, The process of determining the output active power and output reactive power based on the operating electrical quantities, and identifying the equivalent impedance and equivalent potential of the power grid at the grid connection point online, includes: Based on the voltage and current in the operating electrical quantities, the fundamental active power and fundamental reactive power output by the grid-type energy storage system are determined and respectively used as the output active power and the output reactive power. Extract the fundamental positive sequence voltage and fundamental positive sequence current at the grid connection point. Based on the fundamental positive sequence voltage and fundamental positive sequence current, estimate and update the grid equivalent impedance and the equivalent potential using the recursive least squares method. The grid equivalent impedance includes equivalent resistance and equivalent reactance.

3. The synchronous stability control method for a grid-type energy storage system according to claim 1, characterized in that, The step of determining the impedance angle based on the equivalent impedance of the power grid, and using the impedance angle to perform power rotation on the output active power and the output reactive power to obtain virtual active power and virtual reactive power includes: The impedance angle is determined based on the equivalent resistance and equivalent reactance of the power grid equivalent impedance; Using the sine and cosine values ​​of the impedance angle as power rotation coefficients, the output active power and the output reactive power are rotated using the power rotation coefficients to obtain the virtual active power and the virtual reactive power.

4. The synchronous stability control method for a grid-type energy storage system according to claim 1, characterized in that, The process of determining the virtual active power limit based on the equivalent impedance of the power grid, the equivalent electromotive force, and the internal potential amplitude of the grid-connected converter, and determining the virtual damping coefficient based on the virtual active power limit and the virtual active power, includes: The virtual active power limit value is determined based on the ratio of the product of the internal potential amplitude and the equivalent potential amplitude to the equivalent impedance of the power grid. The virtual active power is low-pass filtered to obtain the filtered virtual active power; The virtual synchronization coefficient is determined based on the ratio of the filtered virtual active power to the virtual active power limit, and the virtual active power limit. Based on the virtual synchronization coefficient, the preset virtual inertia time constant, and the fundamental angular frequency, a candidate virtual damping coefficient is determined to enable the small-signal damping ratio of the active frequency synchronization loop to reach the preset target damping ratio. The larger value between the candidate virtual damping coefficient and the preset virtual damping lower limit value is determined as the virtual damping coefficient.

5. The synchronous stability control method for a grid-type energy storage system according to claim 1, characterized in that, The process of using a preset target active power setpoint, the virtual active power, and the virtual damping coefficient for active frequency synchronization control to obtain a voltage phase reference, and using the virtual reactive power for reactive voltage control to obtain a voltage amplitude reference, includes: Based on the active power deviation between the target active power setpoint and the virtual active power, and the frequency deviation between the internal potential frequency of the grid converter and the grid frequency, combined with the virtual damping coefficient and the preset virtual inertia time constant, the internal potential frequency change rate is determined. The internal potential frequency is updated according to the rate of change of the internal potential frequency, and the power angle of the grid converter internal potential relative to the grid equivalent potential is updated according to the deviation between the updated internal potential frequency and the grid frequency, thus forming the voltage phase reference. Based on the reactive power deviation between the preset reactive power setpoint and the virtual reactive power, and the voltage amplitude deviation between the internal potential amplitude and the equivalent potential amplitude, combined with the preset voltage droop coefficient and the reactive power loop time constant, the internal potential amplitude change rate is determined. The internal potential amplitude is updated according to the rate of change of the internal potential amplitude to form the voltage amplitude reference.

6. The synchronous stability control method for a grid-type energy storage system according to claim 1 or 5, characterized in that, The process of determining the target active power setpoint includes: Based on the ratio of the preset minimum synchronization coefficient to the virtual active power limit, the power angle boundary that meets the minimum synchronization coefficient requirement is determined, and the smaller value between the power angle boundary and the preset fixed power angle upper limit is determined as the maximum allowable power angle. The upper limit of the stable constraint power is determined based on the virtual active power limit value and the sine value of the maximum allowable power angle; Determine the frequency deviation of the internal potential frequency of the grid converter relative to the grid frequency, and determine the positive frequency deviation based on the frequency deviation; The power margin correction amount is determined by multiplying the preset overfrequency stability margin coefficient with the positive frequency deviation. The stability constraint power limit is corrected according to the power margin correction amount to obtain the corrected power limit, and the smaller value between the preset original active power setpoint and the corrected power limit is determined as the target active power setpoint.

7. A synchronous stability control system for a grid-type energy storage system, characterized in that, The system includes: The parameter identification module is used to acquire the operating electrical quantities of the grid-type energy storage system, determine the output active power and output reactive power based on the operating electrical quantities, and identify the grid equivalent impedance and equivalent potential at the grid connection point online. A power rotation module is used to determine the impedance angle based on the equivalent impedance of the power grid, and to perform power rotation on the output active power and the output reactive power using the impedance angle to obtain virtual active power and virtual reactive power. The damping coefficient determination module is used to determine the virtual active power limit value based on the equivalent impedance of the power grid, the equivalent potential and the internal potential amplitude of the grid converter, and to determine the virtual damping coefficient based on the virtual active power limit value and the virtual active power. The converter control module is used to perform active frequency synchronization control using a preset target active power setpoint, the virtual active power, and the virtual damping coefficient to obtain a voltage phase reference, and to perform reactive voltage control using the virtual reactive power to obtain a voltage amplitude reference, and to control the operation of the grid converter according to the voltage phase reference and the voltage amplitude reference.

8. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor performs the steps of the synchronous stability control method for a grid-type energy storage system as described in any one of claims 1-6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed, it implements the steps of the synchronous stability control method for a grid-type energy storage system as described in any one of claims 1-6.

10. A computer program product, characterized in that, The computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, wherein when the program instructions are executed by a computer, the computer performs the steps of the synchronization and stability control method for a grid-type energy storage system as described in any one of claims 1-6.