Introduction

With the rapid development of microelectromechanical systems, small scale resistance spot welding (SSRSW) is commonly used in electronic and medical devices. Compared with normal scale or large scale resistance spot welding (LSRSW), SSRSW deals with relatively thinner sheet metal (sheet metal less than 0.2–0.5 mm) (Kaiser et al. 1982). SSRSW is distinct from LSRSW in many aspects; electrode sticking, expulsion, and non-repeatable welding may occur on condition of simply reducing welding parameters (Dong et al. 2002). There have been some studies on SSRSW. Zhou et al. (2000) investigate the weldability of thin sheet aluminum, brass, and copper in SSRSW. Ely and Zhou (2001) study the weldability of Kovar, steel, and nickel. Tan et al. (2004) expound the dynamic resistance during SSRSW of Ni sheets and point out that the dynamic resistance curve could be divided into six stages. Fukumoto et al. (2008) investigate the weldability of austenitic stainless steel. Xu and Zhai (2008) study the weldability of refractory alloy 50Mo-50Re thin sheet. Chen et al. (2012) adoptes a fully coupled thermal-electrical-mechanical finite element model (FEM) to provide a clearer understanding of the entire welding process and pointes out that the maximum electrode displacement and minimum dynamic resistance serve as important indicators of nugget quality which can directly reflect the formation and growth of nuggets during SSRSW.

Resistance spot welding (including SSRSW) is a complicated mechanical-thermal-electrical process and the weld quality is highly affected by various process conditions, noise and errors (Wen et al. 2009). However, there are few reports and literatures of the relevant studies on process optimization of SSRSW. Thus it is necessary to investigate an effective method to boost and optimize the quality of SSRSW.

There are plentiful literature reports on process optimization in the RSW process. Darwish and Al-Dekhial (1999) propose response surface methodology (RSM) to explore the effects of spot welding parameters on the strength of spot welded aluminum sheets with commercial purity. The optimum process parameters for obtaining the desired spot welding quality are captured by the proposed polynomial mathematical model. Rowlands and Antony (2003) applies the Taguchi’s loss function analysis to a spot welding process for the sake of discovering the key process parameter and RSM is also employed to identify the process parameters which affect the variability of the weld strength. Taguchi method is one of the simple and effective solutions for parameter design and experimental planning (Siddiquee et al. 2010). Esme (2009) applies Taguchi method to investigate the effects of welding parameters on the tensile shear strength in RSW process and obtains an optimum parameter combination for the maximum tensile shear strength by means of analyzing signal-to-noise (S/N) ratio. Thakur and Nandedkar (2010) recommend the Taguchi method to determine the effects of electrode force, welding current and welding time on the tensile shear strength of RSW of austenitic stainless steel. Analysis of variance is also performed to determine the predominant process parameters of RSW. Khan et al. (2012) develops a response surface model to study the influence of process parameters of weld-bonding on tensile shear strength of the weld-bond of 2 mm thick aluminum alloy sheets and discusses the effects of the significant process parameters and their interaction on the tensile shear strength. All these methods mentioned above have been proved to be satisfying by performing confirmatory tests afterwards. Whereas, all of these research reports only focus on one quality characteristic. It is well known that welding quality is commonly characterized by a number of indicators, such as nugget size, tensile shear strength, penetration rate and so on.

To overcome this shortcoming, the effects of spot welding parameters on multiple quality characteristics of RSW and resultful ideas on how to find the optimal welding parameters in a smart way are discussed in some research materials. Antony (2001) applies a Taguchi quality loss function to the RSW manufacturing process based on multi-objective optimization technique. It performs comparatively improvement in multiple quality characteristics compared with single quality characteristics by means of an example of electronic assembly problem. Kim et al. (2005) employs the RSM to establish the optimal input conditions to obtain a satisfactory weld quality of spot welded of highly tensile TRIP steel. Muhammad et al. (2012) applies a multi-objective optimization with simultaneous consideration of multiple response (radius of weld nugget and width of HAZ) using Taguchi method to optimize the multiple quality characteristics in RSW process. Experimental confirmation test is then carried out to validate that the predicted model is reliable. All the optimization techniques mentioned above are on the basis of the assumption that the response values are uncorrelated or independent. But this may not be always reasonable in realistic situations (Aslanlar 2006; Sun et al. 2008). Therefore, it is essential to eliminate the multi-colinearity problem prior to application of various optimization techniques.

