Energy storage equipment control method and device

By calculating the unbalanced torque and angular velocity error in the virtual synchronous machine and obtaining the phase angle, the damping inertia control of the simulated synchronous machine is realized, the problem of active and reactive power adjustment errors in the virtual synchronous control strategy is solved, and the grid frequency is improved. and voltage stability.

CN118713121APending Publication Date: 2024-09-27ZHEJIANG JINKO ENERGY STORAGE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411136806.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The existing virtual synchronous control strategy cannot achieve accurate active power control of new energy power generation and energy storage equipment, resulting in a steady-state error between the dispatching active command value and the actual active power when the grid frequency shifts, affecting the accuracy of grid dispatching control.

Method used

By introducing the calculation of unbalanced torque and angular velocity error into the virtual synchronous machine, combined with the rated angular frequency and preset parameters, the phase angle of the output electrical signal of the virtual synchronous machine is obtained, and the damping inertia control and power seamless tracking adjustment of the simulated synchronous machine are realized. , Reduce the control deviation of the grid frequency from the rated frequency.

Benefits of technology

Without changing the motion equation of the synchronous machine rotor and the operating rules of the power system, the seamless tracking adjustment of the grid frequency and voltage is achieved, the stability of the grid frequency and voltage is improved, and the control deviation is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118713121A
    Figure CN118713121A
Patent Text Reader

Abstract

The invention relates to an energy storage equipment control method and device, and the method comprises the steps: obtaining an unbalanced torque according to a rated angular frequency, a current angular frequency, an active-frequency droop control coefficient, an active power set value, and a current active power value of a virtual synchronous machine; obtaining an angular velocity error according to the unbalanced torque and a rotor motion equation; and according to the integral of the sum of the angular velocity error and the rated angular frequency and the preset parameter, the phase angle of the output electric signal of the virtual synchronous machine is obtained, so that no-error tracking adjustment of the power can be realized at least under the condition of not changing the rotor motion equation of the synchronous machine and the operation rule of the current power system, and the control deviation of the power grid frequency deviating from the rated frequency is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of energy storage technology, and specifically relates to a method and device for controlling energy storage equipment. Background Art

[0002] As more and more new energy equipment is connected to the power grid, the proportion of traditional synchronous generators in the power system is gradually reduced, and the inertia support capacity of the power system is weakened, causing the power grid to exhibit low inertia characteristics, directly reducing the frequency stability of the power system and causing serious consequences.

[0003] In the related technology, the stability and performance of the power system are improved by simulating the characteristics of the synchronous generator, and the power electronic converter in the energy storage device is controlled to have the dynamic characteristics of the traditional synchronous machine. For example, by simulating the rotor movement, voltage and frequency regulation of the synchronous generator, the dynamic performance of the power system is improved.

[0004] However, the existing virtual synchronous control strategy is a differential control, which can only adjust the system to another frequency and power balance point. When the power grid has a frequency offset, it cannot achieve accurate active power control of the renewable energy power generation and energy storage equipment. There is a steady-state error between the active power command value and the dispatching value, which affects the accuracy of the power grid dispatching control. Summary of the invention

[0005] Based on this, it is necessary to provide a method and device for controlling an energy storage device to address the problems in the above-mentioned background technology, which can at least achieve differential tracking and regulation of power and reduce the control deviation of the grid frequency from the rated frequency without changing the synchronous machine rotor motion equation and the current power system operation rules.

[0006] According to various embodiments of the present application, in a first aspect, the present application provides a method for controlling an energy storage device, which is applied to a virtual synchronous machine used by the energy storage device during a grid-connected state or an off-grid state, and the method includes:

[0007] Obtain unbalanced torque according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine;

[0008] Obtain angular velocity error based on unbalanced torque and rotor motion equation;

[0009] The phase angle of the output electrical signal of the virtual synchronous machine is obtained according to the integral of the sum of the angular velocity error, the rated angular frequency, and the preset parameters.

[0010] The energy storage device control method in the above embodiment first determines the rated angular frequency, active power setting value, and active-frequency droop control coefficient of the virtual synchronous machine according to the connection relationship between the virtual synchronous machine and the public power grid, and then obtains the unbalanced torque according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine, which is used to simulate the damping inertia control of the synchronous machine in the first frequency modulation control process; then, the angular velocity error is obtained according to the unbalanced torque and the rotor motion equation, and after integrating the sum of the angular velocity error and the rated angular frequency, the phase angle of the output electrical signal of the virtual synchronous machine is obtained, which is used to introduce a preset parameter in the active loop in the second frequency modulation control process, so that the damping link only plays a role in enhancing stability during the disturbance process without affecting the frequency regulation under the condition of system stability; and the embodiment of the present application realizes the damping inertia control of the simulated synchronous machine and the error-free tracking adjustment of the power without changing the rotor motion equation of the synchronous machine and the current power system operation rules, thereby reducing the control deviation of the grid frequency from the rated frequency.

