# Thermal Error Modeling Method for a CNC Machine Tool Feed Drive System

Authors: Kuo Liu; Mingjia Sun; Yuliang Wu; Tiejun Zhu
Journal: Mathematical Problems in Engineering
 (2015)

---

## Abstract

The disadvantages of the common current thermal error modeling methods for CNC machine tool feed drive systems were analyzed, such as the requirement of many temperature sensors to reach high accuracy and poor applicability of different moving states. A new robust modeling method based on the heat transfer theory is proposed, and the procedure of the thermal tests for a feed drive system is presented. Multiple regression method and robust modeling method based on the heat transfer theory were, respectively, used to establish a thermal error model, and a pointer automatic optimizer was used to optimize the parameters in the robust model. A compensation simulation was conducted under five different moving states using these two modeling methods, and the advantages of the robust modeling method were proved. Finally, the compensation effect of the robust modeling method was verified under a random moving state on a vertical machining center.


---

## Body

## 1. Introduction

Currently, mainly two methods are used to reduce CNC machine tool thermal errors: error prevention and error compensation [1]. The error prevention method tries to eliminate or reduce the deformation of machines during the design or construction phase of the machine tool [2] such as screw or nut cooling, using thermally insensitive materials and symmetric design. The error prevention method can control the thermal errors of machines to some extent but has some disadvantages such as higher cost. Moreover, not all the feed drive systems can be designed as a heat symmetric structure. The error prevention method compensates any changes in dimensions due to thermal fluctuations. This method can be implemented during any design/construction phase of the machine tool [3]. The error prevention method is a “soft technology” and inexpensive, but the problem is how to generate opposite errors in a machine tool rationally at a special time and position.Many studies have developed compensation schemes to counteract the thermal deformation of a feed drive system. Some studies have established thermal error models using the multiple linear regression method [4–7]. However, the multiple linear regression method has poor robustness. If the position and speed of a feed drive system in an actual cutting process is different from those of the modeling tests, the prediction effects will be poor. Other studies have established thermal error models using the artificial neural network and other methods [8–11]. An artificial neural network can only provide a better effect when complete input and output information are used. Mistakes can occur if inaccurate input and output information are used. In summary, the current studies established thermal error models by mainly using the mathematical methods to predict thermal errors by reading the temperatures of the critical points in real time. The main disadvantage of the existing methods is that when the moving state of the machine tool is changed, the prediction effect will be poor. Moreover, many temperature sensors are needed to obtain high accuracy, resulting in a higher cost and lower system reliability.Some machine tool builders have applied thermal error compensation on CNC machine tools such as OKUMA’s thermofriendly technology and MAZAK’s intelligent thermal shield. However, most of them compensate the thermal errors caused by ambient temperature variation and spindle rotation. For the thermal errors caused by ball-screw friction, ball screw or nut cooling is used instead of error compensation.According to the current studies and applications of thermal error compensation, a new robust modeling method based on the heat transfer theory is proposed. In this modeling method, the thermal errors caused by ambient temperature variation and ball-screw friction were calculated separately. Based on the heat production, heat conduction, and heat convection theory, the ball-screw temperature field at any time can be obtained to predict ball-screw thermal errors. Finally, the developed method was compared with the multiple regression modeling method through simulation and experiment.


## 2. Testing of Thermal Errors