Other process optimization methods are also proposed by some researchers. Bai and Chai (2012) investigate a hybrid intelligent optimal-setting control of the raw slurry blending process which can automatically adjust the set-points in order to respond to the variation of the boundary condition. The application results applied in an alumina factory in China prove the validity and effectiveness of the proposed methods. Ding et al. (2011) apply the traditional linear weighting methods, strength Pareto evolutionary algorithm (SPEA) and the K means supports vector clustering to achieve the multi-objective optimization design of the overall performance of injection molding machine. Rani et al. (2012) propose a modified genetic algorithm for the multi-objective optimization of PID controller parameters and the results show that it has the capability to optimally tune the PID controllers based on the nonlinear model of the pendulum. Aghaei et al. (2012) present a fuzzy optimization method to enhance the optimal power flow considering Unified Power Flow Controller. Loghmanian et al. (2012) propose a new modified elitist non-dominated sorting genetic algorithm using clustered crowding distance to minimize the complexity of a model structure and its predictive error simultaneously. All the methods mentioned above have not been employed in the field of spot welding, whereas an attempt may be made to improve the welding quality through using them for reference.

In the present work, first weld nugget size, tensile shear strength, penetration rate and failure energy are transformed into welding performance characteristics using signal-to-noise (S/N) ratio. And then the principal component analysis (PCA) is adopted to convert the four welding quality indices into an independent quality indicator. After eliminating the effects of multicollinearity among variables, RSM is employed to analyze and find out the optimal process parameters. Making use of the RSM modeling technique, the complicated relationships between the process parameters and the synthetical weld quality index of SSRSW are also discussed.

The rest of the paper is organized as follows. Section “Experimental detail” introduces the experimental conditions and experimental design. Section “Analysis methods and corresponding procedures” describes the methods and the corresponding procedures of the signal-to-noise (S/N) ratio method, PCA and RSM to obtain the composite welding quality index (CWQI) and the regression model quantifying the relationship between the input variables (welding current, welding time and welding force) and the output variable (CWQI). Section “The four principal component scores” discusses factor/interaction effects of welding parameters on CWQI, the optimizing design and experimental verification. Finally, Section “Conclusion” concludes the paper. The procedures applied in this research are shown in Fig. 1.

Fig. 1
figure 1

The optimization procedures of the research methodology

Experimental detail

Titanium and its alloys have been identified as one of the best engineering metals for application in many industrial fields (Kaya and Kahraman 2012), such as aviation, medical industry and chemical engineering, and so on. This is because titanium and titanium alloy have relatively low density, excellent corrosion resistance and high mechanical strength (Cui et al. 2011). Therefore, this paper is planned to optimize the welding parameters of TC2 titanium alloy sheets with the thicknesses of 0.4 mm. The alloy has satisfactory plasticity, good weldability and its chemical composition (percent by weight) is given in Table 1. The TC2 titanium alloy sheets are cut in the dimension of \(100 \times 30\times 0.4\,\text{ mm}\), installed as lapping joints, as shown in Fig. 2.

Table 1 Chemical compositions of TC2 titanium alloy (wt%)
Fig. 2
figure 2

Specimen sizes for SSRSW

When the temperature is higher than \(550\,{}^{\circ }\text{ C}\), titanium and its alloy easily produce chemical reaction with oxygen, nitrogen, hydrogen, which reduces their performances. However, during resistance spot welding, under the pressure of electrodes the nugget does not directly contact with the air, so it does not require special protection measures. The rough degree and cleanness of metal sheet surfaces extremely affect the welding quality (Saresh et al. 2007), so it is necessary to reduce the surface resistance by mechanical and chemical methods before welding. In this research, first the sheets are cleaned using hard brush, and then are chemically cleaned by the mixed solution of 45 % of nitric acid, 20 % of hydrofluoric acid and 35 % of water. After etching for 2–3 min, the base metal sheets are cleaned with running water.

The spot welding tests are performed using a resistance spot weld machine produced by Miyachi Unitek Corporation. A HF27 high frequency resistance welding power supply with a pneumatically actuated small-scale resistance weld head is employed in this experiment. The HF27 power supply can provide constant current, constant voltage and constant power modes for a welding process. In this work constant current mode is used. The flatted copper alloy electrodes with 3 mm in diameter are employed. No cooling water is supplied to the electrodes.

In order to improve the reliability and availability of the test results, experiments are scheduled based on RSM technique. Box–Behnken designs (BBD) are a class of rotatable or nearly rotatable second-order designs based on three-level incomplete factorial designs (Souza et al. 2005; Ferreira et al. 2007), which are considered to be more suitable for the limited number of samples to be conducted in comparison with other experimental design methods (Beal et al. 2006). The 95 % confidence interval for the experimental results of the BBD is analyzed by default. In this paper, a BBD is finally chosen and the values of the welding process parameters at different levels are tabulated in Table 2.

