Primary frequency modulation optimization method and system based on dynamic dead zone and dynamic PID control

By adopting dynamic dead zone calculation model and dynamic load PID function in the generator set, the dead zone and PID parameters are dynamically adjusted, and the shortcomings of fixed dead zone settings and traditional PID control methods in complex operating conditions are solved, and the implementation of different operating conditions is achieved. Optimal control performance and equipment reliability improvements.

CN119496158AActive Publication Date: 2025-02-21HUANENG LANCANG RIVER HYDROPOWER CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411547387.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-21
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

In the existing generator set primary frequency regulation method, the fixed dead zone setting cannot be flexibly adjusted, resulting in limited frequency regulation; traditional PID control methods are difficult to maintain optimal control performance under complex and variable operating conditions.

Method used

A single frequency regulation optimization method based on dynamic dead zone and dynamic PID control is proposed. By constructing a dynamic dead zone calculation model and dynamic load PID function, the dead zone and PID parameters are dynamically adjusted to adapt to different working conditions.

Benefits of technology

The optimal control performance under different operating conditions is achieved, the reliability of the equipment is improved, and the overload phenomenon is prevented.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496158A_ABST
    Figure CN119496158A_ABST
Patent Text Reader

Abstract

The invention provides a primary frequency modulation optimization method and system based on a dynamic dead zone and dynamic PID control. The method comprises the following steps: constructing a dynamic dead zone calculation model based on a basic dead zone of primary frequency modulation, a single dead zone increment and increment times; in the primary frequency modulation process, the real-time unit frequency is monitored, and the current dynamic dead zone is determined based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model; if the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not in the basic dead zone, load trend judgment is carried out; if the load trend is stable, a dynamic load PID function is input, the dynamic load PID function selects target PID parameters to update the speed regulator parameters based on the time range where the frequency modulation action time is located, the target PID parameters are selected from three preset sets of PID parameters, and each set of PID parameters is provided with a corresponding time range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power grid frequency modulation, and in particular to a primary frequency modulation optimization method and system based on dynamic dead zone and dynamic PID control. Background Art

[0002] The primary frequency regulation function is one of the means to dynamically ensure the active power balance of the power grid. The existing primary frequency regulation methods of generator sets mostly use fixed dead zone settings, which cannot be flexibly adjusted according to the actual operating status of the unit and the frequency adjustment requirements, resulting in limited primary frequency regulation. At the same time, the speed regulator program lacks effective restrictions when dealing with the increase in active power of primary frequency regulation, which may cause overload problems. In addition, the traditional PID (proportional-integral-derivative control) control method is difficult to maintain optimal control performance when facing complex and changeable working conditions. Summary of the invention

