Next Article in Journal
The Measurement and Analysis of Impedance Response of HeLa Cells to Distinct Chemotherapy Drugs
Previous Article in Journal
Research on Precision Blanking Process Design of Micro Gear Based on Piezoelectric Actuator
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Thermal Positioning Error Modeling of Servo Axis Based on Empirical Modeling Method

1
School of Mechanic Engineering, Northeast Electric Power University, Jilin 132012, China
2
School of Mechanical and Aerospace Engineering, Jilin University, Changchun 130025, China
3
School of Mechanical & Materials Engineering, University College Dublin, Dublin 4 D04 V1W8, Ireland
*
Author to whom correspondence should be addressed.
Micromachines 2021, 12(2), 201; https://doi.org/10.3390/mi12020201
Submission received: 4 January 2021 / Revised: 8 February 2021 / Accepted: 8 February 2021 / Published: 15 February 2021
(This article belongs to the Section E:Engineering and Technology)

Abstract

:
In order to investigate the thermal effect of a servo axis’ positioning error on the accuracy of machine tools, an empirical modeling method was proposed, which considers both the geometric and thermal positioning error. Through the analysis of the characteristics of the positioning error curves, the initial geometric positioning error was modeled with polynomial fitting, while the thermal positioning error was built with an empirical modeling method. Empirical modeling maps the relationship between the temperature points and thermal error directly, where the multi-collinearity among the temperature variables exists. Therefore, fuzzy clustering combined with principal component regression (PCR) is applied to the thermal error modeling. The PCR model can preserve information from raw variables and eliminate the effect of multi-collinearity on the error model to a certain degree. The advantages of this modeling method are its high-precision and strong robustness. Experiments were conducted on a three-axis machine tool. A criterion was also proposed to select the temperature-sensitivity points. The fitting accuracy of the comprehensive error modeling could reach about 89%, and the prediction accuracy could reach about 86%. The proposed modeling method was proven to be effective and accurate enough to predict the positioning error at any time during the machine tool operation.

1. Introduction

With the development of the machine manufacturing industry, the demand for high-precision machine tools is increasing. Not only a better accuracy, but also a higher removal rate is provided by high-precision machine tools than that of traditional machine tools. High-speed machining technology can provide high spindle revolution, high axial feed rate, and a high-CPU (Central Processing Unit) processing speed. Machining efficiency can be improved greatly, and the machining time can be reduced significantly. However, the more heat is generated by the high-speed machining technology, and the more the accuracy of the machine tools is damaged. Thermally induced error is demonstrated as one of the greatest contributors to the accuracy of the high-precision and ultra-precision machine tools. A thermally induced error can account for 40–70% of the total errors [1,2,3], which must be reduced to keep the accuracy of the machine tools during processing.
Generally speaking, there are two ways to reduce the thermal error: error avoidance and error compensation [4]. In the error avoidance, the thermally symmetric design of machine structure, the separation of heat sources, rearrangement of machine tool structures, the improvement of the rigidity of machine tool structure, and materials with low thermal expansion coefficient, an air-cooling system with a hollow ball screw, room temperature-controlled workshop, etc. are the common methods to reduce the thermal error [5,6]. The basic accuracy of machine tools can be ensured in this way, but the costs dramatically increase with the increase in accuracy grade. In contrast, error compensation is a cost-efficient way to enhance the accuracy of machine tools [7]. A thermal error is predicted by the error model, and then compensated by the software [8]. The main steps of error compensation are: (1) the relationship between the errors and the location is established considering temperatures; (2) the compensation signals based on the error model sent to the CNC (Computer Numerical Control) controllers; (3) the tool and the workpiece have relative motions in the opposite direction to the predicted errors.
Thermal error measurement, error modeling, and error compensation have been the focus of many significant studies in recent years. Two popular methods of thermal error modeling are theoretical modeling and empirical modeling. In the theoretical modeling, through the calculations of heat generations and convective heat transfer coefficients of different components in a machine tool, the temperature distribution can be obtained, and the deformation can also be gained according to thermo-elasticity. Both the analytic method and the numerical method could effectively solve the problems of establishing differential equations. The finite element method with the help of mathematical software is the most common method. However, the accurate boundary conditions and the heat transfer characteristics of theoretical modeling are in need of theoretical modeling, which are difficult to clearly identify. A three-dimensional FEA (Finite Element Analysis) model was proposed to conduct a transient thermal structure interactive analysis of a high-speed spindle by Ma et al. [9]. Shi et al. [10] investigated the effect of thermal expansion on the ball screw feed drive system of a precision boring machine tool, and the theoretical model for thermally induced error along with heat generation characteristics was established. Zhang et al. [11] used the finite element method to predict the temperature field of a high-speed and high-precision motorized spindle under different working conditions.
Empirical modeling is different from theoretical modeling, where the relationship between the thermal errors and the temperature measurements was mapped by the data-driven models such as the neural network [12,13], gray model [14], support vector model [15], and time series model [16]. A thermal error model with the four key temperature points was proposed by Guo et al. [17] using an ant colony algorithm-based back propagation neural network (ACO-BPN). Wang et al. [18] proposed a compound error model by Newton interpolation for the geometric and thermal errors of a milling center. A comprehensive compensation model was established through the decomposition of the geometric error and thermal error components by Li et al. [19], where the thermal effects caused by internal and external heat sources were modeled separately. Xiang et al. [20] presented a strategy to build an error model of an NC (Numerical Control) lathe considering both thermal and load effects. An offline compensation technique modifying the NC G-codes for positional, geometrical, and thermally induced errors of machine tools was presented by Eskandari et al. [21].
In this paper, an empirical modeling was applied to build the thermal error model. The core idea of empirical modeling was to map the relationship between the thermal errors and the temperature measurements. However, if the multi-collinearity among the temperature variables existed, the accuracy and the robustness of the thermal error modeling would be directly affected. Therefore, the highly correlated variables must be screened out. Various approaches were presented to eliminate the influence of the multi-collinearity among the variables. The gray correlation theory [22] and the clustering [23,24,25,26] are the commonly used methods to optimize the temperature variables. The fuzzy clustering analysis, gray correlation, stepwise regression, and determination coefficient were combined to select temperature-sensitive points by Miao et al. [27].
The establishment of the thermal error model has two requirements. One is that the model has a high enough accuracy, and the other one is that the model has a strong enough robustness. Therefore, a thermal error modeling method considering these two requirements is presented in this paper.
The multi-collinearity among independent variables needs to be removed before establishing the thermal error model. In the traditional methods, after the classification, the representative variable in each group is selected, and the variables finally chosen to build the error model from these representative variables are determined by the least degree of multi-collinearity. The benefits of the traditional method are that the multi-collinearity can be furthest reduced, and the predicted robustness can be guaranteed.
Generally, the stronger the correlation between input variables and the thermal error is, the more accurate the precision of the model is. However, some variables which have low correlation with respect to the thermal error are picked out by these methods, which may decrease the accuracy and robustness of the thermal error model. Therefore, in this paper, the selection method of variables is different from the traditional ones. After the representative variables are picked out, the fitting accuracy of the error model should be considered first. The variables for building the thermal error model are selected based on sample determination coefficient and the significance of the regression equation, which gives priority to the fitting precision of the error model. However, there may be still multi-collinearity among the input variables selected by this method. Principal component regression is then applied to build the thermal error model. Multi-collinearity among the input variables can be further reduced. The robustness and prediction accuracy of the error model can be enhanced.
The rest of this paper is arranged as follows: in Section 2, the modeling of principal component regression is established. Section 3 deals with the selection of temperature measuring points based on fuzzy clustering analysis. A three-axis machine tool is taken as an example to verify the proposed method in Section 4, and some conclusions are presented in Section 5.

