Skip to main content
Scientific Reports logoLink to Scientific Reports
. 2023 Feb 21;13:3013. doi: 10.1038/s41598-023-29906-0

Quality prediction and classification of resistance spot weld using artificial neural network with open-sourced, self-executable and GUI-based application tool Q-Check

Suhaila Abd Halim 1,2, Yupiter H P Manurung 1,3,, Muhamad Aiman Raziq 1,3, Cheng Yee Low 4, Muhammad Saufy Rohmad 1,5, John R C Dizon 6, Vladimir S Kachinskyi 7
PMCID: PMC9945458  PMID: 36810419

Abstract

Optimizing Resistance spot welding, often used as a time and cost-effective process in many industrial sectors, is very time-consuming due to the obscurity inherent within process with numerous interconnected welding parameters. Small changes in values will give effect to the quality of welds which actually can be easily analysed using application tool. Unfortunately, existing software to optimize the parameters are expensive, licensed and inflexible which makes small industries and research centres refused to acquire. In this study, application tool using open-sourced and customized algorithm based on artificial neural networks (ANN) was developed to enable better, fast, cheap and practical predictions of major parameters such as welding time, current and electrode force on tensile shear load bearing capacity (TSLBC) and weld quality classifications (WQC). A supervised learning algorithm implemented in standard backpropagation neural network gradient descent (GD), stochastic gradient descent (SGD) and Levenberg–Marquardt (LM) was constructed using TensorFlow with Spyder IDE in python language. All the display and calculation processes are developed and compiled in the form of application tool of graphical user interface (GUI). Results showed that this low-cost application tool Q-Check based on ANN models can predict with 80% training and 20% test set on TSLBC with an accuracy of 87.220%, 92.865% and 93.670% for GD, SGD and LM algorithms respectively while on WQC 62.5% for GD and 75% for both SGD and LM. It is also expected that tool with flexible GUI can be widely used and enhanced by practitioner with minimum knowledge in the domain.

Subject terms: Mechanical engineering, Computational science

Introduction

Resistance spot welding (RSW) is widely employed in manufacturing sectors for sheet metal joining because of its high speed and scalability to automation in high-volume, high-rate production. Additionally, RSW is a type of resistance welding that is frequently utilised in place of rivets, screws, soldering, and brazing on a range of goods. The approach is extensively used to combine components made of low carbon steel. High-strength low- alloy steel, stainless steel, nickel, aluminium, titanium and copper alloys are also spot welded commercially1.

Two or more metal sheets are bonded together using resistance spot welding by putting an electric current across them. The current is transmitted through electrodes that are applied onto the metal surfaces of the components to be welded. The heat generated by the running current melts the metal, resulting in the formation of a welding spot. The amplitude and length of the current influence the amount of heat generated at the location. The current and duration are precisely regulated and matched to the material, thickness, and kind of electrodes. As with any other type of welding, the quality of the joint is specifically correlated to the welding input parameters. A common problem is choosing and implementing the process input parameters to achieve a well-welded joint with the appropriate strength2.

The problem of choosing the optimal input parameters gives motivation to this study. The objectives related to this study are to develop ANN algorithm and GUI-based application tool to predict the parameters of RSW. The ANN consists of mathematical structures that emulate the biological nervous system's behaviour. It maps non-linear and dynamic designs with parallel, distributed, and adaptive computation3.

Hamedi et al.4 standardized three major processes of input parameters: welding current, welding time, and electrode force for spot welding of the body parts. The influence of these parameters on sub-assembly deformation were tested experimentally. Neural networks and multi-objective genetic algorithms were applied to select the optimal welding parameter values that generated the least dimensional variance values in the sub-assemblies.

The ANN can also be referred as a multilayer perceptron (MLP). According to Haruna Chiroma et al.5, there are many learning algorithms in MLP. One commonly used is the backpropagation algorithm or the backpropagation neural network (BPNN). However, in BPNN, the GD algorithm requires extended time to converge. Thus, the Levenberg–Marquardt (LM) algorithm is used for accelerating convergence6. The supervised learning algorithms used in this study are the BPNN or also known as standard backpropagation neural network algorithm which uses the GD, stochastic gradient descent (SGD), and the LM algorithm. Numerous past research used BPNN to optimize parameter, predict fatigue life and predict weld quality of RSW612. A graphical user interface (GUI) is used to make the ANN algorithm in graphical form that is easy to use by end user to make predictions13,14. A user friendly and easy to use GUI is beneficial to be developed as to effectively deal with the developed ANN algorithm.

