Method and system for optimizing aeration control in a wastewater treatment plant

By using online dynamic identification and multi-objective optimization of control functions, the problem of deviation between control commands and actual air supply effect in the aeration system of sewage treatment plants was solved, improving the air supply control accuracy and equipment operation safety, and achieving a balance between energy consumption optimization and control accuracy.

CN123170809APending Publication Date: 2026-11-27中国市政工程西北设计研究院有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611666310.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

The existing control methods for aeration systems in wastewater treatment plants lack a real-time dynamic identification mechanism, resulting in a discrepancy between control commands and actual air supply effects, and failing to effectively solve the problem of air supply control accuracy under nonlinear branch conditions.

Method used

By obtaining the branch valve position-equivalent ventilation volume mapping model through online dynamic identification, and combining the fan stability risk index and the target dissolved oxygen range, a multi-objective optimization control function is constructed. A three-level control strategy (joint regulation, protection regulation and freeze-back mode) is adopted to optimize aeration control.

Benefits of technology

It significantly improves the air supply control accuracy of the aeration system under nonlinear branch conditions, enhances the safety and reliability of equipment operation, and achieves a unified balance between energy consumption optimization and control accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123170809A_ABST
    Figure CN123170809A_ABST
Patent Text Reader

Abstract

The application provides a sewage treatment plant aeration optimization control method and system, the method comprises the following steps: collecting the operation data of the aeration system, and constructing a fan stability risk index; obtaining a branch valve position-equivalent aeration quantity mapping model through online identification, identifying the dead zone interval, sensitive interval and saturation interval of each branch; according to the target dissolved oxygen interval of each aeration control unit, combining the branch valve position-equivalent aeration quantity mapping model to construct a multi-objective optimization control function and constraint condition containing a dissolved oxygen deviation term, a system energy consumption term and a predicted risk term; determining the current control mode according to the relationship between the fan stability risk index and the preset threshold, solving the optimal control sequence in the joint regulation mode or the protection regulation mode, and directly outputting the preset safe air supply sequence in the frozen fallback mode; updating the model parameters according to the operation feedback after executing the control, which can correct the branch nonlinear deviation based on the online dynamic identification mechanism and improve the air supply control precision of the aeration system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wastewater equipment technology, specifically to a method and system for optimizing aeration control in wastewater treatment plants. Background Technology

[0002] In the operation of urban wastewater treatment plants, the aeration system is usually one of the most energy-consuming units in the entire plant. Its operating status directly affects the degradation of organic matter, ammonia nitrogen removal, total nitrogen control, and the overall power consumption of the system. In order to minimize operating energy consumption while ensuring that the effluent meets the standards, blowers are generally used to supply air to the biological treatment tanks, and the dissolved oxygen level in the tanks is controlled by adjusting the total air volume of the blowers or the distribution of air supply to the branches.

[0003] There is usually a significant nonlinear relationship between the opening degree of the branch regulating valve and the actual air flow. Although most existing control systems identify the nonlinearity of the branch, they often still use empirical coefficients or static lookup tables to handle it, lacking an online identification mechanism that can dynamically correct it in combination with real-time operating conditions, resulting in a deviation between the control command and the actual air supply effect. Summary of the Invention

[0004] This application provides an optimized control method and system for aeration in a wastewater treatment plant. Based on an online dynamic identification mechanism for real-time operating conditions, it can effectively correct the deviation between control commands and actual air supply effects, significantly improving the air supply control accuracy of the aeration system under branch nonlinear operating conditions.

[0005] A first aspect of this application provides a method for optimizing and controlling aeration in a wastewater treatment plant, the method comprising: Obtain operational data from the aeration system of a wastewater treatment plant; Based on the operational data, a wind turbine stability risk index is constructed. Online identification is performed on each branch to obtain test data of the target branch at multiple preset valve position test points, and a branch valve position-equivalent ventilation volume mapping model is constructed based on the test data. Obtain the target dissolved oxygen range for each aeration control unit, and construct the optimization control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation volume mapping model. The current control mode is determined based on the relationship between the current wind turbine stability risk index and the preset threshold. When the current control mode is a joint regulation mode or a protection regulation mode, the optimal control sequence within the mode is determined based on the candidate control action set, the optimized control objective function, and the constraints corresponding to the current control mode. When the current control mode is a freeze-back mode, a preset safe gas supply control sequence or a conservative gas supply curve control sequence is determined. When the current control mode is a joint regulation mode or a protection regulation mode, the first control action in the optimal control sequence within the mode is executed; when the current control mode is a freeze-back mode, the preset safe gas supply control sequence or conservative gas supply curve control sequence is executed; and based on the operational feedback after control execution, the parameters in the fan stability risk index and the parameters in the branch valve position-equivalent ventilation volume mapping model are updated.

[0006] In one possible implementation, constructing the wind turbine stability risk index based on the operating data includes: Set a statistical time window, and extract the total duct pressure, blower current, blower frequency adjustment record, branch regulating valve opening change record, vent valve action record, and dissolved oxygen change record of each aeration control unit from the operating data within the window. Based on the total duct pressure, blower current, blower frequency adjustment records, branch regulating valve opening change records, vent valve action records, and dissolved oxygen change records of each aeration control unit within the statistical time window, the corresponding risk sub-quantities are calculated respectively. Obtain the blower type and environmental correction parameters, and correct the risk subquantity according to the blower type and environmental correction parameters to obtain the corrected risk subquantity; Based on the modified risk subquantity, a wind turbine stability risk index is constructed.

[0007] In one possible implementation, the risk sub-quantities include total duct pressure fluctuation, blower current fluctuation rate, number of blower frequency adjustments per unit time, branch equivalent resistance change rate, number of vent valve actions, and number of dissolved oxygen overshoots.

[0008] In one possible implementation, the step of performing online identification on each branch, acquiring test data of the target branch at multiple preset valve position test points, and constructing a branch valve position-equivalent ventilation volume mapping model based on the test data includes: Acquire test data for the target branch at multiple preset valve position test points. The test data includes the opening degree of the regulating valve of the current target branch, the total duct pressure, the blower speed, the environmental correction parameters, and the dissolved oxygen response data of the aeration control unit served by the current target branch during the test. Calculate the equivalent ventilation volume sample value corresponding to each test point based on the test data; Based on the equivalent ventilation volume sample value, branch regulating valve opening, total duct pressure, blower speed and environmental correction parameters, a branch valve position-equivalent ventilation volume mapping model is fitted to each branch. Based on the branch valve position-equivalent ventilation volume mapping model, the dead zone, sensitive zone, and saturation zone of each branch are determined.

[0009] In one possible implementation, the step of obtaining the target dissolved oxygen range for each aeration control unit and constructing an optimized control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation rate mapping model includes: Obtain the initial target dissolved oxygen range for each aeration control unit; The initial target dissolved oxygen range is corrected and adjusted based on the current influent flow rate, influent water quality, pollution load, operating stage, and environmental correction parameters to obtain the optimized target dissolved oxygen range for each aeration control unit within the current control cycle. Based on the optimized target dissolved oxygen range and branch valve position-equivalent ventilation volume mapping model, the optimized control objective terms are determined, and the optimized control objective function is constructed based on the optimized control objective terms. Initial constraints are constructed based on the operating boundaries of the blower, the operating boundaries of the branch regulating valve, the action boundaries of the vent valve, and the process safety boundaries. Obtain historical control cycle operation feedback data, and correct at least one of the weights of the target terms, the center value of the target dissolved oxygen interval, or the interval width in the optimized control objective function to obtain the updated optimized control objective function; The system acquires the current control mode, equipment status, environmental correction parameters, and abnormal operating condition information, and corrects at least one of the threshold boundaries, adjustment ranges, freeze time windows, and upper limits of action frequency in the constraints to obtain updated constraints.

[0010] In one possible implementation, obtaining the initial target dissolved oxygen range for each aeration control unit includes: The process zones to which each aeration control unit belongs are divided according to the wastewater treatment process flow. For each aeration control unit in each process zone, a corresponding basic target dissolved oxygen range is preset.