Table 2 Welding process parameters at different levels

The levels \(-\)1, 0, 1 in Table 2 are known as coded variables in the RSM, which are dimensionless, zero mean and the same standard deviation. Coded value of the variable welding time \((T)\, z_1\) is defined as (Muthukumar et al. 2003)

$$\begin{aligned} z_1 =(T-z_0 )/\Delta z \end{aligned}$$
(1)

where \(z_1\) is the coded value of welding time, \(z_0\) is the value of \(T\) at the center point, \(\Delta z\) is the step change of \(T\), so as the welding current (\(I\)) and electrode force (\(F\)).

The number of experiments (\(N\)) required for the development of BBD is defined as (Ferreira et al. 2007):

$$\begin{aligned} N=2q(q-1)+C_0 \end{aligned}$$
(2)

where \(q\) is number of factors and \(C_0\) is the number of central points. In this paper, three factors (welding time, welding current and electrode force) are considered while \(C_0 =5\). The BBD can be viewed as consisting of three interlocking \(2^{2}\) factorial design and a central point (Souza et al. 2005; Aslan and Cebeci 2007), as shown in Fig. 3. The numbers in Fig. 3 are the experimental serial number conducted in this research; \(z_1, z_2 \) and \(z_3 \) are respectively coded welding time, welding current and electrode force.

Fig. 3
figure 3

The three-factorial Box–Behnken experimental design

After welding, tensile-shearing tests are carried out on a universal tensile testing machine with the tension speed of 1 mm/min. Nugget diameter is determined from the fractured faying surfaces of tensile-shear testing. The failure energy is extracted from the load-displacement curve and its value equals the curve area. As one of the most important factors governing the mechanical performance of resistance spot welds, penetration rate \(A\) is calculated according to the following formula:

$$\begin{aligned} A=h/(\delta -c)\times 100\,\% \end{aligned}$$
(3)

where \(h\) is the semiminor axis of the nugget; \(\delta \) is the thickness of the plates to be welded; \(c\) is the indentation depth and \(D\) is the nugget diameter, as presented in Fig. 4. Table 3 illustrates the results of the experiments. The numbers in the brackets are the corresponding coded values of welding parameters. \(T, I, F\) respectively represents welding time, welding current and electrode force.

Fig. 4
figure 4

Geometric morphology of the nugget

Table 3 Experimental results based on Box–Behnken design

Analysis methods and corresponding procedures

Signal-to-noise ratio

As one of the simple and effective solutions for parameter design and experimental planning approach, signal-to-noise (S/N) ratio (Dubey and Yadava 2008) is employed to represent the welding performance characteristic in this study. There are three categories of the quality characteristics in the analysis of S/N ratio—the lower the better, the higher the better and the nominal the better.

The desired observed value of a lower-the-better characteristic is zero (Antony 2000). Examples include tool wear, noise level in automotive engines, response time to customer complaints, shrinkage porosity, warp and surface roughness (Antony 2000). The S/N ratio with a lower-the-better characteristic can be expressed as:

$$\begin{aligned} x_i =-10\log \left(\frac{1}{n}\sum _{j=1}^n {y_{ij}^2} \right) \end{aligned}$$
(4)

where \(x_i\) is the S/N ratio; \(y_{ij}\) is the \(i\)th quality characteristic value at the \(j\)th test \((i=1,2,\ldots ,m;j=1,2,\ldots ,n)\).

The larger-the-better response is generally employed when the objective of the experiment is to maximize the response value provided that it is within acceptable limits. Examples include strength, efficiency, miles/gallon of an automobile, corrosion resistance, product or component reliability, product life and so on (Antony 2000). The S/N ratio with a higher-the-better characteristic can be expressed as:

$$\begin{aligned} x_i =-10\log \left(\frac{1}{n}\sum _{j=1}^n {\frac{1}{y_{ij}^2 }}\right) \end{aligned}$$
(5)

The nominal the better characteristic is recommended when the experimental objective is to achieve a target response value and a minimal variability around the target. Instances include dimensions (width, thickness, height, etc.), force, pressure, viscosity, resistance, voltage, current, capacitance and so on (Antony 2000). The S/N ratio with the nominal the better characteristic can be expressed as:

$$\begin{aligned} x_i =10\log \left(\frac{\overline{y} _i^2 }{\sigma _i^2 }-\frac{1}{n}\right) \end{aligned}$$
(6)

where \(\overline{y_i } =\sum _{j=1}^n {y_{ij} }/n\) is the \(i\)th average quality characteristic experimental value; \(\sigma _i^2 =\frac{1}{n-1}\sum _{j=1}^n {(y_{ij} -\overline{y_i } )^{2}}\) is the corresponding deviation and mn is the total number of the tests.

In this study, the penetration rate, tensile shear load and the failure energy are the higher the better characteristics; while the weld nugget size is the nominal the better characteristic. The S/N ratios for each experiment number are summarized in Table 4. The S/N ratios of penetration rate, tensile shear load and the failure energy in Table 4 are calculated from Eq. (5), and the S/N ratios of weld nugget size is obtained according to Eq. (6).

Table 4 The sequences of S/N ratios

Principal component analysis

As an effective statistical technique, PCA is used in data compressing and statistical features extracting by means of eliminating the overlapping information of the samples, which changes high dimension into low dimension without much loss of information. The PCA method involves several procedures, as shown below (Fung and Kang 2005):

  1. 1.

    The original multiple quality characteristic array

$$\begin{aligned} X=\left( {{\begin{array}{lll} {x_1 (1)}&\ldots&{x_1 (n)} \\ \vdots&\ddots&\vdots \\ {x_m (1)}&\cdots&{x_m (n)} \\ \end{array} }} \right) \end{aligned}$$
(7)

where \(m\) is the number of experiment and \(n\) is the number of the quality characteristic. In this paper, \(x\) is the S/N ratio of each quality characteristics and \(m=17, n=4\).

  1. 2.

    Normalizing the response

The S/N ratio of each quality characteristic is normalized using the following formula to get rid of the differences between units.

$$\begin{aligned}&x_i (j)^{*}=\frac{x_i (j)-x_i (j)^{-}}{x_i (j)^{+}-x_i (j)^{-}}\end{aligned}$$
(8)
$$\begin{aligned}&X^{*}=\left( {{\begin{array}{lll} {x_1 (1)^{*}}&\ldots&{x_1 (n)^{*}} \\ \vdots&\ddots&\vdots \\ {x_m (1)^{*}}&\cdots&{x_m (n)^{*}} \\ \end{array} }} \right) \end{aligned}$$
(9)

where \(x_i (j)^{*}\) is the normalized response, \(x_i (j)^{+}\) is the maximum of \(x_i (j)\), and \(x_i (j)^{-}\) is the minimum of \(x_i (j)\).

  1. 3.

    Correlation coefficient array

The correlation coefficient array is evaluated as follows:

$$\begin{aligned} R_{kl}&= \frac{Cov(x_i (k)^{*},x_i (l)^{*})}{\sqrt{Var(x_i (k)^{*})Var(x_i (l)^{*})}}\nonumber \\&\quad (k=1,2,3,\ldots ,n;l=1,2,3,\ldots ,n) \end{aligned}$$
(10)

where \(Cov(x_i (k)^{*},x_i (l)^{*})\) is the covariance of sequences \(x_i (k)^{*}\) and \(x_i (l)^{*}, Var(x_i (k)^{*})\) is the variance of sequence \(x_i (k)^{*}\) and \(Var(x_i (l)^{*})\) is the variance of sequence \(x_i (l)^{*}\), which represent the measures of quality characteristics \(k\) and \(l\).

  1. 4.

    Determining the eigenvalues and eigenvectors

The eigenvalues and eigenvectors are determined from the correlation coefficient array,

$$\begin{aligned} (R-\lambda _k I_m )V_{ik} =0 \end{aligned}$$
(11)

where \(R\) is the matrix form of \(R_{kl};\lambda _k\) is the \(k\)th eigenvalue and \(\sum _{k=1}^n {\lambda _k \!=\!n,k=1,2,\ldots ,n;} \quad V_{ik} =[a_{k1} a_{k2} \cdots a_{kn} ]^{T}\) is the eigenvector corresponding to the eigenvalue \(\lambda _k\).

  1. 5.

    Principal component scores

The principal component score \(PCS_i (k)\) corresponding to each trial condition is formulated as:

$$\begin{aligned} PCS_i (k)&= \sum _{j=1}^n {x_i (j)^{*}\cdot V_{jk} }\nonumber \\&\quad (i=1,2,\ldots ,m; \quad k=1,2,\ldots ,n) \end{aligned}$$
(12)

