Optimization of Hull Thin Plate Welding Sequence Based on Simulated Annealing-Back Propagation Neural Network
Abstract:
In the ship hull plate welding process, different welding sequences directly affect the deformation of the current welding procedure, which in turn impacts the overall shipbuilding accuracy. This study takes a typical double T-shaped thin plate structure as an example. Based on welding numerical simulation and experimental validation, a corresponding dataset is obtained. To address the issue of BP neural networks being prone to local optima, which can lead to inaccurate results, a Simulated Annealing-Back Propagation (SA-BP) neural network model is used to analyze the dataset. The research aims to determine the optimal welding sequence that minimizes deformation. The training results show that the Mean Squared Error (MSE) of the SA-BP model decreased from 1.0144 in the BP model to 0.67388. Additionally, the SA-BP model's fitting performance is far superior to that of the BP model. Therefore, the SA-BP neural network model provides more stable and accurate results compared to the traditional BP neural network model. The comparison of the optimal welding sequence results derived from both models shows that welding with the optimized SA-BP neural network results in a 21.07% reduction in welding deformation compared to the traditional BP neural network.
1. Introduction
Currently, 30%–40% of the labor time in shipbuilding is occupied by welding operations, and the cost of welding accounts for more than 30% of the total cost. At the same time, the welding process is complex and irreversible. Welding deformation directly affects product quality, structural strength, and subsequent assembly processes. Over the years, many scholars have used finite element analysis numerical simulation methods to predict welding deformation and study processes that control residual stress, reduce welding deformation, and improve welding quality [1], [2]. Chen and Soares [3] performed numerical simulation analysis of the welding process based on longitudinal rib forced alignment using a sequentially coupled thermo-elastoplastic finite element method, and studied the impact of longitudinal rib misalignment on welding deformation and stress. Ghafouri et al. [4] used a combination of experimental and numerical simulation methods to predict the welding deformation of ultra-high-strength steel complex thin-walled structures, and based on the calculation results, they clarified the mechanism of the effect of forced restraint on the welding deformation of this structure. Lu et al. [5] developed an efficient enhanced moving heat source model based on the general finite element software platform named MSC. Marc, and used the thermo-elastoplastic finite element method and the enhanced moving heat source model to perform numerical simulations of the welding deformation of a large long straight structure (13,832 mm in length) of a locomotive vehicle, while verifying that welding sequence has a significant effect on both the mode and magnitude of welding deformation. Zhao et al. [6] used a combination of experimental and simulation methods to comparatively analyze the effect of two different welding sequences and four different directions on the residual stress of X80 pipeline steel during multi-layer, multi-pass welding. Azad et al. [7] used the thermo-elastoplastic analysis method of ABAQUS finite element software to analyze the residual stress and residual deformation of the welded joint of 32 mm thick Q345qD steel under gas metal arc welding, and combined experimental tests and numerical simulation to study the effect of four different welding sequences on the residual stress distribution and residual deformation of the welded joint.
When studying the effects of different welding sequences on welded parts, a commonly used method is to select individual sequences [8], [9] and perform comparisons through finite element simulation. However, when there are many welding sequences and the situation is complex, comparing only a few sequences cannot determine the optimal welding sequence. Therefore, this study uses a combination of welding numerical simulation and neural networks. It uses simulation software to simulate the deformation during the welding process and form a dataset. Through data analysis, it determines the optimal welding sequence that minimizes deformation, which is suitable for various complex welding situations.
2. Thin Plate Finite Element Model Establishment
In shipbuilding, plates with a thickness of less than 6 mm are generally classified as thin plates [10]. Thin plate structures are mainly used for the deck and some external plates of the ship's superstructure, which reduces the ship's center of gravity and lightens the overall weight, thereby significantly improving the performance of the hull [11]. However, due to the smaller thickness of thin plates, they are more prone to instability and deformation during welding, as a result of uneven heating and local plastic strain [12]. Compared to thicker plates, thin plates are more susceptible to instability and deformation, which greatly affects the ship's structural performance, strength, toughness, aesthetics, and precision control, severely impacting overall construction quality [13]. During the plate welding process, when there are multiple welding modules, the welding sequence directly affects the deformation of the plate. However, due to the large number of possible welding sequence combinations, conducting individual sequence trials in production would incur huge production and time costs [14]. Therefore, numerical simulation calculations of welding are required. Considering the time required for numerical simulation, this study uses the results of the simulations and adopts an SA-BP neural network model for training to ultimately determine the optimal welding sequence.
The double T-shaped thin plate structure, as a common structure in the hull welding process [15], is selected as the model for this study. The finite element model is geometrically modeled using software. The model consists of one panel and two web plates, with dimensions of 800 mm × 600 mm × 4 mm for the panel, and 800 mm × 100 mm × 4 mm for the two web plates. In geometric modeling, mesh division is crucial because it significantly affects modeling accuracy and computational time. To improve computational efficiency while ensuring accuracy, fine mesh is used in the welding area, and the mesh gradually coarsens away from the welding area. The structural model of the double T-shaped thin plate is shown in Figure 1.
The welding heat source model is a mathematical representation that describes the time and spatial distribution of heat input applied to the workpiece during welding. It forms the basis for welding numerical simulation. This study focuses on thin plate welding, where the heat flow not only acts on the surface of the workpiece but also distributes along the thickness direction, with the heat source being a volumetric distribution. Since the welding method is arc welding, the shape of the heat source, according to relevant literature [16], [17], is a double ellipsoidal shape with asymmetric front and rear ends. This heat source model considers the temperature gradient at the front and rear ends of the welding heat source center, as well as the distribution characteristics along the plate thickness direction, allowing for an accurate simulation of the heat input in arc welding. Therefore, the double ellipsoidal heat source model proposed by Goldak et al. [18] is selected for the welding simulation in this chapter, and its expression is as follows:
where,
In these equations: $\left(x_0, y_0, z_0\right)$ represents the position of the heat source in the coordinate system $(x, y, z)$; $Q$ is the heat input; $\eta$ is the heat efficiency, taken as 0.85; $v$ is the welding speed; $t$ is the instantaneous time of welding; $a_f$ and $a_r$ represent the semi-axes lengths of the ellipsoid at the front and rear, respectively; $b$ represents the width of the ellipsoid; $c$ represents the depth of the ellipsoid; $f_f$ and $f_r$ are the energy distribution coefficients at the front and rear of the double ellipsoid heat source. The double ellipsoidal heat source model is shown in Figure 2, with basic parameters: front semi-axis length $a_f=1.5 \mathrm{~mm}$, rear semi-axis length $a_r=6.0 \mathrm{~mm}$, width $b=3.7 \mathrm{~mm}$, depth $d=4.0 \mathrm{~mm}$.
AH36 high-strength steel is a low-alloy high-strength structural steel [19], known for its high rigidity, high strength, and good impact resistance. It is commonly used in shipbuilding. Arc welding of AH36 steel may cause issues such as low welding efficiency, large welding deformation, and high residual stress. The mechanical properties of AH36 steel follow the linear kinematic hardening criterion and the Von Mises yield criterion [20]. The physical and mechanical properties of AH36 steel, including thermal conductivity, density, specific heat, thermal expansion coefficient, Young's modulus, and yield strength variations with temperature, are shown in Figure 3. The Poisson's ratio of this material is 0.28 [21].
3. Finite Element Simulation Data and Experimental Verification
The thin plate welding in this study is multi-pass welding. In actual working conditions, if the weld pass is too long, it will be segmented. Taking this double T-shaped thin plate as an example, the welds at the junctions of each web plate and the panel are divided into two equal-length segments, totaling 8 weld passes. The welding sequence is unified as bottom to top, without considering reverse welding. For ease of data generation, these 8 weld passes are numbered in sequence. The specific labeling is shown in Figure 4.
In the case of a unified welding direction, there are as many as 8 possible welding pass sequences. Simulating all these results through numerical methods and finding the optimal welding sequence would consume a considerable amount of time. If only a few specific sequences are selected for comparison, the results may not accurately identify the optimal welding sequence. Therefore, this study proposes an approach to simulate a subset of welding sequences using professional welding simulation software, Simufact.Welding [22]. The welding sequence and corresponding deformation values are used as a dataset, and the accuracy of the data is verified through experiments. Finally, data analysis is employed to decide the optimal welding sequence.
Therefore, 500 random sequences of this workpiece are selected for finite element simulation, and the deformation variation over time is shown in Figure 5. To standardize the welding deformation at different time points, the maximum deformation point during the entire welding process is taken as the deformation parameter for each welding sequence. The 500 welding sequences and their corresponding deformation parameters are compiled into a dataset, which serves as the basis for the subsequent decision-making regarding the optimal welding sequence.
To verify the accuracy of the data obtained from the simulation, the results of the simulated deformation are compared with the actual deformation of the plate in the experimental verification.
This experiment was conducted in collaboration with a metal processing company, where an AH36 steel plate was precisely processed. A panel of 800mm×600mm×4mm and two web plates of 800mm×100mm×4mm were cut for actual welding, as shown in Figure 6. To ensure the accuracy of the experiment, the materials, specifications, and integrity of the cut panel and web plates were kept consistent with the materials used in the numerical simulation experiment, without considering the changes in physical properties caused by the cutting process.
The same arc welding process used in the simulation experiment was applied to weld the plates. During the experiment, controllable parameters such as welding speed, direction, and time were kept consistent with the simulation environment. As a reference experiment, the welding sequence 1-2-3-4-5-6-7-8 was used, and the welded double T-shaped thin plate is shown in Figure 7.
From the simulation experiment, we know that under this welding sequence, the maximum deformation of the plate is 2.36 cm. After observing the actual welded double T-shaped plate, visible deformation was noticed. To ensure the accuracy of the experiment, a laser distance meter was used to measure the deformation of the plate, which was found to be 2.33 cm. The error was 0.03 cm, only 1.27% of the simulated value, which is within the experimental error range. The experiment proves that the data obtained from the simulation are real and valid and can be used as data support.
4. SA Optimized BP Neural Network
To optimize the weights of the BP neural network, accelerate the convergence speed, and avoid getting trapped in local optima, this study uses a SA algorithm to optimize the BP neural network for welding sequence optimization [23]. The network is trained on different deformation values caused by various welding sequences to obtain the optimal welding sequence and results.
Figure 8 shows a typical three-layer BP neural network composed of the input layer, hidden layer, and output layer [24].
$W_{i j}$ represents the weight vector from the input layer to the hidden layer, and $W_{jl}$ represents the weight vector from the hidden layer to the output layer. The activation function for each node in the network layers is set to the commonly used ReLU (Rectified Linear Unit) function:
The input, hidden, and output layers are denoted by uppercase letters $I, J$, and $L$, respectively, with subscripts in and out denoting input and output, and subscripts $i, j$, and $l$ referring to the $i-t h, j-t h$, and $l-t h$ node in the respective layers.
The inputs and outputs for each layer are given by:
The error of the network is defined as the difference between the training output and the expected output, given by $e=L_l^{{out }}-L_l^r$. If the output layer has n nodes, the squared error between the training output and the expected output is:
where, $L_l^r$ is the expected output for the sample point.
The eight digits representing welding sequences are used as the input layer for the neural network, and the corresponding deformation values are used as the output layer. Therefore, the number of neurons in the input layer is 8, and the number of neurons in the output layer is 1. The number of neurons in the hidden layer is determined using the following empirical formula [25]:
where, $m$ is the number of neurons in the hidden layer, $n$ is the number of neurons in the input layer, $l$ is the number of neurons in the output layer, and $a$ is a constant between 1 and 10. Therefore, the number of neurons in the hidden layer is set to 10.
The SA algorithm simulates the process of solid annealing, including three stages: heating, isothermal, and cooling. During the isothermal stage, the SA algorithm accepts worse solutions with a certain probability, helping it avoid local optima and ultimately find the global optimum. In this study, Simulated Annealing is used to optimize the weights of the neural network, preventing the BP neural network from getting trapped in local minima and achieving optimization. The main steps of the algorithm are as follows:
Step 1: Algorithm Initialization
Set the initial temperature $T_0$, the length of the Markov chain $L$, construct the BP neural network, and randomly initialize the neural network weights to get the initial solution vector $S_0$.
Step 2: Perturbation
where, $\eta$ is the perturbation magnitude and $\xi$ is a random disturbance variable.
Step 3: Compute the Increment
Calculate the increment $d E=E\left(S_{k+1}\right)-E\left(S_k\right)$ of $S_{k+1}$, where $E\left(S_k\right)$ is the squared error corresponding to $S_k$.
Step 4: Metropolis Acceptance Criterion
Using the Metropolis criterion, decide whether to accept the new solution. If $d E<0$, the new solution is accepted with probability 1. Otherwise, a uniform random number $\varepsilon$ is generated in the interval [0,1]. If ε<P, the new solution is accepted; otherwise, it is rejected and the process moves to the next step:
Step 5: Inner Loop Termination Criterion
The termination condition for the inner loop is chosen as a time-consistent simulation. This means the temperature’s Markov chain length $L$ is fully traversed before performing the cooling operation.
Step 6: Cooling
The cooling operation is carried out using the commonly applied temperature decay function shown below:
where, $T_k$ is the temperature after $K$ iterations, $T_{k+1}$ is the temperature after one cooling step, and $\alpha \in$ $(0.5,0.99)$ is any constant.
Step 7: Outer Loop Termination Criterion
The outer loop termination criterion is controlled by the total number of iterations. The algorithm ends when the total number of iterations reaches the preset limit. Otherwise, the process returns to Step 2. The final flowchart of the SA-optimized BP neural network algorithm is shown in Figure 9 [26].
Through physical experiments, the reliability of the numerical simulations and the accuracy of the data have been verified. To validate the SA-BP neural network model for welding sequence optimization proposed in this study, the dataset obtained from previous simulations was selected as a sample for algorithm verification. The optimal welding sequence was determined, and the corresponding dataset was generated. Some of the data is shown in Table 1.
Weld Bead 1 | Weld Bead 2 | Weld Bead 3 | Weld Bead 4 | Weld Bead 5 | Weld Bead 6 | Weld Bead 7 | Weld Bead 8 | Type Variable |
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 2.73 |
8 | 1 | 3 | 5 | 2 | 7 | 4 | 6 | 1.07 |
6 | 5 | 3 | 1 | 8 | 2 | 7 | 4 | 2.89 |
8 | 4 | 5 | 1 | 6 | 2 | 7 | 3 | 3.85 |
3 | 6 | 2 | 4 | 5 | 1 | 8 | 7 | 2.01 |
3 | 8 | 4 | 7 | 1 | 5 | 6 | 2 | 1.47 |
7 | 6 | 3 | 4 | 2 | 5 | 1 | 8 | 3.95 |
(1) Traditional BP Neural Network Prediction of the Optimal Welding Sequence
When the unoptimized traditional BP neural network model was used for data prediction and analysis, the optimal welding sequence obtained was [1 7 3 5 4 6 8 2], with a corresponding deformation value of 1.50427.
The Mean Squared Error (MSE) was 0.00239 (rounded to five decimal places).
(2) SA-BP Neural Network Prediction of the Optimal Welding Sequence
When the optimized SA-BP neural network model was used for data prediction and analysis, the optimal welding sequence obtained was [1 7 8 6 3 4 2 5], with a corresponding deformation value of 1.18726.
The MSE was 0.00143 (rounded to five decimal places).
In Figure 10, the x-axis represents the number of network iterations, and the y-axis represents the training MSE. The dashed line represents the preset error goal, while the solid line shows how the error changes with each iteration. From subgraphs (a) and (b) of Figure 10, it can be seen that the traditional BP model reaches the optimal solution after 9 iterations, with an MSE of 1.0144. Clearly, the network gets stuck in a local optimum. In contrast, the SA-BP model reaches the optimal solution after the 4th iteration, with an MSE of 0.67388, which is much lower than that of the traditional BP neural network. Under the same training conditions, the MSE of the SA-BP model is lower than that of the BP neural network. Furthermore, from the fitting effect subgraphs (c) and (d) of Figure 10, it is evident that the SA-BP model provides better fitting results than the traditional BP neural network. Thus, it can be concluded that the SA-BP model is more likely to reach a global optimum and that the quality of the SA-BP model is better, offering more accurate predictions.
5. Conclusions
Taking the double-T thin plate as the research object, the SA-BP neural network model was used to analyze the collected data, determining the optimal welding sequence and the corresponding deformation values.
(1) To address the issue that welding sequence affects the plate deformation and, consequently, the shipbuilding accuracy, this study proposes a method combining welding numerical simulation with the SA-BP neural network. The proposed algorithm has the advantages of low computational cost and simplicity, and by optimizing the weights of the BP neural network using the SA algorithm, it avoids local minima. Verification shows that compared to the traditional BP neural network, the predicted deformation value corresponding to the optimal welding sequence decreased by approximately 21.07%.
(2) Multiple welding numerical simulations of the double-T thin plate were conducted using simulation software, and various welding sequences and corresponding deformation values were obtained. The results were organized into a dataset, which was experimentally verified for accuracy. Finally, both traditional BP neural network and SA-BP neural network models were used to validate the dataset. The traditional BP model was trapped in a local optimum, whereas the SA-BP model showed an MSE reduction of 0.00096 compared to the traditional BP neural network model. The results demonstrated higher stability and accuracy in detection.
(3) This study has achieved notable results but still has some limitations. First, the research primarily focuses on relatively simple double T-shaped thin plate structures, whereas more complex welding structures (such as multi-stiffened plates or curved plates) in real-world production may involve more variables and greater optimization challenges. Second, due to constraints on time and computational resources, the dataset used in this study is limited to 500 welding sequences, which may not fully capture all possible deformation characteristics. Additionally, while the Simulated Annealing algorithm was employed to optimize the BP neural network, the selection and tuning of algorithm parameters (e.g., initial temperature, cooling rate) were not thoroughly explored, potentially impacting the model's optimal performance. Lastly, the experimental validation was conducted under controlled conditions, which might not fully account for complex factors in real-world production environments, such as material microstructures and ambient temperature variations, potentially limiting the model's direct applicability in industrial settings.
(4) In the future, this study could be extended in several directions to enhance its applicability and effectiveness. First, the proposed method can be applied to more complex welding structures, such as multi-stiffened plates and curved panels, to verify its robustness and generalizability. Second, larger and more diverse datasets could be generated using high-performance computing resources, allowing for better coverage of complex welding scenarios and improving model accuracy. Third, further research could focus on optimizing the parameters of the Simulated Annealing algorithm and conducting sensitivity analyses to identify the optimal settings for enhanced model performance. Additionally, multi-objective optimization approaches could be explored by incorporating other factors such as residual stress, production cost, and welding efficiency, providing a more comprehensive solution for industrial applications. Finally, practical experiments in real-world production environments should be conducted to validate the model’s effectiveness, assess its industrial feasibility, and refine it based on feedback from actual implementation.
The data used to support the research findings are available from the corresponding author upon request.
The authors declare no conflict of interest.