Water supply network leakage identification system based on variational mode decomposition
Through the water supply pipe network leakage identification system based on variational mode decomposition and machine learning, the problems of low leakage detection efficiency and insufficient accuracy in the existing technology are solved, and efficient and accurate leakage location and automatic adjustment are achieved. Improved the operational efficiency and safety of the water supply system.
Patent Information
- Application Number
- CN202410784895.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-18
AI Technical Summary
The existing water supply pipeline network leakage detection methods are inefficient and difficult to locate leakage points accurately and timely. Especially in complex pipeline network environments and changeable interference signals, the accuracy and robustness of traditional signal processing methods are insufficient.
A water supply pipeline network leakage identification system based on variational mode decomposition is designed, including data collection, preprocessing, variational mode decomposition, feature extraction, leakage identification and alarm control modules, using VMD to decompose signals into intrinsic Modal functions, combined with machine learning algorithms such as support vector machines and neural networks, are used to identify leaks and reduce the impact of leaks by automatically adjusting valve opening and water pressure.
It has significantly improved the accuracy and efficiency of leakage detection. It can monitor the operating status of the pipe network in real time, discover and locate leakage points in time, automatically adjust the pipe network parameters, reduce the impact of leakage, and improve the operating efficiency and safety of the water supply system.
Smart Images