2. Modeling of Thermal Positioning Error

It is well known that the positioning error of the servo axis is not only related to the position coordinate but also affected by the temperature field as shown in Figure 1.

2.1. The Characteristic Thermal Positioning Error

Geometric error and thermal error mostly contribute to the positioning error. The other error sources such as loads, dynamic forces, motion control, and the control software, account for a small portion of the positioning error. Therefore, only the geometric error term and the thermal error term are taken into account when the model of the positioning error is built [19,28,29,30]. The geometric error term together with the thermal error term can be easily measured by a laser interferometer.
The equation of the positioning error of the P axis (P = X, Y, Z) is expressed as
δ P P ( P , T ) = δ G ( P ) + δ T ( P ) + ε
where δ P P ( P , T ) is the total positioning error of the P axis (P = X, Y, Z); δ G ( P ) is the geometric error term measured at the cold state, which is only related to the location of the P axis; δ T ( P ) is the thermally induced positioning error which is related to the machine temperature field and the location of the P axis; ε is other error sources of the P axis positioning error.
The initial positioning error δ G ( P ) can be fitted by polynomial as expressed in Equation (2), and the thermally induced positioning error δ T ( P ) is shown in Equation (3):
δ G ( P ) = i = 0 n α i p i
δ T ( P ) = ( k i k 0 ) p
where α i is the coefficient of the polynomial; p is the nominal position of the P axis; k i is the slope of each positioning error curve; k 0 is the slope of the initial positioning error curve.
The thermally induced positioning error δ T ( P ) can be calculated as follows:
(1)
Calculate the slope ( k i ) of each error curve. According to the first-order polynomial fitting, a series of slopes can be obtained.
(2)
Map relationship between the slopes and the pivotal temperatures.
The slope k i is a linear function of the pivotal temperature variables which are selected by fuzzy clustering analysis. The details of selection are described in the next section. Usually, the relationship between the slopes and the pivotal temperature variables can be built by multiple linear regression (MLR):
k i = β 0 + β 1 T 1 + β 2 T 2 + + β n T n + ε

2.2. Principal Component Regression

When the thermal error model is built by the MLR, multi-collinearity among variables exists, and the prediction accuracy and robustness of the error model are degraded. Therefore, principal component analysis is presented to eliminate the influence of multi-collinearity among variables. PCR (principal component regression) is also one kind of mathematical statistics methods, which is usually applied to the regression analysis. Principal components are unrelated to each other and carry the most information among raw variables.
The process of PCR is mainly divided into five steps:
(1)
Standardize the data;
(2)
Calculate correlation matrix R of the standardized data;
(3)
Calculate the principal components according to the correlation matrix;
(4)
Select the principal components. Principal components are selected according to the scree plot and cumulative percentage which is usually bigger than 85%;
(5)
Carry out the regression analysis with the selected principal components.
The slope k i is a linear function of the principal components instead of the raw temperature variables:
k = β P
where k = [ k 0 k 1 k p ] , β = [ β 0 β 1 β p ] T are the regression coefficients; P = [ 1 P 1 P p ] = [ 1 P ] are the selected principal components:
P = α T
where P = [ P 1 P 2 P p ] , T = [ T 1 T 2 T n ] , and α = [ α 11 α 12 α 1 n α 21 α 22 α 2 n α p 1 α p 2 α p n ]

3. Selection of Temperature Measuring Points

Thermal error modeling is a challenging task because the mechanism causing the machine tool deformations is so complex that thermal error cannot be accurately predicted. In order to improve the robustness and the prediction accuracy of the error model, the multi-collinearity among the temperature variables must be eliminated through selecting the representative temperature variables from many temperature sensors preliminarily installed on the machine tool. The essence of identifying the representative temperature variables is to conduct classification, and then select one variable from each group to represent this category. The clustering analysis is one of the most common tools for the classification.

3.1. Clustering Analysis

Fuzzy cluster analysis is widely used, which has unique advantages compared to the traditional ones. In this paper, the maximal tree method was chosen.
The maximal tree method is implemented through the following steps. Firstly, correlation analysis between every two temperature variables is made, and the fuzzy similarity matrix is obtained. Secondly, the maximal tree is built based on the prim method. Thirdly, clustering analysis is conducted to classify the whole temperature variables. Lastly, representative temperature variables are gained from each clustering based on the correlation coefficient between the temperature variables and the thermal error. The permutation and combination of these representative temperature variables are regarded as input variables of the error model.

3.2. Clustering Criterion

