A method and related device for energy storage frequency response combined with aperiodic sampling control

By combining the safety margin of energy storage state of charge and the safety margin of grid-connected node voltage with an aperiodic sampling control method, the energy storage safety problem caused by the single frequency index in the existing technology is solved, and the stable operation of energy storage equipment and grid and resource conservation are achieved.

CN123121652APending Publication Date: 2026-11-17XIAN UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611295179.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing energy storage frequency response control, the sampling interval is determined based solely on the single indicator of frequency, ignoring the safety margin of the energy storage state of charge and the safety margin of the grid-connected node voltage. This leads to safety issues such as overcharging, over-discharging, or node voltage exceeding limits, affecting the stable operation of energy storage devices and the power grid.

Method used

By collecting operational status data of energy storage grid-connected nodes, the frequency response status and various types of operational safety margins are determined, including state-of-charge safety margin, node voltage safety margin, and frequency safety margin. A candidate sampling step size set is set, the system status is predicted based on the operational status data, a feasible sampling step size set is screened, and the next sampling interval is determined based on joint risk indicators, and the energy storage frequency response power command is updated.

Benefits of technology

While ensuring frequency support performance, it ensures the safe operation of energy storage devices and the power grid, avoids overcharging, over-discharging or node voltage exceeding limits, reduces the waste of communication and computing resources, and achieves adaptive non-periodic sampling control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123121652A_ABST
    Figure CN123121652A_ABST
Patent Text Reader

Abstract

This invention discloses a joint aperiodic sampling control method and related apparatus for energy storage frequency response, belonging to the field of energy storage control technology. This method determines the frequency response state and multiple safety margins; determines the corresponding operational risks based on each operational safety margin and obtains a joint risk index; sets a candidate sampling step size set to predict the system state, determines whether it meets the allowable range, and forms a feasible sampling step size set; when the feasible sampling step size set is not empty and the joint risk index has not reached the emergency risk threshold, the largest feasible sampling step size is selected to determine the next sampling interval; otherwise, the smallest sampling step size is used to determine the next sampling interval, and the energy storage frequency response power command is updated accordingly. This invention incorporates the state of charge, node voltage, and frequency response state into the sampling interval decision, effectively avoiding overcharging, over-discharging, and voltage exceeding limits while ensuring frequency support performance, reducing the number of redundant control updates, and lowering communication and computing resource consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of energy storage control technology, specifically to an energy storage frequency response combined with aperiodic sampling control method and related devices. Background Technology

[0002] With the increasing integration of new energy power generation and power electronic equipment into the power grid, the equivalent inertia of the power system is decreasing, and the frequency change rate is accelerating, making system frequency security an increasingly prominent issue. Energy storage systems, characterized by fast power response, strong bidirectional regulation capability, and flexible control, have become an important regulation resource for primary frequency regulation, rapid frequency response, and inertia support in the power grid. Existing energy storage frequency response control methods mostly adopt fixed-period sampling and fixed-period control update methods. This method is simple to implement, but it wastes communication and computing resources when the system frequency is stable; when the system experiences frequency disturbances, the fixed sampling period may lead to control update lag, increasing the risk of frequency exceeding limits.

[0003] To address the aforementioned problems with fixed-period sampling control, researchers have proposed event-triggered control and self-triggered control methods. These methods achieve non-periodic sampling by setting trigger conditions, thereby reducing unnecessary data transmission and control updates. However, existing event-triggered and self-triggered control methods primarily rely on frequency deviation or the rate of frequency change as a single indicator when selecting the sampling interval, failing to fully consider the impact of the energy storage's state-of-charge (SOC) safety margin and grid-connected node voltage safety margin on the energy storage's participation in the frequency response process. When energy storage participates in the frequency response, the execution of power commands is constrained by the upper and lower limits of the SOC. Furthermore, energy storage power injection or absorption can cause fluctuations in the grid-connected node voltage. If the determination of the sampling interval only considers frequency factors while ignoring SOC and voltage factors, it may lead to safety issues such as overcharging, over-discharging, or node voltage exceeding limits during the frequency response process, affecting the safety of energy storage devices and the stable operation of the power grid.

[0004] Therefore, how to combine the safety margin of energy storage state of charge, the safety margin of grid-connected node voltage, and the frequency response state into the sampling interval decision, so as to ensure the safe operation of energy storage equipment and grid while ensuring frequency support performance, has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a method and device for frequency response combined non-periodic sampling control of energy storage, so as to overcome the defects of the prior art, which ignores the safety margin of energy storage state of charge and grid-connected node voltage because the sampling interval is determined only based on a single index of frequency, resulting in safety problems such as overcharging, over-discharging or node voltage exceeding the limit during the frequency response process of energy storage.

[0006] The present invention solves the above-mentioned technical problems through the following technical solution: This invention provides a method for joint aperiodic sampling control of energy storage frequency response, comprising the following steps: S1. Collect the operating status data of the energy storage grid-connected nodes, and determine the frequency response status and various types of operating safety margins based on the operating status data. The operating safety margins include the state of charge safety margin, the node voltage safety margin, and the frequency safety margin. S2. Determine the corresponding operational risks based on each operational safety margin, and determine the frequency risks based on the frequency response status. Then, sum the weighted operational risks and frequency risks to obtain a joint risk index. S3. Set a set of candidate sampling step sizes and predict the system status within the time range corresponding to each candidate sampling step size based on the running status data. S4. Based on each operational safety margin, determine whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range, and form a set of feasible sampling step sizes for candidate sampling step sizes that meet the allowable range and whose predicted performance indicators do not exceed the benchmark performance indicators. S5. When the set of feasible sampling step sizes is not empty and the joint risk index has not reached the emergency risk threshold, select the largest feasible sampling step size to determine the next sampling interval; otherwise, determine the next sampling interval with the smallest sampling step size; update the energy storage frequency response power command according to the next sampling interval.

[0007] A further improvement of the present invention is that the operating status data includes the grid frequency, node voltage, energy storage state of charge, and current output power of the energy storage grid-connected node; The frequency response state is determined as follows: The frequency deviation is calculated based on the grid frequency and the grid rated frequency. The frequency change rate is calculated based on the grid frequency at the current sampling time and the previous sampling time, as well as the interval between two adjacent sampling times.

[0008] A further improvement of this invention lies in the method for determining the safety margin of the state of charge: When the energy storage state of charge is greater than or equal to the lower limit of the allowable state of charge and less than or equal to the upper limit of the allowable state of charge, the ratio of the smaller of the distances between the energy storage state of charge and the upper and lower limits of the allowable state of charge to the difference between the upper and lower limits of the allowable state of charge is used as the safety margin of the state of charge; when the energy storage state of charge exceeds the range from the lower to the upper limit of the allowable state of charge, the safety margin of the state of charge is set to zero. The method for determining the node voltage safety margin is as follows: When the node voltage is greater than or equal to the lower limit of the node voltage and less than or equal to the upper limit of the node voltage, the node voltage safety margin is the ratio of the smaller of the distances between the node voltage and the upper and lower limits of the node voltage to the difference between the upper and lower limits of the node voltage. When the node voltage exceeds the range from the lower to the upper limit of the node voltage, the node voltage safety margin is set to zero. The frequency safety margin is determined as follows: The frequency safety margin is defined as the smaller of the ratio of the absolute value of the frequency deviation to the maximum permissible frequency deviation and the ratio of the absolute value of the frequency change rate to the maximum permissible frequency change rate. When the absolute value of the frequency deviation is greater than the maximum permissible frequency deviation or the absolute value of the frequency change rate is greater than the maximum permissible frequency change rate, the frequency safety margin is set to zero.

[0009] A further improvement of this invention is that the operational risks include the risk of state of charge exceeding limits, the risk of node voltage exceeding limits, and the risk corresponding to the frequency safety margin. The method for determining the joint risk indicators is as follows: The risk of state of charge exceeding the limit is determined by a negative exponential function of the state of charge safety margin. The risk of node voltage exceeding the limit is determined by a negative exponential function of the node voltage safety margin. The frequency risk is determined by the ratio of the absolute value of the frequency deviation to the maximum allowable frequency deviation, the ratio of the absolute value of the frequency change rate to the maximum allowable frequency change rate, and the corresponding weighting coefficients. The joint risk index is obtained by multiplying the risk of state of charge exceeding the limit, the risk of node voltage exceeding the limit, and the frequency risk by their respective weighting coefficients.

