An intelligent rainwater and sewage diversion control system based on the Internet of Things

Integrating sensors and cloud computing platforms through Internet of Things technology, real-time monitoring and analysis of environmental parameters, automatic adjustment of rainwater and sewage diversion strategies, solving the problems of low data processing efficiency and insufficient adaptive capabilities in traditional systems, and improving the efficiency and efficiency of rainwater and sewage diversion. Water quality control levels.

CN117991733BActive Publication Date: 2024-09-10SHENZHEN QINGSHUI INTELLIGENT NEW ENERGY ENVIRONMENTAL PROTECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410129073.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2024-09-10
Estimated Expiration
2044-01-29

AI Technical Summary

Technical Problem

Traditional rainwater and sewage diversion control systems have problems such as low data collection and processing efficiency, long response time, and insufficient adaptive capabilities, resulting in low diversion efficiency and inability to effectively respond to complex environmental changes.

Method used

An intelligent rainwater and sewage diversion control system based on the Internet of Things is adopted, including a parameter acquisition module, a cloud computing processing module, an intelligent control module, a rainwater collection and utilization module, and a sewage treatment and recycling module. Through real-time monitoring of environmental parameters, data analysis and processing is performed, and processing is generated. Signals and operating instructions can automatically adjust the rainwater and sewage diversion strategy to optimize rainwater and sewage treatment efficiency.

Benefits of technology

It improves the efficiency of data processing and diversion decision-making, enhances the adaptability of the diversion system, realizes smarter rainwater and sewage management, and improves sewage treatment efficiency and water quality control levels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117991733B
    Figure CN117991733B
Patent Text Reader

Abstract

The present invention discloses a rainwater and sewage intelligent diversion control system based on the Internet of Things, which relates to the technical field of rainwater and sewage separation, and includes a parameter acquisition module, a cloud computing processing module, an intelligent control module, a rainwater collection and utilization module, and a sewage treatment and recovery module. The parameter acquisition module is used to collect key parameters and send them to the cloud computing processing module; the cloud computing processing module is used to analyze and process the parameters, determine whether rainwater and sewage diversion control is required, establish a prediction model, and automatically adjust the rainwater and sewage diversion strategy; the intelligent control module is used to control the action of the solenoid valve according to the signal and instruction sent by the cloud computing processing module; the rainwater collection and utilization module is used to collect rainwater and store and utilize it; the sewage treatment and recovery module is used to treat sewage, remove pollutants therein, and make it meet the emission standard and reuse standard. The present invention realizes the diversion control of rainwater and sewage, improves the processing efficiency, and is beneficial to environmental protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of rainwater and sewage separation, and in particular relates to an intelligent rainwater and sewage diversion control system based on the Internet of Things. Background Art

[0002] Rainwater and sewage diversion is an effective way to improve river water quality, aiming to separate rainwater and sewage for treatment. In traditional drainage systems, rainwater and sewage will be mixed together due to pipe rupture, leakage, mixed discharge, etc., resulting in inefficient sewage treatment facilities and natural water pollution, while also increasing the risk of floods and waterlogging. The rainwater and sewage diversion system collects and discharges rainwater and sewage separately by establishing independent rainwater pipes and sewage pipes. In dry weather or when there is little rain, only a small amount of sewage needs to be treated, which improves the utilization rate of sewage treatment facilities. On rainy days, rainwater will be discharged into natural water bodies through rainwater pipes, reducing the impact on sewage treatment facilities.

[0003] Initial rainwater refers to rainwater at the beginning of rainfall. The initial 30 minutes or 35 mm runoff is usually considered to be initial rainwater. In the early stage of rainfall, rainwater dissolves pollutants in the air. After falling to the ground, it washes roofs, asphalt concrete roads, etc., making the initial rainwater contain a large amount of pollutants. The pollution level of initial rainwater is high, even exceeding the pollution level of ordinary urban sewage. If the initial rainwater is directly discharged into natural receiving water bodies, it will cause very serious pollution to the water body and will also affect the reuse of subsequent rainwater.

[0004] In traditional rainwater and sewage diversion control systems, there are problems such as low data collection and processing efficiency, long response time, and insufficient adaptive capabilities. These systems often rely on manual monitoring and control, lack real-time data processing and intelligent decision-making support, resulting in low diversion efficiency and inability to effectively respond to complex environmental changes. Therefore, an intelligent diversion control system that integrates Internet of Things technology can achieve more efficient and accurate rainwater and sewage management, which is an important demand for current technological development. Summary of the invention

[0005] The purpose of the present invention is to provide an intelligent rainwater and sewage diversion control system based on the Internet of Things, which is used to solve the technical problems of low data collection and processing efficiency, long response time, and insufficient adaptive ability in traditional rainwater and sewage diversion control systems.

[0006] In order to achieve the above object, the present invention adopts the following technical solutions:

[0007] An intelligent rainwater and sewage diversion control system based on the Internet of Things, comprising a parameter acquisition module, a cloud computing processing module, an intelligent control module, a rainwater collection and utilization module, and a sewage treatment and recovery module;

