Next Article in Journal
Evaluation of the Transverse Crack Depth of Rail Bottoms Based on the Ultrasonic Guided Waves of Piezoelectric Sensor Arrays
Next Article in Special Issue
Fast Inline Microscopic Computational Imaging
Previous Article in Journal
A Predefined-Time Control for the Laser Acquisition in Space Gravitational Wave Detection Mission
Previous Article in Special Issue
An Augmented Reality-Assisted Prognostics and Health Management System Based on Deep Learning for IoT-Enabled Manufacturing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Thermal Error Prediction and Compensation of Digital Twin Laser Cutting Based on T-XGBoost

1
School of Mechanical Engineering, Dalian Jiaotong University, Dalian 116042, China
2
Army Artillery and Air Defense Academy Sergeant School, Shenyang 110000, China
3
College of Locomotive and Rolling Stock Engineering, Dalian Jiaotong University, Dalian 116042, China
4
School of Mechanical and Electrical Engineering, Shanxi Datong University, Datong 037009, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(18), 7022; https://doi.org/10.3390/s22187022
Submission received: 16 August 2022 / Revised: 13 September 2022 / Accepted: 14 September 2022 / Published: 16 September 2022
(This article belongs to the Special Issue Advanced Sensing Technology and Data Analytics in Smart Manufacturing)

Abstract

:
Laser cutting belongs to non-contact processing, which is different from traditional turning and milling. In order to improve the machining accuracy of laser cutting, a thermal error prediction and dynamic compensation strategy for laser cutting is proposed. Based on the time-varying characteristics of the digital twin technology, a hybrid model combining the thermal elastic–plastic finite element (TEP-FEM) and T-XGBoost algorithms is established. The temperature field and thermal deformation under 12 common working conditions are simulated and analyzed with TEP-FEM. Real-time machining data obtained from TEP-FEM simulation is used in intelligent algorithms. Based on the XGBoost algorithm and the simulation data set as the training data set, a time-series-based segmentation algorithm (T-XGBoost) is proposed. This algorithm can reduce the maximum deformation at the slit by more than 45%. At the same time, by reducing the average volume strain under most working conditions, the lifting rate can reach 63% at the highest, and the machining result is obviously better than XGBoost. The strategy resolves the uncontrollable thermal deformation during cutting and provides theoretical solutions to the implementation of the intelligent operation strategies such as predictive machining and quality monitoring.

1. Introduction

There are significant improvements in processing new styles of metallic materials in many pillar industries, such as aerospace and transportation, attributable to the rapid development of the intelligent manufacturing. Meanwhile, the requirement of the accuracy and reliability of laser cutting is continuously increasing. As a representative of non-contact processing, the accuracy indicators of laser cutting are different from those of the traditional machine tools. The traditional NC machining is mainly turning and milling. Tool wear directly affects energy consumption [1], cutting force [2], surface quality of the workpiece [3], residual stress distribution of the workpiece surface [4], and production cost [5] during cutting. Different from the traditional machine tool, there are no errors caused by the induced force during the laser-cutting process. Instead, 70% of the errors are caused by thermal error during the laser-cutting process, which is the largest source of errors. Therefore, it is reasonable to conclude that the machine with a lower percentage of thermal errors has a higher accuracy [6,7,8].
There are a large number of in-depth studies on the thermal error of machine tools from domestic and international scholars, which mainly focused on the empirical thermal error model and the theoretical thermal error model [9]. The empirical thermal error model usually refers to the best processing parameters obtained through repeated processing and experiments. This method not only wastes a lot of manpower and material resources, but also has no reference value for other material processing. However, the limitations of empirical thermal error compensation methods are highlighted given that the operators cannot perform real-time manual error compensation during the automated CNC control process, which has been increasingly utilized in practice nowadays. Thermal errors in the processes can be accurately predicted and reasonably avoided by using theoretical error models. Zhao et al. [10] simulated the temperature field and deformation field of the machine tool spindle using the finite element (FEM) method and optimized the temperature sensitive point. Zhang et al. [11] took the whole machine tool as the research object and discussed the FEM thermal boundary conditions of the spindle system. Wu et al. [12] used FEM to model the thermal error of the screw feed system. FEM is widely used in the thermal error modeling of traditional contact machine tool processing. However, it is seldom used in non-contact cutting. The simulation accuracy is high when the boundary conditions are not complicated. However, the boundary conditions usually need to be re-tested and optimized and cannot be directly used for thermal error compensation [9].
Some scholars built thermal deformation prediction models by using machine learning. Fujishima et al. [13] proposed a new compensation method using a deep-learning algorithm to compensate for thermal deformation in the machine structure. Postel et al. [14] designed a method for inverse identification and prediction of parameters during cutting operations. Lin et al. [15] proposed a method to predict the transverse and tensile strength of SPR joints based on the XGBoost algorithm and verified that the prediction error was less than 7.6%. One of the advantages of using machine-learning algorithms to predict thermal deformation is that the model is scalable which means with more data from machine processing and algorithm optimization, the accuracy of the prediction can be improved accordingly. However, it is time consuming and expensive to obtain a large set of data to achieve a more accurate prediction. To solve this problem, Liu et al. [16] proposed a method based on FEM and artificial neural network (ANN) models for predicting and compensating deformations in machine tools with a two-machine riveting system. The machining accuracy is improved.
Currently, the research on thermal errors in machine tools is mainly focused on the contact machining, such as turning and milling. Dynamic optimization methods have mostly focused on tool wear detection for contact machining [17]. There is limited research on the thermal error in the field of non-contact machining, including laser cutting. The precision of the laser cutting is greatly affected by the machined parts being processed and the processing conditions. As a result, a FEM-model-driven solution or data-driven solution cannot meet the real-time requirements. Digital twinning technology realizes the accurate mapping of physical entities in digital space and promotes the interaction between laser cutting workshops and intelligent systems. With the help of the concept, this paper constructs the transmission of processing information between physical and virtual entities [18,19]. To establish a laser cutting thermal error prediction and compensation model based on the mapping ability of the digital twin technology to time-varying characteristics [13], it is necessary to consider the whole life cycle of processing [20]. It not only analyzes the changes in machine tool performance but also processing parameters in the time dimension. In addition, the prediction simulation before machining is added and the cutting process is further optimized by using the prediction information. Therefore, this paper proposes a prediction and compensation method for thermal deformation of laser cutting based on digital twin technology, beyond the existing thermal error compensation schemes for contact machining, which adopts the hybrid modeling techniques of “model-driven and data-driven”. It uses the thermo-elastic–plastic finite element (TEP-FEM) model to obtain real-time thermal deformation data and the prediction ability of the XGBoost algorithm to improve the accuracy of laser-cutting process parameters.

