Next Article in Journal
Development of Metal Powder Hot Embossing: A New Method for Micromanufacturing
Next Article in Special Issue
Real-Time Weld Gap Monitoring and Quality Control Algorithm during Weaving Flux-Cored Arc Welding Using Deep Learning
Previous Article in Journal
Springback Reduction of L-Shaped Part Using Magnetic Pulse Forming
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Detection of Weld Defects for Automated Welding Process Base on Deep Neural Network

1
School of Mechanical Convergence Engineering, Hanyang University, Seoul 04763, Korea
2
Monisys co., Ltd, 775, Gyeongin-ro, Seoul 07299, Korea
*
Author to whom correspondence should be addressed.
Metals 2020, 10(3), 389; https://doi.org/10.3390/met10030389
Submission received: 5 February 2020 / Revised: 12 March 2020 / Accepted: 16 March 2020 / Published: 18 March 2020
(This article belongs to the Special Issue Quality Assessment and Process Management of Welded Joints)

Abstract

:
In the process of welding zinc-coated steel, zinc vapor causes serious porosity defects. The porosity defect is an important indicator of the quality of welds and degrades the durability and productivity of the weld. Therefore, this study proposes a deep neural network (DNN)-based non-destructive testing method that can detect and predict porosity defects in real-time, based on welding voltage signal, without requiring additional device in gas metal arc welding (GMAW) process. To this end, a galvannealed hot-rolled high-strength steel sheet applied to automotive parts was used to measure process signals in real-time. Then, feature variables were extracted through preprocessing, and correlation between the feature variables and weld porosity was analyzed. The proposed DNN based framework outperformed the artificial neural network (ANN) model by 15% or more. Finally, an experiment was conducted by using the developed porosity detection and prediction system to evaluate its field application.

1. Introduction

Recently, automobile manufacturers have increased the application of galvannealed hot-rolled high-strength steel sheets to improve crash stability and corrosion resistance. In particular, automobile chassis parts, such as cross-members and lower arms, which support the vehicle weight and transmit power, are mostly assembled using gas metal arc welding (GMAW). Hence, high-quality arc welding is necessary. Currently, one of the major materials used for automobile parts is 590 MPa grade hot-rolled high-strength steel. The application rate of highly corrosion-resistant galvannealed steel sheets is increasing to prevent the corrosion. However, porosity defects, such as blowholes or pits in welds are a serious problem, caused by zinc vapor formed due to heat energy during the welding of zinc-coated steel. Specifically, this zinc vapor remains trapped in the weld, resulting in the formation of porosity and weld defects [1,2,3,4]. These defects cause serious strength degradation and changes in the mechanical characteristics of the weld, resulting in lower durability and productivity. Thus, when evaluating weld quality during the GMAW process, porosity defects are considered an important factor. Although, ultrasonic inspection and radiographic inspection are applied to production lines as non-destructive testing methods, their application is limited because they are difficult to apply in real-time and their cost is too high to apply all the automotive parts.
To overcome this problem, many studies have been conducted to evaluate quality by analyzing signal, including current signal and voltage signal, based on welding process [5,6,7,8,9,10,11,12]. Quinn et al. developed a welding quality evaluation method using the average welding current and arc voltage waveforms in the GMAW process [13]. Adolfsson et al. evaluated welding quality by calculating the arc and short-circuit times, short-circuit count, short-circuit peak current, and average welding current and arc voltage waveforms in the GMAW process and employed these quantities in the sequential probability ratio test (SPRT) algorithm [14]. Furthermore, Chu et al. proposed an efficient means of verifying welding quality through power spectrum and time–frequency spectrum analysis of welding current and arc voltage waveforms in the GMAW process [15]. Shin et al. studied the prediction of porosity in the appearance of beads in the GMAW process, using a regression model and an ANN model has been reported [16]. Recently, research has been conducted to detect defects by combining manufacturing technology and artificial intelligence (AI), such as machine learning in non-destructive testing (NDT) [17,18,19]. However, these studies evaluated defects that are artificially produced to test their algorithm on the test sheet. In addition, additional testing equipment, such as vision sensor, charge-coupled device (CCD) camera, and spectrometer was installed to evaluate the quality.
This paper presents a unique NDT method to detect and predict porosity defects in real-time for GMAW process. The data acquisition device was used to measure welding voltage signal generated during welding in real-time. Then, feature variables were extracted from the welding voltage signal by preprocessing the data at intervals of 0.1 s. The significant feature variables were selected by analyzing the correlation between the feature variables and porosity defects, and the classification models based on artificial neural network (ANN) and deep neural network (DNN) were developed by using them as input variables. In addition, the predictability of the two models were compared and evaluated through the test data and verified by applying the developed system to actual manufacturing facility.

