Next Article in Journal
Sequential Redox Precipitation and Solvent Extraction for Comprehensive Metal Recovery from Spent High Manganese Lithium-Ion Battery
Previous Article in Journal
Cyclic HCP<->FCC Phase Transformation Crystallography in Pure Cobalt
Previous Article in Special Issue
Weld Formation and Characteristics of Hot-Wire Laser Welding in Aluminum Alloy Narrow-Gap Joints
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Reverse Engineering of Laser Welding Process Parameters for Ti6Al4V Alloy Based on Machine Learning

1
Chengdu Aircraft Industrial (Group) Co., Ltd., Chengdu 610073, China
2
Institute of Material, China·Academy of·Engineering Physics, Mianyang 621000, China
3
College of Materials Science and Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 211106, China
*
Author to whom correspondence should be addressed.
Metals 2025, 15(9), 946; https://doi.org/10.3390/met15090946
Submission received: 2 July 2025 / Revised: 10 August 2025 / Accepted: 14 August 2025 / Published: 26 August 2025
(This article belongs to the Special Issue Advanced Laser Welding and Joining of Metallic Materials)

Abstract

The mechanical performance of laser-welded Ti6Al4V alloy joints is governed by multiple process parameters with complex interplay, leading to nonlinear correlations, that complicate the quest for optimal parameters. In this paper, a reverse engineering model for process parameters was developed using backpropagation (BP) neural networks, targeting mechanical properties as the optimization objective for inverse parameter design. The BP neural network was enhanced via differential evolution tuning, achieving significant improvements in both mechanical property prediction and process parameter inversion. The prediction model demonstrated a relative error of approximately 3%, whereas the inverse model exhibited an error of about 6% under varying process conditions. A novel hybrid BP-WC model was then proposed by fusing weight coefficients from both the prediction and inverse models. This model reduced the inverse error of process parameters to 3%, providing a robust framework for efficient parameter optimization in laser welding for Ti6Al4V alloy.

1. Introduction

Ti6Al4V alloy, renowned for its outstanding strength-to-weight ratio, corrosion resistance, and weldability, has been widely employed in the fabrication of aerospace structural components [1]. Laser welding, a technology distinguished by high energy density and precision, plays a crucial role in the fabrication of these components. This is because it can create narrow heat-affected zones and minimize distortion [2]. However, the mechanical performance of laser-welded joints [3,4], encompassing tensile strength [5,6], microhardness [7,8], and fatigue life, is significantly affected by multiple interacting process parameters, such as laser power, welding speed, defocus amount, and wire feeding speed [9,10]. The intricate nonlinear relationship among these parameters and the resulting mechanical properties renders the determination of optimal process conditions through traditional trial-and-error methods arduous. Such methods are not only time-consuming but also material-intensive [11,12].
Forward prediction models have been widely studied in numerous studies to establish correlations between process parameters and weld quality. For example, artificial neural networks (ANNs) [13], especially backpropagation (BP) neural networks, have been utilized to predict microstructural features and mechanical properties based on input parameters [14,15]. Olabi et al. developed an ANN integrated with the Taguchi method to optimize CO2 laser welding parameters, achieving satisfactory prediction accuracy for weld bead geometry [16]. Wang et al. established a Φ-joint strength relationship and a GA-optimized BP neural network (inputs: penetration/width; outputs: welding parameters) with small errors in magnesium–CFRP riveting–welding bonding, offering a new welding quality control method [17]. However, these studies predominantly focused on the forward mapping from process parameters to outcomes, whereas systematic research on reverse engineering, which involves deriving process parameters from target mechanical properties, remains scarce.
The reverse engineering of process parameters holds significant practical importance for engineering applications, with the aim of establishing a reliable mapping from desired mechanical properties to optimal process settings. Previous endeavors in this field have predominantly relied on response surface methods (RSMs) or simple regression models. These methods often exhibit low accuracy when dealing with highly nonlinear relationships. For example, Kumar et al. established regression models to characterize the relationship between process parameters (laser power, welding speed, and defocused position) and output responses (fusion zone width, heat-affected zone size, and fusion zone area) in fiber laser welding of 5 mm thick Ti-6Al-4V alloy [18]. Yacout et al. conducted a study that employed response surface methodology (RSM) to develop mathematical models for predicting the mechanical properties (ultimate tensile strength (UTS) and hardness (HV)) of friction stir-welded AA6082-T6 joints [19].
The dearth of robust reverse engineering models for laser welding process parameters can be attributed to several challenges [20]. Firstly, the bidirectional nonlinear mapping between parameters and properties gives rise to substantial uncertainty, particularly when multiple parameters interact concurrently. Secondly, the absence of an integrated framework that incorporates microstructural features as intermediate variables impedes the interpretability and accuracy of reverse models. Moreover, the inherent noise in experimental data and the complexity of laser welding physics further exacerbate the challenges in the reverse engineering process. Existing BP models for welding optimization primarily focus on forward mapping (process parameters—mechanical properties) and lack adaptability to noisy experimental data. The BP-WC framework introduces a weight correction (WC) mechanism that dynamically adjusts connection weights based on microstructural feature importance (e.g., martensite length), reducing prediction bias caused by uneven data distribution.
This study aims to address the gaps by developing a BP neural network-based reverse engineering model of laser welding process parameters for Ti6Al4V alloy. The specific objectives are as follows: (1) to construct a bidirectional mapping model that integrates “process parameters–microstructure–mechanical properties” to explore the underlying relationships; (2) to optimize the BP neural network via a differential evolution algorithm to enhance the accuracy of mechanical property prediction and process parameter reverse calculation; (3) to develop a novel BP-WC model based on weight coefficients to reduce reverse engineering errors; and (4) to validate the model through experimental tests for different welding gaps, thereby ensuring its feasibility for aerospace applications. By pursuing these objectives through the established models and experimental validations, this research endeavors to provide an efficient and reliable approach for the reverse engineering design of laser welding parameters.

2. Experimental Methods

2.1. Laser Welding Experiments

