 Original Article
 Open Access
 Published:
Optimization of underwater wet welding process parameters using neural network
International Journal of Mechanical and Materials Engineering volume 9, Article number: 26 (2014)
Abstract
Background
The structural integrity of welds carried out in underwater wet environment is very key to the reliability of welded structures in the offshore environment. The soundness of a weld can be predicted from the weld bead geometry.
Methods
This paper illustrates the application of artificial neural network approach in the optimization of the welding process parameter and the influence of the water environment. Neural network learning algorithm is the method used to control the welding current, voltage, contact tubetowork distance, and speed so as to alter the influence of the water depth and water environment.
Results
The result of this work gives a clear insight of achieving proper weld bead width (W), penetration (P), and reinforcement (R).
Conclusions
An interesting implication of this work is that it will lead to a robust welding activity so as to achieve sound welds for offshore construction industries.
Background
The differences in the weld quality for underwater welding as compared to air welding have made it very necessary to model an artificial neural network (ANN) which is capable of solving difficult and complex problems. The weld bead geometry of an underwater wet welding can be predicted by the neural network control of the input parameters as shown in Figure 1. The water surrounding the weld metal results in a fast cooling of the weld, thereby reducing the ductility and tensile strength of the weld metal by 50% and 20%, respectively (Brown and Masubuchi 1975). The effect of the water environment and the water depth on the welding process parameters significantly affects the quality of welds achieved underwater. The diffusible hydrogen contents are increased at lower water temperature for lower oxygen content. The increase in the diffusible hydrogen content leads to increase in the susceptibility of steels to hydrogenassisted cracking (Johnson 1997). The water depth plays a role in the stability of the welding arc. Increased water depth constricts the arc, thereby resulting in an increased current and voltage as the water depth increases. An increasing water depth decreases the operating process parameter space (Liu et al. 1993). This paper proposes suitable means of optimizing the welding process parameter using a neural network so as to minimize the effect of the cooling rate and water depth in underwater welding. The main goal is to achieve a weld bead geometry which will give the weld metal the recommended structural integrity as prescribed by the underwater welding specification code AWS D3.6M:2010 (AWS 2010).
Methods
Underwater welding
Underwater welding is used for the repair welding of ships and offshore engineering structures like oil drilling rigs, pipelines, and platforms. The commonly used underwater welding processes nowadays are shielded metal arc welding (SMAW) and flux cored arc welding (FCAW). The water surrounding the weld metal reduces the mechanical properties of weld done underwater due to the effect of the fast cooling rate of the weld. Heat loss by conduction from the plate surface into the moving water environment and heat loss by radiation are the major heat losses in underwater welding. Underwater welding requires a higher current for the same arc voltage to achieve a higher heat input as compared to air welding. The fast cooling rate of underwater welding results in the formation of constituents such as martensite and bainite for conventional welding of steels. These constituents lead to a highstrength, brittle material and susceptibility to hydrogeninduced cracking. The weld bead shape for underwater wet welding are more spread out and less penetrating than air welds. Underwater welding arc is constricted at increased depth or pressure. However, welding in shallow depth is more critical than that in higher depth. The unstable arc results in porosity which affects the soundness of the weld. Weld metal carbon content increases with increase in water depth. Also, manganese and silicon which are deoxidizers are increasingly lost at increased water depth (Omajene et al. 2014).
Artificial neural network
A neural network is a data modeling tool that captures and represents complex input/output relationships. A neuron gets signals from its input links, computes a new activation level, and sends an output signal through the output link(s). The learning algorithm is the procedure to modify the synaptic weights of the network to achieve the desired objective of the design. Weights are the basic means of longterm memory in artificial neural networks. The multilayer perceptron neural network (NN) is the most applicable network architecture in use today. Each unit as shown in Figure 2 undergoes a biased weighted sum of its inputs and passes it through an activation function to produce its output. These units are arranged in a layered feed forward topology. The multilayer perceptron neural network learns using backpropagation algorithm as shown in Figure 3. In backpropagation algorithm, the input data is repeatedly presented to the neural network. In each presentation, the output of the neural network is compared to the desired output, thereby computing an error signal. The error is presented back to the neural network to adjust the weights in a manner that the error decreases with each iteration and the neural network model gets closer to the desired target. Figure 3 illustrates a neural network using the backpropagation algorithm whereby the weight is changed as the iteration increases, thereby reducing the error and getting closer to the desired target (AlFaruk et al. 2010; Juang et al. 1998).
Summary of the backpropagation training algorithm
The summary of the backpropagation training algorithm is illustrated as follows (Negnevetsky 2005).
Step 1: Initialization
Set the weights and threshold levels of the network to uniformly random numbers distributed in small range. F_{ i } is the total number of inputs of neuron i in the network.
Step 2: Activation
Activate the backpropagation neural network by applying inputs x_{1}(p), x_{2}(p), …, x_{ n }(p) and desired output y_{d,1}(p), y_{d,2}(p), …, y_{d,n}(p).

(a)
Calculate the actual outputs of the neurons in the hidden layer:
$$ {y}_j(p)=\mathrm{sigmoid}\left[{\displaystyle {\sum}_{i=0}^n{x}_i(p)}*{w}_{ij}(p){\theta}_j\right] $$where n is the number of inputs of neuron j in the hidden layer and sigmoid is the sigmoid activation function.

(b)
Calculate the actual outputs of the neurons in the output layer.

(c)
$$ {y}_k(p)=\mathrm{sigmoid}\left[{\displaystyle {\sum}_{j=0}^m{y}_j(p)*{w}_{jk}(p){\theta}_k}\right] $$
where m is the number of inputs of neuron k in the output layer.
Step 3: Weight training
Update the weights in the backpropagation network propagating backward the errors associated with output neurons.

(a)
Calculate the error gradient for the neurons in the output layer:
$$ {\delta}_k(p)={y}_k(p)*\left[1\hbox{} {y}_k(p)\right]*{e}_k(p) $$where
$$ {e}_k(p)={y}_{d,k}(p)\hbox{} {y}_k(p) $$Calculate the weight corrections
$$ \Delta {w}_{jk}(p)=\alpha *{y}_j(p)*{\delta}_k(p) $$Update the weights at the output neurons:
$$ {w}_{jk}\left(p+1\right)={w}_{jk}(p)+\Delta {w}_{jk}(p) $$ 
(b)
Calculate the error gradient for the neurons in the hidden layer:
$$ {\delta}_j(p)={y}_j(p)*\left[1\hbox{} {y}_j(p)\right]*{\displaystyle {\sum}_{k=0}^{\ell }{\delta}_k}(p)*{w}_{jk}(p) $$Calculate the weight corrections
$$ \Delta {w}_{ij}(p)=\alpha *{x}_i(p)*{\delta}_j(p) $$Update the weights at the output neurons:
$$ {w}_{ij}\left(p+1\right)={w}_{ij}(p)+\Delta {w}_{ij}(p) $$
Step 4: Increase iteration p by 1, go back to step 2, and repeat the process until the selected error criterion is satisfied.
Results and discussion
The ANN scheme to predict the weld bead geometry in underwater wet welding is shown in Figure 1. The aim is to map a set of input patterns to a corresponding set of output patterns by learning from past examples how the input parameters and output parameters relate. A feedforward backpropagation network trained with scaled conjugate gradient (SCG) backpropagation algorithm is used. The quality of the weld can be verified when the training pattern fulfills the requirement for the accepted ranges of WPSF (penetration shape factor) = W/P and WRFF (reinforcement form factor) = W/R. The accepted ranges for a weld with good quality are a maximized penetration to width ratio and minimized undercut and reinforcement.
Design parameters
The experimental data values in Table 1 for process parameters, water depth and bead geometry are the values used for the training of) the neural network. These values are from an experimental data adapted from the work of Shi et al. (2013). The error results for each testing are included in the modified table (Table 1). The errors in italics are the errors from the training which are big and not desirable. A smaller error tending to zero is desired or an actual zero which is however not so easy to achieve.
Program algorithm
There are five input parameters and three output parameters in this model (Table 2). The training (Figure 4) was done for all the sets of data, so also is the testing. The target is to achieve an error value of 0. The size of the hidden layer was obtained by iterative adjustment while measuring the error during the neural network testing (Nagendra & Khare 2006). The network for this study has two layers; there are 40 neurons in the hidden layer. In this study, the neural network should ideally be able to learn and understand the interaction between the welding process parameters. There are different training algorithms for different processes. The SCG backpropagation algorithm was used for the training of the network because it is suitable for the training of larger networks. Other training algorithms had the problem of overfitting caused by overtraining, resulting in memorization of input/output instead of analyzing them on the internal factors determined by the updated weights. The learning rate used is 0.001 and it gave satisfactory results. In artificial neural networks, a high learning rate may lead to overshooting, while a slow learning rate takes more time for the network to converge.
Validation performance
Epoch is a single presentation of each input/output data on the training set. It indicates the iteration at which the validation performance reached a minimum (Fahlman 1988). The training continued for 1,123 more iteration before the training stopped. Figure 5 does not indicate any major problems with the training. The validation and test curve are very similar. If the curve had increased significantly before the validation curve increases, then it is possible that some overfitting might have occurred. The final mean squared error (MSE) is small, which is 9.1499e−4 at zero epoch. The MSE is used to gauge the performance of the network. The MSE is an average of the squares of all the individual errors between the model and the real measurements. The MSE is useful for comparing different models with the same sets of data.
Regression analysis
This plot is used to validate the network performance. The regression plots in Figure 6 display the network outputs with respect to targets for training, validation, and test sets. For a perfect fit, the network outputs are equal to the targets. The fit for this problem is reasonably good for all data sets with R values in each case at least 0.96637. These results are achieved by retraining which changes the initial weights of the network. In this problem, 100% of the data sets were used for training, validation, and testing of the network generalization.
Controller for underwater wet welding process
Figure 7 is a proposed schematic diagram for a possible control of underwater wet welding in which the NN optimization of the welding process parameter can be applicable. The NN model in this paper will be an essential part in the control architecture of the proposed controller with the aim of designing a robust controller for underwater wet welding process, and further research work is necessary in this regard. The preliminary explanation of this possible controller is highlighted in this section. The control system is aimed at controlling the welding process parameters for different measured water depth H; the water depth is not a control parameter but a measured parameter as welding is being carried out at different water depth. The water depth for the welding process is measured as the depth changes. This change in the measured water depth consequently changes the welding process parameters which in turn alters the bead geometry W, R, and P. The fuzzy controller compensates for this change and modifies the welding process parameters I, u, V, and D. The inverse NN has a constant parameter value which is the desired bead geometry parameter as inputs to the inverse NN and best parameter of the welding process as the output from the inverse NN. The error values for the training in experiment 1 from Table 1 are the best set of parameters because the errors for W, R, and P are closer to zero compared to the values for the other experiments. The constant output parameters I_{0}, U_{0}, v_{0}, D_{0}, and H_{0} which is the water depth at zero position from the inverse NN are summed up with the difference from the change in the output parameters ΔI, ΔU, Δv, ΔD, respectively, of the fuzzy controller, and this compensates for the change in the welding process parameters and inputs the adjusted welding process parameter to the welding machine. For every measured change in the water depth H, a change in the bead geometry ΔW, ΔP, and ΔR which is the input to the fuzzy controller is modified and gives an output of ΔI, ΔU, Δv, and ΔD. The welding process parameter from the welding machine is equal to the NN forward model, and as such, any change in the NN forward model is a subsequent change in the welding process itself. This control mechanism is a possible robust control process of the welding process and eliminates the need for online measurement of the weld bead geometry.
Conclusions
The optimization of the parameters that affect weld bead geometry during underwater welding can be done by artificial neural network training algorithm. In this study, the regression analysis show that the target follows closely the output as R is at least 96% for training, testing, and validation. The trained neural network with satisfactory results can be used as a black box in the control system of the welding process. The effective optimization of the welding process parameter in underwater wet welding has the ability of welding with an optimized heat input and optimized arc length which will guarantee arc stability. The use of optimized process parameters enables the achievement of an optimized weld bead geometry which is a key factor in the soundness of welds. The control process for underwater welding as suggested in this paper requires further research so as to fully apply the NN optimization process.
References
AlFaruk, A, Hasib, A, Ahmed, N, Kumar Das, U. (2010). Prediction of weld bead geometry and penetration in electric arc welding using artificial neural networks. International Journal of Mechanical & Mechatronics Engineering, 10(4), 19–24.
AWS. (2010). “Underwater welding code”. USA: AWS.
Brown, RT, & Masubuchi, K. (1975). “Fundamental Research on Underwater Welding”. In Welding research supplement (pp. 178–188).
Fahlman, SE. (1988). An empirical study of learning speed in backpropagation. USA: Carnegie Mellon University.
Johnson, RL. (1997). The Effect of Water Temperature on Underbead Cracking of Underwater Wet Weldments. California: Naval Postgraduate School.
Juang, SC, Tarng, YS, & Lii, HR. (1998). A comparison between the backpropagation and counterpropagation networks in the modeling of TIG welding process. Journal of Material ocessing Technology, 75, 54–62.
Liu, S, Olson, DL, & Ibarra, S. (1993). Underwater Welding. ASM Handbook, 6, 1010–1015.
Nagendra, SM, & Khare, M. (2006). Artificial neural network approach for modelling nitrogen dioxide dispersion from vehicular exhaust emissions. Ecological Modelling, 190(1–2), 99–115.
Negnevetsky, M. (2005). Artificial Intelligence. UK: Addison Wesley.
Omajene, JE, Martikainen, J, Kah, P, & Pirinen, M. (2014). Fundamental difficulties associated with underwater wet welding. International Journal of Engineering Research and Applications, 4(6), 26–31.
Shi, Y, Zheng, Z, & Huang, J. (2013). “Sensitivity model for prediction of bead geometry in underwater wet flux cored arc welding”. In Transaction of nonferrous metals society of China (pp. 1977–1984).
Author information
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors' contributions
The main author JEO carried out the research and designed the neural network model and analyzed the training results and prepared the paper. HW was responsible for key technical supervision. PK and JM checked the paper and provided suggestions to improve the paper. All authors read and approved the final manuscript.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0), which permits use, duplication, adaptation, distribution, and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Omajene, J.E., Martikainen, J., Wu, H. et al. Optimization of underwater wet welding process parameters using neural network. Int J Mech Mater Eng 9, 26 (2014). https://doi.org/10.1186/s4071201400263
Received:
Accepted:
Published:
Keywords
 Backpropagation
 Bead geometry
 Neural network
 Process parameter
 Underwater welding