2. Experiments

2.1. Material

In this study, galvannealed hot-rolled steel with an ultimate strength of 590 MPa and thickness of 2.3 mm was used as the test material. Hot-rolled steel sheet is a steel plate processed to suitable length and thickness by passing slab between rolls at a high temperature of more than 800 °C. However, the surface quality is worse than the cold-rolled steel sheet that has been reworked. Therefore, it is more economical than cold rolled steel sheet and is used for automobile chassis parts. The galvannealed coating thickness of the material is approximately 10 μm, and the mechanical properties and chemical composition are shown in Table 1. For welding test, as shown in Figure 1, a torch angle of 45° and a lap joint configuration, which are frequently applied in automotive body sheet welding, were used. The test sheet was processed to a width of 150 mm and a length of 180 mm. A gap between workpieces was fixed at 0.0 mm and 0.5 mm.

2.2. Equipment and Experimental Procedure

Experiments were conducted with short-circuit transfer using a constant-voltage direct current (DC) inverter-type welding machine (Fronius, Wels, Austria). The welding system is shown in Figure 2, and the workpiece in lap joint configuration was placed on the jig. A hall sensor for sensing welding current was installed at a cable between the power source and the jig, and the measured current signal was sent to the Data Acquisition (DAQ) device. In this study, voltage signal between the power source and the jig was directly measured by the DAQ device. The synchronized current and voltage signals were sent to computer by Local Area Network (LAN) communication in order to process and analyze the signals.
As presented in Table 2, welding experiments were performed at a welding speed of 600 mm/min and wire feeding rate (WFR) of 3 mm/min in the overlapping part of the test sheet (Figure 1). In addition, the contact tip to work piece distance (CTWD) was fixed at 15 mm, and the shielding gas consisted of a mixture of 90% Ar and 10% CO2. A ER70S-3 grade welding wire with a diameter of 1.2 mm was used. For a reliable analysis, two replicates were performed at each condition.

3. Results and Discussion

3.1. Relationship between Feature Variables and Porosity Using Welding Voltage Signal

In general, the weld porosity were reduced in the presence of gaps between workpieces. The reason for this is that the gap becomes the discharge path of zinc vapor, and thus, the zinc vapor is released. In this study, the relationship between the porosity generated in the weld and the welding voltage signal was analyzed by comparing the case with no gap and 0.5 mm gap. In addition, radiogrophic testing was conducted to identify the porosity location and match the weld voltage signal [4]. Figure 3 and Figure 4 illustrate the measurement result, and in the presence of gap, the porosity of the weld were significantly reduced.
Figure 5 shows typical voltage waveforms in the porosity and non-porosity regions in Figure 3 and Figure 4. In the region without porosity (Figure 5a), the voltage signal is repeated in a similar pattern. On the other hand, in the area where porosity occur (Figure 5b), irregularly shaped signals are generated repeatedly. In other words, the arc time and the short-circuit time were irregular, and the deviation between the peak value of the voltage signal and the instantaneous short-circuit voltage value was also relatively large.
Based on these results, the feature variables of the voltage signal appearing in the short-circuit mode for 0.1 s are selected as shown in Figure 6. A total of 12 selected feature variables are shown in Table 3 for the nomenclature for each feature variable.
To analyze the correlation between the 12 feature variables and the porosity, the porosity ratios were calculated by randomly selected 9 regions where porosity occurred, by matching the bead appearance and X-ray image with the voltage signal in Figure 3 and Figure 4 [4]. For a reliable analysis, the porosity region of Figure 4 was selected as the same position as that of Figure 3. The porosity ratio was calculated as zero. In Figure 3, porosity regions 3, 4, 5, 9 were divided into several to calculate porosity similar to weld bead length. Table 4 shows the measurement result of total weld length, bead width, porosity area, and porosity ratio for voltage signal sections and porosity calculations in nine porosity generated regions.
Table 5 shows the feature variables and porosity in 18 porosity regions, and the value of each feature variable was calculated as the average value in the porosity generated regions.
Correlation analysis was performed to test the effects of the 12 feature variables on porosity ratio. The magnitude of the correlation may be expressed by quantifying a value called a correlation coefficient. In this study, the most widely used Pearson correlation coefficient was used. The value of the Pearson correlation coefficient lies between −1 and 1, and it is determined by analyzing the linear correlations between variables. Table 6 shows the correlation analysis results. Correlation coefficients of feature variables X1, X2, X8, X9, and X12 have a positive correlation with porosity ratio and were approximately from 0.6 to 0.7. Although these values do not represent extremely strong positive correlations, they certainly show strong correlations. Furthermore, the correlation coefficients of X7 and X11, which have negative correlations, are −0.666, and −0.468, respectively. Thus, the correlation coefficient of X7 represents a strong correlation, whereas the correlation coefficient of X11 represents a moderately weak correlation. Meanwhile, X3, X4, X5, X6, and X10 show very weak correlations with the porosity ratio.
As a result of the correlation analysis, it was confirmed that the feature variables X1 ( s [ V ] ), X2 ( s [ V s ] ), X7 ( T ¯ a ), X8 ( N [ T ] ), X9 ( s [ T s ] ), and X12 ( s [ V ( T a ) ] ), having positive or negative correlation coefficient value of 0.6 are closely related to porosity.
In this study, the arc voltage signal was measured by setting the sampling rate of 10 kHz for 20 s. Data preprocessing for feature variable extraction is shown in Figure 7. That is, the feature variable was extracted by setting the voltage signal section generated for 0.1 s as one window and overlapping each 0.09 (90%) s.