[0011] In one possible implementation, constructing the optimization control objective function based on the optimization control objective term includes: Determine the dissolved oxygen deviation item based on the target dissolved oxygen range of each aeration control unit; The system energy consumption items are determined based on the blower operating power, branch air supply distribution, or changes in air supply per unit time. The predicted risk item is determined based on the predicted wind turbine stability risk value corresponding to the candidate control sequence within the preset prediction time domain. The dissolved oxygen deviation term, system energy consumption term, and predicted risk term are weighted and superimposed according to preset weights to form an optimized control objective function.

[0012] In one possible implementation, determining the current control mode based on the relationship between the current wind turbine stability risk index and a preset threshold, and determining the optimal control sequence based on the current control mode under the corresponding optimized control objective function and constraints, includes: When the current fan stability risk index is lower than the first threshold, the current control mode is determined to be the joint regulation mode. Under the joint regulation mode, a set of candidate control actions is generated that simultaneously includes the branch regulating valve regulation action and the blower total air volume regulation action. Under the execution boundary and constraint conditions corresponding to the joint regulation mode, the optimal control sequence within the mode that satisfies the target dissolved oxygen range constraint and the fan stability constraint is solved. When the current wind turbine stability risk index is between the first threshold and the second threshold, the current control mode is determined to be the protection regulation mode. Under the protection regulation mode, a set of candidate control actions is generated that prioritizes the fine-tuning action of the branch regulating valve and restricts the continuous adjustment action of the blower. Under the execution boundary and constraint conditions corresponding to the protection regulation mode, the optimal control sequence within the mode that satisfies the target dissolved oxygen range constraint and the wind turbine stability constraint is solved.

[0013] In one possible implementation, determining the current control mode based on the relationship between the current wind turbine stability risk index and a preset threshold further includes: When the current wind turbine stability risk index is higher than the second threshold, the current control mode is determined to be the freeze-back mode. In the freeze-back mode, the blower frequency adjustment is frozen, and a preset safe air supply control sequence or conservative air supply curve control sequence is directly output.

[0014] This example provides an optimized control method for aeration in a wastewater treatment plant. First, operational data of the aeration system is collected. Based on this data, a blower stability risk index is constructed. A branch valve position-equivalent ventilation volume mapping model is obtained online, and the dead zone, sensitive zone, and saturation zone of each branch are identified. Then, based on the target dissolved oxygen range of each aeration control unit, a multi-objective optimization control function and constraints are constructed, including dissolved oxygen deviation, system energy consumption, and predicted risk terms, in conjunction with the branch valve position-equivalent ventilation volume mapping model. The current control mode is determined based on the relationship between the blower stability risk index and a preset threshold. The optimal control sequence is solved in either a joint regulation mode or a protection regulation mode. In a freeze-back mode, a preset safe air supply sequence is directly output. After control execution, model parameters are updated based on operational feedback. This method offers the following advantages: 1. By constructing a branch valve position-equivalent ventilation volume mapping model and identifying the dead zone, sensitive zone and saturation zone of each branch, the traditional static table lookup experience processing method is upgraded to an online dynamic identification mechanism based on real-time operating conditions. This effectively corrects the deviation between control commands and actual air supply effect, and significantly improves the air supply control accuracy of the aeration system under branch nonlinear operating conditions.

[0015] 2. By constructing a blower stability risk index and setting a three-level control strategy based on it—joint adjustment mode, protection adjustment mode, and freeze-back mode—the judgment of blower instability risk is elevated from manual experience to quantifiable constraints. This allows the control strategy to dynamically adjust the control granularity according to the stable state of the equipment, effectively suppressing the instability risk of blowers, especially air-suspended and magnetic-suspended blowers, caused by high-frequency adjustment, and enhancing the safety of equipment operation.

[0016] 3. By constructing a multi-objective optimization control function that includes dissolved oxygen deviation, system energy consumption, and predicted risk, and combining the target dissolved oxygen range constraint and the fan stability constraint for optimization, the oxygen supply control effect, energy consumption optimization objective, and fan stable operation constraint are unified and balanced. This effectively solves the problem of difficulty in balancing control accuracy and equipment operability in the existing technology, and improves the engineering feasibility and long-term automatic operation rate of the aeration optimization control system.

[0017] A second aspect of this application provides an aeration optimization control system for a wastewater treatment plant, the system comprising: The first module is used to acquire the operating data of the aeration system in the wastewater treatment plant. The second module is used to construct a wind turbine stability risk index based on the operational data. The third module is used to perform online identification of each branch, obtain test data of the target branch at multiple preset valve position test points, and construct a branch valve position-equivalent ventilation volume mapping model based on the test data. The fourth module is used to obtain the target dissolved oxygen range of each aeration control unit, and to construct the optimization control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation volume mapping model. The fifth module is used to determine the current control mode based on the relationship between the current wind turbine stability risk index and a preset threshold. When the current control mode is a joint regulation mode or a protection regulation mode, the optimal control sequence within the mode is determined based on the candidate control action set, the optimized control objective function, and the constraints corresponding to the current control mode. When the current control mode is a freeze-back mode, a preset safe gas supply control sequence or a conservative gas supply curve control sequence is determined. The sixth module is used to execute the first control action in the optimal control sequence within the current control mode when the current control mode is the joint regulation mode or the protection regulation mode; to execute the preset safe gas supply control sequence or the conservative gas supply curve control sequence when the current control mode is the freeze-back mode; and to update the parameters in the fan stability risk index and the parameters in the branch valve position-equivalent ventilation volume mapping model based on the operation feedback after the control execution.

[0018] A third aspect of this application provides a terminal including a processor, an input device, an output device, and a memory, wherein the processor, input device, output device, and memory are interconnected, wherein the memory is used to store a computer program, the computer program including program instructions, and the processor is configured to invoke the program instructions to execute the step instructions as described in the wastewater treatment plant aeration optimization control method of the first aspect of this application.

[0019] A fourth aspect of this application provides a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform some or all of the steps described in the wastewater treatment plant aeration optimization control method of the first aspect of this application.

[0020] A fifth aspect of this application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the wastewater treatment plant aeration optimization control method of the first aspect of this application. The computer program product may be a software installation package. Attached Figure Description

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

[0022] Figure 1 This application provides a schematic diagram of the overall process for optimizing and controlling aeration in a wastewater treatment plant. Figure 2 This application provides a schematic diagram of the overall structure of an aeration optimization control system for a wastewater treatment plant. Figure 3 This application provides a schematic diagram of the structure of a terminal. Figure label: Module 1-1, Module 2-2, Module 3-3, Module 4-4, Module 5-5, Module 6-6. Detailed Implementation

[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0024] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0025] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.

[0026] The aeration optimization control method for wastewater treatment plants is applied to the aeration optimization control system of wastewater treatment plants. Figure 1 A schematic diagram of the overall process for optimizing aeration control in a wastewater treatment plant is shown. Figure 1 As shown, it includes: S1. Obtain the operating data of the aeration system of the wastewater treatment plant.

[0027] The operational data includes influent flow rate, influent water quality data, pollution load characterization data, multi-point dissolved oxygen data, total duct pressure, blower speed, blower current data, branch regulating valve opening, vent valve status, and environmental correction parameters.

[0028] S2. Based on the operational data, construct a wind turbine stability risk index.

[0029] Step S2 includes the following sub-steps: A1. Set a window for statistical time, and extract the total duct pressure, blower current, blower frequency adjustment record, branch regulating valve opening change record, vent valve action record, and dissolved oxygen change record of each aeration control unit from the operating data within the window.

[0030] A2. Based on the total duct pressure, blower current, blower frequency adjustment records, branch regulating valve opening change records, vent valve action records, and dissolved oxygen change records of each aeration control unit within the statistical time window, calculate the corresponding risk sub-quantities respectively.

[0031] Among them, the risk sub-quantities include the total duct pressure fluctuation, the blower current fluctuation rate, the number of blower frequency adjustments per unit time, the branch equivalent resistance change rate, the number of vent valve actions, and the number of dissolved oxygen overshoots.

