A water immersion sensing method based on multiple sensors

Through multi-sensor combination and data fusion technology, it solves the problem of insufficient monitoring and prediction capabilities of traditional flood sensing technology in complex environments, achieves accurate monitoring and early warning of the flooding process, and improves the initiative and effectiveness of flood prevention. .

CN117740072BActive Publication Date: 2024-08-23SHENZHEN XIANGWEI MEASUREMENT & CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311751480.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2024-08-23
Estimated Expiration
2043-12-19

AI Technical Summary

Technical Problem

Traditional flood sensing technology relies on a single type of sensor, making it difficult to achieve comprehensive and accurate monitoring and prediction in complex environments. Its data processing and analysis capabilities are insufficient, making it difficult to respond in a timely manner in the face of complex and changeable flood conditions.

Method used

A multi-sensor combination method is adopted, including capacitive, float and conductivity sensors, and data fusion is performed through algorithms such as support vector machines and Bayesian network models to build a flood prediction model, optimize sensor layout and data processing, and realize water immersion prediction. Accurate monitoring and prediction of the soaking process.

Benefits of technology

It improves the accuracy and efficiency of flood early warning, can detect flooding events in a timely manner at various speeds, enhances adaptability to specific environments and data reliability, provides real-time and accurate information support, and reduces potential damage caused by floods. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117740072B
    Figure CN117740072B
Patent Text Reader

Abstract

The present application provides a multi-sensor based water immersion sensing method, including: obtaining parameters of different types of water immersion sensors, and obtaining the position and depth changes of each stage in the water immersion process through the combination of water immersion sensors; simultaneously setting a sensor capable of detecting the type of liquid at each sensor node, obtaining liquid parameters, and judging whether the liquid is water or other liquids; when arranging the sensor nodes, setting a plurality of different types of water immersion sensors at each node, performing redundant detection on the node water immersion data, and providing support for data fusion; using a support vector machine to analyze the data characteristics of each type of water immersion sensor, and establishing a discrimination model for the correlation of sensor data; processing the sensor node data that fails the verification, including discarding, smoothing, and reducing the confidence; analyzing the water immersion expansion prediction results, and actively scheduling the start and close of water pumps and waterproof door facilities according to the water immersion conditions in different areas and stages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a water immersion sensing method based on multiple sensors. Background Art

[0002] With the increasing complexity of urban terrain and environment, as well as the increase in extreme weather events, traditional water immersion sensing technologies face greater challenges. These technologies often fail to respond in time under rapidly changing environmental conditions, resulting in delays in early warning and response measures. Traditional water immersion monitoring methods mainly rely on a single type of sensor, such as conductive, capacitive or float sensors. These single-type sensors can work effectively under specific conditions, but they each have limitations. Conductive sensors are sensitive to moisture in a small range, but have limited ability to identify water types and predict water immersion spread. Although capacitive sensors have advantages in accuracy, they are susceptible to interference in complex environments and lack stability. Float sensors are suitable for monitoring rapid changes in water levels, but have limited detection capabilities for slow water level rises or small water level changes. In order to overcome the limitations of a single sensor, the introduction of multi-sensor-based water immersion sensing methods has become a new demand. However, the differences in measurement principles, accuracy and response time of different sensors have brought challenges in data consistency and fusion. The data generated by multi-source heterogeneous sensors may differ in time synchronization, accuracy and comparability, which increases the difficulty of data processing and fusion. Existing flood monitoring technology has deficiencies in data processing and analysis. Traditional flood sensing methods mostly rely on single-point or local area data and lack the ability to comprehensively analyze and integrate large-scale, multi-point data. This makes it difficult to achieve comprehensive and accurate monitoring and prediction when faced with complex and changing flood situations. Existing flood sensing technology has not yet been fully realized in terms of intelligence and automation. Many systems still rely on manual monitoring and analysis, which not only increases the workload, but also may lead to delays in important information in emergency situations. Summary of the invention

[0003] The present invention provides a water immersion sensing method based on multiple sensors, which mainly includes:

[0004] Obtain the parameters of different types of water immersion sensors, and obtain the position and depth changes of each stage in the water immersion process through the combination of water immersion sensors; when selecting sensors to be set up, give priority to sensors that can detect slow water immersion, and distribute them in multiple places where water immersion is prone to occur, so as to sense water immersion processes of different rates; set up sensors that can detect liquid types at each sensor node, obtain liquid parameters, and determine whether the liquid is water or other liquids; when arranging sensor nodes, set up multiple different types of water immersion sensors at each node, perform redundant detection on the node water immersion data, and provide support for data fusion; use support vector machines to analyze various types of water immersion sensors Based on the data characteristics, a discriminant model of sensor data correlation is established; based on the discriminant model of sensor data correlation, the output data of various types of water immersion sensors are feature extracted and compared, and the output data of various types of water immersion sensors are verified; the sensor node data that fail the verification are processed, including discarding, smoothing, and reducing the confidence level; the Bayesian network model is used to integrate the multi-source monitoring data that have passed the verification, synthesize the precise information of the flooding process, build a data fusion flooding prediction model, and output the flooding judgment result; the flooding expansion prediction results are analyzed, and according to the flooding conditions in different areas and stages, the water pumps and waterproof gate facilities are actively scheduled to start and close.

[0005] Furthermore, the acquisition of parameters of different types of water immersion sensors, and the acquisition of position and depth changes at various stages of the water immersion process through the combination of water immersion sensors, include:

[0006] According to the characteristics and needs of the monitoring area, select water immersion sensors, including capacitive, float and conductive sensors, and obtain their respective technical specifications and performance characteristics; use capacitive water immersion sensors to monitor the initial stage of water immersion, measure the water level, and obtain the initial water level data and subsequent water level data; use float water immersion sensors to monitor water level changes and determine the speed of water immersion rise; if the water level is greater than the preset water level and the water level rise speed is greater than the preset rise speed, use conductive water immersion sensors; use conductive water immersion sensors to monitor high water levels and distinguish the types of immersion liquids; clean, normalize and synchronize the data obtained from capacitive water immersion sensors, float water immersion sensors and conductive water immersion sensors, use long short-term memory networks to fuse the data, perform time series analysis on water level data, and output predicted water level changes and trends, including obtaining the position and depth changes at each stage of the water immersion process.

[0007] Furthermore, when selecting the sensors to be set, priority is given to sensors that can detect slow water immersion, and the sensors are distributed in multiple places where water immersion is prone to occur to sense water immersion processes at different rates, including:

[0008] Obtain areas where flooding has occurred based on historical statistical data. If the number of flooding times in a certain area exceeds the preset number within a preset period, it is determined to be an area prone to flooding. Select flood sensors based on the need to detect flooding, and determine the number of sensors to be set based on the size of the area prone to flooding and the coverage range of the flood sensors. In areas prone to flooding, select sensors with a response time lower than the preset time and a measurement accuracy higher than the preset accuracy to detect slow flooding processes. In the same area prone to flooding, set multiple sensors according to the detection range and the water level detection requirements to cover changes in water level height.

[0009] Furthermore, the method of simultaneously setting a sensor capable of detecting the type of liquid at each sensor node, obtaining liquid parameters, and determining whether the liquid is water or other liquids includes:

[0010] A conductive liquid sensor is set at each water immersion sensor node to detect the conductivity of different liquids; according to the conductivity difference between pure water, sewage, and oil liquids, the detection parameter range of each liquid is set; if the detected liquid conductivity is within the preset conductivity range, it is preliminarily judged to be pure water; if the conductivity is not within the preset conductivity range, the liquid is judged to contain salt or impurities, and is preliminarily judged to be sewage or other liquids; by obtaining the density and viscosity parameters of the liquid, the type of liquid is further distinguished; if the liquid density is within the preset water density range and the viscosity is within the preset water viscosity range, it is verified to be water; if the liquid density and viscosity obviously deviate from the reference value of water, it is judged to be oil, organic solvent or other liquid; according to the detection of the conductive liquid sensor, the type of liquid at each node is judged to be water immersion or other liquid, and the liquid is classified.

