Next Article in Journal
The Photometric Determination of Iron(III) with 2-Napthylcarboxymethylene Citrate
Previous Article in Journal
Method for Quantitative Assessment of Moisture Content of Porous Building Materials Based on Measurement of Thermal Inertia with Active Infrared Thermography
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Thermal Data Augmentation Approach for the Detection of Corrosion in Pipes Using Deep Learning and Finite Element Modelling †

by
Reza Khoshkbary Rezayiye
1,*,
Kevin Laurent
2,
Parham Nooralishahi
1,
Clemente Ibarra-Castanedo
1 and
Xavier Maldague
1
1
Department of Electrical and Computer Engineering, Universite Laval, 2325 Rue de l’Universite, Quebec, QC G1V 0A6, Canada
2
TORNGATS, 5635 Rue Rideau, Quebec, QC G2E 5V9, Canada
*
Author to whom correspondence should be addressed.
Presented at the 17th International Workshop on Advanced Infrared Technology and Applications, Venice, Italy, 10–13 September 2023.
Eng. Proc. 2023, 51(1), 20; https://doi.org/10.3390/engproc2023051020
Published: 31 October 2023

Abstract

:
Defects in in-service pipelines, including corrosion under insulation (CUI) and thickness loss, pose significant challenges to asset integrity in the oil and gas industry. These defects are particularly hazardous as they often remain unnoticed. The automation of defect detection processes can assist inspectors in reducing analysis time, costs, and human error. However, recent attempts to adopt machine learning for automated defect detection from thermal images have been hindered by limited data availability. This paper presents a novel approach to address this issue by utilizing thermal data augmentation, generating synthetic sub-surface defects via finite element modeling. The resulting synthetic thermal images, combined with real images, are then used to train a deep learning model for the automatic detection of potential defects. Additionally, this study explores the efficacy of synthetic thermal images in enhancing the generalization of the detection model.

1. Introduction

The importance of pipeline integrity for the oil and gas industry is crucial, but the detection of hidden defects like corrosion under insulation (CUI) and thickness loss is challenging due to their concealed nature [1]. Automating inspections using machine learning is limited by the lack of real-world defect data. This study addresses this issue by using a thermal data augmentation strategy that generates synthetic defects via finite element modeling and deep learning algorithms. This approach aims to enrich the training dataset, improve defect detection model performance, and compare different supervised learning networks for image segmentation. The outcomes of this research could significantly impact automated pipeline inspection in the oil and gas industry.

2. Background

Thermography, vital in subsurface defect detection, ensures the integrity of critical infrastructures such as pipelines. Significant advancements, particularly machine learning techniques, have improved accuracy in defect detection [2]. These techniques of discovering relationships between thermal data and defect features have yielded promising results across various applications [3]. However, the laborious and costly nature of data labeling remains a challenge. Unsupervised learning methods, which discover hidden patterns within input data, have emerged to address this issue. Semi-supervised learning (SSL), a compromise between supervised and unsupervised learning, uses a blend of labeled and unlabeled data, offering a cost-effective solution, especially when labeled samples are scarce [4,5].
Data augmentation techniques have been adopted to combat limited datasets. The finite element method, simulating the thermal process, creates synthetic data that resemble real-world defects. Generative adversarial networks (GANs) also enhance training datasets by generating synthetic data, thereby improving model performance [6,7]. This study focuses on the novel integration of these techniques in a thermal data augmentation approach.

3. Methodology

3.1. Data Augmentation

The scarcity of data, specifically thermal images for training, significantly challenges the effective implementation of machine learning techniques for defect detection, potentially weakening the model’s predictive power and real-world applicability. In response, this study proposes a thermal data augmentation method, creating synthetic sub-surface defects using finite element modeling for a realistic representation of material properties and defect features. This approach also utilizes DeepSIM [8], a deep learning method that capitalizes on the strengths of generative adversarial networks and variational autoencoders to generate high-fidelity thermal images resembling real-world conditions. The synthetic images enrich the training dataset, enhancing the variety of defect types, sizes, and orientations, thereby improving the model’s robustness and generalization capacity. The dataset size is doubled using the finite element method and further expanded using the DeepSIM method, with the outcomes subsequently compared and analyzed.

3.2. Supervised Learning for Image Segmentation

To identify and quantify defects, we utilized supervised learning techniques for image segmentation, a key step in highlighting potential defects in thermal images. Our approach incorporates various network architectures, namely UNet [9], UNet++ [10], DeeplabV3+, and FPN, each chosen for their proven prowess in image segmentation tasks and bringing unique strengths to the defect detection process. UNet and UNet++ provide a balance between localization and context aggregation, while DeeplabV3+ uses convolution and spatial pyramid pooling for precise segmentation. The FPN, on the other hand, employs a top-down architecture with lateral connections for high-quality segmentations at multiple scales.

4. Experiment

The study focused on the non-destructive inspection of steel pipes with diameters of 2, 3, and 6 inches and insulated with perlite. Infrared (IR) imaging was used to detect moisture and corrosion under insulation (CUI). A static approach was employed, leveraging a long-wave infrared (LWIR) camera, specifically the FLIR T650Sc, to observe temperature variations indicative of potential defects. This camera featured a minimum focus distance of 0.3 m, an IR resolution of 640 × 480 pixels, a thermal sensitivity of less than 20 mK at +25 °C, and a maximum frame rate of 30 Hz. Artificial defects, ranging in size from 1 to 4 in^2 and depths from 0.98 to 2.74 inches, were introduced within the insulation layer of the samples, which had different thicknesses of 3, 5, and 10 mm. These samples were then secured with aluminum claddings. A heat transfer system (HTS) was used for precise fluid temperature (150 °C) control and was equipped with multiple thermocouples for comprehensive thermal behavior monitoring. During the steady-state regime, the temperature evolution was carefully observed to ensure stability and minimal variations within the insulation and cladding. Figure 1 illustrates the defect structure and heating setup for this experiment.

5. Results and Discussion

5.1. Data Augmentation and Defect Detection

The proposed thermal data augmentation approach, combining finite element modeling and DeepSIM methods to create synthetic sub-surface defects, effectively mitigated the issue of data scarcity for defect detection in insulated piping. Following this, the acquired datasets from the experimental, finite element simulation, and DeepSIM generation stages were subjected to image segmentation through supervised learning. Using networks such as UNet, UNet++, DeeplabV3+, and FPN, thermal images were successfully segmented based on neighboring thermal patterns, providing clear demarcations of potential defects.

5.2. Evaluation Metrics

The effectiveness of our data augmentation and segmentation strategies is evidenced by the training and evaluation metrics of our supervised learning approach, including F1 score, Loss, Mean IoU, and Mean F1, as consolidated in Table 1. These metrics were evaluated on the same dataset for comparison. Our multi-tiered data augmentation approach, which combines experimental data with finite element or DeepSIM augmented data, demonstrated superior defect detection precision and recall compared to using solely experimental or augmented datasets. The proposed methodology illustrates the potential of integrating thermal data augmentation approaches with advanced image segmentation networks for accurate and efficient defect detection in insulated piping. Figure 2 shows the ability of the UNet++ network on the dataset to predict the mask for the defects. Future efforts aim to further optimize these processes and broaden their applicability across diverse industrial contexts.

6. Conclusions

In conclusion, this study substantiates the potency of thermal data augmentation strategies, in particular, the approach combining experimental data with DeepSIM and finite element augmented data for proficient defect detection in insulated pipelines. This novel approach has proven to be significantly effective when coupled with advanced image segmentation networks such as UNet, UNet++, DeepLabV3+, and FPN. The results, as presented in Table 1, establish that the combination of experimental data and DeepSIM augmented data outperforms the other methods, particularly in terms of precision, recall, and Mean F1 score. The UNet++ model performed exceptionally well in this context, exhibiting an F1 score of 0.96, a Loss of 0.39, a Mean IoU of 0.93, and an impressive Mean F1 of 0.96. These encouraging results, along with superior visual outputs, highlight the strength and potential of using the DeepSIM augmented approach for defect detection in insulated pipelines. This study’s findings carry significant implications for the broader oil and gas industry, and future work will focus on further refining these methods and exploring their applications in diverse industrial settings.

Author Contributions

