A control optimization method for an automatic water inlet system of an artificial wetland
Through adaptive multi-parameter feedback control and multi-objective optimization algorithms, the water volume and quality of constructed wetlands are dynamically adjusted, solving the stability and efficiency problems of traditional systems in the face of complex environmental changes, and achieving efficient water quality treatment and resource utilization. .
Patent Information
- Application Number
- CN202410165664.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-02-05
AI Technical Summary
The traditional constructed wetland water inlet system lacks flexibility and adaptability, and is difficult to cope with rapid changes in water quality and environmental conditions, resulting in unstable treatment performance, and its operation is affected by a variety of environmental factors, which affects the water quality treatment effect.
Adopting an adaptive multi-parameter feedback control method, through real-time monitoring of water quality parameters and environmental factors, combined with fuzzy logic and multi-objective optimization algorithms, the water inlet volume and water quality are dynamically adjusted, the water inlet strategy is optimized, and rapid adaptation to complex environmental changes is achieved. Maximize utilization of processing power.
It improves pollutant removal efficiency and system stability, reduces energy consumption and chemical use, achieves efficient use of resources, ensures that effluent water quality continues to meet standards, and improves the system's adaptability and long-term operational flexibility.
Smart Images

Figure CN118047481B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of water supply and drainage control, and in particular to a control optimization method for an automatic water inlet system of an artificial wetland. Background Art
[0002] In the field of modern water quality management and sewage treatment, artificial wetlands, as an ecological engineering technology that simulates natural wetland processes, have been widely used in the treatment of various types of sewage, including urban sewage, agricultural runoff and industrial wastewater. By simulating the physical, chemical and biological processes of natural wetlands, artificial wetlands can effectively remove organic matter, nitrogen, phosphorus and other pollutants in water, while having the advantages of low operating costs, simple operation and high ecological benefits.
[0003] However, despite the significant advantages of artificial wetlands in water purification, they still face a series of challenges in practical applications. One of them is how to dynamically adjust the operation strategy of the water inlet system according to different environmental conditions and water quality requirements to maintain treatment efficiency and system stability. Traditional artificial wetland water inlet systems mostly use fixed or manual adjustment methods to control water inlet. This method lacks flexibility and adaptability, and is difficult to cope with rapid changes in water quality and environmental conditions, which may lead to unstable treatment performance or even system overload.
[0004] In addition, the operation of artificial wetland systems is also affected by a variety of environmental factors, including temperature, rainfall, sunshine duration, etc. These factors directly affect the activity of microorganisms and the growth of plants in the wetland, and thus affect the water quality treatment effect. Therefore, how to comprehensively consider these complex factors and realize the intelligent and adaptive control of artificial wetland water inlet systems has become the key to improving the water quality treatment capacity and operation efficiency of artificial wetlands.
[0005] In view of these problems, it is urgent to develop a new control optimization method for the automatic water inflow system of artificial wetlands. Summary of the invention
[0006] Based on the above objectives, the present invention provides a control optimization method for an automatic water inlet system of an artificial wetland.
[0007] A control optimization method for an artificial wetland automatic water inlet system comprises the following steps:
[0008] S1: Water quality parameter detection, testing water quality parameters at the inlet and outlet of the artificial wetland;
[0009] S2: Environmental factor monitoring, real-time monitoring of environmental factors related to constructed wetland performance, including temperature, rainfall, and sunshine duration;
[0010] S3: Adaptive multi-parameter feedback control, combining the monitoring data of water quality parameters and environmental factors, adopts adaptive control strategy to dynamically adjust the inflow and quality of water. The adaptive control strategy is not only based on the changes in water quality parameters, but also considers the impact of environmental factors on the performance of artificial wetlands. Through comprehensive algorithms, the water inflow strategy is optimized to achieve rapid adaptation to complex environmental changes and maximize the use of artificial wetland treatment capacity;
[0011] S4: Real-time adjustment of water inflow and water quality. Based on the adaptive multi-parameter feedback control strategy, the opening degree of the water inlet valve and the water inlet time are automatically adjusted to optimize the treatment efficiency and stability of the constructed wetland, ensuring that the best water quality treatment performance can be maintained under different environmental conditions.
[0012] Furthermore, the water quality parameter detection in S1 includes installing water quality monitoring sensors for detecting COD, BOD, nitrogen and phosphorus content at the entrance and exit of the artificial wetland, respectively, and the water quality monitoring sensors collect water quality parameter data in real time.
[0013] Further, the environmental factor monitoring in S2 includes deploying an environmental monitoring station;
[0014] Integrated environmental monitoring stations are deployed at key locations of artificial wetlands. The environmental monitoring stations are equipped with environmental monitoring sensors for measuring air temperature, rainfall, and sunshine duration. The environmental monitoring sensors continuously collect data on air temperature, rainfall, and sunshine duration.
[0015] Furthermore, the adaptive control strategy in S3 specifically includes:
[0016] S31, data fusion processing: fuse the data from water quality and environmental monitoring sensors, using data preprocessing techniques, including denoising, normalization, and time series analysis, to ensure data quality and consistency;
[0017] S32, a control algorithm based on fuzzy logic, combines real-time monitoring data of water quality parameters and environmental factors to analyze the nonlinear response of the constructed wetland to various input variables, as well as the uncertainty and dynamic changes of environmental conditions;
[0018] S33, multi-parameter optimization decision: through the comprehensive algorithm of multi-objective optimization algorithm, the adjustment of influent volume and quality is considered at the same time to ensure that the treatment capacity and resource utilization efficiency of the constructed wetland are maximized while meeting the water quality treatment requirements.
[0019] Furthermore, the denoising in S31 includes removing noise from the signal to improve the quality of the data, using a moving average filter: Among them, y t is the filtered output at time point t, x t-nis the original observation value at time point tn, N is the width of the filter, and the moving average filter reduces the impact of random fluctuations by averaging the data of the last N time points;
[0020] The normalization in S31 includes scaling the data so that it falls into [0,1] to eliminate the influence of the dimension and make different indicators comparable. The minimum-maximum normalization is expressed as:
[0021] Among them, x′ is the normalized value, x is the original value, min(x) and max(x) are the minimum and maximum values in the data set respectively. In this way, all data are converted to the range of 0 to 1.
[0022] Furthermore, the control algorithm based on fuzzy logic in S32 specifically includes:
[0023] Determine input and output variables: Input variables are selected as water quality parameters (such as COD, BOD, nitrogen, phosphorus content) and environmental factors (such as temperature, rainfall, sunshine duration); output variables are defined as influent volume and influent quality adjustment;
[0024] Divide fuzzy sets and define membership functions: For each input and output variable, divide the fuzzy sets and define membership functions for each fuzzy set. The membership function is used to describe the degree to which a specific input value belongs to a fuzzy set. The membership function is in the form of a triangle.
[0025] Establish fuzzy rules: Based on expert knowledge and practical experience, establish a set of fuzzy rules to describe the relationship between input variables and output variables;
[0026] Fuzzy reasoning: Fuzzy rules are evaluated using fuzzy logic reasoning mechanisms (Mamdani or Takagi-Sugeno model), the actual values of the input variables are fuzzified by membership functions, and then fuzzy reasoning is performed based on the fuzzy rules to obtain the output fuzzy set of each rule;
[0027] Defuzzification: Convert the result of fuzzy reasoning into a specific output value (adjustment of water inflow and water quality). The defuzzification method is based on the centroid method. The calculation formula of the centroid method is:
[0028]
[0029] Furthermore, the multi-objective optimization algorithm considers several conflicting objectives at the same time and finds the best trade-off solution between the objectives, namely the Pareto optimal solution set, which specifically includes:
[0030] Define the optimization objectives: f1: minimize the total concentration of pollutants that do not meet the standards to ensure that water quality treatment requirements are met; f2: maximize the treatment efficiency of the constructed wetland, that is, the ratio of the amount of water treated per unit time to the amount of pollutants removed; f3: maximize resource utilization efficiency, including the ratio of energy consumption, chemical usage and treatment effect;
[0031] Establish constraints: Constraints include the physical capacity of the constructed wetland, the maximum load of the inlet system, and environmental restrictions;
[0032] Genetic algorithms are used to solve multi-objective optimization problems. The goal is to find a set of solutions that can achieve the best trade-off between f1, f2, and f3 while satisfying all constraints. The genetic algorithm calculation process is as follows:
[0033] Initialize the population: randomly generate a set of initial solutions, each solution represents a combination of water inflow and water quality;
[0034] Fitness function: Define a fitness function to evaluate the performance of each solution for each optimization objective. Among them, w1, w2 and w3 are weight factors used to balance the importance of different objectives.
[0035] Selection, crossover, and mutation: Select solutions for reproduction based on fitness, and generate new solutions through crossover and mutation operations;
[0036] Pareto front: select a set of solutions from the population that is optimal when no solution outperforms the others on all objectives simultaneously;
[0037] Iterate until convergence: Repeat selection, crossover, mutation, and updating of the Pareto front until a stopping criterion is met, including reaching a maximum number of iterations or the improvement in the solution is less than a preset threshold.
[0038] Furthermore, the output results of the multi-objective optimization algorithm include:
[0039] Treatment efficiency: Evaluate the efficiency of constructed wetlands in removing specific pollutants, including pollutant removal rate and treatment time;
[0040] System stability: The stability of the constructed wetland's response to fluctuations in water quality and environmental conditions, including response time and recovery time to input changes;
[0041] Resource efficiency: Calculate the efficiency of resource utilization (such as electricity, chemicals, and water) during the treatment process, including the resource consumption required per unit of pollutant removed;
[0042] Environmental adaptability: Evaluate the adaptability and performance changes of constructed wetlands under different environmental conditions (such as temperature and rainfall);
[0043] Based on the output result of the multi-objective optimization algorithm, the automatic adjustment of the opening degree and water inlet time of the water inlet valve specifically includes:
[0044] Dynamic water inlet adjustment:
[0045] If the treatment efficiency is lower than expected and the resource consumption is high, the water inflow needs to be reduced to reduce the load on the constructed wetland and improve the efficiency of single treatment. When the resource utilization efficiency is high and the environmental conditions are stable, the water inflow should be increased to improve the overall treatment capacity.
[0046] Influent quality management:
[0047] For influent with high pollutant concentration, the quality of influent is adjusted through pretreatment or dilution to ensure effective removal of pollutants in the constructed wetland. When the pollutant concentration is low, the water is directly introduced to save resources.
[0048] Adaptation to environmental conditions:
[0049] Under low temperature or heavy rainfall conditions, adjust the water inflow strategy, including extending the water inflow time or reducing the water inflow volume, to cope with the impact of environmental changes on treatment efficiency;
[0050] Under favorable conditions of increased sunshine hours, increase water intake and use natural resources to improve treatment efficiency;
[0051] Valve control optimization: Based on the results of system stability analysis, optimize the valve opening degree and adjustment speed to achieve precise flow control.
[0052] Furthermore, it also includes regular analysis of the operation data and environmental monitoring data of artificial wetlands, and updating of adaptive control strategies and comprehensive algorithms to adapt to long-term environmental changes and ecological succession of artificial wetlands.
[0053] Beneficial effects of the present invention:
[0054] The present invention dynamically adjusts the water inlet volume and quality by real-time monitoring of water quality parameters (such as COD, BOD, nitrogen, and phosphorus content) at the inlet and outlet of the artificial wetland and key environmental factors (such as temperature, rainfall, and sunshine duration), combined with an adaptive multi-parameter feedback control strategy. The refined management not only improves the removal efficiency of pollutants, but also ensures that the artificial wetland system can maintain a high level of treatment stability under extreme weather or unstable water inlet conditions, avoiding large fluctuations in treatment effects, thereby ensuring that the effluent quality continues to meet the standards.
[0055] The present invention adopts a multi-objective optimization algorithm to meet the water quality treatment standards while taking into account the efficiency of energy and material use, and reduces unnecessary energy consumption and chemical addition by accurately controlling the water inlet strategy. For example, when the water quality is good or the environmental conditions are conducive to biological treatment, the water inlet volume is increased to increase the treatment capacity, and under high pollution load or unfavorable conditions, the water inlet quality and quantity are adjusted to ensure the treatment efficiency, thereby minimizing economic costs and efficiently utilizing resources under the premise of ensuring environmental protection.
[0056] The present invention regularly analyzes the operation data and environmental monitoring data of the artificial wetland and updates the adaptive control strategy and comprehensive algorithm accordingly. The present invention enables the artificial wetland system to respond to environmental changes and water quality fluctuations in a timely manner and automatically adjust the operation strategy to adapt to new conditions. This continuous self-optimization mechanism not only improves the adaptability of the artificial wetland, but also enhances the long-term operation flexibility and reliability of the system in the face of complex and changeable environments and water inlet conditions, ensuring that the system can operate efficiently and stably in different seasons and different climates. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0058] Figure 1 The figure is a flowchart of an optimization method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.
[0060] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0061] like Figure 1 As shown, a control optimization method for an artificial wetland automatic water inlet system comprises the following steps:
[0062] S1: Water quality parameter detection, testing water quality parameters at the inlet and outlet of the artificial wetland;
[0063] S2: Environmental factor monitoring, real-time monitoring of environmental factors related to the performance of artificial wetlands, including temperature, rainfall, and sunshine duration, which directly affect the evaporation, infiltration, and biological treatment capacity of artificial wetlands;
[0064] S3: Adaptive multi-parameter feedback control, combining the monitoring data of water quality parameters and environmental factors, adopts adaptive control strategy to dynamically adjust the inflow and quality of water. The adaptive control strategy is not only based on the changes in water quality parameters, but also considers the impact of environmental factors on the performance of artificial wetlands. Through comprehensive algorithms, the water inflow strategy is optimized to achieve rapid adaptation to complex environmental changes and maximize the use of artificial wetland treatment capacity;
[0065] S4: Real-time adjustment of water inflow and water quality. Based on the adaptive multi-parameter feedback control strategy, the opening degree of the water inlet valve and the water inlet time are automatically adjusted to optimize the treatment efficiency and stability of the constructed wetland, ensuring that the best water quality treatment performance can be maintained under different environmental conditions.
[0066] The water quality parameter detection in S1 includes installing water quality monitoring sensors for detecting COD, BOD, nitrogen and phosphorus content at the entrance and exit of the artificial wetland, and the water quality monitoring sensors collect water quality parameter data in real time.
[0067] Monitoring of environmental factors in S2 includes the deployment of environmental monitoring stations;
[0068] Integrated environmental monitoring stations are deployed at key locations of artificial wetlands. The environmental monitoring stations are equipped with environmental monitoring sensors for measuring air temperature, rainfall, and sunshine duration. The environmental monitoring sensors continuously collect data on air temperature, rainfall, and sunshine duration.
[0069] The adaptive control strategy in S3 specifically includes:
[0070] S31, data fusion processing: fuse the data from water quality and environmental monitoring sensors, using data preprocessing techniques, including denoising, normalization, and time series analysis, to ensure data quality and consistency;
[0071] S32, a control algorithm based on fuzzy logic, combines real-time monitoring data of water quality parameters and environmental factors to analyze the nonlinear response of the constructed wetland to various input variables, as well as the uncertainty and dynamic changes of environmental conditions;
[0072] S33, multi-parameter optimization decision: Through the comprehensive algorithm of multi-objective optimization algorithm, the adjustment of influent volume and quality is considered at the same time to ensure that the treatment capacity and resource utilization efficiency of the constructed wetland are maximized while meeting the water quality treatment requirements. The algorithm can weigh the conflicts between different objectives, such as treatment efficiency and operating costs.
[0073] Denoising in S31 involves removing noise from the signal to improve the quality of the data, using a moving average filter: Among them, y t is the filtered output at time point t, x t-n is the original observation value at time point tn, N is the width of the filter, and the moving average filter reduces the impact of random fluctuations by averaging the data of the last N time points;
[0074] Normalization in S31 involves scaling the data so that it falls into [0,1] to eliminate the impact of the dimension and make different indicators comparable. The minimum-maximum normalization is expressed as:
[0075] Among them, x′ is the normalized value, x is the original value, min(x) and max(x) are the minimum and maximum values in the data set respectively. In this way, all data are converted to the range of 0 to 1.
[0076] The fuzzy logic-based control algorithm in S32 specifically includes:
[0077] Determine input and output variables: Input variables are selected as water quality parameters (such as COD, BOD, nitrogen, phosphorus content) and environmental factors (such as temperature, rainfall, sunshine duration); output variables are defined as influent volume and influent quality adjustment;
[0078] Divide fuzzy sets and define membership functions: For each input and output variable, divide the fuzzy sets (such as "low", "medium", "high") and define membership functions for each fuzzy set. The membership function is used to describe the degree to which a specific input value belongs to a fuzzy set. The membership function is in the form of a triangle.
[0079] Establish fuzzy rules: Based on expert knowledge and practical experience, establish a set of fuzzy rules to describe the relationship between input variables and output variables;
[0080] Fuzzy reasoning: Fuzzy rules are evaluated using fuzzy logic reasoning mechanisms (Mamdani or Takagi-Sugeno model), the actual values of the input variables are fuzzified by membership functions, and then fuzzy reasoning is performed based on the fuzzy rules to obtain the output fuzzy set of each rule;
[0081] Defuzzification: Convert the result of fuzzy reasoning into a specific output value (adjustment of water inflow and water quality). The defuzzification method is based on the centroid method. The calculation formula of the centroid method is:
[0082]
[0083] Assume that we are concerned with two input variables (COD concentration and air temperature) and one output variable (water inflow adjustment), and use the Mamdani fuzzy inference system as an example:
[0084] Step 1: Define the fuzzy sets and membership functions of the input and output variables
[0085] Input variables:
[0086] COD concentration: fuzzy set {low, medium, high}, membership function is triangular.
[0087] Temperature: fuzzy set {low, medium, high}, the membership function is also triangular.
[0088] Output variables:
[0089] Water inlet adjustment: fuzzy set {decrease, maintain, increase}, and the membership function is triangular.
[0090] Step 2: Create fuzzy rules
[0091] For example:
[0092] Rule 1: If COD concentration is high and air temperature is low, the water inflow is adjusted to decrease.
[0093] Rule 2: If COD concentration is medium and air temperature is high, the water inflow is adjusted to increase.
[0094] Step 3: Fuzzy reasoning process
[0095] Assume that the current COD concentration is "75 mg / L" and the temperature is "15°C", and the membership function is used to calculate that the membership of COD concentration "high" is 0.7 and the membership of temperature "low" is 0.6.
[0096] For rule 1:
[0097] Calculate the membership of the rule premise: Use the minimum operator (because it is an "and" relationship), so the membership of the rule premise is min(0.7,0.6)=0.6.
[0098] Applying the membership to the fuzzy set "Reduce" of the output variable means that the membership of adjusting the water inflow to "Reduce" is also 0.6.
[0099] Rule 2 may not apply because the current environmental conditions do not match its premise.
[0100] Step 4: Deblurring
[0101] Use the centroid method formula to calculate the specific water inlet adjustment value.
[0102] Assuming that the sample value range corresponding to the "reduce" fuzzy set is -10 to 0 (-10 means to reduce the water inflow to the greatest extent, and 0 means to remain unchanged), the calculation of the output value will take into account the contribution of the membership degree 0.6 to this range.
[0103] Ultimately, this output will be used to adjust the inflow to the constructed wetland to suit current water quality and environmental conditions and optimize treatment efficiency.
[0104] In this way, the fuzzy logic control algorithm is able to comprehensively consider multiple factors and the complex relationships between them, providing a flexible and effective method to dynamically adjust the water inflow of the constructed wetland, maintaining the stability and efficiency of the system even in the face of uncertainty and changing environmental conditions.
[0105] The multi-objective optimization algorithm considers several conflicting objectives at the same time and finds the best trade-off solution between the objectives, namely the Pareto optimal solution set, which includes:
[0106] Define the optimization objectives: f1: minimize the total concentration of pollutants that do not meet the standards to ensure that water quality treatment requirements are met; f2: maximize the treatment efficiency of the constructed wetland, that is, the ratio of the amount of water treated per unit time to the amount of pollutants removed; f3: maximize resource utilization efficiency, including the ratio of energy consumption, chemical usage and treatment effect;
[0107] Establish constraints: Constraints include the physical capacity of the constructed wetland, the maximum load of the inlet system, and environmental restrictions;
[0108] Genetic algorithms are used to solve multi-objective optimization problems. The goal is to find a set of solutions that can achieve the best trade-off between f1, f2, and f3 while satisfying all constraints. The genetic algorithm calculation process is as follows:
[0109] Initialize the population: randomly generate a set of initial solutions, each solution represents a combination of water inflow and water quality;
[0110] Fitness function: Define a fitness function to evaluate the performance of each solution for each optimization objective. Among them, w1, w2 and w3 are weight factors used to balance the importance of different objectives.
[0111] Selection, crossover, and mutation: Select solutions for reproduction based on fitness, and generate new solutions through crossover and mutation operations;
[0112] Pareto front: select a set of solutions from the population that is optimal when no solution outperforms the others on all objectives simultaneously;
[0113] Iterate until convergence: Repeat selection, crossover, mutation, and updating of the Pareto front until a stopping criterion is met, including reaching a maximum number of iterations or the improvement in the solution is less than a preset threshold.
[0114] When applied to the present invention, the steps are as follows:
[0115] First, water quality and environmental monitoring equipment are integrated into the artificial wetland system to ensure that data such as COD, BOD, nitrogen, phosphorus content, as well as temperature, rainfall, and sunshine duration can be obtained in real time.
[0116] The monitoring data were processed using denoising, normalization and time series analysis methods. For example, a moving average filter was applied to remove noise from the data, the minimum-maximum normalization method was used to standardize the data to between 0 and 1, and the ARMA model was used to analyze the time series characteristics of the data.
[0117] Design a fuzzy logic controller based on real-time monitoring data of water quality parameters and environmental factors. Define fuzzy sets and membership functions, and establish fuzzy rules to describe the relationship between influent volume and quality and monitoring data. Implement fuzzy reasoning and calculate specific instructions for influent adjustment through the defuzzification process.
[0118] The optimization calculation is performed by using the multi-objective optimization algorithm of the genetic algorithm, combining the real-time monitoring data and the output of the fuzzy controller. The fitness function is defined, the population is initialized, and the selection, crossover and mutation operations are performed until a set of Pareto optimal solutions are found.
[0119] From the Pareto optimal solution set, the most appropriate solution is selected according to the actual operation needs and strategies, and then the water inlet system of the constructed wetland is adjusted to operate according to the selected water inlet volume and water quality.
[0120] Continuously monitor the water quality treatment effect and system operation status of the constructed wetland. Adjust the parameters and rules in the fuzzy logic controller and multi-objective optimization algorithm based on the feedback data to adapt to environmental changes and the evolution of system performance.
[0121] Application examples:
[0122] The challenge of the artificial wetland system is to handle a large amount of rainfall flow during the rainy season while maintaining efficient removal of pollutants. The system monitors high water flow and changing water quality in real time. The fuzzy logic controller evaluates the need to reduce the inflow according to the set rules to avoid overload. At the same time, the multi-objective optimization algorithm considers resource utilization efficiency and processing capacity, and proposes a set of strategies for adjusting the inflow and water quality. Finally, an optimal strategy is selected based on system performance and environmental requirements to achieve effective water quality management during the rainy season.
[0123] The output results of the multi-objective optimization algorithm include:
[0124] Treatment efficiency: Evaluate the efficiency of constructed wetlands in removing specific pollutants, including pollutant removal rate and treatment time;
[0125] System stability: The stability of the constructed wetland's response to fluctuations in water quality and environmental conditions, including response time and recovery time to input changes;
[0126] Resource efficiency: Calculate the efficiency of resource utilization (such as electricity, chemicals, and water) during the treatment process, including the resource consumption required per unit of pollutant removed;
[0127] Environmental adaptability: Evaluate the adaptability and performance changes of constructed wetlands under different environmental conditions (such as temperature and rainfall);
[0128] Based on the output results of the multi-objective optimization algorithm, the opening degree and water inlet time of the water inlet valve are automatically adjusted, including:
[0129] Dynamic water inlet adjustment:
[0130] If the treatment efficiency is lower than expected and the resource consumption is high, the water inflow needs to be reduced to reduce the load on the constructed wetland and improve the efficiency of single treatment. When the resource utilization efficiency is high and the environmental conditions are stable, the water inflow should be increased to improve the overall treatment capacity.
[0131] Influent quality management:
[0132] For influent with high pollutant concentration, the quality of influent is adjusted through pretreatment or dilution to ensure effective removal of pollutants in the constructed wetland. When the pollutant concentration is low, the water is directly introduced to save resources.
[0133] Adaptation to environmental conditions:
[0134] Under low temperature or heavy rainfall conditions, adjust the water inflow strategy, including extending the water inflow time or reducing the water inflow volume, to cope with the impact of environmental changes on treatment efficiency;
[0135] Under favorable conditions of increased sunshine hours, increase water intake and use natural resources to improve treatment efficiency;
[0136] Valve control optimization: Based on the results of system stability analysis, optimize the valve opening degree and adjustment speed to achieve precise flow control.
[0137] Through the implementation of these adjustment strategies, the constructed wetland system can meet the water quality treatment requirements, maximize the treatment capacity and resource utilization efficiency, and maintain the stability and environmental adaptability of the system. This multi-objective optimization algorithm based on the adaptive multi-parameter feedback control strategy provides a highly flexible and effective solution for the operation and management of constructed wetlands.
[0138] It also includes regular analysis of artificial wetland operation data and environmental monitoring data, and updating of adaptive control strategies and integrated algorithms to adapt to long-term environmental changes and ecological succession of artificial wetlands, as follows:
[0139] Regularly collect operational data from the constructed wetland system's sensor network, including inlet and outlet water quality parameters (such as COD, BOD, nitrogen, and phosphorus content), as well as related environmental monitoring data (such as temperature, rainfall, and sunshine duration). Use data integration technology to aggregate this data into a central database, and use statistical analysis and data mining to conduct in-depth analysis of the collected data to identify operational trends, patterns, and potential problems. The analysis includes, but is not limited to, changes in treatment efficiency, the impact of environmental factors on system performance, and the relationship between operating parameters and treatment effects.
[0140] Based on the results of the performance analysis, the mathematical model describing the relationship between the constructed wetland water quality treatment performance and the input parameters is updated, which involves adjusting the model parameters, introducing new variables, or changing the model structure to more accurately reflect the actual operation.
[0141] Based on the updated model, the adaptive control strategy is redesigned and adjusted, including modifying the existing control rules, introducing new control logic, or adjusting the control parameters to improve the adaptability and responsiveness of the system.
[0142] According to the latest operating data and performance analysis, the comprehensive algorithm is optimized, including adjusting the weight factors in the multi-objective optimization algorithm, improving the membership function or rules of the fuzzy logic controller, and updating the parameter settings of the genetic algorithm or particle swarm optimization algorithm. The updated control strategy and algorithm are implemented into the automatic control system of the artificial wetland, and its effect continues to be monitored. Real-time feedback and continuous performance monitoring are used to ensure that the system can effectively adapt to future changes.
[0143] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.
[0144] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A control optimization method for an automatic water inlet system of an artificial wetland, characterized in that: The following steps are involved: S1: Water quality parameter detection, testing water quality parameters at the inlet and outlet of the artificial wetland; S2: Environmental factor monitoring, real-time monitoring of environmental factors related to constructed wetland performance, including temperature, rainfall, and sunshine duration; S3: Adaptive multi-parameter feedback control, combining the monitoring data of water quality parameters and environmental factors, adopts adaptive control strategy to dynamically adjust the inflow and quality of water. The adaptive control strategy is not only based on the changes in water quality parameters, but also considers the impact of environmental factors on the performance of artificial wetlands. Through comprehensive algorithms, the water inflow strategy is optimized to achieve rapid adaptation to complex environmental changes and maximize the use of artificial wetland treatment capacity; S4: Real-time adjustment of water inflow and water quality. Based on the adaptive multi-parameter feedback control strategy, the opening degree of the water inlet valve and the water inlet time are automatically adjusted to optimize the treatment efficiency and stability of the constructed wetland, ensuring that the best water quality treatment performance can be maintained under different environmental conditions; The water quality parameter detection in S1 includes installing water quality monitoring sensors for detecting COD, BOD, nitrogen and phosphorus content at the entrance and exit of the artificial wetland, respectively, and the water quality monitoring sensors collect water quality parameter data in real time; The environmental factor monitoring in S2 includes deploying an environmental monitoring station; Deploy integrated environmental monitoring stations at key locations of artificial wetlands. The environmental monitoring stations are equipped with environmental monitoring sensors for measuring temperature, rainfall, and sunshine duration. The environmental monitoring sensors continuously collect data on temperature, rainfall, and sunshine duration. The adaptive control strategy in S3 specifically includes: S31, data fusion processing: fuse the data from water quality and environmental monitoring sensors, using data preprocessing techniques, including denoising, normalization, and time series analysis, to ensure data quality and consistency; S32, a control algorithm based on fuzzy logic, combines real-time monitoring data of water quality parameters and environmental factors to analyze the nonlinear response of the constructed wetland to various input variables, as well as the uncertainty and dynamic changes of environmental conditions; S33, multi-parameter optimization decision: through the comprehensive algorithm of multi-objective optimization algorithm, the adjustment of influent volume and quality is considered at the same time to ensure that the treatment capacity and resource utilization efficiency of the constructed wetland are maximized while meeting the water quality treatment requirements; The control algorithm based on fuzzy logic in S32 specifically includes: Determine input and output variables: Input variables are selected as water quality parameters and environmental factors; output variables are defined as influent volume and influent quality adjustment; Divide fuzzy sets and define membership functions: For each input and output variable, divide the fuzzy sets and define membership functions for each fuzzy set. The membership function is used to describe the degree to which a specific input value belongs to a fuzzy set. The membership function is in the form of a triangle. Establish fuzzy rules: Based on expert knowledge and practical experience, establish a set of fuzzy rules to describe the relationship between input variables and output variables; Fuzzy reasoning: Fuzzy rules are evaluated using fuzzy logic reasoning mechanism. The actual values of input variables are fuzzified by membership functions, and then fuzzy reasoning is performed based on fuzzy rules to obtain the output fuzzy set of each rule. Defuzzification: Convert the result of fuzzy reasoning into a specific output value. The defuzzification method is based on the centroid method. The calculation formula of the centroid method is: ; The multi-objective optimization algorithm considers several conflicting objectives at the same time and finds the best trade-off solution between the objectives, namely the Pareto optimal solution set, which specifically includes: Define the optimization goal: : Minimize the total concentration of pollutants that do not meet the standards to ensure that water quality treatment requirements are met; : Maximize the treatment efficiency of the constructed wetland, that is, the ratio of the amount of water treated per unit time to the amount of pollutants removed; : Maximize resource utilization efficiency, including the ratio of energy consumption, chemical usage and treatment effect; Establish constraints: Constraints include the physical capacity of the constructed wetland, the maximum load of the inlet system, and environmental restrictions; Genetic algorithms are used to solve multi-objective optimization problems. The goal is to find a set of solutions that can satisfy all constraints. , and To achieve the best trade-off between the two, the genetic algorithm calculation process is as follows: Initialize the population: randomly generate a set of initial solutions, each solution represents a combination of water inflow and water quality; Fitness function: Define a fitness function to evaluate the performance of each solution for each optimization objective. Fitness ,in, , and is a weight factor used to balance the importance of different objectives, Selection, crossover, and mutation: Select solutions for reproduction based on fitness, and generate new solutions through crossover and mutation operations; Pareto front: select a set of solutions from the population that is optimal when no solution outperforms the others on all objectives simultaneously; Iterate until convergence: Repeat selection, crossover, mutation, and Pareto front updating until a stopping condition is met, including reaching a maximum number of iterations or the improvement of the solution is less than a preset threshold; The output results of the multi-objective optimization algorithm include: Treatment efficiency: Evaluate the efficiency of constructed wetlands in removing specific pollutants, including pollutant removal rate and treatment time; System stability: The stability of the constructed wetland's response to fluctuations in water quality and environmental conditions, including response time and recovery time to input changes; Resource efficiency: Calculate the efficiency of resource utilization during the treatment process, including the resource consumption required per unit of pollutant removed; Environmental adaptability: Evaluate the adaptability and performance changes of artificial wetlands under different environmental conditions; Based on the output result of the multi-objective optimization algorithm, the automatic adjustment of the opening degree and water inlet time of the water inlet valve specifically includes: Dynamic water inlet adjustment: If the treatment efficiency is lower than expected and the resource consumption is high, the water inflow needs to be reduced to reduce the load on the constructed wetland and improve the efficiency of single treatment. When the resource utilization efficiency is high and the environmental conditions are stable, the water inflow should be increased to improve the overall treatment capacity. Influent quality management: For influent with high pollutant concentration, the quality of influent is adjusted through pretreatment or dilution to ensure effective removal of pollutants in the constructed wetland. When the pollutant concentration is low, the water is directly introduced to save resources. Adaptation to environmental conditions: Under low temperature or heavy rainfall conditions, adjust the water inflow strategy, including extending the water inflow time or reducing the water inflow volume, to cope with the impact of environmental changes on treatment efficiency; Under favorable conditions of increased sunshine hours, increase water intake and use natural resources to improve treatment efficiency; Valve control optimization: Based on the results of system stability analysis, optimize the valve opening degree and adjustment speed to achieve precise flow control.
2. The control optimization method of an artificial wetland automatic water inlet system according to claim 1 is characterized in that: Denoising in S31 involves removing noise from the signal to improve the quality of the data, using a moving average filter: ,in, It's time point The filtered output, It's time point The original observation value of is the width of the filter. The moving average filter is The data of each time point are averaged to reduce the impact of random fluctuations; The normalization in S31 includes scaling the data so that it falls within , in order to eliminate the impact of dimension and make different indicators comparable, the minimum-maximum normalization is expressed as: ,in, is the normalized value, is the original value, and are the minimum and maximum values in the data set, respectively. In this way, all data are converted to the range of 0 to 1.
3. The control optimization method of an artificial wetland automatic water inlet system according to claim 1 is characterized in that: It also includes regular analysis of artificial wetland operation data and environmental monitoring data, and updating of adaptive control strategies and integrated algorithms to adapt to long-term environmental changes and ecological succession of artificial wetlands.
