1 Introduction

Magnesium (Mg) alloys are used for selected aerospace structural applications due to their specific strength [1,2,3]. The manufacturing, maintenance, and repair of components made from Mg alloys require the use of welding processes that maximize strength at low structural distortion. Unfortunately, the repair of Mg alloys using conventional welding processes (tungsten inert gas welding (TIG) and gas metal arc welding (GMAW)) is very challenging. Mg alloys possess physical properties that make them highly susceptible to the formation of weld defects and oxides and excessive geometrical distortion, which become detrimental to the quality of welds produced. In addition, conventional welding processes do not offer sufficient repeatability, post-weld strength, or control of distortion to meet stringent aerospace acceptance standards with minimal post-weld heat treatment. Consequently, weld behavior studies in aerospace Mg alloys continue to be a subject of rigorous research.

Fronius developed a relatively new and advanced fusion welding technology—cold metal transfer (CMT)—as a revolutionary alternative to the conventional welding technologies. The CMT technology is a digital, microprocessor-controlled welding process that differs from the traditional GMAW by using electrode short circuit and precise control of filler wire for material transfer. Lorenzin and Rutili [4] provided some description of the operating principle, advantages, limitations, and some applications of the CMT process. The characteristics of the CMT process for cladding aluminum alloy 2024 were reported by Picking et al. [5]. Arc characteristics during dissimilar welding of aluminum to zinc-coated steel were studied and reported by Zhang et al. [6]. Egerland and Helmholdt [7] discussed some benefits of using CMT for overlaying components of waste incinerators. Wang et al. [8] discussed some aspects of microstructural developments in Al-Mg dissimilar CMT welds. Mechanical and microstructural characteristics of CMT welds in 6061 aluminum during post-weld heat treatment were also studied [9]. The CMT process was evaluated and used for dissimilar joining and weld brazing of pure titanium to an Mg alloy [10]. In addition, the CMT process has been considered as an additive manufacturing variant that is based on arc wire technology [11,12,13,14]. The CMT process is particularly known for the production of low heat input welds and low dilution of filler materials with the base alloy, with advantages including low structural distortion and low residual stresses.

In CMT welding, a molten droplet is produced on the end of the filler wire during the arcing phase. After a predetermined duration of time, the filler wire electrode is fed forward such that the molten droplet is caused to make contact with the base alloy, resulting in a short circuit that shortly extinguishes the arc. After a set time lapse, the filler wire electrode is caused to mechanically retract, thereby leaving the molten droplet in the weld pool. Material transfer occurs at significantly low current and voltage values (low power) due to the short circuit. The arc reignites during the rearward motion of the filler wire electrode. This cycle repeats approximately every 11 ms in the standard CMT process.

Although the CMT technology revolutionized how fusion welding is done, process development will continue to be material- and application-dependent. The choice of welding variables is unique for material types and sizes, weld design and geometry, and other application-specific requirements. Therefore, selection of welding variables for process development and optimization must be done using a proven and reliable method. Design of experiment (DOE) provides a scientific/statistical approach for evaluating process variables. Many DOE methods are based on the full factorial design, which is not developed to account for the effects of curvature [15,16,17]. However, DOE methods that account for linear, interaction, and quadratic effects are more accurate and more desirable. DOE methods that account for response surfaces as part of the initial design have an advantage of possible reduction in the number of experiments required for establishing relationships between input and output parameters [18, 19].

In addition to interaction and quadratic effects, the ultimate goal of DOE is not limited to understanding relationships between variables but progressing toward process optimization. Suthkar et al. [20] studied the relationships between laser welding input parameters (laser power density, welding speed, beam angle, and shielding gas flow rate) and output variables (bead width, weld penetration, and aspect ratio). They used a response surface methodology to predict limits of welding process parameters. Wang et al. [21] discussed an approach for multi-response optimization with considerations for the robustness of the variables. Kim and Lee [22] used gray relational approach to optimize welding parameters for laser-arc hybrid welding of an aluminum alloy and compared their results with those obtained from Taguchi methods. The current authors and other researchers have also used artificial neural network models for predicting output parameters during welding processes [23, 24]. Nevertheless, a method combining DOE with a multi-response process optimization [25] provides a gateway for an efficient and reliable solution to optimization problems.