The thermal errors of a feed drive system were investigated on thex-axis of a vertical machining center. This machine tool used a cross-sliding table structure with one end fixed and one end supporting ball screws. The control system used is FANUC 0i MATE-MD, the strokes of x
/
y
/
z-axis are 850/500/540 mm, respectively, and the maximum speeds are 32/32/30 m/min, respectively.Two temperature sensors, whose tolerance is ±0.1°C (5–45°C), were placed on the nut and base near the bearing block [12–14], as shown in Figure 1. Several experiments were conducted to optimize the best placement of the temperature sensors.Figure 1
Placement of temperature sensors on the machine tool.Thermal errors were investigated using a dual-frequency laser interferometer XL80 system, as shown in Figure2. Importantly, the “expansion compensation” should be set at 20°C to cancel the ambient temperature compensation function of the software.Figure 2
Investigation of thermal errors using a laser interferometer.The tests were conducted under five moving states, and the test parameters are shown in Table1.Table 1
Parameters of thermal error tests.
Speed (mm/min)
Range (mm)
State 1
8000
210–490
State 2
6500
210–490
State 3
15000
210–490
State 4
8000
0–210
State 5
8000
0–700For example, the procedure of thermal tests in state 1 is described as follows:(1)
Test the positioning error ofx-axis in the range 0–700 mm, and record the values of temperature sensors 1 and 2.
(2)
Letx-axis move in the range 210–490 mm at 8000 mm/min for a period of time (~10 min).
(3)
Stop moving. Test the positioning error, and record the values of temperature sensors 1 and 2.
(4)
Repeat steps (2) and (3) untilx-axis reaches the heat balance.
(5)
Letx-axis stop at a certain position to cool down. Test the positioning error at intervals (~10 min), and record the values of temperature sensors 1 and 2.Based on the above tests, thermal error curves (Figure3) and temperature curves (Figure 4) were obtained. In Figure 3, the warm-up curves are marked in blue, and the cool-down curves are marked in red.Figure 3
Thermal error curves ofx-axis.Figure 4
Temperature curves ofx-axis.Tests were conducted under states 2–5 in the same manner.


## 3. Multiple Regression Modeling Method

The multiple regression model is a multiple-input-single-output system. The multiple regression method has some advantages such as a simple modeling procedure. When the moving state of a machine tool is constant, a relatively high compensation accuracy can be obtained. The thermal error model established with the multiple regression method can be described as follows:(1)
E
=
a
m
T
n
m
+
a
m
-
1
T
n
m
-
1
+
⋯
+
a
1
T
n
+
b
m
T
b
m
+
b
m
-
1
T
b
m
-
1
+
⋯
+
b
1
T
b
+
c
P
x
,where T
n is the real-time temperature of sensor 1, °C; T
b is the real-time temperature of sensor 2, °C; P
x is the real-time position of x-axis, mm; a
i and b
i are the multinomial coefficient of T
n and T
b, respectively.a
i and b
i can be determined using the least square method. According to previous studies, the maximum degree of polynomial m
≤
4. Moreover, Δ
T
n and Δ
T
b can be used instead of T
n and T
b in (1) to obtain the same result. Because they are both used to fit the slopes of the thermal error curves, the only difference is the values of a
i, b
i, and c.


## 4. Robust Modeling Method Based on the Heat Transfer Theory

The thermal errorE of a feed drive system can be divided into two parts: E
e (caused by the changes in ambient temperature) and E
m (caused by the nut’s movement). According to the temperature superposition principle, they can be superposed [15]; that is, the temperature response of multiple sources is the same as the sum of the temperature responses of all the single sources.The screw is discretized intoM segments, and the length of each segment is L, as shown in Figure 5.Figure 5
Discretization of the screw.


### 4.1. Errors Caused by the Changes in Ambient Temperature

In general, the change in ambient temperature is slow. Therefore, the change in ball-screw temperature caused by the change in ambient temperature is also slow. Therefore,E
e can be described as follows:(2)
E
e
=
α
T
b
-
T
b
0
P
x
,where α is the thermal expansion coefficient of ball screw, μm/(m
×
C
°); T
b is the real-time temperature of sensor 2, °C; T
b
0 is the initial temperature of sensor 2 during the test, °C.


### 4.2. Errors Caused by Movement

