Pressure-resistant shell welding process optimization method considering welding environment
By combining the XGBoost integrated model and the multi-objective particle swarm optimization algorithm to optimize the welding process parameters, the problem of high welding energy consumption and carbon emissions in the manufacturing of the deep-sea space station's external pressure hull has been solved, achieving a reduction in energy consumption and carbon emissions, and improving Production efficiency and material utilization.
Patent Information
- Application Number
- CN202410949353.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-09-27
AI Technical Summary
The existing welding process accounts for more than 40% of the total energy consumption and carbon emissions during the manufacturing process of the external pressure hull of the deep-sea space station, and cannot meet the optimization of process parameters in the gas shielded welding method for annular structures, and cannot effectively reduce energy consumption. and carbon emissions.
A method combining the XGBoost integrated model and the multi-objective particle swarm optimization algorithm (MOPSO) is used to optimize the welding process parameters, including welding voltage, welding current and welding speed, to reduce welding energy consumption and carbon emissions.
This method significantly reduces welding energy consumption and carbon emissions, enables more accurate selection of process parameters, reduces processing costs, and improves material utilization and production efficiency.
Smart Images

Figure CN118709569A
Abstract
Description
Technical Field
[0001] The invention relates to welding process optimization, and in particular to a pressure shell welding process optimization method taking welding environment into consideration. Background Art
[0002] The external pressure hull of the deep-sea space station is the foundation and core for ensuring the safety of the staff and the operation of the equipment. It can not only provide a stable free space for the space station, but also meet the high-strength pressure resistance requirements in the deep-sea environment. The welding process in the segmented annular pressure hull processing method is the core technology to ensure the airtightness of the pressure hull, and the energy consumption and carbon emissions of the welding process in the overall manufacturing process of the pressure hull account for more than 40% of the total. Therefore, how to reduce energy consumption and carbon emissions while ensuring the completion of processing tasks, so as to meet the requirements of economic and energy-efficient green manufacturing, has received widespread attention from scholars from all parties.
[0003] In terms of process optimization design, the welding process parameter optimization method based on welding quality, cost and carbon emissions with application number CN202310113961.2 discloses a process optimization method based on MLP. However, this method cannot meet the process parameter optimization of the pressure hull annular structure in the gas shielded welding method, and cannot meet the complex welding process of the pressure hull structure. Summary of the invention
[0004] Purpose of the invention: In view of the above problems, the present invention provides a method for optimizing the welding process of a pressure hull taking the welding environment into consideration.
[0005] Technical solution: To solve the above problems, the present invention adopts a pressure shell welding process optimization method considering the welding environment, comprising the following steps:
[0006] S1: Select the process parameters that affect the pressure shell welding energy consumption and carbon emissions, and obtain the sample set of welding energy consumption and carbon emissions corresponding to the process parameter settings during the pressure shell welding process under different welding environments;
[0007] S2: Train and test the XGBoost integrated model based on the sample set to obtain the regression prediction model of the functional relationship between welding energy consumption and carbon emissions and welding environment and process parameters;
[0008] S3: Combined with the regression prediction model, with the reduction of welding energy consumption and carbon emissions as the optimization goal, the process parameters are used as decision variables, and the multi-objective particle swarm optimization algorithm MOPSO is used to optimize the process parameters and find the optimal solution.
[0009] Furthermore, the process parameters include welding voltage, welding current and welding speed.
[0010] Furthermore, the target optimization model with the optimization goal of reducing welding energy consumption and carbon emissions is:
[0011]
[0012] Among them, EC is the mechanism model of welding energy consumption, CE is the mechanism model of carbon emission, and EC xg The regression prediction model of welding energy consumption based on XGBoost, CE xg is the regression prediction model of carbon emissions based on XGBoost, i a is the welding current, v o is the welding voltage, s f is the welding speed, d is the energy consumption correction parameter, T is the duration of the entire welding process, α env is the processing environment influencing factor, η elec (t) is the carbon emission function of electric energy, which varies with the duration of the welding stage. b1, b2, b3, b4, b5 and b6 are calibration coefficients obtained by fitting the experimental data. amin is the minimum value of welding current, i amax is the maximum value of welding current, v omin is the minimum value of welding voltage, v omax is the maximum value of welding voltage, s fmin is the minimum welding speed, s fmax The maximum welding speed.
[0013] Furthermore, in step S2, the XGBoost ensemble model is trained and tested according to the sample set by gradient boosting. In each iteration of the XGBoost ensemble model, a new tree model is added to minimize the model objective function. The model objective function is expressed as:
[0014]
[0015] Among them, l() is the loss function, y i is the measured value of the i-th sample, y i is the predicted value of the i-th sample, n is the number of samples, Ω(f x ) is the regular term of the x-th tree model.
[0016] Furthermore, after obtaining the regression prediction models of the functional relationship between welding energy consumption and carbon emissions and the welding environment and process parameters, the process parameters are used as the input parameters of the model, and the welding energy consumption or carbon emissions are used as the output, so as to obtain the predicted welding energy consumption or carbon emissions corresponding to the process parameters. The predicted welding energy consumption and carbon emissions are used as the individual fitness values of the multi-objective particle swarm optimization algorithm to optimize the process parameters.
[0017] Furthermore, the optimization steps of the multi-objective particle swarm optimization algorithm are:
[0018] S31: Initially set the model parameters, take the target optimization model as the objective function, initialize the particle swarm dominant set and non-dominated set, randomly assign coordinates, set the initial weight coefficient and parameter constraint range;
[0019] S32: The welding energy consumption and carbon emission predicted according to the corresponding process parameters are used as the objective function of the individual fitness input optimization, and the coordinates and speed of each particle are updated;
[0020] S33: Calculate particle extreme value P best , and do layered processing, and use the Pareto frontier solution to calculate the global optimal value P gest ;
[0021] S34: Introduce disturbance factors to prevent MOPSO from falling into local optimal solutions;
[0022] S35: Repeat step S32 until the number of iterations meets the termination condition, and output the final optimal process parameter group.
[0023] Furthermore, the updating formula of the particle coordinates and velocity in step S32 is:
[0024] v mn (t+1)=ωv mn (t)+c1×rand 1n ×(P ibest -x mn (t))+c2×rand 2n ×(P gest -x mn (t))
[0025] x mn (t+1)=x mn (t)+v mn (t+1)
[0026] Among them, v mn (t+1) represents the update speed of the particle at the next moment, v mn (t) represents the update speed of the particle at this moment, ω represents the inertia weight, c1 and c2 represent the learning rate, and rand 1n 、rand 2n Represents a uniformly distributed random number between (0,1), P ibest represents the optimal position of the i-th particle at time t, P gest represents the optimal position to search, x mn (t) represents the coordinates of the particle at this moment, x mn (t+1) represents the updated coordinates of the particle at the next moment.
[0027] Beneficial effect: Compared with the prior art, the significant advantage of the present invention is that it selects to use general welding parameters as independent variables while considering the welding environment, has strong scalability, integrates the XGBoost model and the multi-objective particle swarm optimization algorithm (MOPSO), completes the prediction and parameter optimization of the pressure hull welding process in terms of energy consumption and carbon emissions, and makes the selection of process parameters more accurate. In the future manufacturing process of the pressure hull, the processing cost is effectively reduced, and the material utilization rate and production efficiency are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a schematic diagram of the overall process of the process optimization method of the present invention.
[0029] Figure 2 This is the topological structure diagram of XGBoost-MOPSO in the present invention. DETAILED DESCRIPTION
[0030] like Figure 1 As shown, in this embodiment, a pressure hull welding process optimization method considering the welding environment includes the following steps:
[0031] S1: Preliminary analysis of the structure and forming process of the segmented pressure hull is used as the basis for determining the optimization target value; the optimization targets of pressure hull welding are welding energy consumption and carbon emissions.
[0032] S2: Select the process parameters that affect the optimization target value of the pressure shell welding, and obtain the sample set of welding energy consumption and carbon emissions corresponding to the process parameter settings during the pressure shell welding process under different welding environments; the selected optimized process parameters are welding voltage, welding current, and welding speed.
[0033] S3: Based on the sample set, the XGBoost integrated model is trained and tested to obtain the regression prediction models of the functional relationship between welding energy consumption and carbon emissions and welding environment and process parameters.
[0034] The main process of establishing the random forest regression prediction model is: collecting input parameters and energy consumption and carbon emission information → extracting signal features → discriminator screening energy consumption and carbon emission features → using the original data set to train the regressor → outputting energy consumption and carbon emission prediction values.
[0035] This is achieved through gradient boosting. In each iteration, a new tree model h is added to minimize the model objective function, which can be expressed as:
[0036]
[0037] Among them, l() is the loss function, y i is the measured value of the i-th sample, y iis the predicted value of the i-th sample, n is the number of samples, Ω(f x ) is the regular term of the x-th tree model;
[0038] The XGBoost hyperparameters are set as follows: the number of weak classifiers n_estimators is 500, the learning rate learning_rate is 0.2, and the maximum tree depth max_depth of the weak classifier is 3.
[0039] The sample set of the pressure shell welding process is divided into a training set and a test set, which are used to train the learner and verify the learning effect of the learner respectively; the sample data set is randomly sorted, and 75% is used as the training set and 25% is used as the test set. In this embodiment, the welding voltage is 8-18V, the welding current is 80-160A, the welding speed is 3-15cm / min, the welding method is tungsten inert gas shielded arc welding, and the flow rate is 10-20L / min.
[0040] The method was verified using a three-factor three-level orthogonal design experimental scheme. The experimental factor table is shown below:
[0041] Table 1 Welding factor level table
[0042] level Welding voltage / V Welding current / A <![CDATA[Welding speed / cm×min -1 > 1 8 80 3 2 13 120 9 3 18 160 15
[0043] S4: Figure 2 As shown in the figure, combined with the integrated learning regression prediction model, with the reduction of welding energy consumption and carbon emissions as the optimization goal, the process parameters are used as decision variables, and the multi-objective particle swarm optimization algorithm (MOPSO) is used to optimize the process parameter group and find the optimal solution.
[0044] The target optimization model with the optimization goal of reducing welding energy consumption and carbon emissions is:
[0045]
[0046] Among them, EC is the mechanism model of welding energy consumption, CE is the mechanism model of carbon emission, and EC xg The regression prediction model of welding energy consumption based on XGBoost, CE xg is the regression prediction model of carbon emissions based on XGBoost, i a is the welding current, v o is the welding voltage, s f is the welding speed, d is the energy consumption correction parameter, T is the duration of the entire welding process, α env is the processing environment influencing factor, η elec (t) is the carbon emission function of electric energy, which varies with the duration of the welding stage. b1, b2, b3, b4, b5 and b6 are calibration coefficients obtained by fitting the experimental data. aminis the minimum value of welding current, i amax is the maximum value of welding current, v omin is the minimum value of welding voltage, v omax is the maximum value of welding voltage, s fmin is the minimum welding speed, s fmax The maximum welding speed.
[0047] The optimization steps of the multi-objective particle swarm optimization algorithm (MOPSO) are:
[0048] (1) Initially set the model parameters, take the optimization target task as the objective function, initialize the particle swarm dominant set and non-dominated set, randomly assign coordinates, and set the initial weight coefficient; the particle swarm hyperparameters are set as follows: population size is 50, maximum number of iterations is 500, weight is 0.5-0.85, and learning factor is 0.2.
[0049] (2) The energy consumption and carbon emissions predicted by the process parameter group are used as the individual fitness values of the optimization model;
[0050] (3) Set the parameter constraint range and establish the optimization objective function;
[0051] Based on the individual fitness input in step (2), the objective function is optimized and the coordinates and speed of each particle are updated; the formula for updating the individual coordinates and speed of the particle is:
[0052] v mn (t+1)=ωv mn (t)+c1×rand 1n ×(P ibest -x mn (t))+c2×rand 2n ×(P gest -x mn (t))(3)
[0053] x mn (t+1)=x mn (t)+v mn (t+1) (4)
[0054] Among them, v mn (t+1) represents the update speed of the particle at the next moment, v mn (t) represents the update speed of the particle at this moment, ω represents the inertia weight, c1 and c2 represent the learning rate, and rand 1n 、rand 2n Represents a uniformly distributed random number between (0,1), P ibest represents the optimal position of the i-th particle at time t, P gest represents the optimal position to search, x mn(t) represents the coordinates of the particle at this moment, x mn (t+1) represents the updated coordinates of the particle at the next moment.
[0055] (4) Calculate the particle extreme value P best , and do layered processing, and use the Pareto frontier solution to calculate the global optimal value P gest ;
[0056] (5) The introduction of disturbance factors has prevented MOPSO from falling into the local optimal solution, thereby improving the overall optimization performance of PSO;
[0057] (6) Set the maximum number of iterations and repeat step (2) to output the final optimal process parameter set.
[0058] Based on the results of the MOPSO optimization process, the optimal process parameter group is calculated using Pareto.
[0059] [i a ,v o ,s f ]=[82.3,10.5,6.2], as shown in Table 2, which is the comparison of parameters before and after optimization.
[0060] Table 2 Comparison of parameters before and after optimization
[0061] Welding voltage / V Welding current / A <![CDATA[Welding speed / cm×min -1 > Energy consumption / J <![CDATA[Carbon emissions / CO2e]]> 80 13 9 267.9 5.05 82.3 10.5 6.2 251.8 4.61
[0062] It can be seen that compared with the process parameter group with the minimum energy consumption and carbon emissions used in the existing process, the energy consumption is reduced by 6% and the carbon emissions are reduced by 8.7%, as shown in Table 2.
Claims
1. A method for optimizing the welding process of a pressure hull considering the welding environment, characterized in that: The following steps are involved: S1: Select the process parameters that affect the pressure shell welding energy consumption and carbon emissions, and obtain the sample set of welding energy consumption and carbon emissions corresponding to the process parameter settings during the pressure shell welding process under different welding environments; S2: Train and test the XGBoost integrated model based on the sample set to obtain the regression prediction model of the functional relationship between welding energy consumption and carbon emissions and welding environment and process parameters; S3: Combined with the regression prediction model, with the reduction of welding energy consumption and carbon emissions as the optimization goal, the process parameters are used as decision variables, and the multi-objective particle swarm optimization algorithm MOPSO is used to optimize the process parameters and find the optimal solution.
2. The pressure hull welding process optimization method according to claim 1, characterized in that: The process parameters include welding voltage, welding current and welding speed.
3. The pressure hull welding process optimization method according to claim 1, characterized in that: The target optimization model with the optimization goal of reducing welding energy consumption and carbon emissions is: Among them, EC is the mechanism model of welding energy consumption, CE is the mechanism model of carbon emission, and EC xg The regression prediction model of welding energy consumption based on XGBoost, CE xg is the regression prediction model of carbon emissions based on XGBoost, i a is the welding current, v o is the welding voltage, s f is the welding speed, d is the energy consumption correction parameter, T is the duration of the entire welding process, α env is the processing environment influencing factor, η elec (t) is the carbon emission function of electric energy, which varies with the duration of the welding stage. b1, b2, b3, b4, b5 and b6 are calibration coefficients obtained by fitting the experimental data. amin is the minimum value of welding current, i amax is the maximum value of welding current, v omin is the minimum value of welding voltage, v omax is the maximum value of welding voltage, s fmin is the minimum welding speed, s fmax The maximum welding speed.
4. The pressure hull welding process optimization method according to claim 1, characterized in that: In step S2, the XGBoost ensemble model is trained and tested according to the sample set by gradient boosting. In each iteration of the XGBoost ensemble model, a new tree model is added to minimize the model objective function. The model objective function is expressed as: Among them, l() is the loss function, y i is the measured value of the i-th sample, y i is the predicted value of the i-th sample, n is the number of samples, Ω(f x ) is the regular term of the x-th tree model.
5. The pressure hull welding process optimization method according to claim 4, characterized in that: The sample sets are randomly sorted, and 75% are used as training sets and 25% as test sets.
6. The pressure hull welding process optimization method according to claim 5, characterized in that: After obtaining the regression prediction models of the functional relationship between welding energy consumption and carbon emissions and welding environment and process parameters, the process parameters are used as the input parameters of the model, and the welding energy consumption or carbon emissions are used as the output, so as to obtain the predicted welding energy consumption or carbon emissions corresponding to the process parameters. The predicted welding energy consumption and carbon emissions are used as the individual fitness values of the multi-objective particle swarm optimization algorithm to optimize the process parameters.
7. The pressure hull welding process optimization method according to claim 6, characterized in that: The optimization steps of the multi-objective particle swarm optimization algorithm are: S31: Initially set the model parameters, take the target optimization model as the objective function, initialize the particle swarm dominant set and non-dominated set, randomly assign coordinates, set the initial weight coefficient and parameter constraint range; S32: The welding energy consumption and carbon emission predicted according to the corresponding process parameters are used as the objective function of the individual fitness input optimization, and the coordinates and speed of each particle are updated; S33: Calculate particle extreme value P best , and do layered processing, and use the Pareto frontier solution to calculate the global optimal value P gest ; S34: Introduce disturbance factors to prevent MOPSO from falling into local optimal solutions; S35: Repeat step S32 until the number of iterations meets the termination condition, and output the final optimal process parameter group.
8. The pressure hull welding process optimization method according to claim 7, characterized in that: The updating formula of particle coordinates and velocity in step S32 is: v mn (t+1)=ωv mn (t)+c1×rand 1n ×(P ibest -x mn (t))+c2×rand 2n ×(P gest -x mn (t)) x mn (t+1)=x mn (t)+v mn (t+1) Among them, v mn (t+1) represents the update speed of the particle at the next moment, v mn (t) represents the update speed of the particle at this moment, ω represents the inertia weight, c1 and c2 represent the learning rate, and rand 1n 、rand 2n represents a uniformly distributed random number between (0,1), P ibest represents the optimal position of the i-th particle at time t, P gest represents the optimal position to search, x mn (t) represents the coordinates of the particle at this moment, x mn (t+1) represents the updated coordinates of the particle at the next moment.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Automatic welding control method and device for copper heat dissipation bottom plate
CN119310858A
Multi-objective optimization method for steel / aluminum dissimilar metal laser welding
CN119475964A