[0008] The parameter acquisition module is used to monitor environmental parameters in real time and transmit data to the cloud computing processing module via a wireless network;

[0009] The cloud computing processing module is used to analyze and process the received rainfall parameters, calculate the rainfall cycle pollution index, generate the first or second level rainwater processing signal and send it to the intelligent control module to determine whether rainwater and sewage diversion control is needed; analyze and process the sewage flow parameters, evaluate the load of the sewage treatment plant, and generate operation instructions to increase or decrease the diversion ratio; analyze and process the water body parameters, and generate operation instructions to reduce or increase the diversion ratio; establish a prediction model and automatically adjust the rainwater and sewage diversion strategy; the above generated instructions and signals are all sent to the intelligent control module;

[0010] The intelligent control module includes a main actuator, a solenoid valve, a water inlet, a rainwater outlet and a sewage outlet, and is used to control the action of the solenoid valve according to the signal and instruction sent by the cloud computing processing module, and guide the rainwater to the rainwater collection and utilization module or the sewage treatment and recovery module; according to the operation instruction of reducing the diversion ratio, reduce the proportion of rainwater discharged into the sewage treatment and recovery module, and guide more rainwater to the rainwater collection and utilization module for treatment; when receiving the operation instruction of increasing the diversion ratio, increase the proportion of rainwater guided to the sewage treatment and recovery module, and guide more rainwater to the sewage treatment and recovery module for treatment;

[0011] The rainwater collection and utilization module is used to collect, store and utilize rainwater;

[0012] The sewage treatment and recycling module is used to treat sewage through a sewage treatment plant to remove pollutants and make it meet the discharge and reuse standards;

[0013] The system database is a database used to store and manage the real-time and historical data required for the rainwater and sewage diversion control system.

[0014] As a preferred embodiment, the cloud computing processing module processes and analyzes data as follows:

[0015] Step S101, analyzing and processing the rainfall parameters sent by the rainfall sensor;

[0016] Specifically, according to the rainfall amount, rainfall intensity and rainfall time data, the rainfall cycle pollution index γ at different times t is calculated by the formula: t ;

[0017] Pollution index according to rainfall cycle γ t , monitor the changes in real time and determine whether diversion is needed: when γ tWhen the value is greater than the preset rainfall cycle pollution index, it is determined that at time t, the rainwater pollution index is at a high level and does not meet the start diversion standard, and a rainwater primary treatment signal is issued and sent to the intelligent control module;

[0018] When γ t When the value is greater than the preset rainfall cycle pollution index, it is determined that at time t, the rainwater pollution index is at a low level and reaches the start diversion standard, a rainwater secondary treatment signal is issued, and the diversion operation instruction is started and sent to the intelligent control module;

[0019] Step S102, analyzing and processing the sewage flow parameters sent by the sewage flow sensor;

[0020] Compare the accumulated sewage flow data with its set threshold value: when the accumulated sewage flow value is greater than the maximum value of its set threshold range, it means that the current load of the sewage treatment plant is large, and an operation instruction to reduce the diversion ratio is generated and sent to the intelligent control module; when the accumulated sewage flow value is less than the minimum value of its set threshold range, it means that the current load of the sewage treatment plant is small, and an operation instruction to increase the diversion ratio is generated and sent to the intelligent control module;

[0021] Step S103, analyzing and processing the water parameters sent by the water quality sensor;

[0022] Evaluate the sewage treatment effect based on turbidity, BOD, COD, NH3-N, and total phosphorus P data, generate a sewage treatment effect index, and adjust the diversion strategy based on the sewage treatment effect evaluation results;

[0023] Specifically, according to the turbidity, BOD, COD, NH3-N, and total phosphorus P data, the sewage treatment effect index ρ at different times t is obtained through the calculation formula t ;

[0024] According to the sewage treatment effect index ρ t The changes of ρ are monitored in real time to determine whether diversion is needed: t When the value is greater than the preset sewage treatment effect index, it is determined that at time t, the sewage treatment effect index is at a high level, and an operation instruction to increase the diversion ratio is issued and sent to the intelligent control module; when ρ t When the value is less than the preset sewage treatment effect index, it is determined that at time t, the sewage treatment effect index is at a low level, and an operation instruction to reduce the diversion ratio is issued and sent to the intelligent control module.

[0025] Preferably, the main actuator is used to perform opening and closing operations of the solenoid valve according to a variety of processing signals and operating instructions; the solenoid valve is used to open and close the water outlet, and control the switching between the discharge channel and the sewage outlet and the rainwater outlet; the sewage outlet is connected to the sewage outlet recovery module; the rainwater outlet is connected to the rainwater collection and utilization module; there is a two-way signal connection between the main actuator and the solenoid valve, a two-way signal connection between the solenoid valve and the water outlet, and a two-way signal connection between the water outlet and the rainwater outlet and the sewage outlet.

[0026] As a preferred embodiment, the working process of the intelligent control module is as follows:

