Next Article in Journal
Multi-Scale Channel Adaptive Time-Delay Neural Network and Balanced Fine-Tuning for Arabic Dialect Identification
Previous Article in Journal
Evaluation of the Applicability of Artificial Intelligence for the Prediction of Obstructive Sleep Apnoea
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Development of an Artificial Intelligence-Based System for Predicting Weld Bead Geometry

1
Faculty of Mechanical Engineering, University of Transport and Communications, Hanoi 100000, Vietnam
2
Faculty of Information Technology, University of Transport and Communications, Hanoi 100000, Vietnam
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(7), 4232; https://doi.org/10.3390/app13074232
Submission received: 9 March 2023 / Revised: 24 March 2023 / Accepted: 25 March 2023 / Published: 27 March 2023
(This article belongs to the Section Mechanical Engineering)

Abstract

:
The prediction of the weld bead geometry parameters is an important aspect of welding processes due to it is related to the strength of the welded joint. This research focuses on using statistical design techniques and a deep learning neural network to predict the weld bead shape parameters of shielded metal arc welding (SMAW), metal inert gas (MIG), and tungsten inert gas (TIG) welding processes. With the statistical design techniques, experiments were carried out to obtain the data for generating the regression models. Establishing mathematical models that shows the relationship between welding process parameters and weld bead size is significant for practical applications. The mathematical model enables the determination of the weld bead size when setting specific welding process parameters. In this research, experimental research results were obtained to build mathematical models showing the relationship between welding process parameters and weld bead geometries for SMAW, MIG, and TIG welding processes. The research results serve as the basis for establishing predictive systems or optimizing welding process parameters. With deep learning neural network techniques, we developed an artificial intelligence-based system for predicting complicated relations between the welding process parameters and the weld bead size. Both a regression model and the deep learning model result in a good correlation between the welding process parameters and the weld bead geometry.

1. Introduction

The arc-welding processes such as shielded metal arc welding (SMAW), metal inert gas (MIG), and tungsten inert gas (TIG) play an important role in industrial applications [1,2,3]. The SMAW welding process is a manual arc welding process that uses a consumable electrode coated in flux to lay the weld. The MIG welding process also uses a consumable electrode, while the TIG process uses a non-consumable electrode. Generally, the quality of a weld joint is directly influenced by the welding input parameters. Optimization of process parameters has a great influence on the weld joint quality. To evaluate the weld joint, the weld bead geometry is an important factor. Some methods, including theoretical studies, statistical analysis [4], and artificial intelligence-based prediction systems [5,6], have been used to predict the weld bead shape. Benyounis et al. presented a literature review on the application of design of experiment (factorial design, linear regression, response surface methodology, and Taguchi method), evolutionary algorithms, and computational networks (artificial neural network, simulated annealing, fuzzy clustering technique, and controlled random search) which show the mathematical relationship between the welding process input parameters and the output responses of the weld joint [7].
The generation of a regression model from experiments by applying the regression technique and statistical analysis was proposed and applied in industrial applications. Mohd et al. carried out experiments to develop mathematical models which show the relationship between the SMAW process parameters (including welding current, arc length, welding speed, welding gap, and electrode diameter) and the weld bead geometry [1]. Mathematical models using the regression technique and statistical analysis were generated to predict the weld bead geometry in the double pulse gas metal arc welding process [8]. Singh et al. considered the effect of the welding current on the weld bead geometry when changing the welding current in experiments [9]. For optimizing the welding parameters in the SMAW process, the factorial design approach was used to establish the relationship between the welding deposition area and the welding voltage, welding current, and welding speed [10]. The MIG welding process with welding speed, voltage, wire feed rate, gas flow rate, nozzle plate distance, and torch angle as the input parameters and weld bead width, weld bead height, and weld bead penetration as the output parameters was analyzed using the regression technique. Both linear and nonlinear regression analyses were employed to establish the input–output relations [2].
Artificial intelligence techniques were applied for predicting the weld bead shape. Ahmed et al. developed a radial basis function neural network (RBF-NN)-based model and a multilayer perceptron neural network (MLP-NN) model for predicting the weld base shape in the SMAW welding process [11]. The results show that the RBF-NN model was able to achieve a high level of accuracy in simulating the weld geometry and very satisfactorily predicted all parameters in comparison with the MLP-NN model. This confirms that the RBF-NN technique is a powerful tool for analysis and modeling [11]. In the SMAW process, research on the effect of the welding process parameters, cryo-treatment, and preheating on the welding characteristics using an artificial neural network (ANN) was carried out [12]. For the SMAW process, Singh et al. used an ANN to predict the weld width in consideration of values of current, voltage, speed of welding, and external magnetic field to produce the best quality of weld with respect to weld width [13].
Integration of regression and artificial intelligence techniques was also proposed for predicting the weld bead in a single welding process. Kuma et al. carried out experiments to generate a linear regression model with welding speed, wire feed rate, % cleaning, gap, and welding current as the input parameters and the weld bead shape as the response in the TIG welding process [6]. A back-propagation neural network also was used for predicting the weld bead shape [6]. Rururaja et al. proposed both a regression model and a machine learning model for predicting the weld bead shape in the gas metal arc welding (GMAW) process with the input parameters including plate thickness, welding current, and welding speed and the weld bead shape as the response [14]. In addition, with the GMAW welding process, Campbell et al. carried out experiments for comparison with the results of the weld bead shape generated by applying ANN. The comparison of experimental and predicted results shows that an ANN-based model can be successfully employed to predict multiple weld geometries [15]. For the TIG welding process, Nagesh et al. developed mathematical models for weld bead shape parameters using the multiple linear regression technique with experimental data. Then, these data also were used to predict the weld bead shape parameters using a back-propagation neural network [16]. Back-propagation with the Levenberg–Marquardt training algorithm was used to train a neural network for predicting the weld bead geometry in laser micro-welding [17]. The The Levenberg–Marquardt training algorithm also was used for predicting weld beads in the SMAW welding process [18]. A neural network and a second-order regression analysis were proposed for predicting bead geometry in robotic gas metal arc welding [19]. In this study, a neural network was adopted to characterize the complex relationship between input variables and the bead geometry. Kim et al. reported research on multiple regression and back-propagation neural network approaches in modeling the top bead height of multi-pass gas metal arc (GMA) welds with the input parameters including pass number, welding current, welding speed, and arc voltage [20]. A deep learning neural network with four-hidden-layer architecture and a sigmoid activation function for estimation of the weld bead parameters in the TIG welding process was proposed by Keshmiri et al. [21].
From the literature review, experiments for generating the mathematical models which show the relationship between the welding process parameters and the weld bead shape were studied. Artificial intelligence techniques for developing models for predicting weld bead shape also were used. However, the integration of a predictive system for predicting the weld bead shape with the SMAW, MIG, and TIG welding processes has not yet been carried out and reported. Currently, we are developing a virtual welding system for training students to have welding skills. The proposed virtual welding system enables learners to practice welding operations. So, they gain welding experience to minimize errors when carrying out real welding. With this purpose, we propose the development of a system that integrates three welding processes, namely the SMAW, MIG, and TIG welding processes. In this paper, we propose the development of a predictive system that enables the prediction of the weld bead information according to the welding process parameters of the SMAW, MIG, and TIG welding processes. This is one part of the whole virtual welding system. In order to consider the effects of the main factors of the welding process, a linear regression technique has been used to develop mathematical models for the weld bead shape parameters of SMAW, MIG, and TIG welding processes.