3.2. Porosity Detection and Prediction Algorithm based on Deep Learning Techniques

3.2.1. Deep Neural Network (DNN)

An artificial neural network (ANN) works by finding the optimal weight ( w ) of each node in a perceptron structure, shown in Figure 8, by delivering the sum of the input values X multiplied times w to the activation function, as well as by updating w through learning using a backpropagation algorithm.
However, a DNN based on an ANN is deeper than the ANN, as the DNN consists of two hidden layers between the input and output layers. Figure 9 shows the ANN and DNN structures.
A DNN performs learning through a backpropagation algorithm, which is the same as the learning method of an ANN. The backpropagation algorithm continuously updates the weights (w) to minimize the cost function from the weights by using gradient descent, as shown in Equation (1):
w = w η C w
where η is the learning rate and C is the cost function. The cost function is defined as the square of the difference between the predicted value [ f ( z ) ] and the actual target value ( y ), as shown in Equation (2):
C M S E = 1 2 ( f ( z ) y ) 2
where f ( z ) , expressed in Equation (3), is the sigmoid function that is used as an activation function and z is the forward function value delivered by each layer:
f ( z ) = 1 1 + e z
However, if the activation function is a sigmoid and the cost function, which is defined by the sum of the squared errors, is applied for gradient descent, the differential value [ f ( z ) ] rapidly approaches zero. Thus, a slow learning problem occurs as the minimum value in a local part is reached, and further learning is not performed, as shown in Figure 10.
To overcome this slow learning problem, the DNN actively uses a cost function of the cross-entropy type, rather than the sum of the squared errors. The cross-entropy function is defined in Equation (4):
C c r o s s   e n t r o p y = 1 n x [ y log f ( z ) + ( 1 y ) log ( 1 f ( z ) ) ]
The differential of the above function with respect to w can be expressed as shown in Equation (5):
w C c r o s s   e n t r o p y = 1 n x x j ( f ( z ) y )
It can be seen from Equation (5) that the differential with respect to w is proportional to the difference between the predicted value and the actual target value, f ( z ) y . Thus, when the error of the input value is large, the convergence speed increases, and when the error is small, the speed decreases to prevent divergence.
The activation function was introduced to explain that the backpropagation algorithm was a sigmoid function. However, an ANN using a sigmoid function as the activation function determines w based on the gradient during the learning process. This gradient approaches zero when the number of hidden layers increases inside a structure, resulting in the vanishing gradient phenomenon, in which the weight is rarely updated, as shown in Figure 11.
To solve this problem, the DNN introduces a restricted linear unit (ReLU) function as a new activation function. The ReLU function is a simple function that outputs the input value if the input value is greater than zero and outputs zero if the input value is zero or lower. This activation function completes a DNN structure that can perform classification and prediction more accurately by implementing the hidden layers deeper, and wider, to solve the vanishing gradient problem, which has not been overcome before. Table 7 compares the sigmoid function, which is a representative ANN activation function, and the ReLU function, which is frequently used in DNNs.
Furthermore, when the DNN solves the problem of classifying multiple classes, it introduces the softmax function in the output layer. The k th output of the softmax function is defined as the exponential function of the k th input divided by the exponential function for all inputs, as shown in Equation (6):
y k = exp ( a k ) i = 1 n exp ( a i )
The output of the softmax function is a real number between 0 and 1, and the sum of the outputs is 1, which is a critical property of the softmax function. This property enables stochastic analysis and classification of the outputs of the function.

3.2.2. Porosity Prediction Model based on Artificial Intelligence Techniques