where \(PCS_i (k)\) is the principal component score of the \(i\)th trial run in the \(k\)th quality characteristic, \(x_i (j)^{*}\) is the corresponding normalized response, \(V_{jk}\) is the eigenvector corresponding to the eigenvalue \(\lambda _k, PCS\) is the matrix form of \(PCS_i (k)\) and \(PCS=[PCS(1),PCS(2),\ldots ,PCS(n)]\).

  1. 6.

    Evaluating the contribution rate and accumulating contribution rate of each principal component

$$\begin{aligned}&AP_k =\frac{\lambda _k }{\sum _{k=1}^n {\lambda _k } }\quad {(k=1,2,\ldots ,n)} \end{aligned}$$
(13)
$$\begin{aligned}&AAP_k =\frac{\sum _{j=1}^k {\lambda _k } }{\sum _{k=1}^n {\lambda _k }}\quad {(k=1,2,\ldots ,n)} \end{aligned}$$
(14)

where \(AP_k\) is the contribution rate, which explains the degree of the variation of the \(k\)th principal component. \(AAP_k \) is the accumulation contribution rate. In general, we select the top \(p\) \((p<n)\) factors whose cumulative contribution of variance accounts to 85–95 %.

Table 5 manifests that the first two principal components (PC(1) and PC(2)) represent 99.52 % of the variation in the responses. PC(1) is able to explain about 83.22 % of the total variation. Based on these statistical tests and indices, it might be postulated that only the first two principal component scores can be chosen to form the composite welding quality index (CWQI). The comprehensive index is defined as the sum of the products of the first two principle component scores multiplied by their corresponding eigenvalues. \(CWQI=\sum _{k=1}^2 {\lambda _k PCS(k)}\) represents the original four welding quality indices and accounts for most of the variance in the original responses, as shown in Table 6. It is desirable to have a high CWQI. Through PCA, we synthesize four criteria, eliminate information overlapping of the sample, and reduce the dimension of welding quality indices.

Table 5 Principal component analysis of the original S/N ratio responses
Table 6 Four principal component scores and the composite welding quality index

Response surface methodology

RSM is a collection of statistical and mathematical method comprising of an experimental design for a polynomial mathematical model between the input variables and output variables, the statistical modeling quantifying the relationships between the controllable input parameters and output variables (Beal et al. 2006), and the optimization of the response variables influenced by various process parameters, which are useful for the modeling and analyzing engineering problems. It is assumed that the independent input variables are continuous and controllable by experiments with negligible errors. By using the results of a numerical experiment in the points of BBD, response surface analysis is much less computationally expensive than conventional solution using the original method (Raissi and Farsani 2009). It is required to find a suitable approximation for the true functional relationship between independent variables and the response surface.

Generally, the relationship between the response variable \(y\) and the predictor variables (\(x_1,x_2,\ldots ,x_n \)) may be known exactly as a description (Lai et al. 2009):

$$\begin{aligned} y=f(x_1,x_2,\ldots ,x_n )+\varepsilon \end{aligned}$$
(15)

where \(\varepsilon \) is model error and includes measurement error and other variability.

In this study, \(f(x_1,x_2,\ldots ,x_n )\) is a function of the welding parameters such as welding time (\(T\)), welding current (\(I\)), and electrode force (\(F\)), which quantifies the CWQI of spot-welded TC2 titanium alloy. The function can be expressed as:

$$\begin{aligned} f(x_1,x_2,\ldots ,x_n )=g(x_1,x_2,\ldots ,x_n )+\varepsilon \end{aligned}$$
(16)

where \(g(x_1,x_2,\ldots ,x_n )\) is the polynomial of order three or less.

The successful application of RSM relies on the identification of a suitable and precise approximation for \(g(x_1,x_2,\ldots , x_n )\). The second-order polynomial (regression) equation used to represent the function \(g(x_1,x_2,\ldots ,x_n )\) is given by:

$$\begin{aligned} g(x_1,x_2,\ldots ,x_n )&= a_0 +\sum _{i=1}^n a_i x_i +\sum _{i=1}^n a_{ii} x_i^2 \nonumber \\&+\sum _{j\ne i}^n {a_{ij} x_i x_j +\varepsilon } \end{aligned}$$
(17)

where \(x_i\) denotes the coded unit of the input variables, and \(g(x_1,x_2,\ldots ,x_n)\) is the output variable. In addition, \(a_0 \) is the average of the responses and \(a_i,a_{ij},a_{ii} \) are regression coefficients that depend on respective linear, interaction, and squared terms of factors, which are obtained from the experimental result data using least square method.