Ti6Al4V alloy plates with dimensions of 200 mm × 100 mm × 2 mm were utilized in the experiments, and their chemical composition is presented in Table 1. The welding system comprised a 6000 W fiber laser (Wuhan Raycus Fiber Laser Technologies Co., Ltd., Wuhan, China), a KUKA robotic arm (KUKA Industries Automation (China) Co., Ltd., Kunshan, China), a wire feeding system (Corporate name: Panasonic Welding Systems (Tangshan) Co., Ltd., Tangshan, China). This configuration allowed for precise control of process parameters. Fifty-six groups of laser welding experiments were designed based on Latin Hypercube Sampling (LHS) to ensure comprehensive coverage of the multi-parameter space, which is critical for capturing nonlinear relationships between process parameters and outcomes, with detailed parameters listed in Table 2. Laser power (ranging from 1540 to 2200 W, with values including 1540, 1600, 1700, …, 2200 W), welding speed (1.5 to 2.2 m/min, with specific levels of 1.5, 1.6, 1.8, 2.0, 2.1, and 2.2 m/min), defocus amount (0 to 4 mm, with increments of 1 mm: 0, 1, 2, 3, and 4 mm), scanning amplitude (0 to 1.2 mm, with values of 0 and 1.2 mm), wire feeding speed (1.44 to 1.68 m/min, including 1.44, 1.56, 1.6, and 1.68 m/min), and welding gaps (0 to 0.5 mm, with variations of 0, 0.1, 0.2, 0.3, 0.4, and 0.5 mm). The laser welding equipment is shown in Figure 1.
Before conducting laser welding experiments, it is necessary to mechanically polish the plate to remove oxides and impurities on the surface and then wipe the surface with anhydrous ethanol and dry it to prevent moisture on the surface of the plate from affecting the laser welding process.
Additionally, before designing the formal experiment, preliminary experiments on different configurations of the laser wire-filling welding process (including laser autogenous welding, oscillating laser welding, laser wire-filling welding, and oscillating laser wire-filling welding as specific setups) were conducted on Ti6Al4V alloy under different gaps. The results showed that different laser welding processes have different filling capabilities for welding gaps. It is shown that the filling ability of laser welding processes on welding gaps gradually increases in the order of laser autogenous welding, oscillating laser welding, laser wire-filling welding, and oscillating laser wire-filling welding.
The schematic diagrams of the four laser welding processes are shown in Figure 2. According to the preliminary experiment results, when the vibration diameter of the oscillating laser beam was 1.2 mm, and the vibration frequency was 90 Hz, this oscillating laser welding process achieved good weld quality on 2 mm thick Ti6Al4V alloy. Moreover, when conducting wire-filling welding for gaps between 0.2 and 0.5 mm, welded joints with good mechanical properties were obtained by setting wire feeding speeds of 1.44, 1.56, 1.6, and 1.68 m/min.

2.2. Data Collection and Preprocessing

After welding, the specimens were etched with Kroll’s reagent to expose the microstructure, which was subsequently observed via an optical microscope (Nanjing Jiangnan Yongxin Optics Co., Ltd., Nanjing, China). As illustrated in Figure 3, the martensite length and depth-to-width ratio of the weld fusion zone were measured at three characteristic positions (front, middle, and rear) of each sample, and the average values were determined. Martensite length and depth-to-width ratio were measured manually. Mechanical property tests were executed in accordance with GB/T standards [21]: tensile tests were conducted on an electronic universal testing machine at a loading rate of 1.0 mm/min; microhardness was measured via a Vickers hardness tester with a load of 10 kgf and a dwell time of 15 s; and fatigue tests were performed on a PLG - 200C fatigue testing machine (MTS Systems Corporation, Eden Prairie, MN, USA) at a stress amplitude of 300 MPa with a 70 Hz sinusoidal waveform. Figure 4 shows the microhardness, tensile strength, and fatigue life of the welded joint at different positions, which were measured according to standard protocols. Additionally, the average value of the above characteristics was calculated.
The acquired dataset underwent preprocessing via the min–max normalization technique, scaling all variables to the interval [0, 1]. An 8-fold cross-validation approach was employed to partition the dataset into training (80%) and testing (20%) subsets, serving to mitigate overfitting and ensure model generalizability. The details are as follows:
Z i = x i x m i n x m a x x m i n

3. Experimental Results