The relationship between the welding signals and porosity in arc welding is difficult to express in a sample mathematical formula. To deal with this complex relationship, this study proposes an algorithm for predicting porosity defects in welds, using an ANN and a DNN, that are currently widely used in machine learning. Figure 8 shows schematics of the ANN and DNN model structures employed in this study. For the ANN structure in Figure 12a, six feature variables, X1 ( s [ V ] ), X2 ( s [ V s ] ), X7 ( T ¯ a ), X8 ( N [ T ] ), X9 ( s [ T s ] ), and X12 ( s [ V ( T a ) ] ), were selected as input values for the input layer, and one hidden layer consisting of 24 nodes was selected.
As shown in Figure 13, the output value was set to 1 for the sections with porosity in the weld and 0 for the other sections. The DNN structure in Figure 9b has the same input and output variables, and the same number of nodes of the ANN model, but the hidden layer number was different.
Table 8 compares the hyperparameters, such as learning rates, epochs, optimizers, and activation functions of the ANN and DNN models. The same learning rate and epoch were used for both models. For the activation function, the sigmoid function and ReLU function were used for the ANN, and DNN, respectively. In addition, the output layer classifies the output values as probabilistic by setting the softmax function. For the optimization function, gradient descent and the Adam optimizer [20], proposed by Kingma and Lei Ba, were used for the ANN, and DNN, respectively.

3.2.3. Prediction model evaluation for detecting porosity

The ANN and DNN models implemented to detect and predict porosity defects were evaluated. The indicators for evaluating the classification model are classified into “True” and “False” as shown in Figure 14, and can be divided into 2 × 2 matrices.
Where the accuracy was evaluated by the following Equation (7):
Accuracy = T P + T N T P + T N + F P + F N .
For the data of the ANN and DNN models, the raw data sets obtained during two experimental runs, mentioned in the previous sections, were used. For the training data, the raw data sets from Figure 3 and Figure 4 were employed, excluding test data set 1 for the 8–10 s region, and test data set 2 for the 12–14 s region in Figure 3a. In other words, 2044 training data sets were obtained in total by randomly extracting the data from the region with porosity, and from the region with no porosity. Furthermore, 191 test data sets were obtained from test data sets 1 and 2 for the 2 s regions.
The test data sets are shown in Figure 15. It can be seen from test data set 1 for the 8–10 s section, shown in Figure 15a, that five porosity defects of 0.7–2.4 mm, including two pits, occurred in the weld. In addition, it can be seen from test data set 2 for the 12–14 s section, shown in Figure 15b, that three porosity defects of 0.9–1.7 mm, including one pit, occurred in the weld.
Six feature variables extracted through preprocessing were set as the input values, and the output values were set as shown in Figure 9. Next, the ANN and DNN models were trained using the structural parameters mentioned in Table 7. The training results for data sets 1, and 2, are shown in Figure 16, respectively. It can be seen from Figure 16 that the loss of function value of the ANN is lower than that of the DNN at an early stage of training. However, approximately after 5000 epochs, the loss function value of the ANN no longer converges, whereas that of the DNN still converges. Furthermore, the training accuracy of the ANN is approximately 81%, whereas the training accuracy of the DNN is 99% or higher. These results confirm that the training performance of the DNN is better than that of the ANN. Table 9 outlines the training results of the ANN and DNN models for loss function and accuracy over 100,000 epochs.
Figure 17 presents the prediction results of the ANN and DNN models obtained using test data sets 1 and 2. Figure 17a shows the prediction results for test data set 1. Among the five porosity defects in test data set 1, the ANN model detected defects near defects 1 and 4, although with some errors. The DNN model detected all five porosity defects in test data set 1. Furthermore, the prediction results for test data set 2, shown in Figure 17b, indicate that among the three porosity defects, the ANN model detected only defect 1, while the DNN model detected all three porosity defects, although some errors occurred in the front of defect 1.
Table 10 shows the prediction accuracy results of the ANN and DNN models. For test data set 1, the prediction accuracies of the ANN and DNN models are 65.9%, and 85.8%, respectively. Thus, the DNN model shows approximately 20% higher prediction performance than the ANN model. Furthermore, for test data set 2, the prediction accuracies of the ANN and DNN models are 79.0%, and 89.5%, respectively. Thus, the DNN model shows approximately 10% higher prediction performance than the ANN model in this case.

3.2.4. Porosity Detection and Prediction Systems for Field Application