The temperature distribution of each point in an object is known as temperature field, which is not only the function of position but also the function of time [16]. Because ball-screw axial thermal deformation is the main source of accuracy loss in a feed drive system, ball screw can be simplified to a one-dimensional bar.For a certain segmentL
i of ball screw, nut friction can cause a temperature rise of L
i. L
i will conduct heat to both sides of L
i and simultaneously exchange the heat with the surrounding air. Therefore, the thermal equilibrium equation for L
i can be expressed as follows:(3)
c
m
Δ
T
L
i
=
Q
L
i
-
1
-
Q
L
i
-
2
-
Q
L
i
-
3
,where c is the heat capacity of ball screw, J/(k
g
×
C
°); m is the mass of a segment of ball screw, kg; Δ
T
L
i is the temperature rise of L
i, °C; Q
L
i
-
1 is the friction heat production of L
i, J; Q
L
i
-
2 is the axial heat conduction of L
i to both sides, J; Q
L
i
-
3 is the heat convection of L
i with the surrounding air, J.


#### 4.2.1. Friction Heat Production

ForL
i, the total friction heat production Q
L
i
-
1 is(4)
Q
L
i
-
1
=
Q
N
,where Q is the heat production of L
i after one friction, J; N is the number of frictions of L
i.


#### 4.2.2. Axial Heat Conduction

If the nut moves onL
i at time t, then the axial heat conduction Q
L
i
-
2 during (
t
,
t
+
Δ
t
) can be expressed as follows:(5)
Q
L
i
-
2
=
λ
A
T
L
i
-
T
L
i
-
1
+
T
L
i
-
T
L
i
+
1
L
Δ
t
,where λ is the coefficient of heat conduction, W
/
(
m
×
C
°
); A is the cross-sectional area of ball screw, m2; T
L
i is the temperature of L
i at a certain time, °C; T
L
i
-
1 is the temperature of L
i
-
1 at a certain time, °C; T
L
i
+
1 is the temperature of L
i
+
1 at a certain time, °C.ForL
1 and L
M especially,(6)
Q
L
1
-
2
=
λ
A
T
L
1
-
T
L
0
L
m
0
Δ
t
+
λ
A
T
L
1
-
T
L
2
L
Δ
t
Q
L
M
-
2
=
λ
A
T
L
M
-
T
L
M
-
1
L
Δ
t
+
λ
A
T
L
M
-
T
L
M
+
1
L
m
1
Δ
t
.


#### 4.2.3. Heat Convection

If the nut moves onL
i at time t, then the heat convection Q
L
i
-
3 during time (
t
,
t
+
Δ
t
) can be expressed as follows:(7)
Q
L
i
-
3
=
h
S
T
L
i
-
T
f
Δ
t
,where h is the heat exchange coefficient [17], W
/
(
m
2
×
C
°
); S is the heat exchange area of L
i, S
=
A
×
L, m2; T
f is the ambient temperature, °C.Δ
T
L
i can be obtained from (3)–(7).The thermal change of ball screw is a dynamic process; therefore, the temperature field of the ball screw also changes dynamically. ForL
i, T
L
i
(
t
+
Δ
t
) at time t
+
Δ
t  can be calculated using T
L
i
(
t
) at time t [18]:(8)
T
L
i
t
+
Δ
t
=
T
L
i
t
+
Δ
T
L
i
.Therefore, ball-screw thermal errors caused by movement at a certain timet can be expressed as follows:(9)
E
m
=
∑
i
=
1
M
α
T
L
i
-
T
f
L
i
.


### 4.3. Total Errors of Feed Drive System

Combining (2) and (3), the total thermal error model of the feed drive system can be obtained as follows:(10)
E
=
E
e
+
E
m
.A robust modeling method based on the heat transfer theory considers the dynamic process of a feed drive system’s temperature field; therefore, even if the moving state of the feed drive system changes, an excellent compensation result can still be obtained.


### 4.4. Identification of Parameters

In the robust model, some parameters are difficult to determine such as heat capacityc, coefficient of heat conduction λ, heat exchange coefficient h, and heat production of L
i after one friction Q. A parameter identification method is needed to determine these parameters. The above mentioned parameters were optimized using the pointer automatic optimizer of the ISIGHT 5.0 software, and the optimal values of c
′, h
′, λ
′, and Q
′ were obtained.