There remains an irreplaceable need to investigate the synergistic effect of process parameters. In actual welding processes, process parameters (laser power, welding speed, and gap) do not act in isolation; instead, they collectively regulate microstructural characteristics (e.g., martensite size, depth-to-width ratio) via intermediary mechanisms such as heat input and molten pool behavior. Suppose this synergistic effect is ignored, and conclusions are drawn solely based on the influence of individual parameters. In that case, the resulting model will struggle to reflect the physical essence of real welding processes. Consequently, subsequent construction of machine learning models may be biased due to the lack of correlation among input variables.
This study on synergistic effects thus lays a key foundation for the development of the BP-WC model. On one hand, it clarifies the basis for selecting input variables of the model: process parameters (e.g., laser power, welding speed) and microstructural features (e.g., martensite length, depth-to-width ratio) must be jointly included in the input layer, rather than relying on a single dimension. On the other hand, it reveals the chain of “parameter interaction–microstructural evolution–performance variation,” which provides physical meaning for designing “weighting coefficients” in the BP-WC model.
Figure 5 shows the cross-sectional morphology of Ti6Al4V alloy laser-welded joints, along with the correlations between melting depth, melt width, and heat input density. In laser autogenous welding (Figure 5a,b), “light leakage” results in insufficient energy absorption, leading to defects such as incomplete penetration and surface collapse. The depth-to-width ratio increases under low heat input density (with melting depth growing faster than melt width) but decreases with excessive heat input (as melt width grows faster).
For gaps ≥ 0.2 mm, oscillating laser welding (Figure 5c,d, 0.3 mm gap) was employed to mitigate intensified “light leakage,” forming a symmetric “Y”-shaped joint without obvious pores. Melting depth, melt width, and depth-to-width ratio first increase and then decrease with heat input density: low input induces heat conduction welding, high input triggers deep melting, and gap-induced energy leakage eventually reduces the ratio.
For gaps ≥ 0.3 mm, laser wire-filling welding (Figure 5e,f, 0.4 mm gap) prevents defects, with joints exhibiting a “Y-H” transition. Melt width first decreases and then increases with heat input density, while melting depth and depth-to-width ratio show the opposite trend—low input prioritizes wire melting (with less energy absorbed by the base material), and high input saturates wire energy absorption (enabling more energy to be absorbed by the base material).
For gaps ≥ 0.4 mm, oscillating laser wire-filling welding (Figure 5g,h, 0.5 mm gap) suppresses “light leakage,” forming an “H”-shaped joint. Melt width decreases, while melting depth and depth-to-width ratio increase with heat input density, due to dominant energy absorption by the filler wire and molten metal filling.
Welding processes regulate joint morphology through the synergistic effect of energy distribution and material supplementation (filler wire). Heat input density drives transitions in welding modes, while gap size and filling strategy affect energy utilization efficiency, collectively governing the evolution of melting depth and melt width.
Figure 6 illustrates the microstructures of Ti6Al4V alloy laser-welded joints’ fusion zones and the correlation between martensite length and heat input density under different welding processes.
Figure 6a,b show laser autogenous welding: The fusion zone is composed of longitudinal/transverse acicular α′ martensite and a small amount of parallel acicular α phase. Martensite length first decreases and then increases with heat input density—low input enhances laser stirring, which inhibits growth, while high input weakens stirring and slows cooling, leading to coarsening.
Figure 6c,d present oscillating laser welding: The fusion zone has a similar structure (acicular α′ martensite and α phase), but the martensite length is significantly smaller than that in autogenous welding, attributed to enhanced molten pool stirring induced by the oscillating laser beam. It continues to decrease with increasing heat input, as the stirring effect is strengthened.
Figure 6e,f display laser wire-filling welding: The fusion zone contains acicular α′ martensite and Widmannstätten structure. The filler wire promotes martensite formation, resulting in a larger martensite length compared to autogenous welding; higher heat input, enhanced laser stirring, and homogenized solute diffusion gradually reduce the martensite length.
Figure 6g,h show oscillating laser wire-filling welding: The fusion zone consists of directional acicular α′ martensite and α phase, with a smaller martensite size than that in wire-filling welding alone. Martensite length decreases initially (strengthened oscillation stirring inhibits growth) but increases when heat input exceeds a threshold (stirring saturates, and cooling slows, allowing growth).
For Ti6Al4V alloy laser-welded joints, tensile properties, microhardness, and fatigue strength are core indices for evaluating comprehensive mechanical properties, with weld microstructure characteristics exerting a significant influence on them. Using the control variable method, the effects of individual microstructural features and their dominant mechanisms were analyzed to guide process parameter optimization.
Microhardness (Figure 7a,b): With similar depth-to-width ratios, microhardness decreases as martensite length increases; with similar martensite lengths, it first rises and then falls with increasing depth-to-width ratio (peaking at ~0.65). Martensite length has a more pronounced effect, as acicular α′ martensite forms a tightly interlocked “basket weave structure” that enhances hardness.
Tensile strength (Figure 7c,d): Acicular α′ martensite in a basket weave structure improves both strength and toughness. With similar depth-to-width ratios, tensile strength increases with martensite length; with similar martensite sizes, it first rises and then falls with the depth-to-width ratio (peaking at ~0.73). A reasonable depth-to-width ratio is critical—excessively large or small values deteriorate performance, while martensite length plays a more significant role within this range.
Fatigue life (Figure 7e,f): Trends mirror those of tensile strength. With similar depth-to-width ratios, fatigue life increases with martensite length; with similar martensite sizes, it improves with the depth-to-width ratio. This is attributed to the fact that a higher depth-to-width ratio reduces stress concentration (resulting in fewer crack sources), while longer martensite enhances toughness (slowing crack propagation).

4. Model

4.1. BP-WC

In laser welding of Ti6Al4V alloys, the “process parameters–microstructure–mechanical properties” correlation involves complex multi-parameter coupling and dynamic weight variations: Laser power and welding speed synergistically regulate heat input, affecting microstructural features like martensite length and depth-to-width ratio, which in turn determine mechanical properties via mechanisms such as grain boundary strengthening. Traditional orthogonal experiments and simple formulas struggle to quantify these nonlinear mappings. Neural networks offer potential for “performance-oriented” parameter inverse derivation, but pure BP inverse models have flaws: they ignore the physical significance of neural layer weights, leading to conflicts between results and actual laws, significant error fluctuations, and sensitivity to data noise, failing aerospace accuracy requirements.
As shown in Figure 8, the BP-WC model evolved from traditional BP flaws: Early BP forward models only unidirectionally predicted properties, with large error fluctuations; BP reverse models, swapping inputs/outputs and using forward weight pseudo-inverses, suffered from network asymmetry (e.g., mismatched hidden layer neurons), accumulating errors, and limiting accuracy. The BPWC model addresses these issues.
As shown in Figure 9, centered on bidirectional mapping and weight correction, the BP-WC model relies on a four-layer logic: forward network foundation, backward network inverse derivation, intermediate layer decoupling, and weight mechanism optimization.
The forward network takes process parameters as input, extracts features via two ReLU-activated hidden layers, and outputs mechanical properties, learning how parameters affect properties through microstructure to provide weight/bias benchmarks for backward derivation, resolving traditional BP’s lack of physical correlation.
The backward network inputs target mechanical properties, processes them via two ReLU-activated hidden layers, and outputs process parameters. It uses the forward network’s weight matrix pseudo-inverse for inverse operations, but hidden layer neuron asymmetry introduces errors, addressed by a weight correction mechanism fusing forward pseudo-inverse and backward weights, with gap-adaptive coefficients.
A microstructure intermediate layer decomposes high-dimensional mapping into “process parameters–microstructure” and “microstructure–mechanical properties” sub-problems. As a mechanistic link, it reflects thermal-induced phase transformation logic and reduces fitting difficulty via dimension reduction, stabilizing backward derivation.

4.2. Model Building