[0010] A further improvement of this invention lies in the method of predicting the system state within the time range corresponding to each candidate sampling step size as follows: The system state includes the predicted grid frequency, predicted node voltage, and predicted energy storage state of charge. A candidate sampling step set consisting of multiple discrete sampling step sizes is set. Based on the grid frequency, frequency change rate, node voltage, energy storage state of charge, and current energy storage output power at the current sampling time, a discrete state recursive model is used to progressively predict the predicted grid frequency, predicted node voltage, and predicted energy storage state of charge within the time range covered by each candidate sampling step size. The predicted grid frequency is determined by the system's equivalent inertia, damping coefficient, load power change, and current energy storage output power; the predicted node voltage is determined by the current node voltage and the voltage sensitivity corresponding to the energy storage power change; and the predicted energy storage state of charge is determined by the current energy storage state of charge, current energy storage output power, rated energy storage capacity, and charging / discharging efficiency.

[0011] A further improvement of this invention lies in the method of determining whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range based on each operational safety margin: Based on the state of charge safety margin, determine whether the predicted state of charge of the energy storage is within the upper and lower limits of the allowable state of charge. Determine whether the predicted node voltage is within the allowable upper and lower limits of the node voltage based on the node voltage safety margin; Based on the frequency safety margin, determine whether the predicted power grid frequency meets the requirements that the frequency deviation does not exceed the maximum permissible frequency deviation and the frequency change rate does not exceed the maximum permissible frequency change rate; The method for determining the next sampling interval by selecting the largest feasible sampling step size, and otherwise by using the smallest sampling step size, is as follows: When the set of feasible sampling step sizes is not empty and the joint risk index has not reached the emergency risk threshold, the sampling step size with the largest value is selected from the set of feasible sampling step sizes, and the product of the sampling step size and the basic sampling period is used as the next sampling interval. When the feasible sampling step size set is empty or the joint risk index reaches or exceeds the emergency risk threshold, the product of the minimum sampling step size in the candidate sampling step size set and the basic sampling period is used as the next sampling interval. The method for updating the energy storage frequency response power command in the next sampling interval is as follows: When the next sampling interval arrives, an energy storage frequency response power command is generated based on the frequency deviation and frequency change rate at the current sampling time; the upper and lower limits of energy storage power are determined based on the state of charge safety margin and the node voltage safety margin, and the energy storage frequency response power command is limited and corrected using the upper and lower limits of energy storage power; when the grid frequency decreases, the energy storage is controlled to release active power to the grid; when the grid frequency increases, the energy storage is controlled to absorb active power from the grid. The condition under which the predicted performance index does not exceed the benchmark performance index is: The prediction performance index corresponding to each candidate sampling step size does not exceed the baseline performance index under the case of one sampling step. The prediction performance index is a comprehensive measure of the deviation of the system state from the expected state within the time range corresponding to each candidate sampling step size.

[0012] The present invention also provides an energy storage frequency response combined aperiodic sampling control system, comprising: The first module is used to collect the operating status data of the energy storage grid-connected nodes, and determine the frequency response status and various types of operating safety margins based on the operating status data. The operating safety margins include the state of charge safety margin, the node voltage safety margin, and the frequency safety margin. The second module is used to determine the corresponding operational risks based on each operational safety margin, and to determine the frequency risks based on the frequency response status. The joint risk index is obtained by weighted summation of each operational risk and the frequency risk. The third module is used to set the candidate sampling step size set and predict the system state within the time range corresponding to each candidate sampling step size based on the running status data. The fourth module is used to determine whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range based on each operational safety margin, and to form a set of feasible sampling step sizes for candidate sampling step sizes that meet the allowable range and whose predicted performance indicators do not exceed the benchmark performance indicators. The fifth module is used to select the maximum feasible sampling step size to determine the next sampling interval when the set of feasible sampling step sizes is not empty and the joint risk index has not reached the emergency risk threshold; otherwise, the minimum sampling step size is used to determine the next sampling interval; and the energy storage frequency response power command is updated according to the next sampling interval.

[0013] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described energy storage frequency response combined aperiodic sampling control method.

[0014] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the above-described energy storage frequency response combined aperiodic sampling control method.

[0015] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described energy storage frequency response combined aperiodic sampling control method.

[0016] Compared with the prior art, the positive and progressive effects of the present invention are as follows: The energy storage frequency response joint aperiodic sampling control method provided by this invention overcomes the shortcomings of existing technologies where the sampling interval is determined solely based on a single frequency index, neglecting the energy storage state of charge and node voltage safety margin. It integrates the state of charge safety margin, grid-connected node voltage safety margin, and frequency response status into the sampling interval decision, ensuring the safe operation of energy storage devices and the power grid while guaranteeing frequency support performance. It avoids problems such as overcharging, over-discharging, or node voltage exceeding limits, and effectively reduces the waste of communication and computing resources through aperiodic sampling. Specifically: The joint risk index simultaneously includes the operational risk corresponding to the state of charge safety margin, the operational risk corresponding to the node voltage safety margin, and the frequency risk corresponding to the frequency response state. This ensures that the sampling interval decision no longer relies solely on the frequency factor, but incorporates the safety constraints of the energy storage state of charge and the grid-connected node voltage. This prevents overcharging, over-discharging, or node voltage exceeding limits due to excessively long sampling intervals. The selection of feasible sampling step size sets is based on the allowable range corresponding to each operational safety margin, further ensuring that the selected sampling interval will not lead to energy storage state of charge exceeding limits, node voltage exceeding limits, or frequency exceeding limits within the prediction time range. When the feasible sampling step size set is not empty and the joint risk index has not reached the emergency risk threshold, the maximum feasible sampling step size is selected. This can automatically extend the sampling interval when the system is operating stably, reducing redundant control updates and lowering communication and computing resource consumption. When the feasible sampling step size set is empty or the joint risk index reaches the emergency risk threshold, the minimum sampling step size is used to determine the next sampling interval. This can ensure the timeliness of control updates and avoid control update lag when the system risk is high.

[0017] Furthermore, by clarifying the specific composition of the operating status data, reliable data sources are provided for determining the frequency response status, state-of-charge safety margin, node voltage safety margin, and frequency safety margin. The calculation methods for frequency deviation and frequency change rate directly reflect the degree and trend of the system frequency deviating from the rated state, providing accurate and executable input quantities for subsequent calculation of frequency safety margin, determination of frequency risk, and generation of energy storage frequency response power commands.

[0018] Furthermore, a joint risk index is obtained by weighted summation of the three types of risks, which can simultaneously characterize the degree of frequency disturbance, the risk of energy storage charge state exceeding the limit, and the risk of node voltage exceeding the limit, providing a unified quantitative basis for the adaptive adjustment of the sampling interval.

[0019] Furthermore, it provides a quantitative estimate of the future state of the system for the selection of feasible sampling step size sets, so that the determination of the sampling interval is based on the prediction of future safety, rather than solely on the current state, thereby further reducing the risks of overcharging, over-discharging, and node voltage exceeding limits in energy storage.

[0020] Furthermore, by explicitly determining whether the predicted state meets the allowable range according to the upper and lower limits of the state of charge, the upper and lower limits of the node voltage, and the frequency safety limit, and by using the benchmark performance index under the condition of no more than one sampling step as a performance constraint, the selection of feasible sampling step size sets ensures both safety and control performance. The predicted performance index, as a comprehensive measure of the deviation of the system state from the expected state within the time range corresponding to the candidate sampling step size, can prevent a significant decrease in control performance due to excessive pursuit of longer sampling intervals. By clarifying the selection rules for the maximum and minimum feasible sampling step sizes and their product relationship with the basic sampling period, the determination of the next sampling interval has a clear and executable basis. The update method of the energy storage frequency response power command generates power commands based on frequency deviation and frequency change rate, and determines the upper and lower power limits based on the safety margins of the state of charge and the node voltage for amplitude correction, ensuring that the energy storage output provides frequency support without exceeding the safety constraints of the energy storage state of charge and node voltage.

[0021] The energy storage frequency response joint aperiodic sampling control system provided by this invention can jointly consider the energy storage state of charge safety margin, node voltage safety margin and frequency response state for aperiodic sampling control, ensuring the safe operation of energy storage equipment and grid while guaranteeing frequency support performance, and reducing redundant control updates. Attached Figure Description

