Pipeline blockage early warning method and system based on GPS positioning and wireless sensor network
Through methods based on GPS positioning and wireless sensor networks, technical problems in narrow pipeline monitoring are solved, real-time assessment and prediction of blockage risks are achieved, and pipeline operation safety and the support capabilities of flood warning systems are improved.
Patent Information
- Application Number
- CN202410518081.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2024-04-26
- Filing Date
- 2024-04-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-04-28
AI Technical Summary
There are technical challenges in real-time monitoring of narrow pipes in flood warning systems, including equipment volume, power supply and data transmission issues, complex environments that affect monitoring accuracy, difficulty in identifying sediment types, and external factors such as rainfall that rapidly change water levels and sediment distribution. This makes it difficult to assess the risk of blockage.
Using a method based on GPS positioning and wireless sensor networks, three-dimensional modeling is used to analyze the narrowness of the pipeline, real-time monitoring of water level and sediment data, high-definition cameras to identify sediment types, and a combination of fluid dynamics models and machine learning algorithms to establish rainfall blockage risk predictions. model to automatically generate optimal maintenance plans.
It achieves a comprehensive assessment and prediction of the risk of pipeline blockage, improves the safety and efficiency of pipeline operation, effectively prevents flood disasters that may be caused by blockage, and ensures urban water affairs and public safety.
Smart Images