[0032] Furthermore, the risk sub-quantities include total duct pressure fluctuation ΔP, blower current fluctuation rate ΔI, blower frequency adjustment times per unit time Nf, branch equivalent resistance change rate ΔZ, vent valve operation times Nv, and dissolved oxygen overshoot times No.

[0033] Among them, the total duct pressure fluctuation The calculation formula is as follows:

[0034] In the formula, This is the difference between the maximum and minimum total duct pressure within the current statistical time window; The total duct pressure value at the j-th sampling time; The sampling point number; This represents the current statistical time window.

[0035] Among them, blower current fluctuation rate The calculation formula is as follows:

[0036] In the formula, This represents the average value of the blower current within the current statistical time window; Let M be the blower current value at the j-th sampling time; M is the number of sampling points within the current statistical time window. This is the sampling point number.

[0037]

[0038] In the formula, This refers to the blower current fluctuation rate. Let be the blower current value at the j-th sampling time. ε is the average value of the blower current within the current statistical time window; M is the number of sampling points within the current statistical time window; ε is a very small positive number to prevent the denominator from being zero.

[0039] Number of blower frequency adjustments per unit time :

[0040] In the formula, This represents the number of effective blower frequency adjustments within the current statistical time window. and The first The blower frequency or speed value at each sampling time and the previous sampling time; The minimum frequency change threshold for determining a valid frequency modulation action; is a step function, taking the value 1 when x > 0, and 0 otherwise; M is the number of sampling points in the current statistical time window; j is the sampling point number.

[0041] branch equivalent resistance change rate :

[0042]

[0043]

[0044] In the formula, Let be the equivalent resistance of the i-th branch at the j-th sampling time; The total duct pressure value at the j-th sampling time; The equivalent ventilation rate of the i-th branch at the j-th sampling time is obtained through the branch valve position-equivalent ventilation rate mapping model. and These are the average equivalent resistances of the i-th branch in the current statistical time window and the previous statistical time window, respectively; The combined rate of change of the equivalent resistance of each branch; N is the number of aeration supply branches; ε is the weight coefficient corresponding to the i-th branch; k is the statistical time window number; M is the number of sampling points in each statistical time window; ε is a very small positive number to prevent the denominator from being zero.

[0045] Number of times the vent valve operates :

[0046] In the formula, This represents the number of times the vent valve was activated within the current statistical time window. and The vent valve state variables at the j-th sampling time and the previous sampling time are respectively; when the vent valve is closed... Set to 0 when the vent valve is open. Set to 1; M is the number of sampling points within the current statistical time window; j is the sampling point number.

[0047] Dissolved oxygen overshoot number:

[0048] In the formula, This represents the cumulative number of times the dissolved oxygen level of each aeration control unit exceeds the upper limit of the target dissolved oxygen range within the current statistical time window. The measured dissolved oxygen value of the i-th aeration control unit at the j-th sampling time; This represents the upper limit of the target dissolved oxygen range for the i-th aeration control unit within the current control cycle; is a step function, taking the value 1 when x > 0, and 0 otherwise; N is the number of aeration control units; M is the number of sampling points within the current statistical time window; i and j are the serial numbers of the aeration control units and sampling points, respectively.

[0049] A3. Obtain the blower type and environmental correction parameters, and correct the risk subquantity according to the blower type and environmental correction parameters to obtain the corrected risk subquantity.

[0050] Specifically, the risk sub-quantities are first normalized based on the reference benchmark values ​​corresponding to each risk sub-quantity to obtain the normalized risk sub-quantities:

[0051]

[0052]

[0053]

[0054]

[0055]

[0056] in This represents the normalized total duct pressure fluctuation. This represents the normalized blower current fluctuation rate. This represents the number of blower frequency adjustments per unit time after normalization. The normalized rate of change of the branch's equivalent resistance. This represents the normalized number of vent valve actuations. The normalized dissolved oxygen overshoot count; , , , , , These are the reference benchmark values ​​for total duct pressure fluctuation, blower current fluctuation rate, blower frequency adjustment times per unit time, branch equivalent resistance change rate, vent valve operation times, and dissolved oxygen overshoot times, respectively. They can be determined based on equipment design parameters, commissioning data, or historical stable operation data. ε is a very small positive number to prevent the denominator from being zero.

[0057] Subsequently, a blower type correction factor is determined based on the blower type, and an environmental correction factor is determined based on environmental correction parameters. These environmental correction parameters include at least one or more of temperature, altitude, and atmospheric pressure. Environmental correction factor It can be represented as:

[0058] in, The current temperature. As the reference temperature, At the current altitude, Based on the altitude, Given the current atmospheric pressure, Based on atmospheric pressure, , , These are the environmental impact coefficients corresponding to temperature, altitude, and atmospheric pressure, respectively.

[0059] When the blower is an air-suspended blower and / or a magnetically suspended blower, set the type correction coefficient corresponding to the blower current fluctuation rate item. If the value is greater than 1, set the type correction coefficient corresponding to the blower frequency adjustment number per unit time. Greater than 1; when the blower is a common centrifugal blower, and We set it to 1. This gives us the corrected risk subquantity:

[0060]

[0061]

[0062]

[0063]

[0064]

[0065] in, , , , , and These are the normalized total duct pressure fluctuation, blower current fluctuation rate, blower frequency adjustment times, branch equivalent resistance change rate, vent valve actuation times, and dissolved oxygen overshoot times, respectively. , , , , and These are, respectively, the total duct pressure fluctuation, blower current fluctuation rate, blower frequency adjustment times, branch equivalent resistance change rate, vent valve actuation times, and dissolved oxygen overshoot times after correction for blower type and environmental parameters. This is a comprehensive environmental correction factor; This is the blower type correction factor corresponding to the blower current fluctuation rate term; This is the blower type correction coefficient corresponding to the blower frequency adjustment number item.

[0066] A4. Construct a wind turbine stability risk index based on the modified risk sub-quantity.

[0067] The specific formula for the wind turbine stability risk index is as follows:

[0068] in, , , , , , Let be the weighting coefficients corresponding to each modified risk component, and let each weighting coefficient be a non-negative number. Preferably, each weighting coefficient satisfies:

[0069] when At that time, it was determined that the current wind turbine stability risk was in a low-risk state; when At that time, the current wind turbine stability risk is determined to be at a medium risk level; when At that time, it was determined that the current wind turbine stability risk was in a high-risk state, among which, The first preset threshold for wind turbine stability risk. This is the second preset threshold for wind turbine stability risk.

[0070] S3. Perform online identification on each branch, obtain test data of the target branch at multiple preset valve position test points, and construct a branch valve position-equivalent ventilation volume mapping model based on the test data.

[0071] Step S3 includes the following sub-steps: B1. Obtain test data for the target branch at multiple preset valve position test points. The test data includes the opening degree of the regulating valve of the current target branch, the total duct pressure, the blower speed, the environmental correction parameters, and the dissolved oxygen response data of the aeration control unit served by the current target branch during the test.

[0072] B2. Calculate the equivalent ventilation sample value corresponding to each test point based on the test data.

[0073] Wherein, let the equivalent ventilation sample value corresponding to the s-th test point of the i-th branch be... The calculation formula is as follows:

[0074] In the formula, This represents the change in total duct pressure at the test point relative to before the test. This represents the increase in blower current at the test point relative to the value before the test. This represents the change in the dissolved oxygen response slope of the aeration control unit corresponding to this test point. This is the reference value for the total duct pressure. This is the reference value for the blower current. This serves as a reference value for the dissolved oxygen response slope. , , To characterize the weighting coefficients.

[0075] B3. Based on the equivalent ventilation volume sample value, branch regulating valve opening, total duct pressure, blower speed and environmental correction parameters, fit the branch valve position-equivalent ventilation volume mapping model for each branch.

[0076] Specifically, let the equivalent ventilation volume of the i-th branch be... The opening degree of the regulating valve in the i-th branch is The total duct pressure is The blower speed is The temperature correction parameter is The altitude correction parameter is Atmospheric pressure correction parameter is Then the valve position-equivalent ventilation volume mapping model of the i-th branch can be expressed as:

[0077] In a preferred embodiment, the total duct pressure, blower speed, and environmental correction parameters are used as operating condition correction terms, and the branch regulating valve opening is used as the valve position response term, establishing the following mapping relationship:

[0078] in, Let be the ventilation volume ratio coefficient of the i-th branch. Let i be the opening response function of the regulating valve in the i-th branch. This is the reference value for the total duct pressure. This is a reference value for the blower speed. This is the influence coefficient of the total duct pressure. The influence coefficient of blower speed. is the environmental correction coefficient for the i-th branch.

[0079] The environmental correction factor It can be represented as:

[0080] in, As the reference temperature, Based on the altitude, Based on atmospheric pressure, , , ε represents the influence coefficients of temperature, altitude, and atmospheric pressure on the equivalent ventilation of the i-th branch, respectively, and ε is a very small positive number to prevent the denominator from being zero.

[0081] The regulating valve opening response function This can be represented using a piecewise function: when < hour,

[0082] when ≤ < hour,

[0083] when ≥ hour,

[0084] in, Let i be the dead zone boundary of the regulating valve in the i-th branch. This represents the initial boundary of the saturation region of the i-th branch regulating valve. and The fitting coefficients for the valve position response function are: This represents the maximum value of the opening response function of the i-th branch control valve.

[0085] B4. Based on the branch valve position-equivalent ventilation volume mapping model, determine the dead zone, sensitive zone, and saturation zone of each branch.

[0086] Specifically, based on the branch valve position-equivalent ventilation volume mapping model, the rate of change of the equivalent ventilation volume of the i-th branch relative to the opening of the branch regulating valve is calculated, and used as the valve position sensitivity. ,Right now:

[0087] in, Indicates that the i-th branch is in the valve position The degree of change in equivalent ventilation caused by a change in the unit valve opening.

[0088] When the valve opening increases but the equivalent ventilation volume Less than the preset minimum effective ventilation Or valve position sensitivity Less than the preset dead zone sensitivity threshold When this occurs, the corresponding valve position range is defined as the dead zone interval, i.e.:

[0089] When valve position sensitivity Greater than or equal to the preset sensitivity threshold And equivalent ventilation The saturation ventilation ratio has not yet been reached. When this occurs, the corresponding valve position range is defined as the sensitive range, i.e.:

[0090] When the valve opening continues to increase but the increase in equivalent ventilation volume decreases, and the equivalent ventilation volume... Reaching or approaching maximum equivalent ventilation When this occurs, the corresponding valve position range is defined as the saturation range, i.e.:

[0091] in, Let i be the dead zone interval of the i-th branch. For the sensitive interval of the i-th branch, For the saturation interval of the i-th branch, The minimum effective ventilation threshold, Let η be the maximum equivalent ventilation of the i-th branch, and η be the saturation determination ratio coefficient. The dead zone sensitivity threshold. To determine the threshold for the sensitive area, The threshold for determining the saturation region.

[0092] Using the above method, when the change in the opening of the branch regulating valve cannot cause a change in the effective ventilation volume, the corresponding interval is identified as the dead zone interval; when a small movement of the branch regulating valve can cause a significant change in the ventilation volume, the corresponding interval is identified as the sensitive interval; when the branch regulating valve continues to increase and the increase in the equivalent ventilation volume slows down, the corresponding interval is identified as the saturation interval.

[0093] B5. Calculate the equivalent ventilation volume increment sample near the current operating point based on the local perturbation data, and use recursive least squares update, piecewise regression update or machine learning incremental update to correct at least one of the local piecewise slope, dead zone interval, sensitive interval and saturation interval of the branch valve position-equivalent ventilation volume mapping model.

[0094] Step B5 includes the following sub-steps: B51. In the target branch, calculate the equivalent ventilation volume increment sample based on the change in dissolved oxygen response slope, the change in total duct pressure, and the increase in blower current.

[0095] B52. The equivalent ventilation volume increment sample is used as a new sample to update the branch valve position-equivalent ventilation volume mapping model, so as to correct the piecewise slope of the model in the local interval where the current operating point is located.

[0096] Specifically, let the change in valve opening before and after the local perturbation of the i-th branch within the current control cycle be . The equivalent ventilation increment sample calculated based on local perturbation data is: Then, the newly added segmented slope samples near the current running point It can be represented as:

[0097] Where ε is a very small positive number to prevent the denominator from being zero. Based on the newly added piecewise slope samples... The original piecewise slope of the branch valve position-equivalent ventilation volume mapping model in the local interval where the current operating point is located. Perform a weighted update to obtain the corrected piecewise slope. :

[0098] in, Update the step size coefficient for the slope of the i-th branch, 0 < ≤1. The larger the value, the greater the impact of the new sample on the correction of the current segment slope; The smaller the value, the more historical identification results are retained in the current segment slope. Through the above weighted update method, the branch valve position-equivalent ventilation volume mapping model can dynamically correct the valve position response relationship near the current operating point based on local perturbation feedback during operation.

[0099] B53. Based on the cumulative deviation of multiple consecutive incremental samples, at least one of the dead zone interval, sensitive interval, and saturation interval is corrected.

[0100] Specifically, in continuous Within each update cycle, obtain the newly added segment slope sample of the i-th branch. , ... And calculate its average slope. :

[0101] Within L consecutive update cycles And the corresponding equivalent ventilation When, the corresponding valve position range is corrected to the dead zone range; when ,and When, the corresponding valve position range is corrected to the sensitive range; when ,and When this happens, the corresponding valve position range will be corrected to the saturation range.

[0102] Let the dead zone boundary, sensitive zone boundary, and saturation zone boundary obtained from the re-identification based on continuous incremental samples be respectively... , and The corrected interval boundary is obtained by using the boundary-weighted update method:

[0103]

[0104]

[0105] in, , , These are the corrected dead zone boundary, sensitive zone boundary, and saturation zone boundary, respectively. , , These are the dead zone boundary, sensitive zone boundary, and saturation zone boundary of the previous update cycle, respectively. Update the step size coefficients for the interval boundaries, 0 < ≤1.

[0106] Using the above method, when continuous incremental samples indicate that valve action within a certain valve position range is unlikely to generate an effective change in ventilation volume, the dead zone boundary is corrected; when continuous incremental samples indicate that the equivalent ventilation volume increment caused by a unit valve position change is significantly increased, the sensitive zone boundary is corrected; when continuous incremental samples indicate that the valve continues to open but the equivalent ventilation volume increment slows down, the saturation zone boundary is corrected.

[0107] S4. Obtain the target dissolved oxygen range for each aeration control unit, and construct the optimization control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation volume mapping model.

[0108] Step S4 includes the following sub-steps: C1. Obtain the initial target dissolved oxygen range for each aeration control unit.

[0109] Step SC1 includes the following sub-steps: SC11. Divide the process zones to which each aeration control unit belongs according to the wastewater treatment process flow.

[0110] Specifically, based on the process flow, tank structure layout, aeration pipeline zoning, dissolved oxygen measurement point locations, and branch regulating valve control range of the wastewater treatment plant's biological treatment tank, each aeration control unit is assigned to a corresponding process zone. The process zone includes at least one or more of the following: anaerobic zone, anoxic zone, pre-aerobic zone, mid-aerobic zone, and terminal aerobic zone. For wastewater treatment processes employing A2 / O, oxidation ditch, multi-stage AO, Bardenpho, or other multi-stage reaction functions, the area responsible for phosphorus release without conventional aeration can be classified as an anaerobic zone according to the water flow direction and biochemical reaction function; the area responsible for denitrification with low dissolved oxygen or no aeration can be classified as an anoxic zone; and the area responsible for organic matter degradation and nitrification can be classified as an aerobic zone. When the aerobic zone is configured with multiple independent aeration branches or multiple dissolved oxygen measurement points along the water flow direction, it can be further divided into pre-aerobic zone, mid-aerobic zone, and terminal aerobic zone.

[0111] When one aeration control unit corresponds to one aeration corridor, its process zone is determined by the process function to which the aeration corridor belongs. When multiple independently adjustable aeration branches or functional sections are set within an aeration corridor, its process zone is determined by the water flow location of each functional section, the dissolved oxygen measuring point, and the control range of the branch regulating valve. In this way, each aeration control unit corresponds to a clear process functional zone.