In the process of clustering, the criterion of selecting the optimal clustering result is very important. The criterion is a quantitative indicator determine the optimal clustering result from the whole clustering results. In this paper, the sample determination coefficient (R2) and the significance of the regression equation were taken as the criteria.
The sample determination coefficient is:
R 2 = S S R S S T = 1 S S E S S T
S S T = i = 1 n ( k i k ¯ ) 2 , S S R = i = 1 n ( k ^ i k ¯ ) 2 , S S E = i = 1 n ( k i k ^ i ) 2 , and S S T = S S R + S S E . where k i is the measured value, k ^ i is the fitted value, and k ¯ = i n k i .
F statistics is constructed:
F = S S R / p S S R / ( n p 1 )
This obeys F distribution, whose degrees of freedom are p and np−1. When F > F α ( p , n p 1 ) , the regression equation is significant under the significance level which is usually equal to 0.05. On the contrary, the regression equation is not significant.
The closer R2 is to 1 and the more significant the regression equation is, the better the optimal clustering result is. The flow chart of the thermal positioning error modeling is shown in Figure 2, where MLR is abbreviated as multiple linear regression.

4. Experiment and Verification

The experiments were conducted on a three-axis machine tool whose structure is shown in Figure 3. The positioning error of the Y axis was taken as an example to verify the thermal positioning error modeling, the modeling processes and experiments of the X axis and the Z axis were similar to the Y axis. A laser interferometer (Renishaw XL-80) was used to measure the positioning error, and the principle of measurement was shown in Figure 4. Measurement was based on the principle of light interference. A laser beam ① was emitted from the laser head, which was divided into two beams of light ② and ③ through the interference mirror. Beam ② directly returns to the receiving point of the laser head through the interference mirror, and beam ③ reflects to the receiving point by the reflector. The displacement of the reflector can be obtained according to the number of pulses.
The distribution of temperature was detected by the PT100 temperature sensors, where the Pt 100 temperature sensors with two wires were used. The scene of the measurement can be seen in Figure 5. Considering the structure of the machine tool and the actual operating conditions, 11 temperature sensors were preliminarily installed on the parts of the machine tool, such as the bed, screw, and similar others. The arrangement of the sensors is shown in Figure 6 where T means the temperature sensor. Here, T6 and T11 are not included. The installation locations of the temperature sensors are explained in Table 1.

4.1. Thermal Positioning Error Measurement and Modeling

The starting point of the positioning error measurement was set to be the machine reference origin of the Y axis, and the positioning error was bi-directionally measured every 10 mm in the whole stroke range of 280 mm. Firstly, the geometric positioning error was measured when the machine tool was initially switched on. Then, the machine tool is cooled down to the initial condition which is the same as the first measurement, and the positioning error was measured again. This process was repeated four times, and the geometric positioning error was calculated by averaging the obtained five groups of data. The machine tool was warmed up by moving the Y axis slide all along its stroke with a feed rate of 20 mm/s and an acceleration of 10 mm/s2. However, the process of the positioning error measurement in the heating process was different from that of the geometric positioning error. When the machine tool began to be heated, the thermal state changed dramatically. Even the movement of the Y axis for measurement would make the thermal state change greatly. Therefore, the measurement of the positioning error was repeated only twice at the beginning of the heating process. With the development of the heating process, the change in thermal state was gradually slow. At this stage, the positioning error was measured three times. Finally, the machine tool reached the thermal equilibrium state which changed very little, and the positioning error was measured five times. Meanwhile, the temperatures were measured at an interval of 10 min until the ball screw system reached a thermal equilibrium state. As shown in Figure 1, the measurements of the positioning error were synchronized with the temperature measurements after the machine tool had been warmed up for 0, 20, 60, 120, 210, 240, 340, and 390 min, respectively (represented by the numbers 0, 1, 2, 3, 4, 5, 6, and 7).
Modeling for the thermal positioning error could be carried out. Firstly, the initial positioning error was modeled with polynomial fitting, for which the expression is:
δ G ( Y ) = 6.8499 × 10 10 y 5 5.5207 × 10 7 y 4 + 1.5173 × 10 4 y 3 0.0144 y 2 0.3732 y 1.6437
Secondly, the slope of each trend line was calculated, which is given in Table 2. The thermally induced positioning error is:
δ T ( Y ) = ( k i k 0 ) y = Δ k y
The slope k i is a linear function of the key temperature variables which are selected in the following.

4.2. Selection of Key Temperature Variables

