Enhanced Detection of Pipeline Leaks Based on Generalized Likelihood Ratio with Ensemble Learning
<p>Schematic diagram of ensemble learning.</p> "> Figure 2
<p>Framework of combined enhanced leakage warning method based on ensemble learning.</p> "> Figure 3
<p>Schematic diagram of time window selection.</p> "> Figure 4
<p>A schematic diagram of the threshold selection method based on the test statistic.</p> "> Figure 5
<p>Pipeline media leakage test rig.</p> "> Figure 6
<p>Schematic diagram of time window selection.</p> "> Figure 7
<p>Schematic diagram of inlet pressure threshold selection.</p> "> Figure 8
<p>Schematic diagram of outlet pressure threshold selection.</p> "> Figure 9
<p>Schematic diagram of outlet flow threshold selection.</p> "> Figure 10
<p>Schematic diagram of inlet pressure alarm.</p> "> Figure 11
<p>Schematic diagram of outlet pressure alarm.</p> "> Figure 12
<p>Schematic diagram of outlet flow alarm.</p> "> Figure 13
<p>Schematic diagram of ensemble learning alarm.</p> "> Figure 14
<p>Comparison of leakage detection of different models.</p> ">
Abstract
:1. Introduction
2. Related Work
2.1. Hardware Sensor-Based Detection Methods
2.2. Data-Driven Methods Based on Software Algorithms
2.3. Statistical Model-Based Detection Methods
2.4. Summary
3. Theoretical Background
3.1. Generalized Likelihood Ratio
3.2. Ensemble Learning
4. Theoretical Frameworks
4.1. Data Pre-Processing
4.2. Time Window Selection
4.3. Threshold Selection Based on Test Statistic
4.4. Comparative Validation
5. Experimental Study
5.1. Experimental Setup
5.2. Time Window Selection
5.3. Threshold Selection
5.4. Application Validation
5.4.1. Generalized Likelihood Ratio Leak Detection Based on Inlet Pressure
5.4.2. Generalized Likelihood Ratio Leak Detection Based on Outlet Pressure
5.4.3. Generalized Likelihood Ratio Leak Detection Based on Outlet Flow Rate
5.4.4. Ensemble Learning Leak Detection
6. Discussions
6.1. Application Validation
6.2. The Application of the Model to Different Noise Values
7. Conclusions
- (1)
- High Accuracy and Low False Alarm Rate: The GLR-based ensemble learning leakage detection method not only accurately detects weak leaks as low as 0.5% of the pipeline’s delivery volume but also reduces the number of false alarm points to zero. Compared to existing methods, this approach stands out in reducing false alarms, providing a low-cost, high-precision solution for weak leakage detection in gas pipelines.
- (2)
- Robustness in Noisy Environments: By adding noise to the original data, the model’s detection capability was validated at leakage rates of 3%, 2%, 1.5%, and 0.5%. The results show that even under strong noise interference, the model can detect leaks at a 1.5% rate; under weak noise conditions, it can detect leaks at a 0.5% rate, demonstrating excellent noise resistance.
- (3)
- Method Advantages: Compared to existing methods, the proposed approach offers advantages such as simple model construction, no need for leakage data, and high detection accuracy, making it particularly suitable for real-time leakage monitoring in practical industrial scenarios.
- (1)
- Leak Localization Technology: Developing methods for precise leak localization by combining distributed sensor networks and signal processing techniques.
- (2)
- Leak Volume Estimation: Achieving accurate estimations of leak volumes through multi-source data fusion and machine learning algorithms.
- (3)
- Adaptability to Complex Conditions: Further optimizing the model to adapt to more complex conditions (such as multiphase flow, extreme temperatures, etc.), enhancing the method’s universality and practicality.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Nomenclature
Probability density function of observation under normal distribution with mean and variance | |
Likelihood function, representing joint probability density of observed data under parameter | |
Generalized likelihood ratio, representing ratio of maximum likelihood functions under hypotheses and | |
Maximum value of likelihood function under hypothesis | |
Maximum value of likelihood function under hypothesis | |
Time point when leakage occurs | |
Mean value under leakage conditions |
References
- Li, Q.; Li, Q.; Cao, H.; Wu, J.; Wang, F.; Wang, Y. The Crack Propagation Behaviour of CO2 Fracturing Fluid in Unconventional Low Permeability Reservoirs: Factor Analysis and Mechanism Revelation. Processes 2025, 13, 159. [Google Scholar] [CrossRef]
- Li, J.; Zheng, Q.; Qian, Z.; Yang, X. A novel location algorithm for pipeline leakage based on the attenuation of negative pressure wave. Process Saf. Environ. Prot. 2019, 123, 309–316. [Google Scholar] [CrossRef]
- Cheng, L.; Pan, P.; Sun, Y.; Zhang, Y.; Cao, Y. A distributed fibre optic monitoring method for ground subsidence induced by water pipeline leakage. Opt. Fiber Technol. 2023, 81, 103495. [Google Scholar] [CrossRef]
- AdAdnan, N.F.; Ghazali, M.F.; Amin, M.M.; Hamat, A.M.A. Leak detection in gas pipeline by acoustic and signal processing—A review. IOP Conf. Ser. Mater. Sci. Eng. 2015, 100, 012013. [Google Scholar] [CrossRef]
- Ullah, N.; Ahmed, Z.; Kim, J.M. Pipeline leakage detection using acoustic emission and machine learning algorithms. Sensors 2023, 23, 3226. [Google Scholar] [CrossRef] [PubMed]
- Park, S.; Lim, H.; Tamang, B.; Jin, J.; Lee, S.; Park, S.; Kim, Y. A preliminary study on leakage detection of deteriorated underground sewer pipes using aerial thermal imaging. Int. J. Civ. Eng. 2020, 18, 1167–1178. [Google Scholar] [CrossRef]
- Jadin, M.S.; Ghazali, K.H. Gas leakage detection using thermal imaging technique. In Proceedings of the 2014 UKSim-AMSS 16th International Conference on Computer Modelling and Simulation, Cambridge, UK, 26–28 March 2014; pp. 302–306. [Google Scholar]
- Tajalli, S.A.M.; Moattari, M.; Naghavi, S.V.; Salehizadeh, M.R. A Novel Hybrid Internal Pipeline Leak Detection and Location System Based on Modified Real-Time Transient Modelling. Modelling 2024, 5, 1135–1157. [Google Scholar] [CrossRef]
- Bustnes, T.E.; Rousselet, M.; Berland, S. Leak detection performance of a commercial Real Time Transient Model for Troll oil pipeline. In Proceedings of the PSIG Annual Meeting, Napa Valley, CA, USA, 24–27 May 2011; p. PSIG-1114. [Google Scholar]
- Malekpour, A.; She, Y. Real-time leak detection in oil pipelines using an Inverse Transient Analysis model. J. Loss Prev. Proc. 2021, 70, 104411. [Google Scholar] [CrossRef]
- Zhang, X.J. Statistical leak detection in gas and liquid pipelines. Pipes Pipelines Int. 1993, 38, 26–29. [Google Scholar]
- Arifin, B.M.S.; Li, Z.; Shah, S.L.; Meyer, G.A.; Colin, A. A novel data-driven leak detection and localization algorithm using the Kantorovich distance. Comput. Chem. Eng. 2018, 108, 300–313. [Google Scholar] [CrossRef]
- Lang, X.M. Pipeline Leak Detection and Localization Based on Feature Extraction and Information Fusion. Ph.D. Thesis, Northwestern Polytechnical University, Xi’an, China, 2018. (In Chinese). [Google Scholar]
- Smith, J.; Chae, J.; Learn, S.; Hugo, R.; Park, S. Pipeline rupture detection using real-time transient modelling and convolutional neural networks. Proc. Int. Pipeline Conf. Am. Soc. Mech. Eng. 2018, 51883, V003T04A016. [Google Scholar]
- Belsito, S.; Lombardi, P.; Andreussi, P.; Banerjee, S. Leak detection in liquefied gas pipelines by artificial neural networks. AIChE J. 1998, 44, 2675–2688. [Google Scholar] [CrossRef]
- Arifin BM, S.; Li, Z.; Shah, S.L. Pipeline leak detection using particle filters. IFAC-PapersOnLine 2015, 48, 76–81. [Google Scholar] [CrossRef]
- Willis, A.J. Design of a modified sequential probability ratio test (SPRT) for pipeline leak detection. Comput. Chem. Eng. 2011, 35, 127–131. [Google Scholar] [CrossRef]
- Chen, Z.; Zhang, C.C.; Shi, B.; Zhang, Y.; Wang, Z.; Wang, H.; Xie, T. Detecting gas pipeline leaks in sandy soil with fiber-optic distributed acoustic sensing. Tunn. Undergr. Space Technol. 2023, 141, 105367. [Google Scholar] [CrossRef]
- Wang, F.; Lin, W.; Liu, Z.; Wu, S.; Qiu, X. Pipeline leak detection by using time-domain statistical features. IEEE Sens. J. 2017, 17, 6431–6442. [Google Scholar] [CrossRef]
- Xu, Q.; Zhang, L.; Liang, W. Acoustic detection technology for gas pipeline leakage. Process Saf. Environ. Prot. 2013, 91, 253–261. [Google Scholar] [CrossRef]
- Zhang, C.; Shafieezadeh, A. Nested physics-informed neural network for analysis of transient flows in natural gas pipelines. Eng. Appl. Artif. Intell. 2023, 122, 106073. [Google Scholar] [CrossRef]
- Wang, X. Pipeline leakage alarm via bootstrap-based hypothesis testing. Mech. Syst. Signal Process. 2022, 179, 109334. [Google Scholar] [CrossRef]
- Li, J.; Wu, Y.; Zheng, W.; Lu, C. A model-based bayesian framework for pipeline leakage enumeration and location estimation. Water Resour. Manag. 2021, 35, 4381–4397. [Google Scholar] [CrossRef]
- Zhang, M.; Chen, X.; Li, W. A hybrid hidden Markov model for pipeline leakage detection. Appl. Sci. 2021, 11, 3138. [Google Scholar] [CrossRef]
- Zhang, Q.; Basseville, M. Statistical detection and isolation of additive faults in linear time-varying systems. Automatica 2014, 50, 2527–2538. [Google Scholar] [CrossRef]
- Xia, Y.; Amann, A.; Liu, B. Detection of abrupt changes in electrocardiogram with generalized likelihood ratio algorithm. IET Signal Process. 2010, 4, 650–657. [Google Scholar] [CrossRef]
- Borguet, S.; Leonard, O. A Generalised Likelihood Ratio Test for Adaptive Gas Turbine Health Monitoring. Turbo Expo Power Land Sea Air 2008, 43123, 7–17. [Google Scholar]
- Wang, C.; Han, F.; Zhang, Y.; Lu, J. An SAE-based resampling SVM ensemble learning paradigm for pipeline leakage detection. Neurocomputing 2020, 403, 237–246. [Google Scholar] [CrossRef]
- Rao, S.; Zou, G.; Yang, S.; Barmada, S. A feature selection and ensemble learning based methodology for transformer fault diagnosis. Appl. Soft Comput. 2024, 150, 111072. [Google Scholar] [CrossRef]
- Hunter, J.S. The exponentially weighted moving average. J. Qual. Technol. 1986, 18, 203–210. [Google Scholar] [CrossRef]
- Winters, P.R. Forecasting sales by exponentially weighted moving averages. Manag. Sci. 1960, 6, 324–342. [Google Scholar] [CrossRef]
Methodologies | Vintage | Drawbacks | Sample Method |
---|---|---|---|
Modeling approach | Detects small leaks with high accuracy | Difficult model construction and computational inefficiency | Real-time transient method |
Data-driven approach | High detection efficiency, poor accuracy | Requires large amounts of leakage data to train model | Neural networks, support vector machines |
Statistical methods | Simple model, low cost | Highly influenced by field data | Sequential probability ratio, generalized correlation |
Methodologies | Vintage | Drawbacks | Adapt to Situation |
---|---|---|---|
Hardware Law | Accurate positioning and strong real-time performance | High cost and poor environmental adaptability | Sudden leak detection of long-distance pipelines |
Software Law | Flexibility and adaptability to nonlinear data | Dependent on annotated data, noise-sensitive | Multivariate coupling for complex operating conditions |
Statistical Methods | Robust theoretical foundation and good noise resistance | Assumption limiting, high false positive rate | Weak leak detection in steady-state conditions |
Model | Norm | 0.5% | 1% | 1.5% | 2% |
---|---|---|---|---|---|
Inlet pressure | Warning Point | 12 | 68 | 83 | 177 |
False Positive Point | 27 | 267 | 71 | 116 | |
Outlet pressure | Warning Point | 43 | 57 | 116 | 108 |
False Positive Point | 34 | 121 | 105 | 196 | |
Outlet flow | Warning Point | 88 | 48 | 15 | 63 |
False Positive Point | 3 | 28 | 58 | 0 | |
Ensemble learning | Warning Point | 12 | 28 | 63 | 101 |
False Positive Point | 0 | 27 | 0 | 0 |
Model | Norm | Noise 1 | Noise 2 | Noise 3 | Noise 4 | Noise 5 |
---|---|---|---|---|---|---|
Inlet pressure | False Positive Point | 24 | 0 | 0 | 0 | 0 |
Warning Point | 16 | 21 | 0 | 0 | 0 | |
Outlet pressure | False Positive Point | 62 | 0 | 0 | 0 | 0 |
Warning Point | 14 | 8 | 3 | 0 | 0 | |
Outlet flow | False Positive Point | 64 | 0 | 0 | 0 | 0 |
Warning Point | 0 | 0 | 0 | 0 | 0 | |
Ensemble learning | False Positive Point | 24 | 0 | 0 | 0 | 0 |
Warning Point | 0 | 0 | 0 | 0 | 0 |
Model | Norm | Noise 1 | Noise 2 | Noise 3 | Noise 4 | Noise 5 |
---|---|---|---|---|---|---|
Inlet pressure | False Positive Point | 42 | 21 | 0 | 0 | 0 |
Warning Point | 153 | 70 | 43 | 13 | 0 | |
Outlet pressure | False Positive Point | 56 | 39 | 26 | 0 | 0 |
Warning Point | 200 | 183 | 46 | 20 | 0 | |
Outlet flow | False Positive Point | 38 | 33 | 38 | 0 | 0 |
Warning Point | 0 | 0 | 0 | 0 | 0 | |
Ensemble learning | False Positive Point | 16 | 6 | 0 | 0 | 0 |
Warning Point | 9 | 19 | 0 | 0 | 0 |
Model | Norm | Noise 1 | Noise 2 | Noise 3 | Noise 4 | Noise 5 |
---|---|---|---|---|---|---|
Inlet pressure | False Positive Point | 85 | 57 | 68 | 21 | 58 |
Warning Point | 54 | 40 | 0 | 0 | 0 | |
Outlet pressure | False Positive Point | 122 | 134 | 54 | 73 | 51 |
Warning Point | 126 | 43 | 15 | 2 | 0 | |
Outlet flow | False Positive Point | 0 | 0 | 0 | 0 | 0 |
Warning Point | 0 | 0 | 0 | 0 | 0 | |
Ensemble learning | False Positive Point | 68 | 52 | 18 | 3 | 9 |
Warning Point | 0 | 0 | 0 | 0 | 0 |
Model | Norm | Noise 1 | Noise 2 | Noise 3 | Noise 4 | Noise 5 |
---|---|---|---|---|---|---|
Inlet pressure | False Positive Point | 161 | 120 | 67 | 35 | 103 |
Warning Point | 91 | 47 | 49 | 58 | 0 | |
Outlet pressure | False Positive Point | 102 | 103 | 88 | 78 | 3 |
Warning Point | 153 | 101 | 53 | 0 | 0 | |
Outlet flow | False Positive Point | 58 | 25 | 35 | 0 | 0 |
Warning Point | 0 | 0 | 0 | 0 | 0 | |
Ensemble learning | False Positive Point | 96 | 77 | 66 | 21 | 3 |
Warning Point | 51 | 15 | 20 | 0 | 0 |
Model | Norm | Noise 1 | Noise 2 | Noise 3 | Noise 4 | Noise 5 |
---|---|---|---|---|---|---|
Inlet pressure | False Positive Point | 315 | 267 | 109 | 60 | 51 |
Warning Point | 0 | 0 | 0 | 0 | 0 | |
Outlet pressure | False Positive Point | 303 | 218 | 157 | 92 | 85 |
Warning Point | 11 | 22 | 3 | 0 | 0 | |
Outlet flow | False Positive Point | 68 | 51 | 34 | 0 | 0 |
Warning Point | 0 | 0 | 0 | 0 | 0 | |
Ensemble learning | False Positive Point | 163 | 143 | 68 | 21 | 39 |
Warning Point | 0 | 0 | 0 | 0 | 0 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Liu, T.; Cai, X.; Zhou, W.; Wang, K.; Wang, J. Enhanced Detection of Pipeline Leaks Based on Generalized Likelihood Ratio with Ensemble Learning. Processes 2025, 13, 558. https://doi.org/10.3390/pr13020558
Liu T, Cai X, Zhou W, Wang K, Wang J. Enhanced Detection of Pipeline Leaks Based on Generalized Likelihood Ratio with Ensemble Learning. Processes. 2025; 13(2):558. https://doi.org/10.3390/pr13020558
Chicago/Turabian StyleLiu, Tao, Xiuquan Cai, Wei Zhou, Kuitao Wang, and Jinjiang Wang. 2025. "Enhanced Detection of Pipeline Leaks Based on Generalized Likelihood Ratio with Ensemble Learning" Processes 13, no. 2: 558. https://doi.org/10.3390/pr13020558
APA StyleLiu, T., Cai, X., Zhou, W., Wang, K., & Wang, J. (2025). Enhanced Detection of Pipeline Leaks Based on Generalized Likelihood Ratio with Ensemble Learning. Processes, 13(2), 558. https://doi.org/10.3390/pr13020558