[0027] When the main actuator receives the rainwater primary treatment signal, it generates a rainwater collection and utilization operation instruction, controls the action of the solenoid valve, opens the water inlet, switches the discharge channel to the sewage outlet, and guides the rainwater to the sewage treatment and recovery module;

[0028] When receiving the rainwater secondary treatment signal, it generates a sewage treatment and recycling operation instruction, controls the action of the solenoid valve, opens the water inlet, switches the discharge channel to the rainwater outlet, and guides the rainwater to the rainwater collection and utilization module;

[0029] When receiving the operation instruction to reduce the diversion ratio, the action of the solenoid valve is controlled to reduce the opening time of the water inlet, reduce the proportion of rainwater discharged into the sewage treatment and recovery module, and guide more rainwater to the rainwater collection and utilization module for treatment;

[0030] When an operation instruction to increase the diversion ratio is received, the action of the solenoid valve is controlled to increase the opening time of the water inlet, increase the proportion of rainwater directed to the sewage treatment recovery module, and direct more rainwater to the sewage treatment recovery module for treatment.

[0031] As a preferred method, the workflow of the cloud computing processing module to establish the prediction model is as follows:

[0032] Step S201: According to the data sent by the key parameter acquisition module, combined with the pipeline network structure, location and quantity data of the monitoring sites obtained from the system database, the data related to the dependent variable diversion strategy is screened out, and the data is cleaned and preprocessed;

[0033] Step S202: The input data is firstly passed through three unidirectional one-dimensional convolution structures of different sizes to extract features at multiple scales. In addition, the convolution has multiple layers, and structures of different depths extract different feature representations. At the same time, the feature maps output by each convolution are ensured to have the same size. During the convolution, 0 padding is required, and the step size of the convolution is controlled to be 1, so that the matrix size before and after the convolution remains consistent.

[0034] Step S203, extracting features through a convolutional neural network, splicing the feature maps, further obtaining a deeper feature image, and fusing features of different scales;

[0035] Step S204, matching the subsequent residual connection, using 1×1 convolution to increase or decrease the dimension of the concatenated feature map, so that the number of dimensions of the output and input features is consistent;

[0036] Step S204: Use a sliding window method to perform prediction, classify the previous m days of historical data in the system database into a time window as training data, and predict the diversion trend for the next n days;

[0037] Step S205: Each time the window slides, the data of the earliest day is discarded and new data is added. Each time the data is updated, the model is trained to eventually obtain a sequence of predicted values.

[0038] As a preferred method, the cloud computing processing module establishes a prediction model to screen out data workflows that are relevant to the dependent variable diversion strategy, as follows:

[0039] Using feature selection to generate quantitative factors from data, we construct the impact factor sample T as the independent variable based on the impact factor;

[0040] Calculate the arithmetic mean and standard deviation of sample T and perform standardization;

[0041] Calculate the sample T correlation coefficient matrix R;

[0042] Find the characteristic root I of the correlation coefficient matrix R and the corresponding standard orthogonal eigenvector J;

[0043] Determine the number of common factors M and calculate the common factor common variance;

[0044] The impact factor sample T is taken as the input independent variable.

[0045] As a preferred method, the quantitative factors in the prediction model include the rainwater impact factor T 1 , sewage impact factor T 2 , structural impact factor T 3 and load influence factor T 4 .

[0046] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0047] 1. The present invention integrates numerous sensors and detection equipment by adopting Internet of Things technology to monitor rainfall parameters, sewage flow parameters and water quality parameters in real time, and processes and analyzes the collected data in real time through a cloud processing and computing platform to support intelligent decision-making, thereby improving the efficiency of data processing and diversion decision-making.

[0048] 2. The present invention improves the effect of rainwater and sewage separation treatment by adjusting the switch state of the rainwater collection equipment and adjusting the operation mode of the sewage treatment equipment; through the intelligent control algorithm, the diversion strategy is automatically adjusted according to the real-time data and the prediction model to optimize the rainwater and sewage treatment efficiency; the combination of these technical means not only improves the efficiency of data processing and rainwater and sewage diversion decision-making, but also greatly enhances the adaptability of the diversion system, and can more intelligently control and manage rainwater and sewage, thereby improving the sewage treatment efficiency and water quality control level.

[0049] 3. The present invention establishes a sliding window model based on a convolutional neural network and applies it to the prediction of rainwater and sewage diversion strategies, which can better treat and manage sewage. Taking into account the effectiveness of the influencing factors, a sliding window method is used to train the model within a time period with strong factor capabilities to obtain the best prediction results. At the same time, the prediction model is continuously verified and optimized to ensure the accuracy and practicality of the prediction results. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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 described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Reference numerals:

[0052] Figure 1 The overall module diagram of a rainwater and sewage intelligent diversion control system based on the Internet of Things of the present invention is shown;

[0053] Figure 2 A schematic diagram of the sliding window operation process of the cloud computing processing module of the present invention is shown;

[0054] Figure 3 The figure shows the composition diagram of the intelligent control module of the present invention. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] Example 1

[0057] See also Figure 1As shown, an Internet of Things-based rainwater and sewage intelligent diversion control system of this embodiment includes a parameter acquisition module, a cloud computing processing module, an intelligent control module, a rainwater collection and utilization module, and a sewage treatment and recovery module.

[0058] The parameter acquisition module consists of rainfall sensors, sewage flow sensors and water quality parameter sensors deployed in the drainage system, and is integrated using the Internet of Things technology to monitor environmental parameters in real time and transmit data to the cloud computing processing module via a wireless network; among them, the rainfall sensor is used to monitor rainfall parameters, including rainfall amount, rainfall intensity, rainfall time and other data; the sewage flow sensor is used to monitor sewage flow parameters, including instantaneous flow and cumulative flow and other data; the water quality parameter sensor is used to monitor water body parameters, including turbidity, BOD, COD, NH3-N, total phosphorus P and other data; the above parameters are transmitted to the cloud computing processing module for further processing and analysis.

[0059] Turbidity: A parameter that describes the content of suspended particles in water, usually expressed in turbidity units (NTU). The higher the value, the more suspended particles there are in the water and the more turbid the water is.

[0060] BOD (biochemical oxygen demand): refers to the amount of dissolved oxygen consumed by microorganisms in the process of decomposing organic matter in water under specific conditions. BOD is an important indicator reflecting the degree of water pollution. The higher the value, the more serious the organic pollution in the water.

[0061] COD (Chemical Oxygen Demand): COD is an important indicator for measuring the content of organic matter in water. The higher the value, the more organic matter there is in the water. The increase in the content of organic matter will lead to eutrophication of water bodies, promote the growth of aquatic organisms such as algae, and thus affect water quality. At the same time, COD is also an important basis for assessing the degree of water pollution, which is of great significance for water management and environmental protection.

[0062] NH3-N (ammonia nitrogen): Ammonia nitrogen is the nitrogen content in water in the form of free ammonia (NH3) or ammonium ions (NH4+). The main sources of ammonia nitrogen are domestic sewage and industrial wastewater. Their discharge increases the concentration of ammonia nitrogen in water bodies. Excessive ammonia nitrogen will lead to eutrophication of water bodies, promote the growth of aquatic organisms such as algae, and cause water quality deterioration. At the same time, ammonia nitrogen is also one of the important pollutants in water bodies. Long-term accumulation will have a serious impact on the ecosystem.

[0063] Total phosphorus P: Total phosphorus is the sum of all phosphorus compounds in water, including dissolved, particulate and organic phosphorus. Phosphorus is one of the nutrients required for the growth of aquatic organisms such as algae in water bodies. When the total phosphorus content is too high, it will lead to excessive reproduction of algae, causing "water bloom" or "red tide" and other phenomena, resulting in deterioration of water quality. At the same time, phosphorus is also one of the important pollutants in water bodies, and long-term accumulation will have a serious impact on the ecosystem.

[0064] The cloud computing processing module is used to analyze and process the data collected by sensors, monitoring devices and databases, determine the flow and characteristics of rainwater and sewage, evaluate the impact of rainfall on the sewage system, and determine whether rainwater and sewage diversion control is needed; evaluate the sewage discharge situation, including the source of sewage, flow change pattern, etc., which helps to optimize the management of sewage treatment and discharge; evaluate the water quality of sewage and determine whether water quality treatment is needed; establish a prediction model, and automatically adjust the diversion strategy according to real-time data and prediction models to optimize the efficiency of rainwater and sewage treatment.

[0065] The intelligent control module includes the main actuator, solenoid valve, water inlet, rainwater outlet and sewage outlet, which is used to formulate corresponding control strategies according to the analysis results of the cloud computing processing module, automatically adjust the rainwater and sewage diversion strategy, and optimize the rainwater and sewage treatment efficiency. For example, adjust the switch state of the rainwater collection equipment, adjust the operation mode of the sewage treatment equipment, etc., to achieve the best effect of rainwater and sewage separation treatment.

[0066] The rainwater collection and utilization module collects, stores and utilizes rainwater by establishing a rainwater collection system. The collected rainwater can be used for non-drinking purposes such as irrigation, flushing toilets, cleaning, etc., reducing the demand for tap water.

[0067] The sewage treatment and recycling module treats the sewage through the sewage treatment plant to remove pollutants and make it meet the discharge standard or reuse standard. The treated sewage can be used for farmland irrigation, landscape water replenishment and other purposes to achieve resource recycling.

[0068] Example 2

[0069] As a possible implementation method, the cloud computing processing module processes and analyzes data as follows:

[0070] Step S101: Analyze and process the rainfall parameters sent by the rainfall sensor.

[0071] Considering that in the early stage of rainfall, rainwater dissolves pollutants in the air. After falling to the ground, it washes roofs and asphalt concrete roads, making the early rainwater contain a large amount of pollutants. The pollution degree of the early rainwater is relatively high. Therefore, rainwater is treated according to the degree of pollution, and the rainfall, rainfall intensity and rainfall time are comprehensively used to generate the rainfall cycle pollution index. Specifically, the rainfall, rainfall intensity and rainfall time data are substituted into the following formula:

[0072]

[0073] Among them, γ t represents the pollution index of the rainfall cycle at time t; L is the rainfall value, a 1 is its weight index; Q is the rainfall intensity value, a 2 is its weight index; S is the rainfall time value, a 3 is its weight index; α is the air quality factor; b is the error factor;

[0074] According to the change of pollution index during rainfall period, real-time monitoring is performed to determine whether diversion is needed: t When the value is greater than the preset rainfall cycle pollution index, it is determined that at time t, the rainwater pollution index is at a high level and does not meet the start diversion standard, and a rainwater primary treatment signal is issued and sent to the intelligent control module;

[0075] When γ t When the value is greater than the preset rainfall cycle pollution index, it is determined that at time t, the rainwater pollution index is at a low level and reaches the start diversion standard, a rainwater secondary treatment signal is issued, and the diversion operation instruction is started and sent to the intelligent control module;

[0076] Step S102: Analyze and process the sewage flow parameters sent by the sewage flow sensor.

[0077] Instantaneous sewage flow data refers to the sewage flow in a sewage treatment system within a specific period of time, usually expressed in units of per second, per minute or per hour.

[0078] The cumulative sewage flow data refers to the total flow of sewage in the sewage treatment system over a period of time, usually expressed in capacity units such as cubic meters or gallons. The cumulative flow data can be obtained by integrating and accumulating the instantaneous flow.

[0079] The accumulated sewage flow data can be used to evaluate the performance of sewage treatment systems, calculate treatment effects, and conduct resource planning and forecasting.

[0080] The accumulated sewage flow data is compared with its set threshold value: when the accumulated sewage flow value is greater than the maximum value of its set threshold range, it means that the current load of the sewage treatment plant is too large and it cannot process more rainwater, which means that it is necessary to reduce the proportion of rainwater discharged into the sewage treatment recovery module, and more rainwater will be directed to the rainwater collection and utilization module for treatment, and an operation instruction to reduce the diversion ratio will be generated and sent to the intelligent control module; when the accumulated sewage flow value is less than the minimum value of its set threshold range, it means that the current load of the sewage treatment plant is too small and it can process more rainwater, and an operation instruction to increase the diversion ratio will be generated and sent to the intelligent control module.

[0081] Step S103: Analyze and process the water parameters sent by the water quality sensor.

[0082] The sewage treatment effect is evaluated based on turbidity, BOD, COD, NH3-N and total phosphorus P data to generate a sewage treatment effect index. The diversion strategy is adjusted based on the sewage treatment effect evaluation results.

[0083] Specifically, turbidity, BOD, COD, NH3-N, and total phosphorus P data are entered into the following formula:

[0084] ρ t =(Z*b 1 +BOD*b 2 +COD*b 3 +NH3-N*b 4 +P*b 5 ) -1 *α

[0085] Among them, ρ t It represents the sewage treatment effect index at time t; Z is the turbidity value, b 1 is its weight index; BOD is the biochemical oxygen demand value, b 2 is its weight index; COD is the chemical oxygen demand value, b 3 is its weight index; NH3-N is the ammonia nitrogen content value, b 4 is its weight index; P is the total phosphorus content value, b 5 is its weight index; α is the water quality correction coefficient.

[0086] According to the change of sewage treatment effect index, real-time monitoring is performed to determine whether the diversion ratio needs to be changed: t When the value is greater than the preset sewage treatment effect index, it means that the sewage treatment effect is good, and the diversion ratio can be appropriately increased to allow more rainwater to enter the sewage treatment system for treatment; when it is determined that the sewage treatment effect index is at a high level at time t, an operation instruction to increase the diversion ratio is issued and sent to the intelligent control module; when ρ tWhen the value is less than the preset sewage treatment effect index, it means that the sewage treatment effect is not good. The diversion ratio can be reduced to avoid excessive rainwater from entering to ensure that the effluent quality meets the standard. At time t, the sewage treatment effect index is at a low level, and an operation instruction to reduce the diversion ratio is issued and sent to the intelligent control module.

[0087] This embodiment integrates numerous sensors and detection equipment by adopting Internet of Things technology to monitor rainfall parameters, sewage flow parameters and water quality parameters in real time, and processes and analyzes the collected data in real time through a cloud processing and computing platform to support intelligent decision-making, thereby improving the efficiency of data processing and diversion decision-making.

[0088] Example 3

[0089] See also Figure 2 As shown, this embodiment provides a workflow for the cloud computing processing module to establish a prediction model, as follows:

[0090] Step S201: According to the data sent by the key parameter acquisition module, combined with the pipeline network structure, location and number of monitoring sites obtained from the system database, the data related to the dependent variable diversion strategy is screened out, and the data is cleaned and preprocessed to ensure the accuracy and reliability of the data;

[0091] The data is generated into quantitative factors by feature selection, including the rain impact factor T 1 , sewage impact factor T 2 , structural impact factor T 3 and load influence factor T 4 , construct the impact factor sample as the independent variable according to the impact factor;

[0092] Calculate the sample arithmetic mean and standard deviation and perform standardization. The calculation formula is as follows: Among them, T * is the standardized sample data; μ is the arithmetic mean; σ is the standard deviation;

[0093] Calculate the sample correlation coefficient matrix R, find the eigenroot I of the correlation coefficient matrix R and the corresponding standard orthogonal eigenvector J: Calculate the eigenvalues ​​and eigenvectors of the correlation coefficient matrix R; obtain the eigenvalues ​​I and eigenvectors J of the correlation coefficient matrix R by solving the equation R*J=I*J; arrange the eigenvalues ​​I in descending order, and arrange the corresponding eigenvectors J in the same order; perform standard orthogonal processing on the eigenvectors J to ensure that they are orthogonal to each other and have a length of 1;

[0094] Determine the number of common factors M and calculate the common variance of the common factors: judge the number of main factors according to the size of the characteristic root I. When the characteristic root is greater than 1, it is considered that the corresponding common factor is of practical significance; when the characteristic root is less than 1, it is considered that the corresponding common factor is of no practical significance.

[0095] According to the determined number of common factors M, the common factor variance is calculated; the specific steps for calculating the common factor variance are as follows: according to the factor loading matrix, the square of the loading corresponding to each factor is summed to obtain the common variance of each factor.

[0096] Add the common variance of each factor to get the common factor common variance;

[0097] After the above processing, the influencing factor samples are used as input independent variables.

[0098] Among them, rain influencing factors include: previous rainfall, rainfall intensity, rainfall duration, rainfall water quality, rainwater discharge and other rain information data.

[0099] Sewage influencing factors: including sewage information data such as previous sewage flow, sewage quality and sewage discharge conditions.

[0100] Structural influencing factors: including the topological structure of the pipeline network, pipeline diameter, pipeline length, geography and other information data.

[0101] Load influencing factors: including information data such as sewage load, rainfall load, pollution load, pipeline load, geographical load and population load.

[0102] Step S202: The input data is firstly passed through three unidirectional one-dimensional convolution structures of different sizes to extract features at multiple scales. In addition, the convolution can have multiple layers, and structures of different depths can extract different feature representations. At the same time, in order to ensure the splicing of subsequent feature maps, it is necessary to ensure that the feature maps output by each convolution have the same size. Therefore, it is necessary to perform 0-padding operation during convolution, and control the step size of convolution to 1, so that the matrix size before and after convolution is consistent;

[0103] Step S203: extract features through a convolutional neural network, splice the feature maps, and further obtain a deeper feature image, thereby achieving an effect of fusing features of different scales;

[0104] Step S204: In order to match the subsequent residual connection, a 1×1 convolution is used to increase or decrease the dimension of the concatenated feature map so that the number of dimensions of the output and input features is consistent;

[0105] Step S204: Use a sliding window method to perform prediction, classify the previous m days of historical data in the system database into a time window as training data, and predict the diversion trend for the next n days;

[0106] S205. Each time the window slides, the data of the earliest day is discarded and new data is added. The model needs to be trained each time the data is updated, and a sequence of predicted values ​​is finally obtained.

[0107] This embodiment establishes a sliding window model based on a convolutional neural network and applies it to the prediction of rainwater and sewage diversion strategies, which can better carry out sewage treatment and management; considering the effectiveness of the influencing factors, a sliding window method is adopted to train the model within a time period with strong factor capabilities to obtain the best prediction results; at the same time, the prediction model is continuously verified and optimized to ensure the accuracy and practicality of the prediction results.

[0108] Example 4

[0109] This embodiment also provides the working process of the intelligent control module, as follows:

[0110] See also Figure 3 As shown, the intelligent control module includes a main actuator, a solenoid valve, a water inlet, a rainwater outlet and a sewage outlet. It is used to make predictions based on the analysis results of the cloud computing processing module using the support vector machine model, formulate corresponding control strategies, automatically adjust the rainwater and sewage diversion strategy, and optimize the rainwater and sewage treatment efficiency.

[0111] Specifically, when the main actuator receives the rainwater primary treatment signal, it generates a rainwater collection and utilization operation instruction, controls the action of the solenoid valve, opens the water inlet, switches the discharge channel to the sewage outlet, and guides the rainwater to the sewage treatment and recovery module;

[0112] When receiving the rainwater secondary treatment signal, it generates a sewage treatment and recycling operation instruction, controls the action of the solenoid valve, opens the water inlet, switches the discharge channel to the rainwater outlet, and guides the rainwater to the rainwater collection and utilization module;

[0113] When receiving the operation instruction to reduce the diversion ratio, the action of the solenoid valve is controlled to reduce the opening time of the water inlet, reduce the proportion of rainwater discharged into the sewage treatment and recovery module, and guide more rainwater to the rainwater collection and utilization module for treatment;

[0114] When receiving the diversion ratio operation instruction, the action of the solenoid valve is controlled to increase the opening time of the water inlet, increase the proportion of rainwater directed to the sewage treatment recovery module, and direct more rainwater to the sewage treatment recovery module for treatment.

[0115] This implementation improves the optimal effect of rainwater and sewage separation treatment by adjusting the on-off status of rainwater collection equipment and regulating the operating mode of sewage treatment equipment; through intelligent control algorithms, the diversion strategy is automatically adjusted according to real-time data and prediction models to optimize rainwater and sewage treatment efficiency; the combination of these technical means not only improves the efficiency of data processing and rainwater and sewage diversion decision-making, but also greatly enhances the adaptability of the diversion system.

[0116] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0117] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0118] Those of ordinary skill in the art will appreciate that the algorithmic steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0119] In the several embodiments provided in the present application, it should be understood that the disclosed system and method can be implemented in other ways. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0120] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An intelligent rainwater and sewage diversion control system based on the Internet of Things, characterized in that: It includes parameter acquisition module, cloud computing processing module, intelligent control module, rainwater collection and utilization module and sewage treatment and recycling module; The parameter acquisition module is used to monitor environmental parameters in real time and transmit data to the cloud computing processing module via a wireless network; The cloud computing processing module is used to analyze and process the received rainfall parameters, calculate the rainfall cycle pollution index, generate the first or second level rainwater processing signal and send it to the intelligent control module to determine whether rainwater and sewage diversion control is needed; analyze and process the sewage flow parameters, evaluate the load of the sewage treatment plant, and generate operation instructions to increase or decrease the diversion ratio; analyze and process the water body parameters, and generate operation instructions to reduce or increase the diversion ratio; establish a prediction model and automatically adjust the rainwater and sewage diversion strategy; the above generated instructions and signals are all sent to the intelligent control module; The intelligent control module includes a main actuator, a solenoid valve, a water inlet, a rainwater outlet and a sewage outlet, and is used to control the action of the solenoid valve according to the signal and instruction sent by the cloud computing processing module, and guide the rainwater to the rainwater collection and utilization module or the sewage treatment and recovery module; according to the operation instruction of reducing the diversion ratio, reduce the proportion of rainwater discharged into the sewage treatment and recovery module, and guide more rainwater to the rainwater collection and utilization module for treatment; when receiving the operation instruction of increasing the diversion ratio, increase the proportion of rainwater guided to the sewage treatment and recovery module, and guide more rainwater to the sewage treatment and recovery module for treatment; The rainwater collection and utilization module is used to collect, store and utilize rainwater; The sewage treatment and recycling module is used to treat sewage through a sewage treatment plant to remove pollutants and make it meet the discharge and reuse standards; The system database is used to store and manage the real-time data and historical data required by the rainwater and sewage diversion control system; The cloud computing processing module processes and analyzes data as follows: Step S101, analyzing and processing the rainfall parameters sent by the rainfall sensor; Specifically, according to the rainfall amount, rainfall intensity and rainfall time data, the rainfall cycle pollution index γ at different times t is calculated by the formula: t ; The formula is as follows: Among them, γ t It represents the pollution index of the rainfall cycle at time t; L is the rainfall value, a1 is its weight index; Q is the rainfall intensity value, a2 is its weight index; S is the rainfall time value, a3 is its weight index; α is the air quality factor; b is the error factor; Pollution index according to rainfall cycle γ t , monitor the changes in real time and determine whether diversion is needed: when γ t When the value is greater than the preset rainfall cycle pollution index, it is determined that at time t, the rainwater pollution index is at a high level and does not meet the start diversion standard, and a rainwater primary treatment signal is issued and sent to the intelligent control module; When γ t When the value is less than the preset rainfall cycle pollution index, it is determined that at time t, the rainwater pollution index is at a low level and reaches the start diversion standard, a rainwater secondary treatment signal is issued, and the diversion operation instruction is started and sent to the intelligent control module; Step S102, analyzing and processing the sewage flow parameters sent by the sewage flow sensor; Compare the accumulated sewage flow data with its set threshold value: when the accumulated sewage flow value is greater than the maximum value of its set threshold range, it means that the current load of the sewage treatment plant is large, and an operation instruction to reduce the diversion ratio is generated and sent to the intelligent control module; when the accumulated sewage flow value is less than the minimum value of its set threshold range, it means that the current load of the sewage treatment plant is small, and an operation instruction to increase the diversion ratio is generated and sent to the intelligent control module; Step S103, analyzing and processing the water parameters sent by the water quality sensor; Evaluate the sewage treatment effect based on turbidity, BOD, COD, NH3-N, and total phosphorus P data, generate a sewage treatment effect index, and adjust the diversion strategy based on the sewage treatment effect evaluation results; Specifically, according to the turbidity, BOD, COD, NH3-N, and total phosphorus P data, the sewage treatment effect index ρ at different times t is obtained through the calculation formula t ; The calculation formula is as follows: ρ t =(Z*b1+BOD*b2+COD*b3+NH3-N*b4+P*b5) -1 *α; Among them, ρ t It represents the sewage treatment effect index at time t; z is the turbidity value, b1 is its weight index; BOD is the biochemical oxygen demand value, b2 is its weight index; COD is the chemical oxygen demand value, b3 is its weight index; NH3-N is the ammonia nitrogen content value, b4 is its weight index; P is the total phosphorus content value, b5 is its weight index; α is the water quality correction coefficient; According to the sewage treatment effect index ρ t The changes of ρ are monitored in real time to determine whether diversion is needed: t When the value is greater than the preset sewage treatment effect index, it is determined that at time t, the sewage treatment effect index is at a high level, and an operation instruction to increase the diversion ratio is issued and sent to the intelligent control module; when ρ t When the value is less than the preset sewage treatment effect index, it is determined that at time t, the sewage treatment effect index is at a low level, and an operation instruction to reduce the diversion ratio is issued and sent to the intelligent control module.

2. According to the Internet of Things-based intelligent rainwater and sewage diversion control system of claim 1, it is characterized in that: The main actuator is used to perform the opening and closing operations of the solenoid valve according to a variety of processing signals and operating instructions; the solenoid valve is used to open and close the water outlet, and control the switching between the discharge channel and the sewage outlet and the rainwater outlet; the sewage outlet is connected to the sewage outlet recovery module; the rainwater outlet is connected to the rainwater collection and utilization module; the main actuator and the solenoid valve are connected in a two-way signal manner, the solenoid valve and the water outlet are connected in a two-way signal manner, and the water outlet and the rainwater outlet and the sewage outlet are both connected in a two-way signal manner.

3. According to the Internet of Things-based intelligent rainwater and sewage diversion control system of claim 1, it is characterized in that: The working process of the intelligent control module is as follows: When the main actuator receives the rainwater primary treatment signal, it generates a rainwater collection and utilization operation instruction, controls the action of the solenoid valve, opens the water inlet, switches the discharge channel to the sewage outlet, and guides the rainwater to the sewage treatment and recovery module; When receiving the rainwater secondary treatment signal, it generates a sewage treatment and recycling operation instruction, controls the action of the solenoid valve, opens the water inlet, switches the discharge channel to the rainwater outlet, and guides the rainwater to the rainwater collection and utilization module; When receiving the operation instruction to reduce the diversion ratio, the action of the solenoid valve is controlled to reduce the opening time of the water inlet, reduce the proportion of rainwater discharged into the sewage treatment and recovery module, and guide more rainwater to the rainwater collection and utilization module for treatment; When an operation instruction to increase the diversion ratio is received, the action of the solenoid valve is controlled to increase the opening time of the water inlet, increase the proportion of rainwater directed to the sewage treatment recovery module, and direct more rainwater to the sewage treatment recovery module for treatment.

4. According to the Internet of Things-based intelligent rainwater and sewage diversion control system of claim 1, it is characterized in that: The workflow of the cloud computing processing module to establish the prediction model is as follows: Step S201: According to the data sent by the key parameter acquisition module, combined with the pipeline network structure, location and quantity data of the monitoring sites obtained from the system database, the data related to the dependent variable diversion strategy is screened out, and the data is cleaned and preprocessed; Step S202: The input data is firstly passed through three unidirectional one-dimensional convolution structures of different sizes to extract features at multiple scales. In addition, the convolution has multiple layers, and structures of different depths extract different feature representations. At the same time, the feature maps of each convolution output are ensured to have the same size. During the convolution, 0 padding is required, and the step size of the convolution is controlled to be 1, so that the matrix size before and after the convolution remains consistent. Step S203, extracting features through a convolutional neural network, splicing the feature maps, further obtaining a deeper feature image, and fusing features of different scales; Step S204, matching the subsequent residual connection, using 1×1 convolution to increase or decrease the dimension of the concatenated feature map, so that the number of dimensions of the output and input features is consistent; Step S204: Use a sliding window method to perform prediction, classify the previous m days of historical data in the system database into a time window as training data, and predict the diversion trend for the next n days; Step S205: Each time the window slides, the data of the earliest day is discarded and new data is added. Each time the data is updated, the model is trained to eventually obtain a sequence of predicted values.

5. According to the Internet of Things-based intelligent rainwater and sewage diversion control system of claim 1, it is characterized in that: The cloud computing processing module establishes a prediction model to screen out data workflows that are relevant to the dependent variable diversion strategy, specifically as follows: Using feature selection to generate quantitative factors from data, we construct the impact factor sample T as the independent variable based on the impact factor; Calculate the arithmetic mean and standard deviation of sample T and perform standardization; Calculate the sample T correlation coefficient matrix R; Find the characteristic root I of the correlation coefficient matrix R and the corresponding standard orthogonal eigenvector J; Determine the number of common factors M and calculate the common factor common variance; The impact factor sample T is taken as the input independent variable.

6. The rainwater and sewage intelligent diversion control system based on the Internet of Things according to claim 1 is characterized in that: The quantitative factors in the prediction model include rainwater impact factor T1, sewage impact factor T2, structure impact factor T3 and load impact factor T4.