[0011] Furthermore, when arranging the sensor nodes, each node is provided with a plurality of different types of water immersion sensors, and redundant detection is performed on the node water immersion data to provide support for data fusion, including:

[0012] Sensor nodes are set up in areas prone to flooding. Each node is deployed with flooding sensors based on different measurement principles. Multi-source detection is performed on the same flooding process. Various types of flooding sensors are deployed at each selected node, including capacitive, float, ultrasonic, optical and conductive sensors. Sensors based on different principles are combined to obtain data of different dimensions, including water level, rising speed and liquid type. Each node provides flooding information from multiple angles. Data from different types of sensors are overlapped to obtain redundant flooding data. When data is biased or damaged, data from other sensors are used for verification and supplementation. The Internet of Things is used to connect nodes to ensure data synchronization between nodes and integrate data from each node. The acquired data is cleaned, corrected and evaluated for quality, and invalid or abnormal data is eliminated. A Kalman filter is used to process redundant data, extract information, and optimize sensor configuration based on actual monitoring results.

[0013] Furthermore, the use of support vector machines to analyze data features of various types of water immersion sensors and establish a discriminant model for sensor data correlation includes:

[0014] The data of capacitive and float type water immersion sensors in historical water immersion cases are obtained, including the response data of sensors under different water immersion conditions. The representative features are determined using random forests. The selected representative features represent the data characteristics of different sensors. The representative features extracted from each type of sensor are standardized into a data set, and the data set is divided into a training set and a test set. A discriminant model of sensor data correlation is constructed using a support vector machine, and the discriminant model of sensor data correlation is trained to identify the correlation between different sensor data. The model parameters, including the C value and the kernel function, are adjusted to optimize the performance of the model. K-fold cross validation is used to evaluate the generalization ability of the model, and the test set is used to evaluate the generalization ability of the model. The test set evaluates the accuracy, recall and F1 score indicators of the model, and adjusts the model according to the evaluation results, including reselecting features or modifying parameters; verifies the accuracy and robustness of the model on actual water immersion case data to ensure that the model accurately identifies the correlation between sensors in actual use; also includes: using the random forest algorithm to extract key features from different types of sensor data, including electrical parameters, mechanical displacement, and acoustic reflection, and selecting representative features based on the feature importance score of the random forest; constructs a linear regression model to obtain the quantitative mapping relationship between different sensor data features. If the correlation is weak, perform a consistency check on the water immersion judgment logic.

[0015] The random forest algorithm is used to extract key features from different types of sensor data, including electrical parameters, mechanical displacement, and acoustic reflection. Representative features are selected based on the feature importance score of the random forest, including:

[0016] Obtain historical flooding data from capacitive, float, conductivity, and ultrasonic flooding sensors, and perform data preprocessing, including cleaning, standardization, and formatting. Identify features in various sensor data, including resistance and capacitance in electrical parameters, float lift height in mechanical displacement, and ultrasonic sensor reflection signals in acoustic reflection. Build a random forest model to process and analyze sensor data, and configure model parameters, including the number and depth of trees, to adapt to the characteristics of the dataset. Train the random forest model and use the built-in feature importance scoring mechanism to evaluate the influence of each feature, focusing on features with scores higher than the preset score as representative features, that is, features that are representative in flooding detection. Based on the feature importance score, select representative features with scores higher than the preset score for further analysis, and evaluate the performance and changes of the representative features under different flooding conditions. Based on the results of the feature scoring, adjust the model, remove features with feature importance scores lower than the preset score, and retrain the model. Perform cross-validation to test the accuracy and stability of the model and determine whether the selected representative features provide consistent prediction results on different datasets.

[0017] The linear regression model is constructed to obtain the quantitative mapping relationship between different sensor data features. If the correlation is weak, a consistency check on the water immersion determination logic is performed, which specifically includes:

[0018] Obtain the data of capacitive and float water immersion sensors and select key characteristic parameters X1, X2, ..., X n , including electrical parameters, mechanical displacement, and acoustic reflection characteristics. A linear regression model is established with the following formula: Z = β0 + β1X1 + β2X2 + ... + β n X n +∈, where Z is the target variable, β0, β1, …, β n is the model coefficient, ∈ is the error term. Use historical data to train a linear regression model and estimate the coefficients β0, β1, …, β n , through R 2 The value of the model was used to evaluate the goodness of fit of the model. The significance of the model coefficients and R 2 value, to determine the correlation between different sensor data. 2 The distance between the value and 1 is less than the preset value, indicating that the correlation between features is strong. 2 If the distance of the value from 0 is less than the preset value, it means that the correlation is weak. The model is cross-validated to ensure its accuracy on different data sets, and the model parameters are adjusted according to the validation results.

[0019] Furthermore, the discrimination model based on sensor data correlation extracts and compares features of output data of various water immersion sensors, and verifies output data of various water immersion sensors, including:

[0020] Obtain historical water immersion data of capacitive, float, conductive and ultrasonic water immersion sensors, clean and standardize the data; select features from the acquired data, perform feature conversion and encoding, and select key feature parameters X1, X2, ..., X n ; Build a logistic regression model and use historical data for training, estimating model coefficients through gradient descent; Where P(Y=1) is the probability of flooding, and α0, α1, …, αn are model coefficients. The accuracy and generalization ability of the model are evaluated using the test set, and the model parameters are adjusted according to the evaluation results, including reselecting features or adjusting the regularization strength. The trained model is applied to real-time data to perform consistency analysis of flooding judgment and analyze the consistency of different sensor data in predicting the probability of flooding. A feedback mechanism is established to respond and adjust quickly when the model predictions are inconsistent, and the model is updated regularly to adapt to new data and environmental changes.

[0021] Furthermore, the processing of the sensor node data that fails the verification includes discarding, smoothing, and reducing the confidence, including:

[0022] According to the feedback results of the verification module, obtain the heterogeneous sensors and their data that are judged to be inconsistent; check the format of the marked data, convert any data format that does not meet the standard, and apply the empirical mode decomposition denoising algorithm to smooth the original data to remove random noise in the data; introduce the data of neighboring sensors as a reference, calculate the average value of the neighboring sensor data in a similar time period, and use it as a substitute value to fill the inconsistent data; according to the historical performance and verification results of the sensor, dynamically adjust the confidence of each sensor data, and for data with confidence below the threshold, reduce the sensor confidence; monitor the remaining capacity of the storage system, if the capacity is lower than the preset capacity, discard the data with the lowest confidence until the capacity is higher than the preset capacity; use the improved Kalman filter to process the repaired data, and fuse the missing values ​​and the smoothed data; continuously monitor the effect of the verification and processing process, and adjust the processing strategy according to feedback and new data trends; also includes: dynamically adjust the confidence of water immersion sensor data.

[0023] The dynamically adjusting the confidence of the water immersion sensor data specifically includes:

[0024] Obtain the historical performance data of each water immersion sensor, including accuracy, verification pass rate, and fault records, and calculate the initial confidence score based on the historical performance data. Implement a continuous data verification process to identify data quality issues or sensor failures. Based on the verification results, dynamically adjust the sensor's confidence score. Data that fails verification will cause the corresponding sensor's confidence to decrease. Set a confidence threshold to identify unreliable sensor data. When the sensor's confidence score is lower than this threshold, mark it as unreliable data. For data with a confidence score lower than the threshold, smooth, interpolate, or discard the data, and use the data of neighboring sensors as a reference to fill or correct the data.

[0025] Furthermore, the Bayesian network model is used to integrate the verified multi-source monitoring data, synthesize the accurate information of the flooding process, build a data fusion flooding prediction model, and output the flooding judgment result, including:

[0026] Acquire the verified multi-source heterogeneous sensor data, including electrical parameters, mechanical displacement, and acoustic reflection; unify the data in different formats, extract key features, and construct a standardized sample data matrix X = [X1, X2, ..., X n ], Xi (i = 1, 2, ... n) is the characteristic vector of the sensor signal; the Bayesian network is used to build a data fusion water immersion prediction model, and the model is defined as Where Y is the water immersion judgment result; a weight w is assigned to each sensor signal's feature vector Xi (i=1, 2, ...n) i , determined according to the confidence level; initialize the Gaussian distribution parameters of the network, including mean μ and variance σ 2 ; Use historical data to train the data fusion flooding prediction model and update the parameters to maximize the posterior probability P(μ,σ 2 |X 1, X2,...,X n ), use EM to iteratively update Gaussian parameters; apply the data fusion flooding prediction model to perform data fusion and calculate the probability estimate of water depth Make judgments based on decision rules; use the data fusion flooding prediction model to monitor data online in real time. If the decision rules need to be adjusted, the information entropy and node weights are recalculated, and the model parameters are updated online.

[0027] Furthermore, the analysis of flood expansion prediction results, and active scheduling of the start and close of water pumps and waterproof door facilities according to the flooding conditions in different areas and stages, include:

[0028] Obtain water depth forecast data for different areas within a preset future time period output by the data fusion flood prediction model, and determine high-risk areas where the water level exceeds the preset water level; calculate the model and number of equipment required to start drainage based on the parameters of the water pumps and flood prevention facilities deployed in the area; if the facility has no automation module, the on-duty personnel will parse the instructions to operate the switch. If it has an industrial computer or intelligent gateway, the dispatch protocol will be issued directly; determine whether to start the backup power supply based on the power supply quality of each water pump and mobile waterproof wall; during the process of issuing instructions, simultaneously detect the return data of the facility, including the pump current and the real-time status parameters of the liquid level line; if an error is reported during the execution process, the equipment response times out, or the result data is abnormal, investigate the cause of the accident and notify manual intervention of the faulty equipment; when the water level drops below the preset water level, issue a control signal to shut down the equipment.

[0029] The technical solution provided by the embodiment of the present invention may have the following beneficial effects:

[0030] The present invention discloses a multi-sensor based flood sensing method. Through advanced sensor configuration, the accuracy and efficiency of flood warning are significantly improved, and flood events can be detected in time at various speeds, especially in key areas prone to flooding. The distributed sensor layout ensures accurate monitoring of the location and depth of flooding, and enhances adaptability to specific environments, such as the ability to distinguish between water and other potentially harmful liquids. The diversified sensor configuration improves the reliability of data, reduces false alarms, and enhances the robustness of the system. Comprehensive consideration of various types of data provides real-time and accurate information support for disaster prevention preparation and emergency response, such as predicting potential flood spread trends. In addition, users can effectively dispatch flood control facilities, such as water pumps and waterproof doors, based on the data and prediction results provided by the system, thereby reducing the potential damage caused by floods, providing a comprehensive, flexible and efficient solution, improving the initiative and effectiveness of flood prevention, and is suitable for a variety of environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 The present invention is a flow chart of a multi-sensor based water immersion sensing method.

[0032] Figure 2 Schematic diagram of a multi-sensor based water immersion sensing method of the present invention.

[0033] Figure 3 It is another schematic diagram of a water immersion sensing method based on multiple sensors of the present invention. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0035] In this embodiment, a water immersion sensing method based on multiple sensors may specifically include:

[0036] Step S101, obtaining parameters of different types of water immersion sensors, and obtaining position and depth changes at various stages of the water immersion process through a combination of water immersion sensors.

[0037] According to the characteristics and needs of the monitoring area, select water immersion sensors, including capacitive, float and conductivity sensors, and obtain their respective technical specifications and performance characteristics. Use capacitive water immersion sensors to monitor the initial stage of flooding, measure the water level, and obtain the initial water level data and subsequent water level data. Use float water immersion sensors to monitor the change of water level and determine the speed of flooding rise. If the water level is greater than the preset water level and the water level rise speed is greater than the preset rise speed, use a conductivity water immersion sensor. Use a conductivity water immersion sensor to monitor high water levels and distinguish the types of flooding liquids. Clean, normalize and synchronize the data obtained from capacitive water immersion sensors, float water immersion sensors and conductivity water immersion sensors, use long short-term memory networks to fuse the data, perform time series analysis on water level data, and output predicted water level changes and trends, including obtaining the position and depth changes at each stage of the flooding process.

[0038] For example, capacitive water sensors are deployed in key areas of the computer room, including cable trenches, near water pipes, and in the basement to monitor initial changes in water levels. Float-type water sensors are installed at the entrances and exits of the computer room or at possible water accumulation points to monitor the speed of change of the water level. Conductive water sensors are installed near key equipment in the computer room, including power equipment and server racks, to monitor high water levels and distinguish the type of flooded liquid, clean water or sewage. The capacitive sensor in the basement of the computer room detected that the water level rose from the normal 0 meters to 0.3 meters. The float sensor then reported that the water level rose rapidly in a short period of time, showing that the water level rose at a rate of 0.2 meters per hour. When the water level reached the set warning value of 0.5 meters and continued to rise, the conductive sensor was activated to monitor and distinguish the type of flooded liquid. The collected data was cleaned, normalized, and synchronized to the central monitoring system. The data from different sensors were fused using a long short-term memory network for time series analysis. Based on the long short-term memory network, the water level changes in the next few hours are predicted. The forecast shows that the water level may rise to 0.7 meters within two hours, posing a threat to key equipment. According to the prediction results, the drainage system in the computer room is activated and emergency measures are taken to protect key equipment.

[0039] Step S102, when selecting sensors to be set, give priority to sensors that can detect slow water immersion, and distribute them in multiple places where water immersion is likely to occur to sense water immersion processes at different rates.

[0040] Based on historical statistical data, obtain areas where flooding has occurred. If the number of floodings in a certain area exceeds the preset number of floodings within a preset period, it is judged as an area prone to flooding. Select flood sensors according to the needs of flood detection, and determine the number of sensors to be set according to the size of the area prone to flooding and the coverage range of the flood sensors. In areas prone to flooding, select sensors with a response time lower than the preset time and a measurement accuracy higher than the preset accuracy to detect slow flooding processes. In the same area prone to flooding, set multiple sensors according to the detection range based on the water level detection requirements to cover changes in water level height.

[0041] For example, historical statistics show that a certain area has experienced flooding events for a total of 10 times in the past year. The preset period is one year, and the preset number of flooding events is 5 times. According to historical statistics, the number of flooding events in this area exceeds the preset number of flooding events, so the area is judged to be an area prone to flooding. According to the need to detect flooding, a flood sensor is selected, which has the following characteristics: a response time of 10 seconds and a measurement accuracy of 1 mm. According to the size of the area prone to flooding and the coverage range of the flood sensor, 2 sensors need to be set, each covering an area of ​​100 square meters. In the area prone to flooding, according to the preset time of 15 seconds, a sensor with a response time lower than the preset time is selected. In the same area prone to flooding, according to the water level detection requirements, 3 sensors are set to cover different parts of the water level range. Sensor 1 covers the water level range of 0-500 mm, sensor 2 covers the water level range of 500-1000 mm, and sensor 3 covers the water level range of 1000-1500 mm.

[0042] Step S103, a sensor capable of detecting the type of liquid is simultaneously provided at each sensor node to obtain liquid parameters and determine whether the liquid is water or other liquids.