[0022] The accompanying drawings are provided to further understand the invention and constitute a part of this invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0023] Figure 1 This is a schematic diagram of the system structure according to one embodiment of the present invention; Figure 2 This is a flowchart illustrating one embodiment of the present invention; Figure 3 Comparison of grid frequency waveforms under the influence of energy storage in frequency response; Figure 4 The graph shows the changes in energy storage output power, energy storage state of charge, and grid connection node voltage. Figure 5 This is a graph showing the changes in joint risk indicators, non-periodic sampling intervals, and cumulative control update times.

[0024] The components include: 1. Grid connection node; 2. Energy storage system; 3. Energy storage converter; 4. Frequency measurement module; 5. Voltage measurement module; 6. State of charge estimation module; 7. Joint margin and risk calculation module; 8. Aperiodic sampling decision module; and 9. Frequency response controller. Detailed Implementation

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

[0026] With the increasing integration of new energy power generation and power electronic equipment into the power grid, the equivalent inertia of the power system is decreasing, and the frequency change rate is accelerating, making system frequency security issues increasingly prominent. Energy storage systems, characterized by fast power response, strong bidirectional regulation capability, and flexible control, have become an important regulation resource for primary frequency regulation, rapid frequency response, and inertia support in the power grid. Existing energy storage frequency response control methods mostly adopt fixed-period sampling and fixed-period control update methods. While this method is simple to implement, it leads to a waste of communication and computing resources when the system frequency is stable. When frequency disturbances occur, the fixed sampling period may cause control update lag, increasing the risk of frequency exceeding limits. Existing event-triggered and self-triggered control methods mainly rely on a single indicator, such as frequency deviation or frequency change rate, when selecting the sampling interval. They do not fully consider the impact of the energy storage's state-of-charge safety margin and the grid-connected node voltage safety margin on the energy storage's participation in the frequency response process, which may lead to safety issues such as overcharging, over-discharging, or node voltage exceeding limits during the frequency response process.

[0027] Based on the above background, this invention provides a joint aperiodic sampling control method for energy storage frequency response. By collecting operational status data of energy storage grid-connected nodes, the method determines the frequency response status and various types of operational safety margins, including state-of-charge safety margin, node voltage safety margin, and frequency safety margin. Based on each operational safety margin, the corresponding operational risk is determined, and based on the frequency response status, the frequency risk is determined. The joint risk index is obtained by weighted summation of each operational risk and the frequency risk. A candidate sampling step size set is set, and the system state within the time range corresponding to each candidate sampling step size is predicted based on the operational status data. Based on each operational safety margin, it is determined whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range. Candidate sampling step sizes that meet the allowable range and whose predicted performance index does not exceed the benchmark performance index are combined into a feasible sampling step size set. When the feasible sampling step size set is not empty and the joint risk index has not reached the emergency risk threshold, the largest feasible sampling step size is selected to determine the next sampling interval; otherwise, the smallest sampling step size is used to determine the next sampling interval, and the energy storage frequency response power command is updated according to the next sampling interval. Therefore, by combining the energy storage state of charge safety margin, node voltage safety margin, and frequency response status in the sampling interval decision process, the safe operation of energy storage devices and the power grid can be taken into account while ensuring frequency support performance, and redundant control updates can be reduced.

[0028] The technical solutions in the embodiments of the present invention will now be clearly and completely described in conjunction with the accompanying drawings.

[0029] Example 1 This embodiment provides a joint aperiodic sampling control method for energy storage frequency response, which is applied to an energy storage grid-connected frequency response control system. The energy storage grid-connected frequency response control system may include an energy storage system 2, an energy storage converter 3, a frequency measurement module 4, a voltage measurement module 5, a state of charge estimation module 6, a joint margin and risk calculation module 7, an aperiodic sampling decision module 8, and a frequency response controller 9. The energy storage system 2 is connected to the grid connection node 1 via the energy storage converter 3. The frequency measurement module 4, voltage measurement module 5, and state of charge estimation module 6 respectively provide frequency, voltage, and energy storage state of charge information to the aperiodic sampling decision module 8.

[0030] The energy storage frequency response joint aperiodic sampling control method in this embodiment includes the following steps: Step S1: Collect the operating status data of the energy storage grid-connected nodes, and determine the frequency response status and various types of operating safety margins based on the operating status data. The operating safety margins include the state-of-charge safety margin, the node voltage safety margin, and the frequency safety margin.

[0031] In this embodiment, at the j-th sampling time, the grid frequency of the energy storage grid-connected node is acquired by the frequency measurement module 4, the grid-connected node voltage is acquired by the voltage measurement module 5, the energy storage state of charge is obtained by the state of charge estimation module 6, and the current output power of the energy storage is also acquired. The acquired operating status data is used to subsequently determine the frequency response status and various operating safety margins.

[0032] The frequency response state characterizes the degree to which the frequency of the energy storage grid-connected node deviates from its rated state and the trend of frequency change. The specific method for determining the frequency response state will be further explained in subsequent embodiments. The state of charge safety margin characterizes the safe distance between the current state of charge of the energy storage and the allowable upper and lower limits of the state of charge. The node voltage safety margin characterizes the safe distance between the voltage of the energy storage grid-connected node and the allowable upper and lower limits of the node voltage. The frequency safety margin characterizes the degree to which the current frequency deviates from the allowable range, i.e., the safe distance between the current frequency state and the allowable frequency limit. The specific calculation methods for each of the above operating safety margins will be described in detail in subsequent embodiments.

[0033] The frequency response state and each operational safety margin determined in step S1 provide input for the calculation of the joint risk index in step S2, and also provide a basis for judging whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range in step S4.

[0034] Step S2: Determine the corresponding operational risks based on each operational safety margin, and determine the frequency risks based on the frequency response status. Then, weight and sum the operational risks and frequency risks to obtain a joint risk index.

[0035] In this embodiment, the state of charge (SCC) safety margin is used to determine the risk of SCC exceeding limits; the smaller the SCC safety margin, the greater the risk of SCC exceeding limits. The node voltage safety margin is used to determine the risk of node voltage exceeding limits; the smaller the node voltage safety margin, the greater the risk of node voltage exceeding limits. The frequency response state is used to determine the frequency risk. The SCC risk, node voltage exceeding limits risk, and frequency risk are multiplied by their respective weighting coefficients and then summed to obtain the joint risk index.

[0036] The joint risk index is used to comprehensively characterize the operational risks of energy storage participating in the grid frequency response process. The larger the joint risk index, the more significant the system frequency disturbance, and the closer the energy storage state of charge or node voltage is to the safety boundary, and the shorter the next sampling interval should be accordingly. The smaller the joint risk index, the more stable the system operation, and the more appropriate the next sampling interval can be.

[0037] Step S3: Set a set of candidate sampling step sizes and predict the system state within the time range corresponding to each candidate sampling step size based on the running status data.

[0038] In this embodiment, the candidate sampling step size set consists of multiple discrete sampling step sizes, and the product of each candidate sampling step size and the basic sampling period constitutes the corresponding candidate sampling interval. For each candidate sampling step size, the system state within the time range covered by the current sampling time is predicted based on the operating state data at the current sampling moment. The system state includes the predicted grid frequency, predicted node voltage, and predicted energy storage state of charge.

[0039] The system state corresponding to each candidate sampling step size predicted in step S3 is used for feasibility judgment in step S4, providing a basis for screening feasible sampling step sizes.

[0040] Step S4: Based on each operational safety margin, determine whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range, and form a set of feasible sampling step sizes by selecting candidate sampling step sizes that meet the allowable range and whose predicted performance indicators do not exceed the benchmark performance indicators.

[0041] In this embodiment, the predicted state of charge (SBC) of the energy storage is determined based on the SBC safety margin to ensure it falls within the upper and lower limits of the permissible SBC. Similarly, the predicted node voltage is determined based on the node voltage safety margin to ensure it falls within the upper and lower limits of the permissible node voltage. Furthermore, the predicted grid frequency is determined based on the frequency safety margin to ensure that the frequency deviation does not exceed the maximum permissible frequency deviation and the rate of frequency change does not exceed the maximum permissible rate of frequency change. Candidate sampling step sizes that meet the above permissible range requirements are further evaluated to determine whether their prediction performance indicators do not exceed the baseline performance indicators. The prediction performance indicators are a comprehensive measure of the deviation of the system state from the desired state within the time range corresponding to each candidate sampling step size. The baseline performance indicators are the prediction performance indicators under the one-step sampling condition. Candidate sampling step sizes that simultaneously meet both the permissible range requirements and the prediction performance indicator requirements are combined to form a set of feasible sampling step sizes.

