Advances in Optical Technologies

Volume 2013 (2013), Article ID 415837, 7 pages

http://dx.doi.org/10.1155/2013/415837

## Neural Network Modeling for Prediction of Weld Bead Geometry in Laser Microwelding

^{1}Department of Mechanical and Manufacturing Engineering, Faculty of Engineering, Universiti Putra Malaysia, 43400 Serdang, Selangor, Malaysia^{2}Graduate School of Natural Science and Technology, Okayama University, 3-1-1 Tsushimanaka, Kita-ku, Okayama 700-8530, Japan

Received 29 June 2013; Accepted 14 October 2013

Academic Editor: Michael Fiddy

Copyright © 2013 Mohd Idris Shah Ismail et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Laser microwelding has been an essential tool with a reputation of rapidity and precision for joining miniaturized metal parts. In industrial applications, an accurate prediction of weld bead geometry is required in automation systems to enhance productivity of laser microwelding. The present work was conducted to establish an intelligent algorithm to build a simplified relationship between process parameters and weld bead geometry that can be easily used to predict the weld bead geometry with a wide range of process parameters through an artificial neural network (ANN) in laser microwelding of thin steel sheet. The backpropagation with the Levenberg-Marquardt training algorithm was used to train the neural network model. The accuracy of neural network model has been tested by comparing the simulated data with actual data from the laser microwelding experiments. The predictions of the neural network model showed excellent agreement with the experimental results, indicating that the neural network model is a viable means for predicting weld bead geometry. Furthermore, a comparison was made between the neural network and mathematical model. It was found that the developed neural network model has better prediction capability compared to the regression analysis model.

#### 1. Introduction

Laser microwelding has a great potential in the joining production development. This microjoining technology is expected to realize the demand for high quality and faster joining method of thin metal sheets. The advantages of laser microwelding such as precision control of heat input, deep weld penetration, and minimal distortion offer higher welding speed compared to the conventional welding method. The low cost of production has made laser microwelding essential in various industries, including electronics, medical instruments and automotive industry. In the joining process of microproducts, the technological advancement in the field of monitoring and control is required. Therefore, the concentration must be given to the control of the factors which affect the laser microwelding process.

Primarily, a proper model needs to be constructed and tested before implementing for online control. The requirement to predict weld bead geometry as a function of welding performance in the laser microwelding has become more important to provide a basis for a computer-based control system in the future. The process parameters determine the weld bead geometry, due to the combination of these parameters control the heat input [1]. The effect of process parameters on weld bead geometry can be studied with the help of developing mathematical models. Many studies have been carried out to develop various mathematical models for prediction of weld bead geometry [2–4]. However, it is not easy to apply this conventional technique to the practical situations because the relationship between welding process and the weld bead geometry is a very complex relationship.

Recently, neural networks have been widely used to tackle problem which cannot be satisfactorily handled by conventional analytical approaches. The advantages of neural network include extreme computation, powerful memory and rapid learning. Furthermore, it can predict an output parameter with accuracy even if the input parameter interactions are not completely understood [5, 6]. It has been reported that the implementation of neural network could minimize the time and cost consumption during machining process [7]. These capabilities make neural network a useful prediction tool that can be implemented successfully in the research and development of laser welding [8], laser forming [9], laser cutting [10], and laser surface hardening [11].

In the present work, an attempt has been made to develop a neural network model in order to predict accurately the weld bead geometry in the laser microwelding process by changing laser power, scanning velocity, and spot diameter. The experimental work was carried out on the thin stainless steel sheet using a single-mode CW fiber laser with high-speed scanning system for data collection to train and validate the effectiveness of the neural network model. The prediction capability of neural network model is also compared with the performance of statistical regression model, which has been developed from the same experimental datasets used for the neural network model.

#### 2. Experimental Work

A schematic diagram of experimental setup is shown in Figure 1. In this study, the wavelength of 1090 nm single-mode CW Yb fiber laser was used. The laser was delivered by optical fiber and focused by a telecentric type lens of 100 mm in focal length. Instead of the conventional moving stage, a Galvano scanner was used in order to achieve the high-speed laser scanning. The expander was installed between the isolator and the bending mirror to change the diameter of laser spot. The main process parameters used in the study are given in Table 1. In addition, the welding experiments were carried out in shielding gas of nitrogen with a constant pressure 100 kPa. The austenitic stainless steel SUS304 was used as a specimen. The sizes of each specimen were 30 mm in length, 15 mm in width, and 50 *μ*m in thickness. After the laser welding, the welded specimens were cut perpendicular to the scanning direction for the measurement of weld bead geometry by optical microscope. Figure 2 shows the weld bead profile of laser welded bead-on-plate joint.