2. Materials and Methods

2.1. Systematic Procedure for Developing the Predictive System

For developing the predictive system, the systematic procedure is shown in Figure 1. The system enables the prediction of the weld bead shape (including bead width, reinforcement, and penetration) of SMAW, MIG, and TIG welding processes. From analyzing the mechanism of the SMAW, MIG, and TIG welding processes as well as the welding joint types, the input parameters that are the welding process parameters and the allowed values of these parameters were determined. To develop mathematical models showing the relationship between the input parameters and the weld bead shape, experiments were carried out. These experiments are designed by using the factorial design technique. Then, the MiniTab tool was used to establish the relationship between the input parameters and the response. From the established mathematical models, the main factors affecting the weld bead shape were determined. These data were used for training the artificial intelligence (AI)-based models. For developing the AI-based model, the network architecture for SMAW, MIG, and TIG welding process with the input layer including the welding process parameters and the output layer that is the weld bead shape was used. The deep learning technique and Python platform were used for programming modules for the predictive system. These modules include interface, SMAW, MIG, and TIG modules.

2.2. SMAW, MIG, and TIG Welding Processes

The mechanism of the shielded metal arc welding (SMAW) process is shown in Figure 2. The SMAW process uses a flux-coated consumable electrode with a metal rod at the core. The arc between the electrode and the base metal plate creates the required heat for generating the weld bead [22].
Figure 3 shows the mechanism of the tungsten inert gas (TIG) welding process. The TIG process uses a power source, a shielding gas, and a tungsten inert gas torch. The TIG welding process is used to produce weld joints with a non-consumable tungsten electrode. In some cases, the filler rod is used to have the added material to fill up the gap between two joints. In the TIG welding process, the arc is formed between a pointed tungsten electrode and the base material plate in an inert gas such as argon (Ar), helium (He), or an Ar–He mixture [23].
Figure 4 shows the mechanism of the MIG welding process. The MIG process uses a power source, a shielding gas, and a consumable wire electrode. In the MIG welding process, the arc melts the electrode wire to add the material to the base metal plates. The shielding gas keeps the weld pool free from atmospheric contamination.

2.3. Experiments for Generating Data and Development of Regression Models

