Load oscillation early warning method and device, medium and program product

By acquiring the difference between the actual power output and the expected power output of the generator set in real time, and combining the difference threshold and a two-level early warning mechanism, the problem of low accuracy in load oscillation detection is solved, and effective early warning and protection of power grid safety are achieved.

CN120879536APending Publication Date: 2025-10-31CHINA RESOURCES POWER HEZE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510955716.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-11
Publication Date
2025-10-31

AI Technical Summary

Technical Problem

The accuracy of load oscillation detection in existing technologies is low, making it difficult to effectively warn of the impact on power grid security.

Method used

By acquiring the difference between the actual power output and the expected power output of the generator set in real time, the load oscillation frequency is determined using the difference threshold. The load oscillation frequency is updated when the difference meets certain conditions. Combined with a two-level early warning mechanism, early warning information is issued or a power grid disconnection command is sent.

Benefits of technology

It enables quantitative detection of the number of load oscillations, improves detection accuracy, and prevents the impact on power grid safety in a timely manner when load oscillations are severe.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120879536A_ABST
    Figure CN120879536A_ABST
Patent Text Reader

Abstract

The invention discloses a load oscillation early warning method and device, a medium and a program product. The method comprises the steps of obtaining actual electric quantity generated after a generator set is connected to a power grid in real time, and determining a difference value between the actual electric quantity and expected electric quantity; if the absolute value of the first difference value at the first moment is greater than or equal to a preset first difference value threshold value, and the absolute value of the second difference value at the second moment is greater than or equal to the first difference value threshold value, taking the value obtained by adding the unit value to the current load oscillation frequency as the updated load oscillation frequency; if the updated load oscillation frequency is smaller than or equal to a preset first frequency threshold value, executing a return operation; if the updated load oscillation frequency is larger than a preset first frequency threshold value and smaller than or equal to a preset second frequency threshold value, first early warning information is sent out, and returning operation is executed; and if the updated load oscillation frequency is greater than the second frequency threshold, sending a power grid quitting instruction to the steam turbine master controller. The method improves the detection accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power technology, and in particular to a load oscillation early warning method, device, medium, and program product. Background Technology

[0002] The electricity generated by generator sets connected to the power grid is subject to unified dispatch by the grid: the generator sets receive Automatic Generation Control (AGC) commands from the grid and generate the corresponding amount of electricity. Ideally, the performance of all auxiliary equipment in the generator sets fully meets the grid dispatch requirements and will not cause additional interference to the grid. However, in reality, when adverse factors such as equipment failures or control logic defects occur, the grid load of the generator sets may not be ideal, potentially causing oscillations. When the oscillations are small, the generator set's own control logic can adjust, thus having minimal impact on the grid. However, when the grid load oscillations are excessive, they can interfere with the grid's grid load. When the load oscillations are divergent, they may cause fluctuations in the output of other grid-connected generator sets in the region, affecting grid security. Therefore, monitoring and early warning of load oscillations in generator sets are crucial.

[0003] In related technologies, machine learning algorithms, such as clustering algorithms, are used to determine whether a generator set is experiencing load oscillations.

[0004] However, the relevant technologies can only achieve qualitative load oscillation detection, resulting in low detection accuracy. Summary of the Invention

[0005] This invention provides a load oscillation early warning method, device, medium, and program product to solve the technical problem of low accuracy in load oscillation detection in related technologies.

[0006] According to one aspect of the present invention, a load oscillation early warning method is provided, the method comprising:

[0007] The actual power generated by the generator set after it is connected to the power grid is acquired in real time, and the difference between the actual power and the expected power is determined.

[0008] If the absolute value of the first difference at the first moment is greater than or equal to the preset first difference threshold, and the absolute value of the second difference at the second moment is greater than or equal to the first difference threshold, then the value after adding a unit value to the current load oscillation count is taken as the updated load oscillation count; wherein, the second moment is the moment after the first moment, and either the first difference or the second difference is a negative number;

[0009] If the updated load oscillation count is less than or equal to the preset first count threshold, a return operation is performed; wherein, the return operation includes: taking the updated load oscillation count as the new current load oscillation count, taking the second moment as the new first moment, and returning to the step of "real-time acquisition of the actual power generated after the generator set is connected to the grid";

[0010] If the updated load oscillation count is greater than the preset first count threshold and less than or equal to the preset second count threshold, then a first warning message is issued and the return operation is executed;

[0011] If the updated load oscillation count is greater than the second threshold, a power grid disconnection command is sent to the turbine main controller.

[0012] According to another aspect of the present invention, a load oscillation early warning device is provided, the device comprising:

[0013] The acquisition and determination module is used to acquire the actual power output of the generator set after it is connected to the power grid in real time, and to determine the difference between the actual power output and the expected power output.

[0014] The update module is used to take the current load oscillation count plus a unit value as the updated load oscillation count if the absolute value of the first difference at the first time is greater than or equal to a preset first difference threshold, and the absolute value of the second difference at the second time is greater than or equal to the first difference threshold; wherein, the second time is the time after the first time, and either the first difference or the second difference is a negative number;

[0015] The first return module is used to perform a return operation if the updated load oscillation count is less than or equal to a preset first count threshold. The return operation includes: taking the updated load oscillation count as the new current load oscillation count, taking the second moment as the new first moment, and returning to the step of "real-time acquisition of the actual power generated after the generator set is connected to the grid".

[0016] The second return module is used to issue a first warning message and perform the return operation if the updated load oscillation count is greater than a preset first count threshold and less than or equal to a preset second count threshold.

[0017] The sending module is used to send a grid disconnection command to the turbine main controller if the updated load oscillation count is greater than the second count threshold.

[0018] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0019] At least one processor; and

[0020] A memory communicatively connected to the at least one processor; wherein,

[0021] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the load oscillation early warning method according to any embodiment of the present invention.

[0022] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program, the computer program being configured to cause a processor to execute and implement the load oscillation early warning method according to any embodiment of the present invention.

[0023] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the load oscillation early warning method according to any embodiment of the present invention.

[0024] The technical solution of this invention, on the one hand, can update the current load oscillation count when the absolute value of the first difference at a first time is greater than or equal to a preset first difference threshold, and the absolute value of the second difference at a second time is greater than or equal to the first difference threshold, thereby quantitatively determining the load oscillation count and improving the accuracy of load oscillation detection; on the other hand, when the updated load oscillation count is greater than a preset first count threshold and less than or equal to a preset second count threshold, a first warning message is issued and detection continues; when the updated load oscillation count is greater than a second count threshold, a power grid disconnection command is sent to the turbine main control unit, thereby achieving a two-level warning system, which avoids false detection and prevents the oscillation from worsening and affecting power grid safety.

[0025] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

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

[0027] Figure 1 This is a flowchart of a load oscillation early warning method provided in an embodiment of the present invention;

[0028] Figure 2 This is a schematic diagram of constant-amplitude oscillation and divergent oscillation;

[0029] Figure 3 This is a flowchart of another load oscillation early warning method provided in an embodiment of the present invention;

[0030] Figure 4 This is a schematic diagram of the load oscillation early warning module provided in an embodiment of the present invention;

[0031] Figure 5 This is a schematic diagram of the structure of a load oscillation early warning device provided in an embodiment of the present invention;

[0032] Figure 6 This is a schematic diagram of the structure of an electronic device that implements the load oscillation early warning method of this invention. Detailed Implementation

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

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

[0035] Figure 1 This is a flowchart illustrating a load oscillation early warning method provided in an embodiment of the present invention. This embodiment is applicable to scenarios where early warning is issued based on the number of load oscillations of generator units connected to the power grid. The method can be executed by a load oscillation early warning device, which can be implemented in hardware and / or software. This load oscillation early warning device can be configured in electronic equipment, such as computer equipment or a server. Figure 1 As shown, the method includes the following steps 101 to 105.

[0036] Step 101: Obtain the actual power output of the generator set after it is connected to the power grid in real time, and determine the difference between the actual power output and the expected power output.

[0037] In this embodiment, the generator set can be a thermal power plant, a new energy source, or other generator set connected to the power grid. The power grid in this embodiment refers to a power system network composed of power generation, transmission, transformation, distribution, and consumption. Optionally, the generator set in this embodiment can be a subcritical unit, a supercritical unit, or an ultra-supercritical unit.

[0038] In this embodiment, the expected power output refers to the power output that the generator set should generate, as determined during the grid dispatching process. Optionally, the expected power output in this embodiment can be indicated by an AGC command sent by the grid to the generator set.

[0039] In this embodiment, the difference between the actual power consumption and the expected power consumption can be either the difference between the actual power consumption and the expected power consumption, or the difference between the expected power consumption and the actual power consumption.

[0040] Step 102: If the absolute value of the first difference at the first moment is greater than or equal to the preset first difference threshold, and the absolute value of the second difference at the second moment is greater than or equal to the first difference threshold, then the value after adding the unit value to the current load oscillation number is taken as the updated load oscillation number.

[0041] The second time point is the time point after the first time point, and either the first difference or the second difference is a negative number.