[0042] Step S5: When the set of feasible sampling step sizes is not empty and the joint risk index has not reached the emergency risk threshold, select the largest feasible sampling step size to determine the next sampling interval; otherwise, determine the next sampling interval with the smallest sampling step size; update the energy storage frequency response power command according to the next sampling interval.

[0043] In this embodiment, when the feasible sampling step size set is not empty and the joint risk indicator has not reached the emergency risk threshold, the sampling step size with the largest value is selected from the feasible sampling step size set, and the product of this sampling step size and the basic sampling period is used as the next sampling interval. When the feasible sampling step size set is empty or the joint risk indicator reaches or exceeds the emergency risk threshold, the product of the smallest sampling step size in the candidate sampling step size set and the basic sampling period is used as the next sampling interval.

[0044] After determining the next sampling interval, the frequency response controller 9 generates an energy storage frequency response power command based on the frequency response state at the current sampling time. It then determines the upper and lower limits of the energy storage power based on the state-of-charge safety margin and the node voltage safety margin, and performs amplitude limiting correction on the energy storage frequency response power command. When the grid frequency decreases, the controller controls the energy storage to release active power to the grid; when the grid frequency increases, the controller controls the energy storage to absorb active power from the grid.

[0045] This embodiment incorporates the safety margin of energy storage state of charge, the safety margin of node voltage, and the frequency response status into the sampling interval decision. When frequency disturbances are significant or the energy storage state of charge and node voltage are close to the safety boundary, the sampling interval is automatically shortened to ensure timely control updates. When the system is operating stably, the sampling interval is automatically increased to reduce unnecessary communication and computing resource consumption. This can ensure frequency support performance while taking into account the safe operation of energy storage devices and the power grid.

[0046] In a specific embodiment of the present invention, see Figure 2A method for joint aperiodic sampling control of energy storage frequency response includes the following steps: The specific process of step 1 is as follows: Step 1.1, the energy storage grid-connected frequency response control system includes grid nodes, energy storage system 2, energy storage converter 3, frequency measurement module 4, voltage measurement module 5, SOC estimation module, joint margin calculation module, non-periodic sampling decision module 8, and frequency response controller 9.

[0047] Step 1.2: Energy storage system 2 is connected to the grid node via energy storage converter 3. Frequency measurement module 4, voltage measurement module 5 and SOC estimation module provide frequency, voltage and energy storage status information to non-periodic sampling decision module 8, respectively.

[0048] The specific process of step 2 is as follows: Step 2.1, in the Second sampling time Collect power grid frequency Grid-connected node voltage Energy storage and the current output power of energy storage .

[0049] Step 2.2, in the The frequency deviation is calculated using the second sampling step and used to determine the degree of system frequency deviation. Its expression is:

[0050] In the formula, Indicates the first Frequency deviation at each sampling time; Indicates the first The power grid frequency collected at the next sampling time; This indicates the rated frequency of the power grid.

[0051] Step 2.3: Calculate the frequency change rate based on the frequency changes at adjacent sampling times, specifically as follows:

[0052] In the formula, Indicates the first Rate of frequency change at each sampling time; This represents the power grid frequency at the previous sampling time; This indicates the time interval between two consecutive samples.

[0053] The specific process of step 3 is as follows: Step 3.1, calculate the SOC safety margin. The SOC safety margin characterizes the safe distance between the current state of charge of the energy storage and its upper and lower limits. The smaller this value, the closer the energy storage is to the overcharge or over-discharge boundary. The SOC safety margin is:

[0054] In the formula, Indicates the first SOC safety margin at the next sampling time; Indicates the lower limit of SOC; This indicates the upper limit of SOC. The SOC safety margin is within the range [0,1]. When the calculation result is less than 0, it is set to 0; when the calculation result is greater than 1, it is set to 1. When the SOC or node voltage exceeds the limit, the corresponding safety margin is directly set to 0.

[0055] Step 3.2, calculate the node voltage safety margin. The node voltage safety margin is used to characterize the safe distance between the voltage of the energy storage grid-connected node and the upper and lower voltage limits, specifically:

[0056] In the formula, Indicates the first Safety margin of node voltage at the next sampling time; Indicates the lower limit of the allowable node voltage; This indicates the upper limit of the node voltage. The node voltage safety margin is within the range [0,1]. When the calculation result is less than 0, it is set to 0; when the calculation result is greater than 1, it is set to 1. When the SOC or node voltage exceeds the limit, the corresponding safety margin is directly set to 0.

[0057] Step 3.3, calculate the frequency safety margin. The frequency safety margin characterizes the safe distance between the current frequency deviation and the rate of frequency change and the allowable limit, specifically:

[0058] In the formula, Indicates the first Frequency safety margin at each sampling time; Indicates the maximum permissible frequency deviation; This represents the maximum allowable rate of frequency change. When the calculated result is less than 0, the frequency safety margin is set to 0.

[0059] The specific process of step 4 is as follows: Step 4.1: Construct SOC out-of-bounds risk based on SOC safety margin. The smaller the SOC safety margin, the greater the SOC out-of-bounds risk, specifically:

[0060] Step 4.2: Construct voltage over-limit risk based on node voltage safety margins. The smaller the node voltage safety margin, the greater the voltage over-limit risk, specifically:

[0061] Step 4.3: Construct frequency risk based on frequency deviation and frequency change rate, specifically as follows:

[0062] In the formula, Indicates frequency risk; This represents the frequency deviation weighting coefficient; This represents the frequency change rate weighting coefficient.

[0063] Step 4.4: Based on the obtained SOC out-of-bounds risk, node voltage out-of-limit risk, and frequency risk, construct a joint SOC-voltage-frequency risk index to comprehensively characterize the operational risks of energy storage participating in the grid frequency response process. Specifically:

[0064] In the formula, Indicates the first j Joint risk indicators at each sampling time Indicates frequency risk; This indicates the risk of SOC exceeding its limits; This indicates the risk of node voltage exceeding limits; , and These represent the weighting coefficients for frequency risk, SOC risk, and voltage risk, respectively. A larger joint risk index indicates more significant system frequency disturbances and that the energy storage SOC or node voltage is closer to the safety boundary, requiring a correspondingly shorter next sampling interval. Conversely, a smaller joint risk index indicates a relatively stable system operation, allowing for an appropriate increase in the next sampling interval.

[0065] The specific process of step 5 is as follows: Step 5.1: Set a set of candidate sampling step sizes and predict the system state under different candidate sampling step sizes. The candidate sampling interval consists of several discrete sampling step sizes, specifically:

[0066] In the formula, Represents the set of candidate sampling step sizes; Indicates different candidate sampling step sizes; N This indicates the number of candidate sampling steps. The corresponding actual sampling interval is... ,in Indicates the first The next sampling interval is determined at the next sampling time; Indicates the candidate sampling step size; Indicates the basic sampling period.

[0067] Step 5.2: For each candidate sampling step size, based on the frequency, voltage, and SOC state of the stored energy at the current sampling time, predict the system state within the future sampling interval, and predict the state variables, specifically:

[0068] In the formula, Indicates the first The sampling time for the future... Predicted values ​​of the system state; , and These represent the predicted frequency, predicted node voltage, and predicted state of charge (SOC), respectively.

[0069] The prediction model employs a discrete-state recursive approach, progressively predicting the system state within the candidate sampling step size coverage time range based on the current grid frequency, frequency change rate, node voltage, energy storage SOC, and energy storage output power. Specifically, the grid frequency prediction is jointly determined by the system's equivalent inertia, damping coefficient, load power change, and energy storage output power; the node voltage prediction is determined by the voltage sensitivity corresponding to the current node voltage and changes in energy storage power; and the energy storage SOC prediction is determined by the current SOC, energy storage output power, rated energy storage capacity, and charge / discharge efficiency.

[0070] Step 5.3: Assess the feasibility of the predicted state under the candidate sampling interval. If the predicted SOC, node voltage, frequency deviation, and frequency change rate all meet the constraints, then the candidate sampling interval is considered to meet the prediction feasibility requirements.

[0071] The specific process of step 6 is as follows: Step 6.1: All candidate sampling step sizes that satisfy the prediction feasibility, performance constraints, and joint safety margin constraints are grouped into a feasible sampling step size set, specifically as follows:

[0072] In the formula, Indicates the first The set of feasible sampling step sizes at each sampling time; Show the set of candidate sampling step sizes. Indicates the current state within the candidate sampling interval The predicted feasible region is as follows; Indicates the candidate sampling interval Predictive performance metrics under the following conditions; This represents the baseline performance index under one-step sampling. , and These represent the SOC safety margin, node voltage safety margin, and frequency safety margin within the predicted M steps, respectively.

[0073] Step 6.2: If the set of feasible sampling step sizes is not empty, then select the maximum value from the set of feasible sampling step sizes as the next sampling step size to be determined at the i-th sampling time, specifically as follows:

[0074] In the formula, Indicates the first The optimal sampling step size is determined at the next sampling time.

[0075] The next sampling interval is obtained based on the determined optimal sampling step size, specifically as follows:

[0076] In the formula, Indicates the first The next sampling interval is determined at the next sampling time; Indicates the candidate sampling step size; Indicates the basic sampling period.

[0077] Step 6.3: If the feasible sampling step size set is empty, or the joint risk indicator exceeds the emergency risk threshold, then the next sampling step size is set to the minimum sampling step size, specifically:

[0078] In the formula, Indicates the minimum sampling step size; This indicates the emergency risk threshold. This processing method enables the energy storage frequency response controller 9 to update the power command with the shortest sampling interval when the system risk is high.

[0079] The specific process of step 7 is as follows: After determining the next sampling interval, the frequency response controller 9 generates an energy storage power command based on the current frequency deviation and frequency change rate, and performs limiting correction in conjunction with the SOC safety margin and node voltage safety margin, specifically:

[0080] In the formula, Indicates the first The active power command of the energy storage at each sampling moment; and These are the lower and upper power limits determined by combining the SOC safety margin and the node voltage safety margin, respectively. This represents the saturation limiting function. This invention specifies that energy storage absorbing power is positive and discharging to the grid is negative. When the grid frequency decreases, the controller generates a negative power command to cause the energy storage to release active power to the grid; when the grid frequency increases, it generates a positive power command to cause the energy storage to absorb active power.

[0081] Example 2 In this embodiment, the specific content of the operating status data, the determination method of the frequency response status, the specific calculation method of various operating safety margins, the determination method of the joint risk indicators, the system status prediction method, the determination method of the feasible sampling step size set, and the update method of the energy storage frequency response power command are further explained.

[0082] In this embodiment, the operating status data includes the grid frequency, node voltage, energy storage state of charge, and current energy storage output power of the energy storage grid-connected node.

[0083] The frequency response state is determined as follows: the frequency deviation is calculated based on the grid frequency and the grid rated frequency; the frequency change rate is calculated based on the grid frequency at the current sampling time and the previous sampling time and the interval between two adjacent sampling times.

[0084] Specifically, at the j-th sampling time, the frequency deviation is calculated based on the difference between the grid frequency collected at the j-th sampling time and the grid's rated frequency. The frequency change rate is calculated based on the grid frequencies at the j-th sampling time and the previous sampling time, as well as the actual time interval between two adjacent sampling times; that is, the frequency change rate is the ratio of the difference in grid frequencies at two adjacent sampling times to the time interval between two adjacent sampling times.

[0085] The state of charge (SOC) safety margin is determined as follows: when the SOC of the energy storage is greater than or equal to the lower limit of the allowable SOC and less than or equal to the upper limit of the allowable SOC, the ratio of the smaller of the distances between the SOC and the upper and lower limits of the allowable SOC to the difference between the upper and lower limits of the allowable SOC is used as the SOC safety margin; when the SOC of the energy storage exceeds the range from the lower to the upper limit of the allowable SOC, the SOC safety margin is set to zero.

[0086] The state-of-charge (SOC) safety margin characterizes the safe distance between the current SOC of an energy storage system and the allowable upper or lower limits of SOC. The SOC safety margin is within the range [0,1]. When the SOC of the energy storage system is located at the center of the allowable range, the SOC safety margin takes a larger value; the closer the SOC of the energy storage system is to the upper or lower allowable limits of SOC, the smaller the SOC safety margin, indicating that the energy storage system is closer to the overcharge or over-discharge boundary. When the SOC of the energy storage system exceeds the allowable range, the SOC safety margin is directly set to zero.

[0087] The node voltage safety margin is determined as follows: when the node voltage is greater than or equal to the lower allowable limit and less than or equal to the upper allowable limit, the ratio of the smaller of the distances between the node voltage and the upper and lower allowable limits to the difference between the upper and lower allowable limits is used as the node voltage safety margin; when the node voltage exceeds the range from the lower to the upper allowable limit, the node voltage safety margin is set to zero.

[0088] The node voltage safety margin is used to characterize the safe distance between the grid-connected energy storage node voltage and the upper or lower allowable limits of the node voltage. The node voltage safety margin is within the range [0,1]. The closer the node voltage is to the upper or lower allowable limit, the smaller the node voltage safety margin, indicating that the node voltage is closer to the limit boundary. When the node voltage exceeds the allowable range, the node voltage safety margin is directly set to zero.

[0089] The frequency safety margin is determined as follows: the smaller of the ratio of the absolute value of the frequency deviation to the maximum permissible frequency deviation and the ratio of the absolute value of the frequency change rate to the maximum permissible frequency change rate is used as the frequency safety margin; when the absolute value of the frequency deviation is greater than the maximum permissible frequency deviation or the absolute value of the frequency change rate is greater than the maximum permissible frequency change rate, the frequency safety margin is set to zero.

[0090] The frequency safety margin characterizes the safe distance between the current frequency deviation and the corresponding allowable limit. The frequency safety margin is within the interval [0,1]. The closer the absolute value of the frequency deviation or the absolute value of the frequency change rate is to the corresponding allowable limit, the smaller the frequency safety margin. When the absolute value of the frequency deviation is greater than the maximum allowable frequency deviation or the absolute value of the frequency change rate is greater than the maximum allowable frequency change rate, it indicates that the frequency has exceeded the allowable limit, and the frequency safety margin is directly set to zero.

[0091] In this embodiment, operational risks include state-of-charge (POC) exceeding risk, node voltage exceeding risk, and risks corresponding to frequency safety margin. The joint risk index is determined as follows: POC exceeding risk is determined using a negative exponential function of the POC safety margin; node voltage exceeding risk is determined using a negative exponential function of the node voltage safety margin; and frequency risk is determined using the ratio of the absolute value of the frequency deviation to the maximum permissible frequency deviation, the ratio of the absolute value of the frequency change rate to the maximum permissible frequency change rate, and the corresponding weighting coefficients. The joint risk index is obtained by multiplying POC exceeding risk, node voltage exceeding risk, and frequency risk by their respective weighting coefficients and then summing them.

[0092] Specifically, the smaller the state of charge (SOC) safety margin, the greater the risk of SOC exceeding limits; the risk of SOC exceeding limits increases as the SOC safety margin decreases. Similarly, the smaller the node voltage safety margin, the greater the risk of node voltage exceeding limits; the risk of node voltage exceeding limits increases as the node voltage safety margin decreases. Frequency risk is determined based on the proximity of the absolute value of the frequency deviation to the maximum permissible frequency deviation and the absolute value of the rate of change of frequency to the maximum permissible rate of change of frequency, as well as the weighting coefficients for frequency deviation and rate of change of frequency. The joint risk index is the sum of the frequency risk, SOC exceeding limits risk, and node voltage exceeding limits risk multiplied by their respective weighting coefficients.

[0093] In this embodiment, the system state within the time range corresponding to each candidate sampling step is predicted as follows: the system state includes the predicted grid frequency, the predicted node voltage, and the predicted energy storage state of charge; a candidate sampling step set consisting of multiple discrete sampling step sizes is set up, and based on the grid frequency, frequency change rate, node voltage, energy storage state of charge, and current energy storage output power at the current sampling time, a discrete state recursive model is used to progressively predict the predicted grid frequency, predicted node voltage, and predicted energy storage state of charge within the time range covered by each candidate sampling step size.

[0094] The predicted grid frequency is determined by the system's equivalent inertia, damping coefficient, load power change, and current energy storage output power. The predicted node voltage is determined by the current node voltage and the voltage sensitivity corresponding to changes in energy storage power. The predicted energy storage state of charge is determined by the current energy storage state of charge, current energy storage output power, rated energy storage capacity, and charge / discharge efficiency.

[0095] Specifically, the candidate sampling step size set consists of multiple discrete sampling step sizes, which can be represented as {h1, h2, ..., hN}, where N represents the number of candidate sampling step sizes. The product of each candidate sampling step size and the basic sampling period constitutes the corresponding candidate sampling interval. For each candidate sampling step size, starting from the current sampling time, predictions are made step-by-step according to the step size of the basic sampling period until the time range corresponding to that candidate sampling step size is covered. The predicted grid frequency for each step is determined based on the predicted grid frequency, frequency change rate, system equivalent inertia, damping coefficient, load power change, and current energy storage output power of the previous prediction step. The predicted node voltage is determined based on the current node voltage and the voltage sensitivity corresponding to the energy storage power change. The predicted energy storage state of charge is determined based on the current energy storage state of charge, current energy storage output power, rated energy storage capacity, and charge / discharge efficiency.

[0096] In this embodiment, the method for determining whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range based on each operational safety margin is as follows: determining whether the predicted energy storage state of charge is within the allowable upper and lower limits of the state of charge based on the state of charge safety margin; determining whether the predicted node voltage is within the allowable upper and lower limits of the node voltage based on the node voltage safety margin; and determining whether the predicted grid frequency meets the requirements of the frequency deviation not exceeding the maximum allowable frequency deviation and the frequency change rate not exceeding the maximum allowable frequency change rate based on the frequency safety margin.

[0097] The condition for the predictive performance index not exceeding the baseline performance index is that the predictive performance index corresponding to each candidate sampling step size does not exceed the baseline performance index under the one-step sampling condition. The predictive performance index is a comprehensive measure of the deviation of the system state from the desired state within the time range corresponding to each candidate sampling step size. The predictive performance index is used to evaluate the degree of deviation between the predicted trajectory of the system state and the desired state within the corresponding time range when using a certain candidate sampling step size. When the predictive performance index corresponding to a certain candidate sampling step size does not exceed the baseline performance index under the one-step sampling condition, it indicates that the predictive control performance under that candidate sampling step size is not lower than the baseline control performance under the one-step sampling condition.

[0098] The method for determining the next sampling interval by selecting the largest feasible sampling step size and otherwise by using the smallest sampling step size is as follows: when the set of feasible sampling step sizes is not empty and the joint risk indicator has not reached the emergency risk threshold, the sampling step size with the largest value is selected from the set of feasible sampling step sizes, and the product of the sampling step size and the basic sampling period is used as the next sampling interval; when the set of feasible sampling step sizes is empty or the joint risk indicator has reached or exceeded the emergency risk threshold, the product of the smallest sampling step size in the candidate sampling step size set and the basic sampling period is used as the next sampling interval.

[0099] When the set of feasible sampling step sizes is empty, it indicates that there are no candidate sampling step sizes that meet the prediction feasibility and performance constraints. In this case, control updates should be performed using the sampling interval corresponding to the minimum sampling step size to ensure that the energy storage frequency response controller 9 updates the power command with the shortest sampling interval. When the joint risk index reaches or exceeds the emergency risk threshold, it indicates that the system operation risk is already at a high level. In this case, control updates should also be performed using the sampling interval corresponding to the minimum sampling step size to ensure that the energy storage frequency response controller 9 responds to system state changes in a timely manner.

[0100] The method for updating the energy storage frequency response power command in the next sampling interval is as follows: when the next sampling interval arrives, the energy storage frequency response power command is generated based on the frequency deviation and frequency change rate at the current sampling time; the upper limit and lower limit of energy storage power are determined based on the state of charge safety margin and the node voltage safety margin, and the energy storage frequency response power command is limited and corrected using the upper limit and lower limit of energy storage power; when the grid frequency decreases, the energy storage is controlled to release active power to the grid; when the grid frequency increases, the energy storage is controlled to absorb active power from the grid.

[0101] Optionally, the energy storage can be designated as absorbing positive power and discharging to the grid as negative. When the grid frequency decreases, the controller generates a negative power command to cause the energy storage to release active power to the grid; when the grid frequency increases, the controller generates a positive power command to cause the energy storage to absorb active power from the grid. The upper and lower limits of the energy storage power are determined based on the state-of-charge safety margin and the node voltage safety margin, to ensure that the energy storage output does not cause the energy storage state of charge to exceed the limit or the node voltage to exceed the limit.

[0102] This embodiment integrates the specific calculation methods of state-of-charge safety margin, node voltage safety margin, and frequency safety margin, the determination method of joint risk indicators, and the system state prediction method into the joint aperiodic sampling control method for energy storage frequency response. This allows the determination of the sampling interval to simultaneously consider three factors: frequency response state, energy storage state of charge, and grid-connected node voltage. The sampling interval is automatically shortened when there are frequency disturbances, the energy storage state of charge approaches the boundary, or the node voltage approaches the limit. The sampling interval is automatically extended when the system is stable, thus balancing frequency support performance and the safe operation of energy storage equipment and the power grid.

[0103] This embodiment also provides an energy storage frequency response combined aperiodic sampling control system, including a first module, a second module, a third module, a fourth module, and a fifth module.

[0104] The first module is used to collect the operating status data of the energy storage grid-connected nodes, and determine the frequency response status and various types of operating safety margins based on the operating status data. The operating safety margins include the state-of-charge safety margin, the node voltage safety margin, and the frequency safety margin. The functions implemented by the first module correspond to the functions implemented in step S1 of the aforementioned energy storage frequency response joint aperiodic sampling control method.

[0105] The second module is used to determine the corresponding operational risks based on each operational safety margin, and to determine the frequency risks based on the frequency response status. It then weights and sums the operational risks and frequency risks to obtain a joint risk index. The function implemented by the second module corresponds to the function implemented in step S2 of the aforementioned joint aperiodic sampling control method for energy storage frequency response.

[0106] The third module is used to set the candidate sampling step size set and predict the system state within the time range corresponding to each candidate sampling step size based on the operating status data. The function implemented by the third module corresponds to the function implemented in step S3 of the aforementioned energy storage frequency response joint aperiodic sampling control method.

[0107] The fourth module is used to determine whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range based on each operational safety margin, and to form a feasible sampling step size set by selecting candidate sampling step sizes that meet the allowable range and whose predicted performance indicators do not exceed the benchmark performance indicators. The function implemented by the fourth module corresponds to the function implemented in step S4 of the aforementioned energy storage frequency response joint aperiodic sampling control method.

[0108] The fifth module is used to select the maximum feasible sampling step size to determine the next sampling interval when the set of feasible sampling step sizes is not empty and the joint risk index has not reached the emergency risk threshold; otherwise, it determines the next sampling interval with the minimum sampling step size; and updates the energy storage frequency response power command according to the next sampling interval. The function implemented by the fifth module corresponds to the function implemented in step S5 of the aforementioned energy storage frequency response joint aperiodic sampling control method.

[0109] The specific implementation methods, parameter determination methods, and judgment logic of the above modules are consistent with the corresponding steps in the aforementioned energy storage frequency response joint aperiodic sampling control method, and will not be described again.

[0110] Example 3 This embodiment provides a complete process embodiment and a verification embodiment of the energy storage frequency response combined non-periodic sampling control method, which implements the technical solutions in the aforementioned embodiments into a complete energy storage grid-connected frequency response control work chain.

[0111] like Figure 1 As shown, the energy storage grid-connected frequency response control system includes a grid-connected node 1, an energy storage system 2, an energy storage converter 3, a frequency measurement module 4, a voltage measurement module 5, a state of charge estimation module 6, a joint margin and risk calculation module 7, an aperiodic sampling decision module 8, and a frequency response controller 9. The energy storage system 2 is connected to the grid-connected node 1 via the energy storage converter 3. The frequency measurement module 4, voltage measurement module 5, and state of charge estimation module 6 acquire the grid frequency, grid-connected node voltage, and energy storage state of charge, respectively. The joint margin and risk calculation module 7 calculates the frequency deviation, frequency change rate, state of charge safety margin, node voltage safety margin, frequency safety margin, and joint risk index based on these parameters. The aperiodic sampling decision module 8 predicts the system state under multiple candidate sampling intervals, filters candidate intervals that meet the prediction feasibility, performance constraints, and joint safety margin constraints, and selects the largest feasible interval; when the feasible set is empty or the joint risk reaches the emergency risk threshold, the smallest sampling interval is used. The frequency response controller 9 generates energy storage power commands based on frequency deviation and frequency change rate, and performs limiting corrections in conjunction with the state of charge safety margin and node voltage safety margin.