Experiments were conducted on the SMAW, MIG, and TIG welding machines. For carrying out SMAW, MIG, and TIG welding processes, we used ARC 200, MIG 200, and TIG 200 welding machines, respectively. For carrying out the experiments, the welding process parameters that highly influence the quality of weld joints were selected. The ranges of welding process parameters and experimental results are shown in Table 1, Table 2, Table 3, Table 4, Table 5 and Table 6 for the SMAW, MIG, and TIG welding process, respectively. These ranges were selected according to the specification of machines, base material, and electrode material and consideration of the welding experiments as well as the reported research on the SMAW, MIG, and TIG welding processes [1,2,3]. The two-level full factorial design method was used for designing experiments and generating mathematical models [24,25]. With the SMAW welding process, the input process parameters that highly influence the quality of weld joints include welding current, welding speed, arc length, electrode diameter, and welding gap. The values for the SMAW welding process are shown in Table 1. Base metal plates in a square butt weld joint with a flat position are structural mild steel plates; the thickness of each plate is 6 mm.
To obtain regression models which show the relationship between the input parameters and the weld bead size as shown in Figure 5, the two-level full factorial design method was used to create a design matrix for this experiment. With 2 levels and 5 parameters, a total of 32 experiments were conducted as shown in Table 2.
Table 2. Experimental design and weld bead size for SMAW welding.
Table 2. Experimental design and weld bead size for SMAW welding.
NumberABCDEKS (mm)RS (mm)PS (mm)
1603.0704.03.09.61.01.4
2901.2702.63.010.91.51.3
3601.21202.63.09.32.01.3
4603.01204.01.09.00.81.5
5903.01204.03.08.11.11.6
6901.2704.01.08.01.81.5
7903.0702.63.09.31.01.4
8601.21202.61.011.31.51.3
9603.0704.01.09.02.01.4
10901.21202.63.07.81.01.7
11601.21204.03.010.21.32.5
12903.01204.01.07.71.41.9
13603.01202.61.07.41.22.2
14903.01202.61.08.91.72.2
15603.0702.63.011.31.61.7
16901.21204.03.08.51.02.2
17603.0702.61.08.51.32.3
18903.0702.61.09.71.61.8
19601.2704.03.09.41.42.2
20901.2704.03.010.91.31.6
21601.2702.63.07.41.82.0
22901.21204.01.09.41.22.6
23601.2702.61.08.50.92.2
24603.01204.03.010.11.62.1
25601.2704.01.010.01.42.4
26903.0704.03.011.01.52.3
27603.01202.63.010.62.02.3
28903.0704.01.010.20.82.4
29901.2702.61.08.51.12.6
30601.21204.01.09.71.82.4
31903.01202.63.09.91.02.9
32901.21202.61.08.90.62.6
In consideration of the independent effects of welding process parameters and the linear regression model, the weld bead dimensions in the SMAW welding process including bead width (KS), reinforcement (RS), and penetration (PS) are calculated as follows:
KS = 9.41 − 0.0072 A + 0.064 B − 0.00697 C + 0.123 D + 0.293 E
RS = 2.094 − 0.00826 A − 0.0044 B − 0.00102 C − 0.022 D + 0.0285 E
PS = 1.707 + 0.00272 A − 0.0406 B + 0.00351 C + 0.007 D − 0.0942 E
For the MIG welding process, the input process parameters include welding speed, arc voltage, wire feed rate, gas flow rate, nozzle-to-plate distance, and torch angle. The values for the MIG welding process are shown in Table 3. Base metal plates are structural mild steel plates; the thickness of each plate is 8 mm.
Table 3. Input parameters for MIG process [2].
Table 3. Input parameters for MIG process [2].
ParameterUnitNotationMinimum Value (−)Maximum Value (+)
Welding speedcm/mina2545
Arc voltageVb2630
Wire feed ratem/minc67
Gas flow rateL/mind1418
Nozzle-to-plate distancemme1520
Torch angledegreef70100
With 2 levels and 6 parameters, a total of 64 experiments were conducted as shown in Table 4.
Table 4. Experimental design and weld bead size for MIG welding.
Table 4. Experimental design and weld bead size for MIG welding.
NumberabcdefKM (mm)RM (mm)PM (mm)
14530618201009.22.41.8
22530618157011.63.42.5
3452671820707.63.42.0
42526714201009.43.91.9
54530614201009.22.41.7
64530718201009.82.62.0
72526718151009.83.82.0
845307181510010.12.52.1
9252661420708.84.02.0
10453061415709.42.62.1
112530614207011.23.52.4
12453071820709.72.92.4
13453061420709.12.72.1
14252671815709.74.12.4
15252661820708.94.02.1
164526714201007.63.21.6
172530714207011.93.62.7
182526614151009.13.71.7
1925307141510012.43.22.3
204530718157010.02.82.5
21452661820707.23.31.8
224526714151007.93.11.6
23252671420709.34.22.3
244526718151007.93.01.7
252530714157012.33.52.7
2625307182010012.13.32.3
272530718207012.03.62.7
284526718201007.73.11.7
294526614151007.42.91.4
30252671415709.64.12.3
31452661415707.33.21.7
3245307141510010.02.52.0
332530718157012.33.52.8
34452671815707.83.32.1
352526714151009.73.81.9
36453071415709.92.82.4
374526618151007.42.91.4
384530618151009.52.31.8
3925307142010012.03.32.3
404526618201007.23.01.4
41252671820709.44.22.4
42452671420707.63.52.0
43252661415709.04.02.1
4425306181510011.73.12.1
45453061820709.22.72.2
4625306182010011.43.22.1
472526718201009.53.92.0
484526614201007.23.01.3
492526618151009.23.61.7
50452661420707.13.31.7
512526618201008.93.71.7
522530618207011.33.52.5
53252661815709.13.92.1
54452671415707.83.42.0
5525306141510011.63.12.0
564530614151009.42.31.7
5725307181510012.53.22.4
584530714201009.82.62.0
59453061815709.42.62.2
60452661815707.43.21.8
612530614157011.63.42.4
62453071420709.72.92.4
632526614201008.93.71.6
6425306142010011.33.22.0
The linear regression model for calculating the weld bead dimensions in the MIG welding process including bead width (KM), reinforcement (RM), and penetration (PM) are as follows:
KM = −6.502 − 0.1 a + 0.57969 b + 0.5813 c + 0.01562 d − 0.05375 e + 0.00271 f
RM = 8.1234 − 0.037187 a − 0.14219 b + 0.15625 c − 0.00469 d + 0.01875 e − 0.01 f
PM = −0.9703 − 0.015312 a + 0.09531 b + 0.275 c + 0.01875 d − 0.005 e − 0.013125 f
For the TIG welding process, the input process parameters include welding speed, arc voltage, wire feed rate, % cleaning, joint gap, and welding current. The values for TIG welding process are shown in Table 5.
Table 5. Input parameters for TIG process [3].
Table 5. Input parameters for TIG process [3].
ParameterUnitNotationMinimum Value (−)Maximum Value (+)
Welding speedcm/minM2446
Wire feed ratecm/minN1.52.5
% cleaningO3070
Joint gapmmP2.43.2
Welding currentAQ80110
Two structural mild steel plates with 6 mm thickness were used for experiments. With 2 levels and 5 parameters, a total of 32 experiments were conducted as shown in Table 6.
Table 6. Experimental design and weld bead size for TIG welding.
Table 6. Experimental design and weld bead size for TIG welding.
NumberMNOPQKT (mm)RT (mm)PT (mm)
1461.5302.41106.10.82.6
2462.5703.2805.31.41.4
3242.5303.211012.30.42.1
4461.5303.21107.30.71.6
5241.5703.211012.90.31.9
6242.5302.4806.71.21.7
7462.5702.41107.00.81.7
8461.5702.41107.70.81.5
9462.5703.21107.80.61.8
10241.5302.411011.30.41.8
11461.5302.4805.01.41.0
12461.5703.21107.60.61.5
13241.5702.4807.40.81.6
14462.5302.41106.41.01.5
15241.5302.4806.10.91.7
16242.5702.411011.80.42.1
17241.5703.2807.30.71.6
18462.5303.2805.01.51.1
19242.5303.2806.81.11.8
20461.5702.4805.01.11.3
21242.5702.4807.00.91.9
22241.5303.211011.50.32.1
23242.5703.2807.50.91.8
24462.5702.4805.21.41.4
25461.5703.2804.41.11.4
26242.5302.41109.30.81.9
27461.5303.2804.91.21.3
28242.5703.211012.50.42.1
29241.5303.2806.41.01.4
30462.5303.21106.91.11.5
31241.5702.411011.20.71.5
32462.5302.4804.81.41.1
The linear regression models for calculating the weld bead dimensions in TIG welding process including bead width (KT), reinforcement (RT), and penetration (PT) are as follows:
KT = −0.79 − 0.1468 M + 0.01713 O + 0.654 P + 0.1146 Q
RT = 1.978 + 0.0157 M + 0.1601 N − 0.00317 O − 0.099 P− 0.01625 Q
PT = 0.835 − 0.0157 M + 0.0738 N + 0.00034 O + 0.029 P + 0.01174 Q