The Design Expert Software is employed to determine the regression coefficients and analysis of variance (ANOVA) with all factors and their respective values is also performed, as listed in Table 7. In this study, \(T, I, F, TI, TF, IF, T^{2}\) and \(I^{2}\) are significant factors as the \(P\) values of them are much smaller than 0.05. Correspondingly, the \(P\) value of model term \(F^{2}\) is greater than 0.10 which indicates that it is not significant. Besides, the full quadratic model is also significant since its \(P\) value is below 0.05. The lack of fit F value is 1.65 implying that the lack of fit is insignificant relative to the pure error. There is a 31.22 % chance that a lack of fit F value this large could occur due to noise. Non-significant lack of fit is good—we want the model to fit.

Table 7 ANOVA test results

The fitting degree of the theoretical quadratic polynomial regression model is examined by the determination coefficient, as listed in Table 8. The coefficient of determination \(R^{2}\) is 0.9993 for response, which implies that 99.93 % of experimental data confirm the compatibility with the data predicted by the model and the model can not explain only 0.07 % of the total variations. The \(R^{2}\) value is always between 0 and 1, and its value indicates capability of the model. With regard to a good statistical model, \(R^{2}\) value should be close to 1.0 (Karthikeyan and Balasubramanian 2010). The adjusted \(R^{2}\) value reconfigures the analytic expression with the significant terms. The value of the adjusted determination coefficient (Adjusted \(R^{2}=0.9985\)) is also big enough to support the high significance of the model. The predicted \(R^{2}\) is 0.9938 indicates that the model is able to explain 99.38 % of the variability in predicting completely new experimental data. This is in reasonable agreement with the adjusted \(R^{2}\) of 0.9985. The value of coefficient of variation is as low as 1.58, which reveals that the deviations between experimental and predicted values are low. Adeq precision meant the signal to noise ratio. A ratio greater than 4 is desirable. In this investigation, the ratio is 125.862, which indicates an adequate signal. This model is able to navigate the design space. Figure 5 presents the accuracy of the predicted CWQI and the measured CWQI. The straight line in Fig. 5 is a 45 degree line. The predicted CWQI and the measured CWQI are aligned, which once again favors the robustness and flexibility of the mathematical model.

Table 8 Post-ANOVA statistics
Fig. 5
figure 5

Accuracy of the predicted CWQI and the measured CWQI

As the quadratic factor \(F^{2}\) has little effect on the model (with a \(P\) value of 0.3521), presents low effect, this less significant source can be excluded from the regression analysis. Based on this analysis, the regression coefficients for the estimation of CWQI are decided and the equation of the fitted regression model is achieved as follows:

$$\begin{aligned} CWQI&= -38.09029\!+\!5.61913T\!+\!21.34668I\!-\!0.23115F\nonumber \\&-1.03360TI-0.00637583TF+0.13622IF \nonumber \\&-0.124T^{2}-5.17929I^{2} \end{aligned}$$
(18)

The equation is valid under the following conditions:

$$\begin{aligned}&8\le T\le 12\nonumber \\&1.6\le I\le 2.4\\&76.2\le F\le 127\nonumber \end{aligned}$$
(19)

Accordingly, the regression model with the coded welding parameters is:

$$\begin{aligned} CWQI&= 4.72+0.85z_1 +1.65z_2 -0.57z_3 -0.83z_1 z_2\nonumber \\&-0.32z_1 z_3+1.38z_2 z_3-0.5z_1^2 -0.83z_2^2 \end{aligned}$$
(20)

The equation is valid under the following conditions:

$$\begin{aligned}&-1\le z_1 \le 1\nonumber \\&-1\le z_2 \le 1\\&-1\le z_3 \le 1\nonumber \end{aligned}$$
(21)

where \(z_1 \) is the coded welding time, \(z_2 \) is the coded welding current and \(z_3 \) is the coded electrode force.

Overall results and discussion

Effects of welding parameters on CWQI

Plots of each factor and its effect on CWQI are presented in Figs. 6, 7 and 8. In order to avoid errors, all the factors and interactions must be considered carefully. In each of these graphs, the factors that are not plotted are kept at certain constant values. The figures indicate that all the welding parameters highly affect the CWQI.

Fig. 6
figure 6

Effect of welding current on CWQI

Fig. 7
figure 7

Effect of welding time on CWQI

Fig. 8
figure 8

Effect of electrode force on CWQI

