Next Article in Journal
Optical Detection Techniques for Biomedical Sensing: A Review of Printed Circuit Board (PCB)-Based Lab-on-Chip Systems
Previous Article in Journal
High-Efficiency Drug Loading in Lipid Vesicles by MEMS-Driven Gigahertz Acoustic Streaming
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Thermal Error Prediction in High-Power Grinding Motorized Spindles for Computer Numerical Control Machining Based on Data-Driven Methods

1
College of Mechanical Engineering, Zhejiang University of Technology, Hangzhou 310023, China
2
Key Laboratory of Special Purpose Equipment and Advanced Processing Technology, Ministry of Education and Zhejiang Province, Zhejiang University of Technology, Hangzhou 310023, China
3
Zhejiang Zomax Transmission Co., Ltd., Wenling 317513, China
*
Author to whom correspondence should be addressed.
Micromachines 2025, 16(5), 563; https://doi.org/10.3390/mi16050563
Submission received: 3 March 2025 / Revised: 29 April 2025 / Accepted: 6 May 2025 / Published: 7 May 2025
(This article belongs to the Section E:Engineering and Technology)

Abstract

:
The thermal error of the high-power grinding motorized spindle, caused by heating, seriously affects machining accuracy. In this paper, an ensemble learning algorithm is used to predict the thermal error of a high-precision motorized spindle. The subsequent problem of thermal error compensation can be effectively solved by a suitable thermal error model, which is crucial for improving the machining accuracy of the actual machining process. Firstly, the steady-state temperature field of the grinding motorized spindle is analyzed and used to determine the position of the sensors. Then, a signal acquisition instrument is used to monitor real-time temperature data. After that, experimental results are obtained, followed by verification. Finally, based on experimental data and the optimization results of temperature measurement points, temperature data are used as the input variable, and thermal deformation data are used as the output variable. The ensemble learning model is composed of different weak learners, which include multiple linear regression, back-propagation, and radial basis function neural networks. Different weak learners are trained using datasets separately, and the output of the weak learners is used as input to the model. Through integrating strategies, an ensemble learning model is established and compared with a weak learner. The error residual set of the ensemble learning model remains within [−0.2, 0.2], and the prediction performance shows that the ensemble learning model has a better predictive effect and strong robustness.

1. Introduction

Thermal deformation is the main factor that influences machining accuracy, and almost 40–70% of machining accuracy errors in Computer Numerical Control machine tools are caused by thermal errors [1,2]. The grinding motorized spindle, serving as the primary power source for Computer Numerical Control machine tools, produces thermal error that accounts for 50% of the total thermal errors, greatly reducing machining accuracy [3]. Compared with other methods for controlling thermal error, error compensation has the characteristics of good economy and high applicability, and revealing the thermal deformation mechanism is crucial for the thermal error compensation of the motorized spindle [4]. Thermal deformation effects change with variationsin cutting parameters, including spindle speed, machining parameters, and so on. Thus, it is essential to develop a thermal error prediction model for the motorized spindle to accurately predict the thermal error during the machining process [5].
With the widespread application of CNC machine tools, numerous scholars have carried out extensive research on the thermal deformation theory of motorized spindles [6,7]. Significantly, an accurate thermal error model of the motorized spindle is established to reveal the relationship between temperature and thermal deformation based on different mathematical methods and principles. Yin et al. [8] proposed a selective ensemble BP neural network-based thermal error technique for the motorized spindle. Li et al. [9] optimized the motorized spindle using the particle swarm optimization technique. Li et al. [10] created a model for predicting spindle heat errors using a modified particle swarm optimization BP neural network. Li et al. [11,12] established a least squares support vector machine prediction model optimized by the Aquila Optimizer and compared it with a particle swarm optimization model. Wu et al. [13] calculated axial and radial thermal errors using deep learning convolutional neural networks. Li et al. [14] established a model for predicting thermal errors using a Nonlinear Auto-Regressive model with Exogenous Inputs neural network. In summary, it has gradually evolved from the initial mechanistic model of the motorized spindle to a data-driven model, and artificial intelligence algorithms are increasingly being used in the thermal error model. Abdulshaod et al. [15] established a thermal error prediction model based on an adaptive neural fuzzy inference system to explore the relationship between temperature changes and thermal errors in milling machines. Experimental verification results showed that the thermal error prediction model established by this method had better prediction performance than artificial neural networks.
The thermal deformation of the motorized spindle plays a critical role in determining overall machining accuracy. The thermal error impacts can be effectively reduced through thermal error compensation of the motorized spindle. Zimmermann et al. [16] developed a new method for adaptive model input by combining the group least absolute shrinkage and selection operator with the particle swarm optimization algorithm-optimized autoregressive model. This method improves the self-optimization ability of the thermal error prediction model and enables accurate and robust long-term predictions of thermal errors. Li et al. [17] proposed a sparrow search algorithm to predict the thermal errors of the motorized spindle. Guo et al. [18] examined both the measurement and compensation of the spindle thermal error in two turntable machine tools and presented an experimental heat source measurement method. Bao et al. [19] introduced a predictive model approach for thermal errors in numerical control machines, leveraging a BP neural network and the beetle antennae search algorithm. Fu et al. [20] proposed an ensemble model of the motorized spindle that combines temperature-sensitive points. Fan et al. [21] introduced a novel method for predicting the thermal deformation of a grinding machine spindle by utilizing the principles of heat energy conduction in conjunction with neural network techniques. Cheng et al. [22] presented an effective model for predicting thermal errors using a convolutional neural network and long short-term memory.
The aforementioned thermal error prediction models have developed appropriate algorithms to address their respective issues; however, there has been limited consideration of establishing enhanced robust prediction models that are applicable across different operating conditions. Given that the thermal state of the motorized spindle is highly nonlinear and unstable, it is of significant importance to develop a thermal error prediction model with enhanced robustness. The BP neural network, proposed by Rumelhart et al. [23] in 1986, is a feed-forward neural network that is trained using the error back-propagation algorithm. It has been widely applied in the field of regression prediction. However, the BP neural network often faces issues of slow convergence and getting stuck in local optima during the solving process [24]. In addition, the traditional prediction model cannot achieve high efficiency when dealing with massive data. Compared with other algorithms, the proposed ensemble learning algorithm is an efficient and reliable method that prevents overfitting and leverages parallel and distributed computation to reduce running time [25,26]. In this study, a thorough analysis of the heat sources in the grinding motorized spindle is conducted, and the temperature field, as well as thermal deformation, are simulated using Ansys Workbench 2020. To address the issue of insufficient robustness in traditional single-model predictions, this paper proposes a thermal error prediction method based on ensemble learning. The method selects three simple models—multiple linear regression, BP neural network, and RBF neural network—as weak learners. These weak learners are trained using experimental data, and the output results from each are integrated through an ensemble learning model to obtain the final thermal error prediction. This approach significantly enhances the accuracy and robustness of predictions, providing a reliable theoretical foundation and technical support for subsequent research on thermal error compensation in grinding motorized spindles.

2. Mechanical Structure and Heat Source Calculation of the Motorized Spindle

2.1. Structural Characteristics of the Motorized Spindle

The motorized spindle features a mechanical structure in which a motor drives the spindle shaft’s rotation directly. This structure includes a core shaft, motor rotor, motor stator, motor cooling sleeve, front and rear bearings, bearing seat, housing, and end cover. The basic mechanical structure of the motorized spindle is shown in Figure 1.

2.2. Analysis and Calculation of Heat Generation in the Motorized Spindle

2.2.1. Analysis and Calculation of Motor Heat Generation

The heat generation of the motor is mainly related to power and efficiency, and the heat generation power of the motor can be calculated using Equation (1). The mechanical efficiency of the spindle motor is 90%, and the conversion efficiency of heat in the motor loss is 88%. Research shows that 1/3 of the heat loss of the motor is generated by the motor rotor, and 2/3 of the heat is generated by the motor stator. The heat generation rate of the motorized spindle motor can be calculated using Equation (2).
Q = P N ( 1 η ) × η
q = Q V
Here, Q is the heat generation power of the motor, KW; η is the mechanical efficiency of the spindle motor; PN is the rated power of the spindle motor, KW; η′ is the conversion efficiency of heat in motor losses; q is the heat generation rate of the motor, W/m3; and V is the volume of the heat source, m3.

2.2.2. Analysis and Calculation of Bearing Heat Generation

As another part of the heat source for the motorized spindle, the heat generated by the bearing can be calculated using Equation (3). Due to the correlation between the friction torque of bearings and bearing load, speed, etc., as well as the possibility of unstable load and speed during operation, it is difficult to calculate an accurate fixed value. Usually, an approximate calculation method is used to roughly estimate the friction torque, M, of the bearings. The empirical formula is given in Equation (4). For angular contact bearings, the calculation method for Ml is provided in Equation (5), where Mv is the friction torque related to the lubricant, which can be calculated using Equation (6).
Q b = 2 π 60 n M
M = M l + M v
M l = f 1 P P C 0 c d m
M v = 10 7 f 0 ( v n ) 2 / 3 d m 3 , v × n 2000 160 10 7 f 0 d m 3 , v × n 2000
Here, M is the bearing friction torque, N·m; n is the spindle rotation speed, r/min; Qb is the heat generation power of the bearing, W; Ml is the friction torque caused by external load, N·mm; Mv is the friction torque related to the viscosity of the lubricant, N·m; f0 is the empirical coefficient related to the bearing lubrication method; f1 is the empirical coefficient related to bearings and loads; P is the equivalent load acting on the angular contact bearing, N; C0 is the basic rated static load of the bearing, N; C is related to the type of bearing, which can be obtained by consulting the bearing manual; dm is the bearing diameter, m; and v is the kinematic viscosity of the lubricant, m2/s.

2.3. Analysis and Calculation of Boundary Conditions in the Motorized Spindle

2.3.1. Convective Heat Transfer Between the Stator and the Coolant

The heat transfer from the stator to the coolant of the motorized spindle involves forced convection heat transfer, and the heat transfer coefficient varies depending on the flow state of the cooling oil. After the coolant enters the cooling pipe, different flow rates show different flow patterns, and the cooling effects on the motorized spindle are also different. Therefore, the coolant flow pattern needs to be determined by the Reynolds coefficient, with the specific calculation provided in Equation (7), and the geometric characteristics calculated as shown in Equation (8). The Prandtl number depends on the fluid material parameters; different fluids have different Prandtl numbers, and the Prandtl number is calculated as indicated Equation (9).
Re = u D v
D = 4 A X
Pr = c μ λ
Here, u is the characteristic velocity of the coolant, m/s; D is the scale of geometric characteristics, m; v is the kinematic viscosity of the coolant, m2/s; A is the cross-sectional area of the flow, m2; Pr is Prandtl number, J/(kg·°C); μ is the dynamic fluid viscosity, Pa·s; and λ is the thermal conductivity of the fluid, W/(m·k).

2.3.2. Convective Heat Transfer Between the Spindle Housing and the Air

This part addresses natural convection heat transfer, specifically calculated using Equation (10).
h 5 = N u λ / d s h e l l
Here, h5 is the convective heat transfer coefficient between the spindle housing shell and the air, W/(m2·°C); dshell is the diameter of the shell, m; λ is the thermal conductivity of the air, W/(m·k); and Nu is the Nusselt heat transfer coefficient.

2.3.3. Heat Transfer in the Air Gap Between the Motor Stator and Motor Rotor

The convective heat transfer between the motor rotor and stator in a laminar flow state is calculated using Equations (11)–(15).
h 6 = ( N u λ d m ) 0.25
d m = 0.5 ( D 1 + D 2 )
N u = 0.23 ( 2 δ D 2 ) 0.25 Re 0.5
Re = u δ ν
u = π n d 60
Here, h6 is the convective heat transfer coefficient of the air gap between the rotor and stator in a turbulent state, W/(m2·°C); dm is the average diameter of the air gap, m; λ is the air thermal conductivity, 0.0267 W/(m·°C); D1 is the diameter of the stator inner circle, m; D2 is the outer diameter of the rotor, m; Re is the Reynolds number; v is the aerodynamic viscosity, 1.48 × 10−5 m2/s; u is the fluid velocity, m/s; and δ is the thickness of the air gap, m.

2.4. Simulation of the Thermal Characteristics of the Motorized Spindle

2.4.1. Establishment of a Finite Element Model

The finite element method is used to study the temperature changes of the motorized spindle during operation, exploring the changes in its temperature field and thermal deformation. The impact of temperature changes on the motorized spindle system is analyzed using ANSYS Workbench 2020, which provides steady-state and transient thermal analysis modules. Small structures such as threaded holes, air holes, oil holes, chamfers, fillets, and undercuts that are present in the model can be directly simplified. The motor stator and rotor of the motorized spindle can be simplified into cylinders of the same thickness. The simplified model of the motorized spindle is shown in Figure 2. The material parameters for each component of the motorized spindle include material density, elastic modulus, Poisson’s ratio, thermal conductivity, coefficient of thermal expansion, and specific heat capacity. The specific material parameters are shown in Table 1. The motorized spindle model is divided into a total of 97,739 elements, with 180,634 nodes. Usually, skewness should not be greater than 0.5, the Jacobian ratio should not be greater than 10, and the grid division should meet the usage requirements. The grid division results for the motorized spindle’s sectional view are shown in Figure 3.
The thermal load and boundary conditions for the motorized spindle model should be established. According to the analysis results of the spindle shaft heat source and internal heat transfer, it is necessary to apply heating loads to the motor stator, motor rotor, and front and rear bearings and to set corresponding convection coefficients for the existing thermal convection. When the speed of the motor spindle is 3000 r/min, the heat generation rates of the front bearings, rear bearings, stator, and rotor are calculated, and the specific heat generation coefficients are shown in Table 2. The convective coefficient is shown in Table 3. The corresponding heat generation coefficient and heat dissipation coefficient are assigned according to the parameters in the table. The number and time interval of sub-steps for transient analysis are set to solve the temperature field. The solution result of the transient temperature field is used as the external load for the transient structural field, which is then incorporated into the transient structural analysis, and corresponding constraint conditions are adopted to determine the thermal deformation result.

2.4.2. Steady-State Thermal Analysis of the Motorized Spindle

The steady-state thermal analysis of the motorized spindle refers to the thermal analysis results obtained when the system reaches thermal equilibrium, at which point the temperature field no longer changes with time. Using the finite element analysis software Ansys Workbench 2020, the previously obtained thermal boundary parameters were applied to solve for the steady-state temperature field. The results of this steady-state thermal analysis are presented in Figure 4. Key temperature field information is clarified based on the results of the simulation analysis, providing a practical reference value for temperature data acquisition in conducting the experiment.
Through simulation results, it is observable that the spindle core attains the highest temperature of about 65.3 °C, whereas the cooling sleeve exhibits the lowest temperature point. The temperature rise of the spindle shaft is caused by its close proximity to the rotor and poor heat dissipation conditions, while the cooling sleeve carries a large amount of heat away by convection with the coolant, resulting in the lowest temperature of about 27.9 °C at the cooling sleeve. The overall temperature of the grinding motorized spindle shows a gradient decreasing trend extending outward from the spindle, and the spindle temperature generally meets the central symmetry along the spindle centerline, which is consistent with the central symmetry structure of the grinding motorized spindle. It is evident that the temperature variations are significant along the axial direction and comparatively minor along the circumferential direction. Consequently, in conducting experiments, the placement of temperature measuring points is primarily focused along the axial axis to ensure adequate collection of temperature data.

2.4.3. Transient Thermal Analysis of the Motorized Spindle

The transient thermal analysis of the motorized spindle investigates the evolution of the temperature field as the system changes over time. To solve the transient temperature field, a transient thermal analysis simulation model for the motorized spindle is established. Ten temperature nodes on the housing surface of the motorized spindle are selected as the solution objects, with specific locations shown in Figure 5. The simulation duration for temperature was set to 11,000 s, and after solving the transient temperature field, the temperature variation curves at each temperature node were obtained, as shown in Figure 6. There are three front bearings, two rear bearings, and five stator–rotor nodes, which are uniformly distributed at their corresponding positions. From the transient temperature curves of the temperature nodes, it can be seen that the temperature curves of nodes at different positions on the motorized spindle shell show a phenomenon of initially rising and then tending to stabilize. The rate of temperature rise varies slightly between different temperature measurement points, and the time to reach a plateau and the final temperature are also slightly different, but the overall trend is consistent.

2.4.4. Thermal Deformation Analysis of the Motorized Spindle

The thermal deformation of the motorized spindle is determined by utilizing the temperature field obtained from thermal analysis to compute the structural expansion and deformation induced by temperature variations. The temperature field simulation results are applied to the structural module as the load of the structural field, and corresponding constraints are set to solve the structural field of the motorized spindle. The overall deformation simulation results are shown in Figure 7. From the thermal deformation simulation results of the motorized spindle described above, it can be seen that the position with the largest deformation of the motorized spindle is at the rear end, and the position with the smallest deformation is near the front bearing. Overall, the deformation of the motorized spindle shows a clear stepped shape, starting from the position of the front bearing of the motorized spindle near the motor stator and motor rotor. As the distance from the left to right ends gradually increases, the thermal deformation also increases. The main reason for this phenomenon is that the front bearing of the motorized spindle adopts a positioning installation, while the rear bearing adopts a non-positioning installation. This installation method constrains the front and rear ends of the front bearing, while one end of the rear bearing is mutually constrained with the core shaft, and the other end is unrestrained, creating a gap. When thermal deformation occurs, the deformation extends to the less stressed end, which is the non-constrained end. As the distance increases, the deformation accumulates, resulting in the smallest deformation near the constrained end of the front bearing and larger deformation at the farther position.

3. Experiments of Thermal Error

3.1. Arrangement of Temperature and Displacement Sensors

In this experiment, temperature measurements were conducted using a K-type thermocouple, while thermal deformation was quantified using a Keyence LK-H025 laser displacement sensor, manufactured in Osaka, Japan. Data acquisition was performed using the DH5922D signal acquisition instrument, produced by Jiangsu Donghua Testing Technology Co., Ltd. (Taizhou, China).
The experimental setup and measurement circuit are shown in Figure 8. In the experiment, the location of the temperature measurement point of the motorized spindle corresponds to Figure 6, while the layout of the temperature sensors is shown in Figure 9. The temperature sensors are arranged in the front bearing area, stator rotor area, and rear bearing area. To measure the thermal deformation of the motorized spindle, a three-point approach is selected, as this study solely focuses on thermal displacement along three axis directions. Figure 10 shows the laser displacement sensor installation. The installed sensor is connected to the acquisition channel of the signal acquisition instrument, which, in turn, is connected to the upper computer. Subsequently, the acquisition instrument is activated in preparation for the experiment.

3.2. Experimental Data Collection and Analysis

In order to obtain the temperature and thermal deformation values of the motorized spindle under no-load conditions, this experiment is divided into three groups. For the no-load tests, the motorized spindle is configured to rotate at different speeds, and the experimental data are shown in Table 4.
For this experiment, 10 Hz is the frequency at which data are collected. As temperature and thermal deformation are slow variables, the measurement frequency does not need to be too high. As a result, data collection requires taking points at regular intervals. Taking into account the duration of the experiment and the amount of data, a data interval of 1 min is selected, so the data sampling interval is 600. After the collected temperature and thermal deformation data are output at 600 intervals, it is necessary to deal with sudden changes, overall translation, and other abnormalities in the data. After removing the initial point mutation and the overall translation of the data, the data are denoised to obtain the noise-removed temperature and thermal deformation data. Origin is then used to draw the corresponding time–temperature curve and time–thermal deformation curve. The curves of time and temperature at various rotational speeds are shown in Figure 11.
In the experiment, there are a total of 12 temperature measurement points, with temperature measurement point 1 specifically designated for measuring the coolant temperature, point 2 for the ambient temperature, and points 3 through 12 of the temperature measurement corresponding to points 1 through 10 in Figure 5. From the time–temperature curve shown above, it can be observed that the temperatures of three temperature measurement points in this experiment are essentially fixed values, namely, No. 2, No. 9, and No. 10. Among these, No. 2 is the ambient temperature, and No. 9 and No. 10 are the motor stator and rotor temperatures, respectively. Based on the curve of temperature versus time in the transient thermal results of Figure 6, it can be determined that there is no fixed value situation, leading to the conclusion that the data collected by these two temperature sensors are abnormal. Due to the fact that abnormal data cannot accurately reflect the temperatures of the main shaft stator and rotor, they are discarded. From the time–temperature curves at the three speeds mentioned above, the overall trend is a gradual increase that eventually stabilizes. The temperature rises quickly in the beginning, gradually climbs over time, and eventually stabilizes around a particular value. The difference in the time–temperature curve at different speeds lies in the rate of temperature rise, the time to reach the plateau, and the temperature value after reaching the plateau. The higher the spindle speed, the higher the heating rate, the greater the heat generated per unit time, the faster the temperature rises, and the shorter the time required for the temperature to reach a stable state in the early stage. Conversely, at relatively lower speeds, the temperature rises slowly and takes a long time to reach a stable state. In addition, it can be observed that the temperature trends are consistent by comparing the temperature variation results in Figure 11c with those in Figure 6. However, under experimental conditions, the temperature stabilizes at a lower value compared to the simulation results. This discrepancy is primarily due to the continuous variation of the internal coolant temperature in the motorized spindle, which cannot be accurately represented in the simulation by applying fixed boundary conditions.
Thermal deformation data collected in the experiment are processed in the same way. After removing factors such as sudden changes and overall translation of the thermal deformation data, a reasonable curve fitting is performed on the thermal deformation data. Plots are generated to depict the time–thermal deformation curves of the spindle at various speeds using the data obtained from the curve fitting method, as shown in Figure 12.
The trend of the thermal deformation time–temperature curve obtained at various speeds is essentially the same, as shown in Figure 12. The thermal deformation in all three directions initially increases and then gradually stabilizes over time. At the same speed, the thermal deformation of the spindle shaft in the Y direction is the highest, followed by the X direction and the Z direction. The Y direction is the axial direction of the main axis, and according to the thermoelastic theorem, its maximum thermal deformation along the axis should be the largest. The X and Z directions are the radial directions of the main axis, and due to their small size, the thermal deformation is less than that in the Y direction. The spindle speed affects both the amount and rate of deformation, as well as the time taken to reach a stable condition. This is seen in the differences in the time–thermal deformation curves at different rotational speeds.

4. Modeling and Verification of the Thermal Error Based on Ensemble Learning

To achieve effective compensation for thermal errors in CNC machine tool spindles, it is essential to develop a thermal error prediction model with both high accuracy and strong robustness. However, existing models often struggle to satisfy these two requirements simultaneously. To address this challenge, this section proposes the adoption of an ensemble learning approach, which integrates multiple base models to enhance overall prediction accuracy and generalization capability. As a generalized modeling strategy, ensemble learning effectively compensates for the limitations of individual models in terms of accuracy and robustness.

4.1. Principle of the Ensemble Learning Thermal Characteristic Prediction Model

4.1.1. Foundational Concepts

(1)
Multiple linear regression
Multiple linear regression is a statistical technique used to model the relationship between a dependent variable and multiple independent variables [27]. The core principle involves predicting the value of the dependent variable through a linear combination of the independent variables. The core of establishing the multiple linear regression model is to construct the linear regression relationship between the dependent variable and the independent variable, and the general form of its mathematical model is as follows:
y = β 0 + β 1 x 1 + β 2 x 2 + + β p x p + ε
where y is the dependent variable; x i   ( i = 1 , 2 , , p ) is the independent variable; β i   ( i = 0 , 1 , , p ) is the regression coefficient of the independent variable; and ε is the error term.
(2)
BP neural network
The architecture of the BP neural network [8], comprising an input layer, a hidden layer, and an output layer, is illustrated in Figure 13. The input layer is responsible for receiving data inputs, while the hidden layer serves as the core of the BP neural network, where complex computations and data processing occur through neuron connections. Finally, the output layer processes the data from the hidden layer and generates the predicted values.
In predicting the thermal error of the motorized spindle, the BP neural network uses the temperature and rotational speed of the spindle as input features. The network then extracts deep features from the data through the nonlinear activation function in the hidden layer. Finally, it outputs the predicted value of the thermal error. During the training process, the network iteratively adjusts the weights and biases using the backpropagation algorithm, minimizing the difference between the predicted values and the actual measurement errors. This process enables the accurate modeling and prediction of the thermal error in the motorized spindle.
(3)
RBF neural network
Structurally, RBF neural networks are similar to BP neural networks, as both consist of an input layer, a hidden layer, and an output layer. The input layer directly transmits external inputs to the hidden layer, where each neuron corresponds to a radial basis function (typically a Gaussian function) that serves as a local response to the input space.
In predicting the thermal error of a motorized spindle, the RBF neural network can utilize its strong nonlinear approximation ability to accurately capture the complex mapping relationship between temperature change and thermal error, so as to realize the efficient and real-time prediction of the thermal error [28]. The steps for predicting thermal errors are as follows:
Step 1: Determine the network structure. Determine the number of grid nodes and the type of node basis functions.
Step 2: Determine the parameters. Determine the input and output vectors; initialize the connection weights, as well as the center and width vectors of the hidden layer neurons.
Step 3: Calculate the output value of the ith neuron in the hidden layer.
Step 4: Calculate the output of the output neuron.
Step 5: Iteratively calculatie the weight parameters.

4.1.2. Principle of an Ensemble Learning Model

Due to the superior performance of the Stacking method compared to Bagging and Boosting, the Stacking ensemble algorithm is chosen for ensemble learning algorithm modeling. According to the steps of the Stacking modeling method, MATLAB 2020 is used to complete the integrated model training.
Before modeling the thermal error prediction of the motorized spindle, it is crucial to ensure the quality and reasonableness of the input data. Due to the inevitable presence of measurement errors, noise interference, and fluctuations in the acquisition conditions during the experimental process, the raw data often contain missing values and outliers. In order to improve the accuracy and stability of the subsequent model training, it is necessary to systematically preprocess the collected raw data. The specific preprocessing steps are described as follows:
Step 1: Process missing values and outliers. Check for missing values and outliers in the data, and eliminate samples that contain them.
Step 2: Data normalization. In order to avoid training bias caused by different feature scales, all input features and output thermal errors are normalized using min–max normalization, which linearly scales the data to the [0,1] interval to ensure that different features are of equal importance for model training.
Step 3: Dataset division. The training dataset uses optimized experimental data, taking the thermally sensitive X direction at different rotational speeds as an example. The input dataset for the model comprises temperature data and spindle speed from four temperature measurement points, 2, 3, 6, and 12, and the output dataset consists of thermal deformation data. The dataset is randomly divided into a training set and a test set in a ratio of 80% to 20%. The training set is used to train the model and optimize the parameters, and the test set is used to evaluate the generalization ability and prediction performance of the final model.
Step 4: Sub-model training data preparation. The training set is fed into three sub-models, including multiple linear regression, BP neural networks, and RBF neural networks, for independent training to obtain three different predictions. These predicted outputs will be used as first-level input features for the Stacking integration algorithm.
The combination strategy employed in this paper integrates three sub-models: multiple linear regression, BP neural networks, and RBF neural networks. Each sub-model is independently trained on the input features and generates its own predictions. These predictions are then fed into a Stacking algorithm, where a meta-model is trained to combine them and produce the final prediction results. The basic principle of ensemble learning is shown in Figure 14.
The training dataset uses optimized experimental data, taking the thermally sensitive X direction at different rotational speeds as an example. The input dataset for the model comprises temperature data. The radial basis function model, BP neural network model, and multiple linear regression model are all trained using the abovementioned datasets. The predictive values are combined into a three-dimensional column vector, which serves as the input dataset for the meta model, which is divided into a training set and a testing set. Through the Integration Stacking strategy, the final response value of the integrated learning model is obtained.

4.2. Thermal Error Prediction and Validation of Ensemble Learning Models

4.2.1. Thermal Error Prediction of an Ensemble Learning Model

Stacking is realized as follows: first, the data are k-fold sliced to obtain a k-fold dataset, in which k − 1 folds of the k-folds are used as the training set and the remaining one fold is used as the validation set. After the weak learner is trained on the training set, the validation set is used to validate the model, so as to obtain the one-fold prediction. The complete prediction is obtained by cycling through this process k times. This method is called the k-fold cross-validation method, which improves the generalization ability of the model. The predictions from different weak learners are then combined as input data for the next layer.
The prediction results of the model for the training set are shown in Figure 15a. The training set makes up 80% of the dataset, with a total dataset of 432 data points. The prediction results graph of the training set reveals that there are no notable prediction points deviating significantly from the actual values, as the majority of predicted values closely align with the actual ones. The prediction accuracy of a single data point and the overall prediction accuracy of the training set can be determined by computing the residual value, which more intuitively reflects prediction accuracy. The residual graph of the ensemble learning model training set is shown in Figure 15b. From the graph, the overall residual values are within the range of [−0.8, 0.8], and the absolute residual values of the vast majority of data points are within the range of [0, 0.2] μm. Only a small number of data points have absolute residual values within [0.2, 0.8] μm. The overall prediction deviation of the training set is less than 1 um, indicating that the model training has achieved a satisfactory effect with a high degree of accuracy.

4.2.2. Model Accuracy Verification

As the model is trained using experimental data, it is necessary to evaluate the training model quality. A common evaluation method is to test its accuracy, which can be verified through a validation set, and the evaluation of model accuracy is based on residuals. The validation set is input into the model as input data, and the model generates predicted data as the output. The residual error is obtained by subtracting the predicted data from the actual data, and the size of the residual error characterizes the model’s prediction accuracy.
The thermal error prediction model of the motorized spindle constructed based on the ensemble learning method outputs a final prediction value that synthesizes the results of each base learner. Figure 16 and Figure 17 show the predicted results and residual plots of the test set, respectively. After training the integrated model with the dataset mentioned above, the trained model is obtained. The training effect of the model appears to be good based on the prediction results of the training set. The trained model necessitates the utilization of a test set to validate its prediction accuracy. It is evident that the test set’s residual range falls within the interval of [−1.5, 1.6], the overall error is less than 2, and the results indicate that the prediction performance of the model is satisfactory.
Figure 18 visually presents the overall prediction accuracy of the model. Figure 19 demonstrates that the residuals of the dataset follow a normal distribution, with values ranging between [−1.4, 1.6]. Notably, the majority of residuals fall within the narrower range of [−0.2, 0.2], indicating a high level of prediction accuracy.

4.2.3. Testing Model Robustness

To determine the quality of the ensemble learning model, it is vital to first validate its accuracy and subsequently assess its robustness. This comprehensive verification process is essential for determining that the model has strong robustness. The robustness of a model refers to its anti-interference ability. To verify the model’s robustness, interference can be added to the input variables. When interference occurs in the input variables, high prediction accuracy indicates strong model robustness, whereas low prediction accuracy suggests weak robustness. To verify the robustness of the model, interference will be added to different input variables, and the prediction accuracy of the model will be observed when there is interference in a single variable and when all input variables have interference. If the model demonstrates high prediction accuracy, it indicates that the model has high robustness; if not, it indicates that the model has weak robustness.
To demonstrate the superiority of model robustness, a thermal error residual graph is established based on the dataset, where the horizontal axis represents the sequence number of the predicted dataset and the vertical axis represents the corresponding thermal error residual for each dataset. The smaller the value corresponding to the vertical axis, the better the prediction accuracy of the model and the higher the robustness of the model. Figure 20 consists of six residual plots, including the residual plots without interference, the residual plots with interference from a single variable, and the residual plots with interference from all variables simultaneously. From the residual plot, the residual range of the dataset is [−1.5, 2] when there is no interference. The residual range is generally the same when a single variable has interference as when there is no interference. When all temperature variables have interference, the residual range is [−3, 3]. In order to compare the differences between the predicted values and the actual observed values, this study selected four performance indicators to quantify the accuracy and stability of the model. Table 5 shows the evaluation index of the model under different interference conditions.
According to Table 5, the model has the highest prediction accuracy. Although the prediction accuracy is slightly affected when there is interference, it is still relatively high. When all temperature variables have interference, the prediction accuracy is slightly lower than when only a single variable has interference. However, even when all measurement points are subject to interference, the model maintains a high prediction accuracy, demonstrating its strong robustness.

4.3. Comparative Modeling Methods

The ensemble learning model utilizes multiple basic models with average performance to complete the same task and summarizes the prediction results of these sub-models to generate an ensemble model that outperforms the basic models.
Figure 21 shows the prediction residuals of different models in the presence of interference, including a comparison of the three types of residuals from the weak learner prediction results and the ensemble learning prediction results. According to the figure, the residual range of ensemble learning is [−3, 3], with the majority concentrated in [−1.5, 1.5]. The residual ranges for multiple linear regression, the RBF neural network, and the BP neural network are [−5, 6], [−7, 3], and [−4, 4], respectively. The residual error of multiple linear regression fluctuates periodically around 0, the RBF neural network residual is mainly distributed in [−5, 3], and the BP neural network residual is mainly distributed in [−2.5, 2]. From the perspective of residual distribution, ensemble learning exhibits superior prediction accuracy and robustness compared to its individual, weaker learners.
In order to gain an intuitive grasp of the performance disparities among various models, performance indicators can be used to quantify them. The performance parameters of the ensemble learning model and various weak learners in the presence of interference are calculated, as shown in Table 6.
In comparison to the three weak learners, the integrated learning model emerges as the superior choice. This finding indicates that the integrated learning model surpasses the three weak learners in terms of overall performance based on the characteristic indicators in the table.

5. Conclusions

This paper primarily focuses on the thermal error prediction of high-power grinding motorized spindles. To address the issues of low modeling accuracy and robustness in current methods, this study conducts an analysis of the heat generation and heat transfer from both internal and external heat sources of the grinding motorized spindle. Additionally, a simulation analysis of the temperature field and deformation field of the spindle’s thermal characteristics is performed. Based on the simulation results, temperature-sensitive points are identified, and experimental data is collected to construct a thermal error prediction model using an ensemble learning algorithm. The advantages of multiple algorithms are leveraged to resolve existing shortcomings. The conclusions are as follows:
(1)
Three different types of commonly used regression algorithms are selected as weak learners for ensemble learning algorithms, and their modeling principles and implementation steps are introduced. The three models are trained using datasets, and the predicted values from the three trained models are combined and input into the metamodel as input datasets. The Stacking ensemble learning algorithm is used to integrate different weak learners to form a new ensemble learning model.
(2)
The training of the ensemble learning model is complete, and the accuracy of the model is verified through a validation set. The results show that the model has high accuracy, the strong robustness of ensemble learning, and better prediction accuracy than weak learners. The proposed ensemble learning model can significantly improve predictive performance.
Experimental research on a single grinding motorized spindle has been conducted in this paper, and corresponding numerical control systems will be equipped according to its specifications to achieve subsequent applications in thermal error compensation. In addition, there are several factors that influence thermal error, such as material properties, load conditions, varying ambient temperature and humidity, etc. These factors will be further explored in future research.

Author Contributions

Conceptualization, Q.W., Z.L. and D.G.; Methodology, Y.L., Z.L. and D.G.; Software, Y.L., Z.L. and D.G.; Validation, Y.L. and D.G.; Formal analysis, Y.L. and H.L.; Resources, Q.W., Z.L. and B.P.; Data curation, Y.L. and H.L.; Writing—review & editing, Q.W.; Supervision, Q.W., B.P. and H.L.; Project administration, B.P.; Funding acquisition, B.P. All authors have read and agreed to the published version of the manuscript.

Funding

The authors gratefully acknowledge financial support from the National Natural Science Foundation of China (Grant No. 51475425), the Zhejiang Provincial Natural Science Foundation of China (Grant No. ZCLY24E0502 & LD24E050011), and the Key Laboratory of Vibration and Control of Aero-Propulsion System, Ministry of Education, Northeastern University (VCAME202204).

Data Availability Statement

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

Acknowledgments

The authors gratefully acknowledge the anonymous reviewers for their careful reading and useful comments, which allowed for improvements in the quality of this paper.

Conflicts of Interest

Author Zhengfu Lin was employed by the Zhejiang Zomax Transmission Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Abdulshahed, A.M.; Longstaff, A.P.; Fletcher, S.; Myers, A. Thermal error modelling of machine tools based on ANFIS with fuzzy c-means clustering using a thermal imaging camera. Appl. Math. Model. 2015, 39, 1837–1852. [Google Scholar] [CrossRef]
  2. Mayr, J.; Jedrzejewski, J.; Uhlmann, E.; Donmez, M.A.; Knapp, W.; Härtig, F.; Wendt, K.; Moriwaki, T.; Shore, P.; Schmitt, R. Thermal Issues in Machine Tools. CIRP Ann. 2012, 61, 771–791. [Google Scholar] [CrossRef]
  3. Jiang, Z.Y.; Huang, X.Z.; Chang, M.X.; Li, C.; Ge, Y. Thermal error prediction and reliability sensitivity analysis of motorized spindle based on Kriging model. Eng. Fail. Anal. 2021, 127, 105558. [Google Scholar] [CrossRef]
  4. Sun, S.W.; Qiao, Y.F.; Gao, Z.T.; Wang, J.J.; Bian, Y.C. A thermal error prediction model of the motorized spindles based on ABHHO-LSSVM. Int. J. Adv. Manuf. Technol. 2023, 127, 2257–2271. [Google Scholar] [CrossRef]
  5. Dai, Y.; Tao, X.S.; Xuan, L.Y.; Qu, H.; Wang, G. Thermal error prediction model of a motorized spindle considering variable preload. Int. J. Adv. Manuf. Technol. 2023, 121, 4745–4756. [Google Scholar] [CrossRef]
  6. Liu, Y.; Ma, Y.X.; Meng, Q.Y.; Xin, X.C.; Ming, S.S. Improved thermal resistance network model of motorized spindle system considering temperature variation of cooling system. Adv. Manuf. 2018, 6, 384–400. [Google Scholar] [CrossRef]
  7. Zhou, C.J.; Qu, Z.F.; Hu, B.; Li, S.B. Thermal network model and experimental validation for a motorized spindle including thermal–mechanical coupling effect. Int. J. Adv. Manuf. Technol. 2021, 115, 487–501. [Google Scholar] [CrossRef]
  8. Yin, Q.; Tan, F.; Chen, H.X.; Yin, G.F. Spindle thermal error modeling based on selective ensemble BP neural networks. Int. J. Adv. Manuf. Technol. 2019, 101, 1699–1713. [Google Scholar] [CrossRef]
  9. Li, Z.L.; Zhu, W.M.; Zhu, B.; Wang, B.D.; Wang, Q.H. Thermal error modeling of motorized spindle based on particle swarm optimization-SVM neural network. Int. J. Adv. Manuf. Technol. 2022, 121, 7215–7227. [Google Scholar] [CrossRef]
  10. Li, B.; Tian, X.T.; Zhang, M. Thermal error modeling of machine tool spindle based on the improved algorithm optimized BP neural network. Int. J. Adv. Manuf. Technol. 2019, 105, 1497–1505. [Google Scholar] [CrossRef]
  11. Li, Z.L.; Wang, Q.H.; Zhu, B.; Wang, B.D.; Zhu, W.M. Thermal error modeling of high-speed motorized spindle based on Aquila Optimizer optimized least squares support vector machine. Case Stud. Therm. Eng. 2022, 39, 102432. [Google Scholar] [CrossRef]
  12. Li, Z.L.; Wang, B.D.; Zhu, B.; Wang, Q.H.; Zhu, W.M. Thermal error modeling of electrical spindle based on optimized ELM with marine predator algorithm. Case Stud. Therm. Eng. 2022, 38, 102326. [Google Scholar] [CrossRef]
  13. Wu, C.Y.; Xiang, S.T.; Xiang, W.S. Spindle thermal error prediction approach based on thermal infrared images: A deep learning method. J. Manuf. Syst. 2021, 59, 67–80. [Google Scholar] [CrossRef]
  14. Li, B.; Zhang, Y.; Wang, L.P.; Li, X.K. Modeling for CNC Machine Tool Thermal Error Based on Genetic Algorithm Optimization Wavelet Neural Networks. J. Mech. Eng. 2019, 55, 215–220. [Google Scholar] [CrossRef]
  15. Abdulshahed, A.M.; Longstaff, A.P.; Fletcher, S. The application of ANFIS prediction models for thermal error compensation on CNC machine tools. Appl. Soft Comput. 2022, 27, 158–168. [Google Scholar] [CrossRef]
  16. Zimmermann, N.; Buechi, T.; Mayr, J.; Wegener, K. Self-optimizing thermal error compensation models with adaptive inputs using Group-LASSO for ARX-models. J. Manuf. Syst. 2022, 64, 615–625. [Google Scholar] [CrossRef]
  17. Li, Z.L.; Zhu, B.; Dai, Y.; Zhu, W.M.; Wang, Q.H.; Wang, B.D. Thermal error modeling of motorized spindle based on Elman neural network optimized by sparrow search algorithm. Int. J. Adv. Manuf. Technol. 2022, 121, 349–366. [Google Scholar] [CrossRef]
  18. Guo, Q.; Fan, S.; Xu, R.; Cheng, X.; Zhao, G.Y.; Yang, J.G. Spindle Thermal Error Optimization Modeling of a Five-axis Machine Tool. Chin. J. Mech. Eng. 2017, 30, 746–753. [Google Scholar] [CrossRef]
  19. Bao, L.; Xu, Y.L.; Zhou, Q.; Guo, P.; Guo, X.X.; Jiang, H. Thermal Error Modeling of Numerical Control Machine Based on Beetle Antennae Search Back-propagation Neural Networks. Int. J. Comput. Int. Syst. 2023, 16, 84. [Google Scholar] [CrossRef]
  20. Fu, G.Q.; Zhou, L.F.; Lei, G.Q.; Lu, C.J.; Deng, X.L.; Xie, L.F. A universal ensemble temperature-sensitive point combination model for spindle thermal error modeling. Int. J. Adv. Manuf. Technol. 2022, 119, 3377–3393. [Google Scholar] [CrossRef]
  21. Fan, J.W.; Wang, P.T.; Tao, H.H.; Pan, R. A thermal deformation prediction method for grinding machine’ spindle. Int. J. Adv. Manuf. Technol. 2022, 118, 1125–1139. [Google Scholar] [CrossRef]
  22. Cheng, Y.N.; Zhang, X.P.; Zhang, G.X.; Jiang, W.Q.; Li, B.W. Thermal error analysis and modeling for high-speed motorized spindles based on LSTM-CNN. Int. J. Adv. Manuf. Technol. 2023, 121, 3243–3257. [Google Scholar] [CrossRef]
  23. Rumelhart, D.E.; Hinton, G.E.; Williams, R.J. Learning representations by back-propagating errors. Nature 1986, 323, 533–536. [Google Scholar] [CrossRef]
  24. Zhang, X.; Xu, N.; Dai, W.; Zhu, G.; Wen, J. Turbofan Engine Health Prediction Model Based on ESO-BP Neural Network. Appl. Sci. 2024, 14, 1996. [Google Scholar] [CrossRef]
  25. Zhong, D.F.; Zhang, G.B.; Zhang, Y.C.; Liang, G.A.; Huang, Y.M. Prediction of Industrial Boiler Energy Efficiency Using Stacking Ensemble Learning. J. Phys. Conf. Ser. 2023, 2562, 012068. [Google Scholar] [CrossRef]
  26. Li, M.; Yan, C.; Liu, W. The network loan risk prediction model based on convolutional neural network and stacking fusion model. Appl. Soft Comput. 2021, 113, 107961. [Google Scholar] [CrossRef]
  27. Liu, H.; Miao, E.M.; Wei, X.Y.; Zhuang, X.D. Robust modeling method for thermal error of CNC machine tools based on ridge regression algorithm. Int. J. Mach. Tools Manuf. 2017, 113, 35–48. [Google Scholar] [CrossRef]
  28. Feng, Z.; Min, X.; Jiang, W.; Song, F.; Li, X. Study on thermal error modeling for CNC machine tools based on the improved radial basis function neural network. Appl. Sci. 2023, 13, 5299. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the internal mechanical structure of the motorized spindle. 1 Rear bearing seat, 2 rear bearings, 3 cooling sleeves, 4 motor stator, 5 motor rotor, 6 spindle housing, 7 front bearing, 8 front bearing seat, 9 rear end cover, 10 rear pressure cover, 11 isolation ring, 12 rotor inner sleeve, 13 core shaft, and 14 rear end cover.
Figure 1. Schematic diagram of the internal mechanical structure of the motorized spindle. 1 Rear bearing seat, 2 rear bearings, 3 cooling sleeves, 4 motor stator, 5 motor rotor, 6 spindle housing, 7 front bearing, 8 front bearing seat, 9 rear end cover, 10 rear pressure cover, 11 isolation ring, 12 rotor inner sleeve, 13 core shaft, and 14 rear end cover.
Micromachines 16 00563 g001
Figure 2. Simplified model of the motorized spindle.
Figure 2. Simplified model of the motorized spindle.
Micromachines 16 00563 g002
Figure 3. Mesh elements of the motorized spindle’s sectional view.
Figure 3. Mesh elements of the motorized spindle’s sectional view.
Micromachines 16 00563 g003
Figure 4. Steady-state temperature distribution of the grinding motorized spindle model.
Figure 4. Steady-state temperature distribution of the grinding motorized spindle model.
Micromachines 16 00563 g004
Figure 5. Schematic diagram of transient temperature measuring points.
Figure 5. Schematic diagram of transient temperature measuring points.
Micromachines 16 00563 g005
Figure 6. Curve of transient temperature.
Figure 6. Curve of transient temperature.
Micromachines 16 00563 g006
Figure 7. Steady-state thermal deformation field.
Figure 7. Steady-state thermal deformation field.
Micromachines 16 00563 g007
Figure 8. Motorized spindle experimental monitoring.
Figure 8. Motorized spindle experimental monitoring.
Micromachines 16 00563 g008
Figure 9. Layout of the temperature sensors.
Figure 9. Layout of the temperature sensors.
Micromachines 16 00563 g009
Figure 10. Layout of the displacement sensors.
Figure 10. Layout of the displacement sensors.
Micromachines 16 00563 g010
Figure 11. Curves of time and temperature at various rotational speeds.
Figure 11. Curves of time and temperature at various rotational speeds.
Micromachines 16 00563 g011
Figure 12. Time–thermal deformation curves at different speeds.
Figure 12. Time–thermal deformation curves at different speeds.
Micromachines 16 00563 g012
Figure 13. Structure of the BP neural network.
Figure 13. Structure of the BP neural network.
Micromachines 16 00563 g013
Figure 14. Basic model of ensemble learning.
Figure 14. Basic model of ensemble learning.
Micromachines 16 00563 g014
Figure 15. (a) Comparison chart of prediction results of the training set. (b) Residual graph of the training set.
Figure 15. (a) Comparison chart of prediction results of the training set. (b) Residual graph of the training set.
Micromachines 16 00563 g015
Figure 16. Comparison chart of the predicted results of the test set.
Figure 16. Comparison chart of the predicted results of the test set.
Micromachines 16 00563 g016
Figure 17. Residual plot of the test set.
Figure 17. Residual plot of the test set.
Micromachines 16 00563 g017
Figure 18. Comparison chart of the prediction results for ensemble learning.
Figure 18. Comparison chart of the prediction results for ensemble learning.
Micromachines 16 00563 g018
Figure 19. Residual error histogram for ensemble learning.
Figure 19. Residual error histogram for ensemble learning.
Micromachines 16 00563 g019
Figure 20. Comparison charts of prediction residuals for datasets under different interference conditions.
Figure 20. Comparison charts of prediction residuals for datasets under different interference conditions.
Micromachines 16 00563 g020aMicromachines 16 00563 g020b
Figure 21. Comparison charts of prediction results of different models with interference.
Figure 21. Comparison charts of prediction results of different models with interference.
Micromachines 16 00563 g021
Table 1. Material parameters of the motorized spindle.
Table 1. Material parameters of the motorized spindle.
Corresponding PartsMaterialElastic
Modulus (GPa)
Density (kg/m3)Specific Heat
Capacity (J/(kg·°C))
Poisson’s
Ratio
Thermal Conductivity (W/(m·°C))Thermal Expansion Coefficient (°C−1)
Arbors, bearing caps,
housings, etc.
4521078304650.26549.812.2 × 10−6
Motor rotorCoppper alloy11083003850.3440118.3 × 10−6
Motor stator45Cr20078524340.2960.54.8 × 10−6
BearingGCr1520578105530.340.1113.3 × 10−6
Table 2. Heat generation coefficient.
Table 2. Heat generation coefficient.
Spindle PartsHeat Generation Coefficient (W/m3)
Front bearing9.824 × 104
Rear bearing1.175 × 104
Motor stator 8.633 × 105
Motor rotor1.279 × 106
Table 3. Heat transfer coefficient.
Table 3. Heat transfer coefficient.
ParameterHeat Transfer Coefficient (W/(m2·°C))
Front end of the rotor68.42
Rear end of the rotor61.28
Rotor head and air133.2
Motor stator and coolant400.51
Motorized spindle shell and air heat9.7
Motor stator and rotor and air gap138.6
Table 4. Experimental testing plan.
Table 4. Experimental testing plan.
Spindle Speed (r/min)100020003000
Time (min)180180180
Table 5. Evaluation index model under different interference conditions.
Table 5. Evaluation index model under different interference conditions.
Evaluating IndicatorRR2RMSEMAE
No interference0.99980.99960.20190.0408
Interference at measurement point 20.99950.99900.65380.1264
Interference at measurement point 30.99950.99890.68900.1314
Interference at measurement point 60.99950.99900.68590.1301
Interference at measurement point 120.99940.99890.71360.1377
All measurement points have interference0.99750.99490.68300.2448
Table 6. Performance indicators of different algorithmic models.
Table 6. Performance indicators of different algorithmic models.
ModelRR2RMSEMAE
Ensemble learning Model0.99750.99490.68300.2448
Multiple linear regression model0.98230.96501.79631.4443
RBF neural network model0.98450.98901.00620.7896
BP neural network model0.98330.95452.04761.6087
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, Q.; Li, Y.; Lin, Z.; Pan, B.; Gu, D.; Luo, H. Thermal Error Prediction in High-Power Grinding Motorized Spindles for Computer Numerical Control Machining Based on Data-Driven Methods. Micromachines 2025, 16, 563. https://doi.org/10.3390/mi16050563

AMA Style

Wu Q, Li Y, Lin Z, Pan B, Gu D, Luo H. Thermal Error Prediction in High-Power Grinding Motorized Spindles for Computer Numerical Control Machining Based on Data-Driven Methods. Micromachines. 2025; 16(5):563. https://doi.org/10.3390/mi16050563

Chicago/Turabian Style

Wu, Quanhui, Yafeng Li, Zhengfu Lin, Baisong Pan, Dawei Gu, and Hailin Luo. 2025. "Thermal Error Prediction in High-Power Grinding Motorized Spindles for Computer Numerical Control Machining Based on Data-Driven Methods" Micromachines 16, no. 5: 563. https://doi.org/10.3390/mi16050563

APA Style

Wu, Q., Li, Y., Lin, Z., Pan, B., Gu, D., & Luo, H. (2025). Thermal Error Prediction in High-Power Grinding Motorized Spindles for Computer Numerical Control Machining Based on Data-Driven Methods. Micromachines, 16(5), 563. https://doi.org/10.3390/mi16050563

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