#### 3. Artificial Neural Network

Artificial neural network (ANN) is widely established in the artificial intelligence (AI) research where a nonlinear mapping between input and output parameters is required for a function approximation [12]. Various types of ANN, like multilayer perceptron (MLP), radial basis function (RBF), and self-organizing map (SOM), are used for modeling. The MLP with backpropagation algorithm is widely used because of its simplicity and great forecast ability in the weld modeling [13]. The flow chart of modeling procedure with backpropagation neural network is shown in Figure 3. In this study, the ANN modeling is carried out in two phases: the first phase is to train the network model, while the second phase is to validate the network model with data, which were not used for training.

##### 3.1. Neural Network Architecture

Choosing the optimum network architecture is one of the challenging steps in neural network modeling. Figure 4 shows the neural network architecture employed in this study. The backpropagation neural network (BPNN) has three layers: input layer, hidden layer, and output layer. As there are three inputs and two outputs, the numbers of neurons in the input and output layer had to be set to 3 and 2, respectively. In the many applications, the backpropagation architecture with one hidden layer is enough [14]. Therefore, only one hidden layer has been used in this study. In order to find an optimal architecture, different numbers of neurons in the hidden layer were considered and prediction error for each network was calculated. The BPNN is based on the error correction learning rule. Therefore, the operation of the neural network model can be divided into two main steps: forward computing and backward learning [9].

###### 3.1.1. Forward Computing

In the forward computing, the input patterns applied to the neurons of the first layer are just a stimulus to the network. On the other hand, there is no computation in the input layer. As illustrated in Figure 5, each neuron in the hidden layer determines a net input value based on all its input connections. These nodes are connected to each other so that the value of one node will affect the value of another. The relative influence that one node has on another one is specified by the “weight” that is assigned to each connection. The net input is calculated by summing the input values multiplied by their corresponding weight. Once the net input is calculated, it is converted to an activation value. The weight on the connection from the th neuron in the forward layer to the th neuron is indicated as . The output value of neuron is computed by the following equation: where is the linear combination of each of the values multiplied by , is a constant known as the bias, is the number of inputs to the th neuron, and is the activation of neuron . In this study, the hidden layer with log-sigmoid (S-shaped curves) activation function is used for the prediction of weld bead geometry. The log-sigmoid activation function is given in

###### 3.1.2. Backward Learning

In backward learning, the generated output of the network is compared to the desired output, and an error is computed for each output neuron. The error vector between desired values and the output value of the network is defined as where is the output value of the th output neuron and is the desired value of the th output neuron. Errors are then transmitted backward from the output layer to each neuron in the forward layer. The process is repeated layer by layer. Connection weights are updated by each neuron to cause the network to converge. The network was trained with the Levenberg-Marquardt training algorithm. This training algorithm was chosen due to its high accuracy in similar function approximation. The adjustments of weights and biases are done according to transfer function where is Jacobian matrix of derivation of each error, is a scalar and is error function.

##### 3.2. Training of Neural Network Model

The development and the training of the network were carried out using MATLAB Neural Network Toolbox [15]. The input and output of the model are illustrated in Figure 4. There are three neurons in the input layer of network, which are the laser power, scanning velocity, and spot diameter. The output layer has two neurons, which gives the weld bead depth and width. The input and output parameters datasets could not be trained by neural network in their original form due to the wide range of values among them. In order to become feasible neurons, all the values in the input neurons had to be preprocessed by normalizing and transformed within the range of −1 and +1. The normalized value () for each raw input and output dataset () was calculated as where and are the maximum and minimum values of the raw data, respectively.

The relationships of 70 combinations between weld bead geometry and the process parameters obtained from the experiments were used as the training and testing data. They are randomly divided into two datasets, of which 63 were used for training and 7 for testing or validation. The neural network configuration for training is created and formulated in MATLAB with specification given in Table 2. In order to identify the optimum network architecture, it is essential to determine the number of neurons in the hidden layer. Therefore, the number of neurons was chosen from 4 to 20 neurons in a hidden layer. The accuracy of the network was evaluated by the mean squared error (MSE) and the coefficient of multiple determination, . As can be seen in Table 3, the MSE in the training process is not directly related to increasing the number of neurons. It can be noted that there is a small number of neurons in the hidden layer, and the training performance of network is not satisfactory. However, the increase in the number of neurons beyond 14 has no significant improvement on the performance of the networks. From Table 3, it is clear that the network with 14 neurons in hidden layer shows the minimum MSE and the highest during training process. Figure 6 shows the performance of 3-14-2 network at the end of training. As the number of epochs was increased, the error decreased and converged to a value of about 0.00109 after 1000 epochs. The calculated weld bead geometry in the training of 3-14-2 network is confirmed by the correlation with the experimental data as shown in Figure 7. It can be seen that there is high correlation between the calculated and measured values of weld bead geometry.

