A Combined Semi-Supervised Deep Learning Method for Oil Leak Detection in Pipelines Using IIoT at the Edge
<p>Leak detection mode architecture. Systems mounted on the pipeline are depicted in green, while blue for cloud-based services.</p> "> Figure 2
<p>Node design architecture.</p> "> Figure 3
<p>Sensor Data Receiving (<b>left</b>) and Data Processing (<b>right</b>) Interfaces.</p> "> Figure 4
<p>ESTHISIS Software procedures.</p> "> Figure 5
<p>Example of leakage detection using LSTM AE.</p> "> Figure 6
<p>Example of spectrogram received by the CNN classifiers.</p> "> Figure 7
<p>Demonstration of the architecture of a typical Autoencoder.</p> "> Figure 8
<p>The architecture of LSTM AutoEncoders.</p> "> Figure 9
<p>Proposed methodology flowchart.</p> "> Figure 10
<p>Reconstruction Error of the LSTM autoencoder.</p> "> Figure 11
<p>Example of a defective spectrogram extracted from Kalochori dataset.</p> "> Figure 12
<p>(<b>A</b>): The acoustic signal. With blue, the healthy signal is represented, and with red the signal after the leakage. (<b>B</b>): Reconstruction Error of the LSTM autoencoder.</p> ">
Abstract
:1. Introduction
2. Sensor Network and Data Acquisition
2.1. System Architecture
2.2. Hardware
2.3. Software
3. Method Description
3.1. Methodology Components
Combined LSTM AE—2D CNN Approach
3.2. Model Training
3.2.1. LSTM AE
3.2.2. Convolutional Neural Networks
3.3. Detection Mechanism
4. Method Validation
5. Verification in a Real Environment
6. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Britannica. Available online: https://www.britannica.com/technology/pipeline-technology (accessed on 20 January 2022).
- Callan, T. Pipeline technology today and tomorrow. Oil Gas Eur. Mag. 2008, 34, 110–115. [Google Scholar]
- Li, Y.T.; Li, X.; Cai, G.W.; Yang, L.H. Influence of AC interference to corrosion of Q235 carbon steel. Corros. Eng. Sci. Technol. 2013, 48, 322–326. [Google Scholar] [CrossRef]
- Wang, W.; Zhang, Y.; Li, Y.; Hu, Q.; Liu, C.; Liu, C. Vulnerability analysis method based on risk assessment for gas transmission capabilities of natural gas pipeline networks. Reliab. Eng. Syst. Saf. 2022, 218, 108150. [Google Scholar] [CrossRef]
- Aryai, V.; Baji, H.; Mahmoodian, M. Failure assessment of corrosion affected pipeline networks with limited failure data availability. Process Saf. Environ. Prot. 2022, 157, 306–319. [Google Scholar] [CrossRef]
- Konami, S.; Matsushita, K.; Nagino, R. Design and Development of In-pipe Inspection Robot for Various Pipe Sizes You may also like abundance patterns in the interstellar medium of early-type galaxies observed with suzaku. IOP Conf. Ser. Mater. Sci. Eng. 2021, 1012, 012001. [Google Scholar] [CrossRef]
- Adegboye, M.A.; Fung, W.K.; Karnik, A. Recent advances in pipeline monitoring and oil leakage detection technologies: Principles and approaches. Sensors 2019, 19, 2548. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Behari, N.; Sheriff, M.Z.; Rahman, M.A.; Nounou, M.; Hassan, I.; Nounou, H. Chronic leak detection for single and multiphase flow: A critical review on onshore and offshore subsea and arctic conditions. J. Nat. Gas Sci. Eng. 2020, 81, 103460. [Google Scholar] [CrossRef]
- Rehman, K.; Nawaz, F. Remote pipeline monitoring using Wireless Sensor Networks. In Proceedings of the 2017 International Conference on Communication, Computing and Digital Systems, C-CODE 2017, Islandbad, Pakistan, 8–9 March 2017; pp. 32–37. [Google Scholar] [CrossRef]
- Shibata, A.; Konishi, M.; Abe, Y.; Hasegawa, R.; Watanabe, M.; Kamijo, H. Neuro based classification of gas leakage sounds in pipeline. In Proceedings of the 2009 International Conference on Networking, Sensing and Control, Okayama, Japan, 26–29 March 2009; IEEE: Piscataway, NJ, USA, 2009; pp. 298–302. [Google Scholar]
- Mpesha, W.; HanifChaudhry, M.; Gassman, S.L. Leak detection in pipes by frequency response method using a step excitation. J. Hydraul. Res. 2002, 40, 55–62. [Google Scholar] [CrossRef]
- Li, J.; Liu, Y.; Chai, Y.; He, H.; Gao, M. A Small Leakage Detection Approach for Gas Pipelines based on CNN. In Proceedings of the 2019 CAA Symposium on Fault Detection, Supervision and Safety for Technical Processes (SAFEPROCESS), Xiamen, China, 5–7 July 2019; pp. 390–394. [Google Scholar] [CrossRef]
- Shravani, D.; Prajwal, Y.R.; Prapulla, S.B.; Salanke, N.S.G.R.; Shobha, G.; Ahmad, S.F. A Machine Learning Approach to Water Leak Localization. In Proceedings of the 2019 4th International Conference on Computational Systems and Information Technology for Sustainable Solution (CSITSS), Bengaluru, India, 20–21 December 2019; pp. 1–6. [Google Scholar] [CrossRef]
- Amini, I.; Jing, Y.; Chen, T.; Colin, A.; Meyer, G. A Two-Stage Deep-Learning Based Detection Method for Pipeline Leakage and Transient Conditions. In Proceedings of the 2020 IEEE Electric Power and Energy Conference (EPEC), Edmonton, AB, Canada, 9–10 November 2020; pp. 1–5. [Google Scholar] [CrossRef]
- Liao, Z.; Yan, H.; Tang, Z.; Chu, X.; Tao, T. Deep learning identifies leak in water pipeline system using transient frequency response. Process Saf. Environ. Prot. 2021, 155, 355–365. [Google Scholar] [CrossRef]
- Wang, C.; Han, F.; Zhang, Y.; Lu, J. An SAE-based resampling SVM ensemble learning paradigm for pipeline leakage detection. Neurocomputing 2020, 403, 237–246. [Google Scholar] [CrossRef]
- Cody, R.; Tolson, B.; Orchard, J. Detecting Leaks in Water Distribution Pipes Using a Deep Autoencoder and Hydroacoustic Spectrograms. J. Comput. Civ. Eng. 2020, 34, 4020001. [Google Scholar] [CrossRef]
- Chen, J.; Wu, H.; Liu, X.; Xiao, Y.; Wang, M.; Yang, M.; Rao, Y. A Real-Time Distributed Deep Learning Approach for Intelligent Event Recognition in Long Distance Pipeline Monitoring with DOFS. In Proceedings of the IEEE 2018 International Conference on Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), Zhengzhou, China, 18–20 October 2018; pp. 290–2906. [Google Scholar] [CrossRef]
- Hu, X.; Han, Y.; Yu, B.; Geng, Z.; Fan, J. Novel leakage detection and water loss management of urban water supply network using multiscale neural networks. J. Clean. Prod. 2021, 278, 123611. [Google Scholar] [CrossRef]
- Shi, Y.; Wang, Y.; Zhao, L.; Fan, Z. An Event Recognition Method for Φ-OTDR Sensing System Based on Deep Learning. Sensors 2019, 19, 3421. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Kang, J.; Park, Y.-J.; Lee, J.; Wang, S.-H.; Eom, D.-S. Novel Leakage Detection by Ensemble CNN-SVM and Graph-Based Localization in Water Distribution Systems. IEEE Trans. Ind. Electron. 2018, 65, 4279–4289. [Google Scholar] [CrossRef]
- Hu, Z.; Chen, B.; Chen, W.; Tan, D.; Shen, D. Review of model-based and data-driven approaches for leak detection and location in water distribution systems. Water Supply 2021, 21, 3282–3306. [Google Scholar] [CrossRef]
- Nikolaidis, S.; Porlidas, D.; Glentis, G.-O.; Kalfas, A.; Spandonidis, C. Smart sensor system for leakage detection in pipes carrying oil products in noisy environment: The ESTHISIS Project. In Proceedings of the 2019 29th International Symposium on Power and Timing Modeling, Optimization and Simulation (PATMOS), Rhodes, Greece, 1–3 July 2019; pp. 125–126. [Google Scholar] [CrossRef]
- Spandonidis, C.C.; Theodoropoulos, P.; Giannopoulos, F.; Galiatsatos, N.; Petsa, A. Evaluation of Deep Learning approaches for Oil and Gas pipeline leak detection using wireless sensor networks. Eng. Appl. Artif. Intell. 2022, 113, 104890. [Google Scholar] [CrossRef]
- Christos, S.C.; Nektarios, G.; Fotios, G.; Nikolaos, D.; Panagiotis, P.; Areti, P. Development of an IoT Early Warning Platform for Augmented Decision Support in Oil &Gas. In Proceedings of the 2021 10th International Conference on Modern Circuits and Systems Technologies (MOCAST), Thessaloniki, Greece, 5–7 July 2021; IEEE: Piscataway, NJ, USA; pp. 1–4. [Google Scholar] [CrossRef]
- Christos, S.C.; Panagiotis, T.; Christos, G. Combined multi-layered big data and responsible AI techniques for enhanced decision support in Shipping. In Proceedings of the 2020 International Conference on Decision Aid Sciences and Application (DASA), Sakheer, Bahrain, 8–9 November 2020; IEEE: Piscataway, NJ, USA; pp. 669–673. [Google Scholar] [CrossRef]
- Theodoropoulos, P.; Spandonidis, C.C.; Fassois, S. Use of Convolutional Neural Networks for vessel performance optimization and safety enhancement. Ocean Eng. 2022, 248, 110771. [Google Scholar] [CrossRef]
- Theodoropoulos, P.; Spandonidis, C.C.; Giannopoulos, F.; Fassois, S. A Deep Learning-Based Fault Detection Model for Optimization of Shipping Operations and Enhancement of Maritime Safety. Sensors 2021, 21, 5658. [Google Scholar] [CrossRef]
- ADS8688 Texas Instruments. Available online: https://www.ti.com/product/ADS8688 (accessed on 30 April 2022).
- GPS Unit NEO M8 Series. Available online: https://www.u-blox.com/en/product/neo-m8-series (accessed on 30 April 2022).
- ESP32 Wrover Espressif. Available online: https://www.espressif.com/en/products/hardware/esp-wrover-kit/overview (accessed on 30 April 2022).
Frequency Range | 0.5 to 25 kHz (User-Defined) |
Number of channels | 4 |
Resolution | 16 bits |
GNSS | BeiDou, Galileo, GLONASS, GPS/QZSS |
time pulse signal | 30 nsec (RMS), 60 nsec (99%) |
MCU Operating frequency | 250 Mhz |
MCU Integrated PSRAM | 8 MB |
CPU | Dual-core Cortex-A72 up to 1.8 GHz |
Quad-core Cortex-A53 up to 1.4 GHz | |
CPU RAM | 3 GB LPDRR3 (CPU 2 GB + NPU 1 GB) |
CPU Flash | 16 GB eMMC |
Dataset Properties | Value |
---|---|
No leak signals (train-validation-test) | 120 (80-15-25) |
Leak signals (train-validation-test) | 120 (80-15-25) |
Inspection time per signal | 10 s |
Sampling frequency (Hz) | 25 kHz |
Signal length | 250,000-time steps |
Leakage Diameter (mm) | 1–7 |
Node Distance (cm) | 1810, 2260, 3530 |
Leakage Diameter (mm) | Value |
---|---|
LSTM layer 1 units (Encoding 1st—Decoding 2nd) | 128 |
LSTM layer 2 units (Encoding 2nd—Decoding 1st) | 64 |
Learning rate | 2 × 10−4 |
““Lookback”” window | 5 |
Epochs | 200 |
Batch size | 8 |
Leakage Diameter (mm) | Value |
---|---|
Convolutional Layer #1 | 256 × 256, Kernels: 3 × 3 |
Convolutional Layer #2 | 32 × 32, Kernels: 3 × 3 |
Max Pooling Layer #1 | 32 × 32, Kernels: 2 × 2 |
Convolutional Layer #3 | 32 × 32, Kernels: 3 × 3 |
Max Pooling Layer #2 | 32 × 32, Kernels: 2 × 2 |
FCN Layer #1 | 15 nodes, Dropout = 0.3 |
Output Layer | 2 nodes |
Learning Rate | 5 × 10−4 |
Weight updates | Epochs × BatchSize = 8 × 100 = 800 |
Dataset Properties | Value |
---|---|
No leak signals | 103 (70-10-23) |
Leak signals | 97 (70-7-20) |
Inspection time per signal | 10 s |
Sampling frequency (Hz) | 25 kHz |
Signal length | 250,000-time steps |
Leakage Diameter | 5 mm, 13 mm |
Node Distance | 850, 1350, 2260, 2820,3350 |
Leakage (mm) | Node Distance (cm) | Combined Accuracy (%) | LSTM AE-Accuracy (%) | CNN-Accuracy (%) |
5 mm | 850 | 100 | 93.0 | 96.1 |
13 mm | 850 | 100 | 96.4 | 99.0 |
5 mm | 1350 | 99.5 | 92.1 | 94.2 |
13 mm | 1350 | 100 | 94.9 | 96.6 |
5 mm | 2260 | 97.9 | 91.5 | 90.7 |
13 mm | 2260 | 99.3 | 92.0 | 92.9 |
5 mm | 2820 | 96.7 | 86.3 | 87.4 |
13 mm | 2820 | 99.0 | 88.8 | 90.2 |
5 mm | 3350 | 96.7 | 81.8 | 83.9 |
13 mm | 3350 | 98.2 | 84.7 | 88.3 |
Leakage (mm) | Node Distance (cm) | Combined Precision (%) | LSTM AE-Precision (%) | CNN-Precision (%) |
5 mm | 850 | 100 | 92.0 | 91.3 |
13 mm | 850 | 100 | 95.8 | 93.9 |
5 mm | 1350 | 99.3 | 89.6 | 88.7 |
13 mm | 1350 | 100 | 92.4 | 91.6 |
5 mm | 2260 | 98.3 | 85.1 | 87.1 |
13 mm | 2260 | 99.0 | 88.8 | 90.5 |
5 mm | 2820 | 96.2 | 83.8 | 84.9 |
13 mm | 2820 | 98.2 | 86.7 | 88.1 |
5 mm | 3350 | 97.0 | 82.0 | 83.4 |
13 mm | 3350 | 98.0 | 85.2 | 85.2 |
Leakage (mm) | Node Distance (cm) | Combined Recall (%) | LSTM AE-Recall (%) | CNN-Recall (%) |
5 mm | 850 | 100 | 90.9 | 93.1 |
13 mm | 850 | 100 | 92.0 | 95.9 |
5 mm | 1350 | 99.2 | 88.0 | 90.7 |
13 mm | 1350 | 100 | 90.3 | 93.4 |
5 mm | 2260 | 97.1 | 84.3 | 90.1 |
13 mm | 2260 | 99.3 | 87.1 | 92.4 |
5 mm | 2820 | 96.5 | 82.9 | 88.3 |
13 mm | 2820 | 98.0 | 85.6 | 90.6 |
5 mm | 3350 | 96.4 | 78.2 | 87.2 |
13 mm | 3350 | 98.4 | 81.5 | 89.5 |
Leakage (mm) | Node Distance (cm) | Combined Specificity (%) | LSTM AE-Specificity (%) | CNN-Specificity (%) |
5 mm | 850 | 100 | 93.5 | 93.0 |
13 mm | 850 | 100 | 95.3 | 95.9 |
5 mm | 1350 | 99.5 | 88.3 | 89.7 |
13 mm | 1350 | 100 | 92.7 | 92.6 |
5 mm | 2260 | 97.9 | 84.0 | 88.1 |
13 mm | 2260 | 99.3 | 89.2 | 90.5 |
5 mm | 2820 | 96.7 | 83.4 | 87.9 |
13 mm | 2820 | 99.0 | 86.1 | 89.1 |
5 mm | 3350 | 96.7 | 81.3 | 83.4 |
13 mm | 3350 | 98.2 | 84.8 | 86.2 |
Leakage (mm) | Node Distance (cm) | Combined Accuracy (%) | ARMA Accuracy (%) |
5 mm | 850 | 100 | 88.3 |
13 mm | 850 | 100 | 90.2 |
5 mm | 1350 | 99.5 | 86.2 |
13 mm | 1350 | 100 | 89.1 |
5 mm | 2260 | 97.9 | 80.5 |
13 mm | 2260 | 99.3 | 84.4 |
5 mm | 2820 | 96.7 | 77.3 |
13 mm | 2820 | 99.0 | 81.9 |
5 mm | 3350 | 96.7 | 75.0 |
13 mm | 3350 | 98.2 | 79.6 |
Leakage (mm) | Node Distance (cm) | Combined Precision (%) | ARMA-Precision (%) |
5 mm | 850 | 100 | 85.2 |
13 mm | 850 | 100 | 88.7 |
5 mm | 1350 | 99.3 | 87.0 |
13 mm | 1350 | 100 | 87.9 |
5 mm | 2260 | 98.3 | 83.9 |
13 mm | 2260 | 99.0 | 85.6 |
5 mm | 2820 | 96.2 | 78.4 |
13 mm | 2820 | 98.2 | 81.3 |
5 mm | 3350 | 97.0 | 76.8 |
13 mm | 3350 | 98.0 | 79.8 |
Leakage (mm) | Node Distance (cm) | Combined Recall (%) | ARMA-Recall (%) |
5 mm | 850 | 100 | 84.9 |
13 mm | 850 | 100 | 87.3 |
5 mm | 1350 | 99.2 | 84.2 |
13 mm | 1350 | 100 | 85.8 |
5 mm | 2260 | 97.1 | 81.9 |
13 mm | 2260 | 99.3 | 84.4 |
5 mm | 2820 | 96.5 | 79.5 |
13 mm | 2820 | 98.0 | 80.9 |
5 mm | 3350 | 96.4 | 74.9 |
13 mm | 3350 | 98.4 | 78.7 |
Leakage (mm) | Node Distance (cm) | Combined Specificity (%) | ARMA-Specificity (%) |
5 mm | 850 | 100 | 89.8 |
13 mm | 850 | 100 | 90.3 |
5 mm | 1350 | 99.5 | 86.2 |
13 mm | 1350 | 100 | 87.8 |
5 mm | 2260 | 97.9 | 82.9 |
13 mm | 2260 | 99.3 | 84.4 |
5 mm | 2820 | 96.7 | 79.5 |
13 mm | 2820 | 99.0 | 80.9 |
5 mm | 3350 | 96.7 | 74.3 |
13 mm | 3350 | 98.2 | 79.8 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Spandonidis, C.; Theodoropoulos, P.; Giannopoulos, F. A Combined Semi-Supervised Deep Learning Method for Oil Leak Detection in Pipelines Using IIoT at the Edge. Sensors 2022, 22, 4105. https://doi.org/10.3390/s22114105
Spandonidis C, Theodoropoulos P, Giannopoulos F. A Combined Semi-Supervised Deep Learning Method for Oil Leak Detection in Pipelines Using IIoT at the Edge. Sensors. 2022; 22(11):4105. https://doi.org/10.3390/s22114105
Chicago/Turabian StyleSpandonidis, Christos, Panayiotis Theodoropoulos, and Fotis Giannopoulos. 2022. "A Combined Semi-Supervised Deep Learning Method for Oil Leak Detection in Pipelines Using IIoT at the Edge" Sensors 22, no. 11: 4105. https://doi.org/10.3390/s22114105
APA StyleSpandonidis, C., Theodoropoulos, P., & Giannopoulos, F. (2022). A Combined Semi-Supervised Deep Learning Method for Oil Leak Detection in Pipelines Using IIoT at the Edge. Sensors, 22(11), 4105. https://doi.org/10.3390/s22114105