A water circulation treatment system for a garden lake

Monitoring and predicting water quality parameters in the water circulation system through the Internet of Things and machine learning technology solves the inability of traditional systems to effectively handle water quality problems and achieves more efficient water environment management and water quality control.

CN118420189BActive Publication Date: 2024-10-01ARCHITECTURAL DESIGN RES INST OF GUANGDONG PROVINCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410895710.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-01
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

The traditional water circulation system fails to effectively analyze and apply water quality monitoring data, resulting in the inability to predict dissolved oxygen levels and algae density in a timely manner, reducing the efficiency of water environment treatment.

Method used

Use Internet of Things technology to deploy multi-parameter water quality monitoring sensors, transmit data to a central processing platform through wireless networks, combine machine learning algorithms to predict dissolved oxygen levels and algae density, adjust water circulation flow rates through water pumps and filtration devices, and set up early warning systems and data storage modules .

Benefits of technology

Real-time monitoring and prediction of water quality is achieved, oxygenation, pH adjustment and algae suppression strategies are implemented in a timely manner, which improves the efficiency of water environment treatment and the intelligence and automation of water quality management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118420189B_ABST
    Figure CN118420189B_ABST
Patent Text Reader

Abstract

The present invention discloses a water circulation treatment system for a garden inner lake, which relates to the field of water circulation treatment technology, including a water quality monitoring module, which utilizes the Internet of Things technology to deploy multi-parameter water quality monitoring sensors to collect data, and transmits the data to a central processing platform through a wireless network; a data processing and machine learning module, which is based on a machine learning algorithm, predicts the dissolved oxygen level and implements an oxygenation strategy based on the monitored water temperature and dissolved oxygen data, monitors pH data to analyze the adjustment requirements of the inner lake pH and implements the adjustment strategy, and predicts the algae density based on the machine learning model according to the changes in water quality parameters, and inhibits the growth of algae. The method of the present invention facilitates providing data support for the water circulation system by monitoring various water quality data, and can timely increase the dissolved oxygen level for the inner lake aquatic organisms by predicting the dissolved oxygen level and implementing the oxygenation strategy, and maintains a water quality acid-base environment suitable for the survival of aquatic organisms by analyzing the adjustment requirements of the inner lake pH and implementing the adjustment strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of water circulation treatment, in particular to a water circulation treatment system for a garden inner lake. Background Art

[0002] As a common landscape design element, the inner lake of a garden not only adds to the beauty of the scenic area, but also provides a place for tourists to rest. However, in the long-term use process, the water that has not flowed for a long time is prone to accumulate pollutants. The bottom of the lake will gradually accumulate silt and organic matter, leading to eutrophication of the water body. Due to the decomposition of organic matter, especially in hot weather, the lake water may produce odor, affecting the tourist experience;

[0003] Therefore, a common practice is to set up a water circulation system, through equipment such as pumps and pipes, to keep the lake water flowing, increase the oxygen exchange in the water body, and perform water purification operations on the inner lake environment, including dredging and removing impurities, reducing the odor that may be produced by the lake water and the accumulated silt and organic matter. However, although some monitoring data are collected in the traditional water circulation system, they have not been effectively analyzed and applied to water quality management. It is inconvenient to timely predict the dissolved oxygen level and algae density in the water based on the water quality monitoring data and implement corresponding treatment strategies, which reduces the treatment efficiency of the water circulation system and monitoring equipment in maintaining the water environment of the inner lake. Summary of the invention

[0004] In view of the problems existing in the water circulation treatment system of the existing garden lake, the present invention is proposed.

[0005] Therefore, the problem to be solved by the present invention is that although some monitoring data are collected in the traditional water circulation system, they are not effectively analyzed and applied to water quality management. It is inconvenient to timely predict the dissolved oxygen level and algae density in the water according to the water quality monitoring data and implement corresponding treatment strategies, which reduces the treatment efficiency of the water circulation system and monitoring equipment in maintaining the water environment of the inner lake.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a water circulation treatment system for a garden inner lake, which includes a water quality monitoring module, which utilizes the Internet of Things technology to deploy multi-parameter water quality monitoring sensors to collect data and transmits the data to a central processing platform via a wireless network;