[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

[0004] To this end, the first object of the present invention is to propose a primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control to ensure that optimal control performance can be obtained under different working conditions.

[0005] The second object of the present invention is to propose a primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control.

[0006] A third objective of the present invention is to provide an electronic device.

[0007] A fourth object of the present invention is to provide a computer-readable storage medium.

[0008] To achieve the above object, the first aspect of the present invention proposes a primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control, comprising:

[0009] A dynamic dead zone calculation model is constructed based on the basic dead zone of primary frequency modulation, single dead zone increment and increment times;

[0010] During a frequency modulation process, monitoring the real-time unit frequency, and determining the current dynamic dead zone based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model;

[0011] If the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone, a load trend judgment is performed;

[0012] If the load trend is stable, the dynamic load PID function is activated, wherein the dynamic load PID function selects target PID parameters to update the speed regulator parameters based on the time range of the frequency modulation action time, wherein the target PID parameters are selected from three preset groups of PID parameters, and each group of PID parameters is set with a corresponding time range.

[0013] In the method of the first aspect of the present invention, the current dynamic dead zone is determined based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model, including: judging whether the real-time unit frequency enters the basic dead zone within the current time window, and if not, adding a single dead zone increment to the dynamic dead zone corresponding to the previous time window, thereby obtaining the current dynamic dead zone.

[0014] In the method of the first aspect of the present invention, the load trend judgment includes: obtaining the actual load value of the current frequency modulation cycle at the current moment; obtaining the load prediction value of the next frequency modulation cycle of the current frequency modulation cycle by using a prediction model; and obtaining a load change value based on the actual load value and the load prediction value. If the load change value is within a set range, the load trend is stable.

[0015] The method of the first aspect of the present invention further includes: if the load trend is unstable, exiting the dynamic load PID function, and adjusting the current PID parameters to the slowest set of PID parameters among the three preset PID parameter sets.

[0016] In the method of the first aspect of the present invention, a smooth transition adjustment method is adopted when adjusting the PID parameters.

[0017] In the method of the first aspect of the present invention, when adjusting the PID parameters, the operation time of the original PID parameters is maintained for at least a set time and then adjusted to the new PID parameters.

[0018] To achieve the above object, the second aspect of the present invention proposes a primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control, comprising:

[0019] A modeling module, used to construct a dynamic dead zone calculation model based on a basic dead zone of a primary frequency modulation, a single dead zone increment and the number of increments;

[0020] An updating module, used for monitoring the real-time unit frequency during a frequency modulation process, and determining a current dynamic dead zone based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model;

[0021] A judgment module, configured to judge the load trend if the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone;

[0022] The optimization module is used to activate the dynamic load PID function if the load trend is stable, wherein the dynamic load PID function selects target PID parameters to update the speed regulator parameters based on the time range of the frequency modulation action time, and the target PID parameters are selected from three preset groups of PID parameters, and each group of PID parameters is set with a corresponding time range.

[0023] In the system of the second aspect of the present invention, the optimization module is further used to: if the load trend is unstable, exit the dynamic load PID function and adjust the current PID parameters to the slowest set of PID parameters among the three preset PID parameters.

[0024] To achieve the above-mentioned purpose, the third aspect of the present invention proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method proposed in the first aspect of the present invention.

[0025] To achieve the above-mentioned purpose, the fourth aspect of the present invention proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method proposed in the first aspect of the present invention.

[0026] The primary frequency modulation optimization method, system, electronic device and storage medium based on dynamic dead zone and dynamic PID control provided by the present invention construct a dynamic dead zone calculation model based on the basic dead zone, single dead zone increment and increment number of primary frequency modulation; in the primary frequency modulation process, the real-time unit frequency is monitored, and the current dynamic dead zone is determined based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model; if the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone, the load trend is judged; if the load trend is stable, the dynamic load PID function is put into use, wherein the dynamic load PID function selects the target PID parameter based on the time range of the frequency modulation action time to update the speed regulator parameter, and the target PID parameter is selected from three preset groups of PID parameters, and each group of PID parameters is set with a corresponding time range. In this case, the reliability of the equipment can be improved by constructing a dynamic dead zone calculation model. In addition, when the load trend is stable, the dynamic load PID function is used to realize the dynamic switching of the corresponding PID parameters under different time ranges, ensuring that the optimal control performance can be obtained under different working conditions.

[0027] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0029] Figure 1 A flow chart of a primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control provided by an embodiment of the present invention;

[0030] Figure 2 A schematic diagram of a load trend determination process provided by an embodiment of the present invention;

[0031] Figure 3 A block diagram of a primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0033] The following describes a primary frequency modulation optimization method and system based on dynamic dead zone and dynamic PID control according to an embodiment of the present invention with reference to the accompanying drawings.

[0034] The embodiment of the present invention provides a primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control to ensure that optimal control performance can be obtained under different working conditions.

[0035] Figure 1 A flow chart of a primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control provided in an embodiment of the present invention.

[0036] like Figure 1 As shown, the primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control includes the following steps:

[0037] Step S101, constructing a dynamic dead zone calculation model based on a basic dead zone of a primary frequency modulation, a single dead zone increment and the number of increments.

[0038] Specifically, in step S101, the parameters involved in the dynamic dead zone calculation model (also called the dynamic dead zone processing model) include: 1) Basic dead zone: The basic dead zone can be represented by the symbol A. The basic dead zone is the dead zone range of the initial frequency modulation, which is used to determine the stable state of the unit frequency. 2) Dynamic dead zone: The dynamic dead zone can be represented by the symbol D. The dynamic dead zone is the dynamic dead zone range adjusted according to the situation that the unit frequency does not enter the basic dead zone. 3) Time threshold: The time threshold can be represented by the symbol N. The time threshold refers to the time window of each frequency modulation. If the unit frequency does not enter the basic dead zone within the time window, the dynamic dead zone will increase. 4) Dead zone increase: The dead zone increase can be represented by the symbol X. The dead zone increase is also called the single dead zone increment. The dead zone increase is the value of the dynamic dead zone increase in each time window. 5) Maximum frequency limit: The maximum frequency limit can be represented by the symbol H. The maximum frequency limit is the maximum value of the unit frequency (referred to as the maximum frequency), which is used to prevent excessive growth of the dynamic dead zone. 6) Recovery time threshold: The recovery time threshold can be represented by the symbol Trec. The recovery time threshold is the time it takes for the dead zone value to return to the basic dead zone A after the unit frequency is restored to the basic dead zone.

[0039] In step S101, the update rule of the dead zone value of the dynamic dead zone satisfies: within each time window N, if the unit frequency does not enter the basic dead zone A, the dynamic dead zone is increased by a dead zone increase amount X, that is, the dynamic dead zone calculation model satisfies:

[0040] D(t)=A+k*X

[0041] Where D(t) represents the dynamic dead zone at time t. k is the number of increases (i.e., the number of increments) in the current time window. The number of increases k is related to the number of time windows in which the unit frequency does not enter the basic dead zone A. If the dead zone value of the dynamic dead zone reaches the maximum frequency limit H and the unit frequency does not enter the basic dead zone A, the dead zone value is stopped from being increased.

[0042] In step S101, it should be noted that the dead zone value of the dynamic dead zone stops accumulating when the following conditions are met:

[0043] 1) When the unit frequency F(t) returns to the basic dead zone A, the dynamic dead zone D is reset to the basic dead zone A.

[0044] 2) If in case 1: the unit frequency F(t) exceeds the maximum frequency H or in case 2: the dead zone value of the dynamic dead zone reaches the maximum frequency limit H and the unit frequency does not enter the basic dead zone A, the dynamic dead zone stops accumulating and remains in the state of D(t)=A+k*X until the unit frequency returns to the basic dead zone A.

[0045] In step S101, the dead zone is reset after frequency recovery. When the unit frequency is restored to the basic dead zone A and the duration reaches the recovery time threshold Trec, the dynamic dead zone will be reset to the basic dead zone A, that is, D(t)=A at this time.

[0046] Step S102, during a frequency modulation process, monitor the real-time unit frequency, and determine the current dynamic dead zone based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model.

[0047] In step S102, the current dynamic dead zone is determined based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model, including: judging whether the real-time unit frequency enters the basic dead zone within the current time window; if not, adding a single dead zone increment to the dynamic dead zone corresponding to the previous time window to obtain the current dynamic dead zone.

[0048] Specifically, initialization is performed: a basic dead zone A is set, and the dynamic dead zone corresponding to the start time of a frequency modulation is set as the basic dead zone A. Monitoring unit frequency: starting from the start time of a frequency modulation, the unit frequency is checked at the end of each frequency modulation time window N. If the unit frequency F(t) is not within the basic dead zone A, the dynamic dead zone D(t) is increased by X, and the new dynamic dead zone corresponding to the time window is calculated: D(t) = A + k*X, and then the current dynamic dead zone corresponding to the current time window is obtained.

[0049] Step S103: If the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone, a load trend judgment is performed.

[0050] In step S103, if the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone, the accumulation is stopped and the dynamic dead zone is maintained at the current value. Then, in the subsequent process, when it is monitored that the unit frequency F(t) is restored to the basic dead zone A, and the duration of restoration to the basic dead zone A reaches Trec, the dynamic dead zone is reset to the basic dead zone, that is, D(t) = A.

[0051] Figure 2 A schematic diagram of a load trend determination process provided by an embodiment of the present invention.

[0052] like Figure 2 As shown, in step S103, the load trend judgment includes: obtaining the actual load value of the current frequency modulation cycle at the current moment (step S1031); using the prediction model to obtain the load prediction value of the next frequency modulation cycle of the current frequency modulation cycle (step S1032); based on the actual load value and the load prediction value, the load change value is obtained. If the load change value is within the set range, the load trend is stable (step S1033).

[0053] The process of obtaining the load prediction value of the next frequency modulation cycle of the current frequency modulation cycle by using the prediction model in step S1032 includes:

[0054] 1) Define variables and arrays

[0055] Variable Loadpredicted: used to store the predicted load value of the next cycle (ie, the load prediction value of the next frequency modulation cycle of the previous frequency modulation cycle).

[0056] History array Loadhistory: defines an array or register group of length n, which is used to store the history load data of the past n time periods. The history load data of n time periods are: the history load data Loadhistory1 of the first time period, the history load data Loadhistory2 of the second time period, ..., the history load data Loadhistory of the nth time period n . Where n is the number of historical data points used for prediction. Index (i.e. the subscript in the symbol): is used to track the current load data storage location.

[0057] 2)PLC (Programmable Logic Controller) Cycle Execution Process

[0058] In each scan cycle of the PLC, the following steps are performed:

[0059] a) Get current load data:

[0060] The actual load value at the current moment (ie, the actual load value of the current frequency modulation cycle) is collected and recorded as Loadcurrent.

[0061] b) Update the history array:

[0062] The actual load value Loadcurrent at the current moment is stored in the latest position of the history array Loadhistory, and the index is updated. If the index reaches the end of the array (ie n), the index is reset back to the starting position to form a circular array.

[0063] c) Calculate the moving average:

[0064] Traverse the historical data in the history array Loadhistory, calculate the sum of all historical data in the array, divide the sum by the number of elements n in the array, get the predicted load value for the next cycle, and then store it in the variable Loadpredicted. That is, Loadpredicted = (Loadhistory1 + Loadhistory2 + Loadhistory3 + ... Loadhistory n ) / n.

[0065] In step S1033, the set range is, for example, (X1, X2), and the load change value is [Loadcurrent - Loadpredicted]. If [Loadcurrent - Loadpredicted] ∈ (X1, X2), the load trend is stable; otherwise, the load trend changes rapidly (i.e., the load trend is unstable).

[0066] In step S104, if the load trend is stable, the dynamic load PID function is enabled. The dynamic load PID function selects target PID parameters based on the time range in which the frequency modulation operation time is located to update the governor parameters. The target PID parameters are selected from three preset groups of PID parameters, and each group of PID parameters is set with a corresponding time range.

[0067] In step S104, the three preset groups of PID parameters in the dynamic load PID function can be divided in terms of rate into: a group of PID parameters with a fast rate, a group of PID parameters with a medium rate, and a group of PID parameters with a slow rate. Each group of PID parameters is set with a corresponding time range, that is, the time ranges corresponding to the three groups of PID parameters are respectively: the first time range (T0, T1], the second time range (T1, T1 + T2], and the third time range (T1 + T2, +∞). Here, T0 is the starting moment of primary frequency modulation. The times T1 and T2 are determined by experience.

[0068] In step S104, the frequency modulation operation time T is the duration from the starting moment of primary frequency modulation to the moment when the load trend is determined to be stable. Determine the time range in which the frequency modulation operation time is located. If T ≤ T1, the group of PID parameters with a fast rate is used as the target PID parameters; if T1 < T ≤ T1 + T2, the group of PID parameters with a medium rate is used as the target PID parameters; if T > T1 + T2, the group of PID parameters with a slow rate is used as the target PID parameters.

[0069] In an embodiment of the present invention, the primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control further includes: if the load trend is unstable, the dynamic load PID function is exited, and the current PID parameters are adjusted to the slowest group of PID parameters among the three preset groups of PID parameters. The slowest group of PID parameters is the group of PID parameters with a slow rate.

[0070] In an embodiment of the present invention, a smooth transition adjustment method is adopted when adjusting the PID parameters. Specifically, when the load trend is stable, the dynamic load PID function is enabled, and a smooth transition method is introduced to adjust to the PID parameters called by the dynamic load at this time. When the load trend changes rapidly, the dynamic load PID function is exited, and first, the state of the load PID parameters at this time is judged, and the smooth transition method is used to adjust to the group of PID parameters with a slow rate.

[0071] Among them, the smooth transition adjustment method is: when switching PID parameters, a smooth transition method is introduced to avoid the impact of sudden parameter switching on the system and avoid system oscillation, that is: slow rate → medium rate → fast rate / fast rate → medium rate → slow rate / medium rate → slow rate / medium rate → fast rate.

[0072] In an embodiment of the present invention, when adjusting the PID parameters, the running time of the original PID parameters is maintained for at least the set time before adjusting to the new PID parameters. Specifically, when the dynamic load PID parameters are enabled, the selected PID parameters need to be maintained for at least the set time T3 before switching to the PID parameters at the new rate. If a frequency modulation function is completed or the frequency modulation action is returned, the PID parameters will automatically switch back to the PID parameters with a fast rate, otherwise, the slow rate parameters will continue to be maintained.

[0073] In an embodiment of the present invention, a primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control further includes: optimizing the speed regulator program to limit the increase in primary frequency modulation active power. Setting a power limit value A, when the primary frequency modulation is in action, if the primary frequency modulation action results in active power ≥ A, the excess part is cleared to prevent overload caused by the primary frequency modulation.

[0074] In an embodiment of the present invention, a primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control also includes: data abnormality detection and processing: setting frequency, load threshold and abnormality detection conditions, and if the frequency fluctuation range exceeds the set value, exiting the primary frequency modulation adjustment function.

[0075] In order to implement the above embodiment, the present invention also proposes a primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control.

[0076] Figure 3 A block diagram of a primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control provided by an embodiment of the present invention.

[0077] like Figure 3 As shown, the primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control includes a modeling module 11, an updating module 12, a judging module 13 and an optimizing module 14, wherein:

[0078] A modeling module 11, for constructing a dynamic dead zone calculation model based on a basic dead zone of a primary frequency modulation, a single dead zone increment and the number of increments;

[0079] The updating module 12 is used to monitor the real-time unit frequency during a frequency modulation process, and determine the current dynamic dead zone based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model;

[0080] A judgment module 13 is used to judge the load trend if the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone;

[0081] The optimization module 14 is used to activate the dynamic load PID function if the load trend is stable, wherein the dynamic load PID function selects the target PID parameters to update the speed regulator parameters based on the time range of the frequency modulation action time, and the target PID parameters are selected from three preset groups of PID parameters, and each group of PID parameters is set with a corresponding time range.

[0082] Furthermore, in a possible implementation of an embodiment of the present invention, in the update module 12, the current dynamic dead zone is determined based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model, including: judging whether the real-time unit frequency enters the basic dead zone within the current time window, and if not, adding a single dead zone increment to the dynamic dead zone corresponding to the previous time window, thereby obtaining the current dynamic dead zone.

[0083] Furthermore, in a possible implementation of an embodiment of the present invention, in the judgment module 13, the load trend judgment includes: obtaining the actual load value of the current frequency modulation cycle at the current moment; obtaining the load prediction value of the next frequency modulation cycle of the current frequency modulation cycle by using a prediction model; and obtaining a load change value based on the actual load value and the load prediction value. If the load change value is within a set range, the load trend is stable.

[0084] Furthermore, in a possible implementation of the embodiment of the present invention, a smooth transition adjustment method is adopted when adjusting the PID parameters.

[0085] Furthermore, in a possible implementation of the embodiment of the present invention, when adjusting the PID parameters, the operation time of the original PID parameters is maintained for at least a set time period before being adjusted to the new PID parameters.

[0086] Furthermore, in a possible implementation of the embodiment of the present invention, the optimization module 14 is also used to: if the load trend is unstable, exit the dynamic load PID function and adjust the current PID parameters to the slowest set of PID parameters among the three preset PID parameter sets.

[0087] It should be noted that the aforementioned explanation of the embodiment of the primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control is also applicable to the primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control of this embodiment, and will not be repeated here.

[0088] In an embodiment of the present invention, a dynamic dead zone calculation model is constructed based on the basic dead zone, single dead zone increment and increment times of a single frequency modulation; during a single frequency modulation process, the real-time unit frequency is monitored, and the current dynamic dead zone is determined based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model; if the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone, a load trend judgment is performed; if the load trend is stable, the dynamic load PID function is put into operation, wherein the dynamic load PID function selects the target PID parameters based on the time range of the frequency modulation action time to update the speed regulator parameters, and the target PID parameters are selected from three preset PID parameter groups, and each PID parameter group is set with a corresponding time range. In this case, the reliability of the equipment can be improved by constructing a dynamic dead zone calculation model. In addition, when the load trend is stable, the dynamic load PID function is used to realize the dynamic switching of the corresponding PID parameters under different time ranges, ensuring that the optimal control performance can be obtained under different working conditions.

[0089] The beneficial effects of the method and system of the present invention include: 1) Ensuring safe and stable operation of the unit: For regional power grids or weak power grids, by dynamically adjusting the dead zone value, the unit can be prevented from being in primary frequency regulation for a long time, resulting in abnormal operation of the equipment and improving equipment reliability. 2) Enhancing system stability: Limiting the increase in primary frequency regulation active power to prevent overload and enhance system stability. 3) Optimizing control performance: Using multiple sets of PID parameters for dynamic switching to ensure that the optimal control performance can be obtained under different working conditions.

[0090] In order to implement the above embodiments, the present invention also proposes an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method provided by the above embodiments.

[0091] In order to implement the above embodiments, the present invention further proposes a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the methods provided by the above embodiments.

[0092] In order to implement the above embodiments, the present invention further provides a computer program product, including a computer program, which implements the methods provided by the above embodiments when executed by a processor.

[0093] The collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in this invention shall comply with the relevant laws and regulations and shall not violate public order and good morals.

[0094] It should be noted that personal information from users should be collected for legitimate and reasonable purposes and should not be shared or sold outside of these legitimate uses. In addition, such collection / sharing should be carried out after receiving the user's informed consent, including but not limited to notifying the user to read the user agreement / user notice and sign the agreement / authorization including authorization of relevant user information before the user uses the function. In addition, any necessary steps should be taken to protect and safeguard access to such personal information data and ensure that others who have access to personal information data comply with its privacy policy and procedures.

[0095] The present invention contemplates providing embodiments where users can selectively block the use or access of personal information data. That is, the present disclosure contemplates providing hardware and / or software to prevent or block access to such personal information data. Once the personal information data is no longer needed, risks can be minimized by limiting data collection and deleting the data. In addition, when applicable, such personal information is de-identified to protect the privacy of the user.

[0096] In the description of the aforementioned embodiments, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0097] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0098] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0099] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0100] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0101] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0102] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0103] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control, characterized in that: include: A dynamic dead zone calculation model is constructed based on the basic dead zone of primary frequency modulation, single dead zone increment and increment times; During a frequency modulation process, monitoring the real-time unit frequency, and determining the current dynamic dead zone based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model; If the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone, a load trend judgment is performed; If the load trend is stable, the dynamic load PID function is activated, wherein the dynamic load PID function selects target PID parameters to update the speed regulator parameters based on the time range of the frequency modulation action time, wherein the target PID parameters are selected from three preset groups of PID parameters, and each group of PID parameters is set with a corresponding time range.

2. The primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control according to claim 1 is characterized in that: The determining the current dynamic dead zone based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model includes: It is determined whether the real-time unit frequency enters the basic dead zone in the current time window. If not, a single dead zone increment is added to the dynamic dead zone corresponding to the previous time window to obtain the current dynamic dead zone.

3. The primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control according to claim 1 is characterized in that: The load trend determination comprises: Get the actual load value of the current frequency modulation cycle at the current moment; Using the prediction model to obtain a load prediction value for the next frequency modulation cycle of the current frequency modulation cycle; A load change value is obtained based on the actual load value and the load prediction value. If the load change value is within a set range, the load trend is stable.

4. The primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control according to claim 1 is characterized in that: Also includes: If the load trend is unstable, the dynamic load PID function is exited, and the current PID parameters are adjusted to the slowest set of PID parameters among the three preset PID parameter sets.

5. The primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control according to claim 1 or 4, characterized in that: A smooth transition adjustment method is used when adjusting PID parameters.

6. The primary frequency modulation optimization method based on dynamic dead zone and dynamic PID control according to claim 1 or 4, characterized in that: When adjusting the PID parameters, the original PID parameters should be kept running for at least the set time before being adjusted to the new PID parameters.

7. A primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control, characterized in that: include: A modeling module, used to construct a dynamic dead zone calculation model based on a basic dead zone of a primary frequency modulation, a single dead zone increment and the number of increments; An updating module, used for monitoring the real-time unit frequency during a frequency modulation process, and determining a current dynamic dead zone based on the real-time unit frequency, the basic dead zone and the dynamic dead zone calculation model; A judgment module, configured to judge the load trend if the current dynamic dead zone reaches the maximum frequency and the real-time unit frequency is not within the basic dead zone; The optimization module is used to activate the dynamic load PID function if the load trend is stable, wherein the dynamic load PID function selects target PID parameters to update the speed regulator parameters based on the time range of the frequency modulation action time, and the target PID parameters are selected from three preset groups of PID parameters, and each group of PID parameters is set with a corresponding time range.

8. The primary frequency modulation optimization system based on dynamic dead zone and dynamic PID control according to claim 7 is characterized in that: The optimization module is further used to: if the load trend is unstable, exit the dynamic load PID function and adjust the current PID parameters to the slowest set of PID parameters among the three preset PID parameter sets.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

Citation Information

Patent Citations

  • Primary frequency modulation method of hydropower generating set based on dynamic dead zones

    CN107276105A

  • Dynamic parameter adjusting method for active power of generator set, and storage medium

    CN112436561A

  • PID (Proportion Integration Differentiation) speed regulator parameter optimization method for wind power involved frequency modulation

    CN115085275A

  • Control method and system for suppressing frequent action of primary frequency modulation equipment of new energy station

    CN118472968A

  • Secondary frequency regulation method for hydropower station capable of satisfying positive correlation between regulation rate and rated capacity of power station

    WO2024207719A1