Conceptualization, P.N., X.M. and C.I.-C.; methodology, R.K.R., K.L. and P.N.; software, R.K.R. and K.L.; validation, R.K.R.; formal analysis, R.K.R. and K.L.; investigation, R.K.R., K.L. and P.N.; resources, X.M. and C.I.-C.; data curation, X.M.; writing—original draft preparation, R.K.R.; writing—review and editing, R.K.R.; visualization, R.K.R. and K.L.; supervision, X.M. and C.I.-C.; project administration, X.M.; funding acquisition, X.M. and C.I.-C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Natural Sciences and Engineering Council of Canada (NSERC), CREATE oNDuTy Program (funding ref. number 496439-2017), the Canada Research Chair in Multipolar Infrared Vision (MIVIM), Department of Civil Engineering from Université Laval, and the MITACS Accelerate Program.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All the data for this research are available in this link: https://github.com/reza7293/Thermal-Data-Augmentation-Approach-for-the-Detection-of-Corrosion-In-Pipes-Using-Deep-Learning (accessed on 26 October 2023).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cao, Q.; Pojtanabuntoeng, T.; Esmaily, M.; Thomas, S.; Brameld, M.; Amer, A.; Birbilis, N. A Review of Corrosion under Insulation: A Critical Issue in the Oil and Gas Industry. Metals 2022, 12, 561. [Google Scholar] [CrossRef]
  2. Milovanović, B.; Pečur, I.B. Review of active IR thermography for detection and characterization of defects in reinforced concrete. J. Imaging 2016, 2, 11. [Google Scholar] [CrossRef]
  3. Rodríguez-Martín, M.; Fueyo, J.G.; Gonzalez-Aguilera, D.; Madruga, F.J.; García-Martín, R.; Muñóz, L.; Pisonero, J. Predictive Models for the Characterization of Internal Defects in Additive Materials from Active Thermography Sequences Supported by Machine Learning Methods. Sensors 2020, 20, 3982. [Google Scholar] [CrossRef]
  4. Liu, K.; Tang, Y.; Lou, W.; Liu, Y.; Yang, J.; Yao, Y. A thermographic data augmentation and signal separation method for defect detection. Meas. Sci. Technol. 2021, 32, 045401. [Google Scholar] [CrossRef]
  5. Ouali, Y.; Hudelot, C.; Tami, M. An Overview of Deep Semi-Supervised Learning. arXiv 2020, arXiv:2006.05278. [Google Scholar] [CrossRef]
  6. Goodfellow, I.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative Adversarial Networks. Commun. ACM 2020, 63, 139–144. [Google Scholar] [CrossRef]
  7. Creswell, A.; White, T.; Dumoulin, V.; Arulkumaran, K.; Sengupta, B.; Bharath, A.A. Generative Adversarial Networks: An Overview. IEEE Signal Process. Mag. 2018, 35, 53–65. [Google Scholar] [CrossRef]
  8. Vinker, Y.; Horwitz, E.; Zabari, N.; Hoshen, Y. Image Shape Manipulation from a Single Augmented Training Sample Training Image Pair Manipulate the Primitive Output (a) (b) (c) (d) (e). Available online: http://www.vision.huji.ac.il/deepsim/ (accessed on 25 November 2021).
  9. Ronneberger, O.; Fischer, P.; Brox, T. U-Net: Convolutional Networks for Biomedical Image Segmentation. arXiv 2015, arXiv:1505.04597. [Google Scholar] [CrossRef]
  10. Zhou, Z.; Siddiquee, M.M.R.; Tajbakhsh, N.; Liang, J. UNet++: A Nested U-Net Architecture for Medical Image Segmentation. arXiv 2018, arXiv:1807.10165. [Google Scholar] [CrossRef]
Figure 1. (a) Artificial defects created in the insulation on the pipe; (b) Heat transfer system.
Figure 1. (a) Artificial defects created in the insulation on the pipe; (b) Heat transfer system.
Engproc 51 00020 g001
Figure 2. Prediction results of UNet++ network for the experimental + DeepSIM dataset. (a) Input image. (b) Ground truth. (c) Predicted mask.
Figure 2. Prediction results of UNet++ network for the experimental + DeepSIM dataset. (a) Input image. (b) Ground truth. (c) Predicted mask.
Engproc 51 00020 g002
Table 1. Evaluation metrics of training and validation process for the segmentation models.
Table 1. Evaluation metrics of training and validation process for the segmentation models.
DatasetUNet-R152UNet++-R152DeepLabV3+-R152FPN-R152
ExperimentF10.66F10.92F10.91F10.95
Loss0.48Loss0.46Loss0.35Loss0.08
Mean IoU0.49Mean IoU0.83Mean IoU0.85Mean IoU0.80
Mean F10.65Mean F10.99Mean F10.92Mean F10.87
Experiment + Finite ElementF10.77F10.96F10.93F10.96
Loss0.45Loss0.37Loss0.30Loss0.06
Mean IoU0.59Mean IoU0.92Mean IoU0.85Mean IoU0.94
Mean F10.71Mean F10.96Mean F10.92Mean F10.96
Experiment + Deep SIMF10.95F10.96F10.94F10.65
Loss0.47Loss0.39Loss0.30Loss0.07
Mean IoU0.94Mean IoU0.93Mean IoU0.94Mean IoU0.58
Mean F10.97Mean F10.96Mean F10.97Mean F10.73
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.

Share and Cite

MDPI and ACS Style

Rezayiye, R.K.; Laurent, K.; Nooralishahi, P.; Ibarra-Castanedo, C.; Maldague, X. Thermal Data Augmentation Approach for the Detection of Corrosion in Pipes Using Deep Learning and Finite Element Modelling. Eng. Proc. 2023, 51, 20. https://doi.org/10.3390/engproc2023051020

AMA Style

Rezayiye RK, Laurent K, Nooralishahi P, Ibarra-Castanedo C, Maldague X. Thermal Data Augmentation Approach for the Detection of Corrosion in Pipes Using Deep Learning and Finite Element Modelling. Engineering Proceedings. 2023; 51(1):20. https://doi.org/10.3390/engproc2023051020

Chicago/Turabian Style

Rezayiye, Reza Khoshkbary, Kevin Laurent, Parham Nooralishahi, Clemente Ibarra-Castanedo, and Xavier Maldague. 2023. "Thermal Data Augmentation Approach for the Detection of Corrosion in Pipes Using Deep Learning and Finite Element Modelling" Engineering Proceedings 51, no. 1: 20. https://doi.org/10.3390/engproc2023051020

Article Metrics

Back to TopTop