In this present work, a design of experiment (DOE) method based on a rotatable 3D central composite design (CCD) was used to systematically establish relationships between independent welding variables and the resultant output variables of the pulsed CMT (CMT+P) process. A multiple response desirability function approach was then used for process optimization. This work has a specific application in the use of the CMT welding process for the repair of gearbox housing made from Mg alloy ZE41A-T5. A detailed discussion on the research methodology and the results are provided in this manuscript.

2 Material and methods

2.1 Materials preparation and CMT welding

Cast Mg alloy ZE41 with a nominal composition of (weight percent) 4.3 Zn, 0.8 Zr, 0.7 Ce, 1.2 RE (rare earth elements), and balance Mg was received in the artificially aged T5 condition. The materials were machined into welding coupons having dimensions of 150 mm × 50 mm × 12.5 mm. Grooves 10 mm wide and 1.8 mm deep were machined on the coupons. The welding filler used in this work was made of AZ61 alloy received in the form of cut length welding rods of 1.2 mm diameter. Welds were produced on the coupons using a robotic Fronius CMT welding system at the Centre for Aerospace Technology and Training (CATT), Winnipeg, Canada. The CMT welding system was automated by a 6-axis Yaskawa Motoman robot and operated in the pulsed CMT (CMT+P) mode. The weld path and speed were controlled by the robot, while other welding parameters were controlled through the remote control unit (RCU) and the synergic lines of the CMT system. After welding, the coupons were sectioned transverse to the welding direction using a Hansvedt DS-2 traveling wire electrical discharge machine. Three sections were selected from each of the welding coupons and prepared using standard metallographic procedure (ASTM E3-11). Geometrical and microstructural characteristics of the welds were analyzed using a Nikon SMZ800 optical microscope and a Nikon Eclipse MA100 inverted optical microscope both equipped with NIS Element D imaging software.

2.2 The central composite design

DOE was used to systematically establish relationships between welding parameters (independent variable or factors) and the output parameters (dependent or response variables) of the CMT+P process. For a set of measurable and controllable independent variables xi, the response variable Y can be expressed as:

$$ Y=f\left({x}_1,{x}_2,{x}_3,..........,{x}_k\right) $$
(1)

The DOE approach used for this work includes a rotatable central composite design (CCD). Each CCD consists of a minimum of 20 experimental runs with factors varying up to 5 levels. There were 8 corner points and 6 center points. The 3D design space for the 3-factor CCD is shown in Fig. 1.

$$ \alpha ={\left[{2}^k\right]}^{1/4} $$
(2)

where k is the number of factors. For the 3-factor CCD, α = 1.682.

Fig. 1
figure 1

The design space for the 5-level central composite design

Table 1 contains the independent variables (factors)—travel speed, v; wire feed rate, r; and the pulse correction factor, pc. Both the coded and actual levels for the factors are presented in the table. The full design table is presented in Section 3.

Table 1 Variables and levels for the CMT+P process

Mathematical models based on second-order polynomial were developed for predicting the responses. The models are of the form

$$ Y={\beta}_0+\sum \limits_{i=1}^k{\beta}_i{x}_i+\sum \limits_{i=1}^k{\beta}_{ii}{x}_i^2+\sum \limits_i\sum \limits_j{\beta}_{ij}{x}_i{x}_j+\varepsilon $$
(3)

where β0 is constant and βi, βii, and βij are linear, quadratic, and interaction coefficients, respectively. ε is the residual error. The DOE and statistical analysis including analysis of variance (ANOVA), response surface plots, and regression analysis were carried out using Minitab 17 statistical analysis software.

2.3 Approach for process optimization

Process optimization was conducted using the desirability function approach. In this approach, each response, Yi, is transformed to a desirability function, di, using a set of conditions. The function di was defined such that

$$ 0\le {d}_i\le 1 $$
(4)

An increasing value of di implies an increasing value of the desirability of the corresponding response Yi. In order to maximize the overall desirability for multiple responses, the geometric mean of di was calculated using

$$ D={\left({\prod}_{i=1}^n{d}_i\right)}^{\raisebox{1ex}{$1$}\!\left/ \!\raisebox{-1ex}{$n$}\right.} $$
(5)