2. Materials and Methods

2.1. The Main Characteristics of Laser Cutting Accuracy

Laser cutting is widely used due to its high speed and high precision. The overall precision of laser cutting is determined by the machine performance, laser performance, properties of the workpiece, processing parameters, and processing phenomena, see Figure 1. However, it is difficult to study the main characteristics of real-time machining accuracy based on the machine performance and the long decay period of the laser generator [21].
For a known type of material, the laser cutting accuracy is primarily determined by the processing parameters and the thermal phenomenon during the cutting process. In addition, the heat absorbed by the workpiece is impacted by the cutting speed. During the cutting process, the surface temperature field and the structure field of the workpiece form a solid–thermal coupling [4], resulting in thermal expansion. Therefore, the cutting speed is selected as the main characteristic for the variation in laser cutting accuracy.

2.2. Material

Laser cutting is commonly used to alloy materials. Beyond alloy material, it has been increasingly used on highly reflective materials with the development of laser cutting technology. In this paper, the cutting processes of three common materials in industry are analyzed, i.e., high-speed steel (W18Cr4V), carbon structural steel (Q235A), and 2A12 aluminum alloy, of which the 2A12 aluminum alloy is a highly reflective material and needs surface treatment. It is found in the preliminary research that the specific heat capacity and thermal conductivity of the material can impact the processing quality during the cutting process to certain extent, therefore, it is also considered as a variable factor in the modeling [22]. The physical properties of the material are shown in Table 1 [23].

2.3. Initial Conditions

The performance of the laser cutting machine can significantly impact the cutting accuracy. Therefore, the research group cooperated with Dalian Locomotive Technician College and used the highly precise machine, Swiss Bystronic BySmart Fiber3015 cutting machine, as the processing equipment, which is equipped with the Fiber 3000 laser. Table 2 below shows the actual parameters when cutting the three types of material selected as previously mentioned as initial data for modeling, each with four thicknesses that are commonly used in practice.

2.4. Hybrid Model Methods

Most of the existing laser cutting parameter optimization schemes are empirical models, which improve the cutting accuracy by adjusting the cutting speed based on a large amount of processing results. Although are they time-consuming and labor-intensive with high costs, those models also do not sufficiently consider the impact on the slit from the changes in the laser generator motion from time to time.
The cutting speed varies during the operation of the laser cutting machine, especially in the beginning and end stages. A full-cycle speed optimization strategy can be established utilizing the time-varying mapping capability of digital twin technology. The method steps are as follows, as shown in Figure 2:
  • Establish the laser heat source model;
  • Establish the thermal deformation theoretical model;
  • Establish a visual TEP-FEM simulation model and obtain real-time thermal deformation data;
  • Use the factory’s mature technical parameters to verify the rationality of the TEP-FEM model;
  • Use the TEP-FEM dataset as the training dataset on T-XGBoost to optimize the actual processing data;
  • The optimized thermal deformation is used as the offset to compensate the real-time error of the cutting speed.
Among them, the processing parameters used in step 4 are provided by Dalian Locomotive Technical College and the verification method is shown in reference [22].
As a result, the virtual cutting accuracy prediction and analysis is achieved through the high approximation simulation under the hybrid model of “model-driven and data-driven”, which is driven by the ability of transmission of virtual and real information introduced by the digital twin technology.

2.4.1. Heat Source Model

The laser cutting equipment has a complex structure. During the machining process, there is no contact between the cutting equipment and the workpiece, except for the bracket fixing the workpiece. The impact on the simulation results of the rest of the complex structure of the laser cutting equipment is minimal. Therefore, it is reasonable to simplify the mechanical part as the laser heat source. The laser is not a uniform heat source and the equation of the heat flow density is:
q ( x , y ) = q m · e K ( x 2 + y 2 )
q m = P · K π
q m is the maximum heat flow in the center of the heat source, P is the total power of the heat source, and K is the heat source concentration coefficient. The heat flow density at any point (x, y) is related to its distance from the central maximum heat source point. In another word, the closer to the central point, the higher the heat flow density. The margin of heat flow density is related to the heat source concentration factor. The heat source concentration is modeled with a power of 3000 W and a laser focus radius of 2 mm, as shown in Figure 3. The model is established by COMSOL 5.4. The research object within this paper is a thin steel plate, which is one of the primary workpiece types processed by laser cutting and widely used in the industry. Another major type of workpiece processed by laser cutting is steel pipe. However, the performance of cutting steel pipe is limited by the fixture and has no obvious advantages in high-speed processing.