Figure CN118351659B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information technology, and in particular to a pipeline blockage early warning method and system based on GPS positioning and wireless sensor networks. Background Art
[0002] In the real-time flood warning system, real-time monitoring of narrow pipes is not only a technical challenge, but also a key component of flood warning. Since these pipes are usually located in key water flow channels in the city, their internal conditions directly affect the flood risk in the surrounding areas. First, the internal space of the pipe is small. When laying out monitoring equipment such as sensors and cameras, it is necessary to take into account the volume, power supply, data transmission and other issues of the equipment, and ensure that the equipment works stably for a long time. Secondly, the internal environment of the pipe is complex, and factors such as water flow and sediment affect the monitoring accuracy. For example, turbulent water flow will wash away sediments, change the cross-section of the pipe, and distort the data collected by sensors and cameras. Furthermore, accurately identifying the type of sediment is a major challenge. It is difficult to distinguish subtle differences such as silt, humus, and metal rust by image recognition technology alone. The distribution of sediments is also uneven. Local areas may be seriously silted, but the overall impact is not significant. External factors such as rainfall can also quickly change the water level and sediment distribution in the pipe, which makes it difficult to assess the risk of pipe blockage. In summary, improving the accuracy and real-time performance of narrow pipeline monitoring technology is crucial for issuing flood warnings in advance and reducing potential damage. However, to achieve real-time and accurate monitoring of narrow pipelines, a series of technical challenges must be overcome, including the development of micro-monitoring equipment, data optimization in complex environments, accurate identification of sediment types, global and local combined assessment of blockage risks, and correlation modeling between external factors and internal conditions. These technical bottlenecks need to be overcome urgently to ensure the safe and smooth operation of pipelines. Summary of the invention
[0003] The object of the present invention is to provide a pipeline blockage early warning method and system based on GPS positioning and wireless sensor network to solve at least one of the above-mentioned prior art problems.
[0004] In a first aspect, the present invention provides a pipeline blockage early warning method based on GPS positioning and wireless sensor network, the method specifically comprising:
[0005] Acquire spatial location information of the potential threat pipeline and topographic data of the surrounding environment according to GPS positioning, conduct quantitative analysis on the stenosis degree of the potential threat pipeline after three-dimensional modeling of the spatial location information and the topographic data, and obtain the stenosis degree value of the potential threat pipeline;
[0006] Collecting water level data and sediment accumulation data of the potential threat pipeline in real time according to sensor technology, and transmitting the water level data and sediment accumulation data to a monitoring center through a wireless network for real-time monitoring;
[0007] Collecting internal image data of the potential threat pipeline using a high-definition camera, and classifying and identifying sediments in the internal image data to determine the degree of influence of different sediments in the potential threat pipeline on pipeline blockage;
[0008] Based on the time series analysis method, the accumulation trend of different types of sediments is analyzed through the sediment accumulation data to determine the pipeline blockage risk change trend of the potential threat pipeline;
[0009] According to the distribution and accumulation rate information of different types of sediments in the potential threat pipeline, a fluid dynamics model is used to perform numerical simulation to determine the degree of influence of the sediments in the potential threat pipeline on the water conveyance capacity of the potential threat pipeline;
[0010] Evaluate the actual capacity of the potential threat pipeline according to the potential stenosis degree value and the sediment accumulation data, and determine the degree of influence of the sediment in the potential threat pipeline on the capacity of the potential threat pipeline by comparing the design capacity and the actual capacity of the potential threat pipeline;
[0011] Obtain rainfall data for the area where the potential threat pipeline is located, and establish a rainfall blockage risk prediction model using a machine learning algorithm based on the rainfall data, the narrowness value, the sediment accumulation data, and the degree of influence on the water delivery capacity. The rainfall blockage risk prediction model is used to predict the blockage risk level of the potential threat pipeline under different rainfall conditions;
[0012] The rainfall blockage risk prediction model is used to evaluate the blockage probability of each potential threat pipeline, and a decision optimization algorithm is used to automatically generate an optimal pipeline maintenance plan, which is used to achieve optimal maintenance work for the potential threat pipeline.
[0013] In a second aspect, the present invention provides a pipeline blockage early warning system based on GPS positioning and wireless sensor networks, the system specifically comprising:
[0014] The first early warning module is used to obtain the spatial position information of the potential threat pipeline and the topographic data of the surrounding environment according to GPS positioning, and after the spatial position information and the topographic data are three-dimensionally modeled, quantitatively analyze the stenosis degree of the potential threat pipeline to obtain the stenosis degree value of the potential threat pipeline;
[0015] The second early warning module is used to collect the water level data and sediment accumulation data of the potential threat pipeline in real time according to the sensor technology, and transmit the water level data and sediment accumulation data to the monitoring center through the wireless network for real-time monitoring;
[0016] A third early warning module is used to collect internal image data of the potential threat pipeline using a high-definition camera, and to determine the degree of influence of different sediments in the potential threat pipeline on pipeline blockage by classifying and identifying sediments in the internal image data;
[0017] A fourth early warning module is used to analyze the accumulation trends of different types of sediments through the sediment accumulation data based on a time series analysis method, and determine the pipeline blockage risk change trend of the potential threat pipeline;
[0018] A fifth early warning module is used to perform numerical simulation using a fluid dynamics model based on the distribution and accumulation rate information of different types of sediments in the potential threat pipeline to determine the degree of influence of the sediments in the potential threat pipeline on the water delivery capacity of the potential threat pipeline;
[0019] a sixth warning module, for evaluating the actual capacity of the potential threat pipeline according to the potential stenosis degree value and the sediment accumulation data, and determining the degree of influence of the sediment in the potential threat pipeline on the capacity of the potential threat pipeline by comparing the design capacity and the actual capacity of the potential threat pipeline;
[0020] The seventh early warning module is used to obtain rainfall data of the area where the potential threat pipeline is located, and establish a rainfall blockage risk prediction model using a machine learning algorithm based on the rainfall data, the narrowness value, the sediment accumulation data and the degree of influence of the water delivery capacity. The rainfall blockage risk prediction model is used to predict the blockage risk level of the potential threat pipeline under different rainfall conditions;
[0021] The eighth early warning module is used to evaluate the blockage probability of each potential threat pipeline through the rainfall blockage risk prediction model, and automatically generate an optimal pipeline maintenance plan using a decision optimization algorithm. The optimal pipeline maintenance plan is used to achieve the optimal maintenance work of the potential threat pipeline.
[0022] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor and a computer program stored in the memory. When the computer program is executed on the processor, a pipeline blockage warning method based on GPS positioning and wireless sensor network as described in any one of the above methods is implemented.
[0023] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the pipeline blockage warning method based on GPS positioning and wireless sensor network as described in any one of the above methods is implemented.
[0024] The business scenario problem solved by the present invention is how to accurately monitor and prevent the risk of pipeline blockage caused by sediment accumulation, and how to predict and prevent flood disasters that may be caused by this in advance. The present invention realizes a comprehensive assessment and prediction of pipeline blockage risks, and significantly improves the safety and efficiency of pipeline operation through real-time monitoring, analysis and automatic optimization decision-making. It also provides support for flood warning systems, effectively preventing flood disasters that may be caused by pipeline blockage, thereby ensuring the city's water security and public safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 It is a flow chart of a pipeline blockage early warning method based on GPS positioning and wireless sensor network provided by an embodiment of the present invention;
[0027] Figure 2 It is a structural schematic diagram of a pipeline blockage early warning system based on GPS positioning and wireless sensor network provided by an embodiment of the present invention;
[0028] Figure 3 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0030] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0031] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0032] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0033] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0034] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0035] Reference Figure 1 An embodiment of the present invention provides a pipeline blockage early warning method based on GPS positioning and wireless sensor network, and the method specifically includes:
[0036] S101, obtaining spatial position information of a potential threat pipeline and topographic data of the surrounding environment according to GPS positioning, and after three-dimensional modeling of the spatial position information and the topographic data, quantitatively analyzing the stenosis degree of the potential threat pipeline to obtain a stenosis degree value of the potential threat pipeline.
[0037] In this embodiment, accurate location information of the potentially threatening pipeline is obtained through GPS positioning, and a three-dimensional model of the pipeline is constructed based on the spatial location data of the pipeline by using three-dimensional modeling. The degree of stenosis of the pipeline is quantitatively analyzed to obtain a numerical value of the degree of stenosis of the pipeline.
[0038] In some embodiments, after the spatial position information and the topographic data are three-dimensionally modeled, a quantitative analysis is performed on the stenosis degree of the potential threat pipeline to obtain a stenosis degree value of the potential threat pipeline, specifically including:
[0039] Performing data fusion on the spatial location information and the topographic data according to a geographic information system to obtain spatial location data;
[0040] Using three-dimensional modeling software to perform three-dimensional modeling according to the spatial position data to obtain a three-dimensional model of the pipeline;
[0041] Using a fluid dynamics analysis tool to perform fluid simulation on the three-dimensional model of the pipeline, simulating the flow state of the fluid in the potential threat pipeline, and obtaining a fluid simulation result;
[0042] Determine the abnormal flow velocity area in the potential threat pipeline according to the fluid simulation result;
[0043] The abnormal flow velocity area is quantitatively analyzed according to the least square method to obtain the stenosis degree value of the potential threat pipeline.
[0044] In this embodiment, the precise location information of the potential threat pipeline is obtained through GPS positioning, and this information is converted into coordinate points in the geographic coordinate system. The topographic data of the surrounding environment of the pipeline is collected, including ground elevation, groundwater level and soil type information. According to the pipeline location coordinates and surrounding environment data, the geographic information system (GIS) is used to fuse and analyze the data. The three-dimensional modeling software is used to build a three-dimensional model of the pipeline based on the fused spatial location data to ensure the spatial accuracy of the model. The computational fluid dynamics (CFD) analysis tool is used to perform fluid simulation on the three-dimensional model of the pipeline to simulate the fluid flow state in the pipeline. The fluid simulation results are analyzed to identify areas with abnormal flow velocity inside the pipeline, which may be the locations where stenosis or blockage occurs. For the identified problem areas, a specific algorithm is used to perform quantitative analysis of the degree of stenosis to calculate the specific size and morphological characteristics of the stenosis area. According to the quantitative analysis results, a stenosis degree value is generated, and a quantitative index is assigned to each stenosis area. The pipeline stenosis areas are ranked by quantitative indicators to determine which areas have the most severe stenosis and need to be repaired or replaced first.
[0045] For example, the exact location of a pipeline is determined using GPS technology, and its coordinates are located at 30522°N and 112437°W. Then, terrain data collected in the area shows that the ground elevation is 350 meters, the groundwater level is 30 meters, and the soil type in the area is clay. This information is input into the Geographic Information System (GIS) for data integration and analysis. Next, a 3D modeling software, such as AutoCAD Civil 3D, is used to build a 3D model of the pipeline based on the spatial location data fused in the GIS. Through precise measurements, it is confirmed that the diameter of the pipeline in the model is 5 meters and the length is 500 meters, which is exactly the same as the pipeline in the actual environment. The 3D model of the pipeline is simulated using computational fluid dynamics (CFD) analysis tools, such as ANSYS Fluent. The fluid simulation results may show that the flow velocity suddenly drops from 8 meters / second to 2 meters / second 200 meters from the starting point of the pipeline, indicating that there may be stenosis or blockage there. For the detected abnormal flow velocity area, specific algorithms, such as the least squares method, can be applied to quantify the degree of stenosis. After calculation, it was found that the diameter of the narrow area was reduced to 2 meters. Based on the quantitative analysis results, a numerical indicator of the narrow area can be given, such as a narrow index of 2, which is calculated based on the ratio of the original diameter to the diameter after narrowing. By performing similar analysis and quantification on all the narrow areas found, a list sorted by narrowing index can be generated. For example, the narrowing indices of the three narrow areas of the pipeline are 2, 15 and 1, respectively, indicating that the first area is the most severely narrow and should be repaired or replaced first. In this way, potential threat areas of the pipeline can be effectively identified and prioritized.
[0046] S102, collecting water level data and sediment accumulation data of the potential threat pipeline in real time according to sensor technology, and transmitting the water level data and sediment accumulation data to a monitoring center via a wireless network for real-time monitoring.
[0047] In this embodiment, multiple sensors are installed inside the pipeline to collect water level data and sediment accumulation data in the pipeline in real time. The collected data is transmitted to the monitoring center through wireless communication to monitor the water level and sediment accumulation in real time.
[0048] Specifically, according to the spatial layout and monitoring requirements inside the pipeline, the type, quantity and installation location of the sensor are determined. Ultrasonic liquid level sensors are used to measure water levels, and optical turbidity sensors are used to measure sediment concentrations. By setting the sampling frequency and data transmission cycle of the sensor, continuous water level and sediment data streams are obtained, and the data is preprocessed to filter out abnormal values and noise. Low-power wireless communication protocols such as Zigbee and LoRa are used to transmit sensor data to the monitoring center. At the same time, data compression and encryption algorithms are used to reduce the amount of data transmission and protect data security. A data receiving and storage server is set up in the monitoring center. Through data analysis and conversion, the received raw data is converted into a standard format and stored in a time series database. Based on the water level and sediment data, the operating status of the pipeline is judged. If the water level exceeds the preset threshold or the sediment concentration continues to rise, an early warning message is generated and the operation and maintenance personnel are notified by SMS, email, etc. Through data visualization technology, the water level and sediment status of the pipeline are displayed in real time on the monitoring platform, and historical data query and trend analysis functions are provided to help managers understand the operating laws and potential risks of the pipeline.
[0049] In some embodiments, the real-time collection of water level data and sediment accumulation data of the potential threat pipeline according to sensor technology, and the transmission of the water level data and sediment accumulation data to a monitoring center through a wireless network for real-time monitoring, specifically includes:
[0050] Acquire water level data of the potential threat pipeline using an ultrasonic liquid level sensor, and acquire sediment accumulation data of the potential threat pipeline using an optical turbidity sensor;
[0051] Transmitting the water level data and the sediment accumulation data to a monitoring center via a wireless network after data compression and data encryption;
[0052] Based on the monitoring center, the operating status of the potential threat pipeline is monitored and displayed in real time through the water level data and the sediment accumulation data, and when the water level of the potential threat pipeline exceeds a preset water level threshold or the sediment concentration of the potential threat pipeline exceeds a preset concentration threshold, an early warning notification is sent to the operation and maintenance personnel.
[0053] In this embodiment, for example, in a drainage pipe with a length of 500 meters, an ultrasonic level sensor and an optical turbidity sensor are installed every 50 meters, for a total of 20 sensors. The measurement range of the ultrasonic level sensor is 0-5 meters with an accuracy of ±1 cm; the measurement range of the optical turbidity sensor is 0-1000 NTU with an accuracy of ±5 NTU. The sampling frequency of the sensor is set to once per minute, and the data transmission cycle is set to once every 10 minutes. By median filtering the collected water level and turbidity data, outliers caused by sensor failure or foreign body interference are removed. The filtering algorithm can be expressed as: y(n)=median(x(nk),x(n-k+1),...,x(n),...,x(n+k-1),x(n+k)), where x(n) is the original data sequence, y(n) is the filtered data sequence, and k is the half width of the filter window, which is usually 3-5. The filtered data is sent to the monitoring center through the Zigbee wireless communication module. The data transmission process uses the AES-128 encryption algorithm to ensure the confidentiality and integrity of the data. In the monitoring center, the received binary data packets are converted into data records in JSON format through the data parsing program. Each record contains fields such as sensor ID, timestamp, water level value and turbidity value. The JSON data records are inserted into the InfluxDB time series database, and the database write throughput can reach 10,000 records per second. Through the analysis of water level and turbidity data, early warning rules for pipeline status are established. For example, when the water level at a certain location exceeds 3 meters for 10 consecutive minutes, or the turbidity exceeds 500NTU for 30 consecutive minutes, the system will automatically generate an early warning message and send it to the on-duty personnel through the SMS gateway. On the monitoring platform, data visualization tools such as Grafana are used to display the water level and turbidity data of each location of the pipeline in real time in the form of a dashboard, and the trend of historical data changes is displayed in the form of a line chart.
[0054] S103, collecting internal image data of the potential threat pipeline using a high-definition camera, and classifying and identifying sediments in the internal image data to determine the degree of influence of different sediments in the potential threat pipeline on pipeline blockage.
[0055] In this embodiment, a high-definition camera is installed inside the pipeline to collect image data inside the pipeline. Through image recognition, the sediments in the image are classified and identified to determine the type of sediment, including mud, garbage, and branches. Based on the different types of sediments, the degree of their impact on pipeline blockage is judged.
[0056] Specifically, by selecting the appropriate camera type and lens parameters, images of the interior of the pipeline with sufficiently high clarity and resolution are obtained, and the light source compensation technology is used to ensure the stability of the image quality under different lighting conditions; an image segmentation algorithm based on deep learning is used to preprocess and segment the collected images, extract the sediment area in the image, and obtain information such as the location, shape and size of the sediment; according to the characteristics of the sediment area, image recognition models such as convolutional neural networks are used to classify the sediments to determine whether they belong to types such as mud, garbage, and branches, and calculate the proportion of each type of sediment; if the proportion of a certain type of sediment exceeds a preset threshold, such as the proportion of mud exceeds 30%, the type of sediment is marked as a key focus object and an early warning message is generated; according to the type and proportion of sediment, combined with the material, diameter, slope and other attributes of the pipeline, a model is constructed through machine learning algorithms such as decision trees to evaluate the impact of sediment on pipeline blockage and obtain the pipeline blockage risk level; if the pipeline blockage risk level reaches the early warning threshold, the automatic generation of pipeline dredging or maintenance work orders is triggered, and the relevant information is pushed to the operation and maintenance personnel, and the pipeline health status data is written into the database for subsequent analysis and decision-making.
[0057] In some embodiments, the step of classifying and identifying sediments in the internal image data to determine the degree of influence of different sediments in the potential threat pipeline on pipeline blockage specifically includes:
[0058] Preprocessing and segmenting the internal image data using an image segmentation algorithm, extracting the sediment area of the internal image data, and obtaining sediment features, wherein the sediment features include sediment position, sediment shape, and sediment size;
[0059] According to the sediment characteristics, an image recognition algorithm is used to classify and identify the sediments to obtain various types of sediments and their corresponding proportions;
[0060] Based on the decision tree algorithm, a pipeline sediment assessment model is constructed through various types of sediments and their corresponding proportions and the material properties of the potential threat pipeline. The pipeline sediment assessment model is used to assess the degree of blockage of the potential threat pipeline by the sediments in the potential threat pipeline.
[0061] In this embodiment, for example, a high-definition camera with a resolution of 1920×1080, a frame rate of 30fps, a lens viewing angle of 120°, and an infrared fill light is installed inside the pipeline to ensure that clear images can be obtained even in dark environments. By analyzing the image brightness histogram, the exposure time and gain of the camera are automatically adjusted to keep the average brightness of the image within the range of 128±10 and the contrast above 0.5. The collected images are processed by semantic segmentation algorithms such as U-Net to divide the images into different semantic areas such as background, sediment, garbage, and branches. U-Net adopts an encoder-decoder structure to combine shallow features with deep features through jump connections to improve the accuracy of segmentation. In the encoder part, VGG16 is used as the backbone network, and the fully connected layer is removed; in the decoder part, deconvolution layers and splicing layers are used to gradually restore the resolution of the feature map. After training, the algorithm achieved a pixel-level accuracy of 95% on the sediment dataset. For the segmented sediment area, ResNet50 was used as a feature extractor, and a global average pooling layer and a Softmax classifier were added at the end to classify the sediment. ResNet50 solves the degradation problem of deep networks through residual connections, and achieves a Top-1 error rate of 5.25% on the ImageNet dataset. Transfer learning was performed on its own sediment dataset, freezing the previous convolutional layer and only training the subsequent fully connected layer, and finally achieving a classification accuracy of 98%. By analyzing the classification results, it was found that the highest proportion of sediment was 40%, followed by branches, accounting for 30%; and the lowest proportion of garbage was only 10%. According to the properties of the pipeline such as material (concrete), diameter (600mm), and slope (1 / 500), a decision tree model was constructed to evaluate the impact of sediment on pipeline blockage. The input features of the model include sediment type, proportion, pipeline attributes, etc., and the output is the pipeline blockage risk level (low, medium, and high). After training, the accuracy of the model on the test set reached 90%. Through this model, it is determined that the current pipeline blockage risk level is "high". The main reason is that the proportion of silt and branches is large, and the pipeline slope is small, which is easy to cause sediment accumulation. According to the assessment results of the pipeline blockage risk, the system automatically generates a dredging work order and assigns it to the nearest maintenance team. At the same time, the health status data of the pipeline (including sediment type, proportion, blockage risk level, etc.) is written into the time series database InfluxDB and visualized through Grafana. Operation and maintenance personnel can monitor the status of the pipeline in real time through the dashboard, and predict and prevent the occurrence of pipeline blockage events in advance based on the trend analysis of historical data. In addition, this data is used to optimize pipeline design and dredging strategies, such as adding inspection wells in areas prone to siltation, or adjusting the frequency and intensity of dredging.
[0062] S104, based on a time series analysis method, analyzing the accumulation trends of different types of sediments through the sediment accumulation data, and determining the pipeline blockage risk change trend of the potential threat pipeline.
[0063] In this embodiment, the accumulation rates of different types of sediments are analyzed based on the sediment accumulation data collected by the sensor, and the accumulation trend of the sediments is predicted through the time series analysis method. At the same time, the dissipation of the sediments is monitored to determine the changing trend of the risk of pipeline blockage.
[0064] Specifically, through data preprocessing technology, the sediment accumulation data collected by the sensor is cleaned and converted to remove outliers and noise, and the data is normalized into a format suitable for time series analysis; the autoregressive moving average (ARIMA) model is used to model the accumulation data of different types of sediments to obtain a quantitative description of the sediment accumulation rate and a prediction of future trends; based on the prediction results of the ARIMA model, it is determined whether the accumulation rate of different types of sediments exceeds the preset threshold. If it exceeds the threshold, an early warning message is generated to indicate that the risk of pipeline blockage is increased; through state estimation algorithms such as Kalman filtering, the dissipation of sediments is tracked and estimated to obtain the dynamic changes in the net accumulation of sediments; if the net accumulation of sediments continues to increase, it indicates that the risk of pipeline blockage is increasing, and if the net accumulation shows a downward trend, it indicates that the risk of blockage is decreasing; based on the changes in the sediment accumulation rate and net accumulation, machine learning algorithms such as decision trees and support vector machines are used to classify and predict the changing trend of pipeline blockage risks, obtain dynamic assessment results of risk levels, and feed the results back to the operation and maintenance decision system to support the optimization of pipeline dredging and maintenance strategies.
[0065] In some embodiments, the time series analysis method analyzes the accumulation trends of different types of sediments through the sediment accumulation data to determine the pipeline blockage risk change trend of the potential threat pipeline, specifically including:
[0066] Based on the autoregressive moving average model, different types of sediments are modeled through the sediment accumulation data to obtain a predicted sediment accumulation rate, wherein the predicted sediment accumulation rate includes predicted accumulation rates of different types of sediments;
[0067] According to the predicted sediment accumulation speed, determining whether the accumulation speed of each type of sediment exceeds a preset accumulation speed threshold, and issuing an early warning notification if it exceeds the preset accumulation speed threshold;
[0068] Based on the Kalman filter algorithm, the dissipation of different types of sediments is tracked and estimated through the sediment accumulation data to obtain the dynamic change of the net accumulation of sediments;
[0069] Based on a machine learning algorithm, the pipeline blockage risk change trend of the potential threat pipeline is determined through the predicted sediment accumulation rate and the dynamic change of the net accumulation amount of the sediment.
[0070] In this embodiment, the sensor collects sediment depth data every 10 minutes, and the data collected by different sensors are converted into standardized values with a mean of 0 and a standard deviation of 1 by the Z-score standardization method, so as to facilitate cross-sensor comparison and analysis. The standardized data is subjected to anomaly detection, and the data points exceeding 1.5 times the interquartile range of the first quartile or below 1.5 times the interquartile range of the third quartile are marked as outliers and removed by using the Tukey's fences method. The accumulated data of different types of sediments such as sediment, branches, and garbage are modeled using the ARIMA (p, d, q) model, and the optimal model order is determined by criteria such as AIC and BIC. For example, for sediment data, the optimal model is ARIMA (2, 1, 1), and the model equation is (1-φ1B-φ2B2)(1-B)Xt=(1-θ1B)εt, where B is a lag operator, Xt is the sediment depth at time t, and εt is a white noise sequence. According to the model prediction, the sediment depth will increase at a rate of 0.5 cm per hour in the next 24 hours. If it exceeds 10 cm, an early warning message will be generated. The dissipation of sediment is estimated by the Kalman filter algorithm. The state equation and observation equation are Xt=AXt-1+BUt+WtZt=HXt+Vt, where Xt is the net accumulation state of sediment at time t, Ut is the control input (such as dredging intensity), Zt is the sensor observation value, A, B, H are system matrices, and Wt and Vt are process noise and observation noise. The optimal estimate of the net accumulation of sediment is obtained by Kalman filtering. If the net accumulation increases by more than 20% for three consecutive days, it indicates that the blockage risk has increased significantly. The decision tree algorithm is selected to classify the trend of pipeline blockage risk changes. The characteristic variables include sediment type, accumulation speed, net accumulation, etc., and the target variable is the risk level (low, medium, high). The CART algorithm is used to generate a decision tree, the optimal split attribute is selected by the Gini coefficient, and the optimal depth of the tree is determined by cross-validation to prevent overfitting. The accuracy of the decision tree model on the test set reached 85%, with high reliability. According to the classification results of the decision tree model, the pipeline desilting strategy and maintenance plan are dynamically adjusted. For example, when the pipeline blockage risk level changes from low to medium, the desilting frequency is increased from once a month to once a week; when the risk level changes from medium to high, the emergency plan is immediately activated to carry out comprehensive desilting and maintenance of the pipeline. At the same time, the sediment monitoring data and risk assessment results are transmitted to the pipeline network geographic information system (GIS) in real time, and visualized through the WebGIS platform, so that operation and maintenance personnel can check the pipeline status and risk distribution at any time, and support scientific decision-making and refined management.Through continuous data accumulation and algorithm optimization, the accuracy of sediment prediction and risk assessment is continuously improved, and correlation analysis is carried out with other pipeline monitoring data (such as water quality, flow, pressure, etc.) to build a global pipeline health assessment model, realize the full life cycle intelligent management of urban underground pipelines, and ensure the safe operation of the city.
[0071] S105, based on the distribution and accumulation rate information of different types of sediments in the potential threat pipeline, a fluid dynamics model is used to perform numerical simulation to determine the degree of influence of the sediments in the potential threat pipeline on the water delivery capacity of the potential threat pipeline.
[0072] In this embodiment, based on the sediment type and accumulation rate, a fluid dynamics model is used to evaluate the impact of sediments on the water flow in the pipeline. Through numerical simulation, the water flow velocity and flow rate changes under different sediment conditions are calculated to determine the extent of the impact of sediments on the water delivery capacity of the pipeline.
[0073] Specifically, through image recognition technology and sensor data fusion, the distribution and accumulation speed information of different types of sediments in the pipeline are obtained as the boundary conditions and initial conditions of the fluid dynamics model; according to the geometric shape and material properties of the pipeline, a three-dimensional numerical model of the water flow in the pipeline is established, and the computational fluid dynamics (CFD) software is used to discretize and solve the model; different sediment conditions are set in the numerical model, including parameters such as sediment type, distribution location, accumulation thickness, etc., and the water velocity field and pressure field distribution under different conditions are calculated through numerical simulation; turbulence models such as large eddy simulation (LES) are used to perform a refined simulation of the turbulent flow in the pipeline to obtain the influence of sediments on the turbulence intensity and turbulent viscosity of the water flow; according to the numerical simulation results, the average flow velocity and flow rate of the pipeline under different sediment conditions are calculated, compared with the pipeline design value, and the influence of sediments on the water delivery capacity of the pipeline is evaluated; if the average flow velocity or flow rate of the pipeline is lower than 80% of the design value, it is judged that the sediment has a serious impact on the water delivery capacity of the pipeline, triggering a pipeline desilting or maintenance work order, and the numerical simulation results are fed back to the operation and maintenance decision-making system to optimize the pipeline design and operation plan.
[0074] For example, by analyzing high-definition video images in the pipeline through image recognition technology, it was found that the sediments in a certain section were mainly fine sand, with an average accumulation rate of 2 mm / day. This information was input into the fluid dynamics model as the initial condition. The diameter of the pipeline is 5 meters, and the pipeline material is smooth steel. These geometric shapes and material properties are used to establish a three-dimensional numerical model of the water flow in the pipeline. After discretization using CFD software, the model is solved. For example, a situation is set in the numerical model, such as sediment covering half of the bottom of the pipeline with a uniform thickness of 5 cm. Through numerical simulation, it is found that under this sediment distribution, the water flow velocity field and pressure field have changed significantly, and the water flow velocity has decreased by 30% in the sediment area. The large eddy simulation (LES) turbulence model is used to simulate the water flow in the pipeline. If the turbulent viscosity is 0×10^-6m^2 / s when there is no sediment, the turbulent viscosity increases to 5×10^-6m^2 / s when there is sediment, indicating that the sediment increases the turbulent intensity of the water flow. Through simulation calculation, it is found that sediments cause the average flow velocity of the pipeline to drop from the design value of 2 meters per second to 9 meters per second, and the flow rate to drop from the design value of 5 cubic meters per second to 1 cubic meter per second. Since the flow velocity and flow rate are lower than 80% of the design value, it is determined that the sediments have a serious impact on the water delivery capacity of the pipeline. According to the above numerical simulation results, if no dredging measures are taken, the water delivery capacity of the pipeline is expected to drop by 15% within one year, which will trigger a dredging or maintenance work order for the pipeline. The results will be fed back to the operation and maintenance decision-making system to provide a basis for optimizing pipeline design and operation plans.
[0075] In some embodiments, the numerical simulation using a fluid dynamics model is performed based on the distribution and accumulation rate information of different types of sediments in the potential threat pipeline to determine the degree of influence of the sediments in the potential threat pipeline on the water delivery capacity of the potential threat pipeline, specifically including:
[0076] Using the distribution and accumulation velocity information of different types of sediments in the potential threat pipeline as boundary conditions and initial conditions of the fluid dynamics model;
[0077] A three-dimensional numerical model of water flow in the potential threat pipeline is established according to the geometric shape and material properties of the potential threat pipeline, and computational fluid dynamics software is used to discretize and solve the three-dimensional numerical model of water flow to obtain numerical simulation results;
[0078] According to the numerical simulation results, pipeline flow velocity and flow rate data are calculated and obtained, wherein the pipeline flow velocity and flow rate data include pipeline water flow velocity and pipeline flow rate changes under different sediment conditions;
[0079] By comparing the pipeline flow rate data with the pipeline design value of the potential threat pipeline, the influence degree of the sediment in the potential threat pipeline on the water conveyance capacity of the potential threat pipeline is determined.
[0080] S106, evaluating the actual capacity of the potential threat pipeline according to the potential stenosis degree value and the sediment accumulation data, and determining the degree of influence of the sediment in the potential threat pipeline on the capacity of the potential threat pipeline by comparing the design capacity and the actual capacity of the potential threat pipeline.
[0081] In this embodiment, the actual capacity of the pipeline is evaluated based on the narrowness of the pipeline and the accumulation of sediments, and the influence of the sediments on the pipeline capacity is determined by comparing the designed capacity and the actual capacity of the pipeline.
[0082] Specifically, the volume of available space in the pipeline is calculated through the three-dimensional model of the pipeline and the sediment distribution data to obtain the estimated value of the actual capacity of the pipeline; the Monte Carlo method is used to conduct uncertainty analysis on the actual capacity of the pipeline, and the probability distribution of the actual capacity of the pipeline is generated by considering the degree of pipeline narrowness and the randomness of sediment distribution; the design capacity value of the pipeline is obtained from the pipeline design data, and it is compared with the estimated value of the actual capacity to calculate the percentage of capacity reduction; if the capacity reduction percentage exceeds 20%, it is judged that the sediment has a significant impact on the pipeline capacity and dredging or reconstruction is required; according to the actual capacity and design flow of the pipeline, the maximum filling degree of the pipeline is calculated. If the maximum filling degree exceeds 90%, it is considered that the pipeline is at risk of overflow and needs to be dredged or an overflow well needs to be added in time; the pipeline capacity assessment results are combined with the hydraulic model, and the water transmission capacity and head loss of the pipeline under different sediment conditions are analyzed through hydraulic calculation software to optimize the scheduling and operation plans of the pipeline network.
[0083] For example, by performing spatial analysis on the three-dimensional model of the pipeline, the total volume of the pipeline is calculated to be 1000m³. Using image segmentation and point cloud processing technology, the distribution information of the sediment in the pipeline is extracted, and the silt volume is 80m³ and the calcification volume is 30m³. Therefore, the actual available capacity of the pipeline is estimated to be 890m³. Taking into account the uncertainty of the narrowness of the pipeline and the distribution of sediments, the Monte Carlo method is used to analyze the uncertainty of the capacity. By performing 1000 random samplings on parameters such as pipeline radius and sediment thickness, the probability distribution of the actual capacity of the pipeline is obtained, with a mean of 850m³, a standard deviation of 50m³, and a confidence interval (confidence level 95%) of [760m³, 940m³]. It is learned from the design data that the design capacity of the pipeline is 1200m³. By comparing with the actual capacity estimate, the capacity reduction percentage is calculated to be (1200-850) / 1200=29.2%, which exceeds the threshold of 20%. Therefore, it is judged that the sediment has a significant impact on the pipeline capacity and dredging or reconstruction is required. According to the design flow of the pipeline of 500m³ / h, the maximum filling degree of the pipeline is calculated to be 850 / 1200=70.8%, which is less than the overflow risk threshold of 90%. Therefore, it is considered that there is no overflow risk in the pipeline for the time being, but the accumulation of sediments needs to be continuously monitored to avoid further increase in the filling degree. The actual capacity estimate of the pipeline and the sediment distribution information are imported into the hydraulic calculation software EPANET to build a hydraulic model of the pipeline network. By simulating the hydraulic state of the pipeline network under different sediment conditions, it is calculated that the water delivery capacity of the pipeline decreases by 15% and the head loss increases by 20%. In order to maintain the normal operation of the pipeline network, it is necessary to adjust the speed of the water pump and the opening of the valve to optimize the scheduling plan of the pipeline network. After optimization, the water supply pressure and water quality of the pipeline network have returned to normal levels, ensuring the safety and stability of urban water supply. At the same time, the results of pipeline capacity assessment and hydraulic calculation are uploaded to the urban water supply network geographic information system (GIS) for visualization and analysis through the WebGIS platform. Operation and maintenance personnel can intuitively view the capacity status and hydraulic performance of the pipeline, and reasonably arrange the desilting and renovation plan of the pipeline according to the importance of the pipeline and the impact of sediment. By using the spatial analysis function of GIS, the weak links and key nodes in the pipeline network can be identified, and key monitoring and maintenance can be carried out to improve the overall operation efficiency and reliability of the urban water supply network. Through the joint application of capacity estimation model and hydraulic model, comprehensive diagnosis and optimization of the urban water supply network can be achieved, providing strong technical support for the scientific and refined management of the pipeline network.
[0084] S107, obtaining rainfall data of the area where the potential threat pipeline is located, and using the rainfall data, the narrowness value, the sediment accumulation data and the degree of influence on the water delivery capacity, using a machine learning algorithm to establish a rainfall blockage risk prediction model, wherein the rainfall blockage risk prediction model is used to predict the blockage risk level of the potential threat pipeline under different rainfall conditions.
[0085] In this embodiment, rainfall forecast information for the area where the pipeline is located is obtained through a meteorological data interface. Combined with the narrowness of the pipeline, sediment accumulation, and water flow impact assessment results, a machine learning algorithm is used to establish a rainfall-blockage risk prediction model to predict the pipeline blockage risk level under different rainfall conditions.
[0086] In some embodiments, the rainfall blockage risk prediction model is established by using a machine learning algorithm based on the rainfall data, the stenosis value, the sediment accumulation data and the water delivery capacity impact, specifically including:
[0087] Associating the rainfall data with pipeline attribute data of the potential threat pipeline to form a first input feature set, the pipeline attribute data including the stenosis value, the sediment accumulation data and the water delivery capacity impact degree;
[0088] According to the stenosis degree value, the sediment accumulation data and the degree of influence on the water delivery capacity, the blockage risk of the potential threat pipeline is graded to obtain the pipeline blockage risk level, and the pipeline blockage risk level is used as the target variable;
[0089] Based on a machine learning algorithm, network training optimization is performed through the first input feature set and the target variable to obtain a rainfall blockage risk warning model.
[0090] In this embodiment, a Web service or API is used to connect with the data platform of the meteorological department to regularly obtain rainfall forecast data for the next 24 to 72 hours in the area where the pipeline is located, including parameters such as rainfall, rainfall intensity and rainfall duration; the rainfall forecast data is preprocessed through data cleaning and feature engineering to extract key features, such as maximum hourly rainfall, cumulative rainfall, etc., and they are associated with pipeline attribute data to construct an input feature set of the rainfall-blockage risk prediction model; according to the narrowness of the pipeline, the accumulation of sediments and the results of water flow impact assessment, the blockage risk of the pipeline is graded, such as low risk, medium risk, high risk, etc., as the target variable of the rainfall-blockage risk prediction model Quantity; select appropriate machine learning algorithms, such as decision trees, random forests or support vector machines, to train the rainfall-blockage risk prediction model, optimize the model's hyperparameters through methods such as cross-validation and grid search, and improve the prediction accuracy; deploy the trained rainfall-blockage risk prediction model to the production environment, and when new rainfall forecast data is obtained, automatically trigger the model's prediction process to obtain the pipeline's blockage risk level under different rainfall conditions; if the predicted blockage risk level reaches the warning threshold, automatically generate warning information, notify relevant operation and maintenance personnel through SMS, email or work order system, and push the warning information to the pipeline network geographic information system (GIS) and smart pipeline network platform for decision makers to conduct risk assessment and emergency response.
[0091] For example, by connecting to the API interface of the meteorological department, rainfall forecast data for the next 72 hours is obtained every hour, including hourly rainfall, maximum hourly rainfall intensity, etc. For a concrete drainage pipe with a diameter of 800mm and a length of 1000m, the average narrowness is 10%, the accumulated sediment thickness is 50mm, and the water flow rate is reduced by 20% through monitoring by sensors inside the pipe. These pipe attribute data are associated with rainfall forecast data to construct an input feature set containing 10 feature variables, including the accumulated rainfall in the next 24 hours, the accumulated rainfall in the next 48 hours, the maximum hourly rainfall intensity, the narrowness of the pipe, the thickness of the sediment, the proportion of water flow rate reduction, etc. Based on historical data and expert experience, the pipeline blockage risk is divided into three levels: low risk (blockage probability <10%), medium risk (blockage probability 10%-50%), and high risk (blockage probability >50%), as the target variable of the rainfall-blockage risk prediction model. After collecting historical rainfall and blockage event data of 100 pipelines, 80% of the data were randomly selected as the training set and 20% of the data were randomly selected as the test set. The rainfall-blockage risk prediction model was trained using the random forest algorithm. Through grid search and 10-fold cross validation, the optimal model hyperparameters were obtained: the number of trees was 100, the maximum tree depth was 5, and the minimum number of node samples was 10. On the test set, the accuracy of the model reached 85%, and the AUC value was 0.92, showing good prediction performance. The trained model was deployed to the prediction server in the cloud, and the prediction process of the model was automatically triggered whenever new rainfall forecast data was obtained. For example, when the cumulative rainfall in the next 24 hours was predicted to be 120mm, the cumulative rainfall in the next 48 hours was 180mm, and the maximum hourly rainfall intensity was 40mm / h, the model predicted that the blockage risk level of the pipeline was high risk and the blockage probability was 75%. The system automatically generates warning information and notifies the on-duty personnel of the municipal drainage department through SMS and email. At the same time, the warning information is pushed to the GIS interface of the smart pipe network platform, and the location of the high-risk pipeline is marked in red. Based on the early warning information, the on-duty personnel deployed dredging equipment and personnel in advance to carry out preventive dredging of high-risk pipelines, reducing the risk of pipeline blockage and urban waterlogging. By analyzing the correspondence between historical early warning information and actual blockage events, it was found that the early warning accuracy of the prediction model was 80%, and the average early warning time was 6 hours, which won valuable time for the operation and maintenance of the drainage network. At the same time, combining the results of the prediction model with the hydraulic model of the drainage network can simulate the water flow state and pressure distribution of the network under different rainfall conditions, identify the weak links and waterlogging points in the network, and provide data support for the transformation and optimization of the drainage network.
[0092] S108, evaluating the blockage probability of each potential threat pipeline through the rainfall blockage risk prediction model, and automatically generating an optimal pipeline maintenance plan using a decision optimization algorithm, wherein the optimal pipeline maintenance plan is used to achieve optimal maintenance work for the potential threat pipeline.
[0093] In this embodiment, based on the assessment results of pipeline blockage risk, the decision optimization algorithm is applied to automatically generate the optimal pipeline maintenance and desilting strategy. The scheduling management system is used to dynamically optimize the maintenance and desilting time, frequency and intensity of the pipeline, significantly reducing the blockage risk.
[0094] In one possible implementation, the dispatching and management system collects and organizes historical maintenance records and desilting logs of pipelines, extracts maintenance time, frequency and intensity data, and lays a data foundation for subsequent analysis. Combined with meteorological data, urban drainage system design parameters and historical flood records, a machine learning algorithm is used to construct a pipeline blockage risk assessment model to evaluate the blockage probability of each pipeline section. The assessment results are processed by a decision optimization algorithm to determine which pipeline sections should be prioritized for maintenance or desilting, as well as the corresponding optimal maintenance strategy. Combined with meteorological data, a weather prediction model is constructed by a machine learning algorithm to analyze future weather conditions and predict possible extreme weather events, providing a basis for the selection of pipeline maintenance and desilting timing. According to weather forecast results and pipeline usage, the maintenance and desilting plan is dynamically adjusted to optimize the desilting time of each pipeline section to ensure that the desilting of key areas is completed before the flood arrives. The adjusted maintenance plan is input into the dispatching and management system, and the system automatically arranges maintenance personnel and desilting equipment to achieve effective allocation of maintenance tasks. The progress of maintenance and desilting operations is monitored using a real-time monitoring system to ensure that the operations are carried out as planned, and the operation plan is adjusted in time when deviations occur. After the maintenance work is completed, the maintenance records are updated, the effectiveness of the maintenance measures taken is evaluated, and empirical data is provided for subsequent decision-making. The updated data is fed back into the pipeline blockage risk assessment model and decision optimization algorithm to continuously optimize pipeline maintenance and desilting strategies and improve the accuracy and effectiveness of the flood warning system.
[0095] For example, the dispatch management system collected and sorted out the historical maintenance records and desilting logs of Pipeline A, and found that Pipeline A had been maintained eight times in the past year, with an average maintenance interval of 45 days, and each desilting intensity removed approximately 200 cubic meters of sediment. These data laid the data foundation for subsequent analysis. Combining meteorological data, urban drainage system design parameters, and historical flood records, a pipeline blockage risk assessment model was constructed using the random forest machine learning algorithm. The model predicted that the probability of blockage of Pipeline A was 30%. The assessment results were processed by the decision optimization algorithm, and the greedy algorithm was used to determine that in the next quarter, based on the current maintenance resources, Pipeline A should be prioritized for maintenance or desilting because its risk score was the highest among all pipelines. Combined with meteorological data, a weather forecast model constructed using the support vector machine (SVM) algorithm was used to analyze future weather conditions. The model predicted that there was an 80% probability of an extreme weather event with more than 100 mm of precipitation occurring in the next two weeks. Based on such weather forecast results and the current usage of Pipeline A, the maintenance team decided to advance the desilting plan originally scheduled for 30 days to 15 days later to ensure that the desilting of key areas was completed before the flood. The adjusted maintenance plan was input into the dispatch management system, and the system automatically arranged 5 maintenance personnel and 2 desilting equipment to complete the maintenance task of Pipeline A within the scheduled time. The real-time monitoring system was used to monitor the progress of the maintenance and desilting operations of Pipeline A. The monitoring showed that the progress of the maintenance operation reached 90% of the scheduled progress and was in line with the plan. After the maintenance operation was completed, the maintenance record of Pipeline A was updated, and the inspection after desilting showed that the probability of blockage dropped to 5%, indicating that the maintenance measures taken were effective. The updated data was fed back to the pipeline blockage risk assessment model and decision optimization algorithm, and the accuracy of the model was improved by 10%. The optimization algorithm successfully reduced the maintenance cost by 15%, and improved the accuracy and effectiveness of the flood warning system.
[0096] In some embodiments, the method further includes: establishing a flood warning model using a long short-term memory network algorithm based on historical pipeline blockage data and the rainfall data, and determining the flood risk level of floods caused by the potential threat pipeline through the flood warning model.
[0097] In this embodiment, a flood warning model is established by combining pipeline blockage risk and rainfall data through a long short-term memory network algorithm. This model will predict the flood risk level faced by the pipeline based on real-time monitoring data and weather forecast information.
[0098] Specifically, the flood warning model is established using a long short-term memory network algorithm based on the historical pipeline blockage data and the rainfall data, including:
[0099] Associating the historical pipeline blockage data with the rainfall data to form a second input feature set;
[0100] Constructing an input layer and an output layer of a long short-term memory network model, wherein the input layer is used to receive historical pipeline blockage frequency, rainfall pattern, rainfall intensity and duration, and the output layer is used to output the flood risk level of the potential threat pipeline causing flooding;
[0101] The second input feature set is input into the long short-term memory network model for training and optimization to obtain a flood warning model.
[0102] In this embodiment, historical pipeline blockage data and rainfall data are collected to establish a database for a specific area, which contains pipeline blockage records and attributes such as time, location, and rainfall. The input layer of the long short-term memory network algorithm is required to be able to accept data with attributes such as historical pipeline blockage frequency, rainfall pattern, rainfall intensity, and duration. By analyzing historical data, a suitable time window is set to capture the time series characteristics that affect flood risk, such as the impact of lagged rainfall on current blockage risk. The flood warning model is trained to enable it to identify the complex relationship between pipeline blockage risk and rainfall pattern, and learn the implicit pattern in the time series. The trained model is verified, and its prediction ability is tested using data in the verification set to ensure that the model can accurately predict future pipeline blockage risks. The real-time monitoring system is integrated to automatically obtain real-time pipeline flow data, rainfall intensity data, and other information, and update them in real time to the model database. Combined with the upcoming weather forecast data, the rainfall pattern within a certain time range in the future is predicted, including expected rainfall, rainfall probability, and expected duration. The real-time pipeline flow data and the predicted future rainfall pattern data are input into the model to obtain a forecast of the flood risk level faced by the pipeline in the short term. Based on the flood risk level prediction results, the corresponding early warning system will be automatically triggered, and relevant personnel and residents will be informed through alarms, text messages, application notifications, etc., so that they can take necessary preventive measures.
[0103] For example, historical pipe blockage data and rainfall data for a city over the past five years were collected. A record in the database shows that a pipe blockage event occurred in the city center on July 15, 2018, and the rainfall recorded on that day was 35mm. The attributes contained in this database are the date and time of the event record (2018-07-15 16:30), the location (Fifth Avenue in the city center), the rainfall (35mm), and the average daily rainfall in the week before the event (for example, the average daily rainfall in the previous week was 10mm). The input layer of a long short-term memory network algorithm was constructed to process data including historical pipe blockage frequency, rainfall pattern, rainfall intensity and duration. The input layer of the network was designed to receive a sequence of the maximum rainfall and duration for each day in the previous 30 days. In order to train the flood warning model, a 15-day time window was set to capture the time series features that affect flood risk. It was found that the risk of pipe blockage increased significantly when the cumulative rainfall exceeded 50mm for two consecutive days. After the model training was completed, it was tested using a validation set containing data from the past year, and it was found that the model could predict the risk of pipe blockage in the next week with an accuracy of 85%. For the following week, the model predicts that the risk of pipe blockage in a specific block increases to 70% when rainfall is expected to reach 20 mm per hour. After integrating the real-time monitoring system, the system recorded a pipe flow of 2 cubic meters per second on a main street in the suburbs on August 5, 2022. At the same time, the real-time rainfall intensity data showed that the current rainfall intensity was 15 mm per hour and lasted for 2 hours. According to the weather forecast, a rain storm with a rainfall of 40 mm is expected in the area in the next 48 hours. This data is input into the model along with the real-time pipe flow data, and the model predicts a medium flood risk level for the pipe in the next two days. Based on the predicted flood risk level, the system automatically triggered the early warning system and notified 150 residents and relevant personnel via text message, which reads "Warning: There may be a medium level of flood risk on the main streets in the suburbs in the next 48 hours. Please take necessary precautions.
[0104] Reference Figure 2 An embodiment of the present invention provides a pipeline blockage early warning system 2 based on GPS positioning and wireless sensor network, and the system 2 specifically includes:
[0105] The first early warning module 201 is used to obtain the spatial position information of the potential threat pipeline and the topographic data of the surrounding environment according to GPS positioning, and after the spatial position information and the topographic data are three-dimensionally modeled, quantitatively analyze the stenosis degree of the potential threat pipeline to obtain the stenosis degree value of the potential threat pipeline;
[0106] The second early warning module 202 is used to collect the water level data and sediment accumulation data of the potential threat pipeline in real time according to the sensor technology, and transmit the water level data and sediment accumulation data to the monitoring center through the wireless network for real-time monitoring;
[0107] The third early warning module 203 is used to collect internal image data of the potential threat pipeline using a high-definition camera, and to determine the degree of influence of different sediments in the potential threat pipeline on pipeline blockage by classifying and identifying sediments in the internal image data;
[0108] The fourth early warning module 204 is used to analyze the accumulation trend of different types of sediments through the sediment accumulation data based on a time series analysis method, and determine the pipeline blockage risk change trend of the potential threat pipeline;
[0109] The fifth early warning module 205 is used to perform numerical simulation using a fluid dynamics model based on the distribution and accumulation rate information of different types of sediments in the potential threat pipeline to determine the degree of influence of the sediments in the potential threat pipeline on the water delivery capacity of the potential threat pipeline;
[0110] A sixth warning module 206 is used to evaluate the actual capacity of the potential threat pipeline according to the potential stenosis degree value and the sediment accumulation data, and determine the degree of influence of the sediment in the potential threat pipeline on the capacity of the potential threat pipeline by comparing the design capacity and the actual capacity of the potential threat pipeline;
[0111] The seventh early warning module 207 is used to obtain rainfall data of the area where the potential threat pipeline is located, and establish a rainfall blockage risk prediction model using a machine learning algorithm based on the rainfall data, the narrowness value, the sediment accumulation data and the water delivery capacity impact degree. The rainfall blockage risk prediction model is used to predict the blockage risk level of the potential threat pipeline under different rainfall conditions;
[0112] The eighth early warning module 208 is used to evaluate the blockage probability of each potential threat pipeline through the rainfall blockage risk prediction model, and automatically generate an optimal pipeline maintenance plan using a decision optimization algorithm. The optimal pipeline maintenance plan is used to achieve the optimal maintenance work of the potential threat pipeline.
[0113] It is understandable that if Figure 1 The contents of the pipeline blockage early warning method embodiment based on GPS positioning and wireless sensor network shown in the figure are applicable to the pipeline blockage early warning system embodiment based on GPS positioning and wireless sensor network. The functions specifically implemented by the pipeline blockage early warning system embodiment based on GPS positioning and wireless sensor network are similar to those in the embodiment shown in the figure. Figure 1The pipeline blockage early warning method embodiment based on GPS positioning and wireless sensor network shown in the figure is the same as that in the embodiment shown in the figure, and the beneficial effects achieved are the same as those in the embodiment shown in the figure. Figure 1 The beneficial effects achieved by the pipeline blockage early warning method embodiment based on GPS positioning and wireless sensor network are also the same.
[0114] It should be noted that the information interaction, execution process and other contents between the above-mentioned systems are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0115] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the system can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0116] Reference Figure 3 The embodiment of the present invention further provides a computer device 3, comprising: a memory 302 and a processor 301 and a computer program 303 stored in the memory 302. When the computer program 303 is executed on the processor 301, a pipeline blockage warning method based on GPS positioning and wireless sensor network as described in any one of the above methods is implemented.
[0117] The computer device 3 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The computer device 3 may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that Figure 3 It is only an example of computer device 3 and does not constitute a limitation on computer device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.
[0118] The processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0119] In some embodiments, the memory 302 may be an internal storage unit of the computer device 3, such as a hard disk or memory of the computer device 3. In other embodiments, the memory 302 may also be an external storage device of the computer device 3, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the computer device 3. Further, the memory 302 may also include both an internal storage unit of the computer device 3 and an external storage device. The memory 302 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 302 may also be used to temporarily store data that has been output or is to be output.
[0120] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the pipeline blockage early warning method based on GPS positioning and wireless sensor network as described in any one of the above methods is implemented.
[0121] In this embodiment, if the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, USB flash drive, mobile hard disk, disk or optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0122] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0123] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0124] In the embodiments disclosed in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Claims
1. A pipeline blockage early warning method based on GPS positioning and wireless sensor network, characterized in that: The method specifically comprises: Acquire spatial location information of the potential threat pipeline and topographic data of the surrounding environment according to GPS positioning, conduct quantitative analysis on the stenosis degree of the potential threat pipeline after three-dimensional modeling of the spatial location information and the topographic data, and obtain the stenosis degree value of the potential threat pipeline; Collecting water level data and sediment accumulation data of the potential threat pipeline in real time according to sensor technology, and transmitting the water level data and sediment accumulation data to a monitoring center through a wireless network for real-time monitoring; Collecting internal image data of the potential threat pipeline using a high-definition camera, and classifying and identifying sediments in the internal image data to determine the degree of influence of different sediments in the potential threat pipeline on pipeline blockage; Based on the time series analysis method, the accumulation trend of different types of sediments is analyzed through the sediment accumulation data to determine the pipeline blockage risk change trend of the potential threat pipeline; According to the distribution and accumulation rate information of different types of sediments in the potential threat pipeline, a fluid dynamics model is used to perform numerical simulation to determine the degree of influence of the sediments in the potential threat pipeline on the water conveyance capacity of the potential threat pipeline; Evaluating the actual capacity of the potential threat pipeline according to the stenosis value of the potential threat pipeline and the sediment accumulation data, and determining the degree of influence of the sediment in the potential threat pipeline on the capacity of the potential threat pipeline by comparing the design capacity and the actual capacity of the potential threat pipeline; Obtain rainfall data for the area where the potential threat pipeline is located, and establish a rainfall blockage risk prediction model using a machine learning algorithm based on the rainfall data, the narrowness value, the sediment accumulation data, and the degree of influence on the water delivery capacity. The rainfall blockage risk prediction model is used to predict the blockage risk level of the potential threat pipeline under different rainfall conditions; The rainfall blockage risk prediction model is used to evaluate the blockage probability of each potential threat pipeline, and a decision optimization algorithm is used to automatically generate an optimal pipeline maintenance plan, which is used to achieve optimal maintenance work for the potential threat pipeline.
2. The method according to claim 1, characterized in that After the spatial position information and the topographic data are modeled in three dimensions, a quantitative analysis is performed on the stenosis degree of the potential threat pipeline to obtain a stenosis degree value of the potential threat pipeline, specifically including: Performing data fusion on the spatial location information and the topographic data according to a geographic information system to obtain spatial location data; Using three-dimensional modeling software to perform three-dimensional modeling according to the spatial position data to obtain a three-dimensional model of the pipeline; Using a fluid dynamics analysis tool to perform fluid simulation on the three-dimensional model of the pipeline, simulating the flow state of the fluid in the potential threat pipeline, and obtaining a fluid simulation result; Determine the abnormal flow velocity area in the potential threat pipeline according to the fluid simulation result; The abnormal flow velocity area is quantitatively analyzed according to the least square method to obtain the stenosis degree value of the potential threat pipeline.
3. The method according to claim 1, characterized in that The real-time collection of water level data and sediment accumulation data of the potential threat pipeline according to sensor technology, and transmission of the water level data and sediment accumulation data to a monitoring center through a wireless network for real-time monitoring, specifically includes: Acquire water level data of the potential threat pipeline using an ultrasonic liquid level sensor, and acquire sediment accumulation data of the potential threat pipeline using an optical turbidity sensor; Transmitting the water level data and the sediment accumulation data to a monitoring center via a wireless network after data compression and data encryption; Based on the monitoring center, the operating status of the potential threat pipeline is monitored and displayed in real time through the water level data and the sediment accumulation data, and when the water level of the potential threat pipeline exceeds a preset water level threshold or the sediment concentration of the potential threat pipeline exceeds a preset concentration threshold, an early warning notification is sent to the operation and maintenance personnel.
4. The method according to claim 1, characterized in that: The method of classifying and identifying sediments on the internal image data to determine the degree of influence of different sediments in the potential threat pipeline on pipeline blockage specifically includes: Preprocessing and segmenting the internal image data using an image segmentation algorithm, extracting the sediment area of the internal image data, and obtaining sediment features, wherein the sediment features include sediment position, sediment shape, and sediment size; According to the sediment characteristics, an image recognition algorithm is used to classify and identify the sediments to obtain various types of sediments and their corresponding proportions; Based on the decision tree algorithm, a pipeline sediment assessment model is constructed through various types of sediments and their corresponding proportions and the material properties of the potential threat pipeline. The pipeline sediment assessment model is used to assess the degree of blockage of the potential threat pipeline by the sediments in the potential threat pipeline.
5. The method according to claim 1, characterized in that: The time series analysis method is based on analyzing the accumulation trends of different types of sediments through the sediment accumulation data to determine the pipeline blockage risk change trend of the potential threat pipeline, specifically including: Based on the autoregressive moving average model, different types of sediments are modeled through the sediment accumulation data to obtain a predicted sediment accumulation rate, wherein the predicted sediment accumulation rate includes predicted accumulation rates of different types of sediments; According to the predicted sediment accumulation speed, determining whether the accumulation speed of each type of sediment exceeds a preset accumulation speed threshold, and issuing an early warning notification if it exceeds the preset accumulation speed threshold; Based on the Kalman filter algorithm, the dissipation of different types of sediments is tracked and estimated through the sediment accumulation data to obtain the dynamic change of the net accumulation of sediments; Based on a machine learning algorithm, the pipeline blockage risk change trend of the potential threat pipeline is determined through the predicted sediment accumulation rate and the dynamic change of the net accumulation amount of the sediment.
6. The method according to claim 1, characterized in that According to the distribution and accumulation speed information of different types of sediments in the potential threat pipeline, a fluid dynamics model is used to perform numerical simulation to determine the degree of influence of the sediments in the potential threat pipeline on the water delivery capacity of the potential threat pipeline, specifically including: Using the distribution and accumulation velocity information of different types of sediments in the potential threat pipeline as boundary conditions and initial conditions of the fluid dynamics model; A three-dimensional numerical model of water flow in the potential threat pipeline is established according to the geometric shape and material properties of the potential threat pipeline, and the three-dimensional numerical model of water flow is discretized and solved by computational fluid dynamics software to obtain numerical simulation results; According to the numerical simulation results, pipeline flow velocity and flow rate data are calculated and obtained, wherein the pipeline flow velocity and flow rate data include pipeline water flow velocity and pipeline flow rate changes under different sediment conditions; By comparing the pipeline flow rate data with the pipeline design value of the potential threat pipeline, the influence degree of the sediment in the potential threat pipeline on the water conveyance capacity of the potential threat pipeline is determined.
7. The method according to claim 1, characterized in that The rainfall blockage risk prediction model is established by using the rainfall data, the narrowness value, the sediment accumulation data and the water delivery capacity impact degree using a machine learning algorithm, specifically including: Associating the rainfall data with pipeline attribute data of the potential threat pipeline to form a first input feature set, the pipeline attribute data including the stenosis value, the sediment accumulation data and the water delivery capacity impact degree; According to the stenosis degree value, the sediment accumulation data and the degree of influence on the water delivery capacity, the blockage risk of the potential threat pipeline is graded to obtain the pipeline blockage risk level, and the pipeline blockage risk level is used as the target variable; Based on a machine learning algorithm, network training optimization is performed through the first input feature set and the target variable to obtain a rainfall blockage risk warning model.
8. The method according to claim 1, characterized in that The method further comprises: establishing a flood warning model using a long short-term memory network algorithm according to the historical pipeline blockage data and the rainfall data, and determining the flood risk level of the flood caused by the potential threat pipeline through the flood warning model; The method of establishing a flood warning model using a long short-term memory network algorithm based on the historical pipeline blockage data and the rainfall data, and determining the flood risk level of the flood caused by the potential threat pipeline through the flood warning model specifically includes: Associating the historical pipeline blockage data with the rainfall data to form a second input feature set; Constructing an input layer and an output layer of a long short-term memory network model, wherein the input layer is used to receive historical pipeline blockage frequency, rainfall pattern, rainfall intensity and duration, and the output layer is used to output the flood risk level of the potential threat pipeline causing flooding; The second input feature set is input into the long short-term memory network model for training and optimization to obtain a flood warning model.
9. The pipeline blockage early warning system based on GPS positioning and wireless sensor network is characterized by: The system specifically comprises: The first early warning module is used to obtain the spatial position information of the potential threat pipeline and the topographic data of the surrounding environment according to GPS positioning, and after the spatial position information and the topographic data are three-dimensionally modeled, quantitatively analyze the stenosis degree of the potential threat pipeline to obtain the stenosis degree value of the potential threat pipeline; The second early warning module is used to collect the water level data and sediment accumulation data of the potential threat pipeline in real time according to the sensor technology, and transmit the water level data and sediment accumulation data to the monitoring center through the wireless network for real-time monitoring; A third early warning module is used to collect internal image data of the potential threat pipeline using a high-definition camera, and to determine the degree of influence of different sediments in the potential threat pipeline on pipeline blockage by classifying and identifying sediments in the internal image data; A fourth early warning module is used to analyze the accumulation trends of different types of sediments through the sediment accumulation data based on a time series analysis method, and determine the pipeline blockage risk change trend of the potential threat pipeline; A fifth early warning module is used to perform numerical simulation using a fluid dynamics model based on the distribution and accumulation rate information of different types of sediments in the potential threat pipeline to determine the degree of influence of the sediments in the potential threat pipeline on the water delivery capacity of the potential threat pipeline; a sixth warning module, for evaluating the actual capacity of the potential threat pipeline according to the stenosis value of the potential threat pipeline and the sediment accumulation data, and determining the degree of influence of the sediment in the potential threat pipeline on the capacity of the potential threat pipeline by comparing the design capacity and the actual capacity of the potential threat pipeline; The seventh early warning module is used to obtain rainfall data of the area where the potential threat pipeline is located, and establish a rainfall blockage risk prediction model using a machine learning algorithm based on the rainfall data, the narrowness value, the sediment accumulation data and the degree of influence of the water delivery capacity. The rainfall blockage risk prediction model is used to predict the blockage risk level of the potential threat pipeline under different rainfall conditions; The eighth early warning module is used to evaluate the blockage probability of each potential threat pipeline through the rainfall blockage risk prediction model, and automatically generate an optimal pipeline maintenance plan using a decision optimization algorithm. The optimal pipeline maintenance plan is used to achieve the optimal maintenance work of the potential threat pipeline.