Figure 6 shows the effect of welding current on the CWQI. It can be observed that the CWQI of the spot-welded joint increases with the welding current increasing from 1.6 to 2 kA, then it decreases with further increase of welding (2–2.4 kA). As the welding current increases, the heat generated at the faying surface of the welding plates is increased and therefore the nugget diameter is also increased; which in turn results in higher tensile shear strength of the weld joint. When the welding heat continues to increase, the heating rate of the materials is higher than normal and the materials expand faster. As the welding heat input exceeds a certain value, expulsion is prone to occur, which leads to the eruption of the molten metal from the nugget during welding. The occurrence of expulsion would reduce the welding surface quality, affect its corrosion resistance, mechanical properties and fatigue strength, shorten the electrode service life (Senkara et al. 2004), which should be avoided.

Different CWQI with the welding time varying from 8 to 12 ms are presented in Fig. 7. From the figure we can see that as welding time gets longer, the CWQI of the weld bond first increases from 4.43 to 5.47 then decreases with further increase of welding time. According to the joule law (\(Q=I^{2}Rt\)), longer welding time indicates larger welding heat input, which means that the nugget grows adequately and the mechanical properties of the joints increases. Nevertheless, welding time longer than a certain value is unacceptable, especially with larger current. Overlong welding time combining with larger current leads mechanical collapse surrounding the weld nugget, which reduces the CWQI. From what has been mentioned above, effect of welding time on the welding quality is similar to that of welding current.

Figure 8 examines the effect of electrode force on CWQI visually. As electrode force increases, the CWQI get reduced. This variation is due to the fact that the electrode force causes the faying surface collapse and changes the contact area, which in turn changes the contact resistance. As the electrode force increases, a larger metallic contact area will be generated and this leads to a lower contact resistance at the faying surface. Consequently, the heat generation at the interface is reduced and the nugget diameter is smaller compared with lower electrode force. In addition, the electrode force affects the weld current thresholds for nugget initiation in SSRSW; that is to say, as the electrode force increases, the minimum critical welding current needed to form the welding nugget is correspondingly lower and vice versa. It should be pointed out that the electrode force must be high enough to produce a comparatively acceptable nugget, but still low enough to deform of the faying surface asperities without metal expulsion or electrode sticking; as the basic process of expulsion can be described by the interaction between the forces from the liquid nugget and its surrounding solid containment (Senkara et al. 2004).

The extent of the process parameters impact of the CWQI can be ranked from their respective F ratio values (Lakshiminarayanan and Balasubramanian 2009) as well as the regression coefficients in Eq. (20). As the degrees of freedom of all the input parameters are identical, a higher F ratio value implies that the corresponding factor is more significant than others and vice versa. From the F ratio values listed in Table 7, it can be seen that welding current contributes more on CWQI, followed by welding time and electrode force for the range considered in this investigation.

Interaction effect of welding parameters

Contour plot plays a very important role in the study of a response surface. To reveal the interaction effects of welding parameters on CWQI and find the optimized combination of the welding process parameters of CWQI, the contour plots are presented in Figs. 9, 10 and 11. The contour plots are obtained through setting one parameter as a certain constant value while the other two variables vary in the range considered in this paper. The values in the boxes of Figs. 9, 10 and 11 are different CWQI with different welding parameters.

Fig. 9
figure 9

Contour plots with the electrode force kept at 101.6 N

Fig. 10
figure 10

Contour plots with the welding time kept at 10ms

Fig. 11
figure 11

Contour plots with the welding current kept at 2.4 kA

Figures 9, 10 and 11 respectively reveals the interaction effects of three welding process parameters on the welding quality. The contours indicate that the optimal welding can be achieved under relatively higher welding current companying with larger electrode force. When the electrode pressure is constant, it is beneficial to employ larger welding current and appropriate welding time; the welding time should not be too large, otherwise it may result in expulsion, but also not too small, or the nugget grows limitedly, fails to reach its maximum mechanical properties. Thus it can be seen that the specific combination of welding process parameters may target a certain given welding quality index. The contour maps of different welding qualities with various combinations of welding process parameters could provide a guidance opinion to constitute process scheme based on production requirements.

From the F ratio values listed in Table 7 as well as the regression coefficients in Eq. (20). It can be concluded that the interaction effect between welding current and electrode force (IF) affects more significantly on welding quality as compared to that of interactions between welding current and welding time (TI) and welding time and electrode force (TF).

Optimizing design and experimental verification

Generally speaking, as for multi-response performance optimization problem, each response variable value must be computed and the factor/interaction effects which significantly influence the multi-response performance must be considered. However, in this investigation the multi-response performance statistic can be treated as an individual response after a series of pretreatment described previously.

In order to optimize the response, the desirability function (Islam et al. 2009) is employed using Design Expert software version 8.0.6. There are many methods available to optimize a process. In this work, numerical optimization is chosen (Hameed et al. 2009). Numerical optimization presents a comprehensive and up-to-date description of the most effective methods in continuous optimization. The value of desirability function is always between 0 and 1. With regard to the optimal welding parameters, it should be as large as possible. The goal seeking begins at a random starting point and proceeds up the steepest slope to a maximum. There may be two or more maximums because of curvature in the response surfaces and their combination into the desirability function. By starting from several points in the design space chances improve for finding the “best” local maximum (Olmez 2009).

For the sake of getting the global optimal parameters, the optimal combination of welding parameters is the one yielding the maximum desirability function value together with the biggest CWQI value and the variables of welding time, welding current and electrode force are selected to be within the range considered in this paper, as shown in Table 9. The maximum achievable CWQI value is found to be 6.40474 through response surface analysis. The corresponding parameters that yield this maximum value are respectively welding time of 9.39 ms, welding current of 2.4 kA, and electrode force of 127 N.

Table 9 Different welding parameters with different desirability function values

The confirmation experiment is a crucial step to verify the feasibility and reproducibility of the experimental conclusions. If the confirmatory experiment results are persuasive, the proposed method is effective and significant in a specific productive field. On the other hand, if unsatisfactory results are obtained, further investigation of the problem may be required. The verification test is implemented with a specific combination of the factors previously evaluated. In this study, after determining the optimum conditions and predicting the response under these conditions, tests are carried out with the optimal welding parameters to determine the nugget diameter, penetration rate, shear strength and failure energy. The macrograph of failure characteristic of the welded sample with the optimal welding parameters is presented in Fig. 12. It can be seen that the failure mode of the welded joint is pullout failure. Failure mode has a significant influence on the peak load and failure energy of the spot welds and a pullout failure mode is most desirable (Hernandez et al. 2008). Figure 13 gives the tensile-shearing curve of the specimen joined at the predetermined welding time, welding current and electrode force. The shear strength is about 2,450 N and the failure energy is 2.96 J. The experimental results presented in Table 10 are encouragingly satisfactory, which proves that the parameter combination obtained by the proposed approach performs well for multi-quality characteristic optimization problem.

Fig. 12
figure 12

The failure characteristic of the welded sample with the optimum welding parameters

Fig. 13
figure 13

The tensile-shearing curve of the specimen joined with the optimum welding parameters

Table 10 Results of the confirmation experiment

Conclusions

This work presents a multi-objective optimization technique based on PCA and RSM to study a SSRSW process with four correlated responses. First a Box–Behnken experimental designs which require smaller number of experiments is chosen and the corresponding nugget diameter, penetration rate, shears strength and failure energy are obtained. Then the four observed values are transformed into the welding performance characteristics through signal-to-noise (S/N) ratio. The first two principal component scores are chosen to form the CWQI after PCA, which converts the multi-response performance statistics into an individual response value. A regression model is obtained from the experimental data to quantify the relationship between the input variables (welding current, welding time and welding force) and the output variable (CWQI) which is a converged by the principal component scores using the first and second eigenvalues as weights. The variance of each principal component is taken as the weight to obtain the CQWI, which eliminates drawbacks of man-made subjectivism. The contour plots are displayed and the effects of welding parameters on CWQI are also discussed. Larger electrode force together with appropriate welding time and welding current is desirable. Though all the three input variables affect the CWQI, analysis of variance indicates that welding current contributes more on CWQI, followed by welding time and electrode force. In order to avoid the possibility that the optimal parameters are not global within the range considered in this paper, the optimal combination of welding parameters is the one yielding the maximum desirability function value together with the biggest CWQI value. The result of verification test which is performed with overall optimum welding parameters determined through the response surface method proves that the proposed approach is effective and feasible for a SSRSW process, which might be used as a valuable reference for optimizing and promoting welding quality of SSRSW in a mass production line.

The proposed approach for multi-quality characteristic optimization problem would perform well in some other relevant field so long as all of the responses of the multi-response problem are not independent of each other. The only thing we should do is to select the significant and controllable factors and obtain the new correlative responses through experiments when dealing with process optimization problems of this sort. The correlation coefficient can be calculated for checking the relationship between the performance indicators.