## 4.1. Errors Caused by the Changes in Ambient Temperature

In general, the change in ambient temperature is slow. Therefore, the change in ball-screw temperature caused by the change in ambient temperature is also slow. Therefore,E
e can be described as follows:(2)
E
e
=
α
T
b
-
T
b
0
P
x
,where α is the thermal expansion coefficient of ball screw, μm/(m
×
C
°); T
b is the real-time temperature of sensor 2, °C; T
b
0 is the initial temperature of sensor 2 during the test, °C.


## 4.2. Errors Caused by Movement

The temperature distribution of each point in an object is known as temperature field, which is not only the function of position but also the function of time [16]. Because ball-screw axial thermal deformation is the main source of accuracy loss in a feed drive system, ball screw can be simplified to a one-dimensional bar.For a certain segmentL
i of ball screw, nut friction can cause a temperature rise of L
i. L
i will conduct heat to both sides of L
i and simultaneously exchange the heat with the surrounding air. Therefore, the thermal equilibrium equation for L
i can be expressed as follows:(3)
c
m
Δ
T
L
i
=
Q
L
i
-
1
-
Q
L
i
-
2
-
Q
L
i
-
3
,where c is the heat capacity of ball screw, J/(k
g
×
C
°); m is the mass of a segment of ball screw, kg; Δ
T
L
i is the temperature rise of L
i, °C; Q
L
i
-
1 is the friction heat production of L
i, J; Q
L
i
-
2 is the axial heat conduction of L
i to both sides, J; Q
L
i
-
3 is the heat convection of L
i with the surrounding air, J.


### 4.2.1. Friction Heat Production

ForL
i, the total friction heat production Q
L
i
-
1 is(4)
Q
L
i
-
1
=
Q
N
,where Q is the heat production of L
i after one friction, J; N is the number of frictions of L
i.


### 4.2.2. Axial Heat Conduction

If the nut moves onL
i at time t, then the axial heat conduction Q
L
i
-
2 during (
t
,
t
+
Δ
t
) can be expressed as follows:(5)
Q
L
i
-
2
=
λ
A
T
L
i
-
T
L
i
-
1
+
T
L
i
-
T
L
i
+
1
L
Δ
t
,where λ is the coefficient of heat conduction, W
/
(
m
×
C
°
); A is the cross-sectional area of ball screw, m2; T
L
i is the temperature of L
i at a certain time, °C; T
L
i
-
1 is the temperature of L
i
-
1 at a certain time, °C; T
L
i
+
1 is the temperature of L
i
+
1 at a certain time, °C.ForL
1 and L
M especially,(6)
Q
L
1
-
2
=
λ
A
T
L
1
-
T
L
0
L
m
0
Δ
t
+
λ
A
T
L
1
-
T
L
2
L
Δ
t
Q
L
M
-
2
=
λ
A
T
L
M
-
T
L
M
-
1
L
Δ
t
+
λ
A
T
L
M
-
T
L
M
+
1
L
m
1
Δ
t
.


### 4.2.3. Heat Convection

If the nut moves onL
i at time t, then the heat convection Q
L
i
-
3 during time (
t
,
t
+
Δ
t
) can be expressed as follows:(7)
Q
L
i
-
3
=
h
S
T
L
i
-
T
f
Δ
t
,where h is the heat exchange coefficient [17], W
/
(
m
2
×
C
°
); S is the heat exchange area of L
i, S
=
A
×
L, m2; T
f is the ambient temperature, °C.Δ
T
L
i can be obtained from (3)–(7).The thermal change of ball screw is a dynamic process; therefore, the temperature field of the ball screw also changes dynamically. ForL
i, T
L
i
(
t
+
Δ
t
) at time t
+
Δ
t  can be calculated using T
L
i
(
t
) at time t [18]:(8)
T
L
i
t
+
Δ
t
=
T
L
i
t
+
Δ
T
L
i
.Therefore, ball-screw thermal errors caused by movement at a certain timet can be expressed as follows:(9)
E
m
=
∑
i
=
1
M
α
T
L
i
-
T
f
L
i
.