[0043] At each water immersion sensor node, a conductive liquid sensor is set to detect the conductivity of different liquids. According to the conductivity differences between pure water, sewage, and oil liquids, the detection parameter range of each liquid is set. If the detected liquid conductivity is within the preset conductivity range, it is preliminarily judged to be pure water. If the conductivity is not within the preset conductivity range, the liquid is judged to contain salt or impurities and is preliminarily judged to be sewage or other liquids. By obtaining the density and viscosity parameters of the liquid, the type of liquid is further distinguished. If the liquid density is within the preset water density range and the viscosity is within the preset water viscosity range, it is verified to be water. If the liquid density and viscosity deviate significantly from the reference value of water, it is judged to be oil, organic solvent or other liquid. According to the detection of the conductive liquid sensor, the type of liquid at each node is judged to be water immersion or other liquid, and the liquid is classified.

[0044] For example, in a chemical plant, there are multiple areas where various chemicals are stored, including water, sewage, and various chemical solvents. In order to ensure safety and timely response to leaks, the plant deploys conductive liquid sensors to monitor and distinguish different types of liquids. Conductive liquid sensors are installed in key areas, including around storage tanks and under the piping system, to monitor possible liquid leaks. The conductivity detection parameter ranges for different types of liquids are set, and pure water, sewage, and oil liquids each have different conductivity ranges. The conductive sensor detected a liquid conductivity of 0.3 microSiemens in a storage tank area. Based on the parameter range, it was preliminarily judged to be a pure water leak. In another area, the sensor detected a liquid with a conductivity of 2.5 microSiemens, which was preliminarily judged to be sewage containing impurities. For the liquid preliminarily judged to be water, its density and viscosity parameters are further obtained, and the measured density is about 1g / cm 3 The viscosity is about 0.801mPa·s, which is confirmed to be a water leak. For liquids judged to be sewage, if their density and viscosity are significantly different from the reference values ​​of water, they are further judged to be organic solvents or other types of liquids. If it is confirmed to be a pure water leak, the plant will initiate corresponding drainage measures to prevent water flooding. For sewage or organic solvent leaks, the emergency response procedures will be immediately initiated, including evacuating personnel, closing related pipes and notifying professional cleaning teams.

[0045] Step S104, when arranging the sensor nodes, each node is provided with a plurality of different types of water immersion sensors, and redundant detection is performed on the node water immersion data to provide support for data fusion.

[0046] Sensor nodes are set up in areas prone to flooding. Each node is equipped with flood sensors with different measurement principles. Multi-source detection is performed on the same flooding process. Various types of flood sensors are deployed at each selected node, including capacitive, float, ultrasonic, optical and conductive sensors. Sensors with different principles are combined to obtain data of different dimensions, including water level, rising speed, and liquid type. Each node provides flooding information from multiple angles. Data from different types of sensors are overlapped to obtain redundant flooding data. When data is biased or damaged, data from other sensors are used for verification and supplementation. The Internet of Things is used to connect nodes to ensure data synchronization between nodes and integrate data from each node. The acquired data is cleaned, corrected and evaluated for quality, and invalid or abnormal data is eliminated. The Kalman filter is used to process redundant data, extract information, and optimize sensor configuration based on actual monitoring results.

[0047] For example, sensor nodes are set up in areas prone to flooding. Three nodes are selected for deployment, and three different types of flooding sensors, capacitive, float and ultrasonic, are deployed on each node. Water level data is obtained through capacitive sensors. On node A, the water level measured by the capacitive sensor is 2 meters, on node B it is 5 meters, and on node C it is 3 meters. Rising speed data is obtained through float sensors. On node A, the rising speed measured by the float sensor is 2 meters / minute, on node B it is 25 meters / minute, and on node C it is 3 meters / minute. Ultrasonic sensors can be used to identify the type of liquid. On node A, the ultrasonic sensor identifies the liquid as clean water, on node B it is seawater, and on node C it is clean water. Through the above data, the multi-angle flooding information provided by each node is obtained as follows: the water level at node A is 2 meters, the rising speed is 2 meters / minute, and the liquid type is clean water; the water level at node B is 5 meters, the rising speed is 25 meters / minute, and the liquid type is seawater; the water level at node C is 3 meters, the rising speed is 3 meters / minute, and the liquid type is clean water. When the data is deviated or damaged, the data of other sensors are used for verification and supplementation. The data of the capacitive sensor of node B is abnormal, and the water level rise speed cannot be obtained. The data of the float-type water immersion sensor of node B is used to infer the water level rise speed of node B. Use the Internet of Things to connect the nodes to ensure data synchronization between nodes and integrate data from each node. The data of the three nodes are integrated through the network. The redundant water immersion data obtained are as follows: the water level of node A is 2 meters, the rise speed is 2 meters / minute, and the liquid type is clean water; the water level of node B is 5 meters, the rise speed is 25 meters / minute, and the liquid type is seawater; the water level of node C is 3 meters, the rise speed is 3 meters / minute, and the liquid type is clean water. Clean, correct and evaluate the quality of the acquired data, and eliminate invalid or abnormal data. If the data of a certain node deviates significantly from the data of other nodes, it will be marked as abnormal data and eliminated. Use Kalman filter to process redundant data, extract information, and optimize sensor configuration based on actual monitoring results. It is found that the changing trends of water level and rising speed are similar in the data of node A and node C, while the data of node B is inconsistent with them. In this case, it is necessary to reconsider the sensor configuration of node B.

[0048] Step S105, using support vector machine to analyze the data features of various types of water immersion sensors, and establish a discriminant model for the correlation of sensor data.

[0049] Obtain data on capacitive and float-type water immersion sensors in historical water immersion cases, including sensor response data under different water immersion conditions. Use random forest to determine representative features. The selected representative features represent the data characteristics of different sensors. Standardize the representative features extracted from each type of sensor into a data set, and divide the data set into a training set and a test set. Use a support vector machine to build a discriminant model for sensor data correlation, and train the discriminant model for sensor data correlation to identify the correlation between different sensor data. Adjust model parameters, including C value and kernel function, to optimize model performance. Use K-fold cross validation to evaluate the generalization ability of the model, and use the test set to evaluate the model's accuracy, recall rate, and F1 score indicators. Adjust the model based on the evaluation results, including reselecting features or modifying parameters. Verify the accuracy and robustness of the model on actual water immersion case data to ensure that the model accurately identifies the correlation between sensors in actual use.

[0050] For example, there are two different types of water immersion sensors, capacitive and float, and their data in historical water immersion cases are obtained, and the correlation between them is to be determined. Using the response data of these sensors under different water immersion, 100 samples are obtained, 50 of which are from capacitive sensors and 50 from float sensors. For each sample, the response value of the sensor is recorded, and the representative features are determined using the random forest algorithm. The response values ​​of the sensors will be used as features, and the most representative features will be selected based on the results of the random forest. The representative features extracted from different sensors are standardized into a data set, and 10 representative features are selected. These features will be standardized so that they have the same scale and range. The data set is divided into a training set and a test set, with 70% of the data used for training and 30% of the data used for testing. A discriminant model for sensor data correlation is constructed using the support vector machine algorithm. The training set will be used to train the discriminant model for sensor data correlation, and the test set will be used to evaluate the performance of the discriminant model for sensor data correlation. Before training the discriminant model for sensor data correlation, the model parameters are adjusted and different C values ​​and kernel functions are tried to optimize the performance of the model. Cross-validation is used to evaluate the generalization ability of the discriminant model of sensor data correlation under different parameter combinations, and the optimal parameter combination is selected. The accuracy, recall and F1 score indicators of the discriminant model of sensor data correlation are evaluated using the test set, and the accuracy on the test set is 90%, the recall is 85%, and the F1 score is 87%. According to the evaluation results, the discriminant model of sensor data correlation is adjusted, and features are reselected or parameters are modified to improve the performance of the model. The accuracy and robustness of the discriminant model of sensor data correlation are verified using actual flooding case data. Some real-world flooding data is obtained and input into the trained discriminant model of sensor data correlation. If the discriminant model of sensor data correlation can accurately identify the correlation between sensors and performs well in actual tests, the accuracy and robustness of the model are confirmed.