[0112] The complete execution flow of the energy storage frequency response combined aperiodic sampling control method is as follows: At the j-th sampling time, frequency measurement module 4 acquires the grid frequency, voltage measurement module 5 acquires the grid-connected node voltage, and state of charge estimation module 6 acquires the energy storage state of charge, while simultaneously obtaining the current output power of the energy storage. Joint margin and risk calculation module 7 calculates the frequency deviation based on the acquired grid frequency and the grid's rated frequency, and calculates the rate of change of frequency based on the grid frequency at the current sampling time and the previous sampling time, as well as the interval between two adjacent sampling times. Joint margin and risk calculation module 7 determines the state of charge safety margin based on the distances between the energy storage state of charge and the upper and lower allowable limits of the state of charge, determines the node voltage safety margin based on the distances between the grid-connected node voltage and the upper and lower allowable limits of the node voltage, and determines the frequency safety margin based on the proximity of the absolute value of the frequency deviation to the maximum allowable frequency deviation and the proximity of the absolute value of the rate of change of frequency to the maximum allowable rate of change of frequency.

[0113] The joint margin and risk calculation module 7 determines the state-of-charge risk based on the negative exponential function of the state-of-charge safety margin, determines the node voltage risk based on the negative exponential function of the node voltage safety margin, and determines the frequency risk based on the ratio of the absolute value of the frequency deviation to the maximum allowable frequency deviation, the ratio of the absolute value of the frequency change rate to the maximum allowable frequency change rate, and the corresponding weighting coefficients. The joint risk index is obtained by multiplying the state-of-charge risk, node voltage risk, and frequency risk by their respective weighting coefficients and then summing them.

[0114] The aperiodic sampling decision module 8 sets a candidate sampling step size set consisting of multiple discrete sampling step sizes. The product of each candidate sampling step size and the basic sampling period constitutes the corresponding candidate sampling interval. Based on the grid frequency, frequency change rate, node voltage, energy storage state of charge (SOC), and current energy storage output power at the current sampling time, the aperiodic sampling decision module 8 uses a discrete state recursive model to progressively predict the predicted grid frequency, predicted node voltage, and predicted energy storage SOC within each candidate sampling interval. The predicted grid frequency is jointly determined by the system's equivalent inertia, damping coefficient, load power change, and current energy storage output power; the predicted node voltage is determined by the current node voltage and the voltage sensitivity corresponding to changes in energy storage power; and the predicted energy storage SOC is determined by the current energy storage SOC, current energy storage output power, rated energy storage capacity, and charging / discharging efficiency.

[0115] For each candidate sampling step, the aperiodic sampling decision module 8 determines whether the predicted state of charge (SBC) of the energy storage within its corresponding time range is within the upper and lower limits of the SBC, whether the predicted node voltage is within the upper and lower limits of the node voltage, whether the predicted grid frequency meets the requirements of the frequency deviation not exceeding the maximum allowable frequency deviation and the frequency change rate not exceeding the maximum allowable frequency change rate, and whether the prediction performance index corresponding to the candidate sampling step does not exceed the benchmark performance index under the one-step sampling condition. Candidate sampling steps that simultaneously meet the above conditions are combined into a feasible sampling step set.

[0116] When the feasible sampling step size set is not empty and the joint risk indicator has not reached the emergency risk threshold, the non-periodic sampling decision module 8 selects the sampling step size with the largest value from the feasible sampling step size set, and uses the product of this sampling step size and the basic sampling period as the next sampling interval. When the feasible sampling step size set is empty or the joint risk indicator reaches or exceeds the emergency risk threshold, the product of the smallest sampling step size in the candidate sampling step size set and the basic sampling period is used as the next sampling interval.

[0117] When the next sampling interval arrives, the frequency response controller 9 generates an energy storage frequency response power command based on the frequency deviation and rate of change of the current sampling time. It determines the upper and lower limits of the energy storage power based on the state-of-charge safety margin and the node voltage safety margin, and uses these limits to limit and correct the energy storage frequency response power command. When the grid frequency decreases, the controller controls the energy storage to release active power to the grid; when the grid frequency increases, the controller controls the energy storage to absorb active power from the grid.

[0118] To verify the effectiveness of the method described in this embodiment, a low-order energy storage grid-connected frequency response simulation model was established, setting three operating conditions: no energy storage response, fixed-period sampling energy storage control, and non-periodic sampling energy storage control as described in this embodiment. The sampling period for fixed-period sampling is 0.10 s, and the sampling interval for non-periodic sampling ranges from 0.02 s to 0.40 s. The simulation duration is 20 s, the allowable state of charge range is 0.20 to 0.90, and the allowable grid-connected node voltage range is 0.95 to 1.05 per unit. A load disturbance of 0.42 per unit is applied at 2.03 s, and a node voltage disturbance is applied from 9.00 s to 10.00 s.

[0119] like Figure 3 As shown, the lowest frequency point in the no-energy-storage response condition is 49.6933Hz, while the lowest frequency points in the fixed-period sampling condition and the non-periodic sampling condition of this embodiment are 49.9069Hz and 49.9062Hz, respectively. This indicates that the non-periodic sampling control method of this embodiment can achieve frequency support performance that is basically consistent with that of high-speed fixed-period sampling.

[0120] like Figure 4 As shown, during frequency disturbances, the energy storage rapidly discharges and provides active power support to the grid. The energy storage state of charge remains within the range of 0.20 to 0.90, and the grid-connected node voltage remains within the range of 0.95 to 1.05 per unit. This demonstrates that the aperiodic sampling control method in this embodiment can balance frequency response and energy storage grid-connected safety constraints, providing frequency support while avoiding overcharging, over-discharging, and node voltage exceeding limits.

[0121] like Figure 5 As shown, when frequency disturbances or node voltage safety margins decrease, the joint risk index increases, and the sampling interval automatically shortens; after the system state returns to stability, the sampling interval increases to 0.40s. Within 20s, the fixed-periodic control updates 201 times, and the aperiodic control updates 111 times, reducing the number of control updates by approximately 44.8%. This demonstrates that the aperiodic sampling control method in this embodiment can adaptively adjust the sampling interval according to the system operating state, reducing redundant control updates and lowering communication and computing resource consumption.

[0122] Based on the same inventive concept, embodiments of this application provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of a joint aperiodic sampling control method for energy storage frequency response. The memory may include main memory, such as high-speed random access memory, or it may also include non-volatile memory, such as at least one disk storage device. The processor, network interface, and memory are interconnected via an internal bus, which may be an industry-standard architecture bus, a peripheral component interconnection standard bus, an extended industry-standard architecture bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory is used to store the program; specifically, the program may include program code, which includes computer operation instructions. The memory may include main memory and non-volatile memory, and provides instructions and data to the processor.

[0123] Based on the same inventive concept, embodiments of this application provide a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the steps of the energy storage frequency response joint aperiodic sampling control method. Specifically, the computer-readable storage medium includes, but is not limited to, volatile memory and / or non-volatile memory. The volatile memory may include RAM (Random Access Memory) and / or cache memory, etc. The non-volatile memory may include ROM (Read-Only Memory), hard disk, flash memory, optical disk, magnetic disk, etc.

[0124] Based on the same inventive concept, this application provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, which, when executed by a computer device, cause the computer device to perform the steps of the above-described energy storage frequency response joint aperiodic sampling control method.

[0125] Finally, it should be noted that the embodiments listed above are merely one or more specific manifestations of the technical solution of this invention. Their purpose is to clearly illustrate the concept, principle, and application of this invention through specific examples, and is by no means intended to limit the scope of protection of this invention to these specific embodiments. In fact, the true value of this invention lies in its proposed technical ideas and innovations, rather than its manifestations or implementation methods.

[0126] For those skilled in the art, after thoroughly reading and understanding the technical solution of this invention, they are fully capable of making various changes, modifications, or equivalent substitutions to the specific implementation of the invention based on their own professional knowledge and skills. These changes may include, but are not limited to: adjusting the range of technical parameters, optimizing the algorithm flow to improve efficiency, and replacing some technical components to achieve better compatibility or reduce costs. As long as these modified technical solutions substantially retain the technical features claimed by the original invention, that is, they can still achieve the core functions and effects of this invention, then these changes should be considered to fall within the scope of protection of the pending claims of this invention.