[0011] In some embodiments, obtaining the phase angle includes:

[0012] Obtaining a first angle value according to a time domain integration result of a sum of an angular velocity error and a rated angular frequency;

[0013] Obtaining a second angle value according to the product of the sum of the angular velocity error and the rated angular frequency and a preset parameter;

[0014] The phase angle is obtained according to the sum of the first angle value and the second angle value.

[0015] The energy storage device control method in the above embodiment obtains the first angle value according to the time domain integration result of the sum of the angular velocity error and the rated angular frequency, which is conducive to the virtual synchronous machine to better perform frequency error-free regulation according to the power grid fluctuation situation; obtains the second angle value according to the product of the sum of the angular velocity error and the rated angular frequency and the preset parameter, and thus obtains the phase angle according to the sum of the first angle value and the second angle value, thereby introducing the preset parameter in the active loop, so that the damping link only plays a role in enhancing stability during the disturbance process without affecting the frequency regulation under the condition of system stability.

[0016] In some embodiments, obtaining the unbalanced torque includes:

[0017] Obtaining an active power deviation value according to a proportional integral value of a difference between an active power setting value of the virtual synchronous machine and a current active power value;

[0018] The active frequency droop control value is obtained according to the product of the difference between the rated angular frequency and the current angular frequency and the active frequency droop control coefficient;

[0019] The unbalanced torque is obtained according to the quotient of the sum of the active power deviation value, the active frequency droop control value and the current angular frequency.

[0020] The energy storage device control method in the above embodiment obtains the active power deviation value according to the proportional integral value of the difference between the active power setting value and the current active power value of the virtual synchronous machine, so as to realize the zero-difference regulation of the active power of the virtual synchronous machine; obtains the active frequency droop control value according to the product of the difference between the rated angular frequency and the current angular frequency and the active-frequency droop control coefficient, so as to realize the active-frequency droop control of the angular frequency deviation of the virtual synchronous machine; obtains the unbalanced torque according to the quotient of the sum of the active power deviation value and the active frequency droop control value and the current angular frequency, so as to realize the damping inertia control of the simulated synchronous machine in the first frequency modulation control process.

[0021] In some embodiments, the energy storage device control method further includes:

[0022] According to the rated voltage, current voltage, reactive power-voltage droop control coefficient, reactive power setting value, and current reactive power value of the virtual synchronous machine, a virtual reactive voltage value is obtained;

[0023] The target output voltage of the virtual synchronous machine is obtained according to the virtual reactive voltage value and the rated voltage.

[0024] The energy storage device control method in the above embodiment obtains the virtual reactive voltage value according to the rated voltage, current voltage, reactive-voltage droop control coefficient, reactive power setting value, and current reactive power value of the virtual synchronous machine, thereby realizing the voltage regulation function of the simulated synchronous machine in the first voltage regulation process; further, according to the virtual reactive voltage value and the rated voltage, the target output voltage of the virtual synchronous machine is obtained to realize the difference-free tracking regulation of reactive power in the second voltage regulation process, thereby reducing the reactive power control deviation of the grid voltage from the rated voltage.

[0025] In some embodiments, obtaining a virtual reactive voltage value includes:

[0026] The reactive frequency droop control value is obtained according to the difference between the rated voltage and the current voltage and the product of the reactive-voltage droop control coefficient;

[0027] Obtaining a reactive power adjustment value according to a proportional integral result of a difference between a reactive power setting value and a current reactive power value;

[0028] The virtual reactive voltage value is obtained according to the time domain integration result of the reactive frequency droop control value and the reactive power regulation value.

[0029] The energy storage device control method in the above embodiment obtains the reactive frequency droop control value of the voltage deviation value according to the product of the difference between the rated voltage and the current voltage and the reactive-voltage droop control coefficient; then obtains the reactive power adjustment value obtained after the reactive power deviation value is adjusted by proportional integration according to the proportional integration result of the difference between the reactive power setting value and the current reactive power value; obtains the virtual reactive voltage value according to the time domain integration result of the sum of the reactive frequency droop control value and the reactive power adjustment value, so that the target output voltage of the virtual synchronous machine can be obtained according to the virtual reactive voltage value and the rated voltage, so as to realize the voltage regulation function of the simulated synchronous machine in the first voltage regulation process, and realize the difference-free tracking regulation of reactive power in the second voltage regulation process, thereby reducing the reactive power control deviation of the grid voltage deviating from the rated voltage.

[0030] In some embodiments, the energy storage device control method also includes: performing Park transformation according to the phase angle and the target output voltage to generate a three-phase voltage / current, thereby obtaining the three-phase voltage / current after active power difference-free tracking adjustment and reactive power difference-free tracking adjustment, realizing the damping inertia control and voltage regulation of the simulated synchronous machine, while reducing the control deviation of the grid frequency from the rated frequency and the reactive power control deviation of the grid voltage from the rated voltage.