where n is the number of responses. The conditions for determining di are defined as follows, where Li and Ui are the lower and upper specification limits, respectively, and Ti is the target value. w is the weight of the individual desirability function, which was taken as 1 in this work.

Case 1. Larger value of Yi is desired: In this case, the target Ti is a maximum value.

$$ {d}_i=\left\{\begin{array}{c}0\kern8em {Y}_i<{L}_i\\ {}{\left\langle \frac{Y_i-{L}_i}{T_i-{L}_i}\right\rangle}^w\kern1.25em {L}_i\le {Y}_i\le {T}_i\ \\ {}1\kern8.25em {Y}_i>{T}_i\end{array}\right. $$

Case 2. Lower value of Yi is desired: Ti is a minimum value.

$$ {d}_i=\left\{\begin{array}{c}1\kern8em {Y}_i<{T}_i\ \\ {}{\left\langle \frac{U_i-{Y}_i}{U_i-{T}_i}\right\rangle}^w\kern1.25em {T}_i\le {Y}_i\le {U}_i\kern0.5em \\ {}0\kern7.75em {Y}_i>{U}_i.\end{array}\right. $$

Case 3. Yi should be as close as possible to the target: Ti is somewhere between Li and Ui.

$$ {d}_i=\left\{\begin{array}{c}0\kern7.75em {Y}_i<{L}_i\\ {}{\left\langle \frac{Y_i-{L}_i}{T_i-{L}_i}\right\rangle}^w\kern1.25em {L}_i\le {Y}_i\le {T}_i\\ {}{\left\langle \frac{U_i-{Y}_i}{U_i-{T}_i}\right\rangle}^w\kern1.25em {T}_i\le {Y}_i\le {U}_i\\ {}0\kern7.75em {Y}_i>{U}_i\end{array}\right. $$

The desirability function di and the overall desirability D were calculated for the experiments. Up to 10 possible solutions of the optimized parameters were generated, and the best set of solutions was selected. Minitab 17 statistical analysis software was used. The responses studied and optimized in this work include the specified penetration depth for the aerospace application of interest (repair of gear box housing) and the level of underfill based on the welding standard AWS D17.1 specifically developed for fusion welding of aerospace alloys.

3 Results and discussion

3.1 Overview of the CMT+P welds

In CMT welding, slower welding speed and higher wire feed speed have a general effect of increasing the amount of energy deposited per unit length of the weld. Higher wire feed speed (higher deposition rate) also provides more material for weld reinforcement. In the pulsed synergic CMT welding (CMT+P) mode used in this work, the pulse correction factor, pc, is usually used to influence droplet detachment force [26]. When the setting is at 0, the droplet detachment force equals a value preprogrammed for the particular synergic line. In this case, the weld behavior is controlled by the wire feed speed and the welding (travel) speed in the absence of other forms of correction factors. Adjusting the pulse correction from − 5 to + 5 creates some deviation from the preprogrammed detachment force, where lower values result in higher pulse frequency, better wetting, and smaller droplets, while higher values result in lower pulse frequency, deeper penetration, and bigger droplets. In particular, less pulses per second (lower frequency), higher current, and higher droplet detachment force characterize + 5 pulse correction, while more pulses per second (higher frequency), lower current, and lower droplet detachment force characterize − 5 pulse correction.

Figure 2 a and b show CMT+P welds in the ZE41A-T5 alloy. These welds were made with welding (travel) speed of 9.6 mm/s and 13.5 mm/s, wire feed speed of 14.4 m/min and 12.0 m/min, and pulse correction factor of − 3 and − 5, respectively. While the weld in Fig. 2a showed a relatively deep penetration with substantial weld reinforcement and no visible weld defects (such as porosity, cracking, undercut, underfill, and lack of fusion), the weld in Fig. 2b was relatively shallow with an underfill clearly visible. The parameters used for the weld in Fig. 2a favor higher heat input, deeper penetration, better weld reinforcement, and complete fusion. The design table and the measured responses of the CMT+P welding of the ZE41A-T5 alloy are presented in Table 2. Results from the DOE analysis of the process variables are discussed next.

Fig. 2
figure 2

CMT+P welds in ZE41A-T5 showing a a defect-free relatively deep penetration weld and b a relatively shallow weld with an underfill

Table 2 Design table for factors and responses of CMT+P process

3.2 Mathematical models, analysis of variance (ANOVA), and response surfaces

Mathematical models based on second-order polynomial and ANOVA were developed for the output (dependent) variables. As discussed earlier, the selected output variables studied and optimized in this work include the specified penetration depth, Y1, for the aerospace application of interest (repair of gear box housing) and the level of underfill, Y2, based on the aerospace fusion welding standard AWS D17.1. ANOVA for Y1 and Y2 are presented in Tables 3 and 4, respectively. In the ANOVA, DF is the degrees of freedom. SS is the sum of squares. The mean square, MS, is given by SS/DF. The ratio of the MS for the model and the residual (error) is given by the F value. P is the probability used to test the hypothesis at 95% confidence level. A value of P less than 0.05 would indicate that the factor or source (linear, quadratic, or interaction) is significant. The standard deviation of the error, S, and the coefficient of determination, R2, are also provided. A significantly small value of S indicates the extent to which the model fits experimental data. R2 is a measure of the percentage of variability explained by the model and is given by

$$ {R}^2=\left(1-\frac{\mathrm{Error}\ \mathrm{SS}}{\mathrm{Total}\ \mathrm{SS}}\right)\times 100\% $$
(6)

where R2 values closer to 100% are desirable.

Table 3 Analysis of variance (ANOVA) for response Y1
Table 4 Analysis of variance (ANOVA) for response Y2

DOE analysis of the results in Table 2 and ANOVA for Y1 and Y2 yield the final regression (Eqs. 7 and 8).

$$ {Y}_1=-0.24+0.085\ v+0.378\ r+0.597\ pc-0.00408\ {v}^2-0.00630\ {r}^2-0.00830\ {pc}^2-0.00077\ v\ast r-0.01229\ v\ast pc-0.0289\ r\ast pc $$
(7)
$$ {Y}_2=2.35-0.0178\ v-0.348\ r-0.0030\ pc+0.00377\ {v}^2+0.01470\ {r}^2+0.00301\ {pc}^2-0.00416\ v\ast r-0.00327\ v\ast pc+0.00284\ r\ast pc $$
(8)

The model for Y1 explains 92.39% of variability in the data. At 95% confidence level, the linear sources v (welding speed), r (wire feed speed), and pc (pulse correction factor) are significant. The quadratic (square) terms in the model for Y1 are insignificant. ANOVA for Y1 also suggests that the interaction sources are generally significant, although only r*pc has a P value less than 0.05. It was observed that the depth of penetration, Y1, strongly depends on the linear sources and the interaction between the wire feed speed and the pulse correction factor. In particular, the wire feed speed, r, has the most contribution to Y1 in the CMT+P process, accounting for 62.77% of the total contributions. According to the statistics, the lack-of-fit for Y1 is insignificant but still contributes up to 6.39%.

At 95% confidence level, the linear sources v and r were found to be significant in the model for Y2 (Table 4). Only one of the quadratic terms of Y2, that is, r2, was found to be significant. The interaction sources have minimal effect in the model for Y2. We could say that the amount of underfill, Y2, depends strongly on v, r, and r2, with each accounting for 31.86%, 27.97%, and 12.69% of the total contributions, respectively. The lack-of-fit contributed 13.49%. The model for Y2 accounts for 84.44% of the variability in the data.

Figure 3 shows the response surfaces for Y1. As mentioned earlier, lower v and higher r have the effect of increasing the amount of energy deposited per unit length of the weld, consequently resulting in deeper penetration. Consistent with results from ANOVA, r has the most effect in determining the depth of penetration during the CMT+P welding. For a fixed value of pc, Y1 changed significantly with r, compared with v. Similarly, for a fixed v, Y1 changed significantly with r, compared with pc. The pulse correction factor, pc, also appears to have more significant effect on Y1, compared with v. Overall, Fig. 3 suggests somewhat minimal effect of curvature on the results. There was no minimum or maximum observed for either of the two output parameters.

Fig. 3
figure 3

Response surface plots of the CMT+P process for Y1a travel speed (v) versus wire feed rate (r) at pulse correction factor (pc) = 0, b travel speed (v) versus pulse correction factor (pc) at wire feed rate (r) = 12 m/min, and c wire feed rate (r) versus pulse correction factor (pc) at travel speed (v) = 13.5 mm/s

The response surfaces for Y2 (Fig. 4) reveal higher degrees of curvature. Y2 has a minimum at a relatively higher value of the wire feed speed, r. Observation of changes in the direction of the value of an output parameter as a particular factor is monotonously changed has been regarded as one of the major achievements of DOE [18]. The response surfaces show that increasing r would generally result in reduction of underfill. However, there is a value of r (for a given set of other independent variables) at which this trend would reverse (Fig. 4a, c). The degree of curvature in Y2 as a result of v and pc was not as prominent as that of r.

Fig. 4
figure 4

Response surface plots of the CMT+P process for Y2a travel speed (v) versus wire feed rate (r) at pulse correction factor (pc) = 0, b travel speed (v) versus pulse correction factor (pc) at wire feed rate (r) = 12 m/min, and c wire feed rate (r) versus pulse correction factor (pc) at travel speed (v) = 13.5 mm/s

3.3 The CMT+P process optimization

Process optimization involving an interest in multiple responses is known to be common for industry-based engineering problems [27]. The desirability function approach provides a flexible and robust optimization method for multiple responses by using a dimensionless parameter as a measure of overall performance. The process for calculating this dimensionless composite desirability function was presented in Section 2.3.

Table 5 contains the criteria for process optimization. The goal was to set the response Y1 at the target value while minimizing the response Y2. The choice of the target goal for Y1 was based on the aerospace application of interest and was specified by the repair development engineers, where a lower limit of Y1 = 2.30 mm was set to ensure adequate fusion of the weld with the base material. The target for Y2 was set at zero (no defect is desirable), while the upper limit was set at 0.76 mm—the maximum allowable value based on AWS D17.1 class A standard.

Table 5 Process optimization criteria

Minitab 17 statistical analysis software was used to calculate the domain where a combination of the independent variables, v, r, and pc, satisfies the proposed optimization criteria. The individual desirability function, di (obtained by transforming Yi using the conditions in Section 2.3), and the overall (composite) desirability function, D (the geometric mean of Eq. 5), were calculated. Ten possible solutions were generated (Table 6). Solutions 1, 2, and 3 provide the highest composite desirability values. In fact, values of D closer to 1 indicate how well the factor domain satisfies the optimization criteria. These results suggest that solutions 1, 2, and 3 with D values of 0.9981, 0.9955, and 0.9763, respectively, are the more optimal solutions.

Table 6 Factor domains, solutions, and resulting composite desirability, D

In order to verify the reliability of the optimal solutions, a validation experiment was set up using the proposed factor domains in the solutions. It was determined that the factors in solutions 1 and 2 were very close. Two validation experiments were performed at the factor domains v = 7.0 mm/s, r = 12.4 m/min, and pc = − 4.1 and v = 7.0 mm/s, r = 13.0 m/min, and pc = − 5, respectively. The results from the verification experiments are presented in Table 7, showing the modeled and experimental output variables within the process optimization criteria.

Table 7 Results from verification experiments

4 Conclusions

The pulsed cold metal transfer (CMT+P) process was evaluated for the repair of aerospace structural components made from ZE41A-T5 magnesium alloy. A rotatable 3D central composite design (CCD) was used to systematically establish relationships between independent welding variables and the resultant output variables of the CMT+P process. A multiple response desirability function approach was then used for process optimization. The result can be summarized as follows:

  1. 1.

    The CMT+P process produced high-quality welds in the alloy. Welding process variables were established to produce desired weld penetration and weld reinforcement and complete fusion with minimal weld defects.

  2. 2.

    Mathematical models based on second-order polynomial and ANOVA were developed for the output (dependent) variables—depth of penetration, Y1, and the amount of underfill, Y2. The models substantially explained the variability in the experimental data and were useful for predicting the output variables with minimal errors.

  3. 3.

    Response surfaces revealed the degrees of curvature in the output variable data as the independent input variables were monotonously changed.

  4. 4.

    Optimal domains of the independent variables were achieved; where the welds comply with the application-specific (repair of gearbox housing) requirements and acceptable class A weld quality of the aerospace fusion welding standard AWS D17.1.