In this study, arc welding process signals were measured in real-time in the process shown in Figure 18. In addition, feature variables were extracted through a preprocessing process and applied to the DNN model to develop a system that can detect and predict porosity defects.
In the porosity detection and prediction system developed for the field application, test experiments were conducted under the conditions summarized in Table 11. The test sheet material and welding method are the same as in this study, and the test region and the results are shown in Figure 19.
The results of the verification test indicated that eight pits were generated in the welded part. However, porosity was detected and predicted at the point where pits did not occur, such as at the red point. This can be determined by the error value, but it is most likely an internal porosity that cannot be seen with the naked eye as shown in Figure 10. Experiments were performed using the developed porosity detection and prediction system to verify its field application.

4. Conclusions

This study developed a system for detecting and predicting porosity defects, generated in the welded part, by using the galvannealed high-strength steel sheet, used for automobile parts in the GMAW process. The primary achievements can be summarized as follows.
(1)
The welding current and arc voltage signals generated in the GMAW process were measured in real-time, and the feature variables were extracted through preprocessing. In addition, the correlation between the feature variable and the porosity was analyzed to select the feature variable that is considered to be the defect signal.
(2)
An artificial intelligence technique suitable for nonlinear arc welding process prediction was used, and a model was developed to detect and predict porosity by comparing DNN and ANN models.
(3)
The predictive performance of ANN model and DNN model was evaluated. The evaluation result shows that the predictive performance of the DNN model is 15.2% higher than the ANN model on average.
(4)
An experiment was performed using the developed system to evaluate it for field application. The results indicated that all the pits generated in the welded part were detected.
(5)
It has the advantage of easy site application and low initial equipment cost because it is an NDT system that detects and predicts porosity defects in the weld by using only arc welding process signals without additional devices.

Author Contributions

S.S. analyzed the data and wrote the paper; C.J. performed the welding experiments; J.Y. analyzed the data and reviewed the paper; S.R. reviewed the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This work granted financial resource from the Ministry of Trade, Industry and Energy, Republic of Korea (No. 20184030201970).

Acknowledgments

This work was supported by the Human Resources Program in Energy Technology of the Korea Institute of Energy Technology Evaluation and Planning (KETEP).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kodama, S.; Ishida, Y.; Furusako, S.; Saito, M.; Miyazaki, Y.; Nose, T. Arc welding technology for automotive steel sheets. Nippon Steel Tech. Rep. 2013, 103, 83–90. [Google Scholar]
  2. Mukai, Y.; Nishimura, A.; Oku, K. CO2 welding of galvanized steel. Weld. Int. 1990, 4, 123–127. [Google Scholar] [CrossRef]
  3. Uchihara, M. Joining technologies for automotive steel sheets. Weld. Int. 2011, 25, 249–259. [Google Scholar] [CrossRef]
  4. Shin, S.; Rhee, S. Porosity characteristics and effect on tensile shear strength of high-strength galvanized steel sheets after the gas metal arc welding process. Metals 2018, 8, 1077. [Google Scholar] [CrossRef] [Green Version]
  5. Kang, M.J.; Rhee, S. The statistical models for estimating the amount of spatter in the short circuit transfer mode of GMAW. Weld. J. 2001, 80, 1–8. [Google Scholar]
  6. Kang, M.J.; Rhee, S. A study on the development of the arc stability index using multiple regression analysis in the short-circuit transfer region of gas metal arc welding. Proc. Inst. Mech. Eng. Part B: J. Eng. Manuf. 2001, 215, 195–205. [Google Scholar] [CrossRef]
  7. Kang, B.Y.; Lee, C.H.; Kim, H.J.; Chang, H.S. Relationship between spatter generation and waveform factors in transitional condition of CO2 welding. J. Weld. Join. 1998, 16, 39–46. [Google Scholar]
  8. Kang, S.K.; Moon, H.S.; Na, S.J. A study on determining arc stability using weight of spatter. J. Weld. Join. 1997, 15, 41–48. [Google Scholar]
  9. Wu, C.; Gao, J.Q.; Hu, J.K. Real-time sensing and monitoring in robotic gas metal arc welding. Measure Sci. Technol. 2007, 18, 303–310. [Google Scholar] [CrossRef]
  10. Zhang, Z.; Chen, X.; Chen, H.; Zhong, J.; Chen, S. Online welding quality monitoring based on feature extraction of arc voltage signal. Int. J. Adv. Manuf. Technol. 2014, 70, 1661–1671. [Google Scholar] [CrossRef]
  11. Na, S.J.; Moon, H.S. Signal processing algorithm for analysis of welding phenomena. J. Weld. Join. 1996, 14, 24–32. [Google Scholar]
  12. Sin, J.S.; Kim, J.W.; Na, S.J. A study on monitoring of welding waveforms in gas metal arc welding. J. Weld. Join. 1991, 9, 34–40. [Google Scholar]
  13. Quinn, T.P.; Smith, C.; McCowan, C.N.; Blachowiak, E.; Madigan, R.B. Arc sensing for defects in constant voltage gas metal arc welding. Weld. J. 1999, 78, 59–73. [Google Scholar]
  14. Adolfsson, S.; Bahrami, A.; Bolmsjo, G.; Claesson, I. On-line quality monitoring in short-circuit gas metal arc welding. Weld. J. 1999, 78, 59–73. [Google Scholar]
  15. Chu, Y.X.; Hu, S.J.; Hou, W.K.; Wang, P.C.; Marin, S.P. Signature analysis for quality monitoring in short-circuit GMAW. Weld. J. 2004, 83, 336–343. [Google Scholar]
  16. Shin, S.; Kim, M.S.; Rhee, S. Prediction of weld porosity (pit) in gas metal arc welds. Int. J. Adv. Manuf. Technol. 2019, 104, 1109–1120. [Google Scholar] [CrossRef]
  17. Suyama, F.M.; Delgado, M.R.; da Silva, R.D.; Centeno, T.M. Deep neural networks based approach for welded joint detection of oil pipelines in radiographic images with Double Wall Double Image exposure. NDT E Int. 2019, 105, 46–55. [Google Scholar] [CrossRef]
  18. Bacioiu, D.; Melton, G.; Papaelias, M.; Shaw, R. Automated defect classification of SS304 TIG welding process using visible spectrum camera and machine learning. NDT E Int. 2019, 107, 102139. [Google Scholar] [CrossRef]
  19. Chen, Y.; Chen, B.; Yao, Y.; Tan, C.; Feng, J. A spectroscopic method based on support vector machine and artificial neural network for fiber laser welding defects detection and classification. NDT E Int. 2019, 108, 102176. [Google Scholar] [CrossRef]
  20. Kingma, D.P.; Lei Ba, J. Adam: A method for stochastic optimization. In Proceedings of the 3rd International Conference on Learning Representations, San Diego, CA, USA, 7–9 May 2015; pp. 1–15. [Google Scholar]