2.4.2. Finite Element Model

The thin steel plates using laser cutting technology are primarily thin-walled parts with thicknesses of 0.5~12 mm. It is appropriate to divide thin plate parts into triangular elements. Mesh refinement is performed at the slits to enhance the calculation accuracy and reduce the waste of material. The refinement is performed on the longest side of the workpiece since the slit will be much larger than the light spot during the cutting process with high speed. If the grid at the slit was larger than the laser spot radius, it would severely affect the simulation accuracy as the middle part would be skipped.
The heat source model in Section 2.4.1 shows that the laser heat source is concentrated with a large temperature gradient. Therefore, it is necessary to refine the meshes on the moving path of the heat source to truly reflect the temperature change and deformation of the area affected by the laser heat source. The mesh at the slit is encrypted four times by mesh irrelevance verification, and the mesh division is shown in Figure 4.
In addition to the mesh model, the variation in material properties of the processed workpiece with temperature is introduced in the modeling process. The changes in thermal conductivity and specific heat capacity are embedded in the model, and the specific data are shown in Table 1.

2.4.3. Boundary Conditions

The characteristics of the heat transfer in laser processing follow Fourier’s law, which includes three basic modes of heat conduction, heat convection, and heat radiation. Heat loss exists in every thermal phenomenon in the cutting process, and the boundary conditions are divided into three categories, as shown in Formula (3).
{ T Γ 1 = T ( Γ , t )   n · ( k T ) Γ 2 = q s ( Γ , t ) n · ( k T ) Γ 3 = ε σ ( T amb 4 T 4 )
The first type of boundary condition describes the temperature distribution on the system boundary, where Γ is the boundary range, T is the temperature, and t is the time. When T Γ 1 is a constant, it is a steady state condition, and when T(Γ, t) is expressed as a time function, it is an unsteady heat source. The second type of boundary condition describes whether there is heat inflow or outflow on the boundary, where q s is the heat flux density, and n is the direction of the normal line outside the system boundary. When T n Γ 2 = 0 , it is an adiabatic boundary; when T n Γ 2 is a constant, it is a constant heat flow boundary; when T n Γ 2 is a time-dependent function, it is a non-constant heat flow boundary. During the cutting process, the laser heat source moves along the cutting trajectory with the constant cutting speed, therefore, it is a non-stationary and non-constant heat flow boundary, which varies from time to time.
The whole machining process is simulated by the TEP-FEM simulation method. Considering three heat loss modes, heat conduction, heat convection, and heat radiation, complete boundary conditions are formulated to improve the simulation accuracy. The research of Gutiérrez G. et al. [24,25] mostly refers to the consideration of the thermal radiation mode but ignores the influence of thermal convection and thermal radiation. Although the influence of thermal convection and thermal radiation on deformation is less than that of thermal convection [26], when the machining accuracy reaches or exceeds the nanometer level, it still directly affects the yield. All should be considered in high-speed and high-precision cutting.
The third type of boundary condition describes the heat exchange between the system and the outside environment. k is the heat transfer coefficient, ε is the surface emissivity, σ is the Stefan–Boltzmann constant, and T a m b is the ambient temperature. The heat absorptivity of the high-reflectivity material surface is low, and as a result it is the part with the largest heat loss during the laser-cutting process. Q235 has a better surface heat absorption rate of 70%, and the rate of W18Cr4V can also reach 60%. The absorption rate of 2A12 aluminum alloy is only about 10% before the surface refinement. If the surface is simply refined using the carbon ink with a good absorption rate, the absorption rate can increase to 42.32% [27]. The wind speed in the closed or semi-open workshop space is less than 0.15 m/s, which approximates the natural air heat transfer. The temperature variant during processing is large, but the heated area is small. The laminate material has a large area in contact with the air and has better heat dissipation performance. The air heat transfer coefficient is 10, and the processing ambient temperature is room temperature of 20 °C.
At present, most research only considers the influence of heat conduction but ignores the heat convection and heat radiation. For high-precision machining, any heat loss will affect the simulation accuracy. All three heat transfer conditions are considered in this model.

2.4.4. Temperature Field

Based on the data in Section 2.2 and Section 2.3, the finite element model is established using the above method. By simulating the relative motion between the laser heat source and the workpiece, the heat transfer phenomenon in the cutting process is analyzed.

2.4.5. Thermal Deformation

During the laser-cutting process, the heat source moves at a high speed and heats the slit spot, causing the thermal expansion and elastic deformation at the slit, which lasts for a short time, and gradually recovers after the heat source passes through. When the thermal stress in the heated area exceeds the yield limit of the material, plastic deformation occurs, which has a significant impact on the machining accuracy [28,29]. Based on the temperature field analysis in Section 2.4.4, the solid–thermal method is carried out to analyze the deformation during the machining process.

2.4.6. T-XGBoost Model

XGBoost, an emerging integrated learning algorithm, improves the prediction stability and accuracy by combining multiple weak learners with a strong learner. Ma et al. used the XGBoost algorithm to predict the classification and sensitivity for clay materials [30]. It was also verified that the prediction performance of the XGBoost is better than Artificial Neural Network (ANN) and Bayesian (NB), and this algorithm is considered more suitable for the engineering industry. Bae et al. used the XGBoost algorithm to predict solar photovoltaic power generation. They also compared the accuracy with that of the Long–Short Memory method (LSTM) and the Mean Error method (MAPE) and verified the unique advantages of the XGBoost algorithm for energy conversion [31]. It improves the performance of boosting models through pruning, parallelization, and term regularization by using the XGBoost algorithm and reduces the overfitting of the traditional decision tree algorithms. The XGBoost algorithm has been gradually applied in various fields [32], and currently is rarely used in the laser-cutting process. The XGBoost regression of the prediction value calculation [33,34] is shown in (4):
y t ^ = k = 1 K f k ( x t ) , f k F
y t ^ represents the predicted value, f k () represents the kth tree model, x t represents the input features, and t represents the number of trees, which represents the functional space consisting of a set of trees. The objective function in the XGBoost regressor includes a regularization term [28,29], as shown in (5):
O b j = t = 1 n l ( y t , y t ^ ) + k = 1 K Ω ( f k )
l() represents the mean square error (MSE) of the loss function, y t represents the actual value, and Ω() represents the regularization term that causes loss to the model complexity, as shown in Equation (6):
Ω ( f ) = γ T + 1 2 λ j = 1 T ω j 2
where T represents the time point, ω j represents the thermal deformation amount at the corresponding time point, and γ and λ represent the penalty factors.
Predictions are made using the XGBoost algorithm tree by utilizing the resulting branched data based on the input features. This paper proposes a segmentation model in the time series (T-XGBoost model). Given the target data can be from different stages, different prediction models can be established for each specific stage by using the tree structure of the XGBoost algorithm to combine the classification task and the regression task. The T-XGBoost model uses different training data sets for different stages of the prediction target. The booster parameter is set to gbtree, the model is a tree-based model, and hyperparameter tuning is performed for maximum depth, minimum weight, and subsamples. The termination conditions are set according to the machining accuracy requirements, and other parameters remain default. To improve the accuracy of the model and reduce the learning time, the thermal deformation in Section 2.4.5 is used as the training dataset for different stages. The prediction process is shown in Figure 5.

3. Results

3.1. Temperature Field Results

Based on the data in Section 2, TEP-FEM modeling simulations were used for the 12 working conditions to obtain the transient temperature clouds of the cutting process, the temperature variation curves at specific points, and maximum temperature variation curves of the machined part in the whole domain with time.
Take condition 2 as an example, Figure 6 shows the cloud diagram of the temperature field at a certain time of laser cutting. It is shown in Figure 7 that the temperature change curve is at the slit at this time. The highest temperature position corresponding to the laser focus position is 1185.5 °C. Figure 8 shows the maximum temperature value of the thin plate. At the beginning of cutting, the temperature at the cutting seam rises rapidly and reaches a stable value at 0.015 s. After stabilization, it fluctuates up and down around the maximum value, and the average stable temperature is 1183.5 °C. It is cooled naturally after cutting.
Using the data obtained above, the mean value of the extreme heating time and the stable temperature was calculated via logistic regression and statistical analysis based on the Levenberg Marquardt algorithm and the Gauss–Newton linear model (instead of a nonlinear function), as shown in Table 3.
Working conditions 1–4 use the same material W18Cr4V, and the thickness gradually increases. The time for condition 1 to reach stability is slightly longer than condition 2, which is 0.032 s. Under conditions 2–4, the stabilization time gradually becomes longer. The lowest stable temperature of the four working conditions is 1161.87 °C, and the highest is 1197.89 °C. The processed material is Q235 under working conditions 5–8. With the increase in the thickness, the time to reach the stable temperature increases, and the longest time is 0.84 s. The average stable temperature is close, all falling within the range of 1473.03 °C~1486.95 °C. The processed material is 2A12 aluminum alloy under working conditions 9–12. With the increase in the thickness, the stable temperature increases from 0.02 to 1.6 s. The stable temperature of working condition 9 is close to that of working condition 12, which is 676.36 and 674.94 °C. The stable temperature of working conditions 10 and 11 is slightly higher, reaching 762.72 and 747.68 °C.

3.2. Thermal Deformation Results

In order to better express the size of thermal deformation, volume strain is chosen to represent it. With the increase in temperature, the thermal conductivity and specific heat capacity of the material also change. Adding the change in related parameters to the material properties makes the simulation results of deformation more accurate.
Under working condition 2, for example, there is deformation at the slit, while the largest deformation occurs at the laser focus point. With the movement of the heat source, the area that has been cut is gradually cooled down, and the thermal expansion and elastic deformation is gradually recovered. After the material completely cools down, there is still some remaining irreversible plastic deformation, as shown in Figure 9.
Three specific points, i.e., the origin, 0.5 m, and 1 m are taken at the slit [35]. The volumetric strains at the origin of condition 1 is close to 0.5 m and 1 m, which are 1.3567, 1.3578, and 1.3522. In the other 11 working conditions, the volume strain at the origin is the smallest, and the other two points are close. When the processing material is fixed, the volume strain decreases with the increase in the thickness of the workpiece, as shown in Table 4.

3.3. T-XGBoost Compensation Results

The thermal deformation results predicted by the T-XGBoost algorithm in Section 2.4.6 are used in the FEM model for recalculation. The parameters of all 12 conditions are kept the same except for the compensation change in the cutting speed to the thermal deformation. To verify the effectiveness of the compensation of the thermal deformation prediction to the thermal error, we compared the maximum value and average value of the thermal deformation at the slit under each condition. The results are shown in Table 5.
Using the XGBoost algorithm directly to compensate the cutting speed can reduce the maximum deformation by more than 33%. However, the average deformation of 12 working conditions is higher than that before compensation. The average maximum deformation of working conditions 4 and 12 increased by more than 100%. The T-XGBoost algorithm segments data in advance for prediction and compensation. Compared with compensation, the maximum deformation of the 12 working conditions was improved, which can reduce the maximum deformation by more than 45%. At the same time, the average volume strain of 11 working conditions decreases, which can be increased by 63% at the highest.

4. Discussion

4.1. Temperature Field Analysis

The results show that the trend of data variation is consistent under 12 working conditions, except for the time to reach the stabilization temperature and the value of the stabilization temperature. The heat flux density at the laser focus position is the highest, and the temperature around it gradually decreases, which is in line with the Gaussian heat source distribution characteristics. After the high-speed laser passes through, the temperature on the processing path gradually cools down over time. It is shown in Figure 7 that the temperature at the focus point is the highest, of which the left side gradually cools down over time. The unprocessed part on the right is at room temperature, which is consistent with the actual processing. Figure 8 shows three phases within the trend of the maximum temperature value of the thin plate. Phase I represents a rapid heating process where the temperature rises rapidly over the heating time. Phase II shows that during the cutting process, once a stable temperature is reached, the maximum temperature value fluctuates up and down, which follows the principle of the generation of the pulsed laser. Phase III is the natural cooling process at the slit after the cutting is completed.
The average of the stable temperature for each of the 12 working conditions exceeds the melting point of the respective material. For the thin plates with the same thickness, the larger the material absorption rate, the shorter the time needed to reach the stability, resulting in a relatively better cutting accuracy, except for working condition 1. The stable temperature under working condition 1 is slightly lower than the melting temperature of the material, however, given the stable nature of W18Cr4V and that the thermal conductivity and specific heat capacity are not significantly affected by temperature, a stable cutting can be achieved when the cutting temperature is higher than the melting point. Under working conditions 2–8, the cutting accuracy is high as the stable temperature falls within the material melting temperature range. Among the last four conditions, only the stable temperature under condition 11 falls within the melting temperature range. Although cutting can be achieved under working condition 10, since the stable temperature is slightly higher than the melting range, it is very likely to cause a large amount of vaporization, sublimation, slag, and other phenomena at the cutting seam, which affects the processing quality. The 2A12 aluminum alloy is a material with low melting point and high reflectivity, which is more difficult to cut than the other two materials. The stable temperature under working conditions 9 and 12 is higher than the melting point of the material and slightly lower than the melting temperature. Because of the active properties of aluminum alloy, the melting point can be quickly reached. Therefore, the cutting can be achieved with better cutting accuracy only under these two conditions, which is consistent with the fact that aluminum alloy material is more difficult to cut in actual practice. The cutting accuracy for aluminum alloy material is also a hot topic within laser cutting research.

4.2. Thermal Deformation Analysis

When the heat source is close to those points, the material expands significantly and the volumetric strain reaches the maximum value. After the heat source moves away, the elastic deformation of the material at the spot gradually recovers, and the volumetric strain gradually decreases and stabilizes at the plastic deformation value.
The origin point is the beginning of the processing, of which the thermal deformation is affected by cutting speed and motion inertia of the laser generator and is affected differently compared to other points. This is because the heat source moves at a uniform speed without preheating, the heat flux density at the origin point is lower than other locations, and as a result, the volumetric strain value is slightly lower. The other two points have similar volume strain and the deformation after natural cooling down, when the machining accuracy is at or below micron level. For certain type of material, the volume strain decreases when the thickness of the steel plate increases. After multiplying by the thickness of the workpiece to obtain the volume strain, the amount of thermal deformation at the slit of the same material is similar, and as a result, a micron-level processing accuracy can be achieved. The thinner the workpiece, the lower the machining accuracy. Multiplied by the thickness of the workpiece, the accuracy under condition 1 is lower than other conditions. The deformation under condition 11 is larger than the other three conditions for 2A12 aluminum alloy material, and the cutting accuracy is relatively lower, which is consistent with the temperature field result.

4.3. T-XGBoost Compensation Analysis

The quality of the laser kerf is primarily determined by factors such as the hanging slag at the kerf and the waviness and roughness of the cutting surface. Using the XGBoost algorithm directly to compensate for the cutting speed can reduce the maximum deformation. However, the average deformation is higher than that before compensation, which indicates that the periodic ripple of the cutting surface is obvious at this time. The maximum deformation is significantly reduced with the compensation calculated by the XGBoost algorithm, but the average deformation is higher than the pre-compensation condition. It means that the periodic ripple of the cutting surface is obvious, and therefore, the expected compensation effectiveness is not achieved. The periodic corrugation on the laser cutting surface is a geometric feature between the machining accuracy and surface roughness, which seriously affects the quality of laser cutting. This is because of the time series in the input data. The pre-cutting and natural cooling stages are at the poles of the data set and at room temperature, but the deformation is different, which significantly affects the prediction results of the algorithm. According to the data analysis, T-XGBoost can reduce the maximum deformation at the slit by more than 45%. At the same time, by reducing the average volume strain under most working conditions, the lifting rate can reach 63% at the highest point, and the machining result is obviously better than XGBoost.

5. Conclusions

In this paper, a thermal error prediction and dynamic compensation strategy of digital twin laser cutting based on T-XGBoost is proposed. Combined with the actual situation of laser cutting thermal deformation prediction, the XGBoost algorithm is optimized. TEP-FEM is widely used in thermal error simulation of contact machining (such as turning) [3,4,5], but it is not used in thermal error research of laser cutting. The XGBoost algorithm has been used many times to predict practical engineering problems and performed well [19,20,21], but it has not been used in laser cutting. The main conclusions are as follows:
(1)
A hybrid model combining TEP-FEM and the T-XGBoost algorithm is established for laser cutting, which drives the possibility of real-time mapping of thermal deformation.
(2)
According to the real situation of laser cutting temperature change, a more targeted T-XGBoost algorithm with a better optimization effect is proposed. The thermal deformation at any moment is obtained using simulation and used as the training data set of the algorithm. Higher cutting accuracy can be achieved by appropriately adjusting the cutting speed under a specific parameter.
(3)
TEP-FEM and the T-XGBoost algorithm are used to realize the data flow between “model-driven and data-driven”, and the predicted thermal deformation is used to compensate the processing speed to improve the laser cutting accuracy.
This strategy is remarkably advanced comparing to the traditional empirical model as it can be applied to a wide range of materials. In addition, it can also obtain larger datasets through visual finite element simulations. In the virtual environment, this strategy and model can be used to pre-analyze and judge the reasonableness of the processing parameters, which will further help save time and reduce costs, with the potential of wider application in manufacturing. It provides theoretical support and application guidance for the realization of intelligent operation strategies such as laser cutting predictive processing and quality monitoring.
Future research will focus on the testing of the product using the cutting tests and algorithm optimization, especially the use in actual processing. We will use a coordinate measuring machine (accuracy 0.1 um) to measure multiple cuts under the machining parameters based on the optimized data and verify the machining quality. At the same time, the algorithm can be further optimized based on the measurement results to be more suitable for the non-contact machining. The influence of surface absorbance of high reflectivity materials on cutting conditions will be optimized. We will focus on the speed control and the use of related sensors.

Author Contributions

Conceptualization, C.L. and J.F.; formal analysis, Y.L.; funding acquisition, J.F.; resources, X.M.; software, C.L.; supervision, J.F.; writing—original draft, C.L., J.F. and X.M.; writing—review and editing, C.L., J.F., X.M., Y.L. and Z.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Science and Technology Support Program, grant number 2015BAF20B02.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data used to support the findings of this study are included within the article.

Acknowledgments

We would like to thank all the reviewers for providing valuable comments.

Conflicts of Interest

The authors declare that there is no conflict of interest regarding the publication of this paper.

References

  1. Shi, K.N.; Zhang, D.H. A Novel energy consumption model for milling process considering tool wear progression. J. Clean. Prod. 2018, 184, 152–159. [Google Scholar]
  2. Oliaei, S.B.; Karpat, Y. Influence of tool wear on machining forces and tool deflections during micro-milling. Int. J. Adv. Manuf. Technol. 2016, 84, 1963–1980. [Google Scholar]
  3. Lapshin, V.P.; Babenko, T.S.; Moiseev, D.V. Experimental Evaluation of Influence of Tool Wear on Quality of Turning. In Proceedings of the 4th International Conference on Industrial Engineering, Macao, China, 24–26 October 2018; pp. 113–118. [Google Scholar]
  4. Toubhans, B.; Fromentin, G.; Viprey, F. Machinability of Inconel 718 during turning: Cutting force model considering tool wear, influence on surface integrity. J. Mater. Process. Technol. 2020, 285, 116809. [Google Scholar]
  5. Changle, T.; Guanghui, Z.; Junjie, Z. Optimization of cutting parameters considering tool wear conditions in low-carbon manufacturing environment. J. Clean. Prod. 2019, 226, 706–719. [Google Scholar]
  6. Ramesh, R.; Mannan, M. Error compensation in machine tools—A review part II: Thermal errors. Int. J. Mach. Tools Manuf. 2000, 40, 1257–1284. [Google Scholar]
  7. Mohammad, M.; Mehrab, V.; Abolghasem, S.; Arjomand., M. Developing a New Algorithm to Design Thermo-Vapor Compressors Using Dimensionless Parameters: A CFD Approach. Processes 2022, 10, 601. [Google Scholar]
  8. Bartolome, O.; Patricia., P.; Diego., A. Analysis of the Time Step Influence in the Yearly Simulation of Integrated Seawater Multi-Effect Distillation and Parabolic trough Concentrating Solar Thermal Power Plants. Processes 2022, 10, 573. [Google Scholar]
  9. Haitong, W.; Tiemin, L.; Liping, W.; Fengchun, L. Review on Thermal Error Modeling of Machine tools. J. Mech. Eng. 2015, 51, 119–128. [Google Scholar]
  10. Haitao, Z.; Jianguo, Y.; Jinhua, S. Simulation of thermal behavior of a CNC machine tool spindle. Int. J. Mach. Tools Manuf. 2007, 47, 1003–1010. [Google Scholar]
  11. Jianfu, Z.; Pingfa, F.; Chuang, C. A method for thermal performance modeling and simulation of machine tools. Int. J. Adv. Manuf. Technol. 2013, 68, 1517–1527. [Google Scholar]
  12. Cheng-Hsien, W.; Yu-Tai, K. Thermal analysis for the feed drive system of a CNC machine center. Int. J. Mach. Tools Manuf. 2003, 43, 1521–1528. [Google Scholar]
  13. Fujishima, M.; Narimatsu, K. Adaptive thermal displacement compensation method based on deep learning. CIRP J. Manuf. Sci. Technol. 2019, 25, 22–25. [Google Scholar]
  14. Postel, M.; Bugdayci, B. Neural network supported inverse parameter identification for stability predictions in milling. CIRP J. Manuf. Sci. Technol. 2020, 29, 71–87. [Google Scholar]
  15. Jianping, L.; Chengwei, Q. Prediction of Cross-Tension Strength of Self-Piercing Riveted Joints Using Finite Element Simulation and XGBoost Algorithm. Chin. J. Mech. Eng. 2021, 4, 34–36. [Google Scholar]
  16. Jintong, L.; Ze, Z. Prediction and compensation of force-induced deformation for a dual-machine-based riveting system using FEM and neural network. Int. J. Adv. Manuf. Technol. 2019, 103, 3853–3870. [Google Scholar]
  17. Hossein, T.; Maria, B.; Mohammad, T. Artificial Intelligence, Machine Learning and Smart Technologies for Nondestructive Evaluation. Sensors 2022, 22, 4055. [Google Scholar]
  18. Fei, T.; Xin, M.; Tianliang, H. Digital twin standard system. Comput. Integr. Manuf. Syst. 2019, 25, 2405–2419. [Google Scholar]
  19. Mariana, S.; Joaquin, G. Design, Modeling and Implementation of Digital Twins. Sensors 2022, 22, 5396. [Google Scholar]
  20. Fei, T.; Xin, M.; Qinglin, Q. Theory and key technologies of digital twin interaction. Comput. Integr. Manuf. Syst. 2022. Available online: https://kns.cnki.net/kcms/detail/11.5946.TP.20220811.1238.002.html (accessed on 15 August 2022).
  21. Chaoguang, G.; Tianliang, H.; Yingxin, Y. Dynamic Multi-objective Optimization Strategy of Milling. Comput. Integr. Manuf. Syst. 2021, 27, 479–485. [Google Scholar]
  22. Chang, L.; Jiyou, F. Hot deformation behavior mechanism in laser cutting of aluminium alloy thin-walled parts. Manuf. Technol. Mach. Tool 2021, 6, 75–80. [Google Scholar]
  23. Boyun, H.; Chenggong, L. China Materials Engineering Ceremony; Chemical Industry Press: Beijing, China, 2006; Volume 8, pp. 715–804. [Google Scholar]
  24. Gutiérrez, G.; Araya, J.G. Transient, Three-Dimensional Numerical Model of a Laser Cutting Process with Phase Change Consideration. ASME 2004 Int. Mech. Eng. Congr. Expo. 2004, 557–563. [Google Scholar] [CrossRef]
  25. Enming, M. Thermal diffusion and thermal melting in femtosecond laser micromachining. J. Agric. Mach. 2011, 4, 224–228. [Google Scholar]
  26. Lin, M.; Jinping, Y.; Ping, Z. Finite element numerical simulation of laser cladding temperature field. Trans. China Weld. Inst. 2007, 7, 109–112. [Google Scholar]
  27. Hongling, H.; Yukun, X.; Jinping, Z. Experimental Research on Absorptivity of Aluminum Alloy Cut by Laser. Surf. Technol. 2016, 10, 193–198. [Google Scholar]
  28. Yanfei, W.; Xuyue, W. Experimental Study on Laser Cutting Based on Removal Forms for Aluminum Alloy Sheet. Chin. J. Lasers 2012, 8, 90–96. [Google Scholar]
  29. Xin, Z.; Zhiyong, L. Experimental study on basic technology of laser cutting tail wing of high speed aircraft. Manuf. Technol. Mach. Tool. 2020, 6, 126–130. [Google Scholar]
  30. Tao, M.; Lizhou, W. Multiclassification Prediction of Clay Sensitivity Using Extreme Gradient Boosting Based on Imbalanced Dataset. Appl. Sci. 2022, 12, 1143. [Google Scholar]
  31. Dongjin, B.; Bosung, K.; Kyungbin, S. XGBoost-Based Day-Ahead Load Forecasting Algorithm Considering Behind-the-Meter Solar PV Generation. Energies 2022, 15, 128. [Google Scholar]
  32. Madrid, E.A.; Antonio, N. Short-Term Electricity Load Forecasting with Machine Learning. Information 2021, 12, 50. [Google Scholar]
  33. Tianqi, C.; Carlos, G. XGBoost: A Scalable Tree Boosting System. In Proceedings of the KDD ’16: The 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar]
  34. XGBoost Documentation. Available online: https://xgboost.readthedocs.io (accessed on 2 August 2021).
  35. Jiongchao, J.; Huanqiang, X.; Biao, L. Adaptive Points Sampling for Implicit Field Reconstruction of Industrial Digital Twin. Sensors 2022, 22, 6630. [Google Scholar]