[0042] In this embodiment, quantitative statistics on the number of load oscillations can be achieved. The load oscillations in this embodiment can also be referred to as grid-connected load oscillations. When the load oscillations of the generator units are too large, they can interfere with the grid-connected load. When the load oscillations are divergent, they may cause fluctuations in the output of other grid-connected units in the region, affecting grid security.

[0043] Figure 2 This is a schematic diagram of constant-amplitude oscillation and divergent oscillation. For example... Figure 2 As shown, Figure 2 The dashed line to the left shows constant amplitude oscillations, indicating that the amplitudes of the oscillating signals are approximately equal. Figure 2 The dashed line to the right shows divergent oscillations, indicating that the amplitude of the oscillation signal is gradually increasing. Load oscillations are generally controllable, sinusoidal fluctuations. When the generator set control logic is functioning normally, the oscillations will gradually decrease, eventually approaching the theoretical value. Figure 2 (Red line 21). The method provided in this embodiment is applicable when the generator set malfunctions or the control logic is defective, and it is impossible to guarantee that the oscillation will gradually decrease. It can detect the number of load oscillations and provide subsequent early warnings based on the number of load oscillations.

[0044] To avoid false detections, either the first difference or the second difference in this embodiment is negative. This ensures that a certain period of time has passed between the first moment and the second moment, thus avoiding false detections caused by the first moment and the second moment being too close together.

[0045] In this embodiment, the process of updating the current load oscillation count is as follows: the current load oscillation count plus a unit value is used as the updated load oscillation count. Optionally, the unit value here can be any predefined value such as 1 or 2.

[0046] In one implementation, assuming a positive first difference: when the absolute value of the difference between the actual and expected power consumption is greater than or equal to a preset first difference threshold, this moment is defined as the first moment, and the difference is defined as the first difference. As time progresses, when the difference between the actual and expected power consumption is less than zero, and the absolute value of the difference is greater than or equal to the preset first difference threshold, this moment is defined as the second moment, and the difference is defined as the second difference. At this point, the current load oscillation count is updated to obtain the updated load oscillation count.

[0047] To illustrate with an example where the first difference is negative: when the absolute value of the difference between the actual power consumption and the expected power consumption is greater than or equal to the preset first difference threshold, this moment is defined as the first moment, and the difference is defined as the first difference; as time progresses, when the difference between the actual power consumption and the expected power consumption is greater than zero, and the absolute value of the difference is greater than or equal to the preset first difference threshold, this moment is defined as the second moment, and the difference is defined as the second difference.

[0048] In another implementation, this embodiment can use a load oscillation early warning module to detect whether the absolute value of the first difference at the first time moment is greater than or equal to a preset first difference threshold, and to detect whether the absolute value of the second difference at the second time moment is greater than or equal to the first difference threshold. This implementation will be described in detail in subsequent embodiments.

[0049] Optionally, the first difference threshold in this embodiment can be an empirical value such as 5 megawatts (MW), 6 MW, 7 MW, or 8 MW.

[0050] It should be noted that during the first iteration, the current load oscillation count can be an initial value, such as 0.

[0051] Furthermore, if either the absolute value of the first difference or the absolute value of the second difference is less than the first difference threshold, it indicates that no load oscillation has occurred, and the load oscillation count is not updated.

[0052] Step 103: If the updated load oscillation count is less than or equal to the preset first count threshold, then perform a return operation.

[0053] The return operation includes: taking the updated load oscillation count as the new current load oscillation count, taking the second moment as the new first moment, and returning to the step 101.

[0054] Optionally, the first threshold number in this embodiment can be a preset empirical value such as 5, 6, 7, or 8.

[0055] If the updated load oscillation count is less than or equal to the preset first threshold, it indicates that the load oscillation is very mild, and only the load oscillation count needs to be updated; no warning message needs to be issued.

[0056] Please continue to refer to Figure 2 In the first iteration, assuming time A is the first time point and time B is the second time point, with a unit value of 1, the updated load oscillation count is assumed to be 1, and the first threshold is assumed to be 6. In step 103, a return operation is performed: the updated load oscillation count of 1 is taken as the new current load oscillation count, and time B is taken as the new first time point. In the second iteration, time B is taken as the first time point and time C as the second time point, and the updated load oscillation count is 1 + 1 = 2. A return operation is performed: the updated load oscillation count of 2 is taken as the new current load oscillation count, and time C is taken as the new first time point. This process continues, achieving quantitative detection of the load oscillation count.

[0057] It should be noted that the first and second moments generally correspond to the peak / trough positions of the load oscillation. If the first moment corresponds to the peak position, then the second moment corresponds to the trough position; if the first moment corresponds to the trough position, then the second moment corresponds to the peak position.

[0058] Step 104: If the updated load oscillation count is greater than the preset first count threshold and less than or equal to the preset second count threshold, then issue the first warning message and perform a return operation.