2.4. Modeling of Artificial Intelligence-Based Predictive System

From the regression models, the main welding process parameters of SMAW, MIG, and TIG welding processes were determined. For developing the predictive system, the deep learning neural network (DLNN) was applied. There are many types of layers for the deep learning model depending on the application. In this research, we used the dense layer which is deeply connected with its preceding layer [26]. The network architectures of the TIG and SMAW welding processes are listed in Table 7 and shown in Figure 6 and Figure 7, respectively.
In this DLNN, the rectified linear unit (ReLU) activation function is used. The ReLU is a nonlinear function or piecewise linear function that will output the input directly if it is positive; otherwise, it will output zero. This ReLU activation function is easier to train and often achieves better performance than sigmoid and tanh [27,28].
Mathematically, with x variable and function f, the ReLU function is expressed as follows:
f(x) = max (0, x)
It has become the default activation function for many types of neural networks because a model that uses it is easier to train and often achieves better performance.
Table 7. Network architecture of TIG and SMAW welding processes.
Table 7. Network architecture of TIG and SMAW welding processes.
LayerLayer (Type)Output ShapeActivationParam #
InputDense5
Hiddendense (Dense)(None, 64)ReLU448
dense_1 (Dense)(None, 32)ReLU2080
dense_2 (Dense)(None, 16)ReLU528
dense_3 (Dense)(None, 8)ReLU136
Outputdense_4 (Dense)(None, 3)Linear27
The network architecture of the MIG welding process is listed in Table 8 and shown in Figure 8. The loss function used in the network is mean squared error (MSE). MSE is calculated as the average of the squared differences between the predicted and actual values [29]; the optimization method is Adam, which is a method for first-order gradient-based optimization of stochastic objective functions [30]. The number of epochs is 10,000 and the batch size is 2. Table 9 shows the parameters for the training network and the root mean squared error (RMSE) of the training set and test set for the TIG, MIG, and SMAW welding processes.

3. Results and Discussions

3.1. Implementation of the Artificial Intelligence-Based System

The predictive system with four modules was developed using the Python platform. The interface of the system is shown in Figure 9 with the functions of predicting the weld bead of the TIG, SMAW, and MIG welding process.
The function of predicting the weld bead shape in the TIG welding process was developed, as shown in Figure 10, in which the input process parameters include welding speed, wire feed rate, % cleaning, gap, and current. The response is the weld bead shape.
Figure 11 shows the module for predicting the weld bead shape in the MIG welding process with the input including welding speed, arc voltage, wire feed rate, gas flow rate, nozzle-to-plate distance, and torch angle. The SMAW module is shown in Figure 12 with welding current, arc length, welding speed, electrode diameter, and joint gap as the input. These figures also show the input parameter values and the output.

3.2. Testing and Evaluating the Functionality of the Developed Predictive System