In laser welding of Ti6Al4V alloys, the mapping between process parameters (six items: laser power, welding speed, defocus distance, wire feeding speed, etc.), microstructure (two items: martensite length and depth-to-width ratio), and mechanical properties (three items: microhardness, tensile strength, and fatigue life) is strongly nonlinear, eluding accurate capture by linear equations or simple monomial functions. Traditional BP neural networks construct forward prediction models for such relationships, but these have limitations.
The BP forward model builds a “process parameters–microstructure–mechanical properties” mapping, with a three-layer structure: the “process parameters–microstructure” sub-model has six input neurons (for six parameters) and two output neurons (for two microstructural features); the “microstructure–mechanical properties” sub-model has two input neurons and three output neurons (for three properties). Trained on 56 samples (70% training, 30% validation) with ReLU activation and MAE loss, it achieves ~4% average error for microstructure (max 3.57% for martensite length, 5.33% for depth-to-width ratio) and ~5% for mechanical properties (Figure 10 and Figure 11). However, it shows significant error fluctuations and cannot directly inverse-derive process parameters.
The BP inverse model constructs an inverse mapping of “mechanical properties–microstructure–process parameters” to derive process parameters from target mechanical properties, with a structure symmetrical to the forward model: the “mechanical properties–microstructure” sub-model has three input neurons and two output neurons; the “microstructure–process parameters” sub-model has two input neurons and six output neurons. Trained on the same dataset with the MSE loss function, it shows low inverse accuracy (Figure 12): average microstructure inverse error is 5~6.7% and 6.73~7.14% for laser power and welding speed, with severe error fluctuations.
Core reasons: It is trained independently without leveraging the forward model’s physical mapping logic, causing weight matrix deviations; unequal hidden layer neurons (e.g., mismatched counts between forward “process parameters–microstructure” and inverse “microstructure–process parameters” layers) make the weight matrix non-square, requiring pseudo-inverse calculations that introduce extra errors.
As shown in Figure 13, to address these issues, the BP-WC (backpropagation weight correction) inverse derivation model is proposed. It is built on the inverse operation of the forward model, invoking its weight and bias matrices, and it incorporates weight coefficients from the inverse model for correction and uses a differential evolution algorithm to optimize the network structure, achieving synergistic optimization of forward and inverse models.
A key design of the BP-WC model is using microstructure (martensite length and depth-to-width ratio) as intermediate feature vectors to form a two-stage mapping chain of “process parameters–microstructure–mechanical properties”, rooted in welding mechanisms. This design reduces the dimensionality of complex mappings to enhance learning efficiency, endows physical interpretability to avoid the “black box” limitation, and buffers error propagation to reduce cumulative deviation.

4.3. Optimization Design

The basic architecture of the BP-WC model adopts a three-layer BP neural network, a choice driven by the advantage of three-layer networks in balancing nonlinear mapping capability and model complexity. The hierarchical design of the input layer, hidden layer, and output layer can not only fully capture the complex correlations among “process parameters–microstructure–mechanical properties” but also avoid overfitting caused by excessive layers, which is well-suited to the multi-parameter coupled nonlinear characteristics in laser welding of Ti6Al4V alloys.
The model realizes bidirectional mapping through the synergistic operation of forward and backward networks: Forward propagation undertakes the basic mapping task of “process parameters–microstructure–mechanical properties”, with its core being the calculation via the formula, where zh represents the computation result of neurons in the h layer, ah−1 is the input matrix, and Wh and bh are the weights and biases of this layer, respectively:
z h = a h 1 W h + b h
The introduction of the ReLU function can effectively address the gradient vanishing problem in deep network training. Therefore, after completing the linear transformation, nonlinear processing is performed via the ReLU activation function, ultimately providing reliable benchmark weights and bias matrices for backward inverse derivation. The backward inverse derivation, on the other hand, conducts inverse operations based on the weights and bias matrices of the forward model, starting with the following formula:
z h = f 1 a h
To address this, the model innovatively introduces a weight correction mechanism, which uses a dynamic correction coefficient to fuse the forward network’s pseudo-inverse matrix and the backward inverse network’s weights. Adaptively learned from training data, this coefficient adjusts the two matrices’ contribution ratios based on specific welding conditions (e.g., material properties, gaps). Ultimately, iterative optimization via an algorithm minimizes deviations between inverse results and actual process parameters, enhancing inverse derivation accuracy and stability.
w 3 h = a × W h 1 + b × W 3 h
The forward pseudo-inverse matrix is fused with the backward network’s weight coefficients W3−h, where correction coefficients a and b are dynamically adjusted by the welding gap (with distinct values for 0.3 mm and 0.5 mm gaps to minimize inverse errors under respective conditions). This corrects systematic errors from pseudo-inverse operations, enabling high-precision inverse derivation from target properties to process parameters.
To optimize model performance, hyperparameters are tuned via a differential evolution algorithm: Insufficient neurons cause underfitting, while excess leads to overfitting. As shown in Figure 14, for the BP forward model, MSA errors are minimized (0.06 and 0.08) when hidden layers of “process parameters–microstructure” and “microstructure–mechanical properties” sub-models have 24 and 12 neurons, respectively. For the inverse model, MSE errors are smallest (0.08) with 18 and 24 neurons in the hidden layers of “mechanical properties–microstructure” and “microstructure–process parameters” models (notably, MSE differs slightly—0.08 and 0.09—for 12and18 neurons in “mechanical properties–microstructure”). Thus, forward prediction uses MAE (robust to outliers), and backward inverse derivation uses MSE (sensitive to large errors) to balance task requirements.

4.4. Comparative Experiments