[0059] In this embodiment, the second threshold number is greater than the first threshold number, and can be a preset empirical value such as 6, 7, 8, or 9.

[0060] When the updated load oscillation count is greater than the preset first threshold, it indicates that the load oscillation is relatively mild and still within a tolerable range. After issuing the first warning, the updated load oscillation count is taken as the new current load oscillation count, the second moment is taken as the new first moment, and the process returns to step 101, that is, to continue detecting the load oscillation count.

[0061] In this embodiment, the first warning information can take the form of at least one of text, sound, light, etc. This embodiment does not impose any restrictions on this.

[0062] Step 105: If the updated load oscillation count is greater than the second threshold, send a power grid disconnection command to the turbine main controller.

[0063] When the updated load oscillation count exceeds the preset second threshold, it indicates that the load oscillation is already quite severe and may endanger grid safety. Therefore, in step 104, a grid disconnection command is sent to the turbine main control unit. Afterward, the generator unit disconnects from the grid and stops receiving AGC commands to ensure grid safety.

[0064] Alternatively, after the generator set is disconnected from the grid, the AGC command remains unchanged, or the generator set continues to operate in a control mode where the boiler follows the turbine main control, in an attempt to stop the load oscillation.

[0065] Optionally, the load oscillation early warning method provided in this embodiment further includes at least one of the following steps: displaying the updated load oscillation count; if the updated load oscillation count is greater than a preset second count threshold, then issuing a second early warning message.

[0066] In this embodiment, the updated load oscillation count can be displayed so that control personnel can intuitively observe the updated load oscillation count and improve operation and maintenance efficiency.

[0067] Optionally, in this embodiment, the warning level of the second warning information is higher than that of the first warning information. The higher warning level in this embodiment can be achieved through louder sound, higher flashing frequency of lights, higher light brightness, and higher light saturation, thus alerting management personnel in a more conspicuous manner.

[0068] The method provided in this embodiment of the invention achieves the following: when the load oscillation frequency reaches a relatively mild level, an early warning message is issued to remind the management personnel that the generator set's own control logic cannot control the oscillation situation at this time, and manual intervention is required in advance; when the load oscillation frequency reaches a relatively severe level, a grid disconnection command is issued to cause the generator set to withdraw from the turbine main control and stop receiving AGC grid commands, thereby stopping interference to the grid.

[0069] It should be noted that if the generator unit's grid disconnection fails, the process may return to step 101. If the updated load oscillation count exceeds the third threshold, a third warning message will be issued, indicating that a grid warning has been triggered. The third threshold is higher than the second threshold; for example, the third threshold can be empirical data such as 9, 10, or 11. The warning level of the third warning message is higher than that of the second warning message.

[0070] The load oscillation early warning method provided in this embodiment, on the one hand, can update the current load oscillation count when the absolute value of the first difference at the first moment is greater than or equal to a preset first difference threshold, and the absolute value of the second difference at the second moment is greater than or equal to the first difference threshold, thereby quantitatively determining the load oscillation count and improving the accuracy of load oscillation detection; on the other hand, when the updated load oscillation count is greater than a preset first count threshold and less than or equal to a preset second count threshold, a first early warning message is issued and detection continues; when the updated load oscillation count is greater than the second count threshold, a power grid disconnection command is sent to the turbine main control unit, thereby achieving a two-level early warning system, which avoids false detection and prevents the oscillation from worsening and affecting power grid safety.

[0071] Figure 3 This is a flowchart of another load oscillation early warning method provided in an embodiment of the present invention. This load oscillation early warning method... Figure 1 Based on the illustrated embodiments and various optional implementations, a detailed explanation is provided on how to achieve the detection that the absolute value of the first difference at the first time step is greater than or equal to a preset first difference threshold, and the absolute value of the second difference at the second time step is greater than or equal to the first difference threshold. For example... Figure 3 As shown, the load oscillation early warning method provided in this embodiment includes the following steps 301 to 317.

[0072] Step 301: Obtain the actual power output of the generator set after it is connected to the power grid in real time, and determine the difference between the actual power output and the expected power output.

[0073] The implementation process and technical principles of step 301 are similar to those of step 101, and will not be repeated here.

[0074] This embodiment implements the load oscillation early warning method through a load oscillation early warning module. Figure 4 This is a schematic diagram of the load oscillation early warning module provided in an embodiment of the present invention. Figure 4 As shown, the various modules included in this load oscillation early warning module can be implemented in hardware or software, and this embodiment is not limited to this.

[0075] based on Figure 4 Step 301 can be used to determine the difference between the actual power consumption and the expected power consumption through the subtraction module.

[0076] Step 302: Determine whether the first difference at the first moment or the second difference at the second moment is greater than or equal to the first difference threshold through the first judgment module.

[0077] Step 303: Determine whether the first difference at the first moment or the second difference at the second moment is less than or equal to the preset second difference threshold through the second judgment module.

[0078] The first difference threshold and the second difference threshold are opposites.

[0079] For example, if the first difference threshold can be 7MW, then the second difference threshold is -7MW. Or, for another example, if the first difference threshold can be 6MW, then the second difference threshold is -6MW.

[0080] Optionally, the first determination module and the second determination module in this embodiment can be modules such as comparators that can compare data sizes.

[0081] Step 304: If the first difference at the first time step or the second difference at the second time step is greater than or equal to the first difference threshold, then control the first judgment module to output a valid value.

[0082] Step 305: If the first difference at the first time step or the second difference at the second time step is less than the first difference threshold, then control the first judgment module to output an invalid value.

[0083] In steps 304 and 305, if the difference is greater than or equal to the first difference threshold, the first judgment module is controlled to output a valid value; if the difference is less than the first difference threshold, the first judgment module is controlled to output an invalid value. For example, in this embodiment, the valid value can be 1, and the invalid value can be 0.

[0084] Step 306: If the first difference at the first moment or the second difference at the second moment is less than or equal to the preset second difference threshold, then control the second judgment module to output a valid value.

[0085] Step 307: If the first difference at the first moment or the second difference at the second moment is greater than the preset second difference threshold, then control the second judgment module to output an invalid value.

[0086] In steps 306 and 307, if the difference is less than or equal to a preset second difference threshold, the second judgment module is controlled to output a valid value; if the difference is greater than the preset second difference threshold, the second judgment module is controlled to output an invalid value. For example, in this embodiment, the valid value can be 1, and the invalid value can be 0.

[0087] Step 308: If the first judgment module outputs a valid value and the second judgment module outputs an invalid value, then control the first reset / set trigger module to output a valid value and control the second RS trigger module to output an invalid value.

[0088] Please continue to refer to Figure 4The output of the first judgment module is connected to the S terminal of the first reset / set (RS) trigger module and to the R terminal of the second RS trigger module. The output of the second judgment module is connected to the S terminal of the second RS trigger module and to the R terminal of the first RS trigger module.

[0089] The working logic of the first RS trigger module and the second RS trigger module is as follows: when a valid value is input to the S terminal (set terminal) and an invalid value is input to the R terminal (reset terminal), a valid value is output; when an invalid value is input to the S terminal and a valid value is input to the R terminal, an invalid value is output; when an invalid value is input to the S terminal and an invalid value is input to the R terminal, the current output is maintained.

[0090] In step 308, if the first judgment module outputs a valid value and the second judgment module outputs an invalid value, it is equivalent to the first RS trigger module inputting a valid value at its S terminal and an invalid value at its R terminal. If the first RS trigger module outputs a valid value, it is equivalent to the second RS trigger module inputting an invalid value at its S terminal and a valid value at its R terminal.

[0091] Step 309: If the first judgment module outputs an invalid value and the second judgment module outputs a valid value, then control the first RS trigger module to output an invalid value and control the second RS trigger module to output a valid value.

[0092] Similar to the working process in step 308, in step 309, if the first judgment module outputs an invalid value and the second judgment module outputs a valid value, it is equivalent to the first RS trigger module inputting an invalid value at its S terminal and a valid value at its R terminal, then the first RS trigger module outputs an invalid value. If the second RS trigger module inputs a valid value at its S terminal and an invalid value at its R terminal, then the second RS trigger module outputs a valid value.

[0093] Step 310: After the output value of the first RS trigger module changes from a valid value to an invalid value, the valid value output by the first RS trigger module is delayed for a preset time by the first delay-off module.

[0094] Step 311: After the output value of the second RS trigger module changes from a valid value to an invalid value, the valid value output by the second RS trigger module is delayed for a preset time by the second delay switch module.

[0095] In this embodiment, to enable the detection of whether the absolute values ​​of the first difference corresponding to the first time interval and the second difference corresponding to the second time interval are both greater than or equal to the first difference threshold, a first delay-off module is set after the first RS trigger module, and a second delay-off module is set after the second RS trigger module. The function of the delay-off module is to delay the valid value for a preset time after the output value of the RS trigger module changes from a valid value to an invalid value.

[0096] Optionally, the preset duration in this embodiment can be 0.3 seconds, 0.5 seconds, 0.8 seconds, 1 second, or 1.2 seconds. In actual testing, the preset duration of the delay can be set according to actual needs.

[0097] Step 312: When it is determined that the output of the module connected to both the first delay switch module and the second delay switch module is a valid value, it is determined that the absolute value of the first difference at the first time moment is greater than or equal to the preset first difference threshold, and the absolute value of the second difference at the second time moment is greater than or equal to the first difference threshold.

[0098] In step 312, when it is determined that the output of the AND module connected to both the first delay switch module and the second delay switch module is a valid value, it means that the absolute value of the first difference at the first time moment is greater than or equal to the preset first difference threshold, and the absolute value of the second difference at the second time moment is greater than or equal to the first difference threshold.

[0099] Step 313: If the absolute value of the first difference at the first moment is greater than or equal to the preset first difference threshold, and the absolute value of the second difference at the second moment is greater than or equal to the first difference threshold, then a valid counting pulse is sent to the counting port of the counting module through the first pulse generation module connected to the module, so as to realize the value after adding the unit value to the current load oscillation number as the updated load oscillation number.

[0100] The current load oscillation count is stored in the counting module. The second time point is the time point after the first time point, and either the first difference or the second difference is negative.

[0101] In this embodiment, the current load oscillation count is updated by sending a valid counting pulse to the counting module through the first pulse generation module. For example, the duration of the valid counting pulse can be 1 second (S).

[0102] After receiving a valid counting pulse, the counting module adds the unit value to the stored current load oscillation count as the updated load oscillation count.

[0103] Step 314: If the updated load oscillation count is less than or equal to the preset first count threshold, then perform a return operation.

[0104] The return operation includes: taking the updated load oscillation count as the new current load oscillation count, taking the second moment as the new first moment, and returning to the step 301.

[0105] Step 315: If the updated load oscillation count is greater than the preset first count threshold and less than or equal to the preset second count threshold, then issue the first warning message and perform a return operation.

[0106] like Figure 4 As shown, the third judgment module determines whether the updated load oscillation count is greater than the preset first count threshold and less than or equal to the preset second count threshold.

[0107] Step 316: If the updated load oscillation count is greater than the second threshold, send a power grid disconnection command to the turbine main controller.

[0108] like Figure 4 As shown, the fourth judgment module determines whether the updated load oscillation count is greater than the second threshold.

[0109] Furthermore, the fifth judgment module determines whether the updated load oscillation count is greater than the threshold of the third count.

[0110] The implementation process and technical principles of steps 314 and 103, 315 and 104, and 316 and 105 are similar, and will not be repeated here.

[0111] Step 317: Send a valid reset signal or an invalid reset pulse to the reset port of the counting module through the second pulse generating module and the non-module connected in sequence with the module.

[0112] The duration of the valid counting pulse generated by the first pulse generation module is less than the duration of the invalid reset pulse generated by the second pulse generation module and the non-module.

[0113] To further improve detection accuracy, the counting module can be reset in step 317. The counting module operates as follows: when the module outputs a valid value, the first pulse generating module generates a valid counting pulse, updating the current load oscillation count. The second pulse generating module generates a valid reset pulse, which, after passing through the non-reset module, becomes an invalid reset pulse. The counting module does not reset during the duration of the invalid reset pulse. That is, in this embodiment, the time window for the counting module to count the load oscillation count is the duration of the invalid reset pulse. Within this time window, even if the module outputs an invalid value, the counting module does not reset because the duration of the invalid reset pulse continues.

[0114] If, after the duration of the invalid reset pulse, the module outputs an invalid value, the second pulse generating module generates an invalid reset pulse. This invalid reset pulse, after passing through the non-module, becomes a valid reset signal, and the counting module resets or clears the count of current load oscillations. After the counting module is reset, if the module outputs a valid value, the count of current load oscillations is recalculated.

[0115] Optionally, the duration of the invalid reset pulse can be an empirical value such as 60 seconds, 100 seconds, 110 seconds, or 120 seconds.

[0116] For example, assume the first difference threshold is 7MW and the second difference threshold is -7MW. When the difference between the actual power generation and the expected power generation is between (-7MW, 7MW), both the first and second judgment modules output invalid values, based on... Figure 4 The load oscillation early warning module shown also outputs an invalid value, and therefore, the counting module does not update the current load oscillation count.

[0117] Because the RS trigger module has a hold function, during load oscillation, one RS trigger module will always issue a signal: when the difference is ≥7MW, the first RS trigger module issues a valid value; when the difference is ≤-7MW, the second RS trigger module issues a valid value. The other RS ​​trigger module, which outputs an invalid value, will delay for a preset time (e.g., 0.5 seconds or 1 second) during the signal disappearance process due to the delay function of the delay module. If the other RS ​​trigger module outputs a valid value within the preset delay time, then the RS trigger module will output a valid value. Therefore, the counting module records one load oscillation.

[0118] The load oscillation early warning method provided in this embodiment, through the load oscillation early warning module, achieves quantitative determination of the number of load oscillations and realizes two-level early warning. On the basis of avoiding false detection, it prevents the oscillation from worsening and affecting the power grid safety, further improving the accuracy and efficiency of load oscillation detection. Moreover, the reliability of the early warning process is high.

[0119] Figure 5 This is a schematic diagram of a load oscillation early warning device provided in an embodiment of the present invention. The device is installed in an electronic device. Figure 5 As shown, the load oscillation early warning device provided in this embodiment includes the following modules: acquisition and determination module 51, update module 52, first return module 53, second return module 54, and sending module 55.

[0120] The acquisition and determination module 51 is used to acquire the actual power generated by the generator set after it is connected to the power grid in real time, and to determine the difference between the actual power and the expected power.

[0121] The update module 52 is used to take the current load oscillation count plus a unit value as the updated load oscillation count if the absolute value of the first difference at the first moment is greater than or equal to a preset first difference threshold, and the absolute value of the second difference at the second moment is greater than or equal to the first difference threshold.

[0122] Wherein, the second time point is the time point after the first time point, and either the first difference or the second difference is a negative number.

[0123] The first return module 53 is used to perform a return operation if the updated load oscillation count is less than or equal to a preset first count threshold.

[0124] The return operation includes: taking the updated load oscillation count as the new current load oscillation count, taking the second moment as the new first moment, and returning to execute the steps of the acquisition and determination module 51.

[0125] The second return module 54 is used to issue a first warning message and perform the return operation if the updated load oscillation count is greater than a preset first count threshold and less than or equal to a preset second count threshold.

[0126] The sending module 55 is used to send a grid disconnection command to the turbine main controller if the updated load oscillation count is greater than the second count threshold.

[0127] In one embodiment, the device further includes a judgment module control module, configured to: determine, via a first judgment module, whether a first difference at a first time or a second difference at a second time is greater than or equal to a first difference threshold; determine, via a second judgment module, whether the first difference at a first time or the second difference at a second time is less than or equal to a preset second difference threshold, wherein the first difference threshold and the second difference threshold are opposite numbers; if the first difference at a first time or the second difference at a second time is greater than or equal to the first difference threshold, control the first judgment module to output a valid value; if the first difference at a first time or the second difference at a second time is less than the first difference threshold, control the first judgment module to output an invalid value; if the first difference at a first time or the second difference at a second time is less than or equal to the preset second difference threshold, control the second judgment module to output a valid value; if the first difference at a first time or the second difference at a second time is greater than the preset second difference threshold, control the second judgment module to output an invalid value.

[0128] In one embodiment, the device further includes an RS trigger module control module, configured to: control the first RS trigger module to output a valid value and control the second RS trigger module to output an invalid value if the first judgment module outputs a valid value and the second judgment module outputs an invalid value; control the first RS trigger module to output an invalid value and control the second RS trigger module to output a valid value if the first judgment module outputs an invalid value and the second judgment module outputs a valid value; delay the valid value output by the first RS trigger module for a preset time after the output value of the first RS trigger module changes from a valid value to an invalid value through a first delay-off module; delay the valid value output by the second RS trigger module for a preset time after the output value of the second RS trigger module changes from a valid value to an invalid value through a second delay-off module.

[0129] In one embodiment, the device further includes: a first determining module, configured to: when it is determined that the output of the AND module connected to both the first delay-off module and the second delay-off module is a valid value, determine that the absolute value of the first difference at a first time moment is greater than or equal to a preset first difference threshold, and that the absolute value of the second difference at a second time moment is greater than or equal to the first difference threshold.

[0130] In one embodiment, regarding the aspect of using the value obtained by adding a unit value to the current load oscillation count as the updated load oscillation count, the updating module 52 is specifically configured to: send a valid counting pulse to the counting port of the counting module through the first pulse generating module connected to the module, so as to use the value obtained by adding a unit value to the current load oscillation count as the updated load oscillation count; wherein the current load oscillation count is stored in the counting module.

[0131] In one embodiment, the device further includes a reset module, configured to send a valid reset signal or an invalid reset pulse to the reset port of the counting module via a second pulse generating module and a non-module connected sequentially to the module. The duration of the valid counting pulse generated by the first pulse generating module is less than the duration of the invalid reset pulse generated by the second pulse generating module and the non-module.

[0132] In one embodiment, the device further includes at least one of the following: a display module and a warning module.

[0133] The display module is used to show the updated number of load oscillations.

[0134] The early warning module is used to issue a second early warning message if the updated load oscillation count is greater than a preset second threshold.