[0051] The random forest algorithm is used to extract key features from different types of sensor data, including electrical parameters, mechanical displacement, and acoustic reflection. Representative features are selected based on the feature importance score of the random forest.

[0052] Obtain historical flooding data from capacitive, float, conductivity, and ultrasonic flooding sensors, and perform data preprocessing, including cleaning, standardization, and formatting. Identify features in various sensor data, including resistance and capacitance in electrical parameters, float lift height in mechanical displacement, and ultrasonic sensor reflection signals in acoustic reflection. Build a random forest model to process and analyze sensor data, and configure model parameters, including the number and depth of trees, to adapt to the characteristics of the dataset. Train the random forest model and use the built-in feature importance scoring mechanism to evaluate the influence of each feature, focusing on features with scores higher than the preset score as representative features, that is, features that are representative in flooding detection. Based on the feature importance score, select representative features with scores higher than the preset score for further analysis, and evaluate the performance and changes of the representative features under different flooding conditions. Based on the results of the feature scoring, adjust the model, remove features with feature importance scores lower than the preset score, and retrain the model. Perform cross-validation to test the accuracy and stability of the model and determine whether the selected representative features provide consistent prediction results on different datasets.

[0053] For example, data from various flood sensors during historical flooding events are obtained, including readings from capacitive, float, conductivity, and ultrasonic sensors. The data is cleaned to remove noise and outliers, and standardized and formatted. The characteristics of the data from various sensors are identified. The capacitance change recorded by the capacitive sensor at different water levels and the float height recorded by the float sensor indicate the speed of water level rise. A random forest model is built to analyze the data, and the model parameters are configured. The number of trees is set to 100 and the depth is 10 to adapt to the characteristics of the data set. The random forest model is trained and the feature importance scoring mechanism built into the model is used to find that the float height feature of the float sensor has the highest score, indicating that it is extremely important in flood detection. Features with scores above the preset threshold are selected as representative features, including float height and capacitance change, for further analysis. Low-scoring features, such as certain conductivity changes of the conductivity sensor, are removed and the model is retrained. Cross-validation is performed to test the accuracy and stability of the model. The model is tested on different historical flooding event data to ensure that the selected representative features, such as float height, provide consistent prediction results on all data sets.

[0054] A linear regression model is constructed to obtain the quantitative mapping relationship between different sensor data features. If the correlation is weak, a consistency check is performed on the water immersion judgment logic.

[0055] Obtain the data of capacitive and float water immersion sensors and select key characteristic parameters X1, X2, ..., X n , including electrical parameters, mechanical displacement, and acoustic reflection characteristics. A linear regression model is established with the following formula: Z = β0 + β1X1 + β2X2 + ... + β nX n +∈, where Z is the target variable, β0, β1, …, β n is the model coefficient, ∈ is the error term. Use historical data to train a linear regression model and estimate the coefficients β0, β1, …, β n , through R 2 The value of the model was used to evaluate the goodness of fit of the model. The significance of the model coefficients and R 2 value, to determine the correlation between different sensor data. 2 The distance between the value and 1 is less than the preset value, indicating that the correlation between features is strong. 2 If the distance of the value from 0 is less than the preset value, it means that the correlation is weak. The model is cross-validated to ensure its accuracy on different data sets, and the model parameters are adjusted according to the validation results.

[0056] For example, the data of capacitive and float type water immersion sensors were obtained, and the following key characteristic parameters were selected: capacitance value (X1), float displacement (X2), and acoustic reflection characteristics (X3). The linear regression model was trained using historical data to estimate the model coefficients β0, β1, β2, and β3. The coefficients obtained by the training model were β0 = 5, β1 = 2, β2 = 3, and β3 = 1. By calculating R 2 The R 2 The value is 0.85. According to R 2 The model explains 85% of the variance of the target variable. The significance level of each coefficient is determined by t-test. In the model, all coefficients are significant, that is, the p-value is less than 0.5. According to R 2 The value is used to judge the correlation between different sensor data, and the preset value is 0.2. 2 The distance of the value from 1 is less than the preset value, which determines that the correlation between the features is strong. The model is cross-validated to ensure its accuracy on different data sets. In the cross-validation, the accuracy of the model is 90%. According to the validation results, the model parameters are adjusted, including reselecting features or adjusting coefficients.

[0057] Step S106, based on the discrimination model of sensor data correlation, feature extraction and comparison are performed on the output data of various water immersion sensors, and the output data of various water immersion sensors are verified.

[0058] Obtain historical water immersion data of capacitive, float, conductive and ultrasonic water immersion sensors, clean and standardize the data; select features from the acquired data, perform feature conversion and encoding, and select key feature parameters X1, X2, ..., X n ; Build a logistic regression model and use historical data for training, estimating model coefficients through gradient descent; Where P(Y=1) is the probability of flooding, and α0, α1, …, αn are model coefficients. The accuracy and generalization ability of the model are evaluated using the test set, and the model parameters are adjusted according to the evaluation results, including reselecting features or adjusting the regularization strength. The trained model is applied to real-time data to perform consistency analysis of flooding judgment and analyze the consistency of different sensor data in predicting the probability of flooding. A feedback mechanism is established to respond and adjust quickly when the model predictions are inconsistent, and the model is updated regularly to adapt to new data and environmental changes.

[0059] For example, a factory's flood monitoring system uses capacitive, float, conductivity, and ultrasonic flood sensors. A logistic regression model is built based on historical flood data to predict the probability of flooding. Historical flood data is obtained from these sensors, with 1,000 sample data, including capacitance values ​​measured by capacitive sensors, float positions measured by float sensors, conductivity measured by conductivity sensors, and distance values ​​measured by ultrasonic sensors. Each sample contains a label indicating whether the sample has flooded. The data is cleaned and standardized to remove outliers or missing values, and the data is denoised to transform the data into a standard normal distribution with a mean of 0 and a variance of 1. Key feature parameters are selected based on the feature selection algorithm. Capacitance values, float positions, and conductivity are selected as feature variables. Feature conversion and encoding are performed. Polynomial conversion is used to map nonlinear features, and one-hot encoding is used to convert categorical features into numerical features. A logistic regression model is built and trained using historical data. The model coefficients α0, α1, α2, and α3 are estimated using the gradient descent algorithm. The prediction formula of the model is Where P(Y=1) is the probability of flooding. Use the test set to evaluate the accuracy and generalization ability of the model, and calculate the model's precision, recall rate, F1 score and other indicators. According to the evaluation results, adjust the model parameters, reselect features or adjust the regularization strength to improve the performance of the model. When applying the trained model to real-time data, if the prediction results are inconsistent, trigger the feedback mechanism for rapid response and adjustment, and retrain the model at regular intervals to ensure the accuracy and generalization ability of the model.

[0060] Step S107, processing the sensor node data that fails the verification, including discarding, smoothing, and reducing the confidence.

[0061] According to the feedback from the verification module, obtain the heterogeneous sensors and their data that are judged to be inconsistent. Check the format of the marked data and convert any data format that does not meet the standard. Apply the empirical mode decomposition denoising algorithm to smooth the raw data and remove random noise in the data. Introduce the data of neighboring sensors as a reference, calculate the average value of the neighboring sensor data in a similar time period, and use it as a substitute value to fill the inconsistent data. According to the historical performance and verification results of the sensor, dynamically adjust the confidence of each sensor data. For data with confidence below the threshold, reduce the sensor confidence. Monitor the remaining capacity of the storage system. If the capacity is lower than the preset capacity, discard the data with the lowest confidence until the capacity is higher than the preset capacity. Use the improved Kalman filter to process the repaired data and merge the missing values ​​and the smoothed data. Continuously monitor the effectiveness of the verification and processing process, and adjust the processing strategy based on feedback and new data trends.

