Skip to main content
Log in

Enhancing Weld Inspection Through Comparative Analysis of Traditional Algorithms and Deep Learning Approaches

  • Published:
Journal of Nondestructive Evaluation Aims and scope Submit manuscript

Abstract

Automated inspection is vital in modern industrial manufacturing, optimizing production processes and ensuring product quality. Welding, a widely used joining technique, is susceptible to defects like porosity and cracks, compromising product reliability. Traditional nondestructive testing (NDT) methods suffer from inefficiency and limited accuracy. Many researchers have tried to apply deep learning for defect detection to address these limitations. This study compares traditional algorithms with deep learning methods, specifically evaluating the SwinUNet model for weld segmentation. The model achieves an impressive F1 score of 96.31, surpassing traditional algorithms. Feature analysis utilizing class activation maps confirms the model's robust recognition and generalization capabilities. Additionally, segmentation results for different welding defects were compared among various models, further substantiating the recognition capabilities of SwinUNet. The findings contribute to the automation of weld identification and segmentation, driving industrial production efficiency and enhancing defect detection.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Consent for Publication

All authors agree to the publication.

References

  1. Nti, I.K., Adekoya, A.F., Weyori, B.A., Nyarko-Boateng, O.: Applications of artificial intelligence in engineering and manufacturing: a systematic review. J. Intell. Manuf. 33, 1581–1601 (2022)

    Article  Google Scholar 

  2. Chen, S.B., Lv, N.: Research evolution on intelligentized technologies for arc welding process. J. Manuf. Process. 16, 109–122 (2014)

    Article  Google Scholar 

  3. Usuga Cadavid, J.P., Lamouri, S., Grabot, B., Pellerin, R., Fortin, A.: Machine learning applied in production planning and control: a state-of-the-art in the era of Industry 4.0. J. Intell. Manuf. 31, 1531–1558 (2020)

    Article  Google Scholar 

  4. Escobar, C.A., McGovern, M.E., Morales-Menendez, R.: Quality 4.0: a review of big data challenges in manufacturing. J. Intell. Manuf. 32, 2319–2334 (2021)

    Article  Google Scholar 

  5. Xu, F., Xu, Y., Zhang, H., Chen, S.: Application of sensing technology in intelligent robotic arc welding: a review. J. Manuf. Process. 79, 854–880 (2022)

    Article  Google Scholar 

  6. Maeda, K., Suzuki, R., Suga, T., Kawahito, Y.: Investigating delayed cracking behaviour in laser welds of high strength steel sheets using an X-ray transmission in situ observation system. Sci. Technol. Weld. Join. 25, 377–382 (2020)

    Article  CAS  Google Scholar 

  7. Mahto, R.P., Kumar, R., Pal, S.K.: Characterizations of weld defects, intermetallic compounds and mechanical properties of friction stir lap welded dissimilar alloys. Mater Charact 160, 110115 (2020)

    Article  CAS  Google Scholar 

  8. Zhang, Z., Wen, G., Chen, S.: Weld image deep learning-based on-line defects detection using convolutional neural networks for Al alloy in robotic arc welding. J. Manuf. Process. 45, 208–216 (2019)

    Article  Google Scholar 

  9. Deepak, J.R., Bupesh Raja, V.K., Srikanth, D., Surendran, H., Nickolas, M.M.: Nondestructive testing (NDT) techniques for low carbon steel welded joints: a review and experimental study. Mater. Today Proc. 44, 3732–3737 (2021)

    Article  CAS  Google Scholar 

  10. Zhang, Y.S., Zhang, X.Y., Lai, X.M., Chen, G.L.: Online quality inspection of resistance spot welded joint based on electrode indentation using servo gun. Sci. Technol. Weld. Join. 12, 449–454 (2007)

    Article  Google Scholar 

  11. Golodov, V.A., Maltseva, A.A.: Approach to weld segmentation and defect classification in radiographic images of pipe welds. NDT & E Int. 127, 102597 (2022)

    Article  Google Scholar 

  12. Yu, R., Huang, Y., Peng, Y., Wang, K.: Monitoring of butt weld penetration based on infrared sensing and improved histograms of oriented gradients. J. Mater. Res. Technol. 22, 3280–3293 (2023)

    Article  Google Scholar 

  13. Zhang, K., Yan, M., Huang, T., Zheng, J., Li, Z.: 3D reconstruction of complex spatial weld seam for autonomous welding by laser structured light scanning. J. Manuf. Process. 39, 200–207 (2019)

    Article  Google Scholar 

  14. Hou, W., Zhang, D., Wei, Y., Guo, J., Zhang, X.: Review on computer aided weld defect detection from radiography images. Appl. Sci. 10, 1878 (2020)

    Article  CAS  Google Scholar 

  15. Runnemalm, A., Ahlberg, J., Appelgren, A., Sjökvist, S.: Automatic inspection of spot welds by thermography. J. Nondestruct. Eval. 33, 398–406 (2014)

    Article  Google Scholar 

  16. Wang, X., Wang, X., Zhang, B., Cui, J., Lu, X., Ren, C., et al.: Binary classification of welding defect based on deep learning. Sci. Technol. Weld. Join. 27(6), 1–11 (2022)

    Article  CAS  Google Scholar 

  17. Wang, X., Yu, X.: Understanding the effect of transfer learning on the automatic welding defect detection. NDT & E Int. 134, 102784 (2023)

    Article  Google Scholar 

  18. Rathod, V.R., Anand, R.S.: A comparative study of different segmentation techniques for detection of flaws in NDE weld images. J. Nondestruct. Eval. 31, 1–16 (2012)

    Article  Google Scholar 

  19. Mahmoudi, A., Regragui, F.: Fast segmentation method for defects detection in radiographic images of welds. In: 2009 IEEE/ACS International Conference on Computer Systems and Applications, 2009, pp. 857–860 (2009)

  20. Boaretto, N., Centeno, T.M.: Automated detection of welding defects in pipelines from radiographic images DWDI. NDT & E Int. 86, 7–13 (2017)

    Article  CAS  Google Scholar 

  21. Wang, B., Hu, S.J., Sun, L., Freiheit, T.: Intelligent welding system technologies: state-of-the-art review and perspectives. J. Manuf. Syst. 56, 373–391 (2020)

    Article  CAS  Google Scholar 

  22. Ji, C., Wang, H., Li, H.: Defects detection in weld joints based on visual attention and deep learning. NDT & E Int. 133, 102764 (2023)

    Article  Google Scholar 

  23. Dong, Z., Mai, Z., Yin, S., Wang, J., Yuan, J., Fei, Y.: A weld line detection robot based on structure light for automatic NDT. Int. J. Adv. Manuf. Technol. 111, 1831–1845 (2020)

    Article  Google Scholar 

  24. Chen, L.-C., Zhu, Y., Papandreou, G., Schroff, F., Adam, H.: Encoder–decoder with Atrous separable convolution for semantic image segmentation. In: Ferrari, V., Hebert, M., Sminchisescu, C., Weiss, Y. (eds) Computer Vision—ECCV 2018, 2018, pp. 833–851. Springer, Cham (2018)

  25. Zhao, H., Shi, J., Qi, X., Wang, X., Jia, J.: Pyramid scene parsing network. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017, pp. 6230–6239 (2017)

  26. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., et al.: An image is worth 16 × 16 words: transformers for image recognition at scale. In: International Conference on Learning Representations (n.d.)

  27. Zhang, B., Wang, X., Cui, J., Wu, J., Wang, X., Li, Y., et al.: Welding defects classification by weakly supervised semantic segmentation. NDT & E Int. 138, 102899 (2023)

    Article  Google Scholar 

  28. Shirai, Y.: Automatic inspection of X-ray photograph of welding. Pattern Recognit. 1, 257–261 (1969)

    Article  ADS  Google Scholar 

  29. Mery, D., Riffo, V., Zscherpel, U., Mondragón, G., Lillo, I., Zuccar, I., et al.: GDXray: the database of X-ray images for nondestructive testing. J. Nondestruct. Eval. 34, 42 (2015)

    Article  Google Scholar 

  30. Li, W., Li, W., Yang, F., Wang, P.: Multi-scale object detection in satellite imagery based on YOLT. In: IGARSS 2019—2019 IEEE International Geoscience and Remote Sensing Symposium, 2019, pp. 162–165 (2019)

  31. Ajmi, C., Zapata, J., Martínez-Álvarez, J.J., Doménech, G., Ruiz, R.: Using deep learning for defect classification on a small weld X-ray image dataset. J. Nondestruct. Eval. 39, 68 (2020)

    Article  Google Scholar 

  32. van der Maaten, L.J.P., Hinton, G.E.: Visualizing high-dimensional data using t-SNE. J. Mach. Learn. Res. 9, 2579–2605 (2008)

    Google Scholar 

  33. Xiangdong, G., Na, S.J.: Seam tracking based on estimation of weld position using Kalman filtering. Sci. Technol. Weld. Join. 10, 103–109 (2005)

    Article  Google Scholar 

  34. Yang, L., Liu, Y., Peng, J.: An automatic detection and identification method of welded joints based on deep neural network. IEEE Access 7, 164952–164961 (2019)

    Article  Google Scholar 

  35. Chan, F.H.Y., Lam, F.K., Hui, Z.: Adaptive thresholding by variational method. IEEE Trans. Image Process. 7, 468–473 (1998)

    Article  ADS  CAS  PubMed  Google Scholar 

  36. Chang, Y., Gao, J.: Tamper detection in pipeline girth welding based on radiographic images. Measurement 167, 108436 (2021)

    Article  Google Scholar 

  37. Zou, Y., Zeng, G.: Light-weight segmentation network based on SOLOv2 for weld seam feature extraction. Measurement 208, 112492 (2023)

    Article  Google Scholar 

  38. Sun, K., Xiao, B., Liu, D., Wang, J.: Deep high-resolution representation learning for human pose estimation. In: 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019, pp. 5686–5696 (2019)

  39. Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., et al.: Swin transformer: hierarchical vision transformer using shifted windows. In: 2021 IEEE/CVF International Conference on Computer Vision (ICCV), 2021, pp. 9992–10002 (2021)

  40. Ronneberger, O., Fischer, P., Brox, T.: U-Net: convolutional networks for biomedical image segmentation. In: Medical Image Computing and Computer-Assisted Intervention—MICCAI 2015, 2015, pp. 234–241 (2015).

  41. Zhou, B., Khosla, A., Lapedriza, A., Oliva, A., Torralba, A.: Learning deep features for discriminative localization. In: 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016, pp. 2921–2929 (2016)

Download references

Acknowledgements

The work is sponsored by the Beijing Institute of Technology Young Scholar Startup Program (no grant number). The authors would like to acknowledge support from the Experimental Center of Advanced Materials (ECAM) of the Beijing Institute of Technology and the National Key Laboratory of Science and Technology on Materials under Shock and Impact.

Geolocation Information

Beijing Institute of Technology, No. 5, Zhongguancun South Street, Haidian District, Beijing, 100081, China.

Funding

The Beijing Institute of Technology Young Scholar Startup Program supported this work.

Author information

Authors and Affiliations

Authors

Contributions

Baoxin Zhang: Conceptualization, Methodology, Software, Original Draft Preparation. Xiaopeng Wang: Data Curation. Jinhan Cui: Visualization, Investigation. Juntao Wu: Data Curation. Zhi Xiong: Data Curation, Wenpin Zhang: Data Provider. Xinghua Yu: Supervision, Writing—Review and Editing, Project Administration.

Corresponding author

Correspondence to Xinghua Yu.

Ethics declarations

Conflict of interest

No potential conflict of interest was reported by the author(s).

Ethical Approval

Not applicable.

Informed Consent

Not applicable.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zhang, B., Wang, X., Cui, J. et al. Enhancing Weld Inspection Through Comparative Analysis of Traditional Algorithms and Deep Learning Approaches. J Nondestruct Eval 43, 38 (2024). https://doi.org/10.1007/s10921-024-01047-y

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10921-024-01047-y

Keywords

Navigation