The functionality of the developed system was tested successfully. The predicted results are reliable in comparison with the experimental results and the calculated results. Table 10 shows the prediction results of the developed system for the TIG welding process, in which P-KT, P-RT, and P-PT are the predicted weld bead width, reinforcement, and penetration, respectively. C-KT, C-RT, and C-PT are the weld bead width, reinforcement, and penetration calculated by using Equations (7), (8), and (9), respectively. Dev. of KT, Dev. of RT, and Dev. of PT are the deviations between the prediction and calculation results of the weld bead width, reinforcement, and penetration, respectively. The % of KT, % of RT, and % of PT are the deviations between the prediction and calculation results of the weld bead width, reinforcement, and penetration in % for the TIG welding process, respectively.
Table 11 shows the prediction and calculation results for the MIG welding process, in which P-KM, P-RM, and P-PM are the predicted weld bead width, reinforcement, and penetration, respectively. C-KM, C-RM, and C-PM are the weld bead width, reinforcement, and penetration calculated by using Equations (4), (5), and (6), respectively. Dev. of KM, Dev. of RM, and Dev. of PM are the deviations between the prediction and calculation results of the weld bead width, reinforcement, and penetration, respectively. The % of KM, % of RM, and % of PM are the deviations between the prediction and calculation results of the weld bead width, reinforcement, and penetration in % for the MIG welding process, respectively.
Table 12 shows the prediction and calculation results for the SMAW welding process, in which P-KS, P-RS, and P-PS are the predicted weld bead width, reinforcement, and penetration, respectively. C-KS, C-RS, and C-PS are the weld bead width, reinforcement, and penetration calculated by using Equations (1), (2), and (3), respectively. Dev. of KS, Dev. of RS, and Dev. of PS are the deviations between the prediction and calculation results of the weld bead width, reinforcement, and penetration, respectively. The % of KS, % of RS, and% of PS are the deviations between the prediction and calculation results of the weld bead width, reinforcement, and penetration in % for the SMAW welding process, respectively.

3.3. Discussion of the Predicted and Calculated Results

Depending on the welding process parameters for SMAW, MIG, and TIG, the weld bead geometries are different for these welding processes. With the range of the proposed welding process parameters, the weld bead geometries predicted by the developed system are suitable in comparison between SMAW, MIG, and TIG welding processes. With the TIG welding process, maximum of the deviation between the predicted and calculated results is 0.33 mm (or 4.49%) for the weld bead width, 0.05 mm (or 4.58%) for the reinforcement, and 0.11 mm (or 5.55%) for the penetration. The maximum is 0.2 mm (or 2.74%), 0.14 mm (or 3.85%), and 0.13 mm (or 4.75%) for the deviation between the predicted and calculated results of the weld bead width, the reinforcement, and the penetration in the MIG welding process, respectively. With the SMAW welding process, it is 0.36 mm (or 3.87%), 0.05 mm (or 3.6%), and 0.09 mm (or 4.16%) for the deviation between the predicted and calculated results of the weld bead width, the reinforcement, and the penetration, respectively. The maximum deviation between the predicted result and the calculated result in the case of predicting the weld bead penetration of the TIG welding process is 5.55%. This deviation is acceptable and reliable. In comparison with the experimental results, the ranges of values of the weld bead geometry are within the allowed limitations as shown in Table 13. These results demonstrate the accuracy of mathematical models and artificial intelligence-based models.
In consideration of the research contribution to the classic theory of welding, the mathematical models generated by using the regression technique for analyzing the experiment data enable us to determine the main factors of the welding process parameters which affect the weld bead geometries. From that, we can define the appropriate welding process parameters to ensure weld quality.
From the main factors determined from the generated mathematical models, we developed the artificial intelligence-based models with the input including the main factors of the welding process parameters and the outputs which are the weld bead geometries such as the weld bead width, reinforcement, and penetration. For establishing the artificial intelligence-based models, we used the deep learning neural network technique which uses the experimental data for training networks to obtain the predicted weld bead geometries accurately. The artificial intelligence-based models will be applied for the online monitoring of the welding process to keep the weld quality consistent.
Table 13. Comparison of the values of the weld bead geometry between experiment and prediction.
Table 13. Comparison of the values of the weld bead geometry between experiment and prediction.
Welding ProcessWeld Bead GeometryExperimental ResultsPredicted Results
TIG welding processWeld bead width (KT)4.4 ÷ 12.95.87 ÷ 10.6
Reinforcement (RT)0.3 ÷ 1.40.5 ÷ 1.27
Penetration (PT)1.0 ÷ 2.61.38 ÷ 1.9
MIG welding processWeld bead width (KM)7.1 ÷ 12.47.31 ÷ 12.03
Reinforcement (RM)2.3 ÷ 4.22.72 ÷ 3.79
Penetration (PM)1.3 ÷ 2.81.53 ÷ 2.43
SMAW welding processWeld bead width (KS)7.4 ÷ 11.38.81 ÷ 9.63
Reinforcement (RS)0.6 ÷ 2.01.2 ÷ 1.44
Penetration (PS)1.3 ÷ 2.91.91 ÷ 2.12

4. Conclusions