[0062] For example, a multi-source flooding sensor network was deployed in the underground parking lot of a large office building to monitor and prevent flooding incidents. During a rainstorm event, nodes 1, 2, and 3 in the sensor network reported inconsistent data. The capacitive sensor of node 1 showed a water level of 50 cm, while the same type of sensors of adjacent nodes 2 and 3 reported water levels of 55 cm and 60 cm, respectively. The data of node 1 was denoised by empirical mode decomposition to eliminate possible random noise interference. The processed data showed a water level of 53 cm. Using the data of nodes 2 and 3 as a reference, their average water level in a similar time period was calculated to obtain 57.5 cm. This average value was used as a substitute value for node 1. Considering the historical performance and current verification results of node 1, the confidence of its data was dynamically reduced from the original 0.8 to 0.5. The system's storage capacity dropped below the preset 20%, and data began to be discarded in order of confidence until the storage capacity returned to a safe level. The Kalman filter is applied to the data of all nodes, including the repaired data and the smoothed data, and the water level data of node 1 is corrected to 56 cm after fusion. The performance of the sensor network is continuously monitored, and the processing strategy is adjusted according to the data quality and feedback. Based on the feedback, further maintenance or calibration of node 1 is performed to improve the accuracy of future data.

[0063] Dynamically adjust the confidence of water immersion sensor data.

[0064] Obtain the historical performance data of each water immersion sensor, including accuracy, verification pass rate, and fault records, and calculate the initial confidence score based on the historical performance data. Implement a continuous data verification process to identify data quality issues or sensor failures. Based on the verification results, dynamically adjust the sensor's confidence score. Data that fails verification will cause the corresponding sensor's confidence to decrease. Set a confidence threshold to identify unreliable sensor data. When the sensor's confidence score is lower than this threshold, mark it as unreliable data. For data with a confidence score lower than the threshold, smooth, interpolate, or discard the data, and use the data of neighboring sensors as a reference to fill or correct the data.

[0065] For example, a city subway station is often at risk of flooding during the rainy season due to its low-lying location. The subway station is equipped with multiple flood sensors to monitor potential flooding. The historical performance data of each flood sensor in the subway station is obtained. The historical accuracy of flood sensor 1 is 95%, the verification pass rate is 90%, and there are two failure records; the historical accuracy of flood sensor 2 is 98%, the verification pass rate is 95%, and there is only one failure record. Based on these data, the initial confidence score is calculated. The initial confidence score of flood sensor 1 is 0.85, and that of flood sensor 2 is 0.92. During the continuous rainy season, the data verification process is implemented. In a certain verification, the data of sensor 1 fails the verification, and its confidence score is lowered to 0.70. The confidence threshold is set to 0.75. When the confidence score of a sensor is lower than this threshold, its data is marked as unreliable. For the data with confidence lower than the threshold, the confidence score of sensor 1 is reduced to 0.70, and its data is considered unreliable. Using the data from the neighboring sensor 2 as a reference, the data from sensor 1 was interpolated and corrected. The water level originally recorded by sensor 1 was 120 cm, while the water level recorded by sensor 2 was 115 cm. The data from sensor 1 was corrected to 117.5 cm, which was closer to the record of sensor 2.

[0066] Step S108, using the Bayesian network model, integrating the verified multi-source monitoring data, synthesizing the accurate information of the flooding process, constructing a data fusion flooding prediction model, and outputting the flooding determination result.

[0067] Acquire the verified multi-source heterogeneous sensor data, including electrical parameters, mechanical displacement, and acoustic reflection; unify the data in different formats, extract key features, and construct a standardized sample data matrix X = [X1, X2, ..., X n ], Xi (i = 1, 2, ... n) is the characteristic vector of the sensor signal; the Bayesian network is used to build a data fusion water immersion prediction model, and the model is defined as Where Y is the water immersion judgment result; a weight w is assigned to each sensor signal's feature vector Xi (i=1, 2, ...n)i , determined according to the confidence level; initialize the Gaussian distribution parameters of the network, including mean μ and variance σ 2 ; Use historical data to train the data fusion flooding prediction model and update the parameters to maximize the posterior probability P(μ,σ 2 |X1,X2,...,X n ), use EM to iteratively update Gaussian parameters; apply the data fusion flooding prediction model to perform data fusion and calculate the probability estimate of water depth Make judgments based on decision rules; use the data fusion flooding prediction model to monitor data online in real time. If the decision rules need to be adjusted, the information entropy and node weights are recalculated, and the model parameters are updated online.

[0068] For example, there are three sensors that measure electrical parameters, mechanical displacement, and acoustic reflection, respectively. After verification, these data in different formats are unified and key features are extracted to construct the sample data matrix X. The eigenvector of the electrical parameter is X1 = [5, 7, 9], the eigenvector of the mechanical displacement D is X2 = [2, 5, 8], and the eigenvector of the acoustic reflection P is X3 = [8, 6, 4]. The sample data matrix X is X = [X1, X2, X3] = [[5, 7, 9], [2, 5, 8], [8, 6, 4]]. The Bayesian network is used to build a data fusion water immersion prediction model, and there are two water immersion judgment results, namely Y1 and Y2. The probability of the water immersion judgment result Y is expressed as P(Y|X1, X2, X3) = P(X1, X2, X3) * P(X1, X2, X3|Y) * P(Y), and the weight w is assigned to the eigenvector Xi (i = 1, 2, 3) of each sensor signal i , w1=3, w2=5, w3=2. Initialize the Gaussian distribution parameters of the network, including mean μ and variance σ 2 The data fusion flooding prediction model is trained based on historical data, and the Gaussian parameters are updated iteratively using EM to maximize the posterior probability P(μ,σ 2 |X1,X2,X3), the parameters of the Gaussian distribution obtained after training are μ=2,σ 2 =3. The data fusion flooding prediction model is used to perform data fusion and calculate the probability estimate of water depth P(D|W,P). According to the previous decision rule, we get P(D|X1)=[2,5,3], P(D|X2)=[4,3,3], P(D|X3)=[6,2,2]. According to the weight w i, the probability estimate of the calculated water depth is P(D|W,P)=P(D|X1)*w1+P(D|X2)*w2+P(D|X3)*w3=[2,5,3]*3+[4,3,3]*5+[6,2,2]*2=[38,34,28]. According to the decision rule, the water depth with the highest probability is selected as the prediction result, and the predicted water depth is 2. If the decision rule needs to be adjusted, the information entropy and node weights are recalculated, and the model parameters are updated online.

[0069] Step S109, analyzing the flood expansion prediction results, and actively scheduling the start and close of water pumps and waterproof door facilities according to the flooding conditions in different areas and stages.

[0070] Obtain the water depth forecast data of different areas in the future preset time period output by the data fusion flooding prediction model, and determine the high-risk areas where the water level exceeds the preset water level. Calculate the model and number of equipment required to start drainage based on the parameters of the water pumps and anti-flooding facilities deployed in the area. If the facility does not have an automation module, the on-duty personnel will parse the instructions to operate the switch. If it has an industrial computer or intelligent gateway, the scheduling protocol will be issued directly. Determine whether to start the backup power supply based on the power supply quality of each water pump and mobile waterproof wall. During the process of issuing instructions, the return data of the facility is also detected, including the pump current and the real-time status parameters of the liquid level line. If an error is reported during the execution process, the equipment response times out, or the result data is abnormal, the cause of the accident is investigated and the faulty equipment is notified for manual intervention. When the water level drops below the preset water level, a control signal to shut down the equipment is issued.

[0071] For example, the preset time period is 3 hours. The water depth forecast data for different areas in the next 1-3 hours output by the flood prediction model of a certain area are as follows: Area A, the water depth forecast for the next hour is 2 meters, the water depth forecast for the next 2 hours is 5 meters, and the water depth forecast for the next 3 hours is 8 meters; Area B, the water depth forecast for the next hour is 8 meters, the water depth forecast for the next 2 hours is 2 meters, and the water depth forecast for the next 3 hours is 5 meters. Based on the preset water level of 5 meters, the high-risk areas are judged to be the next 2-3 hours for Area A and the next 3 hours for Area B. Two water pumps and one mobile waterproof wall have been deployed in Area A, and one water pump and one mobile waterproof wall have been deployed in Area B. According to the parameters of the deployed facilities, the specific models and numbers of the drainage equipment to be started are calculated. For area A, the pump model is ABC type pump, the number of pumps is 2, the mobile waterproof wall model is XYZ type mobile waterproof wall, and the number of mobile waterproof walls is 1; for area B, the pump model is DEF type pump, the number of pumps is 1, the mobile waterproof wall model is XYZ type mobile waterproof wall, and the number of mobile waterproof walls is 1. If the facility does not have an automation module, the on-duty personnel need to parse the instructions to operate the switch. If there is an industrial computer or an intelligent gateway, the scheduling protocol can be issued directly. According to the power supply quality of each pump and mobile waterproof wall, determine whether to start the backup power supply. If the power supply quality is unstable, the backup power supply needs to be started. In the process of issuing instructions, the return data of the facility is detected, including the real-time status parameters of the pump current and the liquid level line. If it is detected that the current of a pump is abnormal or the liquid level line has not changed, it is necessary to investigate the cause of the accident and notify the manual intervention of the faulty equipment. When the water level drops below the preset water level, a control signal to shut down the equipment is issued to stop the drainage operation.

[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A water immersion sensing method based on multiple sensors, characterized in that: The method comprises: Obtain the parameters of different types of water immersion sensors, and obtain the position and depth changes at each stage of the water immersion process through the combination of water immersion sensors; When selecting sensors to be set up, give priority to sensors that can detect slow water intrusion, and distribute them in multiple places where water intrusion is likely to occur to sense water intrusion processes at different rates; A sensor capable of detecting the type of liquid is set at each sensor node to obtain liquid parameters and determine whether the liquid is water or other liquids; When arranging sensor nodes, each node is equipped with multiple different types of water immersion sensors to perform redundant detection on the node water immersion data and provide support for data fusion; Support vector machines are used to analyze the data characteristics of various types of water immersion sensors and establish a discriminant model for sensor data correlation. Based on the discrimination model of the sensor data correlation, feature extraction and comparison are performed on the output data of various water immersion sensors, and the output data of various water immersion sensors are verified; Process the sensor node data that fails the verification, including discarding, smoothing, and reducing the confidence level; Using the Bayesian network model, we integrate the verified multi-source monitoring data, synthesize the accurate information of the flooding process, build a data fusion flooding prediction model, and output the flooding judgment results; Analyze flood expansion prediction results, and proactively schedule the start and close of water pumps and flood gate facilities according to flood conditions in different areas and stages; The method of obtaining parameters of different types of water immersion sensors and obtaining position and depth changes at various stages of the water immersion process through a combination of water immersion sensors includes: According to the characteristics and needs of the monitoring area, select water immersion sensors, including capacitive, float and conductivity sensors, and obtain their respective technical specifications and performance characteristics; use capacitive water immersion sensors to monitor the initial stage of flooding, measure the water level, and obtain the initial water level data and subsequent water level data; use float water immersion sensors to monitor water level changes and determine the speed of water rise; if the water level is greater than the preset water level and the water level rise speed is greater than the preset rise speed, use conductivity water immersion sensors; use conductivity water immersion sensors to monitor high water levels and distinguish the types of flooding liquids; clean, normalize and synchronize the data obtained from capacitive water immersion sensors, float water immersion sensors and conductivity water immersion sensors, use long short-term memory networks to fuse the data, perform time series analysis on water level data, and output predicted water level changes and trends, including obtaining the position and depth changes at each stage of the flooding process; The Bayesian network model is used to integrate the verified multi-source monitoring data, synthesize the accurate information of the flooding process, build a data fusion flooding prediction model, and output the flooding judgment results, including: Acquire the verified multi-source heterogeneous sensor data, including electrical parameters, mechanical displacement, and acoustic reflection; unify the data in different formats, extract key features, and construct a standardized sample data matrix X = [X1, X2, ..., Xn], where Xi (i = 1, 2, ...n) is the characteristic vector of the sensor signal; use the Bayesian network to build a data fusion water immersion prediction model, and define the model as Where Y is the flooding judgment result; assign a weight wi to each sensor signal feature vector Xi (i = 1, 2, ... n), determined according to the confidence level; initialize the Gaussian distribution parameters of the network, including mean μ and variance σ2; use historical data to train the data fusion flooding prediction model, update the parameters to maximize the posterior probability P(μ,σ2|X1,X2,...,Xn), and use EM to iteratively update the Gaussian parameters; apply the data fusion flooding prediction model to perform data fusion and calculate the probability estimate of the water depth Make decisions based on decision rules.

2. The method according to claim 1, wherein: When selecting the sensors to be set, it is preferred to select sensors that can detect slow water immersion, and distribute them in multiple places where water immersion is likely to occur to sense water immersion processes at different rates, including: Obtain areas where flooding has occurred based on historical statistical data. If the number of flooding times in a certain area exceeds the preset number within a preset period, it is determined to be an area prone to flooding. Select flood sensors based on the need to detect flooding, and determine the number of sensors to be set based on the size of the area prone to flooding and the coverage range of the flood sensors. In areas prone to flooding, select sensors with a response time lower than the preset time and a measurement accuracy higher than the preset accuracy to detect slow flooding processes. In the same area prone to flooding, set multiple sensors according to the detection range based on the water level detection requirements to cover changes in water level height.

3. The method according to claim 1, wherein: The method of simultaneously setting a sensor capable of detecting the type of liquid at each sensor node, obtaining liquid parameters, and determining whether the liquid is water or other liquids includes: At each water immersion sensor node, a conductive liquid sensor is set to detect the conductivity of different liquids; according to the conductivity differences of pure water, sewage and oil liquids, the detection parameter range of each liquid is set; If the detected conductivity of the liquid is within the preset conductivity range, it is preliminarily judged to be pure water; if the conductivity is not within the preset conductivity range, the liquid is judged to contain salt or impurities and is preliminarily judged to be sewage or other liquids; for liquids preliminarily judged to be water, sewage or other liquids, the type of the liquid is further distinguished by obtaining the density and viscosity parameters of the liquid; if the liquid density is within the preset water density range and the viscosity is within the preset water viscosity range, it is verified to be water; if the liquid density and viscosity obviously deviate from the reference value of water, it is judged to be oil and organic solvent or other liquid; based on the detection of the conductive liquid sensor, the type of liquid at each node is judged to be water immersion or other liquid, and the liquid is classified.

4. The method according to claim 1, wherein: When the sensor nodes are arranged, each node is provided with a plurality of different types of water immersion sensors, and redundant detection is performed on the water immersion data of the node to provide support for data fusion, including: Sensor nodes are set up in areas prone to flooding. Each node is equipped with flood sensors with different measurement principles. Multi-source detection is performed on the same flooding process. Various types of flood sensors are deployed at each selected node, including capacitive, float, ultrasonic, optical and conductive sensors. Sensors based on different principles are combined to obtain data of different dimensions, including water level, rising speed and liquid type. Each node provides flooding information from multiple angles. Data from different types of sensors are overlapped to obtain redundant flooding data. When data is biased or damaged, data from other sensors are used for verification and supplementation. The Internet of Things is used to connect nodes to ensure data synchronization between nodes and integrate data from each node. The acquired data is cleaned, corrected and evaluated for quality, and invalid or abnormal data is eliminated. Use Kalman filter to process redundant data, extract information, and optimize sensor configuration based on actual monitoring results.

5. The method according to claim 1, wherein: The method of using support vector machine to analyze the data features of various types of water immersion sensors and establish a discriminant model of sensor data correlation includes: Obtain data on capacitive and float-type water immersion sensors in historical water immersion cases, including sensor response data under different water immersion conditions, use random forest to determine representative features, the selected representative features represent the data characteristics of different sensors, standardize the representative features extracted from each type of sensor into a data set, and divide the data set into a training set and a test set; use support vector machine to build a discriminant model for sensor data correlation, train the discriminant model for sensor data correlation to identify the correlation between different sensor data; adjust model parameters, including C value and kernel function, to optimize model performance; use K-fold cross validation to evaluate the generalization ability of the model, use the test set to evaluate the model's accuracy, recall rate, and F1 score indicators, and adjust the model according to the evaluation results, including reselecting features or modifying parameters; Verify the accuracy and robustness of the model on actual flooding case data to ensure that the model can accurately identify the correlation between sensors in actual use; also include: using the random forest algorithm to extract key features from different types of sensor data, including electrical parameters, mechanical displacement, and acoustic reflection, and select representative features based on the feature importance score of the random forest; construct a linear regression model to obtain the quantitative mapping relationship between different sensor data features, and if the correlation is weak, perform a consistency check on the flooding judgment logic; The random forest algorithm is used to extract key features from different types of sensor data, including electrical parameters, mechanical displacement, and acoustic reflection. Representative features are selected based on the feature importance score of the random forest, specifically including: obtaining historical water immersion data of capacitive, float, conductivity, and ultrasonic water immersion sensors, and performing data preprocessing, including cleaning, standardization, and formatting; identifying features in various types of sensor data, including resistance and capacitance in electrical parameters, float lifting height in mechanical displacement, and reflected signals of ultrasonic sensors in acoustic reflection; establishing a random forest model to process and analyze sensor data, configuring model parameters, including the number and depth of trees, and applying the appropriate The random forest model is trained according to the characteristics of the dataset. The built-in feature importance scoring mechanism is used to evaluate the influence of each feature. Features with scores higher than the preset score are considered as representative features, i.e., features that are representative in water flooding detection. Based on the feature importance score, representative features with scores higher than the preset score are selected for further analysis to evaluate the performance and changes of the representative features under different water flooding conditions. Based on the result of the feature scoring, the model is adjusted to remove features with feature importance scores lower than the preset score and the model is retrained. Cross-validation is performed to test the accuracy and stability of the model to determine whether the selected representative features provide consistent prediction results on different datasets. The linear regression model is constructed to obtain the quantitative mapping relationship between the data features of different sensors. If the correlation is weak, a consistency check is performed on the water immersion judgment logic, which specifically includes: obtaining data of capacitive and float water immersion sensors, selecting key characteristic parameters X1, X2, ..., Xn, including electrical parameters, mechanical displacement, and acoustic reflection characteristics; establishing a linear regression model, the formula is as follows, Z=β0+β1X1+β2X2+...+βnXn+∈, where Z is the target variable, β0, β1, ..., βn are model coefficients, and ∈ is an error term; using historical data to train the linear regression model, estimating coefficients β0, β1, ..., βn, and evaluating the model's fit through the R2 value; analyzing the significance and R2 value of the model coefficients to determine the correlation between different sensor data; if the distance between the R2 value and 1 is less than the preset value, it means that the correlation between the features is strong, and if the distance between the R2 value and 0 is less than the preset value, it means that the correlation is weak; cross-validating the model to ensure its accuracy on different data sets, and adjusting the model parameters according to the validation results.

6. The method according to claim 1, wherein: The discrimination model based on the correlation of the sensor data extracts and compares the output data of various water immersion sensors, and verifies the output data of various water immersion sensors, including: Obtain historical water immersion data of capacitive, float, conductive and ultrasonic water immersion sensors, clean and standardize the data; select features from the acquired data, perform feature conversion and encoding, and select key feature parameters X1, X2, …, Xn; construct a logistic regression model, train it using historical data, and estimate the model coefficients through gradient descent; Where P(Y=1) is the probability of flooding, and α0, α1, …, αn are model coefficients. The accuracy and generalization ability of the model are evaluated using the test set, and the model parameters are adjusted according to the evaluation results, including reselecting features or adjusting the regularization strength. The trained model is applied to real-time data to perform consistency analysis of flooding judgment and analyze the consistency of different sensor data in predicting the probability of flooding. A feedback mechanism is established to respond and adjust quickly when the model predictions are inconsistent, and the model is updated regularly to adapt to new data and environmental changes.

7. The method according to claim 1, wherein: The processing of the sensor node data that fails the verification includes discarding, smoothing, and reducing the confidence, including: According to the feedback results of the verification module, obtain the heterogeneous sensors and their data that are judged to be inconsistent; check the format of the marked data, convert any data format that does not meet the standard, and apply the empirical mode decomposition denoising algorithm to smooth the original data to remove random noise in the data; introduce the data of neighboring sensors as a reference, calculate the average value of the neighboring sensor data in a similar time period, and use it as a substitute value to fill the inconsistent data; according to the historical performance and verification results of the sensor, dynamically adjust the confidence of each sensor data, and reduce the sensor confidence for data with confidence below the threshold; monitor the remaining capacity of the storage system, and if the capacity is lower than the preset capacity, discard the data with the lowest confidence until the capacity is higher than the preset capacity; The improved Kalman filter is used to process the repaired data and fuse the missing values ​​and the smoothed data; Continuously monitor the effectiveness of the validation and processing processes and adjust processing strategies based on feedback and new data trends; It also includes: dynamically adjusting the confidence level of water immersion sensor data; The dynamic adjustment of the water immersion sensor data confidence specifically includes: obtaining the historical performance data of each water immersion sensor, including accuracy, verification pass rate, and fault records, and calculating the initial confidence score based on the historical performance data; implementing a continuous data verification process to identify data quality problems or sensor failures, and dynamically adjusting the sensor confidence score based on the verification results. Data that fails the verification will cause the confidence of the corresponding sensor to decrease; setting a confidence threshold to identify unreliable sensor data, and when the sensor confidence score is lower than this threshold, marking it as unreliable data; for data with a confidence score lower than the threshold, smoothing, interpolating or discarding the data, using the data of adjacent sensors as a reference to fill or correct the data.

8. The method according to claim 1, wherein: The Bayesian network model is used to integrate the verified multi-source monitoring data, synthesize the accurate information of the flooding process, build a data fusion flooding prediction model, and output the flooding judgment results, including: The flooding prediction model using data fusion is used to monitor the data in real time online. If the decision rules need to be adjusted, the information entropy and node weights are recalculated, and the model parameters are updated online.

9. The method according to claim 1, wherein: The analysis of flood expansion prediction results and active scheduling of the start and close of water pumps and waterproof door facilities according to the flooding conditions in different areas and stages include: Obtain water depth forecast data for different areas within a preset future time period output by the data fusion flood prediction model to determine high-risk areas where the water level exceeds the preset water level; calculate the model and number of equipment required to start drainage based on the parameters of the water pumps and flood prevention facilities deployed in the area; If the facility does not have an automation module, the on-duty personnel will parse the instructions and operate the switches. If it is equipped with an industrial computer or an intelligent gateway, the dispatch protocol will be issued directly; whether to start the backup power supply will be determined based on the power supply quality of each water pump and mobile waterproof wall; in the process of issuing instructions, the return data of the facility will be detected at the same time, including the real-time status parameters of the pump current and the liquid level line; if an error is reported during the execution process and the equipment response times out or the result data is abnormal, the cause of the accident will be investigated and manual intervention will be notified for the faulty equipment; when the water level drops below the preset water level, a control signal to shut down the equipment will be issued.