In this study, the BPNN algorithms are implemented to optimise the parameters in RSW. These techniques are adapted for the prediction of TSLBC value and classification of quality for resistance spot welding. It is followed by developing an application tool consisting of several GUIs that simplify the computer environment. The tool can be used by other researcher and industry practitioner which enable them to easily use and gather experiment results using the developed tool without prior knowledge in the domain.

Experimental procedure and data collection

The experimental investigation stem of this paper is from the previous literature3. The chemical composition of the austenitic stainless steel SS304 sheets includes material properties, equipment, test specimen and RSW experimental input and output parameters. The chemical composition of the 304 ASS sheets is shown in Table 1.

Table 1.

Chemical composition of SS304 (wt%).

C Cr Ni Si Mn Mo Al Co
0.08 18.03 8.74 0.426 1.153 0.36 0.003 0.17
Cu Nb Ti V W Fe P S
0.39 0.02 0.004 0.05 0.03 70.48 0.019 0.002

The SS304 sheets were welded in 50 Hz single-phase equipment with water-cooled truncated cone RWMA Group A Class 2 electrodes with a face diameter of 4.5 mm. The ultrasonic spot-welding research transducer combines a captive water column delay and a replaceable rubber membrane to ensure a secure coupling to the weld surfaces. The transducer was 20 MHz in frequency and 4.5 mm in diameter. The sheet measured 0.8 mm thickness in diameter. The physical properties of the SS304 sheets that consisted of yield strength, tensile strength, total elongation, and microhardness are summarized in Table 2.

Table 2.

Mechanical properties of SS304.

Yield strength
(MPa)
Tensile strength
(MPa)
Total elongation
(%)
Microhardness
(HV, 100 g)
290 675 70 162

The RSW process employed a weld interval between 12 and 2 cycles, with a one-cycle step decrement. The welding current varied from 6.5 to 1.5 kA RMS, with a phase decreased of 0.5kA RMS and two electrode force values of 1000 N and 1500 N. Tensile shear specimens were prepared in accordance to ISO 14273. The dimension of test specimen is shown in Fig. 1.

Figure 1.

Figure 1

Dimensions of spot-welded tensile shear test specimens (mm).

Based on RSW dataset extracted from3, there were 36 data available with three inputs as corresponding outputs of TSLBV value (kN) and the quality level. The three input parameters were weld time (cycle), weld current (kA) and electrode force (N). The three parameters are selected because they are the important parameters in RSW15 The class value was either Bad, Good, or Worst with a TSLBC Value for each data point. Table 3 shows the used dataset of RSW.

Table 3.

Data Collection of RSW dataset.

Weld time
(cycle)
Weld current (kA) Electrode force
(N)
TSLBC value
(kN)
Quality level
7 6.16 1500 6.91 Good
12 5.64 1500 6.36 Good
3 5.51 1500 5.5 Bad
5 4.98 1500 5.75 Bad
8 4.46 1500 5.8 Bad
9 3.93 1500 5.14 Bad
3 4.06 1500 4.01 Bad
3 3.54 1500 3.58 Bad
9 2.88 1500 4.49 Bad
12 6.56 1500 6.5 Good
3 6.56 1500 5.55 Bad
8 2.49 1500 3.76 Bad
4 2.49 1500 2.95 Bad
12 1.96 1500 3.42 Bad
11 6.56 1000 6.78 Good
7 6.42 1000 6.68 Good
9 5.9 1000 6.38 Good
12 5.51 1000 6.06 Good
5 5.64 1000 6.28 Good
9 4.98 1000 6.11 Good
6 4.98 1000 5.92 Bad
12 4.59 1000 5.92 Bad
7 4.46 1000 5.98 Good
11 3.93 1000 5.17 Bad
8 3.93 1000 5.56 Bad
4 4.06 1000 4.67 Bad
10 3.41 1000 4.93 Bad
4 3.54 1000 4.21 Bad
7 3.01 1000 4.21 Bad
11 1.96 1000 3.63 Bad
3 1.96 1000 2.29 Bad
10 2.49 1000 3.18 Bad
2 2.49 1000 2.7 Bad
5 1.57 1000 1.67 Worst
11 1.7 1500 2.1 Bad
3 1.44 1500 1.36 Worst

Based on literature3, the quality level was divided into good, bad and worst depending on the TSLBC value. The quality level of the RSW joints was classified based on the TSLBC value as shown on Table 4.

Table 4.

The quality level classification of RSW joint.

TSLBC of the RSW joint Quality level
5.93 kN ≤ TSLBC Good
1.83 kN ≤ TSLBC < 5.93 kN Bad
TSLBC < 1.89 kN Worst

The classification of the quality level of RSW joint considered in good condition if the TSLBC values are greater than or equal to 5.93 kN. The quality level is bad if the TSLBC is less than 5.93 kN or greater than or equal to 1.83 kN. It considered worst if the values are less than 1.89 kN.

In this study, ANN was applied to predict the TSLBC value using linear regression while multiclassification was used to classify the quality level.

Prediction and classification using artificial neural network

The ANNs are mathematical models that emulate the behaviour of the human nervous system and capable of parallel, distributed, and adaptive computation which enables them to map non-linear and complex structures16. The ANN consists of a set of connected units generally known as neurons or nodes. The neurons are arranged in a layer, whereby the signal is transmitted between one neuron and another in each connection. The receiving neuron processes the signal and signals it to its associated downstream neurons within the network.

There are three main types of ANN layers: input, hidden, and output. The input layer receives different information forms, and the data flow from the input layer to the hidden layer to the output layer. Most neural networks are completely interconnected between layers, and the links are weighted. The higher the weight number, the greater the effect of one unit on another.

Multilayer perceptron feed-forward ANN is used to solve complex predictive modelling problems. They usually have an input layer, one or two hidden layers, and a single output layer. Neurons are computational units in the hidden layers that conduct non-linear mapping between inputs and outputs. This study focuses on multilayer perceptron neural network. It takes a set of 3 input values which are electrode force (EF), welding current (WC), and welding time (WT). The prediction on the numerical output is TSLBC and categorical output is the weld quality: worst, bad, good. Figure 2 shows the multilayer perceptron feed-forward network used in predicting TSLBC of RSW.

Figure 2.

Figure 2

Multilayer perceptron feed-forward network.

Optimizer and training algorithm for back propagation neural network

Training a multilayer perceptron is the process of determining the individual weights' values so that the network can correctly overcome the relationship for modelling. Like other probabilistic neural networks, this neural network needs only a fraction of the training samples. The BPNN is commonly applied to multilayer feed-forward ANN due to its ability to "learn" system properties via nonlinear mapping17.

The BPNN is an algorithm using gradient descents to measure the loss function. The gradient function can be expressed as Eq. (1).

ddθjJθ=-2ni=1n(yt-ypred)fi=1kwjxil+bxwjl 1

ddθjJθ = the gradient/derivative of the objective function J with respect to jth weight and bias, l = layer (l = 0 is input layer), wj = jth weight, xwjl = input of data at jth weight for lth layer, yt = true value, ypred = predicted value, n = Number of datapoint, xil = Input data at ith input for lth layer, k = Total neuron at certain layer.

The SGD is also a gradient descent type, using 1 example cost gradient at each iteration instead of using the sum of ALL examples cost gradient. It regularly updates the model parameter. The benefit of the algorithm is to update model parameters so that it converges in less time and needs less memory as the loss values do not need to be stored18. The gradient function for SGD can be expressed as Eq. (2).

ddθjJθ=-2(yt-ypred)fxwjl 2

An analytical parameter used to evaluate the network's performance is an objective function that refers to loss function. Loss is defined as the difference between the expected and actual performance values. The ultimate goal is to eliminate error to maximize the accuracy of the model's forecasts. Mean square error (MSE) and cross-entropy are two objective functions commonly used.

Mean squared error (MSE) is one of the mostly used objective functions, measured as the average squared difference between predictions and actual values. It is only concerned with the average magnitude of error, irrespective of its direction. The MSE can be represented as Eq. (3)19.

MSE=1Nn(yt-ypred)2 3

where N is a number of output nodes or neurons.

Categorical cross-entropy is often called Softmax loss activation function plus cross-entropy loss. The categorical entropy objective function is used when there are two or more label classes. The categorical cross-entropy can be represented as Eq. (4)20.

ypredj=exwjli=1kexilCE=-1ni=1Cytlogypred 4

Weight is used to minimize the prediction error. After the gradient of the objective function achieves global minima, it will maximize the objective function. Hence, the weight needs to be updated. It is a process where the current weight is subtracted with the gradient of the objective function multiplied by the learning rate. The update rule of BPNN is expressed as Eq. (5)

wj+1=wj-nddwjJwbj+1=bj-nddbjJb 5

wj is a current weight in a neural network. wj+1 is a new weight in a neural network. bj is a current bias weight in a neural network. bj+1 is a new bias weight in a neural network. η is a learning rate.

Another well-known optimizer is the Levenberg Marquardt (LM) which is the combination of a gradient descent method and the Gauss–Newton method designed to minimize a non-linear function21. In ANN, LM is suitable for training small and medium-sized problems. The Gauss–Newton approximates the Hessian matrix, H expressed as Eq. (6).

H=JTJ 6

where J is the Jacobian matrix, and the LM introduces another approximation to the Hessian matrix as expressed in Eq. (7)22.

H=JTJ+μI 7

where μ is a damping parameter which is always a positive number, and I is the identity matrix. The update rule of LM is expressed as Eq. (8).

wj+1=wj-JTwjJwj+μjI-1JTwjvwj 8

where wj+1 is a new weight calculated as gradient function, wj is the current weight using the Newton algorithm, j is the iteration index, μj is a damping parameter and v is an error vector.

Differ from GD and SGD which are available in Keras libraries, the Python code for LM algorithm is developed and embedded in the application tool. The LM algorithm implemented in ANN models originated from tf.keras.Model. Referring to the lines of codes in Fig. 3, the process is comparable on how the models are often trained in Keras. The distinction is that the fit function is invoked on a ModelWrapper class rather than on the model class directly.

Figure 3.

Figure 3

Implemented LM algorithm using Python.

As the algorithm shown, the LM optimizer is an advancement of GD and Newton method which can be seen in the separately self-developed model known as model_wrapper. This implementation of the LM algorithm refers to the previous work of23.

The LM approaches gradient descent when the μ is very large, and it approaches the Gauss–Newton algorithm when it μ is very small or nearly zero. The LM is fast, stable, and more robust than the Gauss–Newton as it converges well. But it is a bit slower than Gauss–Newton. The LM converges faster than the gradient descent method, and it requires much memory compared to Gauss–Newton and gradient descent6.

Activation functions and ANN structure

Activation function, also known as transfer function, is used in neural network to calculate and update the weighted sum and bias.

The activation function for the hidden layers is the Rectified linear units (ReLu) function. The ReLu activation function can be defined as Eq. (9).

fx=0forx<0xforx0 9

There are two types of activation functions used in this paper for the output layer since there are two different types of output from the dataset, namely scalar for TSLBC and categorical variable for weld quality. The activation function used to predict the TSLBC of RSW is the Linear activation function as defined in Eq. (10).

f(x)=mx 10

In addition, the activation function used to predict the quality of weld is Softmax as defined in Eq. (11).

fxi=exij=1kexj 11

where xi the ith element of input values and j is the total number of input values.

Different activation functions are applied for both hidden and output layers due to their capability and type of prediction.

Table 5 summarises the activation functions of the ANN model used in this study. For both models, ReLu is applied in hidden layer. Linear and Softmax are used in output layer as activation function for linear regression and multi-classification, respectively.

Table 5.

Activation function used for the ANN model.

Type of model Hidden layer Output layer
Linear regression ReLu Linear
Multi-classification ReLu Softmax

The ANN inputs are vectors with three components, one for each RSW parameter of WT, WC, and EF which are used to predict TSLBC and weld quality. Hence, the ANN input layer contains three neurons that represent the three inputs. A supervised learning mechanism is used to learn from the labelled training data. This indicates that each input must be followed by a target. This target is numerical and categorical which contain the value of TSLBC and welding quality of Good, Bad, and Worst obtained using the respective input's welding parameters. As a result, the output layer of the ANN contains one and three neurons for TSLBC value and welding quality, respectively. The number of hidden layers used in this study are in linear regression and multi-classification, while the number of neurons inside the hidden layer is 39 by using the proposed model as suggested by Pashazadeh et al.12. The suggested model by24 produced minimal error as compared with the other models. Table 6 summarizes the ANN structures used in this study.

Table 6.

ANN structure for numerical and categorical output.

Type of model Numerical output Categorical output
Linear regression 3-39-1 3-39-3
Multi-classification 3-39-39-1 3-39-39-3

According to Basheer and Hajmeer25 one hidden layer is enough to get a proper prediction when database is small. Hence only one hidden layer is applied for linear regression for both numerical and categorical output.

Referring to Table 3, the entire data set namely 36 input/target pairs corresponding to the 36 RSW data is randomly split into two subsets which are:

  • Training subset (80%) with 26 input/target pairs for training the ANN. The synaptic weights (each link between neurons is associated with a synaptic weight) are modified periodically to minimize the error between the experimental outputs and their respective targets.

  • Testing subset (20%) with 8 input/target pairs to evaluate the accuracy of the ANN after the training process.

80% is the best division of training and testing subset according to Gholamy et al.26. The whole processes in ANN algorithms are combined to develop an application tool that consists of several GUIs.

Application GUI development of Q-Check

In this study, the application tool named Q-Check is developed using Qt designer to design the GUI layout and Spyder IDE as the back-end development. The Q-Check consists of 6 Tabs in which each tab has its own function to complete the prediction process. Figure 4 demonstrates the general functionalities for Tab 1 until Tab 6 in the Q-Check application tool.

Figure 4.

Figure 4

Process flow performed in the Q-Check application tool.

The layout designs of Q-Check with 6 tabs are shown in Figs. 5, 6, 7, 8, 9 and 10. The first tab introduces the front page of the application tools as shown in Fig. 5.

Figure 5.

Figure 5

Introductory tab of Q-Check application tool as Tab 1.

Figure 6.

Figure 6

Import and pre-processing of the dataset as Tab 2.

Figure 7.

Figure 7

ANN modelling section as Tab 3.

Figure 8.

Figure 8

Training and evaluating the ANN model using Confusion Matrix as Tab 4.

Figure 9.

Figure 9

Training and evaluating the ANN model using Loss Function as Tab 4.

Figure 10.

Figure 10

Training and evaluating the ANN model using Accuracy as Tab 4.

Figure 6 shows the second tab where the user is able to import the input file and pre-process dataset in the input file for further process. In pre-processing, the user can select which type of true value to be pre-processed before setting up the ANN model.

The third tab consists the setting up of the model structures and other relevant parameters to implement the ANN model. In this tab, the user is required to choose the optimizer of GD, SGD and LM training algorithm to train the model. Figure 7 shows the layout of Tab 3 for model setup.

The fourth tab as shown in Figs. 8, 9 and 10 are used to train and evaluate the performance of the ANN model using confusion matrix, loss and accuracy respectively. The training size of the dataset can be set up in this tab and the default value is 80%. The confusion matrix can be plotted for multi-classification case.

The fifth tab as shown in Fig. 11 displays the current value of the weight and bias of the model. The weight and bias values for each layer of ANN model are shown and used for research purposes.

Figure 11.

Figure 11

Display of current weights and biases of the ANN model as Tab 5.

The last tab as in Fig. 12 is used to predict the weld quality and TSLBC of RSW with the corresponding input from the user. The user is required to provide three input parameters to make the prediction based on the developed training algorithm.

Figure 12.

Figure 12

Prediction section as Tab 6.

Result and discussion

The result of the research is an application tool that has the capability of evaluating and predicting the result of TSLBC value and the quality of RSW using GD, SGD and LMBP algorithms. The results obtained in this section are generated from Q-Check using the Qt designer from PyQt5 with Spyder IDE. During the training process, the number of epochs for the GD and SGD algorithms is 100 while the LM algorithm is 50, and the value of learning rate used is 0.01.

Table 7 shows the results of MSE and accuracy acquired in training and testing of GD, SGD and LM algorithms for numerical output using 2 different ANN structures.

Table 7.

MSE and accuracy of the linear regression for GD, SGD and LM algorithms.

ANN structure Training algorithm MSE Accuracy (%)
Training (%) Testing (%)
3-39-1 GD 7.545 12.78 87.220
SGD 1.554 7.135 92.865
LM 2.215 6.330 93.670
3-39-39-1 GD 11.749 11.827 88.173
SGD 1.09 10.716 89.284
LM 1.569 6.86 93.14

The MSE obtained from Table 7 shows that the LM produced the highest accuracy overall while GD gave the lowest accuracy. Based on Table 7, there was a slight variance of accuracy between 1 and 2 hidden layers of ANN structure. The structure with 1 hidden layer tended to produce an average higher accuracy for all algorithms. Hence, this ANN model is used in predicting the TSLBC of RSW since it has an excellent ability to generalize the 28 input/target pairs employed during the training process. For both structures, the LM gave the highest accuracy while the LM algorithm had a faster rate convergence since it required half value of the epochs than GD and SGD algorithms.

Based on the accuracy result from Table 8, it shows that the ANN model using SGD and LM tended to generalize well for the categorical output of the RSW dataset as it provided an accuracy of 75% for both structures. The GD algorithm gave the lowest performance for both ANN structures with 62.5% of accuracy.

Table 8.

Accuracy of the non-linear model using GD, SGD and LM algorithms.

ANN structure Training algorithm Train set (%) Test set (%)
3-39-3 GD 85.714 62.5
SGD 96.429 75.0
LM 89.286 75.0
3-39-39-3 GD 78.571 62.5
SGD 96.429 75.0
LM 92.857 75.0

In order to summarize the performance of the ANN algorithms, confusion matrix for each algorithm was plotted. Figure 13 shows the result of confusion matrix for GD algorithm. The number 0 represents Good, 1 is Bad and 2 is Worst which refer to the RSW weld quality that has been encoded earlier.

Figure 13.

Figure 13

Confusion matrix for GD.

The confusion matrix showed that the ANN model using GD algorithm correctly predicted 5 out of 8 data points.

Figure 14 shows the result of confusion matrix for SGD algorithm. The confusion matrix showed that the ANN model using SGD algorithm correctly predicted 6 out of 8 data points.

Figure 14.

Figure 14

Confusion matrix for SGD.

Figure 15 shows the result of confusion matrix for LM algorithm. The confusion matrix showed that the ANN model using LM algorithm correctly predicted 6 out of 8 data points.

Figure 15.

Figure 15

Confusion matrix for LM.

Conclusion and recommendation

An investigation focusing on the development of an application tool that is able to predict the TSLBC and quality weld of RSW using the ANN model was developed in this study. An application tool was developed using an open-source library and module of Tensorflow and Keras, PyQt5 and Qt designer, Matplotlib, and others. Moreover, the highlight of this study was neglecting the need for an experimental set up in calibrating RSW equipment and materials preparation. The ANN training algorithm proposed in this study was BPNN algorithm which consisted of GD, SGD, and LM. This presented a work approach in which all parameters, geometry, dimensions, and boundary conditions were set in a similar means to ensure the realistic comparison with experimental and conventional experimental study of3. According to the results of this study, the following conclusions can be drawn:

  1. The GUI-based application tool was successfully developed in predicting the weld quality and TSLBC of RSW using Tensorflow, Keras with the Spyder IDE.

  2. The accuracy produced from the prediction of the TSLBC of RSW for GD, SGD, and LM training algorithms was 82.220%, 92.865%, and 93.670%, respectively, for ANN structure 3-39-1. Meanwhile, for ANN structure of 3-39-39-1, the accuracy was 88.173%, 89.284%, and 93.140% for GD, SGD, and LM training algorithms, respectively.

  3. For ANN structure of 3-39-1, the accuracy obtained from predicting the quality weld of RSW using the GD, SGD, and LM training algorithms was 62.5%, 75%, and 75%, respectively. The accuracy obtained for the 3-39-39-3 ANN structure was identical to that obtained with the 3-39-3 structure.

  4. The results obtained in predicting TSLBC and the quality weld of RSW showed that the SGD and LM algorithm produced significant results to generalize the ANN model.

  5. The LM algorithm had a faster rate convergence than the GD and SGD algorithms since it only used half the epoch than GD and SGD while obtaining the highest accuracy in predicting TSLBC and weld quality.

  6. The proposed methodology was relatively successful and straightforward to be used in a variety of other procedures. Additionally, adopting the suggested technique enables engineers to adjust parameters directly using a GUI-based application tool without any prior theoretical understanding of neural computing.

As further recommendations to current research, the following focus can enhance the application with:

  1. Adding the various types of machine learning algorithms into the application tool such as Adam, RMSProp, Adadelta and others.

  2. Modification to the current GUI by adding more features such as plotting graph tools and exporting the result into excel format for reporting purposes.

Acknowledgements

The authors would like to express their gratitude to the staff members of Smart Manufacturing Research Institute (SMRI), School of Mechanical Engineering as well as the staff of Welding Laboratory, Advanced Manufacturing Laboratory, Advanced Manufacturing Technology Excellence Centre (AMTEx) and Research Interest Group: Advanced Manufacturing Technology (RIG:AMT) at School of Mechanical Engineering, Universiti Teknologi MARA (UiTM) in Shah Alam, Malaysia. This research is financially supported by Technogerma Engineering & Consulting Sdn. Bhd. with research grant project number TEC/SMRI/ANN/Pyhton/01012021.

Author contributions

S.A.H. developed self-executable application tool, re-program for improvement and analysis the results. Y.H.P.M. wrote the manuscript text. M.A.R. developed GUI for application tool. C.Y.L. developed the ANN method. M.S.R. developed GUI for application tool. J.R.C.D. wrote the manuscript text and reviewed the manuscript. V.S.K. wrote and reviewed the manuscript text.

Data availability

All data generated or analysed during this study are included in this published article.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

References

  • 1.Jou M. Real time monitoring weld quality of resistance spot welding for the fabrication of sheet metal assemblies. J. Mater. Process. Technol. 2003;132(1–3):102–113. doi: 10.1016/S0924-0136(02)00409-0. [DOI] [Google Scholar]
  • 2.Panda, B. N., Raju Bahubalendruni, M. V. A. & Biswal, B. B. Optimization of resistance spot welding parameters using differential evolution algorithm and GRNN. In 2014 IEEE 8th International Conference on Intelligent Systems and ControlGreen Challenges Smart Solutions ISCO 2014—Proceedings 50–55. 10.1109/ISCO.2014.7103917 (2014).
  • 3.Martín Ó, et al. Quality prediction of resistance spot welding joints of 304 austenitic stainless steel. Mater. Des. 2009 doi: 10.1016/j.matdes.2008.04.050. [DOI] [Google Scholar]
  • 4.Hamedi, M., Shariatpanahi, M. & Mansourzadeh, A. Optimizing spot welding parameters in a sheet metal assembly by neural networks and genetic algorithm. Proceedings of the Institution of Mechanical Engineers, Part B: Journal of Engineering Manufacture, Vol. 221, No. 7 1175–1184. 10.1243/09544054JEM476 (2007).
  • 5.Chiroma H, et al. Neural networks optimization through genetic algorithm searches: A review. Appl. Math. Inf. Sci. 2017;11(6):1543–1564. doi: 10.18576/amis/110602. [DOI] [Google Scholar]
  • 6.Lin HL, Chou T, Chou CP. Optimation of resistance spot welding process using Taguchi method and a neural network. Exp. Tech. 2007;31(5):30–36. doi: 10.1111/j.1747-1567.2007.00186.x. [DOI] [Google Scholar]
  • 7.Zhao D, Wang Y, Liang D, Ivanov M. Performances of regression model and artificial neural network in monitoring welding quality based on power signal. J. Mater. Res. Technol. 2020;9(2):1231–1240. doi: 10.1016/j.jmrt.2019.11.050. [DOI] [Google Scholar]
  • 8.Wan X, Wang Y, Zhao D. Grey relational and neural network approach for multi-objective optimization in small scale resistance spot welding of titanium alloy. J. Mech. Sci. Technol. 2016;30(6):2675–2682. doi: 10.1007/s12206-016-0232-4. [DOI] [Google Scholar]
  • 9.Gong L, Xi Y, Liu C. Embedded artificial neuval network-based real-time half-wave dynamic resistance estimation during the A.C. resistance spot welding process. Math. Probl. Eng. 2013;2013:1–7. doi: 10.1155/2013/862076. [DOI] [Google Scholar]
  • 10.Lee HT, Wang M, Maev R, Maeva E. A study on using scanning acoustic microscopy and neural network techniques to evaluate the quality of resistance spot welding. Int. J. Adv. Manuf. Technol. 2003;22(9–10):727–732. doi: 10.1007/s00170-003-1599-9. [DOI] [Google Scholar]
  • 11.Park JM, Kang HT. Prediction of fatigue life for spot welds using back-propagation neural networks. Mater. Des. 2007;28(10):2577–2584. doi: 10.1016/j.matdes.2006.10.014. [DOI] [Google Scholar]
  • 12.Pashazadeh H, Gheisari Y, Hamedi M. Statistical modeling and optimization of resistance spot welding process parameters using neural networks and multi-objective genetic algorithm. J. Intell. Manuf. 2016;27(3):549–559. doi: 10.1007/s10845-014-0891-x. [DOI] [Google Scholar]
  • 13.Ahmad GG. Using artificial neural networks with graphical user interface to predict the strength of carded cotton yarns. J. Text. Inst. 2016;107(3):386–394. doi: 10.1080/00405000.2015.1034930. [DOI] [Google Scholar]
  • 14.Krishnanand SS, Nayak A, Taufik M. Development of graphics user interface (GUI) for process planning in extrusion based additive manufacturing. Mater. Today Proc. Mar. 2021 doi: 10.1016/j.matpr.2021.02.306. [DOI] [Google Scholar]
  • 15.Arunchai T, Sonthipermpoon K, Apichayakul P, Tamee K. Resistance spot welding optimization based on artificial neural network. Int. J. Manuf. Eng. 2014 doi: 10.1155/2014/154784. [DOI] [Google Scholar]
  • 16.Martín Ó, De Tiedra P, López M. Artificial neural networks for pitting potential prediction of resistance spot welding joints of AISI 304 austenitic stainless steel. Corros. Sci. 2010;52(7):2397–2402. doi: 10.1016/j.corsci.2010.03.013. [DOI] [Google Scholar]
  • 17.Soepangkat BOP, Pramujati B, Effendi MK, Norcahyo R, Mufarrih AM. Multi-objective optimization in drilling kevlar fiber reinforced polymer using grey fuzzy analysis and backpropagation neural network-genetic algorithm (BPNN–GA) approaches. Int. J. Precis. Eng. Manuf. 2019;20(4):593–607. doi: 10.1007/s12541-019-00017-z. [DOI] [Google Scholar]
  • 18.Ruder, S. An Overview of Gradient Descent Optimization Algorithms 1–14 [Online]. Available: http://arxiv.org/abs/1609.04747 (2016).
  • 19.Khan M, Noor S. Performance analysis of regression machine learning algorithm for prediction of runoff time. Agrotechnology. 2019;8(1):1–12. doi: 10.35248/2168-9881.19.8.187. [DOI] [Google Scholar]
  • 20.Ho Y, Wookey S. The real-world-weight cross-entropy loss function: Modelling the costs of mislabeling. IEEE Access. 2019;8:4806–4813. doi: 10.1109/ACCESS.2019.2962617. [DOI] [Google Scholar]
  • 21.Marquardt DW. An algorithm for least-squares estimation of nonlinear parameters. J. Soc. Ind. Appl. Math. 1963;11(2):431–441. doi: 10.1137/0111030. [DOI] [Google Scholar]
  • 22.Gavin, H. P. The Levenberg-Marquardt Algorithm for Nonlinear Least Squares Curve-fitting Problems. Duke University (2020).
  • 23.Marco, F. D. Implementation of Levenberg-Marquardt Training Algorithm. https://github.com/fabiodimarco/tf-levenberg-marquardt (accessed June 17, 2021).
  • 24.Sheela KG, Deepa SN. Review on methods to fix number of hidden neurons in neural networks. Math. Probl. Eng. 2013;2013:1–11. doi: 10.1155/2013/425740. [DOI] [Google Scholar]
  • 25.Basheer IA, Hajmeer M. Artificial neural networks: Fundamentals, computing, design, and application. J. Microbiol. Methods. 2000;43(1):3–31. doi: 10.1016/S0167-7012(00)00201-3. [DOI] [PubMed] [Google Scholar]
  • 26.Gholamy, A., Kreinovich, V. & Kosheleva, O. Why 70/30 or 80/20 Relation Between Training and Testing Sets: A pedagogical Explanation. Department of Technical Reports (CS) (2018).

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

All data generated or analysed during this study are included in this published article.


Articles from Scientific Reports are provided here courtesy of Nature Publishing Group

RESOURCES