Figure CN118793956A_ABST
Abstract
Description
Technical field:
[0001] The invention relates to the technical field of water supply pipeline leakage identification, and in particular to a water supply pipe network leakage identification system based on variational mode decomposition. Background technology:
[0002] With the acceleration of urbanization, the water supply network system has gradually become more and more complex and large. However, the leakage problem of the water supply network has become increasingly serious, bringing huge challenges to water supply companies and urban management. Leakage not only wastes precious water resources, but also increases water supply costs and may cause safety hazards such as ground collapse. Traditional leakage detection methods mainly rely on manual inspections and simple pressure monitoring. These methods are not only inefficient, but also difficult to locate the leakage point in a timely and accurate manner.
[0003] At present, the development of leakage detection technology is focused on methods based on signal processing and data analysis. These methods analyze the operation data of the pipeline network and identify abnormal conditions, thereby detecting and locating leakage. However, existing signal processing methods (such as fast Fourier transform, empirical mode decomposition, etc.) have certain limitations when processing complex and non-stationary signals. In particular, when faced with complex pipeline network operation environments and diverse interference signals, the accuracy and robustness of traditional methods are difficult to guarantee.
[0004] Variational Mode Decomposition (VMD), as an emerging signal processing method, can effectively decompose complex signals into several intrinsic mode functions (IMFs), each of which corresponds to a specific frequency component. VMD achieves adaptive decomposition of signals by solving variational problems, with higher resolution and robustness. Therefore, applying VMD to leakage identification in water supply networks can improve the accuracy and efficiency of leakage detection.
[0005] In addition, with the development of machine learning technology, especially the widespread application of support vector machines (SVM) and neural networks (NeuralNetwork) in pattern recognition, new technical means have been provided for leakage detection of water supply networks. Through training on a large amount of historical data, machine learning models can automatically identify and classify leakage characteristics, and achieve accurate leakage location and early warning.
[0006] Therefore, we urgently need to design a water supply network leakage identification system based on variational mode decomposition to solve the above problems. Summary of the invention:
[0007] The purpose of the present invention is to provide a water supply network leakage identification system based on variational mode decomposition to solve the problems raised in the above background technology.
[0008] To achieve the above object, the present invention provides the following technical solution: a water supply network leakage identification system based on variational mode decomposition, comprising a data acquisition module, a data preprocessing module, a variational mode decomposition module, a feature extraction module, a leakage identification module and an alarm and control module.
[0009] The data acquisition module is used to collect the pressure and flow data of the water supply network in real time, and the sensors are arranged at key nodes of the water supply network to ensure the representativeness and accuracy of the data;
[0010] The data preprocessing module is used to clean, denoise and standardize the raw data to improve the data quality and the accuracy of subsequent processing;
[0011] The variational mode decomposition module is used to perform variational mode decomposition on the preprocessed data to obtain a number of intrinsic mode functions (IMFs), each of which represents a different frequency component of the signal;
[0012] The feature extraction module is used to extract energy features, frequency features and amplitude features from the IMF to form a feature vector for leakage identification;
[0013] The leakage identification module is used to identify and locate leakage based on the extracted features, and adopts machine learning algorithms such as support vector machines or neural networks for classification and prediction;
[0014] The alarm and control module is used to generate alarm information when leakage is detected, and notify maintenance personnel via SMS or email. At the same time, it automatically adjusts the operating parameters of the water supply network, such as adjusting the valve opening and changing the water pressure, to reduce the impact of leakage.
[0015] As a preferred technical solution of the present invention, the variational mode decomposition module uses a variational mode decomposition (VMD) algorithm to decompose the signal, and the specific steps include:
[0016] Assuming the signal x(t) as the signal to be decomposed, the VMD algorithm decomposes the signal x(t) into several intrinsic mode functions (IMF) by solving the following variational problem:
[0017]
[0018] Among them, u k (t) is the kth eigenmode function, ω k is its center frequency, represents the derivative with respect to time t, δ(t) is the Dirac function, j is the imaginary unit, * represents the convolution operation, and K is the mode number.
[0019] As a preferred technical solution of the present invention, the energy feature E extracted by the feature extraction module kCalculated by the following formula:
[0020] Among them, u k (t) is the kth eigenmode function. Energy characteristic E k It is used to reflect the energy distribution of each mode in the signal, thereby providing a deep understanding of the operating status of the pipeline network.
[0021] As a preferred technical solution of the present invention, the frequency feature f extracted by the feature extraction module k Calculated by the following formula:
[0022]
[0023] Among them, u k (t) is the kth eigenmode function, with frequency characteristic f k It reflects the main frequency components of different modes in the signal and helps to identify leakage characteristics.
[0024] As a preferred technical solution of the present invention, the leakage identification module uses a support vector machine (SVM) for leakage identification, and its classification decision function is:
[0025]
[0026] Among them, α i is the Lagrange multiplier, y i is the category label, K(x i ,x) is the kernel function, and b is the bias term. Through training on a large amount of historical data, the SVM model can effectively identify and classify leakage events.
[0027] As a preferred technical solution of the present invention, the alarm and control module includes a text message and email notification system. When the leakage identification module detects a leakage, the system will automatically send an alarm message to the relevant maintenance personnel to ensure timely response and processing.
[0028] As a preferred technical solution of the present invention, the alarm and control module further includes a function of automatically controlling the valve, which is used to adjust the valve opening of the water supply network according to the leakage situation. Specifically, when the system detects that a certain section of the pipe network has a leakage, the automatic control valve can quickly adjust the water flow and reduce the water pressure to reduce the impact of the leakage.
[0029] As a preferred technical solution of the present invention, the data preprocessing module uses a wavelet transform method when performing denoising on the original data. The denoised signal x′(t) is expressed by the following formula:
[0030]
[0031] Among them, Wi is the wavelet basis function, and * represents the convolution operation. Wavelet transform can effectively filter out the noise in the signal while retaining the useful information of the signal and improving the quality of the data.
[0032] As a preferred technical solution of the present invention, the leakage identification module uses a neural network to identify leakage, and the loss function of the neural network is:
[0033]
[0034] Among them, θ is the parameter of the neural network, y i is the true label, is the predicted value, and λ is the regularization parameter. Through large-scale data training, the neural network can adaptively adjust parameters to improve the accuracy of leakage identification.
[0035] As a preferred technical solution of the present invention, the neural network model adopts a multi-layer perceptron (MLP) structure, including an input layer, several hidden layers and an output layer. The input layer receives the feature vector output by the feature extraction module, the hidden layer processes the data through a nonlinear activation function (such as ReLU), and the output layer generates a leakage recognition result. The model is trained by a back propagation algorithm to optimize the parameters to achieve the best recognition performance.
[0036] Beneficial Effects
[0037] The present invention proposes a water supply network leakage identification system based on variational mode decomposition. The system constructs an efficient and accurate leakage detection scheme through data acquisition, preprocessing, VMD decomposition, feature extraction and machine learning identification. The system can not only monitor the operating status of the water supply network in real time, timely discover and locate leakage points, but also automatically adjust the network operation parameters through alarm and control modules, reduce the impact of leakage, and improve the operating efficiency and safety of the water supply system.
[0038] In summary, based on the existing technology, the present invention combines the advantages of variational mode decomposition and machine learning to provide an innovative and effective solution for water supply network leakage detection. Through the present invention, the efficiency and accuracy of leakage detection can be significantly improved, providing strong technical support for water supply companies and urban management departments.
[0039] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. Description of the drawings:
[0040] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0041] Figure 1 It is a flow chart of the water supply network leakage identification system based on variational mode decomposition;
[0042] Figure 2 This is a data acquisition flow chart of the water supply network leakage identification system based on variational mode decomposition. Specific implementation method:
[0043] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0044] See also Figure 1 and Figure 2 , Example 1: System Hardware Architecture
[0045] 1. Data acquisition module: Various sensors, including pressure sensors and flow sensors, are installed at key nodes of the water supply network. These sensors are used to monitor the pressure and flow data in the network in real time.
[0046] The data collected by the sensor is transmitted to the data acquisition terminal through a wireless transmission module (such as Zigbee, LoRa, etc.).
[0047] 2. Data preprocessing module: The raw data received by the data acquisition terminal usually contains noise and missing values. The preprocessing module cleans and denoises the data.
[0048] The wavelet transform method is used to denoise the signal, retain the useful signal and filter out the noise.
[0049] For missing data, linear interpolation or Lagrange interpolation method is used to fill in the missing data to ensure the integrity of the data.
[0050] Finally, the data is standardized to meet the requirements of subsequent analysis.
[0051] 3 Variational mode decomposition module: The preprocessed signal x(t) is input into the VMD module, and the signal is decomposed into several intrinsic mode functions (IMFs) through the VMD algorithm.
[0052] The core steps of the VMD algorithm include setting the initial value, performing iterative optimization, and finally obtaining a set of IMFs that meet the conditions. Each IMF corresponds to a specific frequency component and has good frequency resolution.
[0053] 4. Feature extraction module: extract energy features, frequency features and amplitude features from the decomposed IMF.
[0054] Energy characteristic E k Calculated by the following formula:
[0055]
[0056] Among them, u k (t) is the kth eigenmode function.
[0057] Frequency characteristics f k Calculated by the following formula
[0058]
[0059] in, Indicates u k (t) The derivative of time t.
[0060] The amplitude features are extracted by analyzing parameters such as the peak and mean of the IMF.
[0061] 5. Leakage Identification Module: The extracted feature vector is input into the machine learning model for leakage identification. Support vector machine (SVM) and neural network (such as multi-layer perceptron) are commonly used models.
[0062] Through training with a large amount of historical data, the model parameters are optimized and the recognition accuracy is improved.
[0063] 6. Alarm and control module: When a leakage event is identified, the system automatically generates an alarm message and notifies the relevant maintenance personnel through SMS, email, etc. At the same time, the system adjusts the valve opening and water pressure of the water supply network through the automatic control module to reduce the impact of leakage.
[0064] Embodiment 2: Data preprocessing method
[0065] 1. Signal denoising: The pressure signal and flow signal are denoised using the wavelet transform method. Wavelet transform can effectively filter out high-frequency noise in the signal and retain useful information.
[0066] The specific steps include: selecting an appropriate wavelet basis function (such as Daubechies wavelet), performing multi-scale decomposition on the signal, selecting an appropriate threshold for denoising, and finally reconstructing the signal.
[0067] 2. Missing data processing: For missing data points, Lagrange interpolation method is used to fill them. Lagrange interpolation can construct a polynomial function based on known data points to accurately fill in missing values.
[0068] The Lagrange interpolation formula is:
[0069]
[0070] Among them, y i is the value of the known data point, x i and x jis the location of the known data point.
[0071] 3. Standardization: All sensor data are standardized so that the mean of the data is zero and the variance is 1. The standardized data is more suitable for subsequent VMD decomposition and feature extraction.
[0072] The normalization formula is:
[0073]
[0074] Among them, x is the original data, μ is the data mean, and σ is the data standard deviation.
[0075] Example 3: VMD-based signal decomposition
[0076] 1. Signal decomposition process: Input the preprocessed signal x(t) into the VMD algorithm. The VMD algorithm sets initial parameters, including the mode number K, the center frequency ω k The initial value of , etc.
[0077] Through the iterative optimization process, the center frequency and eigenmode function of each mode are gradually adjusted until the convergence condition is met.
[0078] Finally, K intrinsic mode functions (IMFs) are obtained, and each IMF corresponds to a different frequency component of the signal.
[0079] 2 Variational Mode Decomposition Algorithm: The core formula of the vMD algorithm is:
[0080]
[0081] Among them, u k (t) is the kth eigenmode function, ω k is its center frequency, represents the derivative with respect to time t, δ(t) is the Dirac function, j is the imaginary unit, * represents the convolution operation, and K is the mode number.
[0082] 3. Result analysis: Analyze each IMF obtained by decomposition to determine its physical meaning. For example, low-frequency IMF may correspond to the basic operation status of the pipeline network, while high-frequency IMF may reflect abnormalities or leakage.
[0083] Embodiment 4:
[0084] 1. Leakage identification and location feature extraction and feature vector construction: Energy features, frequency features and amplitude features are extracted from each IMF to form a feature vector.
[0085] PCA (principal component analysis) and other dimensionality reduction methods are used to process the feature vectors to improve computational efficiency.
[0086] 2 Energy characteristics: Energy characteristics E k Calculated by the following formula:
[0087]
[0088] 3 Frequency characteristics: Frequency characteristics f k Calculated by the following formula:
[0089]
[0090] in, Indicates u k (t) The derivative of time t
[0091] 4. Machine learning model training: Input the feature vector into the support vector machine (SVM) for training and optimize the model parameters.
[0092] The training process uses a cross-validation method to prevent overfitting and improve the generalization ability of the model.
[0093] 5. Support Vector Machine (SVM): The classification decision function of svM is:
[0094]
[0095] Among them, α i is the Lagrange multiplier, y i is the category label, K(x i ,x) is the kernel function and b is the bias term.
[0096] 6. Leakage identification and location: During the online monitoring process, the feature vectors collected in real time are input into the trained SVM model for leakage identification and location.
[0097] When a leak is identified, the system generates an alarm message and provides the specific leak location and severity.
[0098] Example 5: Alarm and control mechanism
[0099] 1. Alarm mechanism: When the system detects a leakage event, it automatically generates alarm information, including the leakage location, time and severity.
[0100] Send alarm information to maintenance personnel via SMS, email, etc. to ensure timely response.
[0101] 2 Automatic control mechanism: The system automatically adjusts the operating parameters of the water supply network according to the leakage situation, including adjusting the valve opening, changing the water pressure, etc.
[0102] By controlling valves and water pumps, the impact of leakage can be reduced and the normal operation of the water supply system can be ensured.
[0103] Example 6: Multimodal sensor data fusion
[0104] 1. Multimodal data acquisition: In addition to pressure sensors and flow sensors, water quality sensors, temperature sensors, etc. can also be added to obtain data in more dimensions.
[0105] The data collected by each sensor is transmitted to the data acquisition terminal through a unified wireless transmission network.
[0106] 2 Data fusion and preprocessing: Multimodal data fusion uses methods such as weighted averaging or Bayesian estimation to fuse data from different sensors to form a unified feature vector.
[0107] The data preprocessing module cleans, denoises and standardizes the fused data to ensure the quality and consistency of the data.
[0108] Example 7: Application of Neural Network Model
[0109] 1. Neural network architecture design: Multi-layer perceptron (MLP) or convolutional neural network (CNN) is used as the leakage identification model.
[0110] The MLP model consists of an input layer, several hidden layers, and an output layer. The hidden layer uses the ReLU activation function, and the output layer uses the Softmax function for classification.
[0111] The CNN model extracts local features of the data through the convolution layer, reduces the feature dimension through the pooling layer, and finally performs classification through the fully connected layer.
[0112] 2. Model training and optimization: Use a large amount of historical data for model training and use the Adam or SGD optimization algorithm to update model parameters.
[0113] Data enhancement and regularization are performed during the training process to prevent overfitting and improve the generalization ability of the model.
[0114] 3. Loss function of neural network: The loss function of neural network is:
[0115]
[0116] Among them, θ is the parameter of the neural network, y i is the true label, is the predicted value, and λ is the regularization parameter.
[0117] 4 Real-time leakage detection: The preprocessed real-time data is input into the trained neural network model for leakage detection and positioning.
[0118] The model outputs the probability and location of leakage, and the system generates alarm information and takes corresponding control measures.
[0119] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A water supply network leakage identification system based on variational mode decomposition, including a data acquisition module, a data preprocessing module, a variational mode decomposition module, a feature extraction module, a leakage identification module and an alarm and control module, Features: The data acquisition module is used to collect the pressure and flow data of the water supply network in real time, and the sensors are arranged at key nodes of the water supply network to ensure the representativeness and accuracy of the data; The data preprocessing module is used to clean, denoise and standardize the raw data to improve the data quality and the accuracy of subsequent processing; The variational mode decomposition module is used to perform variational mode decomposition on the preprocessed data to obtain a number of intrinsic mode functions IMFs, each IMF representing a different frequency component of the signal; The feature extraction module is used to extract energy features, frequency features and amplitude features from the IMF to form a feature vector for leakage identification; The leakage identification module is used to identify and locate leakage based on the extracted features, and adopts machine learning algorithms such as support vector machines or neural networks for classification and prediction; The alarm and control module is used to generate alarm information when leakage is detected, and notify maintenance personnel via SMS or email. At the same time, it automatically adjusts the operating parameters of the water supply network, such as adjusting the valve opening and changing the water pressure, to reduce the impact of leakage.
2. According to claim 1, the water supply network leakage identification system based on variational mode decomposition, Features: The variational mode decomposition module uses the variational mode decomposition VMD algorithm to decompose the signal, and the specific steps include: Assuming the signal x(t) as the signal to be decomposed, the VMD algorithm decomposes the signal x(t) into several intrinsic mode functions (IMFs) by solving the following variational problem: Among them, u k (t) is the kth eigenmode function, ω k is its center frequency, represents the derivative with respect to time t, δ(t) is the Dirac function, j is the imaginary unit, * represents the convolution operation, and K is the mode number.
3. The water supply network leakage identification system based on variational mode decomposition according to claim 1 or 2, Features: The energy feature E extracted by the feature extraction module k Calculated by the following formula: Among them, u k (t) is the kth eigenmode function, energy characteristic E k It is used to reflect the energy distribution of each mode in the signal, thereby providing monitoring of the operation status of the pipeline network.
4. The water supply network leakage identification system based on variational mode decomposition according to claim 1 or 2, Features: The frequency feature f extracted by the feature extraction module k Calculated by the following formula: Among them, u k (t) is the kth eigenmode function, with frequency characteristic f k It reflects the main frequency components of different modes in the signal and helps to identify leakage characteristics.
5. According to claim 1, the water supply network leakage identification system based on variational mode decomposition, Features: The leakage identification module uses support vector machine SVM for leakage identification, and its classification decision function is: Among them, α i is the Lagrange multiplier, y i is the category label, K(x i ,x) is the kernel function, and b is the bias term. Through training on a large amount of historical data, the SVM model can effectively identify and classify leakage events.
6. The water supply network leakage identification system based on variational mode decomposition according to claim 1 or 5, Features: The alarm and control module includes a text message and email notification system. When the leakage identification module detects a leakage, the system will automatically send an alarm message to the relevant maintenance personnel to ensure timely response and processing.
7. The water supply network leakage identification system based on variational mode decomposition according to claim 1 or 5, Features: The alarm and control module further includes a function of automatically controlling the valve, which is used to adjust the valve opening of the water supply network according to the leakage situation. Specifically, when the system detects a leakage in a certain section of the network, the automatic control valve can quickly adjust the water flow and reduce the water pressure to reduce the impact of the leakage.
8. The water supply network leakage identification system based on variational mode decomposition according to claim 1 or 2, Features: When the data preprocessing module performs denoising on the original data, a wavelet transform method is used, and the denoised signal x′(t) is expressed by the following formula: Among them, W i is the wavelet basis function, * represents the convolution operation, and the wavelet transform can effectively filter out the noise in the signal while retaining the useful information of the signal and improving the quality of the data.
9. The water supply network leakage identification system based on variational mode decomposition according to claim 1 or 5, Features: The leakage identification module uses a neural network to identify leakage, and the loss function of the neural network is: Among them, θ is the parameter of the neural network, y i is the true label, is the predicted value, λ is the regularization parameter. Through large-scale data training, the neural network can adaptively adjust the parameters to improve the accuracy of leakage identification.
10. The water supply network leakage identification system based on variational mode decomposition according to claim 1 or 9, Features: The neural network model adopts a multi-layer perceptron MLP structure, including an input layer, several hidden layers and an output layer. The input layer receives the feature vector output by the feature extraction module, the hidden layer processes the data through a nonlinear activation function, and the output layer generates a leakage recognition result. The model is trained through a back propagation algorithm to optimize parameters to achieve the best recognition performance.
Citation Information
Patent Citations
Pipe network leakage detection and positioning method based on variational mode decomposition and neural network
CN115978464A
Leakage detection method based on variational mode decomposition and deep learning
CN117346080A
Method for detecting and positioning leakage of water supply network
CN118152828A
Hail weather identification and classification method based on multi-channel deep residual shrinkage network
WO2023216583A1
Cited By
Low-pressure water inlet pressure early warning method and system for municipal pipe network
CN119151519A
Multi-heat-source annular pipe network leakage identification method and device
CN119167194A
Secondary water supply equipment control method and control system thereof
CN119440146A
Municipal sewage pipe network leakage detection system and method
CN120234750A
A system and method for detecting leakage of urban sewage pipe network
CN120234750B