#### 4. Development of Mathematical Models

The mathematical models for relationship between the process parameters and weld bead geometry also have been developed. In general, the response function can be represented as follows: where is the weld bead geometry, is the laser power, is the scanning velocity, and is spot diameter. The second-order polynomial equation used to represent the response surface for three factors could be expressed as follows: where is the constant of regression equation, the coefficients , , and are linear terms, the coefficients , , and are interaction terms, and the coefficients , , and are the quadratic terms.

The same datasets, as used in neural network model, were used to develop the mathematical models. The values of the coefficients in the polynomial equation were calculated using the statistical analysis software of MINITAB. In order to guarantee the reliability of the model coefficients were determined using a backward elimination procedure in which insignificant terms were eliminated based on significance level of ≤0.05. After evaluation of the coefficients, the final forms of mathematical models for weld bead depth and width are developed and given in (8) and (9), respectively,

The model adequacy is tested using the analysis of variance (ANOVA) technique, which is presented in Table 4. According to this technique, it was found that the calculated -ratio value of the models exceeded the standard tabulated value at 95% confidence level and the models are considered to be adequate within the confidence limit.

#### 5. Results and Discussion

The prediction results for the best architecture of the neural network and the established mathematical model are analyzed and discussed. The efficiency and predictability of these developed models have been defined as follows: where is the absolute prediction error and and represent the experimental and predicted weld bead geometry, respectively. The prediction errors of bead depth by the mathematical model and neural network model are shown in Figure 8. It shows that the prediction error of mathematical model ranged from 0.26 to 137.93%, while neural network model ranged from 0.004 to 57.45%. Figure 9 shows the results of prediction error of bead width by both models. It can be seen that the prediction errors by the mathematical model and neural network model range from 0.47 to 49.50% and from 0.02 to 11.88%, respectively. It can be noted that the prediction error obtained from neural network model showed better and more accurate results than those of the developed models using regression analysis method. In addition, it is very difficult to establish the relationship between process parameters and welding performance with mathematical model because of the complex and nonlinear relationship. It proves the superiority of neural network model to predict the weld bead geometry with high precision due to its high robustness to establish the relationship between the welding performance and its process parameters.

Next, the validation of developed models from the neural network and mathematical models is presented. The model has been validated using a fresh set of data as listed in Table 5 and the predicted results of both models on the bead depth and bead width are shown in Figures 10 and 11, respectively. Based on the training results of neural network, the 3-14-2 network with the weights and biases obtained from the training process was selected for the validation process. According to Figures 10 and 11, it can be seen that the distribution of data points for neural network model is similar and close to the line with accuracy of 97.56%, while the prediction accuracy of mathematical model was 81.28%. The neural network model gives the best fit to the experimental results and produced better prediction of the weld bead geometry than the traditional regression model. The performance of the neural network was less affected by architecture changes or the number of neurons in hidden layer [11]. In addition, the neural network model was performed with non-linear mapping between input and output parameters [12]. From the results, the neural network technique has been shown as an effective method to predict the complex relationship between the welding performance and its process parameters.

#### 6. Conclusions

An ANN-based model was developed to predict the weld bead geometry of thin steel sheet in laser microwelding. The main conclusions obtained in this study are as follows.(i)The ANN network which is a backpropagation with the Levenberg-Marquardt training algorithm was used to learn the training data of weld bead geometry resulting from the experimental work. The architecture of the neural network has 14 neurons in hidden layer and the prediction result of the neural network model was found to be in good agreement with the experimental results.(ii)The neural network model has better predictive ability compared with the mathematical model in predicting weld bead geometry. The predicted weld bead geometry of the neural network model is much closer to the actual weld bead geometry than those of the mathematical model.(iii)Neural network is a powerful tool and is easy to use in complex problems. Neural network can be used reliably, successfully, and very accurately for the prediction of weld bead geometry in laser microwelding.

#### Conflict of Interests

The authors declare no conflict of interests.

#### References

- K. Y. Benyounis, A. G. Olabi, and M. S. J. Hashmi, “Effect of laser welding parameters on the heat input and weld-bead profile,”
*Journal of Materials Processing Technology*, vol. 164-165, pp. 978–985, 2005. View at Publisher · View at Google Scholar · View at Scopus - K. Manonmani, N. Murugan, and G. Buvanasekaran, “Effects of process parameters on the bead geometry of laser beam butt welded stainless steel sheets,”
*International Journal of Advanced Manufacturing Technology*, vol. 32, no. 11-12, pp. 1125–1133, 2007. View at Publisher · View at Google Scholar · View at Scopus - A. Ruggiero, L. Tricarico, A. G. Olabi, and K. Y. Benyounis, “Weld-bead profile and costs optimisation of the CO
_{2}dissimilar laser welding process of low carbon steel and austenitic steel AISI316,”*Optics and Laser Technology*, vol. 43, no. 1, pp. 82–90, 2011. View at Publisher · View at Google Scholar · View at Scopus - K. Y. Benyounis, A. G. Olabi, and M. S. J. Hashmi, “Optimizing the laser-welded butt joints of medium carbon steel using RSM,”
*Journal of Materials Processing Technology*, vol. 164-165, pp. 986–989, 2005. View at Publisher · View at Google Scholar · View at Scopus - S. B. Singh, H. K. D. H. Bhadeshia, D. J. C. MacKay, H. Carey, and I. Martin, “Neural network analysis of steel plate processing,”
*Ironmaking and Steelmaking*, vol. 25, no. 5, pp. 355–365, 1998. View at Google Scholar · View at Scopus - J. M. Vitek, “Neural networks applied to welding: two examples,”
*ISIJ International*, vol. 39, no. 10, pp. 1088–1095, 1999. View at Google Scholar · View at Scopus - I. Kutschenreiter-Praszkiewicz, “Application of artificial neural network for determination of standard time in machining,”
*Journal of Intelligent Manufacturing*, vol. 19, no. 2, pp. 233–240, 2008. View at Publisher · View at Google Scholar · View at Scopus - J. Jeng, T. Mau, and S. Leu, “Prediction of laser butt joint welding parameters using back propagation and learning vector quantization networks,”
*Journal of Materials Processing Technology*, vol. 99, no. 1–3, pp. 207–218, 2000. View at Publisher · View at Google Scholar · View at Scopus - P. J. Cheng and S. C. Lin, “Using neural networks to predict bending angle of sheet metal formed by laser,”
*International Journal of Machine Tools and Manufacture*, vol. 40, no. 8, pp. 1185–1197, 2000. View at Publisher · View at Google Scholar · View at Scopus - B. F. Yousef, G. K. Knopf, E. V. Bordatchev, and S. K. Nikumb, “Neural network modeling and analysis of the material removal process during laser machining,”
*International Journal of Advanced Manufacturing Technology*, vol. 22, no. 1-2, pp. 41–53, 2003. View at Publisher · View at Google Scholar · View at Scopus - H. G. Woo and H. S. Cho, “Estimation of hardened layer dimensions in laser surface hardening processes with variations of coating thickness,”
*Surface and Coatings Technology*, vol. 102, no. 3, pp. 205–217, 1998. View at Google Scholar · View at Scopus - I. Kim, J. Son, S. Lee, and P. K. D. V. Yarlagadda, “Optimal design of neural networks for control in robotic arc welding,”
*Robotics and Computer-Integrated Manufacturing*, vol. 20, no. 1, pp. 57–63, 2004. View at Publisher · View at Google Scholar · View at Scopus - S. Pal, S. K. Pal, and A. K. Samantaray, “Artificial neural network modeling of weld joint strength prediction of a pulsed metal inert gas welding process using arc signals,”
*Journal of Materials Processing Technology*, vol. 202, no. 1–3, pp. 464–474, 2008. View at Publisher · View at Google Scholar · View at Scopus - S. K. Dhara, A. S. Kuar, and S. Mitra, “An artificial neural network approach on parametric optimization of laser micro-machining of die-steel,”
*International Journal of Advanced Manufacturing Technology*, vol. 39, no. 1-2, pp. 39–46, 2008. View at Publisher · View at Google Scholar · View at Scopus - M. H. Beale, M. T. Hagan, and H. B. Demuth,
*Neural Network Toolbox User's Guide Version 7*, The Mathworks, Natick, Mass, USA, 2010.