[0135] The load oscillation early warning device provided in the embodiments of the present invention can execute the load oscillation early warning method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0136] Figure 6 This is a schematic diagram of the structure of an electronic device implementing the load oscillation early warning method of this invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0137] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0138] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0139] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the load oscillation early warning method.

[0140] In some embodiments, the load oscillation warning method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the load oscillation warning method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the load oscillation warning method by any other suitable means (e.g., by means of firmware).

[0141] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0142] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0143] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0144] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0145] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0146] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0147] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the load oscillation early warning method provided in any embodiment of this invention.

[0148] In the implementation of a computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​as well as conventional procedural programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0149] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0150] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for early warning of load oscillation, characterized in that, The method includes: The actual power generated by the generator set after it is connected to the power grid is acquired in real time, and the difference between the actual power and the expected power is determined. If the absolute value of the first difference at the first moment is greater than or equal to the preset first difference threshold, and the absolute value of the second difference at the second moment is greater than or equal to the first difference threshold, then the value after adding a unit value to the current load oscillation count is taken as the updated load oscillation count; wherein, the second moment is the moment after the first moment, and either the first difference or the second difference is a negative number; If the updated load oscillation count is less than or equal to the preset first count threshold, a return operation is performed; wherein, the return operation includes: taking the updated load oscillation count as the new current load oscillation count, taking the second moment as the new first moment, and returning to the step of "real-time acquisition of the actual power generated after the generator set is connected to the grid"; If the updated load oscillation count is greater than the preset first count threshold and less than or equal to the preset second count threshold, then a first warning message is issued and the return operation is executed; If the updated load oscillation count is greater than the second threshold, a power grid disconnection command is sent to the turbine main controller.

2. The method according to claim 1, characterized in that, The method further includes: The first judgment module determines whether the first difference at the first time or the second difference at the second time is greater than or equal to the first difference threshold. The second judgment module determines whether the first difference at the first time or the second difference at the second time is less than or equal to a preset second difference threshold; wherein the first difference threshold and the second difference threshold are opposite numbers; If the first difference at the first time point or the second difference at the second time point is greater than or equal to the first difference threshold, then the first judgment module is controlled to output a valid value. If the first difference at the first time point or the second difference at the second time point is less than the first difference threshold, then the first judgment module is controlled to output an invalid value. If the first difference at the first time point or the second difference at the second time point is less than or equal to the preset second difference threshold, then the second judgment module is controlled to output a valid value. If the first difference at the first time point or the second difference at the second time point is greater than the preset second difference threshold, then the second judgment module is controlled to output an invalid value.

3. The method according to claim 2, characterized in that, The method further includes: If the first judgment module outputs a valid value and the second judgment module outputs an invalid value, then the first reset / set RS trigger module is controlled to output a valid value, and the second RS trigger module is controlled to output an invalid value. If the first judgment module outputs an invalid value and the second judgment module outputs a valid value, then the first RS trigger module is controlled to output an invalid value, and the second RS trigger module is controlled to output a valid value. After the output value of the first RS trigger module changes from a valid value to an invalid value, the first delay-off module delays the valid value output by the first RS trigger module for a preset time. After the output value of the second RS trigger module changes from a valid value to an invalid value, the second delay-off module delays the valid value output by the second RS trigger module for a preset time.

4. The method according to claim 3, characterized in that, The method further includes: When it is determined that the output of the AND module connected to both the first delay switch module and the second delay switch module is a valid value, it is determined that the absolute value of the first difference at the first time moment is greater than or equal to the preset first difference threshold, and the absolute value of the second difference at the second time moment is greater than or equal to the first difference threshold.

5. The method according to claim 4, characterized in that, The step of adding a unit value to the current load oscillation count as the updated load oscillation count includes: By sending a valid counting pulse to the counting port of the counting module through the first pulse generating module connected to the module, the current load oscillation count plus a unit value is used as the updated load oscillation count; wherein, the current load oscillation count is stored in the counting module.

6. The method according to claim 5, characterized in that, The method further includes: A valid reset signal or an invalid reset pulse is sent to the reset port of the counting module via a second pulse generating module and a non-module connected in sequence with the module; wherein the duration of the valid counting pulse generated by the first pulse generating module is less than the duration of the invalid reset pulse generated by the second pulse generating module and the non-module.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes at least one of the following: Displays the updated number of load oscillations; If the updated number of load oscillations exceeds the preset second threshold, a second warning message will be issued.

8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the load oscillation early warning method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that enables a processor to execute the load oscillation early warning method according to any one of claims 1 to 7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the load oscillation early warning method as described in any one of claims 1 to 7.