Eleven sensors (PT100) were preliminarily installed on the machine tool, and the temperature curves of 11 temperature sensors were plotted at intervals of 10 min and are described in Figure 7. It can be seen that the temperatures are rising until the ball screw system reached a thermal equilibrium state.
The key temperature variables were selected by fuzzy clustering analysis. The steps of the maximal tree method were implemented as follows:
(1) The correlation coefficient between every two temperature variables is calculated:
r i j = k = 1 m ( x i k x i ¯ ) ( x j k x j ¯ ) k = 1 m ( x i k x i ¯ ) 2 k = 1 m ( x j k x j ¯ ) 2
Then, all the correlation coefficients that form the fuzzy similarity matrix are shown in Equation (12):
R = [ 1 0.91291 0.8972 0.88765 0.97532 0.95647 0.81976 0.908 0.97891 0.95868 0.86397 1 0.98677 0.98366 0.96459 0.94869 0.93909 0.9865 0.9602 0.96513 0.94943 1 0.98309 0.95065 0.93572 0.94915 0.98747 0.95176 0.96321 0.93318 1 0.94542 0.92853 0.96927 0.9921 0.9519 0.96418 0.94085 1 0.98288 0.88303 0.96299 0.98226 0.96855 0.91988 1 0.86006 0.94684 0.96524 0.94873 0.89664 1 0.96475 0.90592 0.93318 0.91032 1 0.96373 0.97348 0.94578 1 0.98947 0.90734 1 0.91689 1 ]
(2) The maximal tree is built based on the prim method. First, Variable 1 is taken, and the maximum correlation coefficient relative to Variable 1 is determined from Variable 2 to Variable 11. Here, r 1 , 9 = 0.97891 is maximum, and the tree is drawn as
Micromachines 12 00201 i001
Then, in the rest of variables, the maximum correlation coefficients relative to Variables 1 and 9 are determined, respectively—which are r 1 , 5 = 0.97532 and r 9 , 10 = 0.98947 . The bigger one remains and the tree is achieved.
Micromachines 12 00201 i002
In a similar way, finally, the maximal tree is built as shown in Figure 8.
(3) Clustering analysis was conducted. When λ is in [0,1], the branches of the maximal tree whose correlation coefficients are less than λ are cut off, and a disconnected graph was obtained. The connected branches are the cluster results based on the threshold value λ . The cluster results can be seen in Table 3.
(4) The representative variable of each cluster is chosen. The temperature variable in each clustering who has the maximal correlation coefficient with respect to the slope k i is chosen as the representative temperature variable of this clustering. The correlation coefficients are calculated based on Equation (11), and the result is shown in Table 4. Based on the correlation coefficients, the combination of variables in each cluster result is shown in Table 5.
(5) The input variables of the error model are selected. When the optimal input variables are selected, the fitting accuracy of the error model should be considered first. According to the sample determination coefficient and the significance of the regression equation, the selection results are obtained in Table 6, Table 7 and Table 8. When the number of variables is 5, the sample determination coefficient is nearly equal to 1, and the regression equation is significant. While the number of variables is less than five, the sample determination coefficient is smaller than that of five variables. If the number of variables were 6, although the sample determination coefficient is equal to 1, the regression equation could be less significant than that of five variables. When the number of variables is bigger than six, the tolerance is exceeded, and some variables have to be excluded. Therefore, the best number of input variables is five, and they are T 1 , T 2 , T 5 , T 7 , T 11 —as shown in Table 5.
The relationship between the slopes and five input variables is established by multiple regression analysis. The model summary and coefficients of the regression equation are shown in Table 9 and Table 10. Although the regression equation is significant, not all the variables pass the significance test. This means that the multi-collinearity exists among input variables. Therefore, a thermal error modeling method of principal component regression (PCR) algorithm is presented to eliminate the effect of multi-collinearity.

4.3. Principal Component Regression Modeling

Principal component analysis is one kind of mathematical statistics methods. PCR is applied to regression analysis with principal components which are unrelated to each other. Therefore, PCR can eliminate the influence of multi-collinearity among input variables. The construction of the principal component can be seen in Table 11.
According to the cumulative percentage bigger than 85% and scree plot shown in Figure 9, only the principal component 1 is selected as the input variable. The analysis results of PCR are given in Table 12, Table 13 and Table 14. The equation of PCR is:
k p i = 0.3243 + 0.0396 C 1 i
where k p is the slopes calculated by PCR, and C 1 is the principal component 1.
The relationship between principal component 1 and the five temperature variables is:
C 1 i = 50.6062 + 0.1631 T 1 i + 0.4902 T 2 i + 0.2512 T 5 i + 0.6614 T 7 i + 1.1666 T 11 i
The analysis results are shown in Table 15, Table 16 and Table 17. The equation of PCR with five temperature variables is:
k p i = 0.0065 T 1 i + 0.0194 T 2 i + 0.0099 T 5 i + 0.0262 T 7 i + 0.0462 T 11 i 2.3283
The obtained model for the Y axis positioning error is expressed as follows:
δ P Y Y ( Y , T ) = 6.8499 × 10 10 y 5 5.5207 × 10 7 y 4 + 1.5173 × 10 4 y 3 0.0144 y 2 + ( 0.0065 T 1 i + 0.0194 T 2 i + 0.0099 T 5 i + 0.0262 T 7 i + 0.0461 T 11 i 2.3112 ) y 1.6437
Multiple linear regression (MLR) and artificial neural network (ANN) are also used to build the thermal error model to compare with the PCR. The input variables of the MLR and the ANN are the same as PCR.
The slope calculated by MLR is:
k m i = 0.8782 + 0.0178 T 1 + 0.0946 T 2 0.0016 T 5 i 0.0608 T 7 i 0.0238 T 11 i
The Y axis thermal positioning error of MLR is expressed as follows:
δ M Y Y ( Y , T ) = 6.8499 × 10 10 y 5 5.5207 × 10 7 y 4 + 1.5173 × 10 4 y 3 0.0144 y 2 + ( 0.0178 T 1 + 0.0946 T 2 0.0016 T 5 i 0.0608 T 7 i 0.0238 T 11 i 0.8611 ) y 1.6437

4.4. Artificial Neural Network Modeling

Artificial neural network (ANN) is usually applied to nonlinear fitting. The neural network model is a network structure, which is composed of an input layer, hidden layers (one or two), and an output layer. For the neural network model shown in Figure 10, the node numbers of the input layer and output layer are determined by the input variables and output variables. The node numbers of the hidden layer can be selected by optimizing the structure of the neural network.
The neural network in this paper has only one hidden layer, as shown in Figure 10. The input layer has five nodes indicating that the model has five input variables, and the output layer has one node indicating that the model has one output variable. MSE (mean square error) and R2 for different number of nodes in the hidden layer are given in Table 18 and Table 19. It can be seen that the MSE and R2 of the hidden layer with four nodes, five nodes, and six nodes are almost the same, therefore the hidden layer with four nodes which has the least nodes of the hidden layer among three neural network model is selected.

4.5. The Modeling Results for the Y Axis Positioning Error

For convenience, this experiment is abbreviated as experiment I. The modeling results of three models are shown in Figure 11, Figure 12 and Figure 13, and the residual error of three models can be seen in Figure 14. The performances of three models are calculated in Table 20 where the RMSE, MAXR, and MINR are short for root mean square error, maximal residual error, and minimum residual error, respectively.
Although the fitting accuracy of the PCR model is worse than that of the other two models, the fitting curves of the PCR model could match quite well with the actual measured values. This is because that the PCR model only contains the data of principal components which are less than the data carried by the MLR model or the ANN model. The performance of the MLR model is a little better than that of the ANN model. Even though the fitting accuracy of the PCR model is the worst, it can reach about 89% which is still very high.

4.6. Experimental Verification of the Positioning Error Modeling

Subsequently, the robustness and predictive accuracy of the positioning error modeling were verified based on another set of experimental data (abbreviated as experiment II). The temperatures are plotted every 10 min in Figure 15, and the positioning error can be observed in Figure 16, where the feed rate is 15 mm/s and the acceleration is 8 mm/s2 to warm up the machine tool. The temperature of experiment II is different from experiment I. Environment temperatures of the room in two experiment are the main differentia. Experiment I was conducted in the daytime and experiment II was in the evening. Sunshine and central heating were also different.
When the machine tool had been warmed up for 40, 120, 160, and 220 min (represented by the numbers 0, 1, 2, and 3), the measured positioning errors were compared with the predicted positioning errors calculated by three positioning error models. The modeling results are shown in Figure 17, Figure 18 and Figure 19, the residual error can be seen in Figure 20, and the details of each positioning error curve can be observed in Figure 21. The performances of three models are evaluated in Table 21. The prediction accuracy of the PCR model can reach about 86%, which is the highest. The prediction accuracy of the MLR model is higher than that of the ANN model.
In experiment I, the fitting accuracy of the PCR model is the lowest. However, in experiment II, the prediction accuracy of the PCR model is in fact the best. The selection method of the temperature-sensitive points in this paper, to some extent, can reduce the multi-collinearity among the input variables. However, when the input variables are selected, what should be first considered is that the fitting accuracy of the error model is the highest. Therefore, multi-collinearity still exists among the selected input variables. Then PCR is applied to establishing the thermal error model which does not have the problem of multi-collinearity. The prediction accuracy of the PCR model is better than that of the other two models, which means that the PCR model is of strong robustness.
If the model had the problem of multi-collinearity, when the conditions of the experiment changed, i.e., the distribution of temperatures was different, the prediction accuracy would degrade. Therefore, the PCR model is more suitable for thermal error modeling.

5. Conclusions

Based on empirical modeling and experimental analysis, a modeling method of thermal positioning error is presented in this paper. The experimental results showed that the predicted positioning errors were well matched with the measured positioning errors at any time during the machine tool operation. The following conclusions can be drawn:
(1)
The thermal positioning error model is constructed by empirical modeling. The initial geometric positioning error is modeled with polynomial fitting, and the thermal positioning error is predicted by principal component regression. The high-precision and strong robustness of the error model can be achieved.
(2)
Fuzzy clustering analysis of the maximal tree method is applied to classifying the data. A criterion which is the combination of the sample determination coefficient and the significance of the regression equation is presented to search for the optimal clustering result. The optimal clustering can be obtained, and the number of temperature sensors can be reduced from 11 to 5.
(3)
PCR is applied to thermal positioning error modeling because PCR can greatly reduce the multi-collinearity among the input variables and improve the robustness of the error model. The positioning error model could accurately predict the positioning error under different thermal states. The fitting accuracy of the error modeling could reach about 89%, and the prediction accuracy could reach about 86%. Hence, the PCR model is a candidate for the thermal modeling.
(4)
The proposed thermal error model in this article is verified. Based on the presented model, the corresponding development of the actual hardware equipment will be part of future studies.

Author Contributions

Y.L. and F.L. proposed the method; Y.L. and S.J. performed the experiment; Y.L., and H.S. analyzed the experimental data; Y.L. wrote the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the National Key Basic Research and Development Program (973 Program) of China (grant no. 2011CB706702), Natural Science Foundation of China (grant no. 51135006 and 51305161), Jilin province science and technology development plan item (grant no. 20130101042JC), Scientific research projects of Jilin Provincial Department of Education (JJKH20200104KJ).

Acknowledgments

The authors gratefully acknowledge the anonymous reviewers for their careful reading and useful comments that allowed to improve the quality of this paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bryan, J.B. International status of thermal error research. CIRP. Ann. 1990, 39, 645–656. [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] [Green Version]
  3. Li, Y.; Zhao, W.H.; Lan, S.H.; Ni, J.; Wu, W.W.; Lu, B.H. A review on spindle thermal error compensation in machine tools. Int. J. Mach. Tools Manuf. 2015, 95, 20–38. [Google Scholar] [CrossRef]
  4. Ni, J. CNC machine accuracy enhancement through real-time error compensation. J. Manuf. Sci. Eng. 1997, 119, 717–725. [Google Scholar] [CrossRef]
  5. Xu, Z.Z.; Liu, X.J.; Kim, H.K.; Shin, J.H.; Lyu, S.K. Thermal error forecast and performance evaluation for an air-cooling ball screw system. Int. J. Mach. Tools Manuf. 2011, 51, 605–611. [Google Scholar] [CrossRef]
  6. Xu, Z.Z.; Liu, X.J.; Choi, C.H.; Lyu, S.K. A study on improvement of ball screw system positioning error with liquid-cooling. Int. J. Precis. Eng. Manuf. 2012, 13, 2173–2181. [Google Scholar] [CrossRef]
  7. Lei, W.T.; Hsu, Y.Y. Accuracy enhancement of five-axis CNC machines through real-time error compensation. Int. J. Mach. Tools Manuf. 2003, 43, 871–877. [Google Scholar] [CrossRef]
  8. Chen, T.C.; Chang, C.J.; Hung, J.P.; Lee, R.M.; Wang, C.C. Real-Time Compensation for Thermal Errors of the Milling Machine. Appl. Sci. 2016, 6, 101. [Google Scholar] [CrossRef] [Green Version]
  9. Ma, C.; Mei, X.S.; Yang, J.; Zhao, L.; Shi, H. Thermal characteristics analysis and experimental study on the high-speed spindle system. Int. J. Adv. Manuf. Technol. 2015, 79, 469–489. [Google Scholar] [CrossRef]
  10. Shi, H.; Ma, C.; Yang, J.; Zhao, L.; Mei, X.S.; Gong, G.F. Investigation into effect of thermal expansion on thermally induced error of ball screw feed drive system of precision machine tools. Int. J. Mach. Tools Manuf. 2015, 97, 60–71. [Google Scholar] [CrossRef]
  11. Zhang, L.X.; Li, C.Q.; Wu, Y.H.; Zhang, K.; Shi, H.T. Hybrid Prediction Model of the Temperature Field of a Motorized Spindle. Appl. Sci. 2017, 7, 1091. [Google Scholar] [CrossRef] [Green Version]
  12. Zhang, Y.; Yang, J.G.; Jiang, H. Machine tool thermal error modeling and prediction by grey neural network. Int. J. Adv. Manuf. Technol. 2012, 59, 1068–1072. [Google Scholar] [CrossRef]
  13. Yang Tian, Y.; Pan, G.Y. An unsupervised regularization and dropout based deep neural network and its application for thermal error prediction. Appl. Sci. 2020, 10, 2870. [Google Scholar] [CrossRef] [Green Version]
  14. Yan, J.Y.; Yang, J.G. Application of synthetic grey correlation theory on thermal point optimization for machine tool thermal error compensation. Int. J. Adv. Manuf. Technol. 2009, 43, 1124–1132. [Google Scholar] [CrossRef]
  15. Ramesh, R.; Mannan, M.A.; Poo, A.N. Support vector machines model for classification of thermal error in machine tools. Int. J. Adv. Manuf. Technol. 2002, 20, 114–120. [Google Scholar] [CrossRef]
  16. Yang, J.; Zhang, D.S.; Feng, B.; Mei, X.S.; Hu, Z.B. Thermal-Induced Errors Prediction and Compensation for a Coordinate Boring Machine Based on Time Series. Anal. Math. Probl. Eng. 2014, 2014, 1–13. [Google Scholar] [CrossRef]
  17. Guo, Q.J.; Yang, J.G.; Wu, H. Application of ACO-BPN to thermal error modeling of NC machine tool. J. Adv. Manuf. Technol. 2010, 50, 667–675. [Google Scholar] [CrossRef]
  18. Wang, W.; Zhang, Y.; Yang, J.G.; Zhang, Y.S.; Yuan, F. Geometric and thermal error compensation for CNC milling machines based on Newton interpolation method. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2013, 227, 771–778. [Google Scholar] [CrossRef]
  19. Li, Z.H.; Fan, K.G.; Yang, J.G.; Zhang, Y. Time-varying positioning error modeling and compensation for ball screw systems based on simulation and experimental analysis. Int. J. Adv. Manuf. Technol. 2014, 73, 773–782. [Google Scholar] [CrossRef]
  20. Xiang, S.T.; Yang, J.G. Error map construction and compensation of a NC lathe under thermal and load effects. J. Adv. Manuf. Technol. 2015, 79, 645–655. [Google Scholar] [CrossRef]
  21. Eskandari, S.; Arezoo, B.; Abdullah, A. Positional, geometrical, and thermal errors compensation by tool path modification using three methods of regression, neural networks, and fuzzy logic. Int. J. Adv. Manuf. Technol. 2013, 65, 1635–1649. [Google Scholar] [CrossRef]
  22. Li, Y.X.; Yang, J.G.; Gelvis, T.; Li, Y.Y. Optimization of measuring points for machine tool thermal error based on grey system theory. Int. J. Adv. Manuf. Technol. 2008, 35, 745–750. [Google Scholar] [CrossRef]
  23. Han, J.; Wang, L.P.; Wang, H.T.; Cheng, N.B. A new thermal error modeling method for CNC machine tools. Int. J. Adv. Manuf. Technol. 2012, 62, 205–212. [Google Scholar] [CrossRef]
  24. Han, J.; Wang, L.P.; Cheng, N.B.; Wang, H.T. Thermal error modeling of machine tool based on fuzzy c-means cluster analysis and minimal-resource allocating networks. Int. J. Adv. Manuf. Technol. 2012, 60, 463–472. [Google Scholar] [CrossRef]
  25. Wang, H.T.; Wang, L.P.; Li, T.M.; Han, J. Thermal sensor selection for the thermal error modeling of machine tool based on the fuzzy clustering method. Int. J. Adv. Manuf. Technol. 2013, 69, 121–126. [Google Scholar] [CrossRef]
  26. Li, F.C.; Li, T.M.; Wang, H.T.; Jiang, Y. A temperature sensor clustering method for thermal error modeling of heavy milling machine tools. Appl. Sci. 2017, 7, 82. [Google Scholar] [CrossRef] [Green Version]
  27. Miao, E.M.; Gong, Y.Y.; Dang, L.C.; Miao, J.C. Temperature-sensitive point selection of thermal error model of CNC machining center. Int. J. Adv. Manuf. Technol. 2014, 74, 681–691. [Google Scholar]
  28. Jiang, H.; Fan, K.G.; Yang, J.G. An improved method for thermally induced positioning errors measurement, modeling, and compensation. Int. J. Adv. Manuf. Technol. 2014, 75, 1279–1289. [Google Scholar] [CrossRef]
  29. Zhang, Y.; Yang, J.G.; Xiang, S.T.; Xiao, H.X. Volumetric error modeling and compensation considering thermal effect on five-axis machine tools. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2013, 227, 1102–1115. [Google Scholar] [CrossRef]
  30. Li, Z.H.; Yang, J.G.; Fan, K.G.; Zhang, Y. Integrated geometric and thermal error modeling and compensation for vertical machining centers. Int. J. Adv. Manuf. Technol. 2015, 76, 1139–1150. [Google Scholar] [CrossRef]
Figure 1. Y axis positioning error under different temperature conditions.
Figure 1. Y axis positioning error under different temperature conditions.
Micromachines 12 00201 g001
Figure 2. The flow chart of the thermal positioning error modeling.
Figure 2. The flow chart of the thermal positioning error modeling.
Micromachines 12 00201 g002
Figure 3. The structure of the 3-axis machine tool.
Figure 3. The structure of the 3-axis machine tool.
Micromachines 12 00201 g003
Figure 4. Measurement principle of the laser interferometer.
Figure 4. Measurement principle of the laser interferometer.
Micromachines 12 00201 g004
Figure 5. Measurement set-up.
Figure 5. Measurement set-up.
Micromachines 12 00201 g005
Figure 6. The arrangement of temperature sensors.
Figure 6. The arrangement of temperature sensors.
Micromachines 12 00201 g006
Figure 7. Temperatures of 11 temperature sensors.
Figure 7. Temperatures of 11 temperature sensors.
Micromachines 12 00201 g007
Figure 8. The maximal tree of the clustering analysis of the maximal tree method.
Figure 8. The maximal tree of the clustering analysis of the maximal tree method.
Micromachines 12 00201 g008
Figure 9. Scree plot of the PCR model.
Figure 9. Scree plot of the PCR model.
Micromachines 12 00201 g009
Figure 10. The structure of the neural network model.
Figure 10. The structure of the neural network model.
Micromachines 12 00201 g010
Figure 11. The fitting results of the PCR model (measured positioning error marked with dots) in experiment I.
Figure 11. The fitting results of the PCR model (measured positioning error marked with dots) in experiment I.
Micromachines 12 00201 g011
Figure 12. The fitting results of the MLR model (measured positioning error marked with dots) in experiment I.
Figure 12. The fitting results of the MLR model (measured positioning error marked with dots) in experiment I.
Micromachines 12 00201 g012
Figure 13. The fitting results of the artificial neural network (ANN) model (measured positioning error marked with dots) in experiment I.
Figure 13. The fitting results of the artificial neural network (ANN) model (measured positioning error marked with dots) in experiment I.
Micromachines 12 00201 g013
Figure 14. Residual error in experiment I: (a) residual error of PCR model; (b) residual error of MLR model; (c) residual error of ANN model.
Figure 14. Residual error in experiment I: (a) residual error of PCR model; (b) residual error of MLR model; (c) residual error of ANN model.
Micromachines 12 00201 g014
Figure 15. Temperatures of 11 temperature sensors of experiment II.
Figure 15. Temperatures of 11 temperature sensors of experiment II.
Micromachines 12 00201 g015
Figure 16. Positioning error of experiment II.
Figure 16. Positioning error of experiment II.
Micromachines 12 00201 g016
Figure 17. The prediction results of the PCR model (measured positioning error marked with dots) in experiment II.
Figure 17. The prediction results of the PCR model (measured positioning error marked with dots) in experiment II.
Micromachines 12 00201 g017
Figure 18. The prediction results of the MLR model (measured positioning error marked with dots) in experiment II.
Figure 18. The prediction results of the MLR model (measured positioning error marked with dots) in experiment II.
Micromachines 12 00201 g018
Figure 19. The prediction results of ANN model (measured positioning error marked with dots) in experiment II.
Figure 19. The prediction results of ANN model (measured positioning error marked with dots) in experiment II.
Micromachines 12 00201 g019
Figure 20. Residual error in experiment II: (a) residual error of the PCR model; (b) residual error of the MLR model; and (c) residual error of the ANN model.
Figure 20. Residual error in experiment II: (a) residual error of the PCR model; (b) residual error of the MLR model; and (c) residual error of the ANN model.
Micromachines 12 00201 g020
Figure 21. Prediction result of each curve: (a) result of the error modeling at 40 min; (b) result of the error modeling at 120 min; (c) result of the error modeling at 160 min; and (d) result of the error modeling at 220 min.
Figure 21. Prediction result of each curve: (a) result of the error modeling at 40 min; (b) result of the error modeling at 120 min; (c) result of the error modeling at 160 min; and (d) result of the error modeling at 220 min.
Micromachines 12 00201 g021
Table 1. The installation locations of temperature sensors.
Table 1. The installation locations of temperature sensors.
SensorLocation
1Y axis motor
2Column
3Front end of Y axis guideway
4Bed
5Back end of Y axis guideway
6Environment around the machine tool
7Front bearing of Y axis
8Work table
9Rear bearing of Y axis
10Leading screw nut
11Environment of the room
Table 2. The slope of each trend line.
Table 2. The slope of each trend line.
No.Curve Slope kik
000
111
222
333
444
555
666
777
Table 3. Cluster results of maximal tree method.
Table 3. Cluster results of maximal tree method.
Threshold Value of λCluster Result
[ 0 , 0.94943 ) { T 1 , T 2 , T 3 , T 4 , T 5 , T 6 , T 7 , T 8 , T 9 , T 10 , T 11 }
[ 0.94943 , 0.96927 ) { T 1 , T 2 , T 3 , T 4 , T 5 , T 6 , T 7 , T 8 , T 9 , T 10 } , { T 11 }
[ 0.96927 , 0.97348 ) { T 1 , T 2 , T 3 , T 4 , T 5 , T 6 , T 8 , T 9 , T 10 } , { T 7 } , { T 11 }
[ 0.97348 , 0.97891 ) { T 1 , T 5 , T 6 , T 9 , T 10 } , { T 2 , T 3 , T 4 , T 8 } , { T 7 } , { T 11 }
[ 0.97891 , 0.98226 ) { T 1 } , { T 2 , T 3 , T 4 , T 8 } { T 5 , T 6 , T 9 , T 10 } , { T 7 } , { T 11 }
[ 0.98226 , 0.98288 ) { T 1 } , { T 2 , T 3 , T 4 , T 8 } , { T 5 , T 6 } , { T 7 } , { T 9 , T 10 } , { T 11 }
[ 0.98288 , 0.98366 ) { T 1 } , { T 2 , T 3 , T 4 , T 8 } , { T 5 } , { T 6 } , { T 7 } , { T 9 , T 10 } , { T 11 }
[ 0.98366 , 0.98747 ) { T 1 } , { T 2 } , { T 3 , T 4 , T 8 } , { T 5 } , { T 6 } , { T 7 } , { T 9 , T 10 } , { T 11 }
[ 0.98747 , 0.98947 ) { T 1 } , { T 2 } , { T 3 } , { T 4 , T 8 } , { T 5 } , { T 6 } , { T 7 } , { T 9 , T 10 } , { T 11 }
[ 0.98947 , 0.9921 ) { T 1 } , { T 2 } , { T 3 } , { T 4 , T 8 } , { T 5 } , { T 6 } , { T 7 } , { T 9 } , { T 10 } , { T 11 }
[ 0.9921 , 1 ] { T 1 } , { T 2 } , { T 3 } , { T 4 } , { T 5 } , { T 6 } , { T 7 } , { T 8 } , { T 9 } , { T 10 } , { T 11 }
Table 4. The correlation coefficients between temperature variables and slope k i .
Table 4. The correlation coefficients between temperature variables and slope k i .
Temperature VariableCorrelation CoefficientTemperature VariableCorrelation Coefficient
T10.9725T70.8536
T20.9660T80.9382
T30.9538T90.9667
T40.9160T100.9440
T50.9814T110.8889
T60.9673
Table 5. The combination of the representative variables in each cluster.
Table 5. The combination of the representative variables in each cluster.
No.Cluster Result
1T5,
2T5,T11
3T5,T7,T11
4T2,T5,T7,T11
5T1,T2,T5,T7,T11
6T1,T2,T5,T7,T9,T11
7T1,T2,T5,T6,T7,T9,T11
8T1,T2,T3,T5,T6,T7,T9,T11
9T1,T2,T3,T5,T6,T7,T8,T9,T11
10T1,T2,T3,T5,T6,T7,T8,T9,T10,T11
11T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11
Table 6. Sample determination coefficient R2.
Table 6. Sample determination coefficient R2.
The Number of VariablesR2
10.963
20.963
30.971
40.989
50.997
60.999
Table 7. Variance analysis of 5 variables.
Table 7. Variance analysis of 5 variables.
ModelSum of SquaresdfMean SquareFSig.
1Regression0.01250.002120.0140.008
Residual0.00020.000
Total0.0127
Table 8. Variance analysis of 6 variables.
Table 8. Variance analysis of 6 variables.
ModelSum of SquaresdfMean SquareFSig.
1Regression0.01260.002170.8380.058
Residual0.00010.000
Total0.0127
Table 9. Model summary of MLR.
Table 9. Model summary of MLR.
ModelRR SquareAdjusted R SquareStd. Error of the Estimate
10.9980.9970.9880.0044024
Table 10. Coefficients of MLR.
Table 10. Coefficients of MLR.
ModelUnstandardized
Coefficients
Standardized
Coefficients
tSig.
BStd. ErrorBeta
1(Constant)−0.87820.3738 −2.34920.1433
T10.01780.00810.55532.19370.1595
T20.09460.02441.00143.87700.0605
T5−0.00160.0195−0.0331−0.08170.9423
T7−0.06080.0166−0.4553−3.66750.0670
T11−0.02380.0235−0.1006−1.01330.4176
Table 11. Total variance explained.
Table 11. Total variance explained.
ComponentInitial Eigen valuesExtraction Sums of Squared Loadings
TotalPercentage of VarianceCumulative PercentageTotalPercentage of VarianceCumulative Percentage
14.64592.89692.8964.64592.89692.896
20.1943.88096.776
30.1182.36799.143
40.0360.72599.868
50.0070.132100.000
Table 12. Model summary of the PCR.
Table 12. Model summary of the PCR.
ModelRR SquareAdjusted R SquareStd. Error of the Estimate
10.9680.9380.9270.0110105
Table 13. Variance analysis of PCR.
Table 13. Variance analysis of PCR.
ModelSum of SquaresdfMean SquareFSig.
1Regression0.01110.01190.3260.000
Residual0.00160.000
Total0.0127
Table 14. Coefficients of PCR.
Table 14. Coefficients of PCR.
ModelUnstandardized
Coefficients
Standardized
Coefficients
tSig.
BStd. ErrorBeta
1(Constant)−0.32430.0039 −83.30800.0000
C10.03960.00420.96849.50400.0000
Table 15. Model summary of principal component 1.
Table 15. Model summary of principal component 1.
ModelRR SquareAdjusted R SquareStd. Error of the Estimate
11.0001.0001.0000.00000000
Table 16. Variance analysis principal component 1.
Table 16. Variance analysis principal component 1.
ModelSum of SquaresdfMean SquareFSig.
1Regression7.00051.400
Residual0.00020.000
Total7.0007
Table 17. Coefficients of principal component 1.
Table 17. Coefficients of principal component 1.
ModelUnstandardized
Coefficients
Standardized
Coefficients
tSig.
BStd. ErrorBeta
1(Constant)−50.60620.0000 −51938166.36630.0000
T10.16310.00000.20847731564.46270.0000
T20.49020.00000.21207708140.85930.0000
T50.25120.00000.21324941567.55910.0000
T70.66140.00000.202315306040.95340.0000
T111.16660.00000.201519050321.83420.0000
Table 18. MSE of the neural network with different nodes in the hidden layer.
Table 18. MSE of the neural network with different nodes in the hidden layer.
Number of NodesMSE
31.137 × 10−5
49.9999 × 10−6
59.9909 × 10−6
69.9962 × 10−6
72.0819 × 10−5
Table 19. R2 of the neural network with different nodes in the hidden layer.
Table 19. R2 of the neural network with different nodes in the hidden layer.
Number of NodesR2
30.9961
40.9966
50.9966
60.9966
70.9928
Table 20. Fitting results of three models.
Table 20. Fitting results of three models.
ModelRMSEMAXRMINR
PCR1.99783.9−6
MLR1.31342.1−3.4
ANN1.33572.8−3.3
MAXR means maximal residual error, and MINR means minimum residual error.
Table 21. Prediction results of three models.
Table 21. Prediction results of three models.
ModelRMSEMAXRMINR
PCR4.20938.3−2.2
MLR6.490912.1−2.1
ANN7.305319.7−2.3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, Y.; Shi, H.; Ji, S.; Liang, F. Thermal Positioning Error Modeling of Servo Axis Based on Empirical Modeling Method. Micromachines 2021, 12, 201. https://doi.org/10.3390/mi12020201

AMA Style

Li Y, Shi H, Ji S, Liang F. Thermal Positioning Error Modeling of Servo Axis Based on Empirical Modeling Method. Micromachines. 2021; 12(2):201. https://doi.org/10.3390/mi12020201

Chicago/Turabian Style

Li, Yang, Hexuan Shi, Shijun Ji, and Fusheng Liang. 2021. "Thermal Positioning Error Modeling of Servo Axis Based on Empirical Modeling Method" Micromachines 12, no. 2: 201. https://doi.org/10.3390/mi12020201

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