Collaborative Disinfection Regulation Method and System Based on Multimodal Water Quality Sensing
By constructing the gradient characteristics of the disinfectant diffusion model and heat map, the problem of insufficient fusion accuracy of single modal data and cross-modal data is solved, and the precise diffusion and real-time addition of disinfectant in water is achieved, which improves the accuracy and efficiency of water quality monitoring and disinfection regulation.
Patent Information
- Application Number
- CN202510570172.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2045-05-06
AI Technical Summary
Most existing water quality monitoring and disinfection control systems are based on single modal data, which is difficult to fully and accurately reflect water quality indicators. The existing cross-modal data fusion method does not fully consider the nonlinear transformation of the characteristic space, resulting in insufficient fusion accuracy and affecting the disinfection and regulation effect.
By constructing a disinfectant diffusion model, a thermal map of the temporal and spatiotemporal distribution of disinfectant concentration is generated, and an alignment constraint surface of multimodal data is constructed based on the gradient characteristics of the heat map, the disinfectant diffusion model is optimized, the simulation deviation is corrected, and the compensation data set is generated to achieve accurate alignment and fusion of multimodal data.
The precise diffusion simulation and real-time addition control of disinfectants in water are achieved, which improves the accuracy and efficiency of disinfection and regulation, reduces resource waste, and improves the effect of water quality control.
Smart Images

Figure CN120125385B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of collaborative disinfection regulation, and more specifically, to a collaborative disinfection regulation method and system based on multimodal water quality perception. Background Art
[0002] Water quality monitoring and disinfection regulation are crucial technologies in the field of water treatment, especially in the treatment processes of public drinking water and industrial water. With the continuous development of water quality monitoring technologies, more and more sensors and detection means have been applied to real-time monitor the physical, chemical, and biological characteristics of water bodies. Existing water quality monitoring methods usually rely on a single type of data, such as physicochemical sensor data, spectral data, or microscopic imaging data. However, due to the characteristic differences of different data sources, these single-modal data often cannot comprehensively reflect the actual situation of water bodies. Therefore, how to efficiently fuse multimodal data and improve the accuracy of water quality monitoring and disinfection regulation has become a technical problem to be solved urgently.
[0003] In recent years, methods based on multimodal data fusion have been widely studied and applied. By integrating data from different sensing means, the dynamic changes of water bodies can be more accurately reflected, and then the dosage and distribution of disinfectants can be optimized. However, when existing fusion methods implement cross-modal data docking, they often ignore the problem of non-linear transformation of the feature space. Traditional fusion methods usually assume that various modal data can be directly aligned in the same feature space, but in practical applications, different modalities of water quality data (such as physicochemical sensors, spectra, and microscopic imaging data) often exhibit significant non-linear characteristics under different spatial scales, measurement methods, and data distributions. Therefore, ignoring these non-linear feature transformations will lead to insufficient accuracy of data fusion and further affect the performance of the disinfection regulation system.
[0004] In the process of water quality monitoring and disinfection regulation, the accuracy of data is crucial. Especially in a complex water body environment, the changes in water quality are dynamic and affected by multiple factors (such as water flow, pollutant diffusion, microbial community, etc.). Therefore, how to overcome the limitations of existing methods, accurately process and fuse cross-modal data, and improve the accuracy of water quality perception and disinfection regulation has become the key to current technical research.
[0005] For example, a method, system and medium for regulating the water quality of shrimp farming disclosed in the invention patent announcement with the announcement number of CN115793585A belong to the technical field of regulating the water quality of shrimp farming. The present invention constructs a water quality change prediction model, predicts the data of relevant harmful substances in the current shrimp farming area according to the bait plan feeding amount data information and the water quality change prediction model to obtain a prediction result; formulates a water quality regulation plan for each growth stage of shrimp according to the prediction result, and obtains the real-time colony structure information and algae data information in the current shrimp farming area; optimizes and adjusts the water quality regulation plan based on the real-time colony structure information and algae data information in the current shrimp farming area. Through this method, water quality data can be predicted based on feeding data, and then ammonia nitrogen and nitrite nitrogen can be effectively controlled according to the ecological function data and synergistic effects of microalgae, heterotrophic bacteria and nitrifying bacteria in the farming area.
[0006] For example, a method for joint debugging and control of the biological safety of pipe network water quality based on real-time ArcGis disclosed in the invention patent announcement with the announcement number of CN102306021A has the following steps: (1) Import the residual chlorine data of each water quality monitoring point in the water supply pipe network into the geographic information system; (2) Analyze the spatial variation law of the attenuation of disinfectants in the current water in the water supply and distribution pipe network with reference to the distribution of water plants, secondary pressurization pump stations and water supply and distribution pipe networks, and conduct pipe network residual chlorine regulation; (3) Conduct a secondary analysis of the distribution of pipe network residual chlorine, and observe whether the most unfavorable point in the water supply and distribution of the pipe network meets the minimum value of residual chlorine required for model calculation to control the qualified microbial indicators; (4) If the most unfavorable point in the water supply and distribution of the pipe network still does not meet the minimum value required by the model, repeat step (2) until the distribution of pipe network residual chlorine basically meets the control conditions of microbial indicators at the most unfavorable point in the water supply and distribution of the pipe network. The present invention realizes the compliance of pipe network microbial indicators and a more uniform spatio-temporal distribution of pipe network residual chlorine, reducing the dosage of disinfectants and the generation of disinfection by-products.
[0007] In the above disclosed technical solutions, there are at least the following technical problems: Most of the existing water quality monitoring and disinfection control systems are based on single-modal data, such as traditional sensor data or spectral data. However, these methods have certain limitations. Especially due to the complexity of water quality, single-modal data is difficult to comprehensively and accurately reflect all the quality indicators of water bodies. And the existing fusion methods do not fully consider the non-linear transformation of the feature space, resulting in insufficient fusion accuracy of cross-modal data, which affects the effect of disinfection regulation.
[0008] In response to the above problems, the present invention proposes a solution. Summary of the Invention
[0009] To overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a collaborative disinfection regulation method and system based on multimodal water quality perception. By constructing an alignment constraint surface of multimodal data based on the gradient characteristics of the heat map, it solves the problem that the existing fusion method does not fully consider the non-linear transformation of the feature space, resulting in insufficient fusion accuracy of cross-modal data.
[0010] To achieve the above object, the present invention provides the following technical solutions:
[0011] The collaborative disinfection regulation method based on multimodal water quality perception includes the following steps: constructing a disinfectant diffusion model, optimizing the disinfectant diffusion model, correcting the simulation deviation, and generating a compensation data set; the optimized disinfectant diffusion model is obtained by generating a heat map of the spatio-temporal distribution of the disinfectant concentration by the disinfectant diffusion model, and constructing an alignment constraint surface of multimodal data according to the gradient change characteristics of the heat map; calculating the microbial inactivation rate and the disinfectant residue in real time based on the compensation data, and regulating the disinfectant dosing scheme in real time according to the deviation.
[0012] In a preferred embodiment, the heat map of the spatio-temporal distribution of the disinfectant concentration is specifically: dividing the water body into several grid units, setting the size of each grid unit according to the simulation accuracy requirement, and setting initial conditions and boundary conditions for each grid unit; solving the diffusion of the disinfectant in the water body based on the fluid mechanics simulation software to obtain the disinfectant concentration values of each grid unit at different time steps; according to the calculation results of each time step, deriving the disinfectant concentration values of each grid unit at the corresponding time points to form a complete spatio-temporal distribution data set; based on the data visualization tool, converting the spatial distribution result of the disinfectant concentration in the spatio-temporal distribution data set into a heat map.
[0013] In a preferred embodiment, constructing the alignment constraint surface of multimodal data according to the gradient change characteristics of the heat map is specifically: calculating the temporal gradient and spatial gradient of the concentration for each spatio-temporal point, and performing normalization processing to generate a gradient weight matrix; mapping the multimodal data to the spatio-temporal points and spatial coordinates respectively, and calculating the time difference and spatial Euclidean distance between each modal data point and the nearest spatio-temporal grid point of the heat map; defining alignment constraint conditions according to the gradient weight matrix, time difference and spatial Euclidean distance, and performing local alignment on the multimodal data; based on the global optimization method of gradient descent, adjusting the spatial distribution of each modal data to minimize the deviation between the spatial distribution and the constraint surface, and obtaining the final aligned data set.
[0014] In a preferred embodiment, the multimodal data includes physicochemical sensor data, spectral data, and microscopic imaging data. Local alignment of the multimodal data specifically includes: aligning the physicochemical sensor data with the concentration gradient region in the heat map by optimizing the coordinates of the sensor measurement points; matching the spectral signals in spatial positions according to the absorption characteristics of the disinfectant at different wavelengths to ensure their consistency with the concentration gradient region for the spectral data; and aligning the microbial aggregation area in the microscopic image with the high-gradient area of the disinfectant concentration through an image registration algorithm for the microscopic imaging data.
[0015] In a preferred embodiment, optimizing the disinfectant diffusion model, correcting the simulation deviation, and generating an adjusted data set specifically involves: performing forward correction on the disinfectant diffusion model based on the aligned data set to obtain an optimized disinfectant diffusion model; reversely compensating and correcting the attenuation function of the spectral data and constructing a turbidity compensation matrix according to the optimized disinfectant diffusion model to obtain compensated spectral data; calculating the disinfectant concentration at each moment and each spatial position in the water body based on the optimized diffusion model and the compensated spectral data to generate a new spatio-temporal distribution data set of the disinfectant concentration.
[0016] In a preferred embodiment, performing forward correction on the disinfectant diffusion model specifically involves: constructing a deviation function according to the prediction results of the aligned multimodal data and the preliminary disinfectant diffusion model; adjusting the parameters of the diffusion model based on the genetic algorithm with the goal of minimizing the deviation function; and updating the disinfectant diffusion model according to the optimized model parameters to generate new spatio-temporal distribution data of the disinfectant concentration.
[0017] In a preferred embodiment, reversely compensating and correcting the attenuation function of the spectral data and constructing a turbidity compensation matrix according to the optimized disinfectant diffusion model specifically involves: establishing a preliminary spectral attenuation model and updating the spectral attenuation model, where the updated spectral attenuation model is updated by identifying the deviation through comparing the optimized disinfectant concentration distribution and the actually observed spectral data; analyzing the influence of the water turbidity in different regions on the spectral and microscopic imaging data, and constructing a turbidity compensation matrix in combination with the disinfectant concentration; applying the compensation matrix to the spectral and microscopic imaging data for reverse compensation to obtain corrected spectral data and generate a new compensated data set.
[0018] In a preferred embodiment, the method calculates the microbial inactivation rate and the disinfectant residue in real time based on compensation data, and adjusts the disinfectant dosing scheme in real time according to the deviation. Specifically, it calculates the disinfectant residue in the water body and the microbial inactivation rate based on the compensation data and a preset microbial inactivation model. The compensation data includes disinfectant concentration data. If there is a deviation between the microbial inactivation rate and the preset target inactivation rate, the control system automatically adjusts the dosing amount and position of the disinfectant. If the disinfectant residue exceeds the preset safety range, the multi-objective particle swarm optimization algorithm is used to optimize the two objectives of the microbial inactivation rate and the disinfectant residue simultaneously, and dynamically adjust the dosing amount and position of the disinfectant under different control constraints.
[0019] Technical effects and advantages of the collaborative disinfection control method and system based on multi-modal water quality perception of the present invention:
[0020] 1. The present invention generates a spatio-temporal distribution heat map of the disinfectant concentration by real-time monitoring of the disinfectant dosing amount and water body flow parameters and combining with hydrodynamic simulation. This method can accurately simulate the diffusion behavior of the disinfectant in water and dynamically adjust the disinfectant dosing amount according to real-time data to ensure the best disinfection effect. This precise control can effectively reduce resource waste and improve the efficiency of water quality treatment.
[0021] 2. The present invention constructs an alignment constraint surface of multi-modal data based on the gradient characteristics of the heat map to achieve precise alignment of different modal data. This method solves the problem of insufficient cross-modal data fusion accuracy in the prior art. Through global optimization and local alignment, it ensures a high degree of consistency of different types of data and improves the accuracy and efficiency of disinfection control. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a schematic flow chart of the collaborative disinfection control method based on multi-modal water quality perception of the present invention;
[0023] Figure 2 is a schematic structural diagram of the collaborative disinfection control system based on multi-modal water quality perception of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0024] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the protection scope of the present invention.
[0025] Example 1, Figure 1 The collaborative disinfection control method based on multi-modal water quality perception of the present invention is given, including the following steps:
[0026] S1. Construct a disinfectant diffusion model, optimize the disinfectant diffusion model, correct the simulation deviation, and generate a compensation dataset. The optimized disinfectant diffusion model is obtained by generating a heat map of the spatio-temporal distribution of the disinfectant concentration through the disinfectant diffusion model and constructing an alignment constraint surface for multi-modal data based on the gradient change characteristics of the heat map.
[0027] The disinfectant diffusion model is constructed based on the real-time disinfectant dosage and water body flow parameters.
[0028] Disinfectant dosage: Collect real-time disinfectant dosage data. Usually, the flow rate and concentration of the disinfectant are monitored by sensors, or the amount of each disinfectant input is recorded through an automated system.
[0029] Water body flow parameters: Collect relevant parameters of water body flow through velocity sensors, fluid mechanics simulations, or on-site measurement data, including flow velocity, flow direction, temperature, turbulence intensity, etc. These parameters are crucial for accurately simulating the diffusion of disinfectant in water.
[0030] The generated heat map of the spatio-temporal distribution of the disinfectant concentration is specifically as follows:
[0031] Collect real-time disinfectant dosage and water body flow parameter data, including flow velocity, flow direction, temperature, turbulence intensity, disinfectant input rate, and input concentration parameters in the water body.
[0032] Establish a fluid mechanics model, simulate the diffusion behavior of the disinfectant in the water body through computational fluid dynamics, and discretize and solve the disinfectant diffusion equation based on the finite difference method to generate spatio-temporal distribution data of the disinfectant concentration. The model includes a disinfectant diffusion equation, a turbulence model, and boundary condition settings.
[0033] Based on the spatio-temporal distribution data, convert the spatial distribution result of the disinfectant concentration into a heat map using a data visualization tool, where different concentration values are represented by different colors for intuitive observation of the distribution of the disinfectant in the water body.
[0034] Boundary conditions: Include the inlet and outlet conditions of the water body, as well as the reflection or absorption conditions of the surface boundary and bottom boundary of the water body.
[0035] The generation of spatio-temporal distribution data of the disinfectant concentration is specifically as follows:
[0036] Divide the water body into several grid cells, set the size of each grid cell according to the simulation accuracy requirements, and set initial conditions and boundary conditions for each grid cell. The initial conditions and boundary conditions include the initial concentration of the disinfectant, flow velocity, flow direction, and other environmental parameters.
[0037] Solve the diffusion of disinfectant in water based on a fluid dynamics simulation software to obtain the disinfectant concentration values of each grid cell at different time steps;
[0038] According to the calculation results of each time step, export the disinfectant concentration values of each grid cell at the corresponding time points to form a complete spatio-temporal distribution data set.
[0039] The disinfectant diffusion model is specifically:
[0040]
[0041] Among them, is the disinfectant concentration, is the diffusion time, is the water velocity vector, is the diffusion coefficient, is the disinfectant dosing source.
[0042] The disinfectant dosing source represents all factors that cause changes in the disinfectant concentration except for convection (water body flow) and diffusion (molecular diffusion or turbulent diffusion).
[0043] The multi-modal data includes physicochemical sensor data, spectral data, and microscopic imaging data;
[0044] The construction of the alignment constraint surface for multi-modal data according to the gradient change characteristics of the heat map is specifically:
[0045] Calculate the temporal gradient and spatial gradient of the concentration at each spatio-temporal point and perform normalization processing to generate a gradient weight matrix;
[0046] Map the multi-modal data to spatio-temporal points and spatial coordinates respectively, and calculate the time difference and spatial Euclidean distance between each modal data point and the nearest spatio-temporal grid point of the heat map;
[0047] Define alignment constraint conditions according to the gradient weight matrix, time difference, and spatial Euclidean distance, and perform local alignment on the multi-modal data;
[0048] Based on the global optimization method of gradient descent, adjust the spatial distribution of each modal data to minimize the deviation between the spatial distribution and the constraint surface to obtain the final aligned data set.
[0049] The global optimization method is quantified by the following loss function, specifically:
[0050]
[0051] Among them, is the alignment result of the j-th modal data, is the ideal result of the target constraint surface, is an adjustment parameter, is the constraint surface deviation.
[0052] The alignment constraint conditions are defined according to the time difference and the spatial Euclidean distance, specifically as follows:
[0053] Time alignment constraint:
[0054] Spatial alignment constraint: Gradient consistency constraint: Among them, is the time deviation, is the basic time tolerance, is the gradient weight coefficient, is the gradient amplitude, is the spatial distance, is the basic spatial tolerance, is the gradient sensitivity coefficient, is the modal data feature gradient, is the preset direction consistency threshold.
[0055] The local alignment of the multi-modal data is specifically as follows:
[0056] For the physicochemical sensor data, by optimizing the coordinates of the sensor measurement points, align them with the concentration gradient region in the heat map;
[0057] For the spectral data, according to the absorption characteristics of the disinfectant at different wavelengths, match the spectral signals in the spatial position to ensure their consistency with the concentration gradient region;
[0058] For the microscopic imaging data, align the microbial aggregation area in the microscopic image with the high-gradient area of the disinfectant concentration through the image registration algorithm.
[0059] The optimization of the disinfectant diffusion model, the correction of the simulation deviation, and the generation of the compensation data set are specifically as follows:
[0060] Based on the aligned data set, perform forward correction on the disinfectant diffusion model to obtain the optimized disinfectant diffusion model;
[0061] According to the optimized disinfectant diffusion model, reverse-compensate and correct the attenuation function of the spectral data and construct the turbidity compensation matrix to obtain the compensated spectral data;
[0062] Based on the optimized diffusion model and the compensated spectral data, calculate the disinfectant concentration at each moment and each spatial position in the water body to generate a new spatio-temporal distribution data set of the disinfectant concentration.
[0063] The forward correction of the disinfectant diffusion model is specifically as follows:
[0064] Construct a deviation function based on the aligned multimodal data and the prediction results of the preliminary disinfectant diffusion model;
[0065] Based on the genetic algorithm, with the goal of minimizing the deviation function, adjust the parameters of the diffusion model;
[0066] According to the optimized model parameters, update the disinfectant diffusion model to generate new spatio-temporal distribution data of disinfectant concentration.
[0067] The adjustment of the parameters of the diffusion model includes:
[0068] Diffusion coefficient: Adjust the diffusion rate of the disinfectant in the water body according to the comparison of multimodal data;
[0069] Reaction rate: Optimize the reaction process rate of the disinfectant in the water body;
[0070] Turbulence effect parameter: Correct the non-uniform disinfectant diffusion caused by turbulence. Usually, a turbulence diffusion model is used to capture the impact of turbulence on the disinfectant.
[0071] The deviation function is specifically:
[0072]
[0073] Wherein, is the deviation function, is the predicted concentration of the diffusion model at spatial point and time step , is the observed concentration of the multimodal data.
[0074] The specific method of reverse compensating and correcting the attenuation function of the spectral data and constructing the turbidity compensation matrix according to the optimized disinfectant diffusion model is as follows:
[0075] Analyze the spectral attenuation effect in the water body and establish a preliminary spectral attenuation model according to the water body characteristics; the water body characteristics include turbidity, particulate matter, and dissolved substance concentration;
[0076] By comparing the optimized disinfectant concentration distribution with the actual observed spectral data, identify the deviation in the spectral data, and update the attenuation model according to the optimized disinfectant concentration;
[0077] According to the optimized disinfectant diffusion model, analyze the influence of turbidity in different regions of the water body on spectral and microscopic imaging data;
[0078] Combine the turbidity of the water body and the optimized disinfectant concentration to construct a turbidity compensation matrix;
[0079] Apply the compensation matrix to the spectral data and microscopic imaging data for reverse compensation to obtain the compensated spectral data;
[0080] Generate a new compensated data set based on the corrected attenuation function and the compensated spectral data.
[0081] The preliminary spectral attenuation model is specifically:
[0082]
[0083] The updated attenuation model is specifically:
[0084]
[0085] Among them, is the preliminary spectral attenuation model, is the spectral wavelength, is the attenuation coefficient, indicating the attenuation intensity of light in water, is the disinfectant concentration, is the preset correction coefficient, is the difference between the optimized disinfectant concentration and the measured value, is the corrected attenuation function.
[0086] S2. Calculate the microbial inactivation rate and the disinfectant residue in real time based on the compensated data, and adjust the disinfectant dosing scheme in real time according to the deviation.
[0087] The calculating the microbial inactivation rate and the disinfectant residue in real time based on the compensated data, and adjusting the disinfectant dosing scheme in real time according to the deviation is specifically:
[0088] Calculate the disinfectant residue and the microbial inactivation rate in the water body based on the compensated data and the preset microbial inactivation model. The compensated data includes disinfectant concentration data;
[0089] If there is a deviation between the microbial inactivation rate and the preset target inactivation rate, the control system automatically adjusts the dosing amount and position of the disinfectant;
[0090] If the disinfectant residue exceeds the preset safety range, then optimize the two objectives of the microbial inactivation rate and the disinfectant residue simultaneously based on the multi-objective particle swarm optimization algorithm, and dynamically adjust the dosing amount and position of the disinfectant under different control constraints.
[0091] The control system automatically adjusting the dosing amount and position of the disinfectant is specifically:
[0092] The control system performs a linkage adjustment by combining PID control and regional optimization strategies;
[0093] Linkage control algorithm: By using an integrated optimization algorithm (such as a multi-objective optimization algorithm), while adjusting the dosing amount, the dosing position is optimized, so that the dosing amount and position of the disinfectant complement each other, achieving the optimal inactivation effect and disinfectant residue control.
[0094] Furthermore, the target area (where the microbial density is relatively high) may require more disinfectant. Therefore, the dosing amount can be increased while ensuring that the disinfectant concentration in this area is high enough.
[0095] For areas with excessive reaction, the dosing amount can be reduced, and at the same time, its dosing position can be adjusted to avoid over-disinfection.
[0096] Example 2, A collaborative disinfection regulation system based on multi-modal water quality perception, includes the following modules:
[0097] Disinfectant model construction and data alignment module: Used to construct a disinfectant diffusion model, optimize the disinfectant diffusion model, correct the simulation deviation, and generate a compensation data set; The optimized disinfectant diffusion model is obtained by generating a heat map of the spatio-temporal distribution of disinfectant concentration through the disinfectant diffusion model, and constructing an alignment constraint surface of multi-modal data according to the gradient change characteristics of the heat map for optimization.
[0098] Feedback control adjustment module: Used to calculate the microbial inactivation rate and disinfectant residue in real time based on the compensation data, and adjust the disinfectant dosing plan in real time according to the deviation.
[0099] The above formulas are all dimensionless and take their numerical values for calculation. The formula is obtained by collecting a large amount of data for software simulation to get a formula closest to the real situation. The preset parameters in the formula are set by those skilled in the art according to the actual situation.
[0100] The above embodiments can be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product.
[0101] Those of ordinary skill in the art can realize that the modules and algorithm steps of each example described in combination with the embodiments disclosed in this article can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.
[0102] In addition, in each embodiment of the present application, the functional modules can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
[0103] As described above, it is only the specific implementation manner of the present application. However, the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims described above.
[0104] Finally: The above description is only the preferred embodiment of the present invention and is not used to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A collaborative disinfection control method based on multimodal water quality perception, characterized in that Including the following steps: Construct a disinfectant diffusion model, optimize the disinfectant diffusion model, correct the simulation deviation, and generate a compensation data set; the optimized disinfectant diffusion model is obtained by generating a heat map of the spatio-temporal distribution of disinfectant concentration through the disinfectant diffusion model and constructing an alignment constraint surface for multi-modal data according to the gradient change characteristics of the heat map; The construction of the alignment constraint surface for multi-modal data according to the gradient change characteristics of the heat map is specifically as follows: calculate the temporal gradient and spatial gradient of the concentration for each spatio-temporal point, and perform normalization processing to generate a gradient weight matrix; map the multi-modal data to the spatio-temporal points and spatial coordinates respectively, and calculate the temporal difference and spatial Euclidean distance between each modal data point and the nearest spatio-temporal grid point of the heat map; Define the alignment constraint conditions according to the gradient weight matrix, temporal difference and spatial Euclidean distance, and perform local alignment on the multi-modal data; Based on the global optimization method of gradient descent, adjust the spatial distribution of each modal data to minimize the deviation between the spatial distribution and the constraint surface, and obtain the final aligned data set; The multi-modal data includes physicochemical sensor data, spectral data and microscopic imaging data. The local alignment of the multi-modal data specifically includes: The physicochemical sensor data is aligned with the concentration gradient region in the heat map by optimizing the coordinates of the sensor measurement points; The spectral data matches the spectral signals in the spatial position according to the absorption characteristics of the disinfectant at different wavelengths to ensure its consistency with the concentration gradient region; The microscopic imaging data aligns the microbial aggregation area in the microscopic image with the high-gradient area of the disinfectant concentration through an image registration algorithm; Based on the compensation data, calculate the microbial inactivation rate and disinfectant residue in real time, and adjust the disinfectant dosing plan in real time according to the deviation.
2. The collaborative disinfection control method based on multi-modal water quality perception according to claim 1, wherein, The generated heat map of the spatio-temporal distribution of disinfectant concentration is specifically as follows: Divide the water body into several grid cells, set the size of each grid cell according to the simulation accuracy requirements, and set the initial conditions and boundary conditions for each grid cell; Based on the fluid mechanics simulation software, solve the diffusion of the disinfectant in the water body to obtain the disinfectant concentration values of each grid cell at different time steps; According to the calculation results of each time step, export the disinfectant concentration values of each grid cell at the corresponding time points to form a complete spatio-temporal distribution data set; Based on the data visualization tool, convert the spatial distribution result of the disinfectant concentration in the spatio-temporal distribution data set into a heat map.
3. The collaborative disinfection regulation method based on multi-modal water quality perception according to claim 2, wherein The optimization of the disinfectant diffusion model, correction of the simulation deviation, and generation of the compensation data set are specifically as follows: Based on the aligned data set, perform forward correction on the disinfectant diffusion model to obtain the optimized disinfectant diffusion model; According to the optimized disinfectant diffusion model, reverse-compensate and correct the attenuation function of the spectral data and construct a turbidity compensation matrix to obtain the compensated spectral data; Based on the optimized diffusion model and the compensated spectral data, calculate the disinfectant concentration at each moment and each spatial position in the water body, and generate a new spatio-temporal distribution data set of disinfectant concentration.
4. The collaborative disinfection control method based on multi-modal water quality perception according to claim 3, wherein The forward correction of the disinfectant diffusion model is specifically as follows: Construct a deviation function based on the prediction results of the aligned multimodal data and the preliminary disinfectant diffusion model; Based on the genetic algorithm, adjust the parameters of the diffusion model with the goal of minimizing the deviation function; Update the disinfectant diffusion model according to the optimized model parameters to generate new spatio-temporal distribution data of disinfectant concentration.
5. The collaborative disinfection control method based on multi-modal water quality perception according to claim 4, wherein According to the optimized disinfectant diffusion model, reverse-compensate and correct the attenuation function of the spectral data and construct a turbidity compensation matrix, specifically: Establish a preliminary spectral attenuation model and update the spectral attenuation model. The updated spectral attenuation model is updated by identifying the deviation through comparing the optimized disinfectant concentration distribution with the actually observed spectral data; Analyze the influence of water turbidity in different regions on spectral and microscopic imaging data, and construct a turbidity compensation matrix in combination with the disinfectant concentration; Apply the compensation matrix to the spectral and microscopic imaging data for reverse compensation to obtain corrected spectral data and generate a new compensated data set.
6. The collaborative disinfection regulation method based on multi-modal water quality perception according to claim 5, wherein Based on the compensated data, calculate the microbial inactivation rate and the disinfectant residue in real time, and adjust the disinfectant dosing scheme in real time according to the deviation, specifically: Calculate the disinfectant residue and the microbial inactivation rate in the water body based on the compensated data and a preset microbial inactivation model. The compensated data includes disinfectant concentration data; If there is a deviation between the microbial inactivation rate and the preset target inactivation rate, the control system automatically adjusts the dosing amount and position of the disinfectant; If the disinfectant residue exceeds the preset safety range, simultaneously optimize the two objectives of the microbial inactivation rate and the disinfectant residue based on the multi-objective particle swarm optimization algorithm, and dynamically adjust the dosing amount and position of the disinfectant under different control constraints.
7. A system for implementing the collaborative disinfection regulation method based on multimodal water quality perception according to any one of claims 1-6, characterized in that, It includes the following modules: Disinfectant model construction and data alignment module: used to construct a disinfectant diffusion model, optimize the disinfectant diffusion model, correct the simulation deviation, and generate a compensated data set; the optimized disinfectant diffusion model is obtained by generating a spatio-temporal distribution heat map of the disinfectant concentration through the disinfectant diffusion model, and constructing an alignment constraint surface of multimodal data according to the gradient change characteristics of the heat map for optimization; Feedback control adjustment module: used to calculate the microbial inactivation rate and the disinfectant residue in real time based on the compensated data, and adjust the disinfectant dosing scheme in real time according to the deviation.
Citation Information
Patent Citations
Joint debugging and joint control method for guaranteeing biosafety of pipe network water quality based on real-time ArcGis
CN102306021A
Aquaculture water quality regulation and control method and system based on prawns and medium
CN115793585A
Preparation device and batching control system for disinfectant for building domestic hot water
CN108002496A
System and method for monitoring water quality pollution
CN118837520A