[0031] In some embodiments, the angular velocity error is calculated according to the following formula, including:

[0032] ωc=((ω0-ωe)KPf+(Pref-Pe)(KPm+KPi / s)) / (ωe(Js+D));

[0033] In the above formula, ω0 is the rated angular frequency of the virtual synchronous machine, ωe is the current angular frequency, KPf is the active-frequency droop control coefficient, Pref is the active power setting value of the virtual synchronous machine, Pe is the current active power value, s is used to represent the time domain integral in the frequency domain; ωc is the angular velocity error; D is the damping coefficient, Js is the inertia coefficient, KPm is the proportional coefficient, and KPi is the integral coefficient.

[0034] In some embodiments, the virtual reactive voltage value is calculated according to the following formula:

[0035] Uc=KQV(U0-Ue) / s+(KQp+KQi / s)(Qref-Qe) / s;

[0036] In the above formula, KQp is the proportional coefficient, KQi is the integral coefficient, KQV is the reactive-voltage droop control coefficient, U0 is the rated voltage, Ue is the current voltage, Qref is the reactive power setting value, Qe is the current reactive power value, Uc is the virtual reactive voltage value, and s is used to represent the time domain integration in the frequency domain.

[0037] In the second aspect, the present application provides an energy storage device control device, which is applied to a virtual synchronous machine used in an energy storage system during a grid-connected state or an off-grid state. The energy storage device control device includes an unbalanced torque acquisition module, an angular velocity error acquisition module and a phase angle acquisition module, wherein: the unbalanced torque acquisition module is used to obtain the unbalanced torque according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine; the angular velocity error acquisition module is used to obtain the angular velocity error according to the unbalanced torque and the rotor motion equation; the phase angle acquisition module is used to obtain the phase angle of the output electrical signal of the virtual synchronous machine according to the integral of the angular velocity error and the sum of the rated angular frequency, and preset parameters.

[0038] The energy storage device control device in the above embodiment first uses the unbalanced torque acquisition module to determine the rated angular frequency, active power setting value, and active-frequency droop control coefficient of the virtual synchronous machine according to the connection relationship between the virtual synchronous machine and the public power grid, and then obtains the unbalanced torque according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine, which is used to simulate the damping inertia control of the synchronous machine during the first frequency modulation control process; and then uses the angular velocity error acquisition module to obtain the angular velocity error according to the unbalanced torque and the rotor motion equation; Thereby, the phase angle acquisition module can obtain the phase angle of the output electrical signal of the virtual synchronous machine after integrating the sum of the angular velocity error and the rated angular frequency, and introduce a preset parameter in the active loop during the second frequency modulation control process, so that the damping link only plays a role in enhancing stability during the disturbance process without affecting the frequency regulation under the condition of system stability; and the embodiment of the present application realizes the damping inertia control and the error-free tracking regulation of the power of the simulated synchronous machine without changing the synchronous machine rotor motion equation and the current power system operation rules, thereby reducing the control deviation of the power grid frequency from the rated frequency.

[0039] In a third aspect, the present application provides an energy storage device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in any embodiment of the present application are implemented.

[0040] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any of the embodiments of the present application.

[0041] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in any embodiment of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, drawings of other embodiments can be obtained based on these drawings without paying any creative work.

[0043] Figure 1 A schematic diagram of a flow chart of a method for controlling an energy storage device provided in an embodiment of the present application;

[0044] Figure 2 A schematic flow chart of a method for controlling an energy storage device provided in another embodiment of the present application;

[0045] Figure 3 A schematic flow chart of a method for controlling an energy storage device provided in yet another embodiment of the present application;

[0046] Figure 4 A schematic flow chart of a method for controlling an energy storage device provided in another embodiment of the present application;

[0047] Figure 5 A schematic diagram of the principle of a virtual synchronous machine control method in an energy storage device control method provided in an embodiment of the present application;

[0048] Figure 6 A schematic diagram of the principle of proportional-integral control in a method for controlling an energy storage device provided in one embodiment of the present application;

[0049] Figure 7 This is a schematic diagram of the structure of an energy storage device control device provided in one embodiment of the present application.

[0050] Reference numerals and descriptions:

[0051] 10. Unbalanced torque acquisition module; 30. Angular velocity error acquisition module; 50. Phase angle acquisition module. DETAILED DESCRIPTION

[0052] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present application are provided in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive.

[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0054] In the case of using “including”, “having”, and “comprising” described herein, another component may be added unless a clear limiting term such as “only”, “consisting of”, etc. is used. Unless mentioned otherwise, a term in the singular form may include a plural form and should not be understood as being one in number.

[0055] The following is an explanation of the terms involved in the embodiments of the present application.

[0056] (1) Virtual synchronous machine: The virtual synchronous machine is a power electronics technology proposed based on microgrid technology. It is an inverter with the damping characteristics of a synchronous motor. It enables the power electronic converter to simulate the behavior of a synchronous generator, thereby providing the required inertia and damping for the power grid and enhancing the stability and reliability of the system.

[0057] (2) Active power-frequency droop: When the active power of the virtual synchronous machine increases, the frequency of the motor will decrease, and vice versa.

[0058] (3) Reactive power-voltage droop: When the reactive power of the virtual synchronous machine increases, the voltage will be smaller, and vice versa.

[0059] (4) Proportional-integral (PI): PI regulation is a type of linear control, where P stands for proportion and I stands for integral. It forms a control deviation based on the given value and the actual output value, and linearly combines the proportion and integral of the deviation to form the control quantity to control the controlled object. PI regulation can respond to the deviation of the system in proportion. Once the system has a deviation, the proportional regulation immediately takes effect to reduce the deviation.

[0060] In related technologies, the virtual synchronous machine differential control strategy is generally adopted, which can only adjust the system to another frequency and power balance point. When the power grid has frequency deviation, it is difficult to achieve accurate active power control of renewable energy generation, and there is a steady-state error between the active power command value and the dispatching value, which affects the accuracy of power grid dispatching control. When off-grid, due to the dynamic difference between the active power reference value and the actual active power output value, it is difficult to meet the off-grid system's demand for stable frequency operation control.

[0061] Based on this, the embodiments of the present application aim to provide a method and device for controlling an energy storage device, which can at least achieve error-free tracking and regulation of power and reduce the control deviation of the grid frequency from the rated frequency without changing the synchronous machine rotor motion equation and the current power system operation rules.

[0062] Please refer to Figure 1 In some embodiments, a method for controlling an energy storage device is provided, which is applied to a virtual synchronous machine used by the energy storage device during a grid-connected state or an off-grid state, and the method includes:

[0063] Step S20: Obtaining unbalanced torque according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine;

[0064] Step S40: obtaining an angular velocity error according to the unbalanced torque and the rotor motion equation;

[0065] Step S60: Obtain the phase angle of the output electrical signal of the virtual synchronous machine according to the integral of the sum of the angular velocity error and the rated angular frequency and preset parameters.

[0066] For example, first, according to the connection relationship between the virtual synchronous machine and the public power grid, the rated angular frequency, active power setting value, and active-frequency droop control coefficient of the virtual synchronous machine are determined, and then the unbalanced torque is obtained according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine, which is used to simulate the damping inertia control of the synchronous machine in the first frequency modulation control process; then, the angular velocity error is obtained according to the unbalanced torque and the rotor motion equation, and after integrating the sum of the angular velocity error and the rated angular frequency, the phase angle of the output electrical signal of the virtual synchronous machine is obtained, which is used to introduce a preset parameter in the active loop in the second frequency modulation control process, so that the damping link only plays a role in enhancing stability during the disturbance process without affecting the frequency regulation under the condition of system stability; and the embodiment of the present application realizes the damping inertia control of the simulated synchronous machine and the error-free tracking adjustment of the power without changing the rotor motion equation of the synchronous machine and the current power system operation rules, thereby reducing the control deviation of the grid frequency from the rated frequency.

[0067] Please refer to Figure 2 In some embodiments, obtaining the phase angle in step S60 includes:

[0068] Step S62: Obtain a first angle value according to a time domain integration result of the sum of the angular velocity error and the rated angular frequency;

[0069] Step S64: obtaining a second angle value according to the product of the sum of the angular velocity error and the rated angular frequency and a preset parameter;

[0070] Step S66: Obtain the phase angle according to the sum of the first angle value and the second angle value.

[0071] For example, please continue to refer to Figure 2 , according to the time domain integration result of the sum of the angular velocity error and the rated angular frequency, the first angle value is obtained, which is conducive to the virtual synchronous machine to better perform frequency error-free regulation according to the power grid fluctuation; according to the product of the sum of the angular velocity error and the rated angular frequency and the preset parameter, the second angle value is obtained, and then according to the sum of the first angle value and the second angle value, the phase angle is obtained, and the preset parameters are introduced into the active loop, so that the damping link only plays a role in enhancing stability during the disturbance process without affecting the frequency regulation under the stable system condition.

[0072] Please refer to Figure 3 In some embodiments, obtaining the unbalanced torque in step S20 includes:

[0073] Step S22: obtaining an active power deviation value according to a proportional integral value of a difference between an active power setting value of the virtual synchronous machine and a current active power value;

[0074] Step S24: obtaining an active frequency droop control value according to the product of the difference between the rated angular frequency and the current angular frequency and the active frequency droop control coefficient;

[0075] Step S26: Obtain the unbalanced torque according to the quotient of the sum of the active power deviation value and the active frequency droop control value and the current angular frequency.

[0076] For example, please continue to refer to Figure 3 According to the proportional integral value of the difference between the active power setting value and the current active power value of the virtual synchronous machine, the active power deviation value is obtained to realize the difference-free regulation of the active power of the virtual synchronous machine; according to the product of the difference between the rated angular frequency and the current angular frequency and the active-frequency droop control coefficient, the active frequency droop control value is obtained to realize the active-frequency droop control of the angular frequency deviation of the virtual synchronous machine; according to the quotient of the sum of the active power deviation value and the active frequency droop control value and the current angular frequency, the unbalanced torque is obtained to realize the damping inertia control of the simulated synchronous machine in the first frequency modulation control process.

[0077] Please refer to Figure 4 In some embodiments, the energy storage device control method further includes:

[0078] Step S80: obtaining a virtual reactive voltage value according to the rated voltage, current voltage, reactive-voltage droop control coefficient, reactive power setting value, and current reactive power value of the virtual synchronous machine;

[0079] Step S100: acquiring a target output voltage of the virtual synchronous machine according to the virtual reactive voltage value and the rated voltage.

[0080] For example, please continue to refer to Figure 4 According to the rated voltage, current voltage, reactive-voltage droop control coefficient, reactive power setting value, and current reactive power value of the virtual synchronous machine, the virtual reactive voltage value is obtained, thereby realizing the voltage regulation function of the simulated synchronous machine in the first voltage regulation process; further, according to the virtual reactive voltage value and the rated voltage, the target output voltage of the virtual synchronous machine is obtained, so as to realize the difference-free tracking regulation of reactive power in the second voltage regulation process, and reduce the reactive power control deviation of the grid voltage from the rated voltage.

[0081] In some embodiments, obtaining the virtual reactive voltage value in step S80 includes:

[0082] Step S82: Obtain the reactive frequency droop control value according to the product of the difference between the rated voltage and the current voltage and the reactive-voltage droop control coefficient;

[0083] Step S84: Obtaining a reactive power adjustment value according to a proportional integral result of a difference between a reactive power setting value and a current reactive power value;

[0084] Step S86: Obtain a virtual reactive voltage value according to a time domain integration result of the reactive frequency droop control value and the reactive power adjustment value.

[0085] For example, the reactive frequency droop control value of the voltage deviation value is obtained based on the product of the difference between the rated voltage and the current voltage and the reactive-voltage droop control coefficient; then, the reactive power regulation value obtained after the reactive power deviation value is proportionally integrated is obtained based on the proportional integration result of the difference between the reactive power setting value and the current reactive power value; the virtual reactive voltage value is obtained based on the time domain integration result of the sum of the reactive frequency droop control value and the reactive power regulation value, so that the target output voltage of the virtual synchronous machine can be obtained based on the virtual reactive voltage value and the rated voltage, so as to realize the voltage regulation function of the simulated synchronous machine in the first voltage regulation process, and realize the difference-free tracking regulation of reactive power in the second voltage regulation process, thereby reducing the reactive power control deviation of the grid voltage from the rated voltage.

[0086] In some embodiments, the energy storage device control method further includes:

[0087] Step S120: Perform Park transformation according to the phase angle and the target output voltage to generate three-phase voltage / current.

[0088] For example, by performing Park transformation according to the phase angle and the target output voltage, the three-phase voltage / current after active power difference-free tracking regulation and reactive power difference-free tracking regulation are obtained, so as to realize the damping inertia control and voltage regulation of the simulated synchronous machine, and reduce the control deviation of the grid frequency from the rated frequency and the reactive power control deviation of the grid voltage from the rated voltage.

[0089] Please refer to Figure 5 In some embodiments, first, the difference ω0-ωe between the rated angular frequency ω0 of the virtual synchronous machine and the current angular frequency ωe is obtained, and ω0-ωe is multiplied by the active-frequency droop control coefficient KPf to obtain the active frequency droop control value (ω0-ωe) KPf; the difference Pref-Pe between the active power setting value Pref of the virtual synchronous machine and the current active power value Pe is subjected to proportional integral operation to obtain the active power deviation value (Pref-Pe) (KPm+ KPi / s); the unbalanced torque Te is obtained according to the sum of the active power deviation value (Pref-Pe) / s and the active frequency droop control value (ω0-ωe) KPf and the quotient of the current angular frequency ωe; the angular velocity error ωc is obtained according to the unbalanced torque Te and the rotor motion equation;

[0090] Te=((ω0-ωe)KPf+(Pref-Pe)(KPm+ KPi / s)) / ωe;

[0091] Pdamp = DTe / (Js+D);

[0092] ωc=(Te-Pdamp) / Js;

[0093] ωc=((ω0-ωe)KPf+(Pref-Pe)(KPm+ KPi / s)) / (ωe(Js+D));

[0094] In the above formula, Te is the unbalanced torque, ω0 is the rated angular frequency of the virtual synchronous machine, ωe is the current angular frequency, KPf is the active-frequency droop control coefficient, Pref is the active power setting value of the virtual synchronous machine, Pe is the current active power value, s is used to represent the time domain integral in the frequency domain; Pdamp is the damping power; ωc is the angular velocity error; D is the damping coefficient, Js is the inertia coefficient, KPm is the proportional coefficient, and KPi is the integral coefficient.

[0095] For further information, please refer to Figure 5 In some embodiments, the first angle value ω1 is obtained according to the time domain integration result of the sum of the angular velocity error ωc and the rated angular frequency ω0; the second angle value ω2 is obtained according to the product of the sum of the angular velocity error ωc, the rated angular frequency ω0 and the preset parameter Kd; wherein:

[0096] ω1=(ωc+ω0) / s;

[0097] ω2=Kd(ωc+ω0);

[0098] θ=ω1+ω2=(ωc+ω0) / s)+Kd(ωc+ω0);

[0099] ωc=Te / (Js+D);

[0100] θ=(Kd+1 / s)(Te / (Js+D)+ω0);

[0101] In the above formula, θ is the phase angle, ω1 is the first angle value, ω2 is the second angle value, Kd is a preset parameter, and s is used to represent the time domain integral in the frequency domain.

[0102] For further information, please refer to Figure 5 In some embodiments, the reactive frequency droop control value KQV (U0-Ue) is obtained according to the product of the difference (U0-Ue) between the rated voltage U0 and the current voltage Ue and the reactive-voltage droop control coefficient KQV; the reactive power adjustment value Qc is obtained according to the proportional integration result of the difference (Qref-Qe) between the reactive power setting value Qref and the current reactive power value Qe; the virtual reactive voltage value Uc is obtained according to the time domain integration result of the sum of the reactive frequency droop control value and the reactive power adjustment value Qc; wherein:

[0103] Uc=(KQV(U0-Ue)+Qc) / s;

[0104] Qc=(KQp+ KQi / s)(Qref-Qe);

[0105] Uc=KQV(U0-Ue) / s+(KQp+KQi / s)(Qref-Qe) / s;

[0106] In the above formula, KQp is the proportional coefficient, KQi is the integral coefficient, KQV is the reactive-voltage droop control coefficient, Qc is the reactive power adjustment value, U0 is the rated voltage, Ue is the current voltage, Qref is the reactive power setting value, Qe is the current reactive power value, Uc is the virtual reactive voltage value, and s is used to represent the time domain integration in the frequency domain.

[0107] Please refer to Figure 6 In some embodiments, in the PI control principle diagram, r(t) is the set target value, y(t) is the actual output value of the system, the set target value and the actual output value constitute the control deviation e(t), e(t) = r(t)- y(t), then e(t) is the input of the PI controller, and u(t) is the output of the PI controller and the input of the controlled quantity.

[0108] Proportional (P) control can respond to errors quickly and play a greater role when the error is large. However, proportional control cannot eliminate steady-state errors. Increasing the proportional coefficient will cause system instability. The role of integral (I) control is: as long as there is an error in the system, the integral will continue to accumulate and output the control amount to eliminate the error. As long as there is enough time, integral control will be able to completely eliminate the error, making the system error close to zero, thereby eliminating the steady-state error.

[0109] Please continue to refer to Figure 5 In an embodiment of the present application, by performing PI control on the difference Pref-Pe between the active power setting value Pref and the current active power value Pe of the virtual synchronous machine, the active power deviation value after PI control is obtained to reduce the active power regulation error of the system; by performing PI control on the difference (Qref-Qe) between the reactive power setting value Qref and the current reactive power value Qe, the reactive power regulation value Qc after PI control is obtained to reduce the reactive power regulation error of the system.

[0110] Please continue to refer to Figure 5 In the embodiment of the present application, during the first frequency modulation control process, the damping inertia control of the synchronous machine is simulated; during the second frequency modulation control process, a preset parameter is introduced in the active loop, so that the damping link only plays a role in enhancing stability during the disturbance process without affecting the frequency regulation under the condition of system stability. Without changing the synchronous machine rotor motion equation and the current power system operation rules, the damping inertia control of the synchronous machine and the difference-free tracking regulation of the power are realized, thereby reducing the control deviation of the grid frequency from the rated frequency.

[0111] Please continue to refer to Figure 5 In the embodiment of the present application, the voltage regulation function of the simulated synchronous machine is realized in the first voltage regulation process; the difference-free tracking regulation of reactive power is realized in the second voltage regulation process, reducing the reactive power control deviation of the grid voltage from the rated voltage.