Figure 1. Welding method and test sheet size.
Figure 1. Welding method and test sheet size.
Metals 10 00389 g001
Figure 2. Schematic diagram of experimental facility.
Figure 2. Schematic diagram of experimental facility.
Metals 10 00389 g002
Figure 3. Welding signal, bead appearance, and matching of x-ray images. (a) and (b)-Welding speed: 600 mm/min, WFR: 3 m/min, Gap: 0 mm.
Figure 3. Welding signal, bead appearance, and matching of x-ray images. (a) and (b)-Welding speed: 600 mm/min, WFR: 3 m/min, Gap: 0 mm.
Metals 10 00389 g003
Figure 4. Welding signal, bead appearance, and matching of x-ray images. (a) and (b)-Welding speed: 600 mm/min, WFR: 3 m/min, Gap: 0.5 mm.
Figure 4. Welding signal, bead appearance, and matching of x-ray images. (a) and (b)-Welding speed: 600 mm/min, WFR: 3 m/min, Gap: 0.5 mm.
Metals 10 00389 g004
Figure 5. Comparison of voltage waveform with or without porosity occurrence. (a) no porosity signal and (b) porosity signal.
Figure 5. Comparison of voltage waveform with or without porosity occurrence. (a) no porosity signal and (b) porosity signal.
Metals 10 00389 g005
Figure 6. Feature variables of arc voltage waveform for short-circuit transfer mode in the 0.1 s region.
Figure 6. Feature variables of arc voltage waveform for short-circuit transfer mode in the 0.1 s region.
Metals 10 00389 g006
Figure 7. Data segmentation of welding voltage.
Figure 7. Data segmentation of welding voltage.
Metals 10 00389 g007
Figure 8. Perceptron structure of an ANN.
Figure 8. Perceptron structure of an ANN.
Metals 10 00389 g008
Figure 9. Artificial intelligence structures. (a) ANN structure and (b) DNN structure.
Figure 9. Artificial intelligence structures. (a) ANN structure and (b) DNN structure.
Metals 10 00389 g009
Figure 10. Learning slowdown.
Figure 10. Learning slowdown.
Metals 10 00389 g010
Figure 11. Vanishing gradients.
Figure 11. Vanishing gradients.
Metals 10 00389 g011
Figure 12. Prediction model structure. (a) ANN model and (b) DNN model structure.
Figure 12. Prediction model structure. (a) ANN model and (b) DNN model structure.
Metals 10 00389 g012
Figure 13. Output value classification method.
Figure 13. Output value classification method.
Metals 10 00389 g013
Figure 14. Confusion matrix for classification.
Figure 14. Confusion matrix for classification.
Metals 10 00389 g014
Figure 15. Matching of X-ray images with weld appearance according to voltage signals using test data. (a) test data 1 and (b) test data 2.
Figure 15. Matching of X-ray images with weld appearance according to voltage signals using test data. (a) test data 1 and (b) test data 2.
Metals 10 00389 g015
Figure 16. Training results for loss function and accuracy. (a) Loss function and accuracy of train data set 1. (b) Loss function and accuracy of train data set 2.
Figure 16. Training results for loss function and accuracy. (a) Loss function and accuracy of train data set 1. (b) Loss function and accuracy of train data set 2.
Metals 10 00389 g016
Figure 17. Test results of ANN and DNN models. (a) Results of the test data set 1; (b) Results of the test data set 2.
Figure 17. Test results of ANN and DNN models. (a) Results of the test data set 1; (b) Results of the test data set 2.
Metals 10 00389 g017
Figure 18. Process of arc welding porosity detection and prediction system.
Figure 18. Process of arc welding porosity detection and prediction system.
Metals 10 00389 g018
Figure 19. Results of test experiments for field application.
Figure 19. Results of test experiments for field application.
Metals 10 00389 g019
Table 1. Chemical composition and mechanical properties of the base metal.
Table 1. Chemical composition and mechanical properties of the base metal.
Base MetalChemical Composition (wt. %)Mechanical Properties
GA 590CSiMnPSFeYS (MPa)TS (MPa)EL (%)
0.08170.1361.4400.0130.002Bal.58362925
Table 2. Welding experiment conditions.
Table 2. Welding experiment conditions.
Welding Conditions
Gap (mm)0, 0.5
CTWD (mm)15
WFR (m/min)3
Welding speed (mm/min)600
Shielding gasAr (90%)-CO2 (10%)
Table 3. Definitions of feature variables.
Table 3. Definitions of feature variables.
Feature VariableDescriptionSymbol
X1Standard deviation of voltage s [ V ]
X2Standard deviation of instantaneous short-circuit voltage s [ V s ]
X3Standard deviation of short-circuit peak voltage s [ V p ]
X4Average voltage during short-circuit time V ¯ ( T s )
X5Average voltage during arc time V ¯ ( T a )
X6Average short-circuit time T ¯ s
X7Average arc time T ¯ a
X8Number of short-circuit periods N [ T ]
X9Standard deviation of short-circuit time s [ T s ]
X10Standard deviation of arc time s [ T a ]
X11Standard deviation of voltage during short-circuit time s [ V ( T s ) ]
X12Standard deviation of voltage during arc time s [ V ( T a ) ]
Table 4. Porosity ratios in porosity regions.
Table 4. Porosity ratios in porosity regions.
Region no.Signal Section (s)Total Weld Length (mm)Bead Width (mm)Bead Area (mm2)Porosity Area (mm2)Porosity Ratio (%)
11.40–2.309.04.540.502.967.3
22.60–3.509.04.540.503.568.8
34.00–4.259.34.541.853.718.9
4.95–5.28
5.38–5.73
48.30–8.558.44.537.805.6615.0
9.18–9.32
9.63–9.75
11.68–11.84
12.78–12.95
52.85–3.208.85.245.763.166.9
3.90–4.25
5.60–5.78
66.25–7.159.05.246.802.555.4
77.50–8.409.05.246.805.1811.1
88.63–9.539.05.246.803.116.7
915.00–15.308.95.246.287.0515.2
15.65–15.80
16.08–16.20
16.38–16.70
Table 5. Feature variables and porosity ratios in the porosity generation regions.
Table 5. Feature variables and porosity ratios in the porosity generation regions.
Region
no.
X1
s [ V ]  
X2
s [ V s ]  
X3
s [ V p ]  
X4
V ¯ ( T s )  
X5
V ¯ ( T a )  
X6
T ¯ s  
X7
T ¯ a  
X8
N [ T ]  
X9
s [ T s ]  
X10
s [ T a ]  
X11
s [ V ( T s ) ]  
X12
s [ V ( T a ) ]  
Porosity
(%)
16.80.480.3510.3918.690.00250.00957.50.000330.00238.57245.177.3
27.20.650.4810.2618.770.00250.00828.30.000360.00238.53075.548.8
36.80.300.369.8518.870.00260.01016.80.000260.00168.41704.998.9
46.60.600.5310.3618.740.00250.01016.90.000340.00298.51665.0115.0
56.60.120.5210.3319.080.00260.01106.40.000290.00248.82074.886.9
66.50.130.689.8919.090.00270.01195.80.000220.00258.64664.665.4
76.30.220.4410.0119.110.00270.01255.60.000340.00248.57024.5611.1
86.30.080.569.8119.190.00280.01305.30.000270.00258.57404.446.7
96.20.220.3810.1419.010.00270.01265.50.000430.00408.46274.5715.2
106.30.090.2510.4118.990.00250.01245.80.0001520.00228.99224.570.0
116.20.060.4010.5819.150.00240.01275.70.0001710.00079.10504.490.0
126.30.090.3510.3119.100.00250.01285.60.0001750.00289.03684.550.0
136.10.090.3910.1419.090.00260.01375.20.0001870.00228.88224.330.0
145.40.060.559.9819.000.00240.01724.10.0002110.00218.68513.780.0
155.90.070.519.4618.980.00270.01524.60.0002320.00328.48894.100.0
165.90.080.349.5718.940.00260.01454.80.0001960.00408.50044.210.0
175.80.080.499.5818.960.00260.01594.40.0001470.00388.55994.060.0
185.70.140.399.7118.880.00260.01614.40.0002220.00468.58764.160.0
Table 6. Correlation matrix for the independent variables and porosity.
Table 6. Correlation matrix for the independent variables and porosity.
No.PorosityX1X2X3X4X5X6X7X8X9X10X11X12
X10.6261-----------
X20.6830.6961----------
X30.053−0.1460.0451---------
X40.2480.4880.321−0.2061--------
X5−0.317−0.349−0.7590.138−0.0481-------
X60.116−0.149−0.1870.264−0.6840.2691------
X7−0.666−0.979−0.7060.177−0.5820.3900.2691-----
X80.6030.9660.776−0.1750.587−0.498−0.351−0.9771----
X90.7330.3690.6230.2740.128−0.3370.343−0.3700.3631---
X10−0.135−0.471−0.1120.162−0.545−0.1700.5450.5−0.4930.2431--
X11−0.468−0.054−0.420−0.2830.6210.492−0.5810.012−0.025−0.592−0.4731-
X120.6310.980.767−0.1670.563−0.463−0.244−0.9770.9860.421−0.405−0.0511
Table 7. Comparison of types of activation functions.
Table 7. Comparison of types of activation functions.
Activation FunctionEquationGraph
Sigmoid f ( z ) = 1 1 + e z Metals 10 00389 i001
ReLU f ( z ) = { z ( z > 0 ) 0 ( z 0 ) Metals 10 00389 i002
Table 8. Summary of ANN and DNN model implementation.
Table 8. Summary of ANN and DNN model implementation.
ModelANNDNN
StructureInput LayerHidden LayerOutput LayerInput LayerHidden LayerOutput Layer
node61–24164–241
Learning rate0.01
Epoch100,000
Activation functionSigmoidReLU
Function of output layerSoftmax
OptimizerGradient descentAdam optimizer
Table 9. Training results of the ANN and DNN models.
Table 9. Training results of the ANN and DNN models.
ItemTraining Dataset 1Training Dataset 2
ANNDNNANNDNN
Loss function0.1260.0020.1310.018
Accuracy0.8250.9980.8160.990
Table 10. Test data prediction accuracies of the ANN and DNN models.
Table 10. Test data prediction accuracies of the ANN and DNN models.
ItemTest dataset 1Test dataset 2
ANNDNNANNDNN
Prediction accuracy0.6590.8580.7900.895
Table 11. Welding experiment conditions.
Table 11. Welding experiment conditions.
Welding Conditions
Gap (mm)No Gap
CTWD (mm)15
WFR (m/min)3
Welding speed (mm/min)600
Shielding gasAr (90%)-CO2 (10%)

Share and Cite

MDPI and ACS Style

Shin, S.; Jin, C.; Yu, J.; Rhee, S. Real-Time Detection of Weld Defects for Automated Welding Process Base on Deep Neural Network. Metals 2020, 10, 389. https://doi.org/10.3390/met10030389

AMA Style

Shin S, Jin C, Yu J, Rhee S. Real-Time Detection of Weld Defects for Automated Welding Process Base on Deep Neural Network. Metals. 2020; 10(3):389. https://doi.org/10.3390/met10030389

Chicago/Turabian Style

Shin, Seungmin, Chengnan Jin, Jiyoung Yu, and Sehun Rhee. 2020. "Real-Time Detection of Weld Defects for Automated Welding Process Base on Deep Neural Network" Metals 10, no. 3: 389. https://doi.org/10.3390/met10030389

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop