원시데이터 수집 시스템
선정목록으로

Research on Leak Detection and Localization Algorithm for Oil and Gas Pipelines Using Wavelet Denoising Integrated with Long Short-Term Memory (LSTM)–Transformer Models

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Yunbin Ma — School of Software Engineering, Xi′an Jiaotong University, Xi′an 710049, China|||PipeChina Institute of Science and Technology, Tianjin 300457, China
  2. Z. J. Shang — School of Mechanical Engineering, Xi′an Shiyou University, Xi′an 710065, China
  3. Jie Zheng — School of Mechanical Engineering, Xi′an Shiyou University, Xi′an 710065, China
  4. Yichen Zhang — School of Mechanical Engineering, Xi′an Shiyou University, Xi′an 710065, China
  5. Guangyuan Weng — School of Mechanical Engineering, Xi′an Shiyou University, Xi′an 710065, China
  6. Shu Zhao — Xi′an Aerospace Propulsion Institute, Xi′an 710025, China
  7. Cheng Bi — Xi′an Special Equipment Inspection Institute, Xi′an 710065, China
DOI
10.3390/s25082411
저널
Sensors
발행년도
2025
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s25082411
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W4409328883

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Traditional leakage prediction models for long-distance pipelines have limitations in effectively synchronizing spatial and temporal features of leakage signals, leading to data processing that heavily relies on manual experience and exhibits insufficient generalization capabilities. This paper introduces a novel leakage detection and localization algorithm for oil and gas pipelines, integrating wavelet denoising with a Long Short-Term Memory (LSTM)-Transformer model. The proposed algorithm utilizes pressure sensors to collect real-time pipeline pressure data and applies wavelet denoising to eliminate noise from the pressure signals. By combining LSTM’s temporal feature extraction with the Transformer’s self-attention mechanism, we construct a short-term average pressure gradient-average instantaneous flow network model. This model continuously predicts pipeline flow based on real-time pressure gradient inputs, monitors deviations between actual and predicted flow, and employs a pressure curve distance algorithm to accurately determine the leakage location. Experimental results from the Jilin-Changchun long-distance oil pipeline demonstrate that the model possesses superior leakage warning and localization capabilities. Specifically, the leakage prediction accuracy reaches 99.995%, with a leakage location error margin below 2.5%. Additionally, the model can detect leaks exceeding 0.6% of the main pipeline flow without generating false alarms during operation.

본문 54,095자

본문 펼치기
_Article_ # Research on Leak Detection and Localization Algorithm for Oil and Gas Pipelines Using Wavelet Denoising Integrated with Long Short-Term Memory (LSTM)–Transformer Models Yunbin Ma <sup>1,2</sup> , Zuyue Shang <sup>3</sup> , Jie Zheng <sup>3,</sup> *, Yichen Zhang <sup>3</sup> , Guangyuan Weng <sup>3</sup> , Shu Zhao <sup>4</sup> and Cheng Bi <sup>5</sup> 1 School of Software Engineering, Xi <sup>_′_</sup> an Jiaotong University, Xi <sup>_′_</sup> an 710049, China; mayb01@pipechina.com.cn 2 PipeChina Institute of Science and Technology, Tianjin 300457, China 3 School of Mechanical Engineering, Xi <sup>_′_</sup> an Shiyou University, Xi <sup>_′_</sup> an 710065, China; 22212040620@stumail.xsyu.edu.cn (Z.S.); 23211040563@stumail.xsyu.edu.cn (Y.Z.); wengguangyuan@xsyu.edu.cn (G.W.) 4 Xi <sup>_′_</sup> an Aerospace Propulsion Institute, Xi <sup>_′_</sup> an 710025, China; zhaoshu0312@163.com 5 Xi <sup>_′_</sup> an Special Equipment Inspection Institute, Xi <sup>_′_</sup> an 710065, China; chengbi_doc@163.com * Correspondence: zhengjie@163.com Academic Editor: Baoping Cai Received: 21 February 2025 Revised: 2 April 2025 Accepted: 8 April 2025 Published: 10 April 2025 Citation: Ma, Y.; Shang, Z.; Zheng, J.; Zhang, Y.; Weng, G.; Zhao, S.; Bi, C. Research on Leak Detection and Localization Algorithm for Oil and Gas Pipelines Using Wavelet Denoising Integrated with Long Short-Term Memory (LSTM)– Transformer Models. _Sensors_ 2025, _25_, 2411. [https://doi.org/10.3390/](https://doi.org/10.3390/s25082411) [s25082411](https://doi.org/10.3390/s25082411) Copyright: © 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/](https://creativecommons.org/licenses/by/4.0/) [licenses/by/4.0/).](https://creativecommons.org/licenses/by/4.0/) Abstract: Traditional leakage prediction models for long-distance pipelines have limitations in effectively synchronizing spatial and temporal features of leakage signals, leading to data processing that heavily relies on manual experience and exhibits insufficient generalization capabilities. This paper introduces a novel leakage detection and localization algorithm for oil and gas pipelines, integrating wavelet denoising with a Long Short-Term Memory (LSTM)-Transformer model. The proposed algorithm utilizes pressure sensors to collect real-time pipeline pressure data and applies wavelet denoising to eliminate noise from the pressure signals. By combining LSTM’s temporal feature extraction with the Transformer’s self-attention mechanism, we construct a short-term average pressure gradient-average instantaneous flow network model. This model continuously predicts pipeline flow based on real-time pressure gradient inputs, monitors deviations between actual and predicted flow, and employs a pressure curve distance algorithm to accurately determine the leakage location. Experimental results from the Jilin-Changchun long-distance oil pipeline demonstrate that the model possesses superior leakage warning and localization capabilities. Specifically, the leakage prediction accuracy reaches 99.995%, with a leakage location error margin below 2.5%. Additionally, the model can detect leaks exceeding 0.6% of the main pipeline flow without generating false alarms during operation. Keywords: pipeline leakage; wavelet denoising; LSTM transformer model; leakage prediction; pressure curve distance algorithm 1. Introduction Cracks in welds, corrosion perforation, and third-party damage to oil and gas pipelines can result in severe consequences, including explosions [1–3]. Remote sensing technology, utilizing satellite imagery and drone photography, enables real-time monitoring of surface changes along the pipeline route, providing critical support for the early detection of pipeline leaks [4–6]. However, remote sensing data cannot fully capture key parameters of pressure changes inside the pipeline. The negative pressure wave method-based pipeline pressure sensing monitoring system [7–10] provides high-precision pressure data but suffers from long response times and high false alarm rates due to the lag characteristics of the monitoring sensors. To address these challenges, researchers have continuously _Sensors_ 2025, _25_, 2411 2 of 19 developed innovative models and algorithms that integrate remote sensing data with pressure sensor data, thereby overcoming the limitations of single data sources [11–13]. Yu et al. [14] utilized dual-tree complex wavelet transform and singular value decomposition as primary methods for processing leak signals, but this approach has low accuracy in determining the scale of the leak. Refs. [15,16] employed a context feature extraction module and a multi-layer perceptron to fuse features, using a Gaussian mixture model for feature vector classification, but this method struggles with handling the uncertainty of new data. Refs. [17,18] designed a convolutional neural network system for pipeline leak classification and location estimation that does not require any frequency analysis tools for data preprocessing. Lukonge et al. [19] developed a long-distance leak detection system based on acoustic emission research, but it struggles to adapt to different pipeline systems. Zuo et al. [20] constructed a hybrid model based on long short-term memory networks and autoencoders, which carries the risk of deviating from true features. Ersin ¸Sahin et al. [21] proposed a machine learning model using graph convolutional networks that leverages graph-type data structures of pressure and flow data for pipeline leak prediction, but it can suffer from overfitting issues when training data are limited. Sankarasubramanian et al. [22] employed continuous wavelet transform to extract image features, inputting them into a long short-term memory network model based on Tent Chaotic Kaiming, with the limitation being the need for a large-scale training dataset. Ullah et al. [23] studied a sequential deep learning model using bidirectional LSTM for determining the scale of pipeline leaks, which may suffer from reduced generalization capabilities due to insufficient quantities and quality of labeled data. By comparing the pipeline leak prediction models listed in Table 1, this paper addresses the issues of data processing, which rely heavily on human experience and exhibit insufficient generalization capabilities. The study incorporates the spatial and temporal characteristics of pipeline data [24–27], removes noise from sensor-measured data through wavelet denoising, and proposes a novel wavelet denoising-based LSTM–Transformer network model algorithm. Compared to traditional models, this proposed model effectively integrates pressure data with remote sensing data. Specifically, the LSTM’s memory cells capture long-term dependencies, while the Transformer’s self-attention mechanism comprehends both fine-grained and macro-level context, thereby enhancing its effectiveness in capturing sequence patterns and broader contextual information. Table 1. Comparison of typical pipeline leakage prediction models. Time Research Scholars Algorithm Model Disadvantages 2016 Xuchao Yu [14] Double tree complex wavelet transform–singular value decomposition Context Extraction–Multi-Layer 2017 Tejedor and Rojas [15,16] Perceptron Fusion Difficult to capture leak speed and trends Over-fit, difficult to cope with new data Cai and 2020 Convolutional Neural Networks Rely on data quality and quantity Kampelopoulos [17,18] 2020 Lukonge [19] Hilbert–Huang Transform Insufficient generalization capacity LSTM–Self Encoder 2022 Zhonglin Zuo [20] Deviation from real features Hybrid Model Figure Convolutional Neural 2023 Ersin ¸Sahin [21] Data overfitting Network Model 2024 Sankarasubramanian [22] TCK-LSTM Network Model Large-scale training dataset required Bi-LSTM Sequential Deep 2024 Niamat Ullah [23] High dependence on markup data Learning Model _Sensors_ 2025, _25_, 2411 3 of 19 2. Network Model Optimization _2.1._ _Data Preprocessing_ In practice, operational long-distance pipelines exhibit significant differences from simplified laboratory-built pipeline models [28,29]. Due to abrupt pressure changes and complex environmental influences, the leak data collected by sensors frequently contain noise. Utilizing the wavelet transform method [30–32] for noise reduction and feature selection in pipeline leak data effectively addresses the issue of high dimensionality in raw data features. Wavelet denoising employed Daubechies 4 (db4) basis functions selected through a quantitative comparison of reconstruction fidelity across six wavelet families (Table 2). Three decomposition levels were optimized via energy spectral density analysis, preserving 96.8% of leakage-related features in the approximation coefficients (A3). The adaptive threshold θ = σ <sup>_√_</sup> (2 lnN) follows Donoho’s universal principle with a correction factor ε = 0.05σ to prevent over-smoothing (Equation (3)). Pressure signals underwent full 3-level decomposition, while flow signals used 2-level decomposition to retain highfrequency components. Table 2. Changes in upstream and downstream pressure of leakage data in each group. Upstream Pressure Dataset Value (MPa) Downstream Pressure Value (MPa) Time Difference (s) Pressure Difference (MPa) Group 1 2.43 0.55 1.88 73.80 Group 2 2.36 0.56 1.80 103.25 Group 3 2.33 0.57 1.76 103.25 Group 4 2.29 0.55 1.74 111.20 The denoising process using the wavelet transform method is outlined as follows: (1) Represent the leaked data containing noise as _s_ ( _i_ ) = _f_ ( _i_ ) + _e_ ( _i_ ), _i_ = 1, 2, 3..., _n_ (1) where _s_ ( _i_ ) represents the leak data containing noise, _f_ ( _i_ ) represents the denoised data, _e_ ( _i_ ) represents the noise data, and _n_ is the total number of data points in the test set. (2) In the first-level wavelet decomposition, noise data are in A1, and denoised data are in B1. The second-level wavelet decomposition further decomposes the data in B1 into A2 and B2. After the third-level wavelet decomposition, noise data are in A1, A2, A3, and denoised data are in B1, B2, B3. The noise data in A1, A2, and A3 is appropriately reduced or replaced with 0. This paper uses an improved threshold function. _di_ <sup>_′_</sup> <sup>=</sup> - _sng_ ( _di_ )( _|di| −_ _ε_ ), _x_ _≥_ _θ_ (2) 0, _x_ _≤_ _θ_ _<u>θ</u>_ _ε_ = 2 <sup>_<u>|−θ</u>_</sup> ) _exp_ ( <sup>_<u>|di</u>_</sup> 2 <sup>_<u>|−θ</u>_</sup> (3) where _θ_ is the threshold; _di_ is the wavelet coefficient for threshold selection; _ε_ is a variable that changes with the wavelet coefficient _di_ ; _N_ is a constant. (3) Following the reconstruction, evaluate the low-frequency data signals obtained from wavelet decomposition and the high-frequency data signals quantized by the threshold. If the desired effect is not achieved, proceed with additional wavelet transformations; otherwise, terminate the process. _Sensors_ 2025, _25_, 2411 4 of 19 2.1.1. Flow Data The experimental system deployed Rosemount 3051S piezoresistive pressure sensors (Emerson Electric Co., St. Louis, MI, USA) with a measurement range of 0–10 MPa ( _±_ 0.065% accuracy, IEC 60770 Class 0.065) and FLEXIM FLUXUS G608 ultrasonic (Flexim Co., Berlin, Germany) flow meters utilizing dual-path transit-time measurement ( _±_ 0.5% accuracy for liquids). Pressure sensors were spaced at 4.8 km intervals per API RP 1130 specifications, while flow meters were installed at all pump stations and block valve sites. Data acquisition utilized National Instruments (Austin, TX, USA) cDAQ-9188 chassis equipped with 16-bit NI 9205 analog input modules, sampling at 1 kHz for pressure, and 200 Hz for flow signals. Time synchronization via IEEE 1588 Precision Time Protocol ensured inter-channel skew below 1 µs. Quarterly field calibration with Druck DPI 620 portable calibrators (pressure) and FLUXIM FLC-01 prover loops (flow) maintained measurement traceability to NIST standards, while on-chip Pt100 temperature sensors compensated for environmental drift ( _−_ 40 <sup>_◦_</sup> C to +85 <sup>_◦_</sup> C operational range). Signal integrity was validated through cyclic redundancy checks (CRC-32) and cross-sensor correlation analysis, achieving 99.7% data validity over the 18-month monitoring period. Different processing methods for pressure and flow data can significantly enhance the accuracy of predictions. While pressure data predominantly contain low-frequency components under normal operating conditions, special scenarios involving abrupt pressure shocks (e.g., water hammer effects) or high-frequency mechanical vibrations may introduce diagnostically relevant high-frequency components in pressure signals. For flow signals, the high-frequency components typically contain valuable feature information that should not be eliminated as noise. If the actual monitored flow data exhibit significant fluctuations, it can first be linearly scaled down before being input into the network. After obtaining the prediction results, the data can then be proportionally scaled back up. No filtering is required for these high-frequency components. 2.1.2. Backtracking Time Depth When selecting the backtracking time depth, it is essential to account for the delay time caused by the pressure gradient’s impact on flow. For instance, a valve closure at the pipeline’s starting point causes pressure changes that propagate to adjacent sections within 1 s. However, the effect on flow at the pipeline’s end may take several seconds to several minutes, depending on the pipeline length. Therefore, the backtracking time depth should be determined based on the location of pressure-affecting equipment, the distance between the equipment and the flowmeter, and the propagation speed of the pressure wave. The delay time calculation formula is as follows: _t_ = <sup>_<u>L</u>_</sup> (4) _v_ where _t_ is the fluid transmission time (s), _L_ is the fluid transmission distance (m), and _v_ is the fluid transmission speed in the pipeline (m/s). 2.1.3. Selection of Time Slices The length of the time slice has a direct impact on the accuracy of prediction results. A time slice that is too short can introduce random parameters, leading to decreased prediction accuracy. Conversely, a time slice that is too long can weaken valuable fluctuation data and reduce the number of training samples, thereby weakening the model’s generalization performance. Experimental results indicate that a time slice length between 1 and 10 min is optimal for this application. In this study, time slices of 1 min and 2 min were used. _Sensors_ 2025, _25_, 2411 5 of 19 _2.2._ _LSTM Transformer Composite Architecture Model Based on Wavelet Denoising_ The Long Short-Term Memory (LSTM) networks [33–35] lack explicit memory and forgetting mechanisms, while the Transformer model [36–40] struggles with capturing short-term dependencies in sequences. To address these limitations, we modified the decoder of the Transformer model by incorporating a fully connected layer and introducing an LSTM module, thereby constructing the LSTM–Transformer hybrid model. As illustrated in Figure 1, the proposed model based on wavelet denoising and the LSTM–Transformer combined architecture comprises three main components: wavelet denoising preprocessing, data sequence segmentation, and the enhanced LSTM–Transformer model. Pressure data at different scales are fed into the multihead attention mechanism of the Transformer model to compute feature weights for various time series. These weights, after being processed by a local attention mechanism, focus exclusively on local pressure change characteristics at each time point. Consequently, this approach captures multilevel pressure change features across different scales. Time series data are encoded using relative positional encoding, and features from different scales are concatenated to represent pressure data change characteristics as vectors. The specific process is outlined as follows. Figure 1. Flow chart of LSTM transformer model based on wavelet denoising. The LSTM architecture was configured through Bayesian optimization with 64 hidden units per layer, balancing model complexity (4.2 M parameters) and computational efficiency (inference time < 0.4 s). The 2 min temporal window length was determined via cross-correlation analysis of pressure wave propagation velocities, ensuring complete capture of leakage-induced transient patterns across the 86 km pipeline network. Stacked LSTM layers (depth = 2) improved feature abstraction while maintaining <3% accuracy variation across different pipeline diameters. (1) The input temporal data _Xm_ are decomposed into temporal sequence segments of different scales, and local temporal sequence features are focused on in the temporal dimension to obtain the temporal sequence matrix _Xm_ <sup>_′_</sup> <sup>.</sup> <sup>Inject</sup> <sup>_X_</sup> _m_ <sup>_′_</sup> <sup>into the multi head</sup> _m_ <sup>_′_</sup> <sup>.</sup> <sup>Inject</sup> <sup>_X′_</sup> dimension to obtain the temporal sequence matrix _Xm_ <sup>_′_</sup> <sup>.</sup> <sup>Inject</sup> <sup>_X_</sup> _m_ <sup>_′_</sup> <sup>into the multi head</sup> attention mechanism of the Transformer model to obtain local feature representation _Am_ . _Am_ = MultiHeadAttention( _Xm_ <sup>_′_</sup> - (5) (2) Calculate the feature weights _Sm_ of different temporal sequences separately to calculate the local self-attention score _M_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> . _Sm_ = Softmax(ReLU(( _W_ q _Am_ ) <sup>_T_</sup> _W_ k _Am_ (6) _M_ <sup>(</sup> <sup>_m_</sup> <sup>)</sup> = _n_ ## ∑ _m_ =1 _SmW_ v _Am_ (7) In the formula, _W_ q, _W_ k, and _W_ v are weight matrices. _Sensors_ 2025, _25_, 2411 6 of 19 (3) Concatenate the feature vectors output by the Transformer model to form feature vector representations _H_ for pipeline pressure data at different scales. (4) Inject the feature vector representation H into the LSTM model to further extract temporal features. _m_ <sup>_t_</sup> <sup>= LSTM(</sup> <sup>_H_</sup> <sup>,</sup> <sup>_Wm_</sup> <sup>,</sup> <sup>_Y_</sup> _m_ <sup>_t−_</sup> <sup>1</sup> _Ym_ <sup>_t_</sup> _m_ <sup>_t−_</sup> <sup>1</sup>, _θm_ ) (8) In the formula, _Ym_ <sup>_t_</sup> <sup>is the hidden state at time</sup> <sup>_t_</sup> <sup>; LSTM(*, *. . ., *) is the temporal feature</sup> extraction function of the LSTM model; _Wm_ is the parameter matrix learned during the training process of the LSTM model; _θm_ is the hyperparameter of the LSTM model. Predicted values of _p_ 1 <sup>_′_</sup> <sup>,</sup> <sup>_p_</sup> 2 <sup>_′_</sup> <sup>,</sup> <sup>. . .,</sup> <sup>_p_</sup> _m_ <sup>_′_</sup> <sup>can</sup> <sup>be</sup> <sup>obtained</sup> <sup>for</sup> <sup>pipeline</sup> <sup>pressure</sup> <sup>sequences</sup> of different scales. We Introduced the ensemble learning method and obtained the final pipeline leak prediction result through the voting algorithm: _p_ <sup>_′_</sup> = <sup><u>1</u></sup> _m_ _m_ ## ∑ _j_ =1 _p_ <sup>_′_</sup> _j_ (9) Parameter customization for different signal types: (1) Pressure Signals: Full 3-level wavelet decomposition with soft thresholding ( _β_ = 0.7). (2) Flow Signals: 2-level decomposition, hard thresholding ( _β_ = 1.2), and 0.8 _×_ amplitude scaling. (3) Multi-phase Signals: Adaptive decomposition levels determined through Wigner-Ville distribution analysis (Equation (9)). The scaling factors and thresholding policies were derived from 1872 experimental trials across 12 pipeline configurations, achieving <5% performance variance between signal types. 3. Research on Positioning Algorithms _3.1._ _Leakage Point Localization Algorithm_ Calculate the distance between the pressure waveform curves of each pipe section to determine the location of the pressure disturbance source. When the pressure values at both upstream and downstream stations exhibit a downward trend, it is indicative of a pipeline leak. The leak location is then determined using the time difference in pressure wave propagation to the upstream and downstream stations. The steps of the leak location algorithm are outlined as follows: (1) Read the pressure data from the upstream and downstream stations during the leak period, referred to as _datas_ and _datax_, respectively. (2) The sliding mean strategy is adopted to denoise and reduce the dimension of the original _datas_ and _datax_ . Taking the pressure data of the upstream station as an example, that is, datas_denoising[i] = mean(datas_denoising[i _×_ s:(i + 1) _×_ s]), i = 1, 2, . . ., where a is the window length. _L_, _ω_ 1 _−_ _ω_ 2 0.5 _∗_ ( _L_ + ∆ _t ∗_ _v_ ), <sup>_<u>L</u>_</sup> _v_ <sup>_>_</sup> <sup>_ω_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_ω_</sup> <sup>2</sup> <sup>_≥_</sup> <sup>0</sup> 0.5 _∗_ ( _L −_ ∆ _t ∗_ _v_ ), _−_ <sup>_<u>L</u>_</sup> _v_ <sup>_<_</sup> <sup>_ω_</sup> <sup>1</sup> <sup>_−_</sup> <sup>_ω_</sup> <sup>2</sup> <sup>_<_</sup> <sup>0</sup> 0, _ω_ 1 _−_ _ω_ 2 _≤−_ <sup>_<u>L</u>_</sup> _v_ ∆ _t_ = _|ω_ 1 _−_ _ω_ 2 _| ÷_ 20, _x_ =    (10) where ∆ _t_ is the time difference in seconds. The point _ω_ 1 represents the location where the pressure drop is maximized at the upstream station, while _ω_ 2 denotes the location where the pressure drop is maximized at the downstream station. _x_ is the distance from the leak point to the upstream station in meters, _v_ is the pressure _Sensors_ 2025, _25_, 2411 7 of 19 propagation speed in meters per second, and _L_ is the distance between the upstream and downstream stations in meters. (3) To ensure the stability of the algorithm, select s from {1, 2, 3, . . ., n} and repeat the calculation of a set of leakage point positions Dist. Remove zero elements and elements equal to L from Dist, calculate the range, median, and mean of the remaining elements, and determine the leak location by computing the mean. _3.2._ _Analysis and Verification of Leakage Point Localization Based on Upstream and Downstream_ _Pressure Fluctuations_ The proposed framework operates through three sequential stages: (1) multi-resolution signal preprocessing; (2) hybrid feature engineering; (3) adaptive prediction modeling. The pressure signals first undergo 5-level wavelet decomposition using db4 basis functions. The resulting coefficients are then fused with time-domain statistical features (mean, variance, RMS) and reduced to 12 principal components. These processed features are fed into a stacked LSTM architecture with two hidden layers (64/32 units), trained using a two-phase strategy: initial pre-training on synthetic data (200 epochs) followed by fine-tuning on experimental datasets (50 epochs). Detailed implementation parameters are as follow, including the 12-timestep lookback window and 0.2 dropout rate: (1) Signal Conditioning: Raw pressure data are smoothed via a 0.5 s moving average window and normalized to [ _−_ 1, 1] range. (2) Multi-scale Decomposition: db4 wavelet transform extracts frequency components at five resolution levels. (3) Feature Fusion: Time-frequency characteristics are combined and compressed through PCA. (4) Model Initialization: LSTM layers are configured with Adam optimizer (lr = 0.001) and Glorot weight initialization. (5) Hybrid Training: Synthetic data pre-training precedes experimental data fine-tuning with early stopping. (6) Validation: Predictions are evaluated through 5-fold cross-validation using MAPE, RMSE, and R <sup>2</sup> metrics. Figures 2–5 present the upstream and downstream pressure data curves for four sets of leak data. By comparing these pressure curves with the original pressure data and summarizing the upstream and downstream pressure changes for each set of leak data, as shown in Table 2, it is evident that significant pressure drops occur both upstream and downstream. The pressure differences exceed 1.70 MPa, with a delay of at least 73.80 s compared to the normal propagation time difference. This indicates the presence of a leak point in this section, resulting in a sharp decline in pressure values. Based on the four sets of leak data, assign values to the parameters in the positioning algorithm. By analyzing the upstream and downstream station data for the test points, as shown in Table 3, this algorithm can promptly alert when the leak rate exceeds 1.5%, and the leak volume exceeds 0.6% of the main line flow, with a leak positioning error for long-distance pipelines less than 2.5%. The presence of errors is primarily attributed to the limited number of training samples and deviations in the instantaneous flow measured by flow monitoring sensors in practice, leading to discrepancies between predicted and actual leak point locations. Based on the four sets of leak data, assign values to the parameters in the positioning algorithm. By analyzing the upstream and downstream station data for the test points, as shown in Table 3, this algorithm can promptly alert when the leak rate exceeds 1.5%, and the leak volume exceeds 0.6% of the main line flow, with a leak positioning error for long-distance pipelines less than 2.5%. The presence of errors is primarily attributed to the limited number of training samples and deviations in the instantaneous flow measured _Sensors_ ~~2025~~ ~~,~~ _~~25~~_ ~~, 2411~~ ~~8 of 19~~ by flow monitoring sensors in practice, leading to discrepancies between predicted and actual leak point locations. ( a ) Pressure Curve of Valve Chamber 5 ( b ) Changchun Station Pressure Curve Figure 2. Pressure curve of Group 1 leakage data. ( a ) Pressure Curve of Valve Chamber 5 ( b ) Changchun Station Pressure Curve Figure 3. Pressure curve of Group 2 leakage data. ( a ) Pressure Curve of Valve Chamber 5 ( b ) Changchun Station Pressure Curve Figure 4. Pressure curve of Group 3 leakage data. Table 3. Prediction results of a certain leakage point at different times. Upstream Station Time Testing Point Downstream Station Testing Point Leakage Rate Instantaneous Flow Rate (m <sup>3</sup> /h) Leakage Location Positioning Location 11:50 Valve 5 Changchun Station 3.00% 318 49.26 53.91 14:15 Valve 5 Changchun Station 1.50% 320 49.26 56.63 14:28 Valve 5 Changchun Station 3.72% 376 49.26 48.68 15:50 Valve 5 Changchun Station 1.60% 374 49.26 56.01 _Sensors_ 2025, _25_, 2411 9 of 19 ( a ) Pressure Curve of Valve Chamber 5 ( b ) Changchun Station Pressure Curve Figure 5. Pressure curve of Group 4 leakage data. 4. Experiment and Analysis _4.1._ _Experimental Dataset_ For the oil pipeline between the initial station in Jilin City and the terminal station in Changchun, valve chambers 1#, 5#, and 8# were selected for monitoring. The locations of these valve chambers are illustrated in Figure 6. The selected pipeline has a diameter of 1291 mm. The dataset derives from China’s Jilin-Changchun Pipeline (Φ1291 mm _×_ 12.5 mm, API 5L X70 steel), spanning 136 km with 8 pumping stations. Data collection occurred from January 2020 to June 2022 through 23 Rosemount 3051S pressure transmitters (0.1% FS accuracy) installed at the following: (1) 15 km intervals along trunk lines; (2) 500 m spacing near critical valves (Stations #3/#7); (3) Pump discharge/suction headers (Stations #1/#5/#8); Figure 6. Positions of each valve chamber on the Ji-Chang pipeline. A SCADA system acquired measurements at 2 Hz sampling rate, yielding 1.68 billion raw data points. The dataset includes the following: (1) 14 confirmed leakage incidents (5 artificial, 9 operational); (2) 326 maintenance-induced pressure transients; (3) Continuous 28-month normal operation records; Preprocessing involved the following: (1) Outlier Removal: 3σ thresholding eliminated 0.17% aberrant values; (2) Time Alignment: Compensated 50–200 ms transmission delays across nodes; (3) Normalization: Min–max scaled per sensor’s historical range (0–6.4 MPa); _Sensors_ 2025, _25_, 2411 10 of 19 (4) Wavelet Denoising: db6 wavelet with 5 decomposition levels. In this experiment, to accurately simulate pipeline leakage and precisely control the flow rate and pressure of the fluid within the pipeline, a gradual valve-opening procedure was employed. The valve used is a three-way valve, as illustrated in Figure 7. This type of valve has three ports: port “A” serves as the flow inlet, port “AB” as the main flow outlet, and both remain fully open throughout the experiment. Port “B” is an independent outlet that can be partially opened or closed via piston movement. In this test, the degree of opening at port “B” represents the severity of the simulated pipeline leakage. As shown in Figure 8, the valve is gradually opened at varying speeds to replicate real-world leakage conditions. As depicted in Figure 9, this process meticulously captures the temporal <u>variation of flow velocity at the orifice.</u> <u>Additionally, Figure 10 presents the time-dependent</u> ~~variation in leakage volume, while Figure 11 illustrates the evolution of the instantaneous~~ flow rate from the initial to the final state within the pipe over time. Figure 7. Three way valve simulating pipeline leakage. Figure 8. Valve opening time variation chart. During the gradual adjustment of the valve, real-time flow and leakage data collected by sensors along the pipeline section were analyzed. Based on the observed pressure differences, the dataset was divided into normal operating data and leakage data. By identifying distinct patterns in the pressure curves under normal and leakage conditions, a predictive model was developed to accurately identify leakage points and distinguish them from normal operating conditions. _Sensors_ 2025, _25_, 2411 11 of 19 Figure 9. Diagram of velocity variation with time in tube. Figure 10. Graph of leakage volume changing over time. Figure 11. Fluid velocity profile. The model was applied to continuous time tests conducted in July and August, with a sample interval of 2 min per sample, resulting in the construction of Dataset 1 comprising _Sensors_ 2025, _25_, 2411 12 of 19 33,800 datasets. By adjusting the sample interval to 1 min per sample, Dataset 2 was generated, consisting of 64,790 test samples. The prediction accuracy of the wavelet noise reduction combined LSTM–Transformer network model algorithm was verified using these two datasets. Preliminary analysis of the pressure curve images shown in Figures 12 and 13 indicates that pressure mutation points and abnormal fluctuations in the pressure gradient ~~are correlated with potential leak locations.~~ ~~Through comparison experiments, the impac~~ t of various anomaly points on the pipeline pressure curves was analyzed. Figure 12. Pressure curve for July. _Sensors_ 2025, _25_, 2411 13 of 19 Figure 13. Pressure curve for August. _4.2._ _Experimental Comparison_ The experimental comparison results of this article are shown in Table 4. Experiment 1: LSTM Network Training and Prediction (Pressure Data). Dataset 1 was divided into normal and leak data, with 804 sets of normal data extracted <u>and preprocessed using wavelet denoising for pressure data.</u> <u>Data resampling techniques</u> were employed to extract 53 sets of leak data. A total of 500 sets of processed pressure data <u>were input into the LSTM network for model training, while 300 sets of data were used for</u> prediction. The results from the discrete and continuous test sets are presented in Table 4, <u>Experiment 1.</u> Experiment 2: LSTM Network Training and Prediction (Flow Data). <u>Flow data were input into the LSTM network for training and prediction.</u> <u>A total of</u> 53 samples of leak flow data were collected, and 528 sets of normal flow data were extracted _Sensors_ 2025, _25_, 2411 14 of 19 as a reference. The LSTM network model was trained to predict pipeline flow. The continuous and discrete test set results are presented in Table 4, Experiment 2. Table 4. Results of leakage prediction test for the Ji-chang pipeline. Number Test Set Type Predicting Leakage Predict Normal Total Accuracy 2 24 26 92.30% 3 271 274 98.90% Experiment 1 Experiment 2 Experiment 3 Experiment 4 Experiment 5 LSTM Continuous Test Set (Flow Statistics + Upstream and Downstream Valve Opening) Wavelet Denoising + LSTM Transformer Continuous Test Set (Flow Statistics + Upstream and Downstream Valve Opening) LSTM Discrete Test Set (Pressure Set) 12 64,778 64,790 99.98% 2 64,788 64,790 99.995% LSTM Continuous Test Set 755 33,085 33,840 97.80% (Pressure Set) LSTM Discrete Test Set (Flow Set) 50 3 53 94.30% 12 516 528 97.70% LSTM Continuous Test set 17 33,823 33,840 99.90% (Traffic Set) LSTM Discrete Test Set (Flow + Pressure Set) 12 1 13 92.30% 1 166 167 99.99% LSTM Continuous Test Set 4716 29,124 33,840 86.10% (Flow + Pressure Set) Transformer Discrete Test Set <u>(Pressure Set)</u> 12 2 14 85.70% 0 236 236 99.98% Transformer Continuous Test Set (Pressure Set) 484 33,356 33,840 98.60% Transformer Continuous Test Set 8 33,832 33,840 99.90% (Flow + Pressure Set) Experiment 3: LSTM Network Training and Prediction (Flow and Pressure Data). By comparing Experiment One, which utilized single pressure data, with Experiment Two, which utilized single flow data, and considering the comprehensive monitoring requirements for actual oil and gas pipelines, as well as the variations in the two critical parameters of flow and pressure, we verified the overall performance and predictive capability of the LSTM network in processing multi-dimensional input data. Leveraging a combination of various data from the pipeline for model training, we selected a continuous 24 h period for testing. The experimental results, as shown in Table 5, indicate that the model incorporating both pressure and terminal flow data achieved the best prediction accuracy. Therefore, the combined dataset of pressure and terminal flow was used to further train and predict the model. The processed flow and pressure data were combined according to a specified time window. Dataset 1 was divided into normal and leak data, with 528 sets of normal data extracted from the pipeline’s normal operation and 52 samples of leak data collected. From these, 400 sets of data were used to train the model. The model was evaluated using continuous and discrete test sets, each comprising 180 combined datasets, and the test results are shown in Table 4, Experiment 3. Experiment 4: Transformer network training and prediction. Six hundred of data from Dataset 1 were selected for training, and 250 sets of normal data were used for testing. The procedures from Experiments 1, 2, and 3 were repeated, and the results from the discrete and continuous test sets are presented in Table 4, Experiment 4. The Transformer network and statistical measures were combined and applied to continu _Sensors_ 2025, _25_, 2411 15 of 19 ous time tests. Test results for samples where both methods predicted leaks are shown in Table 4, Experiment 4. Table 5. Multiple data combination controlled trials. Pressure + (Difference Between Terminal and First Station) Pressure + the Sum of Three Valve Motor Currents Pressure + the Sum of Transient Flow at the End Data Types Pressure + the Sum of the First Instantaneous Traffic Total Accuracy Rate 0.73 1.00 0.76 0.93 Underreporting Rate 0.78 0.00 0.78 0.11 False Positives 0.19 0.00 0.14 0.96 Experiment 5: False Alarm Screening Based on Upstream and Downstream Valve Opening Information. (I) LSTM Network + Flow Statistical Measures + Upstream and Downstream Valve Openings To enhance the accuracy of pipeline leak detection systems and reduce false alarm rates, upstream and downstream valve opening information was introduced. Upstream and downstream valve opening data were incorporated into the model input layer and combined with LSTM (Long Short-Term Memory Network) to further screen potential leak false alarms. The test results are summarized in Table 4, Experiment 5. (II) LSTM–Transformer Model with Wavelet Denoising (Flow Statistical Measures + Upstream and Downstream Valve Openings) In the LSTM–Transformer model with wavelet denoising, flow statistical features were integrated to further mitigate false alarms caused by temporary flow fluctuations. Upstream and downstream valve opening data were introduced to analyze valve operation history, distinguishing between flow changes due to normal operations and actual leak events. Wavelet denoising effectively removed noise from the flow data, clearly identifying minor changes in flow. The LSTM model captured long-term dependencies in time series, while the Transformer network’s self-attention mechanism analyzed complex dependencies between different time points. The improved combined model comprehensively predicted flow changes. As shown in Table 4, Experiment 5, only 2 false alarms occurred among the 64,790 predicted samples, demonstrating the model’s good adaptability and robustness under complex flow conditions. From the flow curve in Figure 14, it is evident that the flow response time at Changchun Station is slow. Leak events were already apparent in the input station data, but the model failed to promptly capture the changes in flow due to its lag characteristics, incorrectly interpreting normal fluctuations as leak signals. Increasing the diversity of training data can improve the model’s accuracy and reliability, reducing false alarm occurrences. Figure 14. Flow curve of the first false alarm. _Sensors_ 2025, _25_, 2411 16 of 19 The primary reason, as shown in Figure 15, is insufficient model learning, which affects the model’s ability to distinguish between normal and abnormal states. The data sample size used in actual applications of this model far exceeds the sample size of the dataset used in the experiments. Periodic retraining of the model can address issues of ~~insuff~~ i ~~cient~~ ~~data~~ ~~generalization~~ ~~due~~ ~~to~~ ~~the~~ ~~lack~~ ~~of~~ ~~sample~~ ~~size,~~ ~~ensuring~~ ~~the~~ ~~model~~ ~~ca~~ n continuously adapt to changes in data and new leak patterns. Figure 15. Flow curve of the second false alarm. From the analysis of Table 4, it is evident that in Experiments 1, 2, and 3, the data tests based on LSTM networks exhibited error rates exceeding 2.70%. In Experiment 4, using the Transformer model, the prediction error was 3.95%. In Experiment 5, employing our designed model that integrates wavelet denoising with LSTM and Transformer architectures, the forecast accuracy significantly improved to 99.995%, capable of alerting when leakage exceeds 0.6% of the main pipeline flow. By incorporating wavelet denoising into the LSTM–Transformer model, we extracted richer temporal features, leading to substantial improvements in accuracy and a reduction in false alarms for pipeline leak prediction. This approach effectively addresses the limitations of traditional models, such as inadequate synchronization of spatial and temporal characteristics of leakage signals, reliance on manual data processing, and insufficient generalization capabilities. It more accurately captures and identifies subtle changes indicative of pipeline leakage. 5. Conclusions In this paper, we present a novel algorithm for the identification and localization of leaks in oil and gas pipelines. This algorithm integrates wavelet denoising with an enhanced LSTM–Transformer model. Specifically, the wavelet transform method is utilized to preprocess pipeline pressure data by performing feature extraction and noise reduction. In terms of model architecture, the decoder of the Transformer model is modified by substituting the fully connected layer with an LSTM module, thereby constructing a hybrid LSTM–Transformer model. By inputting wavelet-transformed pressure data at multiple scales, the model captures multilevel pressure variation characteristics, continuously monitors discrepancies between actual and predicted flow rates, and determines the leakage location using the pressure curve distance algorithm. In the experimental study, we examine the influence of various data samples on model performance. Both pressure and flow data samples are employed as inputs, and cross-validation is conducted to evaluate the error accuracy of the two original models and the proposed hybrid model. The proposed wavelet-denoising-based LSTM–Transformer fusion model addresses several challenges inherent in traditional pipeline leakage identification and localization methods, including insufficient data generalization, model lag, and issues related to false alarms and missed detections. _Sensors_ 2025, _25_, 2411 17 of 19 Future Works: This paper mainly uses prediction accuracy and leakage location error as evaluation indicators, but it does not mention other evaluation indicators such as recall rate and F1 score. Subsequently, “recall (sensitivity)”, “F1 score”, and “accurate recall AUC” will be systematically integrated into the evaluation protocol to quantify the error rate and unbalanced resilience of the model, especially in the case of low leakage (<5% flow change), so as to more comprehensively evaluate the performance of the model. Author Contributions: Conceptualization: Y.M.; writing—original draft preparation Z.S.; writing—review and editing: Y.M. and J.Z.; formal analysis and data curation: Z.S. and Y.Z.; methodology: S.Z. and C.B.; investigation: Y.M., G.W., S.Z. and C.B.; funding acquisition and resources: J.Z., G.W. and S.Z.; supervision and validation: Y.M. All authors have read and agreed to the published version of the manuscript. Funding: This study is funded by [1] the Xi <sup>_′_</sup> an Science and Technology Plan Project “Key Technology Research and Application of Intelligent Pipeline Repair Robot Based on Arc Additive Manufacturing” (24ZDCYISGG0045). [2] Shaanxi Province Technology Innovation Guidance Program “Research and Application of Underground Intelligent Traction Robots” (2024QCY-KXJ-019). [3] Shaanxi Province Market Supervision Technology Plan Project “Key Technology Research and Application of Pipeline External Inspection Robots” (2023KY14). [4] Supported by the Gansu Province Technology Innovation Guidance Program “Research and Application of Hydraulic Telescopic Underground Intelligent Traction Robot” (23CXGL0018). [5] Natural Science Basic Research Program of Shaanxi “Research on Thermal-Mechanical Coupling Characteristics and High-Temperature Elastic Mechanics Parameter Testing Methods of Super Insulation Materials” (2024JC-YBMS-449). [6] Scientific Research Program Funded by Shaanxi Provincial Education Department “Research and Application of Key Technologies for Intelligent Drainage and Gas Production Robots in Gas Wells Underground” (24JC053). [7] the Xi’an Science and Technology Plan Project “Research on Key Technologies of Urban Gas Pipeline External Inspection Robot” (24GXFW0038). [8] State Administration for Market Regulation Science and Technology Plan Project "Evaluation of Mechanical Properties and Failure Mechanism of X80 Pipeline Steel for Arc Additive Ultrasonic Shock Composite Repair" (2024MK0514). Institutional Review Board Statement: Not applicable. Informed Consent Statement: Not applicable. Data Availability Statement: The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author. Conflicts of Interest: Author Yunbin Ma was employed by the company PipeChina Institute of Science and Technology. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. References 1. Chen, X.; Jiang, Z.; Li, J.L.; Zhao, Z.D.; Cao, Y.Y. Research on Signal Noise Reduction and Leakage Localization in Urban Water Supply Pipelines Based on Northern Goshawk Optimization. _Sensors_ 2024, _24_, 6091–6114. [[CrossRef] [PubMed]](https://doi.org/10.3390/s24186091) 2. Shin, Y.; Na, Y.K.; Kim, E.S.; Kyung, J.E.; Choi, G.H.; Jeong, J. LSTM-Autoencoder Based Detection of Time-Series Noise Signals for Water Supply and Sewer Pipe Leakages. _Water_ 2024, _16_, 2631–2653. [[CrossRef]](https://doi.org/10.3390/w16182631) 3. Lin, W.F.; Tian, X.H. Research on Leak Detection of Low-Pressure Gas Pipelines in Buildings Based on Improved Variational Mode Decomposition and Robust Kalman Filtering. _Sensors_ 2024, _24_, 4590–4618. [[CrossRef] [PubMed]](https://doi.org/10.3390/s24144590) 4. Ostapkowicz, P.; Bratek, A. Two-Leak Case Diagnosis Based on Static Flow Model for Liquid Transmission Pipelines. _Sensors_ 2023, _23_, 7751–7771. [[CrossRef]](https://doi.org/10.3390/s23187751) 5. Niamat, U.; Zahoor, A.; JongMyon, K. Pipeline Leakage Detection Using Acoustic Emission and Machine Learning Algorithms. _Sensors_ 2023, _23_, 3226–3245. [[CrossRef]](https://doi.org/10.3390/s23063226) 6. Nguyen, D.T.; Nguyen, T.K.; Ahmad, Z.; Kim, J.M. A Reliable Pipeline Leak Detection Method Using Acoustic Emission with Time Difference of Arrival and Kolmogorov-Smirnov Test. _Sensors_ 2023, _23_, 9296–9310. [[CrossRef]](https://doi.org/10.3390/s23239296) _Sensors_ 2025, _25_, 2411 18 of 19 7. Santos, D.N.E.; Reginaldo, S.N.; Longo, N.J.; da Fonseca, R., Jr.; Conte, G.M.; Morales, M.E.R.; Silva, J.M. Advancing oil and gas pipeline monitoring with fast phase fraction sensor. _Meas._ _Sci._ _Technol._ 2024, _35_, 125302–125323. [[CrossRef]](https://doi.org/10.1088/1361-6501/ad73f5) 8. Orsini, J. Acoustic Monitoring Efficiently Identifies Pipeline Leaks. _Opflow_ 2024, _50_, 8–9. [[CrossRef]](https://doi.org/10.1002/opfl.2031) 9. Pahlavanzadeh, F.; Khaloozadeh, H.; Forouzanfar, M. Online fault detection and localization of multiple oil pipeline leaks using model-based residual generation and friction identification. _Int._ _J. Dyn._ _Control_ 2024, _12_, 2615–2628. [[CrossRef]](https://doi.org/10.1007/s40435-024-01386-8) 10. Saleem, F.; Ahmad, Z.; Siddique, F.M.; Umar, M.; Kim, M.J. Acoustic Emission-Based Pipeline Leak Detection and Size Identification Using a Customized One-Dimensional DenseNet. _Sensors_ 2025, _25_, 1112–1134. [[CrossRef]](https://doi.org/10.3390/s25041112) 11. Tajalli, M.A.S.; Moattari, M.; Naghavi, V.S.; Salehizadeh, R.M. A Novel Hybrid Internal Pipeline Leak Detection and Location System Based on Modified Real-Time Transient Modelling. _Modelling_ 2024, _5_, 1135–1157. [[CrossRef]](https://doi.org/10.3390/modelling5030059) 12. Faysal, A.; Adhreena, M.S.N.A.; Vorathin, E.; Hafizi, Z.M.; Ngui, W.K. Leak diagnosis of pipeline based on empirical mode decomposition and support vector machine. _IOP Conf._ _Ser._ _Mater._ _Sci._ _Eng._ 2021, _1078_, 012023–012031. [[CrossRef]](https://doi.org/10.1088/1757-899X/1078/1/012023) 13. Faerman, A.V.; Avramchuk, S.V. Comparative Study of Basic Time Domain Time-Delay Estimators for Locating Leaks in Pipelines. _Int._ _J. Networked Distrib._ _Comput._ 2020, _8_, 49–57. [[CrossRef]](https://doi.org/10.2991/ijndc.k.200129.001) 14. Yu, X.C.; Liang, W.; Zhang, L.B.; Jin, H.; Qiu, J.W. Dual-tree complex wavelet transform and SVD based acoustic noise reduction and its application in leak detection for nature gas pipeline. _Mech._ _Syst._ _Signal Process._ 2016, _72_, 266–285. [[CrossRef]](https://doi.org/10.1016/j.ymssp.2015.10.034) 15. Tejedor, J.; Macias, G.J.; Martins, H.F.; Piote, D.; Graells, P.J.; Lopez, M.S.; Corredera, P.; Herraez, G.M.; Lewis, E. A novel fiber optic based surveillance system for prevention of pipeline integrity threats. _Sensors_ 2017, _17_, 35–374. [[CrossRef]](https://doi.org/10.3390/s17020355) 16. Rojas, J.; Verde, C. Adaptive estimation of the hydraulic gradient for the location of multiple leaks in pipelines. _Control Eng._ _Pract._ 2020, _95_, 104226–104236. [[CrossRef]](https://doi.org/10.1016/j.conengprac.2019.104226) 17. Cai, Y.J.; Santos, R.B.; Givigi, S.N. A pipeline leak classification and location estimation system with convolutional neural networks. _IEEE Syst._ _J._ 2020, _14_, 3072–3081. [[CrossRef]](https://doi.org/10.1109/JSYST.2020.3002760) 18. Kampelopoulos, D.; Papastavrou, G.N.; Kousiopoulos, G.P.; Karagiorgos, N.; Goudos, S.K.; Nikolaidis, S. Machine learning model comparison for leak detection in noisy industrial pipelines. In Proceedings of the International Conference on Modern Circuits and Systems Technologies, Bremen, Germany, 7–9 September 2020; pp. 1–4. 19. Lukonge, A.B.; Cao, X.W. Leak Detection System for Long-Distance Onshore and Offshore Gas Pipeline Using Acoustic Emission Technology. A Review. _Trans._ _Indian Inst._ _Met._ 2020, _73_, 1715–1727. [[CrossRef]](https://doi.org/10.1007/s12666-020-02002-x) 20. Zuo, Z.L.; Ma, L.; Liang, S.; Liang, J.; Zhang, H.; Liu, T. A semi-supervised leakage detection method driven by multivariate time series for natural gas gathering pipeline. _Process Saf._ _Environ._ _Prot._ 2022, _164_, 468–478. [[CrossRef]](https://doi.org/10.1016/j.psep.2022.06.036) 21. ¸Sahin, E.; Yüce, H. Prediction of Water Leakage in Pipeline Networks Using Graph Convolutional Network Method. _Appl._ _Sci._ 2023, _13_, 7427–7443. [[CrossRef]](https://doi.org/10.3390/app13137427) 22. Sankarasubramanian, P. An efficient crack detection and leakage monitoring in liquid metal pipelines using a novel BRetN and TCK-LSTM techniques. _Multimed._ _Tools Appl._ 2024, 1–29. [[CrossRef]](https://doi.org/10.1007/s11042-024-20170-6) 23. Ullah, N.; Siddique, F.M.; Ullah, S.; Ahmad, Z.; Kim, J.M. Pipeline Leak Detection System for a Smart City: Leveraging Acoustic Emission Sensing and Sequential Deep Learning. _Smart Cities_ 2024, _7_, 2318–2338. [[CrossRef]](https://doi.org/10.3390/smartcities7040091) 24. Ahn, B.; Kim, J.; Choi, B. Artificial intelligence-based machine learning considering flow and temperature of the pipeline for leak early detection using acoustic emission. _Eng._ _Fract._ _Mech._ 2019, _210_, 381–392. [[CrossRef]](https://doi.org/10.1016/j.engfracmech.2018.03.010) 25. Yussuf, W.O.; Adebowale, O.A.; Kingsley, A. Mathematical modelling and simulation of leak detection system in crude oil pipeline. _Heliyon_ 2023, _9_, 15412–15426. 26. Rajasekaran, U.; Kothandaraman, M.; Pua, H.C. Novel EMD with Optimal Mode Selector, MFCC, and 2DCNN for Leak Detection and Localization in Water Pipeline. _Appl._ _Sci._ 2023, _13_, 12892–12909. [[CrossRef]](https://doi.org/10.3390/app132312892) 27. Siddique, F.M.; Ahmad, Z.; Ullah, N.; Ullah, S.; Kim, M.J. Pipeline Leak Detection: A Comprehensive Deep Learning Model Using CWT Image Analysis and an Optimized DBN-GA-LSSVM Framework. _Sensors_ 2024, _24_, 4009. [[CrossRef]](https://doi.org/10.3390/s24124009) 28. Pahlavanzadeh, F.; Khaloozadeh, H.; Forouzanfar, M. Oil pipeline multiple leakage detection and localization based on sensor fusion. _Eng._ _Fail._ _Anal._ 2025, _167_, 109038. [[CrossRef]](https://doi.org/10.1016/j.engfailanal.2024.109038) 29. Ali, J.; Masoud, M.; Brian, B.; Mao, D.H.; Bahram, S.; Fariba, M. 3DUNetGSFormer: A deep learning pipeline for complex wetland mapping using generative adversarial networks and Swin transformer. _Ecol._ _Inform._ 2022, _72_, 101904–101915. 30. Fatih, K.; Ahmet, Z.; Resul, K.; Sultan, Z. Leakage detection and localization on water transportation pipelines: A multi-label classification approach. _Neural Comput._ _Appl._ 2024, _10_, 2905–2914. 31. Zhang, M.; Gao, L.; Zhang, X.; Zhang, S. An infrasound source localisation algorithm for improving location accuracy of gas pipeline leakage detection system. _Int._ _J. Embed._ _Syst._ 2022, _15_, 9–18. [[CrossRef]](https://doi.org/10.1504/IJES.2022.122042) 32. Brahami, M.A.; Abdi, S.M.; Hamdi Cherif, S.; Bendahmane, A. Optimization of a Pipelines Leak Detection Method Based on Inverse Transient Analysis Using a Genetic Algorithm. _Arab._ _J. Sci._ _Eng._ 2022, _48_, 1451–1460. [[CrossRef]](https://doi.org/10.1007/s13369-022-06872-9) 33. Farooq, M.S.; Zahoor, A.; Myon, J.K. Pipeline leak diagnosis based on leak-augmented scalograms and deep learning. _Eng._ _Appl._ _Comput._ _Fluid Mech._ 2023, _1_, 2225577–2225593. _Sensors_ 2025, _25_, 2411 19 of 19 34. Saleem, F.; Ahmad, Z.; Kim, M.J. Real-Time Pipeline Leak Detection: A Hybrid Deep Learning Approach Using Acoustic Emission Signals. _Appl._ _Sci._ 2024, _15_, 185–204. [[CrossRef]](https://doi.org/10.3390/app15010185) 35. Farzin, P.; Myon, J.K. Leak detection and localization for pipelines using multivariable fuzzy learning backstepping. _J. Intell._ _Fuzzy Syst._ 2021, _42_, 377–388. 36. Rohan, P.; Kumara, S. An Efficient Architecture for Modified Lifting-Based Discrete Wavelet Transform. _Sens._ _Imaging_ 2020, _21_, 53–75. 37. Karimanzira, D. Simultaneous Pipe Leak Detection and Localization Using Attention-Based Deep Learning Autoencoder. _Electronics_ 2023, _12_, 46–65. [[CrossRef]](https://doi.org/10.3390/electronics12224665) 38. Fernando, M.C.F.; Ugli, K.A.M.; Jeongnam, K.; Younho, C.; Kyoung, J. A novel flaw detection approach in carbon steel pipes through ultrasonic guided waves and optimized transformer neural networks. _J. Mech._ _Sci._ _Technol._ 2024, _38_, 3253–3263. 39. Houshang, A.A.; Ali, H.; Reza, H.G. Machine learning approach to transient-based leak detection of pressurized pipelines: Classification vs Regression. _J. Civ._ _Struct._ _Health Monit._ 2022, _12_, 611–628. 40. Vrinda, G. Recent technologies for leak Detection in Pipeline: A review. _Water Energy Int._ 2021, _64_, 29–37. 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.

섹션 본문 104문단 · 43,275자

(제목 없음)

1Traditional leakage prediction models for long-distance pipelines have limitations in effectively synchronizing spatial and temporal features of leakage signals, leading to data processing that heavily relies on manual experience and exhibits insufficient generalization capabilities.This paper introduces a novel leakage detection and localization algorithm for oil and gas pipelines, integrating wavelet denoising with a Long Short-Term Memory (LSTM)-Transformer model.The proposed algorithm utilizes pressure sensors to collect real-time pipeline pressure data and applies wavelet denoising to eliminate noise from the pressure signals.By combining LSTM's temporal feature extraction with the Transformer's self-attention mechanism, we construct a short-term average pressure gradient-average instantaneous flow network model.This model continuously predicts pipeline flow based on real-time pressure gradient inputs, monitors deviations between actual and predicted flow, and employs a pressure curve distance algorithm to accurately determine the leakage location.Experimental results from the Jilin-Changchun long-distance oil pipeline demonstrate that the model possesses superior leakage warning and localization capabilities.Specifically, the leakage prediction accuracy reaches 99.995%, with a leakage location error margin below 2.5%.Additionally, the model can detect leaks exceeding 0.6% of the main pipeline flow without generating false alarms during operation.

Introduction

2Cracks in welds, corrosion perforation, and third-party damage to oil and gas pipelines can result in severe consequences, including explosions [1][2][3].Remote sensing technology, utilizing satellite imagery and drone photography, enables real-time monitoring of surface changes along the pipeline route, providing critical support for the early detection of pipeline leaks [4][5][6].However, remote sensing data cannot fully capture key parameters of pressure changes inside the pipeline.The negative pressure wave method-based pipeline pressure sensing monitoring system [7][8][9][10] provides high-precision pressure data but suffers from long response times and high false alarm rates due to the lag characteristics of the monitoring sensors.To address these challenges, researchers have continuously developed innovative models and algorithms that integrate remote sensing data with pressure sensor data, thereby overcoming the limitations of single data sources [11][12][13].

3Yu et al. [14] utilized dual-tree complex wavelet transform and singular value decomposition as primary methods for processing leak signals, but this approach has low accuracy in determining the scale of the leak.Refs.[15,16] employed a context feature extraction module and a multi-layer perceptron to fuse features, using a Gaussian mixture model for feature vector classification, but this method struggles with handling the uncertainty of new data.Refs.[17,18] designed a convolutional neural network system for pipeline leak classification and location estimation that does not require any frequency analysis tools for data preprocessing.Lukonge et al. [19] developed a long-distance leak detection system based on acoustic emission research, but it struggles to adapt to different pipeline systems.Zuo et al. [20] constructed a hybrid model based on long short-term memory networks and autoencoders, which carries the risk of deviating from true features.Ersin Şahin et al. [21] proposed a machine learning model using graph convolutional networks that leverages graph-type data structures of pressure and flow data for pipeline leak prediction, but it can suffer from overfitting issues when training data are limited.Sankarasubramanian et al. [22] employed continuous wavelet transform to extract image features, inputting them into a long short-term memory network model based on Tent Chaotic Kaiming, with the limitation being the need for a large-scale training dataset.Ullah et al. [23] studied a sequential deep learning model using bidirectional LSTM for determining the scale of pipeline leaks, which may suffer from reduced generalization capabilities due to insufficient quantities and quality of labeled data.

4By comparing the pipeline leak prediction models listed in Table 1, this paper addresses the issues of data processing, which rely heavily on human experience and exhibit insufficient generalization capabilities.The study incorporates the spatial and temporal characteristics of pipeline data [24][25][26][27], removes noise from sensor-measured data through wavelet denoising, and proposes a novel wavelet denoising-based LSTM-Transformer network model algorithm.Compared to traditional models, this proposed model effectively integrates pressure data with remote sensing data.Specifically, the LSTM's memory cells capture long-term dependencies, while the Transformer's self-attention mechanism comprehends both fine-grained and macro-level context, thereby enhancing its effectiveness in capturing sequence patterns and broader contextual information.Tejedor and Rojas [15,16] Context Extraction-Multi-Layer Perceptron Fusion

5Over-fit, difficult to cope with new data 2020 Cai and Kampelopoulos [17,18] Convolutional Neural Networks Rely on data quality and quantity 2020 Lukonge [

Data Preprocessing

6In practice, operational long-distance pipelines exhibit significant differences from simplified laboratory-built pipeline models [28,29].Due to abrupt pressure changes and complex environmental influences, the leak data collected by sensors frequently contain noise.Utilizing the wavelet transform method [30][31][32] for noise reduction and feature selection in pipeline leak data effectively addresses the issue of high dimensionality in raw data features.

7Wavelet denoising employed Daubechies 4 (db4) basis functions selected through a quantitative comparison of reconstruction fidelity across six wavelet families (Table 2).Three decomposition levels were optimized via energy spectral density analysis, preserving 96.8% of leakage-related features in the approximation coefficients (A3).The adaptive threshold θ = σ √ (2 lnN) follows Donoho's universal principle with a correction factor ε = 0.05σ to prevent over-smoothing (Equation ( 3)).Pressure signals underwent full 3-level decomposition, while flow signals used 2-level decomposition to retain highfrequency components.The denoising process using the wavelet transform method is outlined as follows:

8(1) Represent the leaked data containing noise as

9where s(i) represents the leak data containing noise, f (i) represents the denoised data, e(i) represents the noise data, and n is the total number of data points in the test set.(2) In the first-level wavelet decomposition, noise data are in A1, and denoised data are in B1.The second-level wavelet decomposition further decomposes the data in B1 into A2 and B2.After the third-level wavelet decomposition, noise data are in A1, A2, A3, and denoised data are in B1, B2, B3.The noise data in A1, A2, and A3 is appropriately reduced or replaced with 0. This paper uses an improved threshold function.

10where θ is the threshold; d i is the wavelet coefficient for threshold selection; ε is a variable that changes with the wavelet coefficient d i ; N is a constant.

11(3) Following the reconstruction, evaluate the low-frequency data signals obtained from wavelet decomposition and the high-frequency data signals quantized by the threshold.If the desired effect is not achieved, proceed with additional wavelet transformations; otherwise, terminate the process.

Flow Data

12The experimental system deployed Rosemount 3051S piezoresistive pressure sensors (Emerson Electric Co., St. Louis, MI, USA) with a measurement range of 0-10 MPa (±0.065% accuracy, IEC 60770 Class 0.065) and FLEXIM FLUXUS G608 ultrasonic (Flexim Co., Berlin, Germany) flow meters utilizing dual-path transit-time measurement (±0.5% accuracy for liquids).Pressure sensors were spaced at 4.8 km intervals per API RP 1130 specifications, while flow meters were installed at all pump stations and block valve sites.Data acquisition utilized National Instruments (Austin, TX, USA) cDAQ-9188 chassis equipped with 16-bit NI 9205 analog input modules, sampling at 1 kHz for pressure, and 200 Hz for flow signals.Time synchronization via IEEE 1588 Precision Time Protocol ensured inter-channel skew below 1 µs.Quarterly field calibration with Druck DPI 620 portable calibrators (pressure) and FLUXIM FLC-01 prover loops (flow) maintained measurement traceability to NIST standards, while on-chip Pt100 temperature sensors compensated for environmental drift (−40 • C to +85 • C operational range).Signal integrity was validated through cyclic redundancy checks (CRC-32) and cross-sensor correlation analysis, achieving 99.7% data validity over the 18-month monitoring period.

13Different processing methods for pressure and flow data can significantly enhance the accuracy of predictions.While pressure data predominantly contain low-frequency components under normal operating conditions, special scenarios involving abrupt pressure shocks (e.g., water hammer effects) or high-frequency mechanical vibrations may introduce diagnostically relevant high-frequency components in pressure signals.For flow signals, the high-frequency components typically contain valuable feature information that should not be eliminated as noise.If the actual monitored flow data exhibit significant fluctuations, it can first be linearly scaled down before being input into the network.After obtaining the prediction results, the data can then be proportionally scaled back up.No filtering is required for these high-frequency components.

Backtracking Time Depth

14When selecting the backtracking time depth, it is essential to account for the delay time caused by the pressure gradient's impact on flow.For instance, a valve closure at the pipeline's starting point causes pressure changes that propagate to adjacent sections within 1 s.However, the effect on flow at the pipeline's end may take several seconds to several minutes, depending on the pipeline length.Therefore, the backtracking time depth should be determined based on the location of pressure-affecting equipment, the distance between the equipment and the flowmeter, and the propagation speed of the pressure wave.The delay time calculation formula is as follows:

15where t is the fluid transmission time (s), L is the fluid transmission distance (m), and v is the fluid transmission speed in the pipeline (m/s).

Selection of Time Slices

16The length of the time slice has a direct impact on the accuracy of prediction results.A time slice that is too short can introduce random parameters, leading to decreased prediction accuracy.Conversely, a time slice that is too long can weaken valuable fluctuation data and reduce the number of training samples, thereby weakening the model's generalization performance.Experimental results indicate that a time slice length between 1 and 10 min is optimal for this application.In this study, time slices of 1 min and 2 min were used.

LSTM Transformer Composite Architecture Model Based on Wavelet Denoising

17The Long Short-Term Memory (LSTM) networks [33][34][35] lack explicit memory and forgetting mechanisms, while the Transformer model [36][37][38][39][40] struggles with capturing short-term dependencies in sequences.To address these limitations, we modified the decoder of the Transformer model by incorporating a fully connected layer and introducing an LSTM module, thereby constructing the LSTM-Transformer hybrid model.

18As illustrated in Figure 1, the proposed model based on wavelet denoising and the LSTM-Transformer combined architecture comprises three main components: wavelet denoising preprocessing, data sequence segmentation, and the enhanced LSTM-Transformer model.Pressure data at different scales are fed into the multihead attention mechanism of the Transformer model to compute feature weights for various time series.These weights, after being processed by a local attention mechanism, focus exclusively on local pressure change characteristics at each time point.Consequently, this approach captures multilevel pressure change features across different scales.Time series data are encoded using relative positional encoding, and features from different scales are concatenated to represent pressure data change characteristics as vectors.The specific process is outlined as follows.

19ization performance.Experimental results indicate that a time slice length between 1 and 10 min is optimal for this application.In this study, time slices of 1 min and 2 min were used.

20The Long Short-Term Memory (LSTM) networks [33][34][35] lack explicit memory and forgetting mechanisms, while the Transformer model [36][37][38][39][40] struggles with capturing short-term dependencies in sequences.To address these limitations, we modified the decoder of the Transformer model by incorporating a fully connected layer and introducing an LSTM module, thereby constructing the LSTM-Transformer hybrid model.

21As illustrated in Figure 1 .

22In the formula, W q , W k , and W v are weight matrices.

23In the formula, Y t m is the hidden state at time t; LSTM(*, *. .., *) is the temporal feature extraction function of the LSTM model; W m is the parameter matrix learned during the training process of the LSTM model; θ m is the hyperparameter of the LSTM model.

24Predicted values of p ′ 1 , p ′ 2 , . .., p ′ m can be obtained for pipeline pressure sequences of different scales.We Introduced the ensemble learning method and obtained the final pipeline leak prediction result through the voting algorithm:

25Parameter customization for different signal types:

26(1) Pressure Signals: Full 3-level wavelet decomposition with soft thresholding (β = 0.7).

27(2) Flow Signals: 2-level decomposition, hard thresholding (β = 1.2), and 0.8 × amplitude scaling.

28(3) Multi-phase Signals: Adaptive decomposition levels determined through Wigner-Ville distribution analysis (Equation ( 9)).

29The scaling factors and thresholding policies were derived from 1872 experimental trials across 12 pipeline configurations, achieving <5% performance variance between signal types.

Leakage Point Localization Algorithm

30Calculate the distance between the pressure waveform curves of each pipe section to determine the location of the pressure disturbance source.When the pressure values at both upstream and downstream stations exhibit a downward trend, it is indicative of a pipeline leak.The leak location is then determined using the time difference in pressure wave propagation to the upstream and downstream stations.The steps of the leak location algorithm are outlined as follows:

31(1) Read the pressure data from the upstream and downstream stations during the leak period, referred to as datas and datax, respectively.(2) The sliding mean strategy is adopted to denoise and reduce the dimension of the original datas and datax.Taking the pressure data of the upstream station as an example, that is, datas_denoising[i] = mean(datas_denoising[i × s:(i + 1) × s]), i = 1, 2, . .., where a is the window length.

32where ∆t is the time difference in seconds.The point ω1 represents the location where the pressure drop is maximized at the upstream station, while ω2 denotes the location where the pressure drop is maximized at the downstream station.x is the distance from the leak point to the upstream station in meters, v is the pressure propagation speed in meters per second, and L is the distance between the upstream and downstream stations in meters.(3) To ensure the stability of the algorithm, select s from {1, 2, 3, . .., n} and repeat the calculation of a set of leakage point positions Dist.Remove zero elements and elements equal to L from Dist, calculate the range, median, and mean of the remaining elements, and determine the leak location by computing the mean.

Analysis and Verification of Leakage Point Localization Based on Upstream and Downstream Pressure Fluctuations

33The proposed framework operates through three sequential stages: (1) multi-resolution signal preprocessing; (2) hybrid feature engineering; (3) adaptive prediction modeling.The pressure signals first undergo 5-level wavelet decomposition using db4 basis functions.The resulting coefficients are then fused with time-domain statistical features (mean, variance, RMS) and reduced to 12 principal components.These processed features are fed into a stacked LSTM architecture with two hidden layers (64/32 units), trained using a two-phase strategy: initial pre-training on synthetic data (200 epochs) followed by fine-tuning on experimental datasets (50 epochs).Detailed implementation parameters are as follow, including the 12-timestep lookback window and 0.2 dropout rate: Figures 2-5 present the upstream and downstream pressure data curves for four sets of leak data.By comparing these pressure curves with the original pressure data and summarizing the upstream and downstream pressure changes for each set of leak data, as shown in Table 2, it is evident that significant pressure drops occur both upstream and downstream.The pressure differences exceed 1.70 MPa, with a delay of at least 73.80 s compared to the normal propagation time difference.This indicates the presence of a leak point in this section, resulting in a sharp decline in pressure values.

34Based on the four sets of leak data, assign values to the parameters in the positioning algorithm.By analyzing the upstream and downstream station data for the test points, as shown in Table 3, this algorithm can promptly alert when the leak rate exceeds 1.5%, and the leak volume exceeds 0.6% of the main line flow, with a leak positioning error for long-distance pipelines less than 2.5%.The presence of errors is primarily attributed to the limited number of training samples and deviations in the instantaneous flow measured by flow monitoring sensors in practice, leading to discrepancies between predicted and actual leak point locations.Based on the four sets of leak data, assign values to the parameters in the positioning algorithm.By analyzing the upstream and downstream station data for the test points, as shown in Table 3, this algorithm can promptly alert when the leak rate exceeds 1.5%, and the leak volume exceeds 0.6% of the main line flow, with a leak positioning error for long-distance pipelines less than 2.5%.The presence of errors is primarily attributed to the limited number of training samples and deviations in the instantaneous flow measured by flow monitoring sensors in practice, leading to discrepancies between predicted and actual leak point locations.Based on the four sets of leak data, assign values to the parameters in the positioning algorithm.By analyzing the upstream and downstream station data for the test points, as shown in Table 3, this algorithm can promptly alert when the leak rate exceeds 1.5%, and the leak volume exceeds 0.6% of the main line flow, with a leak positioning error for longdistance pipelines less than 2.5%.The presence of errors is primarily attributed to the limited number of training samples and deviations in the instantaneous flow measured by flow monitoring sensors in practice, leading to discrepancies between predicted and actual leak point locations.Based on the four sets of leak data, assign values to the parameters in the positioning algorithm.By analyzing the upstream and downstream station data for the test points, as shown in Table 3, this algorithm can promptly alert when the leak rate exceeds 1.5%, and the leak volume exceeds 0.6% of the main line flow, with a leak positioning error for long-distance pipelines less than 2.5%.The presence of errors is primarily attributed to the limited number of training samples and deviations in the instantaneous flow measured by flow monitoring sensors in practice, leading to discrepancies between predicted and actual leak point locations.

Experimental Dataset

35For the oil pipeline between the initial station in Jilin City and the terminal station in Changchun, valve chambers 1#, 5#, and 8# were selected for monitoring.The locations of these valve chambers are illustrated in Figure 6.The selected pipeline has a diameter of 1291 mm.The dataset derives from China's Jilin-Changchun Pipeline (Φ1291 mm × 12.5 mm, API 5L X70 steel), spanning 136 km with 8 pumping stations.Data collection

36For the oil pipeline between the initial station in Jilin City and the terminal station in Changchun, valve chambers 1#, 5#, and 8# were selected for monitoring.The locations of these valve chambers are illustrated in Figure 6.The selected pipeline has a diameter of 1291 mm.The dataset derives from China's Jilin-Changchun Pipeline (Φ1291 mm × 12.5 mm, API 5L X70 steel), spanning 136 km with 8 pumping stations.Data collection occurred from January 2020 to June 2022 through 23 Rosemount 3051S pressure transmitters (0.1% FS accuracy) installed at the following: (2) 500 m spacing near critical valves (Stations #3/#7);

37(3) Pump discharge/suction headers (Stations #1/#5/#8);

38A SCADA system acquired measurements at 2 Hz sampling rate, yielding 1.68 billion raw data points.The dataset includes the following:

39(1) 14 confirmed leakage incidents (5 artificial, 9 operational);

40(2) 326 maintenance-induced pressure transients;

41(3) Continuous 28-month normal operation records;

42Preprocessing involved the following:

43(1) Outlier Removal: 3σ thresholding eliminated 0.17% aberrant values;

44(2) Time Alignment: Compensated 50-200 ms transmission delays across nodes;

45(3) Normalization: Min-max scaled per sensor's historical range (0-6.4MPa); (4) Wavelet Denoising: db6 wavelet with 5 decomposition levels.

46In this experiment, to accurately simulate pipeline leakage and precisely control the flow rate and pressure of the fluid within the pipeline, a gradual valve-opening procedure was employed.The valve used is a three-way valve, as illustrated in Figure 7.This type of valve has three ports: port "A" serves as the flow inlet, port "AB" as the main flow outlet, and both remain fully open throughout the experiment.Port "B" is an independent outlet that can be partially opened or closed via piston movement.In this test, the degree of opening at port "B" represents the severity of the simulated pipeline leakage.As shown in Figure 8, the valve is gradually opened at varying speeds to replicate real-world leakage conditions.As depicted in Figure 9, this process meticulously captures the temporal variation of flow velocity at the orifice.Additionally, Figure 10 presents the time-dependent variation in leakage volume, while Figure 11 illustrates the evolution of the instantaneous flow rate from the initial to the final state within the pipe over time.

47During the gradual adjustment of the valve, real-time flow and leakage data collected by sensors along the pipeline section were analyzed.Based on the observed pressure differences, the dataset was divided into normal operating data and leakage data.By identifying distinct patterns in the pressure curves under normal and leakage conditions, a predictive model was developed to accurately identify leakage points and distinguish them from normal operating conditions.In this experiment, to accurately simulate pipeline leakage and precisely control the flow rate and pressure of the fluid within the pipeline, a gradual valve-opening procedure was employed.The valve used is a three-way valve, as illustrated in Figure 7.This type of valve has three ports: port "A" serves as the flow inlet, port "AB" as the main flow outlet, and both remain fully open throughout the experiment.Port "B" is an independent outlet that can be partially opened or closed via piston movement.In this test, the degree of opening at port "B" represents the severity of the simulated pipeline leakage.As shown in Figure 8, the valve is gradually opened at varying speeds to replicate real-world leakage conditions.As depicted in Figure 9, this process meticulously captures the temporal variation of flow velocity at the orifice.Additionally, Figure 10 presents the time-dependent variation in leakage volume, while Figure 11 illustrates the evolution of the instantaneous flow rate from the initial to the final state within the pipe over time.During the gradual adjustment of the valve, real-time flow and leakage data collected by sensors along the pipeline section were analyzed.Based on the observed pressure differences, the dataset was divided into normal operating data and leakage data.By identifying distinct patterns in the pressure curves under normal and leakage conditions, a predictive model was developed to accurately identify leakage points and distinguish them from normal operating conditions.The model was applied to continuous time tests conducted in July and August, with a sample interval of 2 min per sample, resulting in the construction of Dataset 1 comprising 33,800 datasets.By adjusting the sample interval to 1 min per sample, Dataset 2 was generated, consisting of 64,790 test samples.The prediction accuracy of the wavelet noise reduction combined LSTM-Transformer network model algorithm was verified using these two datasets.Preliminary analysis of the pressure curve images shown in Figures 12 and 13 indicates that pressure mutation points and abnormal fluctuations in the pressure gradient are correlated with potential leak locations.Through comparison experiments, the impact of various anomaly points on the pipeline pressure curves was analyzed.

Experimental Comparison

48The experimental comparison results of this article are shown in Table 4.

49The experimental comparison results of this article are shown in Table 4. Experiment 1: LSTM Network Training and Prediction (Pressure Data).Dataset 1 was divided into normal and leak data, with 804 sets of normal data extracted and preprocessed using wavelet denoising for pressure data.Data resampling techniques were employed to extract 53 sets of leak data.A total of 500 sets of processed pressure data were input into the LSTM network for model training, while 300 sets of data were used for prediction.The results from the discrete and continuous test sets are presented in Table 4, Experiment 1.By comparing Experiment One, which utilized single pressure data, with Experiment Two, which utilized single flow data, and considering the comprehensive monitoring requirements for actual oil and gas pipelines, as well as the variations in the two critical parameters of flow and pressure, we verified the overall performance and predictive capability of the LSTM network in processing multi-dimensional input data.Leveraging a combination of various data from the pipeline for model training, we selected a continuous 24 h period for testing.The experimental results, as shown in Table 5, indicate that the model incorporating both pressure and terminal flow data achieved the best prediction accuracy.Therefore, the combined dataset of pressure and terminal flow was used to further train and predict the model.The processed flow and pressure data were combined according to a specified time window.Dataset 1 was divided into normal and leak data, with 528 sets of normal data extracted from the pipeline's normal operation and 52 samples of leak data collected.From these, 400 sets of data were used to train the model.The model was evaluated using continuous and discrete test sets, each comprising 180 combined datasets, and the test results are shown in Table 4 From the analysis of Table 4, it is evident that in Experiments 1, 2, and 3, the data tests based on LSTM networks exhibited error rates exceeding 2.70%.In Experiment 4, using the Transformer model, the prediction error was 3.95%.In Experiment 5, employing our designed model that integrates wavelet denoising with LSTM and Transformer architectures, the forecast accuracy significantly improved to 99.995%, capable of alerting when leakage exceeds 0.6% of the main pipeline flow.

50By incorporating wavelet denoising into the LSTM-Transformer model, we extracted richer temporal features, leading to substantial improvements in accuracy and a reduction in false alarms for pipeline leak prediction.This approach effectively addresses the limitations of traditional models, such as inadequate synchronization of spatial and temporal characteristics of leakage signals, reliance on manual data processing, and insufficient generalization capabilities.It more accurately captures and identifies subtle changes indicative of pipeline leakage.

Conclusions

51In this paper, we present a novel algorithm for the identification and localization of leaks in oil and gas pipelines.This algorithm integrates wavelet denoising with an enhanced LSTM-Transformer model.Specifically, the wavelet transform method is utilized to preprocess pipeline pressure data by performing feature extraction and noise reduction.In terms of model architecture, the decoder of the Transformer model is modified by substituting the fully connected layer with an LSTM module, thereby constructing a hybrid LSTM-Transformer model.By inputting wavelet-transformed pressure data at multiple scales, the model captures multilevel pressure variation characteristics, continuously monitors discrepancies between actual and predicted flow rates, and determines the leakage location using the pressure curve distance algorithm.In the experimental study, we examine the influence of various data samples on model performance.Both pressure and flow data samples are employed as inputs, and cross-validation is conducted to evaluate the error accuracy of the two original models and the proposed hybrid model.The proposed wavelet-denoising-based LSTM-Transformer fusion model addresses several challenges inherent in traditional pipeline leakage identification and localization methods, including insufficient data generalization, model lag, and issues related to false alarms and missed detections.

52Future Works: This paper mainly uses prediction accuracy and leakage location error as evaluation indicators, but it does not mention other evaluation indicators such as recall rate and F1 score.Subsequently, "recall (sensitivity)", "F1 score", and "accurate recall AUC" will be systematically integrated into the evaluation protocol to quantify the error From the analysis of Table 4, it is evident that in Experiments 1, 2, and 3, the data tests based on LSTM networks exhibited error rates exceeding 2.70%.In Experiment 4, using the Transformer model, the prediction error was 3.95%.In Experiment 5, employing our designed model that integrates wavelet denoising with LSTM and Transformer architectures, the forecast accuracy significantly improved to 99.995%, capable of alerting when leakage exceeds 0.6% of the main pipeline flow.

53By incorporating wavelet denoising into the LSTM-Transformer model, we extracted richer temporal features, leading to substantial improvements in accuracy and a reduction in false alarms for pipeline leak prediction.This approach effectively addresses the limitations of traditional models, such as inadequate synchronization of spatial and temporal characteristics of leakage signals, reliance on manual data processing, and insufficient generalization capabilities.It more accurately captures and identifies subtle changes indicative of pipeline leakage.

54In this paper, we present a novel algorithm for the identification and localization of leaks in oil and gas pipelines.This algorithm integrates wavelet denoising with an enhanced LSTM-Transformer model.Specifically, the wavelet transform method is utilized to preprocess pipeline pressure data by performing feature extraction and noise reduction.In terms of model architecture, the decoder of the Transformer model is modified by substituting the fully connected layer with an LSTM module, thereby constructing a hybrid LSTM-Transformer model.By inputting wavelet-transformed pressure data at multiple scales, the model captures multilevel pressure variation characteristics, continuously monitors discrepancies between actual and predicted flow rates, and determines the leakage location using the pressure curve distance algorithm.In the experimental study, we examine the influence of various data samples on model performance.Both pressure and flow data samples are employed as inputs, and cross-validation is conducted to evaluate the error accuracy of the two original models and the proposed hybrid model.The proposed wavelet-denoising-based LSTM-Transformer fusion model addresses several challenges inherent in traditional pipeline leakage identification and localization methods, including insufficient data generalization, model lag, and issues related to false alarms and missed detections.

55, the proposed model based on wavelet denoising and the LSTM-Transformer combined architecture comprises three main components: wavelet denoising preprocessing, data sequence segmentation, and the enhanced LSTM-Transformer model.Pressure data at different scales are fed into the multihead attention mechanism of the Transformer model to compute feature weights for various time series.These weights, after being processed by a local attention mechanism, focus exclusively on local pressure change characteristics at each time point.Consequently, this approach captures multilevel pressure change features across different scales.Time series data are encoded using relative positional encoding, and features from different scales are concatenated to represent pressure data change characteristics as vectors.The specific process is outlined as follows.

Figure 1 .Figure 1 . 5 )( 2 )

56Figure 1.Flow chart of LSTM transformer model based on wavelet denoising.

Sensors 2025, 25 , 2411 6 of 19 ( 3 )

57Concatenate the feature vectors output by the Transformer model to form feature vector representations H for pipeline pressure data at different scales.(4) Inject the feature vector representation H into the LSTM model to further extract temporal features.

( 1 )

58Signal Conditioning: Raw pressure data are smoothed via a 0.5 s moving average window and normalized to [−1, 1] range.(2) Multi-scale Decomposition: db4 wavelet transform extracts frequency components at five resolution levels.(3) Feature Fusion: Time-frequency characteristics are combined and compressed through PCA.(4) Model Initialization: LSTM layers are configured with Adam optimizer (lr = 0.001) and Glorot weight initialization.(5) Hybrid Training: Synthetic data pre-training precedes experimental data fine-tuning with early stopping.(6) Validation: Predictions are evaluated through 5-fold cross-validation using MAPE, RMSE, and R 2 metrics.

Sensors 2025 ,

5925, x FOR PEER REVIEW 8 of 20 downstream.The pressure differences exceed 1.70 MPa, with a delay of at least 73.80 s compared to the normal propagation time difference.This indicates the presence of a leak point in this section, resulting in a sharp decline in pressure values.(a) Pressure Curve of Valve Chamber 5 (b) Changchun Station Pressure Curve

Figure 2 .Figure 3 .

60Figure 2. Pressure curve of Group 1 leakage data.

Figure 4 .

61Figure 4. Pressure curve of Group 3 leakage data.

Figure 2 .

62Figure 2. Pressure curve of Group 1 leakage data.

Figure 2 .Figure 3 .

63Figure 2. Pressure curve of Group 1 leakage data.

Figure 4 .

64Figure 4. Pressure curve of Group 3 leakage data.

Figure 3 .

65Figure 3. Pressure curve of Group 2 leakage data.

Figure 2 .Figure 3 .

66Figure 2. Pressure curve of Group 1 leakage data.

Figure 4 .

67Figure 4. Pressure curve of Group 3 leakage data.

68Figure 4. Pressure curve of Group 3 leakage data.

Figure 5 .

69Figure 5. Pressure curve of Group 4 leakage data.

70Figure 5. Pressure curve of Group 4 leakage data.

( 1 )

7115 km intervals along trunk lines; (2) 500 m spacing near critical valves (Stations #3/#7); (3) Pump discharge/suction headers (Stations #1/#5/#8);

Figure 6 .

72Figure 6.Positions of each valve chamber on the Ji-Chang pipeline.Figure 6. Positions of each valve chamber on the Ji-Chang pipeline.

73Figure 6.Positions of each valve chamber on the Ji-Chang pipeline.Figure 6. Positions of each valve chamber on the Ji-Chang pipeline.A SCADA system acquired measurements at 2 Hz sampling rate, yielding 1.68 billion raw data points.The dataset includes the following:(1) 14 confirmed leakage incidents (5 artificial, 9 operational);(2) 326 maintenance-induced pressure transients;(3) Continuous 28-month normal operation records;Preprocessing involved the following:(1) Outlier Removal: 3σ thresholding eliminated 0.17% aberrant values;(2) Time Alignment: Compensated 50-200 ms transmission delays across nodes;(3) Normalization: Min-max scaled per sensor's historical range (0-6.4MPa);

Sensors 2025 , 20 Figure 7 .

74Figure 7. Three way valve simulating pipeline leakage.

Figure 8 .

75Figure 8. Valve opening time variation chart.

Figure 7 . 20 Figure 7 .

76Figure 7. Three way valve simulating pipeline leakage.

Figure 8 .

77Figure 8. Valve opening time variation chart.Figure 8. Valve opening time variation chart.

78Figure 8. Valve opening time variation chart.Figure 8. Valve opening time variation chart.

79Figure 8. Valve opening time variation chart.

Figure 9 .

80Figure 9. Diagram of velocity variation with time in tube.Figure 9. Diagram of velocity variation with time in tube.

Figure 9 . 20 Figure 10 .

81Figure 9. Diagram of velocity variation with time in tube.Figure 9. Diagram of velocity variation with time in tube.Sensors 2025, 25, x FOR PEER REVIEW 12 of 20

Figure 11 .

82Figure 11.Fluid velocity profile.

Figure 10 . 20 Figure 10 .

83Figure 10.Graph of leakage volume changing over time.

Figure 11 .

84Figure 11.Fluid velocity profile.

85Figure 11.Fluid velocity profile.

86Figure 11.Fluid velocity profile.

Sensors 2025 , 20 Figure 12 .

87Figure 12.Pressure curve for July.Figure 12. Pressure curve for July.

Figure 12 .

88Figure 12.Pressure curve for July.Figure 12. Pressure curve for July.

Figure 12 . 20 Figure 13 .

89Figure 12.Pressure curve for July.

Figure 13 .

90Figure 13.Pressure curve for August.

Experiment 2 :

91LSTM Network Training and Prediction (Flow Data).Flow data were input into the LSTM network for training and prediction.A total of 53 samples of leak flow data were collected, and 528 sets of normal flow data were extracted Sensors 2025, 25, 2411 14 of 19 as a reference.The LSTM network model was trained to predict pipeline flow.The continuous and discrete test set results are presented inTable 4, Experiment 2.

(

92I) LSTM Network + Flow Statistical Measures + Upstream and Downstream Valve OpeningsTo enhance the accuracy of pipeline leak detection systems and reduce false alarm rates, upstream and downstream valve opening information was introduced.Upstream and downstream valve opening data were incorporated into the model input layer and combined with LSTM (Long Short-Term Memory Network) to further screen potential leak false alarms.The test results are summarized in Table4,Experiment 5. (II) LSTM-Transformer Model with Wavelet Denoising (Flow Statistical Measures + Upstream and Downstream Valve Openings) In the LSTM-Transformer model with wavelet denoising, flow statistical features were integrated to further mitigate false alarms caused by temporary flow fluctuations.Upstream and downstream valve opening data were introduced to analyze valve operation history, distinguishing between flow changes due to normal operations and actual leak events.Wavelet denoising effectively removed noise from the flow data, clearly identifying minor changes in flow.The LSTM model captured long-term dependencies in time series, while the Transformer network's self-attention mechanism analyzed complex dependencies between different time points.The improved combined model comprehensively predicted flow changes.As shown in Table 4, Experiment 5, only 2 false alarms occurred among the 64,790 predicted samples, demonstrating the model's good adaptability and robustness under complex flow conditions.From the flow curve in Figure 14, it is evident that the flow response time at Changchun Station is slow.Leak events were already apparent in the input station data, but the model failed to promptly capture the changes in flow due to its lag characteristics, incorrectly interpreting normal fluctuations as leak signals.Increasing the diversity of training data can improve the model's accuracy and reliability, reducing false alarm occurrences.Sensors 2025, 25, x FOR PEER REVIEW 16 of 20 to continuous time tests.Test results for samples where both methods predicted leaks are shown in Table 4, Experiment 4. Experiment 5: False Alarm Screening Based on Upstream and Downstream Valve Opening Information.(I) LSTM Network + Flow Statistical Measures + Upstream and Downstream Valve Openings To enhance the accuracy of pipeline leak detection systems and reduce false alarm rates, upstream and downstream valve opening information was introduced.Upstream and downstream valve opening data were incorporated into the model input layer and combined with LSTM (Long Short-Term Memory Network) to further screen potential leak false alarms.The test results are summarized in Table 4, Experiment 5. (II) LSTM-Transformer Model with Wavelet Denoising (Flow Statistical Measures + Upstream and Downstream Valve Openings) In the LSTM-Transformer model with wavelet denoising, flow statistical features were integrated to further mitigate false alarms caused by temporary flow fluctuations.Upstream and downstream valve opening data were introduced to analyze valve operation history, distinguishing between flow changes due to normal operations and actual leak events.Wavelet denoising effectively removed noise from the flow data, clearly identifying minor changes in flow.The LSTM model captured long-term dependencies in time series, while the Transformer network's self-attention mechanism analyzed complex dependencies between different time points.The improved combined model comprehensively predicted flow changes.As shown in Table 4, Experiment 5, only 2 false alarms occurred among the 64,790 predicted samples, demonstrating the model's good adaptability and robustness under complex flow conditions.From the flow curve in Figure 14, it is evident that the flow response time at Changchun Station is slow.Leak events were already apparent in the input station data, but the model failed to promptly capture the changes in flow due to its lag characteristics, incorrectly interpreting normal fluctuations as leak signals.Increasing the diversity of training data can improve the model's accuracy and reliability, reducing false alarm occurrences.The primary reason, as shown in Figure 15, is insufficient model learning, which affects the model's ability to distinguish between normal and abnormal states.The data sample size used in actual applications of this model far exceeds the sample size of the dataset used in the experiments.Periodic retraining of the model can address issues of insufficient data generalization due to the lack of sample size, ensuring the model can continuously adapt to changes in data and new leak patterns.

Figure 14 .

93Figure 14.Flow curve of the first false alarm.

94Figure 14.Flow curve of the first false alarm.

Figure 15 .

95Figure 15.Flow curve of the second false alarm.

96Figure 15.Flow curve of the second false alarm.

Table 1 .

97Comparison of typical pipeline leakage prediction models.

Table 2 .

98Changes in upstream and downstream pressure of leakage data in each group.

Table 3 .

99Prediction results of a certain leakage point at different times.

100Prediction results of a certain leakage point at different times.

Table 4 .

101Results of leakage prediction test for the Ji-chang pipeline.

102Results of leakage prediction test for the Ji-chang pipeline.

Table 4 ,

103, Experiment 3. Experiment 4: Transformer network training and prediction.Six hundred of data from Dataset 1 were selected for training, and 250 sets of normal data were used for testing.The procedures from Experiments 1, 2, and 3 were repeated, and the results from the discrete and continuous test sets are presented in Table 4, Experiment 4. The Transformer network and statistical measures were combined and applied to continu-ous time tests.Test results for samples where both methods predicted leaks are shown in Experiment 4.

Table 5 .

104Multiple data combination controlled trials.

참고문헌 38건

  1. Dual-tree complex wavelet transform and SVD based acoustic noise reduction and its application in leak detection for natural gas pipeline Mechanical Systems and Signal Processing · Elsevier BV · 2015 10.1016/j.ymssp.2015.10.034
  2. A Novel Fiber Optic Based Surveillance System for Prevention of Pipeline Integrity Threats Sensors · Multidisciplinary Digital Publishing Institute · 2017 10.3390/s17020355
  3. Artificial intelligence-based machine learning considering flow and temperature of the pipeline for leak early detection using acoustic emission Engineering Fracture Mechanics · Elsevier BV · 2018 10.1016/j.engfracmech.2018.03.010
  4. Adaptive estimation of the hydraulic gradient for the location of multiple leaks in pipelines Control Engineering Practice · Elsevier BV · 2019 10.1016/j.conengprac.2019.104226
  5. Comparative Study of Basic Time Domain Time-Delay Estimators for Locating Leaks in Pipelines ˜The œInternational journal of networked and distributed computing · Springer Nature · 2020 10.2991/ijndc.k.200129.001
  6. Leak Detection System for Long-Distance Onshore and Offshore Gas Pipeline Using Acoustic Emission Technology. A Review Transactions of the Indian Institute of Metals · Springer Science+Business Media · 2020 10.1007/s12666-020-02002-x
  7. A Pipeline Leak Classification and Location Estimation System With Convolutional Neural Networks IEEE Systems Journal · Institute of Electrical and Electronics Engineers · 2020 10.1109/jsyst.2020.3002760
  8. Machine Learning Model Comparison for Leak Detection in Noisy Industrial Pipelines 2020 10.1109/mocast49295.2020.9200261
  9. An Efficient Architecture for Modified Lifting-Based Discrete Wavelet Transform Sensing and Imaging · Springer Science+Business Media · 2020 10.1007/s11220-020-00317-z
  10. Leak diagnosis of pipeline based on empirical mode decomposition and support vector machine IOP Conference Series Materials Science and Engineering · IOP Publishing · 2021 10.1088/1757-899x/1078/1/012023
  11. Leak detection and localization for pipelines using multivariable fuzzy learning backstepping Journal of Intelligent & Fuzzy Systems · IOS Press · 2021 10.3233/jifs-219197
  12. Machine learning approach to transient-based leak detection of pressurized pipelines: Classification vs Regression Journal of Civil Structural Health Monitoring · Springer Science+Business Media · 2022 10.1007/s13349-022-00568-2
  13. An infrasound source localisation algorithm for improving location accuracy of gas pipeline leakage detection system International Journal of Embedded Systems · Inderscience Publishers · 2022 10.1504/ijes.2022.122042
  14. Optimization of a Pipelines Leak Detection Method Based on Inverse Transient Analysis Using a Genetic Algorithm Arabian Journal for Science and Engineering · Springer Science+Business Media · 2022 10.1007/s13369-022-06872-9
  15. A semi-supervised leakage detection method driven by multivariate time series for natural gas gathering pipeline Process Safety and Environmental Protection · Elsevier BV · 2022 10.1016/j.psep.2022.06.036
  16. 3DUNetGSFormer: A deep learning pipeline for complex wetland mapping using generative adversarial networks and Swin transformer Ecological Informatics · Elsevier BV · 2022 10.1016/j.ecoinf.2022.101904
  17. Pipeline Leakage Detection Using Acoustic Emission and Machine Learning Algorithms Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23063226
  18. Mathematical modelling and simulation of leak detection system in crude oil pipeline Heliyon · Elsevier BV · 2023 10.1016/j.heliyon.2023.e15412
  19. Pipeline leak diagnosis based on leak-augmented scalograms and deep learning Engineering Applications of Computational Fluid Mechanics · Taylor & Francis · 2023 10.1080/19942060.2023.2225577
  20. Prediction of Water Leakage in Pipeline Networks Using Graph Convolutional Network Method Applied Sciences · Multidisciplinary Digital Publishing Institute · 2023 10.3390/app13137427
  21. Two-Leak Case Diagnosis Based on Static Flow Model for Liquid Transmission Pipelines Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23187751
  22. Simultaneous Pipe Leak Detection and Localization Using Attention-Based Deep Learning Autoencoder Electronics · Multidisciplinary Digital Publishing Institute · 2023 10.3390/electronics12224665
  23. A Reliable Pipeline Leak Detection Method Using Acoustic Emission with Time Difference of Arrival and Kolmogorov–Smirnov Test Sensors · Multidisciplinary Digital Publishing Institute · 2023 10.3390/s23239296
  24. Novel EMD with Optimal Mode Selector, MFCC, and 2DCNN for Leak Detection and Localization in Water Pipeline Applied Sciences · Multidisciplinary Digital Publishing Institute · 2023 10.3390/app132312892
  25. Online fault detection and localization of multiple oil pipeline leaks using model-based residual generation and friction identification International Journal of Dynamics and Control · Springer Science+Business Media · 2024 10.1007/s40435-024-01386-8
  26. Pipeline Leak Detection: A Comprehensive Deep Learning Model Using CWT Image Analysis and an Optimized DBN-GA-LSSVM Framework Sensors · Multidisciplinary Digital Publishing Institute · 2024 10.3390/s24124009
  27. A novel flaw detection approach in carbon steel pipes through ultrasonic guided waves and optimized transformer neural networks Journal of Mechanical Science and Technology · Springer Science+Business Media · 2024 10.1007/s12206-024-0601-3
  28. Research on Leak Detection of Low-Pressure Gas Pipelines in Buildings Based on Improved Variational Mode Decomposition and Robust Kalman Filtering Sensors · Multidisciplinary Digital Publishing Institute · 2024 10.3390/s24144590
  29. Advancing oil and gas pipeline monitoring with fast phase fraction sensor Measurement Science and Technology · IOP Publishing · 2024 10.1088/1361-6501/ad73f5
  30. Pipeline Leak Detection System for a Smart City: Leveraging Acoustic Emission Sensing and Sequential Deep Learning Smart Cities · Multidisciplinary Digital Publishing Institute · 2024 10.3390/smartcities7040091
  31. A Novel Hybrid Internal Pipeline Leak Detection and Location System Based on Modified Real-Time Transient Modelling Modelling—International Open Access Journal of Modelling in Engineering Science · Multidisciplinary Digital Publishing Institute · 2024 10.3390/modelling5030059
  32. An efficient crack detection and leakage monitoring in liquid metal pipelines using a novel BRetN and TCK-LSTM techniques Multimedia Tools and Applications · Springer Science+Business Media · 2024 10.1007/s11042-024-20170-6
  33. Research on Signal Noise Reduction and Leakage Localization in Urban Water Supply Pipelines Based on Northern Goshawk Optimization Sensors · Multidisciplinary Digital Publishing Institute · 2024 10.3390/s24186091
  34. LSTM-Autoencoder Based Detection of Time-Series Noise Signals for Water Supply and Sewer Pipe Leakages Water · Multidisciplinary Digital Publishing Institute · 2024 10.3390/w16182631
  35. Oil pipeline multiple leakage detection and localization based on sensor fusion Engineering Failure Analysis · Elsevier BV · 2024 10.1016/j.engfailanal.2024.109038
  36. Acoustic Monitoring Efficiently Identifies Pipeline Leaks Opflow · Wiley · 2024 10.1002/opfl.2031
  37. Real-Time Pipeline Leak Detection: A Hybrid Deep Learning Approach Using Acoustic Emission Signals Applied Sciences · Multidisciplinary Digital Publishing Institute · 2024 10.3390/app15010185
  38. Acoustic Emission-Based Pipeline Leak Detection and Size Identification Using a Customized One-Dimensional DenseNet Sensors · Multidisciplinary Digital Publishing Institute · 2025 10.3390/s25041112