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.
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
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)
Chen, S.B., Lv, N.: Research evolution on intelligentized technologies for arc welding process. J. Manuf. Process. 16, 109–122 (2014)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Runnemalm, A., Ahlberg, J., Appelgren, A., Sjökvist, S.: Automatic inspection of spot welds by thermography. J. Nondestruct. Eval. 33, 398–406 (2014)
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)
Wang, X., Yu, X.: Understanding the effect of transfer learning on the automatic welding defect detection. NDT & E Int. 134, 102784 (2023)
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)
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)
Boaretto, N., Centeno, T.M.: Automated detection of welding defects in pipelines from radiographic images DWDI. NDT & E Int. 86, 7–13 (2017)
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)
Ji, C., Wang, H., Li, H.: Defects detection in weld joints based on visual attention and deep learning. NDT & E Int. 133, 102764 (2023)
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)
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)
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)
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.)
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)
Shirai, Y.: Automatic inspection of X-ray photograph of welding. Pattern Recognit. 1, 257–261 (1969)
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)
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)
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)
van der Maaten, L.J.P., Hinton, G.E.: Visualizing high-dimensional data using t-SNE. J. Mach. Learn. Res. 9, 2579–2605 (2008)
Xiangdong, G., Na, S.J.: Seam tracking based on estimation of weld position using Kalman filtering. Sci. Technol. Weld. Join. 10, 103–109 (2005)
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)
Chan, F.H.Y., Lam, F.K., Hui, Z.: Adaptive thresholding by variational method. IEEE Trans. Image Process. 7, 468–473 (1998)
Chang, Y., Gao, J.: Tamper detection in pipeline girth welding based on radiographic images. Measurement 167, 108436 (2021)
Zou, Y., Zeng, G.: Light-weight segmentation network based on SOLOv2 for weld seam feature extraction. Measurement 208, 112492 (2023)
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)
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)
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).
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)
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
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
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.
About this article
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
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10921-024-01047-y