Figure 1. Factors affecting laser cutting accuracy.
Figure 1. Factors affecting laser cutting accuracy.
Sensors 22 07022 g001
Figure 2. Hybrid model methods flow chart.
Figure 2. Hybrid model methods flow chart.
Sensors 22 07022 g002
Figure 3. Heat source model.
Figure 3. Heat source model.
Sensors 22 07022 g003
Figure 4. Encrypted FEM model at the slit.
Figure 4. Encrypted FEM model at the slit.
Sensors 22 07022 g004
Figure 5. T-XGBoost thermal deformation prediction process.
Figure 5. T-XGBoost thermal deformation prediction process.
Sensors 22 07022 g005
Figure 6. Transient temperature cloud at 1 s of W18Cr4V cutting.
Figure 6. Transient temperature cloud at 1 s of W18Cr4V cutting.
Sensors 22 07022 g006
Figure 7. Temperature profile on the cut path at 1 s of W18Cr4V cutting.
Figure 7. Temperature profile on the cut path at 1 s of W18Cr4V cutting.
Sensors 22 07022 g007
Figure 8. The curve of the maximum temperature at the W18Cr4V slit with time.
Figure 8. The curve of the maximum temperature at the W18Cr4V slit with time.
Sensors 22 07022 g008
Figure 9. Thermal deformation of the slit when cutting for 1 s in working condition 2 (scale factor 1000).
Figure 9. Thermal deformation of the slit when cutting for 1 s in working condition 2 (scale factor 1000).
Sensors 22 07022 g009
Table 1. Material properties.
Table 1. Material properties.
ParametersThermal Conductivity λ
W/(m*K)
Melting Point
°C
Melting Temperature
°C
Specific Heat Capacity Cp
c/J·(kg·K)−1
W18Cr4V20 °C27.2110501180~122050 °C473.11
200 °C25.96200 °C494.04
500 °C25.96600 °C457.81
700 °C25.12900 °C487.12
Q235A200 °C61.114681460~1495200 °C745
300 °C55.3300 °C770
500 °C42.7400 °C783
700 °C34.2500 °C833
2A12 aluminum alloy121 (T4 Status)659.8720~760100 °C921
200 °C1047
300 °C1130
350 °C1172
Table 2. Initial processing parameters.
Table 2. Initial processing parameters.
Work
Condition
MaterialThickness
mm
Laser Power
W
Cutting Speed
m/min
Pulse Frequency
Hz
Focus Position
mm
1W18Cr4V130003610002
22300016.510002
3530002.912005
41030000.5120010
5Q235130003310002
6230001510002
7524002.85005
81029001.550010
92A12
aluminum alloy
130001920002
1023000820002
11530002.620005
121030000.9200010
Table 3. Results of the temperature analysis for different working conditions.
Table 3. Results of the temperature analysis for different working conditions.
Working ConditionMaterialThickness
mm
Extreme Heating Time (s)Stabilized Temperature Average (°C)
1W18Cr4V10.0321161.87
220.0151183.5
350.351194.98
4101.081197.89
5Q23510.011476.45
620.11473.03
750.491468.84
8100.841486.95
92A12 aluminum alloy10.02676.36
1020.12762.72
1150.28747.68
12101.6674.94
Table 4. Thermal deformation analysis results of different working conditions.
Table 4. Thermal deformation analysis results of different working conditions.
Working ConditionMaterialThickness
mm
Volume Strain ‰
Origin0.5 m 1 m
1W18Cr4V11.35671.35781.3522
220.75130.8730.7912
350.17260.38460.351
4100.0213630.10240.09748
5Q23512.43242.5772.4625
620.82551.05081.0272
750.16170.57620.4994
8100.126760.21150.2222
92A12 aluminum alloy11.08211.30681.2818
1020.69171.0510.9856
1150.23530.57420.507
12100.09930.12890.1161
Table 5. Compensation results under different working conditions.
Table 5. Compensation results under different working conditions.
Working ConditionWithout Compensation
(Volume Strain ‰)
XGBoost Compensation
(Volume Strain ‰)
T-XGBoost Compensation
(Volume Strain ‰)
Maximum DeformationAverage DeformationMaximum DeformationLift RateAverage DeformationLift RateMaximum DeformationLift RateAverage DeformationLift Rate
14.561.35453.05333%1.38−2%2.50845%1.20611%
210.390.83233.12270%0.94−13%1.89882%0.8093%
39.4720.36763.96658%0.592−61%3.98758%0.382−4%
48.300.099943.35660%0.235−135%3.4658%0.09822%
516.5962.519738.8747%3.121−24%7.08657%2.4393%
621.731.03948.92759%1.892−82%9.06358%0.89314%
713.470.537835.00163%0.898−67%5.76857%0.5341%
813.6960.216585.11263%0.307−42%5.7158%0.079663%
919.7581.29438.19959%2.034−57%8.3458%1.023221%
1025.1231.01839.34563%1.431−41%10.5258%0.9348%
1118.4110.54067.21661%0.79−46%7.69658%0.5361%
1211.1460.12254.74857%0.262−114%4.67458%0.122%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Lu, C.; Fei, J.; Meng, X.; Li, Y.; Liu, Z. Thermal Error Prediction and Compensation of Digital Twin Laser Cutting Based on T-XGBoost. Sensors 2022, 22, 7022. https://doi.org/10.3390/s22187022

AMA Style

Lu C, Fei J, Meng X, Li Y, Liu Z. Thermal Error Prediction and Compensation of Digital Twin Laser Cutting Based on T-XGBoost. Sensors. 2022; 22(18):7022. https://doi.org/10.3390/s22187022

Chicago/Turabian Style

Lu, Chang, Jiyou Fei, Xiangzhong Meng, Yanshu Li, and Zhibo Liu. 2022. "Thermal Error Prediction and Compensation of Digital Twin Laser Cutting Based on T-XGBoost" Sensors 22, no. 18: 7022. https://doi.org/10.3390/s22187022

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