[0112] SC12. For each aeration control unit in each process zone, a corresponding basic target dissolved oxygen range is preset.

[0113] Specifically, based on the wastewater treatment process design parameters, operating procedures, historical stable operating data, and the treatment functions of each process zone, a basic target dissolved oxygen range is preset for the aeration control units within different process zones. This basic target dissolved oxygen range serves as the initial range for subsequent dynamic adjustments and can be adjusted based on actual engineering commissioning results.

[0114] In one implementation, the basic target dissolved oxygen range is set at 0 mg / L to 0.3 mg / L in the anaerobic zone; 0.1 mg / L to 0.5 mg / L in the anoxic zone; 0.5 mg / L to 1.5 mg / L in the pre-aerobic zone; 1.0 mg / L to 2.5 mg / L in the mid-aerobic zone; and 1.5 mg / L to 3.5 mg / L in the terminal aerobic zone. For different wastewater treatment processes, different effluent standards, or different operating seasons, the above basic target dissolved oxygen ranges can be adjusted based on design documents, operating experience, and historical compliance data.

[0115] Let the basic target dissolved oxygen range of the i-th aeration control unit be . ,in The lower limit of the dissolved oxygen range is the basic target. The upper limit of the dissolved oxygen range is the basic target.

[0116] SC2. Based on the current influent flow rate, influent water quality, pollution load, operating stage, and environmental correction parameters, the initial target dissolved oxygen range is corrected and adjusted to obtain the optimized target dissolved oxygen range for each aeration control unit within the current control cycle.

[0117] Specifically, first, based on the basic target dissolved oxygen range of the i-th aeration control unit... Calculate the central value of dissolved oxygen as the basic target. and the width of the basic target dissolved oxygen range :

[0118]

[0119] Subsequently, the baseline target dissolved oxygen center value is revised based on the current influent flow rate, pollution load, water temperature, and operating stage. Let the revised target dissolved oxygen center value for the current control period be... ,but:

[0120] in, The influent flow rate for the current control cycle. As the baseline influent flow rate, For the current pollution load, As the baseline pollution load, The current water temperature, As the reference water temperature, This is a correction amount during the operation phase. , , and These are the flow correction coefficient, pollution load correction coefficient, water temperature correction coefficient, and operation stage correction coefficient corresponding to the i-th aeration control unit, respectively, and ε is a very small positive number to prevent the denominator from being zero.

[0121] When the influent flow rate or pollution load increases, through and Increase the target dissolved oxygen central value; when water temperature rises and microbial reaction rate increases, through Appropriately reduce the target dissolved oxygen central value; when the operation phase is under enhanced nitrification, low temperature operation, shock load, or energy-saving operation, by... The target dissolved oxygen center value is corrected accordingly.

[0122] Furthermore, based on the current wind turbine stability risk index The target dissolved oxygen range width is corrected. Let the corrected target dissolved oxygen range width be... ,but:

[0123] in, The second threshold, This is a risk range correction coefficient. When the blower stability risk index increases, the target dissolved oxygen range width is appropriately increased to reduce blower disturbances caused by frequent adjustments.

[0124] Finally, the optimized target dissolved oxygen range for the i-th aeration control unit within the current control cycle is obtained. :

[0125]

[0126] in, and These represent the minimum and maximum dissolved oxygen boundaries allowed by the i-th aeration control unit, respectively. Through the above correction method, the target dissolved oxygen range can be dynamically adjusted according to influent flow rate, pollutant load, water temperature, operating stage, and blower stability.

[0127] SC3. Based on the optimized target dissolved oxygen range and branch valve position-equivalent ventilation mapping model, determine the optimized control objective terms, and construct the optimized control objective function based on the optimized control objective terms.

[0128] Step SC3 includes the following sub-steps: SC31. Determine the dissolved oxygen deviation item based on the target dissolved oxygen range of each aeration control unit.

[0129] Specifically, in the preset prediction time domain Within the h-th prediction step, calculate the deviation between the predicted dissolved oxygen value of the i-th aeration control unit and the target dissolved oxygen range. Let the target dissolved oxygen range of the i-th aeration control unit in the current control cycle be... The predicted dissolved oxygen value for the h-th prediction step is The dissolved oxygen range deviation of the i-th aeration control unit in the h-th prediction step is... It can be represented as:

[0130] Specifically, when the predicted dissolved oxygen value is within the target dissolved oxygen range, Set to 0; when the predicted dissolved oxygen value is lower than the lower limit of the target dissolved oxygen range or higher than the upper limit of the target dissolved oxygen range, Take the corresponding out-of-bounds deviation. This yields the dissolved oxygen deviation term. : in, The number of aeration control units, is the dissolved oxygen deviation weighting coefficient for the i-th aeration control unit.

[0131] SC32. Determine the system energy consumption items based on the blower operating power, branch air supply distribution, or changes in air supply per unit time.

[0132] Specifically, the system energy consumption is determined by the predicted operating power of the blower, the blower regulation penalty, and the branch regulating valve regulation penalty. Let... For the predicted operating power of the blower in the h-th prediction step, For the blower frequency or speed in the h-th prediction step, Let the valve opening of the i-th branch control valve be the value at the h-th prediction step, then the system energy consumption term... It can be represented as:

[0133] in, This is a penalty coefficient for adjusting the frequency or speed of the blower. This is the penalty coefficient for the operation of the regulating valve in the i-th branch. This term can simultaneously characterize the energy consumption of the blower operation, the cost of frequent blower regulation, and the cost of frequent branch valve operation.

[0134] SC33. Determine the predicted risk item based on the predicted wind turbine stability risk value corresponding to the candidate control sequence within the preset prediction time domain.

[0135] Specifically, for candidate control sequences in the prediction time domain The corresponding predicted wind turbine stability risk index is statistically analyzed to obtain the predicted risk item. .set up Let h be the predicted wind turbine stability risk index for the h-th prediction step, then the predicted risk term... It can be represented as:

[0136] In another implementation, to improve the constraint on risk peaks, risk items are predicted. It can also be expressed as the maximum value of the predicted wind turbine stability risk index within the prediction time domain:

[0137] Preferably, when the system is in joint regulation mode, the average risk value in the predicted time domain can be used as the predicted risk term; when the system is in protection regulation mode, the maximum risk value in the predicted time domain can be used as the predicted risk term, so as to improve the protection of wind turbine stability.

[0138] SC34, and the dissolved oxygen deviation term, system energy consumption term and predicted risk term are weighted and superimposed according to preset weights to form an optimized control objective function.

[0139] Specifically, to eliminate the dimensional differences between different target items, the dissolved oxygen deviation item, system energy consumption item, and predicted risk item are first normalized:

[0140]

[0141]

[0142] in, , , These are the reference baseline values ​​for the dissolved oxygen deviation term, system energy consumption term, and predicted risk term, respectively, and ε is a very small positive number to prevent the denominator from being zero.

[0143] Subsequently, the normalized objective terms are weighted and summed according to preset weights to obtain the optimized control objective function. :

[0144] in, , , These are the weighting coefficients for the dissolved oxygen deviation term, the system energy consumption term, and the predicted risk term, respectively. , , All are non-negative numbers. Preferably, the weighting coefficients satisfy:

[0145] By optimizing the control objective function as described above, the system selects the appropriate control action from the set of candidate control actions. The smallest control sequence is taken as the intra-mode optimal control sequence under the current control mode.

[0146] SC4. Based on the operating boundaries of the blower, the operating boundaries of the branch regulating valve, the action boundaries of the vent valve, and the process safety boundaries, construct the initial constraint conditions.

[0147] The constraints include at least the target dissolved oxygen range constraint, the fan stability constraint, the actuator constraint, and the operating boundary constraint, including: The calculation formula for the target dissolved oxygen range constraint is as follows:

[0148] In the formula, The predicted dissolved oxygen value for the i-th aeration control unit in the h-th prediction step. and These represent the lower and upper limits of the target dissolved oxygen range for the current control cycle.

[0149] The calculation formula for the wind turbine stability constraints is as follows:

[0150] In the formula, To predict the stability risk index of wind turbines, This represents the risk threshold corresponding to the current control mode m.

[0151] The calculation formula for the constraints of the blower actuator is as follows:

[0152]

[0153] In the formula, For the blower frequency, and These are the lower and upper limits of the constraints on the blower actuator.

[0154] The calculation formula for the constraint of the branch control valve actuator is as follows:

[0155]

[0156] In the formula, For the opening degree of the regulating valve in the i-th branch, and These are the lower and upper limits of the constraints on the actuator of the branch control valve.

[0157] The calculation formula for the vent valve operating frequency constraint is as follows:

[0158] In the formula, In the current control cycle Inside, up to the The number of predicted actions of the vent valve during each prediction step. This is the upper limit of the constraint on the operating frequency of the vent valve.

[0159] The calculation formula for the running boundary constraints is as follows:

[0160] In the formula, This is the predicted value for total duct pressure. This is the prediction step number.

[0161] SC5. Obtain the operation feedback data of the historical control cycle, and correct at least one of the weight of the objective term, the center value of the target dissolved oxygen interval, or the interval width in the optimized control objective function to obtain the updated optimized control objective function.

[0162] Specifically, the measured dissolved oxygen, blower operating power, blower stability risk index, and control execution results of each aeration control unit within the previous control cycle or several consecutive historical control cycles are obtained. Let the average measured dissolved oxygen of the i-th aeration control unit in the previous control cycle be... The target dissolved oxygen range for the previous control cycle was Then the historical dissolved oxygen out-of-bounds deviation of the i-th aeration control unit It can be represented as:

[0163] Furthermore, define the target dissolved oxygen central value correction amount. :

[0164] in, This is the center value feedback correction coefficient for the i-th aeration control unit. When the measured dissolved oxygen in the previous control cycle is lower than the lower limit of the target range... A positive value is used to increase the current target dissolved oxygen center value; when the measured dissolved oxygen in the previous control cycle is higher than the upper limit of the target range, A negative value is used to reduce the current target dissolved oxygen center value.

[0165] Let the target dissolved oxygen center value and interval width obtained in SC2 be respectively and Then the target dissolved oxygen center value is corrected by feedback. and interval width They are respectively:

[0166]

[0167] in, This is the interval width feedback correction coefficient. This is a risk feedback correction coefficient. This is the historical deviation reference value for the i-th aeration control unit. The current wind turbine stability risk index, This is the second threshold. When the dissolved oxygen deviation increases in the previous cycle or the risk of fan instability rises, the target dissolved oxygen range width should be appropriately increased to reduce frequent adjustments.

[0168] The revised target dissolved oxygen range is:

[0169]

[0170] in, and These are the lower and upper limits of the target dissolved oxygen range after feedback correction. and These are the minimum and maximum dissolved oxygen boundaries allowed by the i-th aeration control unit, respectively.

[0171] Simultaneously, based on dissolved oxygen deviation, system energy consumption deviation, and fan stability risk from historical control cycles, the weights in the optimized control objective function are adjusted. Let the weights before adjustment be... , , These correspond to the dissolved oxygen deviation term, system energy consumption term, and predicted risk term, respectively; let the overall dissolved oxygen deviation of the previous control period be... The system energy consumption deviation is The current wind turbine stability risk index is Then the intermediate amount for weight adjustment is:

[0172]

[0173]

[0174] in, , , These are the weighted feedback correction coefficients corresponding to dissolved oxygen deviation, system energy consumption, and fan stability risk, respectively. and These are the reference values ​​for dissolved oxygen deviation and system energy consumption deviation, respectively.

[0175] Normalize the intermediate values ​​of the above weight correction to obtain the updated weight coefficients:

[0176]

[0177]

[0178] in, , , These are the updated weights for the dissolved oxygen deviation item, the system energy consumption item, and the predicted risk item, respectively.

[0179] The dissolved oxygen deviation term is recalculated based on the revised target dissolved oxygen range. In conjunction with system energy consumption items and predicted risk items The updated optimization control objective function is obtained as follows:

[0180] in, The updated optimized control objective function, This is the normalized dissolved oxygen deviation term calculated based on the corrected target dissolved oxygen range. For the normalized system energy consumption term, This is for normalized prediction of risk terms.

[0181] SC6. Obtain the current control mode, equipment status, environmental correction parameters, and abnormal operating condition information, and correct at least one of the threshold boundary, adjustment range, freeze time window, and upper limit of action frequency in the constraints to obtain the updated constraints.

[0182] Specifically, the initial constraints are tightened or relaxed based on the current control mode m, blower type, environmental correction parameters, and abnormal operating conditions. The current control mode m includes joint adjustment mode, protection adjustment mode, and freeze-back mode; the abnormal operating conditions include one or more of the following: dissolved oxygen meter malfunction, branch actuator malfunction, communication malfunction, vent valve malfunction, blower alarm, and abnormal fluctuation of main duct pressure.

[0183] First, the wind turbine stability risk threshold is corrected. Let the initial risk threshold corresponding to the current control mode m be... The constraint coefficient for blower type is The environmental constraint coefficient is The constraint coefficient for abnormal operating conditions is The corrected risk threshold for:

[0184] When the blower is an air-suspended blower or a magnetic levitation blower... A value less than 1 is used to tighten the fan stability constraints; when environmental conditions are unfavorable for the stable operation of the blower, Take a value less than 1; when abnormal operating conditions exist, Take the value less than 1.

[0185] The revised wind turbine stability constraints are:

[0186] Secondly, the blower adjustment range is corrected. Let the initial maximum single-step adjustment range of the blower frequency or speed be... The blower adjustment coefficient corresponding to the current control mode is: The corrected maximum single-step adjustment range of the blower is:

[0187] The revised constraints for the blower actuator are:

[0188] Among them, in the joint regulation mode Take the larger value to allow the blower to participate in coordinated regulation; in protection regulation mode Take the smaller value to limit continuous adjustment of the blower; in freeze-back mode. =0, freeze blower frequency adjustment.

[0189] Next, the adjustment range of the branch regulating valve is corrected. Let the initial maximum single-step adjustment range of the i-th branch regulating valve be... The valve adjustment coefficient corresponding to the current control mode is: Then the maximum single-step adjustment range of the i-th branch regulating valve after correction is:

[0190] The revised constraints for the branch control valve actuator are as follows:

[0191] Among them, in the joint regulation mode Take the larger value in protection adjustment mode. Take a smaller value so that the branch regulating valve only performs small-step fine-tuning; in freeze-back mode, the branch regulating valve executes according to the valve position corresponding to the preset safe gas supply control sequence or conservative gas supply curve.

[0192] Furthermore, the upper limit of the vent valve's operating frequency is adjusted. Let the initial upper limit of the vent valve's operating frequency be... The vent valve action coefficient corresponding to the current control mode is: Therefore, the upper limit of the vent valve's operating frequency after correction is:

[0193] The revised vent valve operating frequency constraint is:

[0194] When frequent vent valve activation, increased blower current fluctuations, or increased main duct pressure fluctuations are detected... Use a value less than 1 to reduce the frequency of vent valve operation.

[0195] Furthermore, the freeze time window is modified. Let the base freeze time window be... The current wind turbine stability risk index is The second threshold is The corrected freeze time window for:

[0196] in, This is a correction factor for the freeze time. The greater the degree to which the wind turbine stability risk index exceeds the second threshold, the longer the freeze time window.

[0197] Furthermore, the operating boundaries of the main duct pressure are revised. Let the initial lower and upper limits of the main duct pressure be respectively... and Safety margin is The corrected total duct pressure boundary is:

[0198]

[0199] The revised running boundary constraints are as follows:

[0200] in, Determined based on current equipment status, environmental correction parameters, and abnormal operating condition information. Increase [the value] when equipment status is abnormal or environmental conditions are unfavorable. This is to tighten the operating boundary of the main air duct pressure.

[0201] In this way, the constraints can be dynamically updated according to the current control mode, equipment status, environmental correction parameters and abnormal operating conditions, so that the optimization solution results are always within the action boundaries and safe operating range allowed by the current mode.

[0202] S5. Determine the current control mode based on the relationship between the current wind turbine stability risk index and the preset threshold, and determine the optimal control sequence based on the current control mode and the corresponding optimized control objective function and constraints.

[0203] Step S5 includes the following sub-steps: D1. When the current fan stability risk index is lower than the first threshold, the current control mode is determined to be the joint regulation mode. Under the joint regulation mode, a set of candidate control actions is generated that simultaneously includes the branch regulating valve regulation action and the blower total air volume regulation action. Under the execution boundary and constraint conditions corresponding to the joint regulation mode, the optimal control sequence within the mode that satisfies the target dissolved oxygen range constraint and the fan stability constraint is solved.

[0204] D2. When the current fan stability risk index is between the first threshold and the second threshold, the current control mode is determined to be the protection regulation mode. Under the protection regulation mode, a set of candidate control actions is generated that prioritizes the fine-tuning action of the branch regulating valve and restricts the continuous adjustment action of the blower. Under the execution boundary and constraint conditions corresponding to the protection regulation mode, the optimal control sequence within the mode that satisfies the target dissolved oxygen range constraint and the fan stability constraint is solved.

[0205] Furthermore, determining the current control mode based on the relationship between the current wind turbine stability risk index and the preset threshold also includes: D3. When the current fan stability risk index is higher than the second threshold, the current control mode is determined to be the freeze-back mode. In the freeze-back mode, the blower frequency adjustment is frozen, and a preset safe gas supply control sequence or conservative gas supply curve control sequence is directly output.

[0206] S6. Execute the corresponding control sequence according to the current control mode, and update the parameters in the fan stability risk index and the parameters in the branch valve position-equivalent ventilation volume mapping model according to the operation feedback after control execution.

[0207] Specifically, when the current control mode is a joint regulation mode or a protection regulation mode, the first control action in the optimal control sequence within the mode is executed, and the operating data is reacquired and the fan stability risk index and branch valve position-equivalent ventilation volume mapping model parameters are updated in the next control cycle; when the current control mode is a freeze-back mode, the optimized control sequence within the mode is not executed, but a preset safe gas supply control sequence or a conservative gas supply curve control sequence is executed, and the risk threshold, freeze time window, branch mapping model parameters and related correction coefficients are updated based on the operating feedback after the freeze-back is executed.

[0208] This example provides an optimized control method for aeration in a wastewater treatment plant. First, operational data of the aeration system is collected. Based on this data, a blower stability risk index is constructed. A branch valve position-equivalent ventilation volume mapping model is obtained online, and the dead zone, sensitive zone, and saturation zone of each branch are identified. Then, based on the target dissolved oxygen range of each aeration control unit, a multi-objective optimization control function and constraints are constructed, including dissolved oxygen deviation, system energy consumption, and predicted risk terms, in conjunction with the branch valve position-equivalent ventilation volume mapping model. The current control mode is determined based on the relationship between the blower stability risk index and a preset threshold. The optimal control sequence is solved in either a joint regulation mode or a protection regulation mode. In a freeze-back mode, a preset safe air supply sequence is directly output. After control execution, model parameters are updated based on operational feedback. This method offers the following advantages: 1. By constructing a branch valve position-equivalent ventilation volume mapping model and identifying the dead zone, sensitive zone and saturation zone of each branch, the traditional static table lookup experience processing method is upgraded to an online dynamic identification mechanism based on real-time operating conditions. This effectively corrects the deviation between control commands and actual air supply effect, and significantly improves the air supply control accuracy of the aeration system under branch nonlinear operating conditions.

[0209] 2. By constructing a blower stability risk index and setting a three-level control strategy based on it—joint adjustment mode, protection adjustment mode, and freeze-back mode—the judgment of blower instability risk is elevated from manual experience to quantifiable constraints. This allows the control strategy to dynamically adjust the control granularity according to the stable state of the equipment, effectively suppressing the instability risk of blowers, especially air-suspended and magnetic-suspended blowers, caused by high-frequency adjustment, and enhancing the safety of equipment operation. 3. By constructing a multi-objective optimization control function that includes dissolved oxygen deviation, system energy consumption, and predicted risk, and combining the target dissolved oxygen range constraint and the fan stability constraint for optimization, the oxygen supply control effect, energy consumption optimization objective, and fan stable operation constraint are unified and balanced. This effectively solves the problem of difficulty in balancing control accuracy and equipment operability in the existing technology, and improves the engineering feasibility and long-term automatic operation rate of the aeration optimization control system.

[0210] For those consistent with the above, please refer to Figure 2 , Figure 2 This application provides a schematic diagram of the structure of an aeration optimization control system for a wastewater treatment plant. (See attached diagram.) Figure 2 As shown, the system includes: Module 1 is used to acquire operational data of the aeration system in the wastewater treatment plant.

[0211] The second module 2 is used to construct a wind turbine stability risk index based on the operating data.

[0212] The third module 3 is used to perform online identification of each branch, obtain test data of the target branch at multiple preset valve position test points, and construct a branch valve position-equivalent ventilation volume mapping model based on the test data.

[0213] The fourth module 4 is used to obtain the target dissolved oxygen range of each aeration control unit, and to construct the optimization control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation volume mapping model.

[0214] The fifth module 5 is used to determine the current control mode based on the relationship between the current wind turbine stability risk index and the preset threshold, and to determine the optimal control sequence based on the current control mode and the corresponding optimized control objective function and constraints.

[0215] The sixth module 6 is used to execute the optimal control sequence and update the parameters in the wind turbine stability risk index and the parameters in the branch valve position-equivalent ventilation volume mapping model based on the operation feedback after the control execution.

[0216] For examples consistent with the above embodiments, please refer to... Figure 3 , Figure 3 A schematic diagram of a terminal structure provided in an embodiment of this application is shown in the figure. It includes a processor, an input device, an output device, and a memory. The processor, input device, output device, and memory are interconnected. The memory is used to store a computer program, which includes program instructions. The processor is configured to call the program instructions. The program includes instructions for performing the following steps. Obtain operational data from the aeration system of the wastewater treatment plant.

[0217] Based on the operational data, a wind turbine stability risk index is constructed.

[0218] Online identification is performed on each branch to obtain test data of the target branch at multiple preset valve position test points, and a branch valve position-equivalent ventilation volume mapping model is constructed based on the test data.

[0219] Obtain the target dissolved oxygen range for each aeration control unit, and construct the optimization control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation volume mapping model.

[0220] The current control mode is determined based on the relationship between the current wind turbine stability risk index and the preset threshold, and the optimal control sequence is determined based on the current control mode and the corresponding optimized control objective function and constraints.

[0221] The optimal control sequence is executed, and the parameters in the wind turbine stability risk index and the parameters in the branch valve position-equivalent ventilation volume mapping model are updated based on the operational feedback after the control execution.

[0222] The above mainly describes the solutions of the embodiments of this application from the perspective of the method execution process. It is understood that, in order to achieve the above functions, the terminal includes the corresponding hardware structure and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments provided herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0223] This application embodiment can divide the terminal into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0224] This application also provides a computer storage medium storing a computer program for electronic data exchange, which causes a computer to perform some or all of the steps of any of the wastewater treatment plant aeration optimization control methods described in the above method embodiments.

[0225] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program that causes a computer to perform some or all of the steps of any of the wastewater treatment plant aeration optimization control methods described in the above method embodiments.

[0226] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0227] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0228] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0229] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0230] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software program module.

[0231] If the integrated unit is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0232] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory, a random access memory, a magnetic disk, or an optical disk, etc.

[0233] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for optimizing and controlling aeration in a wastewater treatment plant, characterized in that, include: Obtain operational data from the aeration system of a wastewater treatment plant; Based on the operational data, a wind turbine stability risk index is constructed. Online identification is performed on each branch to obtain test data of the target branch at multiple preset valve position test points, and a branch valve position-equivalent ventilation volume mapping model is constructed based on the test data. Obtain the target dissolved oxygen range for each aeration control unit, and construct the optimization control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation volume mapping model. The current control mode is determined based on the relationship between the current wind turbine stability risk index and the preset threshold. When the current control mode is a joint regulation mode or a protection regulation mode, the optimal control sequence within the mode is determined based on the candidate control action set, the optimized control objective function, and the constraints corresponding to the current control mode; when the current control mode is a freeze-back mode, a preset safe gas supply control sequence or a conservative gas supply curve control sequence is determined. When the current control mode is a joint regulation mode or a protection regulation mode, the first control action in the optimal control sequence within the mode is executed; when the current control mode is a freeze-back mode, the preset safe gas supply control sequence or conservative gas supply curve control sequence is executed; and based on the operational feedback after control execution, the parameters in the fan stability risk index and the parameters in the branch valve position-equivalent ventilation volume mapping model are updated.

2. The wastewater treatment plant aeration optimization control method according to claim 1, characterized in that, The step of constructing a wind turbine stability risk index based on the operational data includes: Set a statistical time window, and extract the total duct pressure, blower current, blower frequency adjustment record, branch regulating valve opening change record, vent valve action record, and dissolved oxygen change record of each aeration control unit from the operating data within the window. Based on the total duct pressure, blower current, blower frequency adjustment records, branch regulating valve opening change records, vent valve action records, and dissolved oxygen change records of each aeration control unit within the statistical time window, the corresponding risk sub-quantities are calculated respectively. Obtain the blower type and environmental correction parameters, and correct the risk subquantity according to the blower type and environmental correction parameters to obtain the corrected risk subquantity; Based on the modified risk subquantity, a wind turbine stability risk index is constructed.

3. The wastewater treatment plant aeration optimization control method according to claim 2, characterized in that, The risk sub-quantities include total duct pressure fluctuation, blower current fluctuation rate, blower frequency adjustment times per unit time, branch equivalent resistance change rate, vent valve operation times, and dissolved oxygen overshoot times.

4. The wastewater treatment plant aeration optimization control method according to claim 1, characterized in that, The step of performing online identification on each branch, acquiring test data of the target branch at multiple preset valve position test points, and constructing a branch valve position-equivalent ventilation volume mapping model based on the test data includes: Acquire test data for the target branch at multiple preset valve position test points. The test data includes the opening degree of the regulating valve of the current target branch, the total duct pressure, the blower speed, the environmental correction parameters, and the dissolved oxygen response data of the aeration control unit served by the current target branch during the test. Calculate the equivalent ventilation volume sample value corresponding to each test point based on the test data; Based on the equivalent ventilation volume sample value, branch regulating valve opening, total duct pressure, blower speed and environmental correction parameters, a branch valve position-equivalent ventilation volume mapping model is fitted to each branch. Based on the branch valve position-equivalent ventilation volume mapping model, the dead zone, sensitive zone, and saturation zone of each branch are determined.

5. The method for optimizing and controlling aeration in a wastewater treatment plant according to claim 1, characterized in that, The process involves obtaining the target dissolved oxygen range for each aeration control unit, and constructing an optimized control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation rate mapping model, including: Obtain the initial target dissolved oxygen range for each aeration control unit; The initial target dissolved oxygen range is corrected and adjusted based on the current influent flow rate, influent water quality, pollution load, operating stage, and environmental correction parameters to obtain the optimized target dissolved oxygen range for each aeration control unit within the current control cycle. Based on the optimized target dissolved oxygen range and branch valve position-equivalent ventilation volume mapping model, the optimized control objective terms are determined, and the optimized control objective function is constructed based on the optimized control objective terms. Initial constraints are constructed based on the operating boundaries of the blower, the operating boundaries of the branch regulating valve, the action boundaries of the vent valve, and the process safety boundaries. Obtain historical control cycle operation feedback data, and correct at least one of the weights of the target terms, the center value of the target dissolved oxygen interval, or the interval width in the optimized control objective function to obtain the updated optimized control objective function; The system acquires the current control mode, equipment status, environmental correction parameters, and abnormal operating condition information, and corrects at least one of the threshold boundaries, adjustment ranges, freeze time windows, and upper limits of action frequency in the constraints to obtain updated constraints.

6. The wastewater treatment plant aeration optimization control method according to claim 5, characterized in that, The process of obtaining the initial target dissolved oxygen range for each aeration control unit includes: The process zones to which each aeration control unit belongs are divided according to the wastewater treatment process flow. For each aeration control unit in each process zone, a corresponding basic target dissolved oxygen range is preset.

7. The wastewater treatment plant aeration optimization control method according to claim 5, characterized in that, The step of constructing the optimization control objective function based on the optimization control objective term includes: Determine the dissolved oxygen deviation item based on the target dissolved oxygen range of each aeration control unit; The system energy consumption items are determined based on the blower operating power, branch air supply distribution, or changes in air supply per unit time. The predicted risk item is determined based on the predicted wind turbine stability risk value corresponding to the candidate control sequence within the preset prediction time domain. The dissolved oxygen deviation term, system energy consumption term, and predicted risk term are weighted and superimposed according to preset weights to form an optimized control objective function.

8. The wastewater treatment plant aeration optimization control method according to claim 1, characterized in that, The step of determining the current control mode based on the relationship between the current wind turbine stability risk index and a preset threshold, and determining the optimal control sequence based on the current control mode under the corresponding optimized control objective function and constraints, includes: When the current fan stability risk index is lower than the first threshold, the current control mode is determined to be the joint regulation mode. Under the joint regulation mode, a set of candidate control actions is generated that simultaneously includes the branch regulating valve regulation action and the blower total air volume regulation action. Under the execution boundary and constraint conditions corresponding to the joint regulation mode, the optimal control sequence within the mode that satisfies the target dissolved oxygen range constraint and the fan stability constraint is solved. When the current wind turbine stability risk index is between the first threshold and the second threshold, the current control mode is determined to be the protection regulation mode. Under the protection regulation mode, a set of candidate control actions is generated that prioritizes the fine-tuning action of the branch regulating valve and restricts the continuous adjustment action of the blower. Under the execution boundary and constraint conditions corresponding to the protection regulation mode, the optimal control sequence within the mode that satisfies the target dissolved oxygen range constraint and the wind turbine stability constraint is solved.

9. The wastewater treatment plant aeration optimization control method according to claim 8, characterized in that, The method of determining the current control mode based on the relationship between the current wind turbine stability risk index and a preset threshold also includes: When the current wind turbine stability risk index is higher than the second threshold, the current control mode is determined to be the freeze-back mode. In the freeze-back mode, the blower frequency adjustment is frozen, and a preset safe air supply control sequence or conservative air supply curve control sequence is directly output.

10. An aeration optimization control system for a wastewater treatment plant, characterized in that, include: The first module is used to acquire the operating data of the aeration system in the wastewater treatment plant. The second module is used to construct a wind turbine stability risk index based on the operational data. The third module is used to perform online identification of each branch, obtain test data of the target branch at multiple preset valve position test points, and construct a branch valve position-equivalent ventilation volume mapping model based on the test data. The fourth module is used to obtain the target dissolved oxygen range of each aeration control unit, and to construct the optimization control objective function and constraints based on the target dissolved oxygen range and the branch valve position-equivalent ventilation volume mapping model. The fifth module is used to determine the current control mode based on the relationship between the current wind turbine stability risk index and the preset threshold. When the current control mode is a joint regulation mode or a protection regulation mode, the optimal control sequence within the mode is determined based on the candidate control action set, the optimized control objective function, and the constraints corresponding to the current control mode; when the current control mode is a freeze-back mode, a preset safe gas supply control sequence or a conservative gas supply curve control sequence is determined. The sixth module is used to execute the first control action in the optimal control sequence within the current control mode when the current control mode is the joint regulation mode or the protection regulation mode; to execute the preset safe gas supply control sequence or the conservative gas supply curve control sequence when the current control mode is the freeze-back mode; and to update the parameters in the fan stability risk index and the parameters in the branch valve position-equivalent ventilation volume mapping model based on the operation feedback after the control execution.