To verify the BP-WC model’s superiority, 16 test samples (30% of the total) were used for comparison with the traditional BP model (results in Figure 15).
Compared with the BP forward model, the BP-WC model has similar forward prediction errors (microstructure average ~2%, mechanical properties ~3%) but provides a more reliable weight benchmark for backward inverse derivation.
Compared with the BP inverse model, the BP-WC model shows significantly improved inverse accuracy: The average inverse error of microstructure (martensite length and depth-to-width ratio) is reduced to 2% (max 4.4%), outperforming the BP inverse model’s 5~6.7%. The average inverse error of process parameters (laser power and welding speed) is 3.95~4.49% (max 6.46%), better than the BP inverse model’s 6.73~7.14%.
Key reasons for error reduction are as follows: microstructure’s intermediate buffering reduces error accumulation; the weight correction mechanism corrects pseudo-inverse matrix deviation; and hyperparameters optimized by the differential evolution algorithm make the model more consistent with actual mappings.
Notably, comparing the BP-WC model before and after optimization (with/without the differential evolution algorithm) is crucial to verify the improvement effect of hyperparameter optimization (e.g., adjusting hidden layer neurons to 24 and 12) on accuracy.
Based on the differential evolution algorithm’s optimization results for BP forward and inverse models, their neural network structures were redesigned: 24 neurons for the “process parameters–microstructure” hidden layer and 12 for “microstructure–mechanical properties”. The redesigned models were trained and validated to provide parameters for BP-WC optimization. As shown in Figure 16, the optimized BP forward model’s “process parameters–microstructure” part has average prediction errors of 1.54% and 2.23% for microstructure characteristics, with significantly reduced fluctuations.
In Figure 17, the prediction results of the “microstructure–mechanical properties” part of the optimized BP forward model are shown. Comparing the above results with the prediction results before optimization, it can be found that the prediction accuracy of the BP forward model for mechanical properties improves, with the average error being less than 2% and the error fluctuations having decreased. The above results indicate that the addition of the differential evolution algorithm improves the accuracy and reliability of material property prediction.
In Figure 18, the inverse derivation results of the optimized BP inverse derivation model are presented. Comparing the above inverse derivation results with those in Figure 12, it can be found that the optimized model significantly improves the inverse derivation accuracy of microstructure characteristics, with only some samples having inverse derivation errors of microstructure characteristics exceeding 5%. Moreover, the inverse derivation accuracy of laser power and welding speed is also improved, with their average inverse derivation errors reduced to 4.17% and 4.84%, respectively. In addition, by comparing the inverse derivation results of different samples, it can be seen that the error fluctuations of the model significantly improve.
Based on the optimized BP forward and inverse derivation models for Ti6Al4V alloy laser welding, their weight coefficients and bias coefficients were obtained to establish the optimized BP-WC inverse derivation model. The inverse derivation model was then trained and validated, and the inverse derivation results of the optimized BP-WC inverse derivation model are shown in Figure 19. By comparing the inverse derivation results before and after optimization, it can be found that the optimized BP-WC inverse derivation model significantly improves the inverse derivation accuracy of microstructure characteristics and process parameters. Moreover, the error fluctuations obviously decrease: the average inverse derivation error for microstructure characteristics decreases by about 2%, while the average inverse derivation error for process parameters drops to 3%.

5. Results and Discussion

Taking the mechanical property indicators of aviation structural parts as the target (tensile strength ≥ 950 MPa, microhardness ≥ 400 HV10, and fatigue life ≥ 4 × 105 cycles), the BP-WC inverse derivation model was used to perform inverse derivation of process parameters for Ti6Al4V alloy butt structures with gaps of 0.3 mm and 0.5 mm, obtaining two sets of key parameters. A galvo laser wire-filling welding process was adopted to carry out verification experiments. The inverse derivation process is shown in Figure 20: first, the process parameters were output through the BP-WC model, and then the BP forward model was used to predict whether the performance meets the standards, and finally, two sets of parameters were selected for actual welding (Specimen 1: gap 0.3 mm, laser power 1870 W, welding speed 1.67 m/min; Specimen 2: gap 0.5 mm, laser power 2060 W, welding speed 1.5 m/min). Experiments show that the weld formation of the two groups of specimens is good, with no obvious pores or incomplete penetration defects (Figure 21).
The prediction results of the BP forward model for microstructure are shown in Figure 22, with error data listed in Table 3. Martensite length: the prediction error ranges from 0.90% to 1.09% (Specimen 1: predicted 67.6 μm andactual 67 μm; Specimen 2: predicted 74.5 μm and actual 73.6 μm). Depth-to-width ratio: the prediction error ranges from 4.23% to 7.81% (Specimen 1: predicted 0.69 and actual 0.64; Specimen 2: predicted 0.74 and actual 0.71).
The prediction errors of the BP forward model for mechanical properties are shown in Table 4 and Figure 23.
Microhardness: error of 0.96~2.43% (Specimen 1: predicted 401.8 HV and actual 405.7 HV; Specimen 2: predicted 401.2 HV and actual 411.2 HV); tensile strength: error of 1.92~3.21% (Specimen 1: predicted 994.8 MPa and actual 963.9 MPa; Specimen 2: predicted 976 MPa and actual 995.1 MPa); fatigue life: error of 1.68~2.47% (Specimen 1: predicted 4.15 × 105 cycles and actual 4.05 × 105 cycles; Specimen 2: predicted 4.1 × 105 cycles and actual 4.17 × 105 cycles). The overall error is ≤3.21%, which verifies the reliability of the inverse-derived parameters by the BP-WC model.
Experiments verified the process parameters inverse-derived by the BP-WC model: the prediction errors of microstructure and mechanical properties are both below 4%, significantly outperforming the BP inverse model before optimization (with errors of 6~7%), which proves that the weight correction mechanism and the optimization of the differential evolution algorithm are effective. The welded joints corresponding to the inverse-derived parameters meet the performance indicators of aviation structural parts, and the galvo laser wire-filling process has an excellent filling effect on gaps of 0.3~0.5 mm, providing a feasible solution for the welding process design of complex gap structures.

6. Conclusions