In this research, a predictive system was developed for predicting the weld bead geometry in three welding processes. We carried out experiments for SMAW, MIG, and TIG welding processes to obtain the experimental data. From these data, we applied the regression technique and a statistical method for generating the mathematical models showing the relationship between the welding process parameters as the input information and the weld bead geometry as the response. From these mathematical models, the main factors affecting the weld bead shape were determined. These main factors were used as the input parameters for the input layer in the deep learning artificial neural network. The predictive system with four modules was developed using the Python platform. The SMAW, MIG, and TIG modules were implemented using deep learning neural networks for SMAW, MIG, and TIG processes. These results will be applied in developing a virtual welding process system for education carried out by the University of Transport and Communications, Vietnam. This developed system enables the prediction of the weld joint quality.

Author Contributions

Formal analysis, V.-H.B.; methodology, N.-H.T.; software, V.-T.H.; validation, N.-H.T., V.-H.B. and V.-T.H.; writing—original draft, N.-H.T., V.-H.B. and V.-T.H.; writing—review and editing, N.-H.T., V.-H.B. and V.-T.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Vietnam Ministry of Education and Training, grant number: B2021-GHA-01.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Mohd, N.C.W.; Ferry, M.; Nik, W.B.W. A study of software approach for predicting weld bead geometry in shielded metal arc welding (SMAW) process. Appl. Mech. Mater. 2014, 554, 386–390. [Google Scholar]
  2. Ganjigatti, J.P.; Pratihar, D.K.; Choudhury, A.R. Modeling of the MIG welding process using statistical approaches. Int. J. Adv. Manuf. Technol. 2008, 35, 1166–1190. [Google Scholar] [CrossRef]
  3. Kumar, R.; Saurav, S.K. Modeling of TIG welding process by regression analysis and neural network technique. Int. J. Mech. Eng. Technol. 2015, 6, 10–27. [Google Scholar]
  4. Shukla, A.A.; Joshi, V.S.; Chel, A.; Shukla, B.A. Analysis of shielded metal arc welding parameter on depth of penetration on AISI 1020 plates using response surface methodology. Procedia Manuf. 2018, 20, 239–246. [Google Scholar] [CrossRef]
  5. Ghanty, P.; Vasudevan, M.; Mukherjee, D.P.; Pal, N.R.; Chandrasekhar, N.; Maduraimuthu, V.; Bhaduri, A.K.; Barat, P.; Raj, B. Artificial neural network approach for estimating weld bead width and depth of penetration from infrared thermal image of weld pool. Sci. Tech. Weld. Join. 2008, 13, 395–401. [Google Scholar] [CrossRef]
  6. Nagesh, D.S.; Datta, G.L. Prediction of weld bead geometry and penetration in shielded metal-arc welding using artificial neural networks. J. Mater. Process. Technol. 2002, 123, 303–312. [Google Scholar] [CrossRef]
  7. Benyounis, K.Y.; Olabi, A.G. Optimization of different welding processes using statistical and numerical approaches—A reference guide. Adv. Eng. Softw. 2008, 39, 483–496. [Google Scholar] [CrossRef] [Green Version]
  8. Sen, M.; Mukherjee, M.; Pal, T.K. Prediction of weld bead geometry for double pulse gas metal arc welding process by regression analysis. In Proceedings of the 5th International and 26th All India Manufacturing Technology, Design and Research Conference (AIMTDR 2014), Guwahati, India, 12–14 December 2014. [Google Scholar]
  9. Singh, J.; Singh, G. Effects of variation in welding current during SMAW process on A36 mild steel. Int. J. Res. Appl. Sci. Eng. Technol. 2022, 10, 259–264. [Google Scholar] [CrossRef]
  10. Ranjan, R. Parametric optimization of shielded metal arc welding processes by using factorial design approach. Int. J. Sci. Res. Publ. 2014, 4. Available online: https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=3bff5b16728003f23044819fa6a1ad4f6c275422#page=637 (accessed on 16 February 2022).
  11. Ahmed, A.N.; Noor, C.W.M.; Allawi, M.F.; El-Shafie, A. RBF-NN-based model for prediction of weld bead geometry in Shielded Metal Arc Welding (SMAW). Neural Comput. Appl. 2018, 29, 889–899. [Google Scholar] [CrossRef]
  12. Ali, M.S.; Rao, C.S.; Rao, D.N. Study the effect of shielded metal arc welding process parameters, cryo-treatment and preheating on welding characteristics and modelling by an artificial neural network. Aust. J. Mech. Eng. 2014, 12, 195–207. [Google Scholar] [CrossRef]
  13. Singh, R.P.; Gupta, R.C.; Sarkar, S.C. Prediction of weld width of shielded metal arc weld under magnetic field using artificial neural networks. Int. J. Comput. Eng. Res. 2013, 3, 58–64. [Google Scholar]
  14. Pradhan, R.; Joshi, A.P.; Sunny, M.R.; Sarkar, A. Machine learning models for determination of weld bead shape parameters for gas metal arc welded T-joints-A comparative study. arXiv 2022, arXiv:2206.02794. [Google Scholar]
  15. Campbell, S.; Alexander, G.; Norman, M. Artificial neural network prediction of weld geometry performed using GMAW with alternating shielding gases. Weld. J. 2012, 91, 174–181. [Google Scholar]
  16. Nagesh, D.S.; Datta, G.L. Genetic algorithm for optimization of welding variables for height to width ratio and application of ANN for prediction of bead geometry for TIG welding process. Appl. Soft Comput. 2010, 10, 897–907. [Google Scholar] [CrossRef]
  17. Ismail, M.I.S.; Okamoto, Y.; Okada, A. Neural network modeling for prediction of weld bead geometry in laser micro-welding. Adv. Opt. Technol. 2013, 2013, 415837. [Google Scholar] [CrossRef] [Green Version]
  18. Mohd, N.C.W.; Ferry, M.; Gholamhassan, N.; Ahmad, F.; Mohd, A.; Nur, A.R. Prediction of weld bead geometry in SMAW welded plates by using artificial neural network approach. In Proceedings of the 9th International Conference on Marine Technology, Sarawak, Malaysia, 3–4 December 2014. [Google Scholar]
  19. Xiong, J.; Zhang, G.; Hu, J.; Wu, L. Bead geometry prediction for robotic GMAW-based rapid manufacturing through a neural network and a second-order regression analysis. J. Intell. Manuf. 2014, 25, 157–163. [Google Scholar] [CrossRef]
  20. Kim, I.S.; Lee, S.H.; Yarlagadda, P.K.D.V. Comparison of multiple regression and back propagation neural network approaches in modelling top bead height of multi-pass gas metal arc welds. Sci. Technol. Weld. Join. 2003, 8, 347–352. [Google Scholar] [CrossRef]
  21. Keshmiri, S.; Zheng, X.; Feng, L.W.; Pang, C.K.; Chew, C.M. Application of deep neural network in estimation of the weld bead parameters. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Hamburg, Germany, 28 September–3 October 2015. [Google Scholar]
  22. Majumdar, J.D. Underwater welding—Present status and future scope. J. Nav. Archit. Mar. Eng. 2006, 3, 39–47. [Google Scholar] [CrossRef]
  23. Kesse, M.A.; Buah, E.; Handroos, H.; Ayetor, G.K. Development of an Artificial Intelligence Powered TIG Welding Algorithm for the Prediction of Bead Geometry for TIG Welding Processes using Hybrid Deep Learning. Metals 2020, 10, 451. [Google Scholar] [CrossRef] [Green Version]
  24. A First Course in Design and Analysis of Experiments. Available online: http://users.stat.umn.edu/ (accessed on 19 August 2022).
  25. Sinha, A.; Kim, D.; Ceglarek, D. Correlation analysis of the variation of weld seam and tensile strength in laser welding of galvanized steel. Opt. Lasers Eng. 2013, 51, 1143–1152. [Google Scholar] [CrossRef]
  26. Verma, Y. A Complete Understanding of Dense Layers in Neural Networks. Available online: https://analyticsindiamag (accessed on 6 February 2023).
  27. ReLU Activation Function. Available online: https://vidyasheela.com (accessed on 6 February 2023).
  28. A Gentle Introduction to the Rectified Linear Unit (ReLU). Available online: https://machinelearningmastery.com/rectified-linear-activation-function-for-deep-learning-neural-networks/ (accessed on 6 February 2023).
  29. How to Choose Loss Functions When Training Deep Learning Neural Networks. Available online: https://machinelearningmastery.com/how-to-choose-loss-functions-when-training-deep-learning-neural-networks/ (accessed on 6 February 2023).
  30. Diederik, P.K.; Jimmy, B. Adam: A method for stochastic optimization. In Proceedings of the 3rd International Conference for Learning Representations, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
Figure 1. Systematic procedure for developing the predictive system.
Figure 1. Systematic procedure for developing the predictive system.
Applsci 13 04232 g001
Figure 2. Mechanism of SMAW welding process.
Figure 2. Mechanism of SMAW welding process.
Applsci 13 04232 g002
Figure 3. Mechanism of TIG welding process.
Figure 3. Mechanism of TIG welding process.
Applsci 13 04232 g003
Figure 4. Mechanism of MIG welding process.
Figure 4. Mechanism of MIG welding process.
Applsci 13 04232 g004
Figure 5. Geometry of weld bead.
Figure 5. Geometry of weld bead.
Applsci 13 04232 g005
Figure 6. Deep learning neural network architecture for the TIG welding process.
Figure 6. Deep learning neural network architecture for the TIG welding process.
Applsci 13 04232 g006
Figure 7. Deep learning neural network architecture for the SMAW welding process.
Figure 7. Deep learning neural network architecture for the SMAW welding process.
Applsci 13 04232 g007
Figure 8. Deep learning neural network architecture for the MIG welding process.
Figure 8. Deep learning neural network architecture for the MIG welding process.
Applsci 13 04232 g008
Figure 9. Screenshot of the interface module of the developed predictive system.
Figure 9. Screenshot of the interface module of the developed predictive system.
Applsci 13 04232 g009
Figure 10. Screenshot of the TIG welding module of the developed predictive system.
Figure 10. Screenshot of the TIG welding module of the developed predictive system.
Applsci 13 04232 g010
Figure 11. Screenshot of the MIG welding module of the developed predictive system.
Figure 11. Screenshot of the MIG welding module of the developed predictive system.
Applsci 13 04232 g011
Figure 12. Screenshot of the SMAW welding module of the developed predictive system.
Figure 12. Screenshot of the SMAW welding module of the developed predictive system.
Applsci 13 04232 g012
Table 1. Input parameters for SMAW process [1].
Table 1. Input parameters for SMAW process [1].
ParameterUnitNotationMinimum Value (−)Maximum Value (+)
Welding currentAA6090
Arc lengthmmB1.23.0
Welding speedmm/minC70120
Electrode diametermmD2.64.0
Joint gapmmE1.03.0
Table 8. Network architecture of MIG welding process.
Table 8. Network architecture of MIG welding process.
LayerLayer (Type)Output ShapeActivationParam #
InputDense6
Hiddendense (Dense)(None, 64)ReLU448
dense_1 (Dense)(None, 32)ReLU2080
dense_2 (Dense)(None, 16)ReLU528
dense_3 (Dense)(None, 8)ReLU136
Outputdense_4 (Dense)(None, 3)Linear27
Table 9. Parameters for training network and root mean squared error (RMSE).
Table 9. Parameters for training network and root mean squared error (RMSE).
DatasetNumber PatternsNumber Patterns
of Test Set
Number Patterns of Training SetRMSE Training SetRMSE Test Set
KRPKRP
TIG128115130.026250.000730.009990.048180.000670.00115
MIG1998110.000460.000090.000060.000130.000200.00005
SMAW625570.010490.000910.001610.002200.000260.00050
Table 10. Testing and comparing the prediction and calculation results for the TIG welding process.
Table 10. Testing and comparing the prediction and calculation results for the TIG welding process.
MNOPQC-KTC-RTC-PTP-KTP-RTP-PTDev. of KT% of KTDev. of RT% of RTDev. of PT% of PT
242.5303.2807.461.041.687.801.091.690.334.490.054.580.010.44
242.5302.411010.380.632.0110.600.621.900.232.19−0.012.22−0.115.55
242.5703.2959.870.671.879.940.651.930.080.79−0.033.730.063.08
462.5303.2955.951.141.525.911.171.45−0.040.610.032.42−0.064.09
242402.6908.390.831.758.350.831.74−0.040.420.000.04−0.010.79
352.5702.4957.730.921.687.730.951.720.010.090.033.240.052.71
3526031059.090.651.779.040.641.76−0.050.56−0.011.76−0.021.01
352502.8856.501.031.536.521.031.500.020.27−0.010.50−0.032.13
351.5702.41109.450.521.789.440.501.82−0.010.07−0.023.970.042.45
461.5702.41107.830.691.617.700.691.58−0.131.620.000.41−0.021.51
302.5502.8958.380.871.768.320.871.74−0.060.730.000.50−0.031.48
461.5302.4955.431.061.425.531.081.380.101.900.011.08−0.042.90
241.5703.2959.870.511.809.970.511.770.101.060.000.73−0.031.51
Table 11. Testing and comparing the prediction and calculation results for MIG welding process.
Table 11. Testing and comparing the prediction and calculation results for MIG welding process.
abcdefC-KMC-RMC-PMP-KMP-RMP-PMDev. of KM% of KMDev. of RM% of RMDev. of PM% of PM
2530718177012.013.562.769.912.822.43−0.100.84−0.143.85−0.134.75
402871716759.123.142.138.973.142.11−0.151.590.000.11−0.010.62
352661615708.193.571.938.063.561.93−0.131.58−0.010.200.000.03
302771516909.843.592.099.853.582.080.020.16−0.010.20−0.010.33
3030715179511.543.132.3011.463.122.29−0.070.61−0.010.46−0.010.59
2530714209511.863.382.3512.033.362.330.171.42−0.020.64−0.010.63
4530718178010.042.712.339.942.722.30−0.111.060.010.29−0.031.10
2526614151009.243.651.659.223.621.64−0.020.18−0.030.72−0.010.48
452661818907.123.041.537.313.041.530.202.74−0.010.19−0.010.58
302661515758.693.711.928.513.701.92−0.182.06−0.010.350.000.02
2526714151009.823.811.929.833.791.920.010.06−0.010.370.000.13
Table 12. Testing and comparing the prediction and calculation results for SMAW welding process.
Table 12. Testing and comparing the prediction and calculation results for SMAW welding process.
ABCDEC-KSC-RSC-PSP-KSP-RSP-PSDev. of KS% of KSDev. of RS% of RSDev. of PS% of PS
652803.519.241.422.019.261.412.040.020.23−0.010.410.031.31
901.595429.271.222.069.631.201.980.363.87−0.021.39−0.083.98
751.5115429.241.322.099.211.302.10−0.030.35−0.021.700.010.53
802.59032.59.471.341.929.441.331.91−0.020.26−0.010.57−0.010.54
601.2952.619.011.472.088.811.441.99−0.192.15−0.021.69−0.094.16
801.2120429.151.272.149.211.322.100.060.630.053.60−0.031.57
701.511541.59.131.352.139.021.372.12−0.111.230.031.870.000.13
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

Tran, N.-H.; Bui, V.-H.; Hoang, V.-T. Development of an Artificial Intelligence-Based System for Predicting Weld Bead Geometry. Appl. Sci. 2023, 13, 4232. https://doi.org/10.3390/app13074232

AMA Style

Tran N-H, Bui V-H, Hoang V-T. Development of an Artificial Intelligence-Based System for Predicting Weld Bead Geometry. Applied Sciences. 2023; 13(7):4232. https://doi.org/10.3390/app13074232

Chicago/Turabian Style

Tran, Ngoc-Hien, Van-Hung Bui, and Van-Thong Hoang. 2023. "Development of an Artificial Intelligence-Based System for Predicting Weld Bead Geometry" Applied Sciences 13, no. 7: 4232. https://doi.org/10.3390/app13074232

APA Style

Tran, N. -H., Bui, V. -H., & Hoang, V. -T. (2023). Development of an Artificial Intelligence-Based System for Predicting Weld Bead Geometry. Applied Sciences, 13(7), 4232. https://doi.org/10.3390/app13074232

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