[0007] The data processing and machine learning module, based on the machine learning algorithm, predicts the dissolved oxygen level according to the monitored water temperature and dissolved oxygen data and implements the oxygenation strategy, monitors the pH data to analyze the adjustment needs of the inner lake pH and implements the adjustment strategy, and predicts the algae density based on the machine learning model according to the changes in water quality parameters to inhibit the growth of algae;

[0008] The water circulation adjustment module provides a water circulation system for the inner lake of the garden through pipes, filtration devices and water pumps, and adjusts the circulation flow rate of the inner lake water in combination with the predicted dissolved oxygen level, pH adjustment needs and the treatment strategy of predicted algae density;

[0009] Early warning module, which sets up an alarm system based on IoT technology for early warning;

[0010] The data storage module generates and stores reports based on the collected data.

[0011] As a preferred solution for the water circulation treatment system of the garden lake described in the present invention, the use of Internet of Things technology to deploy multi-parameter water quality monitoring sensors to collect data and transmit it to the central processing platform through a wireless network refers to deploying multi-parameter water quality monitoring sensors to collect water quality data, pre-processing and cleaning the water quality data, and using a low-power wide area network LoRa to send the water quality data collected by the sensor to the central processing platform through a wireless network.

[0012] As a preferred solution of the water circulation treatment system of the inner lake of the garden of the present invention, the method based on the machine learning algorithm, predicting the dissolved oxygen level according to the monitored water temperature and dissolved oxygen data and executing the oxygenation strategy includes:

[0013] Based on the water temperature and dissolved oxygen data collected by the sensor, an autoregressive distributed lag model is constructed, which is expressed as:

[0014]

[0015] in represents the predicted dissolved oxygen level at time t, represents the water temperature at time t, It's in time The measured dissolved oxygen level, n is the length of the historical data, The coefficient indicating no influence of water temperature and historical dissolved oxygen, represents the coefficient of influence of water temperature on dissolved oxygen level, The coefficient that expresses the influence of the dissolved oxygen level at the i-th time point on the current prediction;

[0016] Collect historical water temperature data and dissolved oxygen detection data to construct the design matrix X and target vector y;

[0017]

[0018] Where m represents the total number of observation time points;

[0019] The target vector y includes the dissolved oxygen level at each time point in the historical data set and is arranged in time to form a vector;

[0020] Use the least squares method to substitute the design matrix X and the target vector y to calculate the model coefficients, expressed as:

[0021]

[0022] in represents the transpose of X, represents the coefficient vector, yes The first element of yes The second element of yes No.2 elements;

[0023] The collected water temperature and dissolved oxygen data are used to predict the dissolved oxygen level of the inner lake water, and the dissolved oxygen threshold is set according to the types of aquatic organisms in the lake and the dissolved oxygen level required for survival. When the predicted dissolved oxygen level is less than a threshold, the aeration device is turned on; when the predicted dissolved oxygen level is equal to or higher than the threshold, the aeration device is turned off.

[0024] As a preferred solution of the water circulation treatment system of the inner lake of the garden of the present invention, wherein: the monitoring of pH data to analyze the adjustment requirements of the inner lake pH and the implementation of the adjustment strategy include:

[0025] The pH value collected in real time and the target pH value are set, and the adjustment demand value of the pH of the inner lake is obtained by subtracting the pH value collected in real time from the target pH value. ;

[0026] Based on history The average and mean square error , set the acid-base threshold to ;

[0027] like If the value of is outside the acid-base threshold range and is a positive number, add alkaline substances. If the value of is outside the acid-base threshold range and is negative, then add acidic substances. If the value is within the pH threshold range, no chemical is added.

[0028] As a preferred solution of the water circulation treatment system of the inner lake of the garden of the present invention, wherein: the method of predicting the algae density based on the machine learning model according to the change of water quality parameters and inhibiting the growth of algae includes:

[0029] A regression model was constructed to predict the dynamics of algae growth, expressed as:

[0030]

[0031]

[0032] in represents the nitrogen concentration at time s, K represents the total time period, represents the phosphorus concentration at time s, is the scaling factor to adjust the algae density, represents the nonlinear effect of temperature on algae growth, represents the water temperature at time t, represents the light intensity at time t, and Respectively represent the effects of adjusting nitrogen and phosphorus concentrations on algae growth, represents the predicted algae density at time t;

[0033] Set the minimization objective function, expressed as:

[0034]

[0035] in Indicates at time The observed algae density, R represents the total number of data points, represents the predicted value of the model;

[0036] Collection time point Nitrogen concentration , phosphorus concentration ,temperature and light intensity , and the algae density observations at the same time , based on practical experience and theoretical value setting Initial value;

[0037] Using gradient descent as the optimization algorithm, calculate the objective function The gradient of the parameters is updated and each parameter is updated, and the calculation is repeated until the objective function When the drop is less than the set target threshold, convergence is completed and determination is made ;

[0038] The nitrogen concentration at the collection time t , phosphorus concentration ,temperature and light intensity , substitute into the model to calculate , based on environmental agencies and water quality management practices, algae thresholds are set at cells / mL, in When it is greater than or equal to the algae threshold, algae inhibitors are added for treatment.

[0039] As a preferred solution of the water circulation treatment system for the inner lake of the garden of the present invention, wherein: the water circulation system is provided for the inner lake of the garden through the pipeline, the filtering device and the water pump, and the adjustment flow rate of the inner lake water circulation is adjusted in combination with the treatment strategy of predicting the dissolved oxygen level, the adjustment demand of pH and the predicted algae density, including:

[0040] According to the size of the lake in the garden and the expected water flow demand, select an intelligent variable frequency water pump with appropriate power;

[0041] The filtration device of the water circulation system includes a primary coarse particle filter, a secondary activated carbon filter and a final biological filter;

[0042] Obtain data on predicted dissolved oxygen levels, pH adjustment needs, and predicted algae density;

[0043] Set the machine learning model to predict the flow rate adjustment parameters, expressed as:

[0044]

[0045] in represents the adjusted flow rate, Indicates the start time of the processing strategy. All are coefficients;

[0046] Based on practical experience and theoretical value setting The initial value of , and calculate the partial derivative of the sum of squared errors for each parameter, expressed as:

[0047]

[0048]

[0049] in represents the sum of squared errors, h represents the number of data points, Indicates at time The actual flow rate measurement value, Represents the model at time The predicted flow rate, represents the jth coefficient;

[0050] Use the gradient descent method to update each parameter, and repeat the calculation until the reduction in SSE is lower than the set target threshold and then stop the iteration;

[0051] Collect real-time dissolved oxygen levels , pH adjustment requirements and predict algae density Substituting into the model we get ,use Subtract the real-time flow rate of the inner lake to get the flow rate adjustment ,like If the value is positive, the pump speed will be increased to increase the flow rate. If it is a negative value, the pump speed will be reduced to reduce the flow rate. If it is zero, the current pump running state will be maintained.

[0052] As a preferred solution of the water circulation treatment system of the inner lake of the garden of the present invention, wherein: the alarm system based on the Internet of Things technology includes:

[0053] Setting up an alarm system based on IoT technology, combined with the predicted value of the predicted dissolved oxygen level, to sound an alarm when it exceeds the dissolved oxygen threshold;

[0054] Combination When the value is outside the acid-base threshold range, an alarm is issued;

[0055] Combination When the algae level is greater than or equal to the algae threshold, an alarm will be issued to remind staff to maintain water quality in time.

[0056] As a preferred solution of the water circulation treatment system for the inner lake of the garden of the present invention, the generating and storing of the report based on the collected data includes:

[0057] Based on the water quality data received by the central processing platform, the predicted dissolved oxygen level, pH adjustment needs and predicted algae density data are encrypted using the encryption protocol TLS / SSL and uploaded to the cloud server synchronously;

[0058] Based on the data transmitted to the cloud server, water quality data, predicted dissolved oxygen levels, pH adjustment requirements, and predicted algae density data are filled into the corresponding parts of the template to generate a corresponding report.

[0059] A computer device comprises: a memory and a processor; the memory stores a computer program, and the processor implements the steps of the water circulation treatment system of the garden lake when executing the computer program.

[0060] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the water circulation treatment system of the garden lake.

[0061] The beneficial effects of the present invention are as follows: by monitoring various water quality data, it is convenient to provide data support for the water circulation system; by predicting the dissolved oxygen level and implementing the oxygenation strategy, the dissolved oxygen level for the aquatic organisms in the inner lake can be increased in time; by analyzing the adjustment requirements of the pH of the inner lake and implementing the adjustment strategy, the water quality acid-base environment suitable for the survival of aquatic organisms is maintained; by predicting the algae density, the algae growth is inhibited, and the algae growth in the inner lake is inhibited in time; by predicting the adjustment requirements of the dissolved oxygen level and pH and the treatment strategy for predicting the algae density, the water circulation system and the inner lake water quality treatment strategy are coordinated with each other, the inner lake flow rate is adjusted according to the treatment strategy, and various treatment strategies can be implemented quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0063] Figure 1 This is a schematic diagram of the structure of the water circulation treatment system in the garden lake.

[0064] Figure 2 This is a flow chart of the water circulation treatment system in the garden lake. DETAILED DESCRIPTION

[0065] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings.

[0066] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0067] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.

[0068] Example 1

[0069] Reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, and which provides a water circulation treatment system for a garden lake, the water circulation treatment system for a garden lake comprises:

[0070] S1, water quality monitoring module, uses IoT technology to deploy multi-parameter water quality monitoring sensors to collect data and transmit it to the central processing platform through wireless networks;

[0071] Preferably, using Internet of Things technology, deploying multi-parameter water quality monitoring sensors to collect data, and transmitting it to the central processing platform through a wireless network means deploying multi-parameter water quality monitoring sensors to collect water quality data, pre-processing and cleaning the water quality data, and using a low-power wide area network LoRa to send the water quality data collected by the sensor to the central processing platform through a wireless network.

[0072] By using the water quality monitoring module, multiple water quality indicators can be monitored simultaneously. Not only can the data of each individual indicator be obtained, but also the interrelationships and combined impacts between the indicators can be understood, providing more comprehensive data support for water quality analysis. The real-time data transmission mechanism achieved through the Internet of Things technology enables data to be transmitted to the processing center with almost no delay, which is crucial for rapid response to sudden water quality problems. Real-time and accurate data collection provides a solid foundation for evidence-based decision-making. The system can formulate or adjust management strategies based on current and historical data. The long-term data collected can be used for trend analysis to help managers understand changes in lake ecosystems over time, thereby formulating more effective protection and management measures.

[0073] S2, data processing and machine learning module, based on machine learning algorithms, predicts dissolved oxygen levels based on monitored water temperature and dissolved oxygen data and implements oxygenation strategies, monitors pH data to analyze the need for adjustment of the pH of the inner lake and implements adjustment strategies, predicts algae density based on machine learning models according to changes in water quality parameters, and inhibits algae growth;

[0074] Preferably, based on a machine learning algorithm, predicting the dissolved oxygen level based on the monitored water temperature and dissolved oxygen data and executing an oxygenation strategy includes:

[0075] Based on the water temperature and dissolved oxygen data collected by the sensor, an autoregressive distributed lag model is constructed, which is expressed as:

[0076]

[0077] in represents the predicted dissolved oxygen level at time t, represents the water temperature at time t, It's in time The measured dissolved oxygen level, n is the length of the historical data, The coefficient indicating no influence of water temperature and historical dissolved oxygen, represents the coefficient of influence of water temperature on dissolved oxygen level, The coefficient that expresses the influence of the dissolved oxygen level at the i-th time point on the current prediction;

[0078] Collect historical water temperature data and dissolved oxygen detection data to construct the design matrix X and target vector y;

[0079]

[0080] Where m represents the total number of observation time points;

[0081] The design matrix X consists of a first column of constant terms, where all entries are 1, corresponding to the intercept in the model. , the water temperature at time t in the second column, the corresponding coefficient , the third to the last column is the dissolved oxygen level at n past time points , the corresponding coefficient The target vector y includes the dissolved oxygen level at each time point in the historical data set and is arranged in time to form a vector;

[0082] Use the least squares method to substitute the design matrix X and the target vector y to calculate the model coefficients, expressed as:

[0083]

[0084] in represents the transpose of X, obtained by swapping the rows and columns of X, and The multiplication of provides the covariance information of each explanatory variable with itself and other variables, which is the basis of coefficient estimation. Multiplication reflects the strength of the relationship between the explanatory variable and the target variable and is directly used to solve the coefficient vector , represents the coefficient vector, yes The first element of yes The second element of yes No.2 elements;

[0085] The collected water temperature and dissolved oxygen data are used to predict the dissolved oxygen level of the inner lake water, and the dissolved oxygen threshold is set according to the types of aquatic organisms in the lake and the dissolved oxygen level required for survival. When the predicted dissolved oxygen level is less than a threshold, the aeration device is turned on; when the predicted dissolved oxygen level is equal to or higher than the threshold, the aeration device is turned off.

[0086] Machine learning models can quickly analyze large amounts of data and make accurate predictions, making oxygenation operations more timely and precise, reducing the possibility of human misjudgment, and dynamically adjusting the amount of oxygenation as needed to avoid excessive or insufficient oxygenation, thereby saving energy and reducing operating costs. By precisely controlling dissolved oxygen, the stability of aquatic ecosystems can be effectively promoted, and fish suffocation caused by lack of oxygen can be avoided. Strategies can be automatically adjusted based on real-time data, making the entire lake management more intelligent and automated, reducing dependence on manpower, and improving management efficiency. Maintaining dissolved oxygen at an appropriate level helps prevent hypoxia in bottom water bodies and reduces the release of harmful gases in sediments, thereby maintaining water quality and ecological balance, which is beneficial to the long-term growth of aquatic organisms.

[0087] Further, monitoring pH data to analyze the need for adjustment of the pH of the inner lake and implementing adjustment strategies include:

[0088] The pH value collected in real time and the target pH value are set, and the pH value required by aquatic organisms living in the lake is set. The adjustment requirement value of the pH of the inner lake is obtained by subtracting the real-time collected pH value from the set target pH value. ;

[0089] Based on history The average and mean square error , set the acid-base threshold to , use three times the standard deviation to set the error range, that is, the mean ± three times the standard deviation according to the statistical 68-95-99.7 (empirical) rule;

[0090] like If the value of is outside the acid-base threshold range and is positive, add alkaline substances, such as sodium carbonate (Na2CO3). If the value of is outside the acid-base threshold range and is negative, then add acidic substances such as citric acid. If the value is within the pH threshold range, no chemical is added.

[0091] By adjusting the pH value, the biological habitat of the lake can be optimized and biodiversity can be promoted. Appropriate pH value is the basis for the coexistence of various aquatic organisms. Some harmful algae are more likely to reproduce under extreme pH values. By controlling the pH value within a stable range, the growth of these algae can be effectively inhibited to prevent the occurrence of algal blooms. Appropriate pH value helps to reduce the solubility and toxicity of heavy metals, ensure water quality safety, and is beneficial to the health of water quality. Dynamic adjustment of pH value can improve the adaptability of lakes to external changes and maintain the stability of the ecosystem.

[0092] Furthermore, the algae density is predicted based on the machine learning model according to the changes in water quality parameters, and the growth of algae is inhibited, including:

[0093] A regression model was constructed to predict the dynamics of algae growth, expressed as:

[0094]

[0095]

[0096] in represents the nitrogen concentration at time s, K represents the total time period, represents the phosphorus concentration at time s, is the scaling factor to adjust the algae density, represents the nonlinear effect of temperature on algae growth, represents the water temperature at time t, represents the light intensity at time t, and Respectively represent the effects of adjusting nitrogen and phosphorus concentrations on algae growth, It represents the predicted algae density at time t. Nitrogen usually exists in the form of nitrate and ammonium salts, which are essential elements for algae and bacteria to synthesize proteins and nucleic acids. Phosphorus mainly exists in the form of phosphate, which is essential for energy transfer and the construction of cell membranes. When the concentrations of nitrogen and phosphorus are high, especially under suitable light and temperature conditions, it usually leads to rapid growth of algae, including common blue-green algae, diatoms and green algae, and algal blooms may occur. Therefore, continuous monitoring of the levels of these nutrients can help predict the possibility of algal blooms.

[0097] Set the minimization objective function, expressed as:

[0098]

[0099] in Indicates at time The observed algae density is measured by collecting water samples and counting directly under a microscope. R represents the total number of data points. represents the predicted value of the model;

[0100] Collection time point Nitrogen concentration , phosphorus concentration ,temperature and light intensity , and the algae density observations at the same time , based on practical experience and theoretical value setting Initial value;

[0101] Using gradient descent as the optimization algorithm, calculate the objective function The gradient of the parameters is updated and each parameter is updated, and the calculation is repeated until the objective function When the drop is less than the set target threshold, convergence is completed and determination is made ;

[0102] The nitrogen concentration at the collection time t , phosphorus concentration ,temperature and light intensity , substitute into the model to calculate , based on environmental agencies and water quality management practices, algae thresholds are set at cells / mL, in When it is greater than or equal to the algae threshold, algae inhibitors are added for treatment.

[0103] By controlling the density of algae, we can maintain good water quality and protect the living environment of aquatic organisms. Timely prediction and control of algae density can prevent the formation of algal blooms, which is essential for maintaining the beauty and ecological balance of lakes. Reducing algae growth through prediction and natural inhibition methods can reduce the use of chemicals, reduce environmental pollution and governance costs. Machine learning models can achieve accurate predictions, make water quality management more efficient and scientific, and reduce uncertainty and errors in human judgment.

[0104] S3, water circulation adjustment module, provides a water circulation system for the inner lake of the garden through pipes, filtration devices and water pumps, and adjusts the circulation flow rate of the inner lake water in combination with the predicted dissolved oxygen level, pH adjustment needs and the treatment strategy of predicted algae density;

[0105] Preferably, a water circulation system is provided for the inner lake of the garden through pipes, filtration devices and water pumps, and the adjustment of the inner lake water circulation flow rate is adjusted by combining the treatment strategy of predicting the dissolved oxygen level, pH adjustment needs and predicted algae density, including:

[0106] According to the size of the lake in the garden and the expected water flow demand, select an intelligent variable frequency water pump with appropriate power;

[0107] The filtration device of the water circulation system includes a primary coarse particle filter, a secondary activated carbon filter and a final biological filter;

[0108] Obtain data on predicted dissolved oxygen levels, pH adjustment needs, and predicted algae density;

[0109] Set the machine learning model to predict the flow rate adjustment parameters, expressed as:

[0110]

[0111] in represents the adjusted flow rate, Indicates the start time of the processing strategy. All are coefficients;

[0112] Based on practical experience and theoretical value setting The initial value of , and calculate the partial derivative of the sum of squared errors for each parameter, expressed as:

[0113]

[0114]

[0115] in represents the sum of squared errors, h represents the number of data points, Indicates at time The actual flow rate measurement value, Represents the model at time The predicted flow rate, represents the jth coefficient;

[0116] Use the gradient descent method to update each parameter, and repeat the calculation until the reduction in SSE is lower than the set target threshold and then stop the iteration;

[0117] Collect real-time dissolved oxygen levels , pH adjustment requirements and predict algae density Substituting into the model we get ,use Subtract the real-time flow rate of the inner lake to get the flow rate adjustment ,like If the value is positive, the pump speed will be increased to increase the flow rate. If it is a negative value, the pump speed will be reduced to reduce the flow rate. If it is zero, the current pump running state will be maintained.

[0118] By adjusting the water flow rate, the dilution and dispersion of pollutants in the water body can be promoted, the self-purification ability of the water body can be improved, and the accumulation of harmful substances in the water body can be reduced. Appropriate water flow can promote the growth and reproduction of aquatic organisms, enhance the overall stability of the ecosystem and its ability to resist external interference. Adjusting the water circulation flow rate can ensure the uniform distribution of water quality in the entire lake, avoid the deterioration of water quality in local areas, and maintain the consistency of overall water quality. Through intelligent control of water circulation, the operating status can be adjusted according to actual needs, energy use can be optimized, and operating costs can be reduced. In addition, combined with the predicted dissolved oxygen level, pH adjustment needs and predicted algae density treatment strategies, they are coordinated according to the operation of the oxygenation equipment, the release of chemicals required for pH adjustment and the release of algae inhibitors, so that the dissolved oxygen distribution of the oxygenation equipment, the chemicals required for pH adjustment and the algae inhibitors in the inner lake are more uniform, which speeds up the efficiency of the implementation of the treatment strategy.

[0119] S4, early warning module, sets up an alarm system based on IoT technology for early warning;

[0120] Preferably, setting up an alarm system based on Internet of Things technology includes:

[0121] Setting up an alarm system based on IoT technology, combined with the predicted value of the predicted dissolved oxygen level, to sound an alarm when it exceeds the dissolved oxygen threshold;

[0122] Combination When the value is outside the acid-base threshold range, an alarm is issued;

[0123] Combination When the algae level is greater than or equal to the algae threshold, an alarm will be issued to remind staff to maintain water quality in time.

[0124] The timely response of the early warning module allows managers to take measures before the problem worsens. Timely warnings can effectively prevent environmental crises and threats to public health that may be caused by water quality deterioration, such as preventing water pollution caused by toxic algal blooms. The early warning module can help decision makers optimize resource allocation, such as sending additional personnel or materials when necessary, to ensure the timeliness and effectiveness of response measures.

[0125] S5, data storage module, generates reports based on collected data and stores them;

[0126] Preferably, generating and storing a report based on the collected data includes,

[0127] Based on the water quality data received by the central processing platform, the predicted dissolved oxygen level, pH adjustment needs and predicted algae density data are encrypted using the encryption protocol TLS / SSL and uploaded to the cloud server synchronously;

[0128] Based on the data transmitted to the cloud server, water quality data, predicted dissolved oxygen levels, pH adjustment requirements, and predicted algae density data are filled into the corresponding parts of the template to generate a corresponding report.

[0129] Advanced data storage solutions ensure that data will not be lost even in the event of equipment failure or other technical problems, thereby ensuring data integrity and reliability. Storing large amounts of historical data enables complex data analysis and pattern recognition, which is essential for understanding long-term changes in lake ecosystems. Based on comprehensive historical data, managers can make more scientific decisions, such as adjusting lake management strategies and improving environmental protection measures. Ensuring that all monitoring data is properly stored and recorded helps meet the reporting and auditing requirements of environmental regulators.

[0130] Example 2

[0131] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.

[0132] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.

[0133] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.

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

[0135] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A water circulation treatment system for a garden lake, characterized by: include, The water quality monitoring module uses the Internet of Things technology to deploy multi-parameter water quality monitoring sensors to collect data and transmit it to the central processing platform through a wireless network; The data processing and machine learning module, based on the machine learning algorithm, predicts the dissolved oxygen level according to the monitored water temperature and dissolved oxygen data and implements the oxygenation strategy, monitors the pH data to analyze the adjustment needs of the inner lake pH and implements the adjustment strategy, and predicts the algae density based on the machine learning model according to the changes in water quality parameters to inhibit the growth of algae; The water circulation adjustment module provides a water circulation system for the inner lake of the garden through pipes, filtration devices and water pumps, and adjusts the circulation flow rate of the inner lake water in combination with the predicted dissolved oxygen level, pH adjustment needs and the treatment strategy of predicted algae density; Early warning module, which sets up an alarm system based on IoT technology for early warning; Data storage module, which generates reports based on collected data and stores them; The use of Internet of Things technology to deploy multi-parameter water quality monitoring sensors to collect data and transmit it to the central processing platform through a wireless network refers to deploying multi-parameter water quality monitoring sensors to collect water quality data, pre-processing and cleaning the water quality data, and using a low-power wide area network LoRa to send the water quality data collected by the sensor to the central processing platform through a wireless network; The method based on the machine learning algorithm predicts the dissolved oxygen level and executes the oxygenation strategy according to the monitored water temperature and dissolved oxygen data, including: Based on the water temperature and dissolved oxygen data collected by the sensor, an autoregressive distributed lag model is constructed, which is expressed as: in represents the predicted dissolved oxygen level at time t, represents the water temperature at time t, It's in time The measured dissolved oxygen level, n is the length of the historical data, The coefficient indicating no influence of water temperature and historical dissolved oxygen, represents the coefficient of influence of water temperature on dissolved oxygen level, The coefficient that expresses the influence of the dissolved oxygen level at the i-th time point on the current prediction; Collect historical water temperature data and dissolved oxygen detection data to construct the design matrix X and target vector y; Where m represents the total number of observation time points; The target vector y includes the dissolved oxygen level at each time point in the historical data set and is arranged in time to form a vector; Use the least squares method to substitute the design matrix X and the target vector y to calculate the model coefficients, expressed as: in represents the transpose of X, represents the coefficient vector, yes The first element of yes The second element of yes No.2 elements; The collected water temperature and dissolved oxygen data are used to predict the dissolved oxygen level of the inner lake water, and the dissolved oxygen threshold is set according to the types of aquatic organisms in the lake and the dissolved oxygen level required for survival. , when the predicted dissolved oxygen level is less than a threshold, the aeration device is turned on, and when the predicted dissolved oxygen level is equal to or higher than the threshold, the aeration device is turned off; The monitoring of pH data to analyze the adjustment needs of the inner lake pH and implement the adjustment strategy include: The pH value collected in real time and the target pH value are set, and the adjustment demand value of the pH of the inner lake is obtained by subtracting the pH value collected in real time from the target pH value. ; Based on history The average and mean square error , set the acid-base threshold to ; like If the value of is outside the acid-base threshold range and is a positive number, add alkaline substances. If the value of is outside the acid-base threshold range and is negative, then add acidic substances. If the value is within the pH threshold range, no chemical is added; The method of predicting algae density based on a machine learning model according to changes in water quality parameters and inhibiting algae growth includes: A regression model was constructed to predict the dynamics of algae growth, expressed as: in represents the nitrogen concentration at time s, K represents the total time period, represents the phosphorus concentration at time s, is the scaling factor to adjust the algae density, represents the nonlinear effect of temperature on algae growth, represents the water temperature at time t, represents the light intensity at time t, and Respectively represent the effects of adjusting nitrogen and phosphorus concentrations on algae growth, represents the predicted algae density at time t; Set the minimization objective function, expressed as: in Indicates at time The observed algae density, R represents the total number of data points, represents the predicted value of the model; Collection time point Nitrogen concentration , phosphorus concentration ,temperature and light intensity , and the algae density observations at the same time , based on practical experience and theoretical value setting Initial value; Using gradient descent as the optimization algorithm, calculate the objective function The gradient of the parameters is updated and each parameter is updated, and the calculation is repeated until the objective function When the drop is less than the set target threshold, convergence is completed and determination is made ; The nitrogen concentration at the collection time t , phosphorus concentration ,temperature and light intensity , substitute into the model to calculate , based on environmental agencies and water quality management practices, algae thresholds are set at cells / mL, in When it is greater than or equal to the algae threshold, algae inhibitors are added for treatment; The water circulation system provided for the inner lake of the garden through pipes, filtration devices and water pumps, combined with the predicted dissolved oxygen level, pH adjustment needs and predicted algae density treatment strategy, adjusts the inner lake water circulation flow rate including, According to the size of the lake in the garden and the expected water flow demand, select an intelligent variable frequency water pump with appropriate power; The filtration device of the water circulation system includes a primary coarse particle filter, a secondary activated carbon filter and a final biological filter; Obtain data on predicted dissolved oxygen levels, pH adjustment needs, and predicted algae density; Set the machine learning model to predict the flow rate adjustment parameters, expressed as: in represents the adjusted flow rate, Indicates the start time of the processing strategy. All are coefficients; Based on practical experience and theoretical value setting The initial value of , and calculate the partial derivative of the sum of squared errors for each parameter, expressed as: in represents the sum of squared errors, h represents the number of data points, Indicates at time The actual flow rate measurement value, Represents the model at time The predicted flow rate, represents the jth coefficient; Use the gradient descent method to update each parameter, and repeat the calculation until the reduction in SSE is lower than the set target threshold and then stop the iteration; Collect real-time dissolved oxygen levels , pH adjustment requirements and predict algae density Substituting into the model we get ,use Subtract the real-time flow rate of the inner lake to get the flow rate adjustment ,like If the value is positive, the pump speed will be increased to increase the flow rate. If it is a negative value, the pump speed will be reduced to reduce the flow rate. If it is zero, the current pump running status will be maintained.

2. The water circulation treatment system for a garden lake as claimed in claim 1, characterized in that: The alarm system based on the Internet of Things technology includes: Setting up an alarm system based on IoT technology, combined with the predicted value of the predicted dissolved oxygen level, to sound an alarm when it exceeds the dissolved oxygen threshold; Combination When the value is outside the acid-base threshold range, an alarm is issued; Combination When the algae level is greater than or equal to the algae threshold, an alarm will be issued to remind staff to maintain water quality in time.

3. The water circulation treatment system for a garden lake as claimed in claim 2, characterized in that: Generating and storing reports based on collected data includes: Based on the water quality data received by the central processing platform, the predicted dissolved oxygen level, pH adjustment needs and predicted algae density data are encrypted using the encryption protocol TLS / SSL and uploaded to the cloud server synchronously; Based on the data transmitted to the cloud server, water quality data, predicted dissolved oxygen levels, pH adjustment requirements, and predicted algae density data are filled into the corresponding parts of the template to generate a corresponding report.

4. A computer device comprising: Memory and processor; The memory stores a computer program, which is characterized in that when the processor executes the computer program, the steps of the water circulation treatment system for the garden lake as described in claim 1 or 2 are implemented.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the water circulation treatment system for a garden lake as claimed in claim 1 or 2 are implemented.