[0127] Furthermore, with the continuous progress and development of technology, new technical means and methods are constantly emerging, which provides ample space for further improvement and perfection of this invention. Therefore, the scope of protection of this invention should also include reasonable and foresightful improvements and extensions based on existing technology. As long as these improvements and extensions do not depart from the basic principles and core concepts of this invention, they should be considered equivalents of this invention and are equally protected by patent rights.

Claims

1. A method for combined aperiodic sampling control of energy storage frequency response, characterized in that, Includes the following steps: S1. Collect the operating status data of the energy storage grid-connected nodes, and determine the frequency response status and various types of operating safety margins based on the operating status data. The operating safety margins include the state of charge safety margin, the node voltage safety margin, and the frequency safety margin. S2. Determine the corresponding operational risks based on each operational safety margin, and determine the frequency risks based on the frequency response status. Then, sum the weighted operational risks and frequency risks to obtain a joint risk index. S3. Set a set of candidate sampling step sizes and predict the system status within the time range corresponding to each candidate sampling step size based on the running status data. S4. Based on each operational safety margin, determine whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range, and form a set of feasible sampling step sizes for candidate sampling step sizes that meet the allowable range and whose predicted performance indicators do not exceed the benchmark performance indicators. S5. When the set of feasible sampling step sizes is not empty and the joint risk index has not reached the emergency risk threshold, select the largest feasible sampling step size to determine the next sampling interval; otherwise, use the smallest sampling step size to determine the next sampling interval. Update the energy storage frequency response power command according to the next sampling interval.

2. The energy storage frequency response combined aperiodic sampling control method according to claim 1, characterized in that, The operational status data includes the grid frequency, node voltage, energy storage state of charge, and current output power of the energy storage grid-connected node; The frequency response state is determined as follows: The frequency deviation is calculated based on the grid frequency and the grid rated frequency. The frequency change rate is calculated based on the grid frequency at the current sampling time and the previous sampling time, as well as the interval between two adjacent sampling times.

3. The energy storage frequency response combined aperiodic sampling control method according to claim 2, characterized in that, The method for determining the safety margin of the state of charge is as follows: When the energy storage state of charge is greater than or equal to the lower limit of the allowable state of charge and less than or equal to the upper limit of the allowable state of charge, the ratio of the smaller of the distances between the energy storage state of charge and the upper and lower limits of the allowable state of charge to the difference between the upper and lower limits of the allowable state of charge is used as the safety margin of the state of charge; when the energy storage state of charge exceeds the range from the lower to the upper limit of the allowable state of charge, the safety margin of the state of charge is set to zero. The method for determining the node voltage safety margin is as follows: When the node voltage is greater than or equal to the lower limit of the node voltage and less than or equal to the upper limit of the node voltage, the node voltage safety margin is the ratio of the smaller of the distances between the node voltage and the upper and lower limits of the node voltage to the difference between the upper and lower limits of the node voltage. When the node voltage exceeds the range from the lower to the upper limit of the node voltage, the node voltage safety margin is set to zero. The frequency safety margin is determined as follows: The frequency safety margin is defined as the smaller of the ratio of the absolute value of the frequency deviation to the maximum permissible frequency deviation and the ratio of the absolute value of the frequency change rate to the maximum permissible frequency change rate. When the absolute value of the frequency deviation is greater than the maximum permissible frequency deviation or the absolute value of the frequency change rate is greater than the maximum permissible frequency change rate, the frequency safety margin is set to zero.

4. The energy storage frequency response combined aperiodic sampling control method according to claim 3, characterized in that, Operational risks include risks of state of charge exceeding limits, risks of node voltage exceeding limits, and risks associated with frequency safety margins. The method for determining the joint risk indicators is as follows: The risk of state of charge exceeding the limit is determined by a negative exponential function of the state of charge safety margin. The risk of node voltage exceeding the limit is determined by a negative exponential function of the node voltage safety margin. The frequency risk is determined by the ratio of the absolute value of the frequency deviation to the maximum allowable frequency deviation, the ratio of the absolute value of the frequency change rate to the maximum allowable frequency change rate, and the corresponding weighting coefficients. The joint risk index is obtained by multiplying the risk of state of charge exceeding the limit, the risk of node voltage exceeding the limit, and the frequency risk by their respective weighting coefficients.

5. The energy storage frequency response combined aperiodic sampling control method according to claim 2, characterized in that, The method for predicting the system state within the time range corresponding to each candidate sampling step size is as follows: The system state includes the predicted grid frequency, predicted node voltage, and predicted energy storage state of charge. A candidate sampling step set consisting of multiple discrete sampling step sizes is set. Based on the grid frequency, frequency change rate, node voltage, energy storage state of charge, and current energy storage output power at the current sampling time, a discrete state recursive model is used to progressively predict the predicted grid frequency, predicted node voltage, and predicted energy storage state of charge within the time range covered by each candidate sampling step size. The predicted grid frequency is determined by the system's equivalent inertia, damping coefficient, load power change, and current energy storage output power; the predicted node voltage is determined by the current node voltage and the voltage sensitivity corresponding to the energy storage power change; and the predicted energy storage state of charge is determined by the current energy storage state of charge, current energy storage output power, rated energy storage capacity, and charging / discharging efficiency.

6. The energy storage frequency response combined aperiodic sampling control method according to claim 5, characterized in that, The method for determining whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range based on each operational safety margin is as follows: Based on the state of charge safety margin, determine whether the predicted state of charge of the energy storage is within the upper and lower limits of the allowable state of charge. Determine whether the predicted node voltage is within the allowable upper and lower limits of the node voltage based on the node voltage safety margin; Based on the frequency safety margin, determine whether the predicted power grid frequency meets the requirements that the frequency deviation does not exceed the maximum permissible frequency deviation and the frequency change rate does not exceed the maximum permissible frequency change rate; The method for determining the next sampling interval by selecting the largest feasible sampling step size, and otherwise by using the smallest sampling step size, is as follows: When the set of feasible sampling step sizes is not empty and the joint risk index has not reached the emergency risk threshold, the sampling step size with the largest value is selected from the set of feasible sampling step sizes, and the product of the sampling step size and the basic sampling period is used as the next sampling interval. When the feasible sampling step size set is empty or the joint risk index reaches or exceeds the emergency risk threshold, the product of the minimum sampling step size in the candidate sampling step size set and the basic sampling period is used as the next sampling interval. The method for updating the energy storage frequency response power command in the next sampling interval is as follows: When the next sampling interval arrives, an energy storage frequency response power command is generated based on the frequency deviation and frequency change rate at the current sampling time; the upper and lower limits of energy storage power are determined based on the state of charge safety margin and the node voltage safety margin, and the energy storage frequency response power command is limited and corrected using the upper and lower limits of energy storage power; when the grid frequency decreases, the energy storage is controlled to release active power to the grid; when the grid frequency increases, the energy storage is controlled to absorb active power from the grid. The condition under which the predicted performance index does not exceed the benchmark performance index is: The prediction performance index corresponding to each candidate sampling step size does not exceed the baseline performance index under the case of one sampling step. The prediction performance index is a comprehensive measure of the deviation of the system state from the expected state within the time range corresponding to each candidate sampling step size.

7. A frequency response combined aperiodic sampling control system for energy storage, characterized in that, include: The first module is used to collect the operating status data of the energy storage grid-connected nodes, and determine the frequency response status and various types of operating safety margins based on the operating status data. The operating safety margins include the state of charge safety margin, the node voltage safety margin, and the frequency safety margin. The second module is used to determine the corresponding operational risks based on each operational safety margin, and to determine the frequency risks based on the frequency response status. The joint risk index is obtained by weighted summation of each operational risk and the frequency risk. The third module is used to set the candidate sampling step size set and predict the system state within the time range corresponding to each candidate sampling step size based on the running status data. The fourth module is used to determine whether the system state corresponding to each candidate sampling step size meets the corresponding allowable range based on each operational safety margin, and to form a set of feasible sampling step sizes for candidate sampling step sizes that meet the allowable range and whose predicted performance indicators do not exceed the benchmark performance indicators. The fifth module is used to determine the next sampling interval by selecting the largest feasible sampling step size when the set of feasible sampling step sizes is not empty and the joint risk index has not reached the emergency risk threshold; otherwise, the next sampling interval is determined by the smallest sampling step size. Update the energy storage frequency response power command according to the next sampling interval.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the energy storage frequency response joint aperiodic sampling control method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the energy storage frequency response joint aperiodic sampling control method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the energy storage frequency response joint aperiodic sampling control method according to any one of claims 1 to 6.