Hydroelectric generator unit primary frequency modulation and AGC instruction combined control method and device based on fuzzy control
By combining fuzzy control with primary frequency regulation and AGC commands, the problem of slow response and control conflicts of hydropower units after the integration of new energy sources has been solved, achieving more efficient grid frequency regulation and equipment protection.
Patent Information
- Application Number
- CN202611287803.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-24
AI Technical Summary
Existing hydropower units suffer from slow response speed, poor parameter adaptability, frequent control conflicts, and a lack of optimization mechanisms when facing large-scale integration of new energy sources and increased grid frequency regulation requirements, leading to decreased regulation performance and equipment wear.
A joint control method based on fuzzy control and AGC commands for hydropower units is adopted. By collecting multi-source operating parameters for time synchronization and data preprocessing, a speed limiting strategy and a feedforward reconstruction compensation mechanism are constructed. Combined with the fuzzy controller, dynamic coordination is achieved, and the switching of control modes is optimized.
It effectively avoids control conflicts, improves response speed and regulation accuracy, reduces equipment wear, enhances power grid frequency regulation performance and operational stability, and meets power grid dispatching needs.
Smart Images

Figure CN123163091A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of hydropower unit control technology, specifically to a method and device for joint control of primary frequency regulation and AGC commands of hydropower units based on fuzzy control. Background Technology
[0002] Existing hydropower units generally employ PID control to achieve primary frequency regulation and automatic generation control (AGC) functions. However, with the large-scale integration of new energy sources and the increasing demands of grid frequency regulation, traditional control methods are gradually revealing problems such as slow response speed, poor parameter adaptability, and insufficient coordinated control capabilities. Furthermore, existing primary frequency regulation and AGC load commands often use independent control modes. When grid frequency fluctuations and AGC load command adjustments occur simultaneously, control conflicts, load oscillations, and frequent guide vane movements are likely to occur. Simultaneously, AGC load commands typically exhibit step changes, making it difficult for traditional fixed-speed control to dynamically adjust according to the unit's head, load, and guide vane opening, leading to decreased regulation performance. In addition, existing hydropower unit control systems lack optimization mechanisms based on AGC assessment rules and robust bumpless switching strategies, making it difficult for units to balance response speed, regulation accuracy, and operational stability when facing complex grid environments. Summary of the Invention
[0003] To overcome the shortcomings of the prior art, this application provides a hybrid-managed hydropower unit primary frequency regulation and AGC command joint control method and device, which can effectively avoid control conflicts, reduce load oscillations and frequent guide vane movements, thereby balancing response speed, regulation accuracy and operational stability in complex power grid environments. The specific technical solution is as follows:
[0004] This application provides a joint control method for primary frequency regulation and AGC commands of a hydropower unit based on fuzzy control, and its technical solution is as follows: Collect multi-source operating parameters of the hydropower unit, and perform time synchronization and data preprocessing on the multi-source operating parameters to obtain the first set of operating parameters; the multi-source operating parameters include at least the primary frequency regulation signal of the hydropower unit, AGC load command, head data, guide vane opening, active power, grid frequency and speed parameters; Determine the baseline speed limit value for AGC load commands and perform slope limiting processing on AGC load commands; Construct evaluation indicators for unit regulation capacity, and apply these indicators to AGC load commands for speed limiting. Construct an AGC comprehensive assessment function and obtain the predicted assessment value based on the first set of operating parameters, then calculate the assessment deviation between the predicted assessment value and the target assessment value. Based on the assessment deviation, feedforward reconstruction compensation is performed on the AGC load command after the speed limit processing to obtain the AGC load command after feedforward reconstruction compensation. The control weight coefficients are calculated based on the fuzzy controller, and the joint control command is obtained by weighting the primary frequency modulation control quantity and the AGC load command after feedforward reconstruction compensation. Before the optimized controller is put into operation, the output error between the optimized controller and the original controller of the hydropower unit is calculated. When the output error meets the preset switching threshold condition, the control authority is switched through the gradual weight fusion algorithm.
[0005] Optional: The steps for time synchronization and data preprocessing of multi-source operating parameters include: adding a unified timestamp to the multi-source operating parameters from different sampling sources, and using linear interpolation to synchronize the multi-source operating parameters to obtain synchronized multi-source operating parameters; using interquartile range (IQR) to identify and remove abnormal data in the synchronized multi-source operating parameters to obtain a first data set; and using first-order exponential smoothing filter to perform noise reduction processing on the first data set to obtain a first set of operating parameters.
[0006] Optionally: The steps in this application for determining the baseline speed limit value of the AGC load command and performing slope limiting processing on the AGC load command include: By obtaining the rated capacity and preset allowable adjustment rate of the hydropower unit, the baseline speed limit value can be calculated. ; Calculate the change in AGC load commands between adjacent time points: ; When the absolute value of the change in AGC load command at adjacent time moments is greater than the allowable change corresponding to the baseline speed limit value, the slope of the AGC load command is limited according to the positive or negative direction of the change in AGC load command at adjacent time moments. ; ; in This is the baseline speed limit value; The preset allowable adjustment rate; This refers to the rated capacity of the hydropower unit. This represents the change in AGC load commands between adjacent time points; For the first k AGC load command at any time; For the first k AGC load command at time -1; This is the AGC load command after amplitude limiting processing; This refers to the AGC load command before the amplitude limiting process. The interval between adjacent time points.
[0007] Optionally, the step of speed limiting processing of AGC load commands based on unit regulation capacity evaluation indicators in this application includes: extracting normalized head data, guide vane opening margin, and load margin based on a first set of operating parameters; calculating the unit regulation capacity evaluation indicators by weighting the normalized head data, guide vane opening margin, and load margin; calculating the corresponding adaptive speed limiting coefficient by correcting the speed limiting coefficient according to the unit regulation capacity evaluation indicators; calculating the dynamic speed limiting value according to the adaptive speed limiting coefficient and the benchmark speed limiting value; replacing the benchmark speed limiting value with the dynamic speed limiting value, and re-processing the slope of the AGC load commands.
[0008] Furthermore: In this application, when the adaptive speed limit coefficient is obtained by correcting the speed limit coefficient based on the unit regulation capability evaluation index, it is first determined whether the unit regulation capability evaluation index is within the preset speed limit threshold range. When the unit regulation capability evaluation index is within the preset speed limit threshold range, the adaptive speed limit coefficient maintains the original speed limit coefficient; When the unit regulation capability evaluation index is greater than the maximum value of the preset speed limit threshold range, the adaptive speed limit coefficient is increased: ; When the unit's regulation capability evaluation index is less than the minimum value of the preset speed limit threshold range, the adaptive speed limit coefficient is reduced: ; in This is an adaptive speed limit coefficient; M As an indicator for evaluating the unit's regulation capability; a This is the minimum value within the preset speed limit threshold range; b This is the maximum value within the preset speed limit threshold range; and The weights for adjusting the speed limit coefficient are respectively adjusted, and , .
[0009] Optional: The steps in this application of constructing the AGC comprehensive assessment function and obtaining the predicted assessment value based on the first set of operating parameters, and calculating the assessment deviation between the predicted assessment value and the target assessment value, include: A comprehensive evaluation function for AGC is constructed by weighted summation of adjustment accuracy, adjustment rate and response time indicators. The first set of operating parameters is used to obtain predicted assessment values based on the AGC comprehensive assessment and evaluation function; The difference between the predicted assessment value and the preset target assessment value is calculated to obtain the assessment deviation.
[0010] Optionally: The step of performing feedforward reconstruction compensation on the AGC load command after speed limiting based on the assessment deviation in this application includes: Calculate the corrected feedforward compensation coefficient based on the aforementioned performance deviation: ; The AGC load command after speed limiting is calculated based on the feedforward compensation coefficient: ; in The corrected feedforward compensation coefficient; These are the initial feedforward compensation coefficients; This is a correction factor; For assessment deviation; This refers to the AGC load command after feedforward reconstruction compensation. This is a speed-limited AGC load command; This is the derivative of the AGC load command after rate limiting.
[0011] Optionally: The steps in this application of calculating control weight coefficients based on a fuzzy controller and performing weighted calculations on the primary frequency modulation control quantity and the AGC load command after feedforward reconfiguration compensation include: The grid frequency deviation is calculated based on the grid frequency and the grid rated frequency, and the AGC load deviation is calculated based on the AGC load command after feedforward reconfiguration compensation and the actual active power of the hydropower unit. The fuzzy controller performs fuzzification processing on the power grid frequency deviation and the AGC load deviation based on the triangular membership function: For the power grid frequency deviation and the AGC load deviation, a first fuzzy set, a second fuzzy set, and a third fuzzy set are respectively defined, and a corresponding triangular membership function is configured for each fuzzy set; Substitute the power grid frequency deviation and the AGC load deviation into the triangular membership function of their respective fuzzy sets to obtain the membership degree of the power grid frequency deviation relative to the three fuzzy sets and the membership degree of the AGC load deviation relative to the three fuzzy sets, respectively. Fuzzy inference is performed based on a preset fuzzy rule base, and the control weight coefficient is obtained through defuzzification operation; Based on the control weighting coefficient, the primary frequency modulation control quantity and the AGC load command after feedforward reconfiguration compensation are weighted and fused to obtain a joint control command.
[0012] Optionally: In this application, when the output error meets the preset switching threshold condition, the step of completing the control permission switching through the gradual weight fusion algorithm includes: Construct a switching weight coefficient that varies with time, wherein the switching weight coefficient gradually increases from 0 to 1 over time; The original controller output and the optimized controller output are weighted according to the switching weight coefficient to obtain the final output command: ; ; in This is the final output instruction; This refers to the output command of the original controller; To optimize the combined control commands output by the controller; To switch weight coefficients; This is the maximum permissible ramp rate for the generator unit.
[0013] Furthermore, this application also discloses a joint control device for primary frequency regulation and AGC commands of a hydropower unit based on fuzzy control, the device comprising: The data acquisition module is used to collect multi-source operating parameters of the hydropower unit and perform time synchronization and data preprocessing on the multi-source operating parameters to obtain a first set of operating parameters; the multi-source operating parameters include at least the primary frequency regulation signal of the hydropower unit, AGC load command, head data, guide vane opening, active power, grid frequency and speed parameters; The load command limiting module is used to determine the baseline speed limit value of the AGC load command and to perform slope limiting processing on the AGC load command; The load command speed limiting module is used to construct unit regulation capacity evaluation indicators and perform speed limiting processing on the AGC load command based on the unit regulation capacity evaluation indicators. The assessment module is used to construct the AGC comprehensive assessment function and obtain the predicted assessment value based on the first set of operating parameters, and to calculate the assessment deviation between the predicted assessment value and the target assessment value. The reconstruction compensation module is used to perform feedforward reconstruction compensation on the AGC load command after speed limiting based on the assessment deviation, so as to obtain the AGC load command after feedforward reconstruction compensation. The instruction combination module is used to calculate the control weight coefficients based on the fuzzy controller, and to perform weighted calculations on the primary frequency modulation control quantity and the AGC load instruction after feedforward reconstruction compensation to obtain the joint control instruction; The instruction transition switching module is used to calculate the output error between the optimized controller and the original controller of the hydropower unit before the optimized controller is put into operation; when the output error meets the preset switching threshold condition, the control authority is switched through the gradual weight fusion algorithm.
[0014] The technical solution of this application achieves the following beneficial effects: This application's method involves real-time acquisition, preprocessing, and feature extraction of hydropower unit operating data to construct an adaptive speed-limiting strategy for AGC load commands. Combined with AGC assessment rules, a feedforward compensation mechanism is established to improve the unit's load response speed and performance. Simultaneously, fuzzy control is employed to achieve dynamic coordination between primary frequency regulation and AGC control quantities, avoiding load fluctuations caused by control conflicts. Furthermore, this method utilizes a non-disruptive switching strategy between optimized and original control commands to achieve smooth control mode transitions. Compared to existing technologies, this method effectively improves unit frequency regulation performance, AGC performance indicators, and operational stability, while reducing guide vane wear and hydraulic oscillation risks. Attached Figure Description
[0015] Figure 1 This is a flowchart of the combined control method of primary frequency regulation and AGC command for hydropower units in this application embodiment.
[0016] Figure 2 This is a structural diagram of the fuzzy control algorithm in the embodiments of this application.
[0017] Figure 3 This is a structural diagram of the hydropower unit's primary frequency regulation and AGC command joint control device in the embodiments of this application.
[0018] Figure 4 This is a structural diagram of an electronic device according to an embodiment of this application. Detailed Implementation
[0019] The present application will now be further described with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solutions of the present application and should not be construed as limiting the scope of protection of the present application. It should be noted that the following detailed descriptions are exemplary and intended to provide further explanation of the present application.
[0020] In traditional hydropower unit control, PID controllers are widely used to achieve primary frequency regulation and automatic generation control functions. However, with the large-scale integration of new energy sources, the frequency fluctuation characteristics of the power grid have changed significantly. Traditional control strategies, due to their fixed parameters, cannot adapt to dynamic operating conditions, resulting in insufficient response speed and poor parameter adaptability. Existing control systems employ independent control modes for primary frequency regulation and AGC (Automatic Generation Control). When power grid frequency fluctuations and AGC command adjustments occur simultaneously, the control output is prone to superposition or cancellation effects, causing load oscillations and frequent guide vane movements. Furthermore, the step-change characteristics of AGC commands combined with fixed speed limit control make it difficult to dynamically adjust the speed limit value based on real-time operating conditions such as unit head, load, and guide vane opening, leading to a decline in regulation performance. In addition, the control system lacks an optimization mechanism based on AGC assessment rules and a robust bumpless switching strategy, making it difficult to balance response speed, regulation accuracy, and operational stability, thus affecting the reliability of power grid dispatch. If these technical problems are not resolved, control conflicts and load oscillations will persist for a long time, leading to accelerated wear of mechanical components such as the hydropower unit's guide vane mechanism and shortening equipment lifespan. The continued deterioration of regulation performance may prevent generating units from providing timely and effective support during grid frequency events, increasing the risk of system instability. Simultaneously, the lack of an optimization mechanism driven by performance evaluation rules makes it impossible for control strategies to adaptively adjust, failing to meet the stringent requirements of grid dispatch for regulation performance and impacting the safe and stable operation of the power system.
[0021] Therefore, as Figure 1 As shown, this application provides a joint control method for primary frequency regulation and AGC commands of hydropower units based on fuzzy control. Primary frequency regulation refers to the function of the hydropower unit automatically adjusting its active power output according to the grid frequency deviation to suppress grid frequency fluctuations. This is typically achieved by adjusting the turbine guide vane opening, aiming to maintain grid frequency stability. AGC commands, or Automatic Generation Control commands, are active power regulation commands issued by the grid dispatch center to the hydropower unit. They aim to make the unit's active power output track grid load changes to meet the real-time power balance requirements of the grid. The method includes: First, multi-source operating parameters of the hydropower unit are collected, and these parameters are then synchronized with time and preprocessed to obtain a first set of operating parameters. These multi-source operating parameters include at least the primary frequency regulation signal, AGC load command, head data, guide vane opening, active power, grid frequency, and speed parameters of the hydropower unit. These multi-source operating parameters can be acquired by the hydropower unit's monitoring system according to a preset sampling period, and the data is continuously stored using a sliding buffer queue.
[0022] Because the multi-source operating parameters of hydropower units originate from different sensors and acquisition devices, and these sensors and devices often have inconsistent sampling times, and the acquisition process for multi-source operating parameters is subject to problems such as data loss, outliers, and noise interference, directly using the aforementioned unprocessed raw multi-source operating parameters will lead to inaccurate output results in subsequent control algorithms, thereby affecting the accuracy of control command generation and the overall control performance of the system. Therefore, this step will perform time synchronization and data preprocessing on the multi-source operating parameters. The specific process is as follows: Firstly, a unified timestamp is added to the multi-source operating parameters from different sampling sources, and linear interpolation is used to synchronize the multi-source operating parameters to obtain synchronized multi-source operating parameters. This step ensures that the operating parameters from different sensors or data sources maintain consistency in the time dimension, eliminating data misalignment caused by differences in sampling frequency or sampling time, and providing accurate and aligned input for subsequent data processing and control algorithms. The specific process of this linear interpolation method is as follows: ; in For the target time t Data values; The data value is from the previous moment; This represents the data value at the next time step. This linear interpolation method estimates the data value at the target time by establishing a linear relationship between data points known to be adjacent time steps. When the timestamps of data from different sampling sources are inconsistent, a unified time base can be used as a reference to perform linear interpolation on the data from other sampling sources, aligning them with that time base. It should be noted that spline interpolation can also be used for time synchronization in this embodiment.
[0023] Secondly, the interquartile range (ICR) method is used to identify and remove abnormal data from the synchronized multi-source operating parameters to obtain the first dataset. The purpose of this step is to identify and remove outliers in the dataset. These outliers may be caused by sensor malfunctions, transmission errors, or transient interference, which can severely distort the statistical characteristics of the data and affect the accuracy of subsequent analysis and control decisions. Furthermore, this embodiment preferably uses the ICR method to extract abnormal data, and the specific process is as follows: First, let the lower quartile be Q1 and the upper quartile be Q3. Then the interquartile range is: IQR = Q3 - Q1; When the i-th data point X i Satisfy: X i <Q1-k1×IQR or X i >Q3+k2×IQR; Then determine the i-th data point X iOutliers are identified and removed. Here, k1 and k2 are empirical coefficients, and Q1 and Q3 are empirical values obtained through statistical calculations. Their values are related to k1 and k2; generally, the larger the range of empirical values for the quartiles, the smaller the empirical coefficients should be.
[0024] Third, a first-order exponential smoothing filter is used to denoise the first data set to obtain the first set of operating parameters. The purpose of this step is to eliminate random noise in the data, making the data trend clearer, improving the smoothness and predictability of the data, thereby providing more stable and reliable input values for subsequent control algorithms. This first-order exponential smoothing filter can be expressed as: ; in This is the filtered output value after exponential smoothing at time k; This is the filtered output value after exponential smoothing at time k-1; This represents the original measured data at time k. It is the smoothing coefficient, and .
[0025] Through the above-described scheme, the method of this application effectively solves the problems of inconsistent sampling times, data anomalies, and noise interference that may exist during the acquisition of multi-source operating parameters of hydropower units. By adding unified timestamps and linear interpolation to data from different sampling sources, the precise alignment of data in the time dimension is ensured, avoiding control errors caused by data misalignment. The interquartile range method is used to identify and remove abnormal data, effectively eliminating the impact of sensor failures or transient interference on data accuracy and ensuring the reliability of data input. Furthermore, noise reduction processing of the data is performed through first-order exponential smoothing filtering, making the trend of operating parameters smoother and more stable, significantly improving data quality. The above data preprocessing steps provide highly reliable input data for subsequent core control links such as AGC load command limiting, unit regulation capability evaluation, AGC comprehensive assessment evaluation, and fuzzy controller weighted calculation, thereby improving the accuracy and robustness of the joint control method of primary frequency regulation and AGC commands for the entire hydropower unit, and helping the hydropower unit achieve more stable and efficient operation control.
[0026] Next, the baseline speed limit value for the AGC load command is determined, and the slope of the AGC load command is then limited. The baseline speed limit value determined in this step is the upper limit set for the rate of change of the AGC load command. It is used to limit the instantaneous change amplitude of the load command to prevent the unit from responding too quickly or too slowly, thereby protecting the unit equipment and maintaining system stability. The purpose of slope limiting is to ensure that the rate of change of the AGC load command always remains within the allowable range of AGC command regulation, ensuring smooth unit operation. Specifically, the specific process of slope limiting the AGC load command in this step is as follows: First, obtain the rated capacity and preset allowable regulation rate of the hydropower unit. The rated capacity refers to the maximum active power that the hydropower unit can continuously output under design conditions; it is a key parameter for measuring the unit's scale and power output capacity. This rated capacity can be obtained by consulting the unit's design manual, nameplate data, or reading it from the power plant's SCADA (Supervisory and Data Acquisition) system or DCS (Distributed Control System). The preset allowable regulation rate refers to the maximum permissible rate of change of active power of the hydropower unit per unit time. It is usually determined based on the unit's mechanical structure, hydraulic characteristics, and operational safety requirements to prevent excessively rapid power changes from impacting the unit. This preset allowable regulation rate can be obtained by consulting the unit's operating procedures and technical specifications, or by setting it according to grid dispatch requirements.
[0027] The baseline speed limit value can be calculated based on the rated capacity of the hydropower unit and the preset allowable adjustment rate. ; Then calculate the change in AGC load commands between adjacent time points: ; When the absolute value of the change in AGC load command between adjacent time points is less than or equal to the allowable change corresponding to the baseline speed limit, it indicates that the rate of change of the AGC load command does not exceed the unit's physical capacity, and the AGC load command is not processed. When the absolute value of the change in the AGC load command between adjacent time points is greater than the allowable change corresponding to the baseline speed limit, the rate of change of the AGC load command exceeds the unit's physical capacity. In this case, the slope of the AGC load command is limited according to the positive or negative direction of the change in the AGC load command between adjacent time points. ; ; in This is the baseline speed limit value; The preset allowable adjustment rate; This refers to the rated capacity of the hydropower unit. This represents the change in AGC load commands between adjacent time points; For the first k AGC load command at any time; For the first k AGC load command at time -1; This is the AGC load command after amplitude limiting processing; This refers to the AGC load command before the amplitude limiting process. The interval between adjacent time points.
[0028] The direction of AGC load command change is determined using the above symbol function: when When the value is greater than 0, it indicates that the AGC load command is increasing, and the speed limit control outputs in the positive direction; when... When the value is less than 0, it indicates that the AGC load command is decreasing, and the speed limit control outputs in the negative direction; when When the value is 0, the current output remains unchanged. By limiting the slope of the command changes through the above process, hydraulic oscillations caused by rapid guide vane movement are avoided, thus improving the unit's operational stability.
[0029] The above process ensures that even if the issued AGC load command changes significantly, the hydropower unit will always operate within its safe operating and physical capacity range after receiving the AGC load command, thereby effectively avoiding mechanical shock and equipment wear caused by excessively rapid command changes. The method in this application provides stable, reliable input data that conforms to the actual operating capacity of the unit for subsequent AGC command optimization and joint control, significantly improving the robustness and effectiveness of the entire control system.
[0030] Subsequently, a unit regulation capacity evaluation index was constructed, and the AGC load command was speed-limited based on this index. This unit regulation capacity evaluation index is used to assess the unit's ability to respond to AGC commands under the current operating conditions. Since the actual regulation capacity of a hydropower unit varies dynamically under different operating conditions, a fixed baseline speed limit is used to restrict the response speed when the unit's regulation capacity is sufficient, while failing to effectively protect the unit when the regulation capacity is insufficient, thus affecting the execution effect of AGC commands and the safety of unit operation. Therefore, this step achieves adaptive adjustment of the AGC load command speed limit by constructing a unit regulation capacity evaluation index.
[0031] Specifically, the process of limiting the speed of the AGC load command based on the unit's regulation capacity evaluation index in this step is as follows: Based on the first set of operating parameters, normalized head data, guide vane opening margin, and load margin are extracted. The head data refers to the difference in water level between the reservoir and the turbine's tailrace, directly affecting the turbine's output capacity. The guide vane opening margin represents the distance between the current guide vane opening and its extreme value, reflecting the remaining upward or downward adjustment capacity of the turbine. The load margin refers to the difference between the turbine's current output and its rated output or extreme output, reflecting the turbine's load regulation capability. Normalization is performed to eliminate the influence of different physical dimensions and numerical ranges, ensuring comparability in subsequent weighted calculations. For example, the normalization process can use a maximum-minimum normalization method to map the data to the [0,1] interval; or it can use Z-score standardization to convert the data into a distribution with a mean of 0 and a standard deviation of 1.
[0032] The unit's regulation capacity evaluation index M is obtained by weighted calculation based on normalized head data, guide vane opening margin, and load margin. M=w1H n +w2Y n +w3P n ; Where H n Head data after normalization; Y n P is the guide vane opening margin after normalization. n The normalized load margin is represented by w1, w2, and w3, which are weighting coefficients. Factors such as head data, guide vane opening margin, and load margin have varying degrees of impact on the unit's regulation capacity. By assigning different weights to these factors for weighted calculation, the actual regulation potential of the unit can be reflected more accurately. For example, the weights of each factor can be determined based on expert experience or historical operating data analysis, or objective weighting methods such as the analytic hierarchy process (AHP) or entropy weighting can be used to determine the weights.
[0033] The adaptive speed limit coefficient is obtained by correcting the speed limit coefficient based on the unit's regulation capability evaluation index. This step aims to dynamically adjust the speed limit coefficient of the AGC load command according to the unit's current regulation capability, enabling it to adapt to changes in the unit's operating conditions. When the unit's regulation capability is strong, the speed limit coefficient can be appropriately increased, allowing for faster changes in the AGC load command; when the unit's regulation capability is weak, the speed limit coefficient is decreased to protect the unit. For example, a mapping table between the speed limit coefficient and the unit's regulation capability evaluation index can be preset, and the adaptive speed limit coefficient can be obtained by looking up the table; alternatively, piecewise functions, fuzzy logic, or other methods can be used to dynamically adjust the speed limit coefficient based on the numerical range of the unit's regulation capability evaluation index.
[0034] In this embodiment, when the adaptive speed limit coefficient is obtained by correcting the speed limit coefficient based on the unit regulation capability evaluation index, it is first determined whether the unit regulation capability evaluation index is within the preset speed limit threshold range: When the unit regulation capability evaluation index is within the preset speed limit threshold range, the adaptive speed limit coefficient maintains the original speed limit coefficient; When the unit regulation capability evaluation index is greater than the maximum value of the preset speed limit threshold range, the adaptive speed limit coefficient is increased: ; When the unit's regulation capability evaluation index is less than the minimum value of the preset speed limit threshold range, the adaptive speed limit coefficient is reduced: ; in This is an adaptive speed limit coefficient; M As an indicator for evaluating the unit's regulation capability;a This is the minimum value within the preset speed limit threshold range; b This is the maximum value within the preset speed limit threshold range; and The weights for adjusting the speed limit coefficient are respectively adjusted, and , .
[0035] For example, in this embodiment, it is set and When M > 0.8, the speed limit coefficient is increased; when M < 0.5, the speed limit coefficient is decreased; therefore, when M = 1, This means a maximum speed limiting capability increase of 6%; while when M=0, This means a speed limit reduction of up to 30%.
[0036] The dynamic speed limit value V can then be calculated based on the adaptive speed limit coefficient and the baseline speed limit value. .
[0037] Finally, the original baseline speed limit value is replaced with this dynamic speed limit value, and the slope limiting of the AGC load command is reprocessed, that is: ; .
[0038] The above process dynamically adjusts the speed limit value of AGC load commands based on the real-time operating conditions of the hydropower unit, overcoming the limitations of traditional fixed speed limits that cannot adapt to changes in the unit's regulation capacity. When the hydropower unit's regulation capacity is sufficient, the dynamic speed limit value will increase accordingly, allowing the AGC load commands to change at a faster rate, thereby improving the unit's response speed to grid load changes and the AGC performance. Conversely, when the hydropower unit's regulation capacity is limited, the dynamic speed limit value will decrease, effectively limiting the rate of change of AGC load commands and avoiding risks such as unit overload, water hammer effect, or unstable operation caused by excessively rapid commands, thus enhancing the safety and stability of unit operation. This adaptive speed limiting mechanism enables the hydropower unit to better protect itself, extend equipment life, and optimize overall economic operating efficiency while meeting the grid's frequency regulation requirements.
[0039] Then, an AGC comprehensive assessment function is constructed, and a predicted assessment value is obtained based on the first set of operating parameters. The assessment deviation between the predicted assessment value and the target assessment value is then calculated.
[0040] The comprehensive evaluation function for AGC is obtained by weighted summation of adjustment accuracy, adjustment rate, and response time indicators. ; Where K is the AGC comprehensive assessment value, K a K represents the adjustment accuracy index. s K represents the rate of adjustment index. p This represents the response time metric, with k1, k2, and k3 being the weighting coefficients.
[0041] The regulation accuracy index is used to quantify the degree of conformity between the active power output of the hydropower unit and the target command when responding to AGC load commands, measuring the control system's ability to track commands. The methods for obtaining this regulation accuracy index include, but are not limited to: calculating the average or root mean square value of the absolute error between the actual active power value and the command value; or statistically analyzing the percentage or duration of active power deviation from the command value within a certain time window. The regulation rate index is used to evaluate the speed of change in active power output of the hydropower unit when responding to AGC load commands, reflecting the unit's dynamic response capability. The methods for obtaining this regulation rate index include, but are not limited to: calculating the change in active power per unit time, such as the change in megawatts per second; or measuring the time required for the unit's power level to change. The response time index is used to measure the time required for the hydropower unit to begin responding or reach a stable response from receiving an AGC load command, evaluating the unit's rapid response characteristics. The methods for obtaining this response time index include, but are not limited to: measuring the time delay between the command change and the active power output change; or defining the time required from the start of the command change to the active power reaching the command's preset threshold.
[0042] Subsequently, the first set of operating parameters is used to obtain predicted performance values based on the AGC comprehensive evaluation function. This AGC comprehensive evaluation function quantifies the overall performance of the hydropower unit during AGC operation. The first set of operating parameters is a collection of multi-source operating parameters of the hydropower unit after time synchronization and data preprocessing, including at least the primary frequency regulation signal, AGC load command, head data, guide vane opening, active power, grid frequency, and speed parameters. Using the AGC comprehensive evaluation function and combining it with the current first set of operating parameters, predicted performance values can be calculated. These predicted performance values are used to predict or evaluate the AGC performance of the hydropower unit under specific operating conditions.
[0043] Finally, the difference between the predicted assessment value and the preset target assessment value is calculated to obtain the assessment deviation e. K : ; Where K ref K is the target assessment value. predThis is a predicted performance target. The target performance target is a pre-set performance standard or objective that the hydropower unit is expected to achieve during AGC operation, used to measure the actual or predicted performance of the unit. This target performance target can be determined based on grid dispatch requirements, unit design performance, historical best operating data, or industry standards. Performance deviation reflects the gap between the unit's performance and the expected target, thus providing accurate feedback signals for subsequent feedforward reconfiguration compensation and joint control command optimization, significantly improving the accuracy of hydropower unit AGC control.
[0044] Next, based on the assessment deviation, feedforward reconstruction compensation is performed on the AGC load command after the speed limit processing to obtain the AGC load command after feedforward reconstruction compensation.
[0045] Specifically, this step first requires calculating the corrected feedforward compensation coefficient based on the assessment deviation. This feedforward compensation coefficient is used to enhance the load command's responsiveness to rapid changes. ; in The corrected feedforward compensation coefficient; These are the initial feedforward compensation coefficients; This is a correction factor; This is considered a performance deviation. When the predicted performance value is lower than the target performance value, i.e., e... K If K > 0, K can be increased appropriately. f Increase the feedforward compensation to improve the unit's response speed; when the predicted performance value is higher than the target performance value, i.e., e K <0, appropriately reduce K f This reduces the feedforward compensation strength and decreases the risk of system overshoot.
[0046] Then, based on this feedforward compensation coefficient, the aforementioned AGC load command after speed limiting is calculated: ; in The corrected feedforward compensation coefficient; These are the initial feedforward compensation coefficients; This is a correction factor; For assessment deviation; This refers to the AGC load command after feedforward reconstruction compensation. This is a speed-limited AGC load command; This is the derivative of the AGC load command after speed limiting. When the AGC load command has a large rate of change, this derivative feedforward term can be introduced to release the control quantity in advance, thereby improving the dynamic response speed of the unit.
[0047] The above process dynamically adjusts the strength and direction of feedforward compensation based on the actual operational deviations of the hydropower unit, making the feedforward reconfiguration compensation process more adaptive and accurate. This effectively solves the problem of insufficient or over-compensation that may occur with fixed compensation coefficients when the operating conditions of hydropower units are complex and variable. Through this dynamic adaptive compensation mechanism, hydropower units can track AGC commands more quickly and stably, effectively reducing performance losses caused by control lag or overshoot, thereby improving the regulation capacity and economic benefits of hydropower units in the power grid and ensuring the stable operation of the power grid.
[0048] Subsequently, control weight coefficients are calculated based on the fuzzy controller, and the primary frequency modulation control quantity and the AGC load command after feedforward reconfiguration compensation are weighted to obtain the joint control command. For example... Figure 2 As shown, the specific calculation process for this step is as follows: First, the grid frequency deviation is calculated based on both the grid frequency and the grid's rated frequency. This deviation reflects the power balance of the grid; when the grid frequency deviates from the rated value, it indicates a power deficit or surplus in the grid. This grid frequency deviation can be expressed as: ; in f is the power grid frequency deviation; f is the current power grid frequency; f N This is the rated frequency of the power grid.
[0049] Simultaneously, the AGC load deviation is calculated based on the AGC load command after feedforward reconfiguration compensation and the actual active power of the hydropower unit. This AGC load deviation reflects the tracking accuracy and response capability of the hydropower unit to the AGC load command. This AGC load deviation can be expressed as: ; in For AGC load deviation; P AGC P represents the target power of the AGC load command after feedforward reconfiguration compensation; P represents the actual power of the unit.
[0050] Subsequently, the grid frequency deviation and AGC load deviation are fuzzified using a fuzzy controller based on the triangular membership function. For the grid frequency deviation and AGC load deviation, three fuzzy sets are defined, and a corresponding triangular membership function is assigned to each fuzzy set. In this embodiment, the grid frequency deviation and AGC load deviation are divided into three levels of fuzzy sets: large, medium, and small, namely, the first fuzzy set, the second fuzzy set, and the third fuzzy set.
[0051] Substituting the grid frequency deviation and the AGC load deviation into their respective triangular membership functions for the fuzzy sets, the membership degrees of the grid frequency deviation and the AGC load deviation relative to the three fuzzy sets are obtained. This triangular membership function is a conventional fuzzy set membership function, which maps a precise input value to a membership value between 0 and 1, representing the degree to which the input value belongs to a certain fuzzy set.
[0052] This embodiment takes the power grid frequency deviation as an example, and its triangular membership function is expressed as follows: ; Where x is the input variable; μ(x) is the membership degree of the input variable to the current fuzzy set; a is the left boundary of the membership function; b is the center point of the membership function; and c is the right boundary of the membership function. When the input variable is located in the interval (a, b), the membership degree increases linearly from 0 to 1; when the input variable is located in the interval (b, c), the membership degree decreases linearly from 1 to 0; when the input variable is equal to the center point b, the membership degree reaches its maximum value of 1, indicating that it completely belongs to the corresponding fuzzy set.
[0053] The method in this embodiment can construct state discrimination rules based on the membership degree calculation results of power grid frequency deviation and AGC load deviation, as shown in Table 1:
[0054] The current control mode can be determined by the above-mentioned state discrimination rules, so as to provide a state basis for subsequent joint coordination control.
[0055] Furthermore, fuzzy inference is performed based on a preset fuzzy rule base, and control weight coefficients are obtained through defuzzification. This preset fuzzy rule base describes the relationship between input fuzzy variables and output fuzzy variables. For example, a portion of the preset fuzzy rule base in this embodiment can be represented as: Rule 1: If Δf is large and ΔP is small, then the control weight of the primary frequency control quantity is... =0.9; Rule 2: If Δf is small and ΔP is large, then the control weight of the primary frequency control quantity is... =0.1; Rule 3: If Δf is large and ΔP is large, then the control weight of the primary frequency control quantity is... =0.5; This fuzzy inference is the process of deriving the membership distribution of the output fuzzy variable based on a preset fuzzy rule base and the fuzzified input membership values. Common fuzzy inference methods include Mamdani fuzzy inference and Sugeno fuzzy inference. This application preferably uses the Mamdani fuzzy inference method to calculate the control weights and employs the centroid method for defuzzification. ; in The control weight of the primary frequency modulation control quantity; μ i z represents the activation degree of the i-th rule; i This represents the output value for the corresponding rule; n is the total number of rules.
[0056] Finally, based on the control weighting coefficients, the primary frequency regulation control quantity and the AGC load command after feedforward reconfiguration compensation are weighted and fused to obtain the joint control command U: ; U PFR U is the primary frequency control quantity; AGC This is the AGC load command after feedforward reconstruction compensation.
[0057] Through the above process, this application can achieve dynamic and adaptive weighted fusion of the primary frequency regulation control quantity of the hydropower unit and the AGC load command after feedforward reconfiguration compensation. In this step, the grid frequency deviation and AGC load deviation are calculated in real time and used as inputs to the fuzzy controller, enabling the control system to fully consider the real-time operating status of the grid and the hydropower unit's response to the AGC command. Based on triangular membership functions, a fuzzy rule base, and defuzzification operations, the fuzzy controller can derive control weight coefficients adapted to the current operating conditions. Through dynamically adjusted weight coefficients, the generation of joint control commands no longer depends on a fixed ratio, but can flexibly prioritize grid frequency stability or precise tracking of AGC commands according to actual needs. This significantly improves the control performance of the hydropower unit in complex and variable grid environments, effectively balancing the contradiction between grid frequency stability and AGC performance indicators, thereby improving the operating efficiency of the hydropower unit and the overall stability of the grid.
[0058] Finally, before the optimized controller is put into operation, the output error between the optimized controller and the original controller of the hydropower unit needs to be calculated. When the output error meets the preset switching threshold condition, the control authority is switched through a gradual weight fusion algorithm. The optimized controller is the control unit that executes the joint control method of primary frequency regulation and AGC commands in this embodiment. The optimized controller has the aforementioned fuzzy controller built in. The optimized controller and the original controller of the unit operate in parallel. Before the optimized controller is put into operation, it tracks the output signal of the original controller. Only when the switching condition is met is the control authority switched through a gradual weight fusion algorithm, and a joint control command is output to the actuator of the hydropower unit. In actual operation, if a direct switching method is used to replace the original controller of the hydropower unit, it may lead to abrupt changes in the control commands, causing drastic fluctuations in the operating state of the hydropower unit, affecting the stability of the unit and the operational safety of the power grid. Therefore, this embodiment uses a gradual weight fusion algorithm to complete the control authority switch.
[0059] Specifically, in this embodiment, before the optimization controller is put into operation, the optimization controller reads the output commands of the original controller in real time and establishes a tracking synchronization mechanism: ; in To track the difference; P ori This is the original controller output; P opt To optimize controller output.
[0060] When the following conditions are met: ; Where ε is the allowable error threshold, typically selected as 1% of the unit's rated power. When the above condition is met, it indicates that the optimized controller has completed state tracking. Subsequently, a real-time tracking mechanism ensures that the output states of the two controllers are consistent, avoiding sudden load changes during switching.
[0061] When the output error meets the preset switching threshold condition, that is At this point, the control permission switch is completed through a gradual weight fusion algorithm. The specific steps are as follows: Construct time-varying switching weight coefficients: ; Where t is the duration of the switching; Ts is the preset total switching time; The switching weight coefficient is used, which gradually increases from 0 to 1 over time to achieve a smooth transition from the original controller to the optimized controller.
[0062] Finally, the original controller output and the optimized controller output are weighted according to the above switching weight coefficients to obtain the final output command: ; in This is the final output instruction; This refers to the output command of the original controller; To optimize the combined control commands output by the controller; To switch the weighting coefficients;
[0063] In addition, to prevent excessive power fluctuations during switching, a power change rate limit is introduced: ; In the above formula This is the maximum permissible ramp rate for the generator unit.
[0064] The method in this embodiment achieves seamless switching of the optimized AGC control strategy through a triple mechanism of tracking synchronization, weight fusion, and rate of change constraint, ensuring continuous load changes of the unit and stable operation of the control system.
[0065] In addition, such as Figure 3 As shown, this application also discloses a joint control device for primary frequency regulation and AGC commands of a hydropower unit based on fuzzy control, the device comprising: The data acquisition module is used to collect multi-source operating parameters of the hydropower unit and perform time synchronization and data preprocessing on the multi-source operating parameters to obtain a first set of operating parameters; the multi-source operating parameters include at least the primary frequency regulation signal of the hydropower unit, AGC load command, head data, guide vane opening, active power, grid frequency and speed parameters; The load command limiting module is used to determine the baseline speed limit value of the AGC load command and to perform slope limiting processing on the AGC load command; The load command speed limiting module is used to construct unit regulation capacity evaluation indicators and perform speed limiting processing on the AGC load command based on the unit regulation capacity evaluation indicators. The assessment module is used to construct the AGC comprehensive assessment function and obtain the predicted assessment value based on the first set of operating parameters, and to calculate the assessment deviation between the predicted assessment value and the target assessment value. The reconstruction compensation module is used to perform feedforward reconstruction compensation on the AGC load command after speed limiting based on the assessment deviation, so as to obtain the AGC load command after feedforward reconstruction compensation. The instruction combination module is used to calculate the control weight coefficients based on the fuzzy controller, and to perform weighted calculations on the primary frequency modulation control quantity and the AGC load instruction after feedforward reconstruction compensation to obtain the joint control instruction; The instruction transition switching module is used to calculate the output error between the optimized controller and the original controller of the hydropower unit before the optimized controller is put into operation; when the output error meets the preset switching threshold condition, the control authority is switched through the gradual weight fusion algorithm.
[0066] The apparatus provided in this application embodiment can achieve... Figure 1 To avoid repetition, the various processes implemented in the method embodiments will not be described again here.
[0067] like Figure 4 As shown in the illustration, this application also provides an electronic device, including a processor and a memory, and a program or instructions stored in the memory and executable on the processor, which, when executed by the processor, implement as follows: Figure 1 The various processes of the method embodiments shown are all capable of achieving the same technical effect, and will not be described again here to avoid repetition.
[0068] This application embodiment also provides a readable storage medium storing a program or instructions that, when executed by a processor, implement the above-described functionality. Figure 1The various processes described in the embodiments of the method described herein can achieve the same technical effect, and will not be repeated here to avoid repetition.
[0069] This application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above-described... Figure 1 The various processes described in the embodiments of the method described herein can achieve the same technical effect, and will not be repeated here to avoid repetition.
[0070] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0071] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0072] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components may be combined, or integrated into another device, or some features may be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0073] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0074] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0075] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0076] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a device (which may be a terminal or platform, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0077] The above description is only a preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the technical principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for combined control of primary frequency modulation and AGC command of a hydroelectric generating unit based on fuzzy control, characterized in that, The method includes: Multi-source operating parameters of the hydropower unit are collected, and time synchronization and data preprocessing are performed on the multi-source operating parameters to obtain a first set of operating parameters; the multi-source operating parameters include at least the primary frequency regulation signal of the hydropower unit, AGC load command, head data, guide vane opening, active power, grid frequency and speed parameters; Determine the baseline speed limit value for the AGC load command and perform slope limiting processing on the AGC load command; Construct a unit regulation capacity evaluation index, and perform speed limiting processing on the AGC load command based on the unit regulation capacity evaluation index; Construct an AGC comprehensive assessment function and obtain a predicted assessment value based on the first set of operating parameters, and calculate the assessment deviation between the predicted assessment value and the target assessment value; Based on the aforementioned assessment deviation, feedforward reconstruction compensation is performed on the AGC load command after speed limiting to obtain the AGC load command after feedforward reconstruction compensation. The control weight coefficients are calculated based on the fuzzy controller, and the joint control command is obtained by weighting the primary frequency modulation control quantity and the AGC load command after feedforward reconstruction compensation. Before the optimized controller is put into operation, the output error between the optimized controller and the original controller of the hydropower unit is calculated; when the output error meets the preset switching threshold condition, the control authority is switched through the gradual weight fusion algorithm.
2. The method of claim 1, wherein the primary frequency modulation and AGC command combined control method of the hydroelectric generating unit is characterized in that, The steps for time synchronization and data preprocessing of multi-source operating parameters include: A unified timestamp is added to the multi-source operating parameters of different sampling sources, and the multi-source operating parameters are synchronized by linear interpolation to obtain synchronized multi-source operating parameters; The interquartile range method is used to identify and remove abnormal data in the multi-source operating parameters after synchronization to obtain the first data set; The first data set is denoised using a first-order exponential smoothing filter to obtain the first set of operating parameters.
3. The method of claim 1, wherein the method further comprises: The steps of determining the baseline speed limit value of the AGC load command and performing slope limiting processing on the AGC load command include: By obtaining the rated capacity and preset allowable adjustment rate of the hydropower unit, the baseline speed limit value can be calculated. ; Calculate the change in AGC load commands between adjacent time points: ; When the absolute value of the change in AGC load command at adjacent time moments is greater than the allowable change corresponding to the baseline speed limit value, the slope of the AGC load command is limited according to the positive or negative direction of the change in AGC load command at adjacent time moments. ; ; wherein is a reference limit value; is a preset allowed adjustment rate; is a rated capacity of the hydroelectric generating unit; is a variation of the AGC load instruction between adjacent time instants; is the AGC load instruction at the k time instant; is the AGC load instruction at the k -1 time instant; is the AGC load instruction after the limiting processing; is the AGC load instruction before the limiting processing; is an interval between adjacent time instants.
4. The method of claim 1 or 3, wherein the method further comprises: The steps for limiting the AGC load command based on the unit regulation capability evaluation index include: Based on the first set of operating parameters, normalized head data, guide vane opening margin, and load margin are extracted and obtained; The unit's regulation capacity evaluation index is obtained by weighting the normalized head data, guide vane opening margin, and load margin. The corresponding adaptive speed limiting coefficient is obtained by correcting the speed limiting coefficient based on the unit regulation capability evaluation index. The dynamic speed limit value is calculated based on the adaptive speed limit coefficient and the baseline speed limit value. The baseline speed limit value is replaced with the dynamic speed limit value, and the slope limiting processing of the AGC load command is re-applied.
5. The method of claim 4, wherein the method further comprises: When the adaptive speed limiting coefficient is obtained by correcting the speed limiting coefficient based on the unit regulation capability evaluation index, it is first determined whether the unit regulation capability evaluation index is within the preset speed limiting threshold range: When the unit regulation capability evaluation index is within the preset speed limit threshold range, the adaptive speed limit coefficient maintains the original speed limit coefficient; When the unit regulation capability evaluation index is greater than the maximum value of the preset speed limit threshold range, the adaptive speed limit coefficient is increased: ; When the unit's regulation capability evaluation index is less than the minimum value of the preset speed limit threshold range, the adaptive speed limit coefficient is reduced: ; wherein is an adaptive speed limit coefficient; M is a unit regulation capability evaluation index; a is a minimum value of a preset speed limit threshold range; b is a maximum value of a preset speed limit threshold range; and are respectively a speed limit coefficient adjustment weight, and , .
6. The method for joint control of primary frequency regulation and AGC commands for hydropower units according to claim 1, characterized in that, The steps of constructing the AGC comprehensive assessment function and obtaining the predicted assessment value based on the first set of operating parameters, and calculating the assessment deviation between the predicted assessment value and the target assessment value, include: A comprehensive evaluation function for AGC is constructed by weighted summation of adjustment accuracy, adjustment rate and response time indicators. The first set of operating parameters is used to obtain predicted assessment values based on the AGC comprehensive assessment and evaluation function; The difference between the predicted assessment value and the preset target assessment value is calculated to obtain the assessment deviation.
7. The method for joint control of primary frequency regulation and AGC commands for hydropower units according to claim 1, characterized in that, The step of performing feedforward reconstruction compensation on the AGC load command after speed limiting based on the assessment deviation includes: Calculate the corrected feedforward compensation coefficient based on the aforementioned performance deviation: ; The AGC load command after speed limiting is calculated based on the feedforward compensation coefficient: ; in The corrected feedforward compensation coefficient; These are the initial feedforward compensation coefficients; This is a correction factor; For assessment deviation; This refers to the AGC load command after feedforward reconstruction compensation. This is a speed-limited AGC load command; This is the derivative of the AGC load command after rate limiting.
8. The method for joint control of primary frequency regulation and AGC commands for hydropower units according to claim 7, characterized in that, The steps of calculating the control weight coefficients based on the fuzzy controller and performing weighted calculations on the primary frequency modulation control quantity and the AGC load command after feedforward reconstruction compensation include: The grid frequency deviation is calculated based on the grid frequency and the grid rated frequency, and the AGC load deviation is calculated based on the AGC load command after feedforward reconfiguration compensation and the actual active power of the hydropower unit. The fuzzy controller performs fuzzification processing on the power grid frequency deviation and the AGC load deviation based on the triangular membership function: For the power grid frequency deviation and the AGC load deviation, a first fuzzy set, a second fuzzy set, and a third fuzzy set are respectively defined, and a corresponding triangular membership function is configured for each fuzzy set; Substitute the power grid frequency deviation and the AGC load deviation into the triangular membership function of their respective fuzzy sets to obtain the membership degree of the power grid frequency deviation relative to the three fuzzy sets and the membership degree of the AGC load deviation relative to the three fuzzy sets, respectively. Fuzzy inference is performed based on a preset fuzzy rule base, and the control weight coefficient is obtained through defuzzification operation; Based on the control weighting coefficient, the primary frequency modulation control quantity and the AGC load command after feedforward reconfiguration compensation are weighted and fused to obtain a joint control command.
9. The method for joint control of primary frequency regulation and AGC commands for hydropower units according to claim 1, characterized in that, When the output error meets the preset switching threshold condition, the steps for completing the control permission switching through the gradual weight fusion algorithm include: Construct a switching weight coefficient that varies with time, wherein the switching weight coefficient gradually increases from 0 to 1 over time; The original controller output and the optimized controller output are weighted according to the switching weight coefficient to obtain the final output command: ; ; in This is the final output instruction; This refers to the output command of the original controller; To optimize the combined control commands output by the controller; To switch weight coefficients; This is the maximum permissible ramp rate for the generator unit.
10. A joint control device for primary frequency regulation and AGC commands of a hydropower unit based on fuzzy control, characterized in that, The device includes: The data acquisition module is used to collect multi-source operating parameters of the hydropower unit and perform time synchronization and data preprocessing on the multi-source operating parameters to obtain a first set of operating parameters; the multi-source operating parameters include at least the primary frequency regulation signal of the hydropower unit, AGC load command, head data, guide vane opening, active power, grid frequency and speed parameters; The load command limiting module is used to determine the baseline speed limit value of the AGC load command and to perform slope limiting processing on the AGC load command; The load command speed limiting module is used to construct unit regulation capacity evaluation indicators and perform speed limiting processing on the AGC load command based on the unit regulation capacity evaluation indicators. The assessment module is used to construct the AGC comprehensive assessment function and obtain the predicted assessment value based on the first set of operating parameters, and to calculate the assessment deviation between the predicted assessment value and the target assessment value. The reconstruction compensation module is used to perform feedforward reconstruction compensation on the AGC load command after speed limiting based on the assessment deviation, so as to obtain the AGC load command after feedforward reconstruction compensation. The instruction combination module is used to calculate the control weight coefficients based on the fuzzy controller, and to perform weighted calculations on the primary frequency modulation control quantity and the AGC load instruction after feedforward reconstruction compensation to obtain the joint control instruction; The instruction transition switching module is used to calculate the output error between the optimized controller and the original controller of the hydropower unit before the optimized controller is put into operation; when the output error meets the preset switching threshold condition, the control authority is switched through the gradual weight fusion algorithm.