## 4.2.1. Friction Heat Production

ForL
i, the total friction heat production Q
L
i
-
1 is(4)
Q
L
i
-
1
=
Q
N
,where Q is the heat production of L
i after one friction, J; N is the number of frictions of L
i.


## 4.2.2. Axial Heat Conduction

If the nut moves onL
i at time t, then the axial heat conduction Q
L
i
-
2 during (
t
,
t
+
Δ
t
) can be expressed as follows:(5)
Q
L
i
-
2
=
λ
A
T
L
i
-
T
L
i
-
1
+
T
L
i
-
T
L
i
+
1
L
Δ
t
,where λ is the coefficient of heat conduction, W
/
(
m
×
C
°
); A is the cross-sectional area of ball screw, m2; T
L
i is the temperature of L
i at a certain time, °C; T
L
i
-
1 is the temperature of L
i
-
1 at a certain time, °C; T
L
i
+
1 is the temperature of L
i
+
1 at a certain time, °C.ForL
1 and L
M especially,(6)
Q
L
1
-
2
=
λ
A
T
L
1
-
T
L
0
L
m
0
Δ
t
+
λ
A
T
L
1
-
T
L
2
L
Δ
t
Q
L
M
-
2
=
λ
A
T
L
M
-
T
L
M
-
1
L
Δ
t
+
λ
A
T
L
M
-
T
L
M
+
1
L
m
1
Δ
t
.


## 4.2.3. Heat Convection

If the nut moves onL
i at time t, then the heat convection Q
L
i
-
3 during time (
t
,
t
+
Δ
t
) can be expressed as follows:(7)
Q
L
i
-
3
=
h
S
T
L
i
-
T
f
Δ
t
,where h is the heat exchange coefficient [17], W
/
(
m
2
×
C
°
); S is the heat exchange area of L
i, S
=
A
×
L, m2; T
f is the ambient temperature, °C.Δ
T
L
i can be obtained from (3)–(7).The thermal change of ball screw is a dynamic process; therefore, the temperature field of the ball screw also changes dynamically. ForL
i, T
L
i
(
t
+
Δ
t
) at time t
+
Δ
t  can be calculated using T
L
i
(
t
) at time t [18]:(8)
T
L
i
t
+
Δ
t
=
T
L
i
t
+
Δ
T
L
i
.Therefore, ball-screw thermal errors caused by movement at a certain timet can be expressed as follows:(9)
E
m
=
∑
i
=
1
M
α
T
L
i
-
T
f
L
i
.


## 4.3. Total Errors of Feed Drive System

Combining (2) and (3), the total thermal error model of the feed drive system can be obtained as follows:(10)
E
=
E
e
+
E
m
.A robust modeling method based on the heat transfer theory considers the dynamic process of a feed drive system’s temperature field; therefore, even if the moving state of the feed drive system changes, an excellent compensation result can still be obtained.


## 4.4. Identification of Parameters

In the robust model, some parameters are difficult to determine such as heat capacityc, coefficient of heat conduction λ, heat exchange coefficient h, and heat production of L
i after one friction Q. A parameter identification method is needed to determine these parameters. The above mentioned parameters were optimized using the pointer automatic optimizer of the ISIGHT 5.0 software, and the optimal values of c
′, h
′, λ
′, and Q
′ were obtained.


## 5. Simulations and Experiments

### 5.1. Simulations

The compensation results of the multiple regression model and robust model based on the heat transfer theory were compared using Matlab R2014a.A positioning error compensation was also included in these two models considering the existing positioning errors. The positioning error compensation was used to compensate 0 min errors using the following:(11)
E
p
=
d
4
P
x
4
+
d
3
P
x
3
+
d
2
P
x
2
+
d
1
P
x
+
d
0
.


#### 5.1.1. Results of the Multiple Regression Model

In a multiple regression model,T
n’s four-order polynomial and T
b’s one-order polynomial were used as shown in (12), because the correlation coefficient between T
n and E is larger than that between T
b and E:(12)
E
=
a
4
T
n
4
+
a
3
T
n
3
+
a
2
T
n
2
+
a
1
T
n
+
b
1
T
b
+
c
P
x
.The multiple regression models were established based on the data of states 1 and 5. M1 is the model established based on the data of state 1, and M5 is the model established based on the data of state 5.The compensation results of M1 for state 1 and M5 for state 5 are shown in Figure6.Figure 6
Simulation results of M1 for state 1 and M5 for state 5.The compensation results of M1 for states 2–5 are shown in Figure7.Figure 7
Simulation results of M1 for states 2–5.


#### 5.1.2. Results of the Robust Model Based on the Heat Transfer Theory

A robust model based on the heat transfer theory was established based on the data of state 1. The compensation results for states 1–5 are shown in Figure8.Figure 8
Simulation results for states 1–5.Figures6–8 show that if the modeling state is the same as the verifying state, good compensation results can be obtained from the multiple regression model; otherwise the compensation results are poor. However, good compensation results can be obtained from a robust model based on the heat transfer theory even if the modeling state is not the same as the verifying states, because the robust model considers the moving information of a feed drive system. Therefore, it can be concluded that the robust model based on the heat transfer theory has stronger adaptability than a multiple regression model.


### 5.2. Experiments

The advantages of the robust model based on the heat transfer theory were verified by simulation reported in Section5.1. In this section, the compensation effect will be verified through experiments.The reading of a feed drive system’s position from CNC and the writing of compensation values to CNC are needed for compensation experiments. Fanuc Open CNC API Specifications (FOCAS) was used to obtain these reading and writing functions, as shown in Figure9.Figure 9
Diagram of data acquisition and error compensation.Thex-axis was moved according to the moving states shown in Table 2.Table 2
Moving states in compensation tests.
Speed(mm/min)
Range(mm)
Time (min)
State 1
8000
0–280
6
State 2
5000
490–700
10
State 3
10000
240–450
5
State 4
12000
0–700
2Position errors were investigated using a laser interferometer after each moving state, and the results are shown in Figure10.Figure 10
Compensation effects of the robust model based on the heat transfer theory.The simulation and test results in Figures8 and 10 show that good compensation results were obtained from the robust model based on the heat transfer theory under different moving states.


## 5.1. Simulations

The compensation results of the multiple regression model and robust model based on the heat transfer theory were compared using Matlab R2014a.A positioning error compensation was also included in these two models considering the existing positioning errors. The positioning error compensation was used to compensate 0 min errors using the following:(11)
E
p
=
d
4
P
x
4
+
d
3
P
x
3
+
d
2
P
x
2
+
d
1
P
x
+
d
0
.


### 5.1.1. Results of the Multiple Regression Model

In a multiple regression model,T
n’s four-order polynomial and T
b’s one-order polynomial were used as shown in (12), because the correlation coefficient between T
n and E is larger than that between T
b and E:(12)
E
=
a
4
T
n
4
+
a
3
T
n
3
+
a
2
T
n
2
+
a
1
T
n
+
b
1
T
b
+
c
P
x
.The multiple regression models were established based on the data of states 1 and 5. M1 is the model established based on the data of state 1, and M5 is the model established based on the data of state 5.The compensation results of M1 for state 1 and M5 for state 5 are shown in Figure6.Figure 6
Simulation results of M1 for state 1 and M5 for state 5.The compensation results of M1 for states 2–5 are shown in Figure7.Figure 7
Simulation results of M1 for states 2–5.


### 5.1.2. Results of the Robust Model Based on the Heat Transfer Theory