This article is based on a BP artificial neural network and builds forward and backward models for Ti6Al4V alloy laser welding. Furthermore, based on the weight coefficients of the BP forward and backward models, a more effective BP-WC reverse model was constructed. By dividing and training the collected data, the predictive performance of the BP model was verified, and a differential evolution algorithm was introduced to optimize the network model, ultimately obtaining a BP-WC reverse engineering model with better performance. This mainly includes the following features:
(1) The BP forward and inverse model for “process parameters–microstructure–mechanical properties” was established, where there was a hidden layer between the input layer, intermediate layer, and output layer. At the number of neurons in the hidden layer between process parameters and microstructure is 24, and the number of neurons in the hidden layer between microstructure and mechanical properties is 12, the model has the best prediction performance. Through the iterative training, the average error is less than 2%.
(2) The weight coefficients of the BP forward and reverse models were obtained. After weighting and correction processing, the “mechanical properties–microstructure–process parameters” BP-WC reverse model was established. The results confirmed that the reverse effect of this model is better than the BP reverse model, with an average error of about 3%, and the error fluctuation situation is significantly improved.
(3) The differential evolution algorithm was introduced to optimize the BP-WC inverse model by changing the number of neurons in the BP forward and inverse models. It facilitated the obtainance of weight coefficients that are closer to the actual mapping relationship, and improving the BP-WC inverse model. Additionally, the optimized BP forward model will be used as a validation tool for the reverse model to improve the accuracy of the reverse calculation of process parameters.

Author Contributions

Conceptualization, Y.Z.; methodology, F.L.; validation, F.L.; formal analysis, F.L. and Y.L.; investigation, F.L., Y.L., and X.Z.; resources, Y.Z.; data curation, F.L. and X.Z.; writing—original draft, F.L.; writing—review and editing, Z.R. and Y.Z.; visualization, F.L., Y.L., Z.R., and X.Z.; supervision, Y.Z.; project administration, Y.Z.; funding acquisition, F.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the China Postdoctoral Science Foundation (2024M764234), the National Key Research and Development Program of China (2023YFB3407800), and Jiangsu Funding Program for Excellent Postdoctoral Talent (2024ZB608).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

We thank the Center for Microscopy and Analysis at the Nanjing University of Aeronautics and Astronautics for advanced facilities.

Conflicts of Interest

Author Fei Li was employed by the company Chengdu Aircraft Industrial (Group) Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Auwal, S.T.; Ramesh, S.; Yusof, F. A review on laser beam welding of titanium alloys. Int. J. Adv. Manuf. Technol. 2018, 97, 1071–1098. [Google Scholar] [CrossRef]
  2. Panwisawas, C.; Perumal, B.; Mark Ward, R.; Turner, N.; Turner, R.P.; Brooks, J.W.; Basoalto, H.C. Keyhole formation and thermal fluid flow-induced porosity during laser fusion welding in titanium alloys: Experimental and modelling. Acta Mater. 2017, 126, 251–263. [Google Scholar] [CrossRef]
  3. Califano, A.; Giannella, V.; Caiazzo, F.; Berto, F.; Sepe, R. Mechanical Behavior of Ti6Al4V Laser Welded Single Lap Joints. Procedia Struct. Integr. 2023, 47, 842–848. [Google Scholar] [CrossRef]
  4. Li, G.; Wang, Y.; Liang, Y.; Gao, P.; Liu, X.; Xu, W.; Yang, D. Microstructure and mechanical properties of laser welded Ti-6Al-4V (TC4) titanium alloy joints. Opt. Laser Technol. 2024, 170, 110320. [Google Scholar] [CrossRef]
  5. Panov, D.; Naumov, S.; Stepanov, N.; Sokolovsky, V. Effect of pre-heating and post-weld heat treatment on structure and mechanical properties of laser beam-welded Ti2AlNb-based joints. Intermetallics 2022, 143, 107466. [Google Scholar] [CrossRef]
  6. Zhang, K.; He, C.; Liu, D.; Yan, C.; Niu, H.; Yang, Z.; Bao, Y. Effect of heat input on microstructure and tensile properties of laser welded Ti–3Al–6Mo–2Fe–2Zr alloy joint. J. Mater. Res. Technol. 2022, 17, 1652–1661. [Google Scholar] [CrossRef]
  7. Chen, J.; Li, H.; Liu, Y.; Zhao, X.; Cai, Y.; Chen, H.; Chen, Y.; Feng, A.; Wang, H.; Sun, Z. Deformation behavior and microstructure characteristics of the laser-welded Ti-6Al-4V joint under variable amplitude fatigue. Mater. Charact. 2023, 196, 112606. [Google Scholar] [CrossRef]
  8. Chattopadhyay, A.; Muvvala, G.; Sarkar, S.; Racherla, V.; Nath, A.K. Effect of laser shock peening on microstructural, mechanical and corrosion properties of laser beam welded commercially pure titanium. Opt. Laser Technol. 2021, 133, 106527. [Google Scholar] [CrossRef]
  9. Quillace, A.; Prisco, U.; Ciliberto, S.; Astarita, A. Effect of welding parameters on morphology and mechanical properties of Ti–6Al–4V laser beam welded butt joints. J. Mater. Process. Technol. 2012, 212, 427–436. [Google Scholar] [CrossRef]
  10. Ahn, J.; Chen, L.; Davies, C.M.; Dear, J.P. Parametric optimisation and microstructural analysis on high power Yb-fibre laser welding of Ti–6Al–4V. Opt. Lasers Eng. 2016, 86, 156–171. [Google Scholar] [CrossRef]
  11. Li, S.; Mo, B.; Xu, W.; Xiao, G.; Deng, Z. Research on nonlinear prediction model of weld forming quality during hot-wire laser welding. Opt. Laser Technol. 2020, 131, 106436. [Google Scholar] [CrossRef]
  12. Campanelli, S.L.; Casalino, G.; Mortello, M.; Angelastro, A.; Ludovico, A.D. Microstructural Characteristics and Mechanical Properties of Ti6Al4V Alloy Fiber Laser Welds. Procedia CIRP 2015, 33, 428–433. [Google Scholar] [CrossRef]
  13. Rawa, M.J.H.; Dehkordi, M.H.R.; Kholoud, M.J.; Abu-Hamdeh, N.H.; Azimy, H. Using the numerical simulation and artificial neural network (ANN) to evaluate temperature distribution in pulsed laser welding of different alloys. Eng. Appl. Artif. Intell. 2023, 126, 107025. [Google Scholar] [CrossRef]
  14. Wu, S.; Kong, W.; Feng, Y.; Chen, P.; Cheng, F. Penetration prediction of narrow-gap laser welding based on coaxial high dynamic range observation and machine learning. J. Manuf. Process. 2024, 110, 91–100. [Google Scholar] [CrossRef]
  15. Chang, Y.; Yue, J.; Guo, R.; Liu, W.; Li, L. Penetration quality prediction of asymmetrical fillet root welding based on optimized BP neural network. J. Manuf. Process. 2020, 50, 247–254. [Google Scholar] [CrossRef]
  16. Buffa, G.; Fratini, L.; Micari, F. Mechanical and microstructural properties prediction by artificial neural networks in FSW processes. J. Manuf. Process. 2012, 14, 289–296. [Google Scholar] [CrossRef]
  17. Wang, H.; Li, J.; Liu, L. Process optimization and weld forming control based on GA-BP algorithm for riveting-welding hybrid bonding between magnesium and CFRP. J. Manuf. Process. 2021, 70, 97–107. [Google Scholar] [CrossRef]
  18. Kumar, C.; Das, M.; Paul, C.P.; Singh, B. Experimental investigation and metallographic characterization of fiber laser beam welding of Ti-6Al-4V alloy using response surface method. Opt. Lasers Eng. 2017, 95, 52–68. [Google Scholar] [CrossRef]
  19. Yacout, G.G.; Shash, A.Y.; Hegazi, H.A.; ElSherbiny, M.G. Application of response surface methodology for optimizing friction stir welding parameters of AA6082-T6 aluminium alloy. J. Mater. Res. Technol. 2025, 37, 3765–3776. [Google Scholar] [CrossRef]
  20. Rominiyi, A.L.; Mashinini, P.M. A critical review of microstructure and mechanical properties of laser welded similar and dissimilar titanium alloy joints. J. Adv. Join. Process. 2024, 9, 100191. [Google Scholar] [CrossRef]
  21. GB/T 228-2002; Metallic Materials—Tensile Testing at Ambient Temperature. Standards Press of China: Beijing, China, 2002.