[0112] It should be understood that although Figure 1-5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-5 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0113] Please refer to Figure 7 In some embodiments, a control device for energy storage equipment is provided, which is applied to a virtual synchronous machine used in an energy storage system during a grid-connected state or an off-grid state. The control device for energy storage equipment includes an unbalanced torque acquisition module 10, an angular velocity error acquisition module 30 and a phase angle acquisition module 50, wherein: the unbalanced torque acquisition module 10 is used to acquire the unbalanced torque according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine; the angular velocity error acquisition module 30 is used to acquire the angular velocity error according to the unbalanced torque and the rotor motion equation; the phase angle acquisition module 50 is used to acquire the phase angle of the output electrical signal of the virtual synchronous machine according to the integral of the sum of the angular velocity error and the rated angular frequency, and preset parameters.

[0114] For example, please continue to refer to Figure 7 First, the unbalanced torque acquisition module 10 is used to determine the rated angular frequency, active power setting value, and active-frequency droop control coefficient of the virtual synchronous machine according to the connection relationship between the virtual synchronous machine and the public power grid. Then, the unbalanced torque is obtained according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine, which is used to simulate the damping inertia control of the synchronous machine during the first frequency modulation control process; then, the angular velocity error acquisition module 30 is used to obtain the angular velocity error according to the unbalanced torque and the rotor motion equation; so that the phase angle The acquisition module 50 can obtain the phase angle of the output electrical signal of the virtual synchronous machine after integrating the sum of the angular velocity error and the rated angular frequency, so as to introduce a preset parameter in the active loop during the second frequency modulation control process, so that the damping link only plays a role in enhancing stability during the disturbance process without affecting the frequency regulation under the condition of system stability; and the embodiment of the present application realizes the damping inertia control and the error-free tracking regulation of the power of the simulated synchronous machine without changing the synchronous machine rotor motion equation and the current power system operation rules, thereby reducing the control deviation of the grid frequency from the rated frequency.

[0115] In some embodiments, the phase angle acquisition module 50 includes a first angle value acquisition unit 51, a second angle value acquisition unit 52, and a phase angle calculation unit 53, wherein:

[0116] The first angle value acquisition unit 51 is used to obtain the first angle value according to the time domain integration result of the sum of the angular velocity error and the rated angular frequency; the second angle value acquisition unit 52 is used to obtain the second angle value according to the product of the sum of the angular velocity error and the rated angular frequency and the preset parameter; the phase angle calculation unit 53 is used to obtain the phase angle according to the sum of the first angle value and the second angle value.

[0117] For example, based on the first angle value acquisition unit 51, the first angle value is obtained according to the time domain integration result of the sum of the angular velocity error and the rated angular frequency, which is conducive to the virtual synchronous machine to better perform frequency error-free regulation according to the power grid fluctuation situation; based on the second angle value acquisition unit 52, the second angle value is obtained according to the product of the sum of the angular velocity error and the rated angular frequency and the preset parameter, so that the phase angle is obtained according to the sum of the first angle value and the second angle value by the phase angle calculation unit 53, and the preset parameters are introduced into the active loop, so that the damping link only plays a role in enhancing stability during the disturbance process without affecting the frequency regulation under the stable system condition.

[0118] In some embodiments, the unbalanced torque acquisition module 10 includes an active power deviation value acquisition unit 11, an active frequency droop control value acquisition unit 12, and an unbalanced torque acquisition unit 13, wherein:

[0119] The active power deviation value acquisition unit 11 is used to obtain the active power deviation value according to the proportional integral value of the difference between the active power setting value of the virtual synchronous machine and the current active power value; the active frequency droop control value acquisition unit 12 is used to obtain the active frequency droop control value according to the product of the difference between the rated angular frequency and the current angular frequency and the active-frequency droop control coefficient; the unbalanced torque acquisition unit 13 is used to obtain the unbalanced torque according to the quotient of the sum of the active power deviation value and the active frequency droop control value and the current angular frequency.

[0120] For example, based on the active power deviation value acquisition unit 11, the active power deviation value is acquired according to the proportional integral value of the difference between the active power setting value and the current active power value of the virtual synchronous machine, so as to realize the difference-free regulation of the active power of the virtual synchronous machine; based on the active frequency droop control value acquisition unit 12, the active frequency droop control value is acquired according to the product of the difference between the rated angular frequency and the current angular frequency and the active-frequency droop control coefficient, so as to realize the active-frequency droop control of the angular frequency deviation of the virtual synchronous machine; the unbalanced torque acquisition unit 13 is enabled to acquire the unbalanced torque according to the quotient of the sum of the active power deviation value and the active frequency droop control value and the current angular frequency, so as to realize the simulation of the damping inertia control of the synchronous machine during the first frequency modulation control process.

[0121] In some embodiments of the present application, an energy storage device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the steps of the method described in any embodiment of the present application when executing the computer program.

[0122] For example, the energy storage device may include at least one of a photovoltaic cell, a photovoltaic energy storage power station, a photovoltaic energy storage system, and the like.

[0123] In some embodiments of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in any embodiment of the present application are implemented.

[0124] In some embodiments of the present application, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the method described in any embodiment of the present application.

[0125] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0126] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.

Claims

1. A method for controlling an energy storage device, characterized in that: A virtual synchronous machine applied to an energy storage device used during a grid-connected state or an off-grid state, the method comprising: Obtaining unbalanced torque according to the rated angular frequency, current angular frequency, active-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine; Obtaining an angular velocity error according to the unbalanced torque and the rotor motion equation; The phase angle of the output electrical signal of the virtual synchronous machine is obtained according to the integral of the sum of the angular velocity error and the rated angular frequency and preset parameters.

2. The method according to claim 1, characterized in that Obtaining the phase angle includes: Obtaining a first angle value according to a time-domain integration result of a sum of the angular velocity error and the rated angular frequency; Obtaining a second angle value according to a product of a sum of the angular velocity error, the rated angular frequency and a preset parameter; The phase angle is acquired according to the sum of the first angle value and the second angle value.

3. The method according to claim 1, characterized in that The obtaining of unbalanced torque comprises: Obtaining an active power deviation value according to a proportional integral value of a difference between an active power setting value of the virtual synchronous machine and a current active power value; Obtaining an active frequency droop control value according to a product of a difference between the rated angular frequency and the current angular frequency and the active-frequency droop control coefficient; The unbalanced torque is obtained according to a quotient of a sum of the active power deviation value and the active frequency droop control value and the current angular frequency.

4. The method according to any one of claims 1 to 3, characterized in that: Also includes: Obtaining a virtual reactive voltage value according to the rated voltage, current voltage, reactive-voltage droop control coefficient, reactive power setting value, and current reactive power value of the virtual synchronous machine; A target output voltage of the virtual synchronous machine is acquired according to the virtual reactive voltage value and the rated voltage.

5. The method according to claim 4, characterized in that The step of obtaining a virtual reactive voltage value includes: Obtaining a reactive frequency droop control value according to a difference between the rated voltage and the current voltage and a product of the reactive-voltage droop control coefficient; Obtaining the reactive power adjustment value according to a proportional integral result of a difference between the reactive power setting value and the current reactive power value; The virtual reactive voltage value is obtained according to the time-domain integration result of the reactive frequency droop control value and the reactive power adjustment value.

6. The method according to claim 5, characterized in that Also includes: A Park transformation is performed based on the phase angle and the target output voltage to generate three-phase voltage / current.

7. The method according to any one of claims 1 to 3, characterized in that: The angular velocity error is calculated according to the following formula, including: ωc=((ω0-ωe)KPf+(Pref-Pe)(KPm+KPi / s)) / (ωe(Js+D)); In the above formula, ω0 is the rated angular frequency of the virtual synchronous machine, ωe is the current angular frequency, KPf is the active-frequency droop control coefficient, Pref is the active power setting value of the virtual synchronous machine, Pe is the current active power value, s is used to represent the time domain integral in the frequency domain; ωc is the angular velocity error; D is the damping coefficient, Js is the inertia coefficient, KPm is the proportional coefficient, and KPi is the integral coefficient.

8. The method according to claim 5, characterized in that The virtual reactive voltage value is calculated according to the following formula: Uc=KQV(U0-Ue) / s+(KQp+KQi / s)(Qref-Qe) / s; In the above formula, KQp is the proportional coefficient, KQi is the integral coefficient, KQV is the reactive-voltage droop control coefficient, U0 is the rated voltage, Ue is the current voltage, Qref is the reactive power setting value, Qe is the current reactive power value, Uc is the virtual reactive voltage value, and s is used to represent the time domain integration in the frequency domain.

9. An energy storage device control device, characterized in that: A virtual synchronous machine used in an energy storage system during a grid-connected state or an off-grid state, the device comprising: An unbalanced torque acquisition module, used to acquire the unbalanced torque according to the rated angular frequency, current angular frequency, active power-frequency droop control coefficient, active power setting value, and current active power value of the virtual synchronous machine; An angular velocity error acquisition module, used for acquiring an angular velocity error according to the unbalanced torque and the rotor motion equation; The phase angle acquisition module is used to acquire the phase angle of the output electrical signal of the virtual synchronous machine according to the integral of the sum of the angular velocity error and the rated angular frequency and preset parameters.

10. An energy storage device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Frequency control method and device of optical storage system, medium and equipment

    CN119921410A