A robust model based on the heat transfer theory was established based on the data of state 1. The compensation results for states 1–5 are shown in Figure8.Figure 8
Simulation results for states 1–5.Figures6–8 show that if the modeling state is the same as the verifying state, good compensation results can be obtained from the multiple regression model; otherwise the compensation results are poor. However, good compensation results can be obtained from a robust model based on the heat transfer theory even if the modeling state is not the same as the verifying states, because the robust model considers the moving information of a feed drive system. Therefore, it can be concluded that the robust model based on the heat transfer theory has stronger adaptability than a multiple regression model.


## 5.1.1. Results of the Multiple Regression Model

In a multiple regression model,T
n’s four-order polynomial and T
b’s one-order polynomial were used as shown in (12), because the correlation coefficient between T
n and E is larger than that between T
b and E:(12)
E
=
a
4
T
n
4
+
a
3
T
n
3
+
a
2
T
n
2
+
a
1
T
n
+
b
1
T
b
+
c
P
x
.The multiple regression models were established based on the data of states 1 and 5. M1 is the model established based on the data of state 1, and M5 is the model established based on the data of state 5.The compensation results of M1 for state 1 and M5 for state 5 are shown in Figure6.Figure 6
Simulation results of M1 for state 1 and M5 for state 5.The compensation results of M1 for states 2–5 are shown in Figure7.Figure 7
Simulation results of M1 for states 2–5.


## 5.1.2. Results of the Robust Model Based on the Heat Transfer Theory

A robust model based on the heat transfer theory was established based on the data of state 1. The compensation results for states 1–5 are shown in Figure8.Figure 8
Simulation results for states 1–5.Figures6–8 show that if the modeling state is the same as the verifying state, good compensation results can be obtained from the multiple regression model; otherwise the compensation results are poor. However, good compensation results can be obtained from a robust model based on the heat transfer theory even if the modeling state is not the same as the verifying states, because the robust model considers the moving information of a feed drive system. Therefore, it can be concluded that the robust model based on the heat transfer theory has stronger adaptability than a multiple regression model.


## 5.2. Experiments

The advantages of the robust model based on the heat transfer theory were verified by simulation reported in Section5.1. In this section, the compensation effect will be verified through experiments.The reading of a feed drive system’s position from CNC and the writing of compensation values to CNC are needed for compensation experiments. Fanuc Open CNC API Specifications (FOCAS) was used to obtain these reading and writing functions, as shown in Figure9.Figure 9
Diagram of data acquisition and error compensation.Thex-axis was moved according to the moving states shown in Table 2.Table 2
Moving states in compensation tests.
Speed(mm/min)
Range(mm)
Time (min)
State 1
8000
0–280
6
State 2
5000
490–700
10
State 3
10000
240–450
5
State 4
12000
0–700
2Position errors were investigated using a laser interferometer after each moving state, and the results are shown in Figure10.Figure 10
Compensation effects of the robust model based on the heat transfer theory.The simulation and test results in Figures8 and 10 show that good compensation results were obtained from the robust model based on the heat transfer theory under different moving states.


## 6. Conclusions

The disadvantages of existing thermal error models were analyzed, and a new robust model based on the heat transfer theory was proposed. Multiple regression and robust models were derived and used for simulations and experiments. The results show that the robust model based on the heat transfer theory has better accuracy and robustness and can satisfy the actual application. The advantages of this technology are as follows:(1)
Only one temperature sensor is needed for a linear axis in real-time compensation, and the cost is low.
(2)
The manufacturing accuracy of a single workpiece can be improved.
(3)
The manufacturing consistency of the bulk of workpiece can be improved, and the rejection rate can be reduced.
(4)
Machines do not need to warm up before the machining. Thus, time and power costs can be saved.
(5)
Machines do not depend on a constant-temperature workshop, and construction and power costs can be saved.Through the above analyses, it can be concluded that this technology has excellent potential.



---

*Source: 436717-2015-10-08.xml*