Figure 1. Multi-functional laser welding platform: (a) schematic diagram of the equipment; (b) local enlarged drawing.
Figure 1. Multi-functional laser welding platform: (a) schematic diagram of the equipment; (b) local enlarged drawing.
Metals 15 00946 g001
Figure 2. Schematic diagram of laser welding: (a) laser autogenous welding; (b) oscillating laser welding; (c) laser wire-filling welding; (d) oscillating laser wire-filling welding.
Figure 2. Schematic diagram of laser welding: (a) laser autogenous welding; (b) oscillating laser welding; (c) laser wire-filling welding; (d) oscillating laser wire-filling welding.
Metals 15 00946 g002
Figure 3. Schematic diagram of metallographic sample selection: (a) location of sample selection; (b) dimensions of metallographic specimens; (c) schematic diagram for measuring microstructure characteristics.
Figure 3. Schematic diagram of metallographic sample selection: (a) location of sample selection; (b) dimensions of metallographic specimens; (c) schematic diagram for measuring microstructure characteristics.
Metals 15 00946 g003
Figure 4. Schematic diagram of mechanical performance testing: (a) microhardness testing points; (b) tensile specimen size; (c) fatigue specimen size.
Figure 4. Schematic diagram of mechanical performance testing: (a) microhardness testing points; (b) tensile specimen size; (c) fatigue specimen size.
Metals 15 00946 g004
Figure 5. Cross-sectional morphology of laser-welded joints for Ti6Al4V alloy: (a,b) laser autogenous weld; (c,d) oscillating laser weld (0.3 mm gap); (e,f) laser wire-filling welding (0.4 mm gap); (g,h) oscillating laser wire-filling welding (0.5 mm gap).
Figure 5. Cross-sectional morphology of laser-welded joints for Ti6Al4V alloy: (a,b) laser autogenous weld; (c,d) oscillating laser weld (0.3 mm gap); (e,f) laser wire-filling welding (0.4 mm gap); (g,h) oscillating laser wire-filling welding (0.5 mm gap).
Metals 15 00946 g005
Figure 6. Microstructures and martensite length under different laser welding for Ti6Al4V alloy: (a,b) laser autogenous weld; (c,d) oscillating laser weld; (e,f) laser wire-filling welding; (g,h) oscillating laser wire-filling welding.
Figure 6. Microstructures and martensite length under different laser welding for Ti6Al4V alloy: (a,b) laser autogenous weld; (c,d) oscillating laser weld; (e,f) laser wire-filling welding; (g,h) oscillating laser wire-filling welding.
Metals 15 00946 g006
Figure 7. Mechanical properties of welded joints as a function of martensite length and depth-width ratio: (a) microhardness with varying martensite length; (b) microhardness with varying depth-width ratio; (c) tensile strength with varying martensite length; (d) tensile strength with varying depth-width ratio; (e) fatigue life with varying martensite length; (f) fatigue life with varying depth-width ratio.
Figure 7. Mechanical properties of welded joints as a function of martensite length and depth-width ratio: (a) microhardness with varying martensite length; (b) microhardness with varying depth-width ratio; (c) tensile strength with varying martensite length; (d) tensile strength with varying depth-width ratio; (e) fatigue life with varying martensite length; (f) fatigue life with varying depth-width ratio.
Metals 15 00946 g007
Figure 8. The construction of the BP-WC network.
Figure 8. The construction of the BP-WC network.
Metals 15 00946 g008
Figure 9. The BP-WC network structure.
Figure 9. The BP-WC network structure.
Metals 15 00946 g009
Figure 10. “Process parameters–microstructure” BP model’s prediction results and error.
Figure 10. “Process parameters–microstructure” BP model’s prediction results and error.
Metals 15 00946 g010
Figure 11. Prediction errors of the “microstructure–mechanical properties” model.
Figure 11. Prediction errors of the “microstructure–mechanical properties” model.
Metals 15 00946 g011
Figure 12. Inverse derivation results of the “mechanical properties–microstructure–process parameters” BP inverse model: (a) inverse derivation results of “mechanical properties–microstructure”; (b) inverse derivation results of “microstructure–process parameters”.
Figure 12. Inverse derivation results of the “mechanical properties–microstructure–process parameters” BP inverse model: (a) inverse derivation results of “mechanical properties–microstructure”; (b) inverse derivation results of “microstructure–process parameters”.
Metals 15 00946 g012
Figure 13. Flowchart of the differential evolution algorithm for optimizing the BP neural network model.
Figure 13. Flowchart of the differential evolution algorithm for optimizing the BP neural network model.
Metals 15 00946 g013
Figure 14. Loss function of BP neural network model for Ti6Al4V alloy laser welding with different numbers of hidden neurons: (a) BP forward model; (b) BP reverse engineering model.
Figure 14. Loss function of BP neural network model for Ti6Al4V alloy laser welding with different numbers of hidden neurons: (a) BP forward model; (b) BP reverse engineering model.
Metals 15 00946 g014
Figure 15. Inverse derivation results of the “mechanical properties–microstructure–process parameters” BP-WC inverse model: (a) inverse derivation results of “mechanical properties–microstructure”; (b) inverse derivation results of “microstructure–process parameters”.
Figure 15. Inverse derivation results of the “mechanical properties–microstructure–process parameters” BP-WC inverse model: (a) inverse derivation results of “mechanical properties–microstructure”; (b) inverse derivation results of “microstructure–process parameters”.
Metals 15 00946 g015
Figure 16. Comparison of prediction results and errors of the optimized “process parameters–microstructure” BP model.
Figure 16. Comparison of prediction results and errors of the optimized “process parameters–microstructure” BP model.
Metals 15 00946 g016
Figure 17. Prediction errors of the optimized “microstructure–mechanical properties” BP model.
Figure 17. Prediction errors of the optimized “microstructure–mechanical properties” BP model.
Metals 15 00946 g017
Figure 18. The optimized BP reverse engineering model.
Figure 18. The optimized BP reverse engineering model.
Metals 15 00946 g018
Figure 19. Optimized BP-WC reverse engineering model.
Figure 19. Optimized BP-WC reverse engineering model.
Metals 15 00946 g019
Figure 20. Flowchart of process parameters’ inverse derivation output.
Figure 20. Flowchart of process parameters’ inverse derivation output.
Metals 15 00946 g020
Figure 21. Cross-sectional morphology and microstructure of laser-welded joints based on inversely derived parameters: (a) cross-sectional morphology of Sample 1; (b) cross-sectional morphology of Sample 2.
Figure 21. Cross-sectional morphology and microstructure of laser-welded joints based on inversely derived parameters: (a) cross-sectional morphology of Sample 1; (b) cross-sectional morphology of Sample 2.
Metals 15 00946 g021
Figure 22. Comparison between predicted results of microstructure of test pieces and real data: (a) martensite length; (b) depth-to-width ratio.
Figure 22. Comparison between predicted results of microstructure of test pieces and real data: (a) martensite length; (b) depth-to-width ratio.
Metals 15 00946 g022
Figure 23. Comparison between predicted results of mechanical properties of test pieces and real data: (a) microhardness; (b) tensile strength; (c) fatigue life.
Figure 23. Comparison between predicted results of mechanical properties of test pieces and real data: (a) microhardness; (b) tensile strength; (c) fatigue life.
Metals 15 00946 g023
Table 1. Chemical composition of Ti6Al4V alloy (wt.%).
Table 1. Chemical composition of Ti6Al4V alloy (wt.%).
AlVFeCNHOTi
5.5–6.753.5–4.50.300.080.050.0150.20Bal.
Table 2. Parameter table for laser welding of Ti6Al4V alloy.
Table 2. Parameter table for laser welding of Ti6Al4V alloy.
Sample No.Gap (mm)Defocus Amount (mm)Laser Power (W)Welding Speed (m/min)Scanning Amplitude (mm)Wire Feeding Speed (m/min)
1–200.00–21800–22002.0–2.20.00.00
21–340.1–0.50–31540–19001.5–1.80–1.20.00
35–460.2–0.51–31600–19001.6–1.80.01.44–1.68
47–560.3–0.53–41600–19001.5–1.81.21.56–1.68
Table 3. Prediction errors of microstructure characteristics by the forward calculation model.
Table 3. Prediction errors of microstructure characteristics by the forward calculation model.
Specimen No.Predicted Value of Martensite Length (μm)Actual Value of Martensite Length (μm)Prediction Error of Martensite Length (%)Predicted Value of Depth-to-Width RatioActual Value of Depth-to-Width RatioPrediction Error of Depth-to-Width Ratio (%)
167.6670.900.690.647.81
274.573.61.090.740.714.23
Table 4. Prediction errors of mechanical properties by the forward calculation model.
Table 4. Prediction errors of mechanical properties by the forward calculation model.
Specimen No.Predicted Microhardness (HV10)Actual Microhardness (HV10)Microhardness Error (%)Predicted Tensile Strength (MPa)Actual Tensile Strength (MPa)Tensile Strength Error (%)Predicted Fatigue Life (105 Cycles)Actual Fatigue Life (105 Cycles)Fatigue Life Error (%)
1401.8405.70.96994.8963.93.214.154.052.47
2401.2411.22.43976995.11.924.14.171.68
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, F.; Liu, Y.; Ren, Z.; Zhang, X.; Zhao, Y. Reverse Engineering of Laser Welding Process Parameters for Ti6Al4V Alloy Based on Machine Learning. Metals 2025, 15, 946. https://doi.org/10.3390/met15090946

AMA Style

Li F, Liu Y, Ren Z, Zhang X, Zhao Y. Reverse Engineering of Laser Welding Process Parameters for Ti6Al4V Alloy Based on Machine Learning. Metals. 2025; 15(9):946. https://doi.org/10.3390/met15090946

Chicago/Turabian Style

Li, Fei, Yuan Liu, Zheng Ren, Xiong Zhang, and Yanqiu Zhao. 2025. "Reverse Engineering of Laser Welding Process Parameters for Ti6Al4V Alloy Based on Machine Learning" Metals 15, no. 9: 946. https://doi.org/10.3390/met15090946

APA Style

Li, F., Liu, Y., Ren, Z., Zhang, X., & Zhao, Y. (2025). Reverse Engineering of Laser Welding Process Parameters for Ti6Al4V Alloy Based on Machine Learning. Metals, 15(9), 946. https://doi.org/10.3390/met15090946

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop