1 Introduction

The ball screw is the widely used drive system in machine tool due to its high efficiency, good stiffness, and long lifetime. However, when it is moving rapidly for high-speed manufacturing, a great deal of heat is generated at bearings and the nut because of the friction, which could lead to the temperature rise and thermal deformation [1, 2]. Furthermore, the thermal deformation of the ball screw feed drive system would bring about the positioning deviation and finally result in deterioration of manufacturing accuracy [3]. Therefore, scholars and engineers devote to study the thermal characteristics of the ball screw feed drive system and reduce the thermal error [2, 4,5,6].

Numerical simulation and practical testing are the two most popular ways to investigate how the heat is transferred in the ball screw and how the shaft is deformed. Finite element method (FEM) is one of the most commonly used methods to simulate the thermal characteristic of the ball screw feed drive system numerically. Li [7] and Min [8] calculated the heat generation and boundary conditions mathematically at first. Then, they investigated the temperature fields and thermal deformations of the ball screw feed drive systems based on the FEM model. Oyanguren [9] built two 3-D FEM models of the double-nut ball screw. One was the heat transfer model which was used to predict the transient temperature. The other was the mechanical model which was applied to simulate thermal expansions, stresses, and contact forces. In Li‘s work [10], FEM was integrated with the Monte Carlo method. Then, the heat flow rates, the temperature distribution, and the thermal errors of ball screw feed drive systems were predicted. In addition, Wu [11] developed a simplified FEM model of the ball screw feed drive system. The temperature rise after long-term movement of the working table was measured and used to determine the strength of the frictional heat source by inverse analysis, which was then applied to calculate the thermal error based on the FEM model. At last, the calculation results were compared with testing data to verify the correctness of the model. It is easier and costless for scholars to know the thermal characteristics of the ball screw feed drive system by using the finite element method. However, some assumptions were made to perform the thermal analysis based on FEM, and the computed value of heat sources and boundary conditions for the numerical simulation are different with the practical working conditions at some degree. Therefore, the simulation accuracy could be affected [11, 12].

By testing, thermal characteristics under practical working conditions can be obtained. Shi and Yang [13,14,15] conducted several experiments on a CNC precision boring machine. The relationships between the thermal error and the axial thermal expansion as well as temperature of dual ball screw feed drive system were explored. It was found out that the thermal error along the axis was nearly linear, but it was nonlinear with working time. However, the working conditions are various in practical. It is cumbersome to measure the temperature changings and thermal error deformation as the ball screw feed drive system is running at different feeding speed and in different ranges, and it is difficult to obtain the data sometimes. For example, the temperature of the shaft is hard to collect by using contact temperature sensors when the shaft is rotating. Although, it is possible to obtain the temperature of the shaft of the ball screw feed drive system by using the thermal infrared imager, the accuracy of the testing is limited, and the cost of the testing is high.

Therefore, a novel finite difference model is established in this paper to study the thermal characteristics of the ball screw feed drive system. In the model, the nut is considered a moving heat source, and the boundary conditions when the nut is moving in different ranges at different speeds are applied for simulation, which could help to improve the simulation accuracy. Based on the model, the temperature of shaft and positioning deviations under various working conditions are simulated. Finally, the simulation results are verified with the experiment data.

2 Thermal model of the ball screw feed drive system based on finite difference methodology

2.1 Heat sources s of the ball screw feed drive system

As shown in Fig. 1, the ball screw feed drive system is always simplified as the one-dimensional model.

Fig. 1
figure 1

Simplified model of the ball screw feed drive system

In the model, the motor drives the ball screw to rotate. The motor is connected to the screw by the shaft coupling, and it is assumed that there is little heat transferred from the motor to the ball screw. Therefore, the front bearing, the nut, and the rear bearing are considered as the heat sources of the ball screw feed drive system. The heat fluxes transferred from these heat sources to the system are named as q1, q2, and q3, respectively. In addition, a part of heat is dissipated through heat convection, and the heat convection coefficient is h0. The initial temperature distribution is considered uniform, and the value is T0.

The heat generated from bearings is labeled as Qb, which can be computed as follows [16, 17].

$$ {Q}_b=1.047\times {10}^{-4}{n}_b{M}_b $$
(1)
$$ {M}_b={M}_{b1}+{M}_{b2} $$
(2)
$$ {M}_{b1}={f}_{b1}\cdot {P}_{b1}\cdot {d}_{bm} $$
(3)
$$ {M}_{b2}=\left\{\begin{array}{c}{10}^{-7}{f}_{b2}{\left({v}_b{n}_b\right)}^{\frac{2}{3}}{d_{bm}}^3\kern0.5em {v}_b{n}_b\ge 2000\\ {}160\times {10}^{-7}{f}_2{d_{bm}}^3\kern0.5em {v}_b{n}_b<2000\end{array}\right. $$
(4)

where, nb is the speed of the bearing, r/min. Mb1 and Mb2 represent the friction torques related to the external load and the viscous friction, respectively, M mm. fb1 and fb2 are coefficients which are determined by the type, the load, and the lubrication condition of bearings. dbm is the pitch diameter, m. vb is the kinematic viscosity of the lubricant, cSt.

Pb1 is dependent on the force of the bearing.

$$ {P}_{b1}=a{F}_{br}+b{F}_{ba} $$
(5)

where, a and b are the coefficients. Fba and Fbr are the axial and radial force of bearings, N.

Meantime, the heat generated due to the friction between the nut and the ball screw can be computed according to Eq. (6).

$$ {Q}_{nut}=0.12\pi {n}_{nut}{M}_{nut} $$
(6)
$$ {M}_{nut}={M}_{nut\_a}+{M}_{nut\_b} $$
(7)
$$ {M}_{nut\_a}=\frac{F_{nut\_a}\cdot {P}_h}{2\pi \eta}\left(1-\eta \right) $$
(8)
$$ {M}_{nut\_b}=\frac{F_{nut\_b}\cdot {P}_h}{2\pi \eta}\left(1-{\eta}^2\right) $$
(9)

where, nnut is the rotational speed of the ball screw, r/min; Mnut_a is the torque which is used to overcome the axial force and cutting force, N/m; Mnut_b is the torque which is related to the preload of the nut, N/m; Fnut_a and Fnut_b is the axial force and the preload, respectively, N; Ph is the lead of the screw, m; η is the transmission efficiency (0.95~0.98).

Then heat flux q1, q2, and q3 in the model can be obtained according to the following equations.

$$ q=\frac{Q}{A} $$
(10)

where, Q is the heat generated from bearings or the nut, W; A is the area, m2.

2.2 Heat dissipation of the ball screw feed drive system

In this paper, heat convection is considered the main way of heat dissipation, and the heat radiation is neglected. When the feed drive system is running, the heat is transferred by forced convection. Otherwise, it is considered that the heat is dissipated by the free convection. The convection heat transfer coefficient h can be computed as follows.

$$ h=\frac{Nu\cdot \lambda f}{L} $$
(11)

where, Nu is the Nusselt number; λfis the heat conductivity of the fluid, W/(m °C), L is the feature size, m.

  1. 1)

    Free convection heat transfer coefficient

For lots of circumstances, the free convection heat transfer coefficient can be calculated according to Eq. (11), in which Nusselt number Nu is represented as:

$$ {N}_u=C{\left( Gr\cdot \Pr \right)}^{\frac{1}{4}} $$
(12)

where, Cis the constant. Pr is Prandtl number. Gr is Grashof number, which can be obtained based on the following equation.

$$ Gr=\frac{g\cdot \beta \cdot {L}^3\cdot \varDelta T}{\upsilon^2} $$
(13)

where, g is the acceleration of gravity, m/s2. β is the volume coefficient of expansion, 1/K. ΔT is the temperature differences between the parts of the feed drive system and the fluid. υ is the kinematic viscosity of the fluid, m2/s.

In summary, the free convection heat transfer coefficients between parts of the feed drive system and the fluid (normally the air) can be obtained according to the following equation.

$$ h=\frac{C\cdot \lambda }{L}{\left(\frac{g\beta {L}^3\varDelta T}{\upsilon^2}\cdot \Pr \right)}^{\frac{1}{4}} $$
(14)
  1. 2)

    Forced convection heat transfer coefficient

Different with the free convection, the Nusselt number of forced convection can be obtained based on the following equation.

$$ {N}_u=0.133R{e}^{\frac{2}{3}}{\Pr}^{\frac{1}{4}} $$
(15)

where, Re is the Reynolds number which is represented as

$$ \mathit{\operatorname{Re}}=\frac{\pi {n}_{nut}{d}^2}{60\upsilon } $$
(16)

where, d is the diameter of the ball screw, m.

Finally, the equation for computing the forced convection heat transfer coefficient can be derived.

$$ h=\frac{0.133{\lambda}_f{\left(\frac{\pi {n}_{nut}{d}^2}{60\upsilon}\right)}^{\frac{2}{3}}{\Pr}^{\frac{1}{4}}}{L} $$
(17)

2.3 Heat transfer model of the ball screw feed drive system under various working conditions based on FDM

Finite difference method (FDM), finite element method (FEM), finite analytic method (FAM), and finite volume method (FVM) are widely used numerical analysis methods. Based on FEM, some commercial softwares, such as ANSYS, were emerged and applied for simulation in the field of heat transfer. Although the simulation stability is commonly good, the accuracy is highly dependent on the boundary conditions. Unfortunately, the working conditions of the ball screw feed drive system are complex in practical. The nut is always moving in different ranges under different speeds for different periods of time, and the nut becomes a moving heat source. In other words, working conditions are complicated and hard to be determined for finite element analysis. By contrast, FDM is suitable for learning the heat transfer in the object of simple geometry, and the time for numerical simulation is relatively short. Therefore, FDM is applied to establish the heat transfer model of the ball screw system in this paper in which the moving heat source is considered as well.

Supposing that the length of the screw is L, and it is composed of N elements with length of dx. The total time for the heat transfer is supposed as t, and it is divided into M elements of which the duration time is dt. It is considered that there is a node in the middle of each element. The temperature of the node is represented as the average temperature of the element. For example, T(n,m) is considered the average temperature of the nth element at moment m. T(n-1,m) and T(n + 1,m) are the temperatures of elements next to the nth element at the same time. T(n,m + 1) is the temperature of the nth element at the moment m + 1. The heat transfer model of the ball screw feed drive system based on FDM is showed in Fig. 2. Qsur is the heat transferred between the nth element and surroundings at moment t. x is related to the position of the nut. d is the equivalent diameter of the ball screw.

Fig. 2
figure 2

Heat transfer of the element in the middle of the ball screw

Take the nth element for example, the heat flowing into it from the left element Qleft at moment m can be computed based on the Fourier law.

$$ {Q}_{left}=-\lambda \frac{T\left(n,m\right)-T\left(n-1,m\right)}{dx}\;\frac{\pi {d}^2}{4} $$
(18)

where, λ is the heat conductivity coefficient, W m−1 K−1.

Similarly, the heat flowing into the nth element from right Qright at moment m is

$$ {Q}_{right}=-\lambda \frac{T\left(n+1,m\right)-T\left(n,m\right)}{dx}\;\frac{\pi {d}^2}{4} $$
(19)

The heat transferred from surroundings is labeled as Qsur.

$$ {Q}_{sur}=q(x)\pi d\cdot dx $$
(20)

According to the conservation law, we know that

$$ {Q}_{left}+{Q}_{sur}+Q={Q}_{right}+{Q}_{in} $$
(21)

where, \( \dot{Q} \) and Qin are the heat generated in the system and the increment of internal energy, respectively.

In this case,

$$ \dot{Q}=0 $$
(22)
$$ {Q}_{in}=\rho c\frac{T\left(n,m+1\right)-T\left(n,m\right)}{dt} dx\frac{\pi {d}^2}{4} $$
(23)

Substituting Eq. (22) and Eq. (23) into Eq. (21), then

$$ T\left(n,m+1\right)=\frac{\lambda }{\rho c}\frac{dt}{d{x}^2}\left[T\left(n-1,m\right)+T\left(n+1,m\right)\right]+\left(1-2\frac{\lambda }{\rho c}\frac{dt}{d{x}^2}\right)T\left(n,m\right)+\frac{4 dt}{\rho c d}q(x) $$
(24)

Supposing that,

$$ \gamma =\frac{\lambda }{\rho c}\frac{dt}{d{x}^2} $$
$$ \beta =\frac{4 dt}{\rho cd} $$

Then Eq. (24) can be changed into Eq. (25).

$$ T\left(n,m+1\right)=\gamma \left[T\left(n-1,m\right)+T\left(n+1,m\right)\right]+\left(1-2\gamma \right)T\left(n,m\right)+\beta q(x) $$
(25)

The left end of the ball screw is connected to the motor by coupling, it assumed that there is little heat transferred into screw from left. The heat transfer model of ball screw at the left end is shown in Fig. 3, in which T(0,m) is the average temperature of the element at the left end at moment m. The relationship between T(0, m), T(0, m + 1), and T(1,m) is shown in Eq. (26).

Fig. 3
figure 3

Heat transfer of the element at the left end of the ball screw (near front bearing)

$$ T\left(0,m+1\right)=\left(1-\gamma \right)T\left(0,m\right)+\gamma T\left(1,m\right)+\beta q(x) $$
(26)

Figure 4 shows the heat transfer in the element at the right end. As the right end is exposed to the air, the heat is transfer by convection. The convection heat transfer coefficient is assumed as h0. T(N, m + 1) represents the average temperature of the element at the right end at moment m + 1, which can be computed according to the following equation (Eq. (27)).

Fig. 4
figure 4

Heat transfer of the element at the left end of the ball screw (near rear bearing)

$$ T\left(N,m+1\right)=\gamma T\left(N-1,m\right)+\left(1-\gamma \right)T\left(N,m\right)+\frac{\beta d}{4 dx}{h}_0\left[{T}_0-T\left(N,m\right)\right]+\beta q(x) $$
(27)

According to Eq. (25), (26), and (27), Eq. (28) can be derived. Then the temperature of the ball screw at different locations and different moments can be obtained through iterative computing.

$$ T\left(n,m+1\right)=\left\{\begin{array}{c}\left(1-\gamma \right)T\left(n,m\right)+\gamma T\left(1,m\right)+\beta q(x)\kern0.62em \;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;\;n=0\\ {}\begin{array}{cc}\gamma \left[T\left(n-1,m\right)+T\left(n+1,m\right)\right]+\left(1-2\gamma \right)T\left(n,m\right)+\beta q(x)\;\;\;\;\;\;\;\;\;\;& 0<n<N\end{array}\\ {}\begin{array}{cc}\gamma T\left(n-1,m\right)+\left(1-\gamma \right)T\left(n,m\right)+\frac{\beta d}{4 dx}{h}_0\left[{T}_0-T\left(n,m\right)\right]+\beta q(x)& n=N\end{array}\end{array}\right\} $$
(28)

where, q(x) is determined by the position of x on the ball screw.

$$ q(x)=\left\{\begin{array}{c}{q}_1\kern0.5em 0<x\le {L}_{front}\\ {}\begin{array}{cc}{q}_2& x(t)\le x\le {L}_n+x(t)\end{array}\\ {}\begin{array}{cc}{q}_3\kern0.24em \;\;\;\;\;\;\;\;\;\;\;\;\;\;& L-{L}_{rear}\le x\le L\end{array}\\ {}\begin{array}{cc}-{h}_0\Big[T\left(n,m\right)-{T}_{0\Big]}& elsewhere\end{array}\end{array}\right\} $$
(29)

where, q1 and q3 are the heat flux of the bearings at front and rear end of the ball screw, respectively. Heat flux from the nut to the shaft is q2. It is assumed that bearings are installed at the very end of the ball screw feed drive system. Lfront and Lrear are the width of bearings at each end, and Ln is the width of the nut. L is the length of the ball screw. x(t) is the location of the nut at moment t. Supposing that the nut is moving from p1 to p2 at speed of v for a period of time(Fig. 5), then x(t) can be obtained according to Eq. (30).

Fig. 5
figure 5

The nut position when it is moving in a range of the ball screw

$$ x(t)=\left\{\begin{array}{c}\left[ floor\left(\frac{v\cdot t}{L_{op}}\right)+1\right]\cdot {L}_{op}-v\cdot t+{p}_1\kern0.5em \mathit{\operatorname{mod}}\left[ floor\left(\frac{v\cdot t}{L_{op}}\right),2\right]=1\\ {}\begin{array}{cc}v\cdot t- floor\left(\frac{v\cdot t}{L_{op}}\right)\cdot {L}_{op}+{p}_1& \mathit{\operatorname{mod}}\left[ floor\left(\frac{v\cdot t}{L_{op}}\right),2\right]\ne 1\end{array}\end{array}\right\} $$
(30)

where, Lop = p2-p1 and p1 ≤ x(t) ≤ p2.

According to Eq. (28), the temperature and the thermal deformation of the ball screw feed drive system are simulated by using MATLAB. In the finite difference model, the moving heat source is taken into consideration for simulation, and it would help to improve the accuracy of analysis.

2.4 Thermal deformation of the ball screw feed drive system

It is common that the ball screw feed drive system is fixed at one end and supported at the other end (Fig. 6), which means it could expand freely when heated. Based on Eq. (31), the thermal growth of each segment of the ball screw at different moment (ΔE(xi, tj)) can be computed.

$$ \varDelta E\left({x}_i,{t}_j\right)=\alpha \cdot \varDelta T\left(i,j\right)\cdot dx $$
(31)

where, αis the coefficient of linear thermal expansion, K−1. ΔT(i, j) is the temperature of the ith element at the jth moment. dx is the length of the element.

Fig. 6
figure 6

One of the installation methods for the ball screw feed drive system

By summation, the thermal growth of the ball screw feed drive system E(xi, tj) at location xi at moment tj can be obtained.

$$ E\left({x}_i,{t}_j\right)=\varDelta E\left({x}_i,{t}_j\right)+\varDelta E\left({x}_{i-1},{t}_j\right)+\dots +\varDelta E\left({x}_i,{t}_j\right) $$
(32)

3 Thermal characteristic analysis of ball screw feed drive system based on FDM

3.1 Study object

In this paper, X-axis of a CNC milling machine (DK-1200) is selected as the study objet to analyze the thermal characteristic of the ball screw feed drive system under different working conditions based on FDM. The ball screw (type 1R40-10B1-FOWC) is manufactured by PMI Company. Some related parameters are shown in Tables 1 and 2. In the table, ρ is density, E represents elastic modulus. C, λ, and α is specific heat capacity, heat conductivity coefficient, and the coefficient of linear thermal expansion, respectively.

Table 1 Parameters of the X-axis ball screw feed drive system
Table 2 Material properties of the X-axis ball screw feed drive system

The ball screw is fixed by a pair of angular contact bearings (7006C/DF, contact angle is 15°) at the front end which is near to the motor. At the other end, it is supported by the deep groove ball bearing (61906).

3.2 Boundary condition optimization based on response surface methodology

According to Section 2.1 and 2.2, the generated heat and convection heat transfer coefficient when the nut is moving at 5.4 m/min are calculated. In order to improve the simulation accuracy, these boundary conditions are optimized based on the response surface methodology in this paper.

Response surface methodology was proposed by Box and Wilson in 1951. It is applied for modeling and analysis of problems in which a response of interest is affected by several variables. The second-order model (Eq. (33)) is widely used to optimize the response [18].

$$ Y=f(x)+\varepsilon ={\beta}_0+\sum \limits_{i=1}^k{\beta}_i{x}_i+\sum \limits_{i=1}^k{\beta}_{ii}{x_i}^2+\sum \limits_i\sum \limits_j{\beta}_{ij}{x}_i{x}_j+\varepsilon, i<j $$
(33)

where, Y is the response variable. f(x) is the approximation of the response function. xi represents the independent variable. ε is the error. β0, βi, βii, and βij are the coefficients which can be determined by the method of least square.

In this paper, heat flux of the front bearing, the rear bearing, and the nut are denoted as x1, x2, and x3. Forced convection heat transfer coefficients of the ball screw is the independent variable x4. Free convection heat transfer coefficient is assumed as constant (value = 9 W/(m2·K)). Then, the approximation of the response function f(x1, x2, x3, x4) can be obtained.

$$ {\displaystyle \begin{array}{c}f\left({x}_1,{x}_2\dots, {x}_4\right)={\beta}_0+{\beta}_1{x}_1+{\beta}_2{x}_2+{\beta}_3{x}_3+{\beta}_4{x}_4+{\beta}_{11}{x}_1^2+{\beta}_{22}{x}_2^2+{\beta}_{33}{x}_3^2\\ {}+{\beta}_{44}{x}_4^2+{\beta}_{12}{x}_1{x}_2+{\beta}_{13}{x}_1{x}_3+{\beta}_{14}{x}_1{x}_4+{\beta}_{23}{x}_2{x}_3+{\beta}_{24}{x}_2{x}_4+{\beta}_{34}{x}_3{x}_4\kern1.68em \end{array}} $$
(34)

According to relevant references and experiences, the values of x1, x2, x3, and x4 normally lie in some ranges (Eq. (35)). The purpose of optimization is to find appropriate parameters βij to make sure that the differences between simulated and tested temperatures and thermal growth of the ball screw feed drive system are the smallest.

$$ \left\{\begin{array}{c}\min \kern0.5em Y\left({x}_1,{x}_2,\dots, {x}_4\right)\\ {}\begin{array}{c}\begin{array}{cc}s.t.& 1500\le {x}_1\le 25\;00;\end{array}\\ {}1000\le {x}_2\le 1800\\ {}\begin{array}{c}400\le {x}_3\le 1000;\\ {}50\le {x}_4\le 100;\end{array}\end{array}\end{array}\right. $$
(35)
$$ {\displaystyle \begin{array}{c}Y\left({x}_1,{x}_2,\dots, {x}_4\right)=\sum \limits_{t=1}^m{\left[{\left({T}_1\right)}_1-{\left({T}_1\right)}_1^{\prime}\right]}^2+{\left[{\left({T}_1\right)}_2-{\left({T}_1\right)}_2^{\prime}\right]}^2+\dots +{\left[{\left({T}_1\right)}_m-{\left({T}_1\right)}_m^{\prime}\right]}^2\\ {}\kern3.959998em +\sum \limits_{t=1}^m{\left[{\left({T}_2\right)}_1-{\left({T}_2\right)}_1^{\prime}\right]}^2+{\left[{\left({T}_2\right)}_2-{\left({T}_2\right)}_2^{\prime}\right]}^2+\dots +{\left[{\left({T}_2\right)}_m-{\left({T}_2\right)}_m^{\prime}\right]}^2\\ {}\kern3.839998em +\sum \limits_{t=1}^m{\left[{\left({T}_3\right)}_1-{\left({T}_3\right)}_1^{\prime}\right]}^2+{\left[{\left({T}_3\right)}_2-{\left({T}_3\right)}_2^{\prime}\right]}^2+\dots +{\left[{\left({T}_3\right)}_m-{\left({T}_3\right)}_m^{\prime}\right]}^2\\ {}\kern3.239999em +\sum \limits_{t=1}^m{\left[{(E)}_1-{(E)}_1^{\prime}\right]}^2+{\left[{(E)}_2-{(E)}_2^{\prime}\right]}^2+\dots +{\left[{(E)}_m-{(E)}_m^{\prime}\right]}^2\end{array}} $$
(36)

where, T1, T2, and T3 are simulated temperatures of the front bearing block, the rear bearing block, and the nut. E is the axial thermal deformation at the rear end of the ball screw feed drive system. Ti, E and Ti, E’ (i = 1, 2, 3) represent the simulated and tested data, respectively. The test process would be introduced in Section 4. tm(m = 1, 2, …, m) represents discrete moment.

The variable values before and after optimization are listed in Table 3.

Table 3 The boundary conditions before and after optimization (ambient temperature = 20 °C, feeding rate = 5.4 m/min)

3.3 Thermal characteristic simulation results of the ball screw system under different working conditions

By using MATLAB, the temperature distributions and thermal growths of the ball screw feed drive system under five different working conditions are simulated based on FDM. The flow chart of the thermal characteristic simulation process is shown in Fig. 7 and introduced as follows.

Fig. 7
figure 7

Flow chart of the thermal characteristics simulation process based FDM

  1. 1)

    Initializing. Setting the initial time and starting position as 0. Supposing the initial temperature of the ball screw feed drive system is 20 °C.

  2. 2)

    According to Eq. (30), the position of the nut at moment t is determined.

  3. 3)

    Based on the nut position x(t) obtained from step 2), heat flux q(x) in Eq. (29) is calculated.

  4. 4)

    Then, q(x) is used to compute the temperature of the element at position x at moment t + dt, i.e., T(x, t + dt).

  5. 5)

    Evaluating x. If x is not equal to the length of the ball screw, return to step 3).

  6. 6)

    Evaluating t. If t is equal to the running time, the simulation is finished. If not, return to step 2).

According to the simulation process, a software for analyzing thermal characteristics of the ball screw feed drive system has been developed. The software interface is shown in Fig. 8. In the left, parameters including the structure parameter, physical parameter, and working conditions of the ball screw feed drive system and the environmental parameters are determined and input into the analysis software. After selection of the installation method of the ball screw at the bottom right corner, the temperature field and thermal growth can be computed and showed in the right.

Fig. 8
figure 8

Interface of the thermal characteristic analysis software based on FDM

In order to verify the correctness of the analysis, temperatures of the ball screw under some given working conditions (Table 4) are simulated based on FDM and FEM, respectively. The simulation results are compared and shown as follow (Fig. 9).

Table 4 Working conditions
Fig. 9
figure 9

Simulated temperatures of the ball screw based on FEM and FDM. a Working condition A. b Working condition B

According to Fig. 9, we know that the simulated temperatures based on FEM and FDM are almost the same. The largest differences between them is about 4%. It verifies the correctness of the analysis based on FDM.

In order to learn more about the thermal characteristics of the X-axis in a CNC milling machine (DK-1200), temperatures and positioning deviations under different working conditions are simulated. The working conditions are illustrated in Table 5. In working condition 1~4 as shown in the table, the nut is moving in different ranges at 5.4 m/min continuously for 3 h. In working condition 5, the ball screw feed system is running from 100 to 300 mm for 0.5 h, then moving from 300 to 400 mm for another half an hour. At last, it moves from 200 to 800 mm for 0.5 h. The feed rate is 5.4 m/min. When the start of the moving range is 0 (Table 5), it means that the coordinate value is 460 mm (Table 1) because there are bearings, bearing house, and other parts at the end of the feed drive system.

Table 5 Working conditions of the X-axis in a CNC milling machine

The simulation results under working condition 1~4 are shown in Fig. 10.

Fig. 10
figure 10

Thermal characteristics simulation results of the ball screw feed drive system under working condition 1~4. a Temperature. b Positioning deviation

According to Fig. 10, it can be known that temperatures at both ends of the ball screw and the temperature of the part in which the nut is moving back and forth are higher due to the friction. The high-temperature area of the ball screw shaft is related to the moving range at each working condition. But when the moving range is extended from 400 mm at condition 1 to 800 mm at working condition 2, the peak temperature of the ball screw feeding system in the moving range is decreased from about 36 to 29 °C. The peak temperature of the ball screw in the moving range at working condition 4 is higher than others, though the moving range is shorter. In addition, the positioning accuracy is deteriorated as the temperature is rising. The position at the front bearing is considered 0, and its positioning deviation is treated as 0 as well, because the ball screw is fixed at the front bearing of which the thermal deformation is assumed as 0. At working conditions 2 and 3, the positioning deviation is almost linear with the coordinate value. The largest positioning deviation of them is about 81 and 82 μm, respectively. At working condition 1, the positioning deviation is becoming larger and larger very fast from position 0 to 400 mm. While at working condition 4, the changing rate of the positioning deviation is higher from position 600 to 800 mm. In other words, the positioning accuracy is decreasing rapidly in the moving range.

Thermal characteristic simulation results under working condition 5 is shown in Fig. 11. The changing trends of the temperature rise, and the positioning deviation are similar with the simulation results obtained under working condition 3.

Fig. 11
figure 11

Thermal characteristic simulation results of the ball screw feed drive system under working condition 5. a Temperature. b Positioning deviation

4 Temperature and thermal deformation testing of prestretching ball screw feed drive

4.1 Experiment set-up

In order to verify the analysis results, a series of tests were conducted on the X-axis ball screw feed drive system of a CNC milling machine (DK-1200). The ball screw feed drive system was running under five different working conditions same to the ones listed in Table 5. Temperatures were tested, collected, showed, and saved by eight temperature sensors and a data collection system (CYB-809A). The locations of temperature sensors were illustrated in Table 6 and Fig. 12.

Table 6 Locations of temperature sensors on a CNC milling machine
Fig. 12
figure 12

Locations of temperature sensors

According to ISO230-2 [19] and ISO230-3 [20], the positioning deviations were tested by Renishaw laser interferometer (XL-80). The experimental setup is shown in Fig. 13.

Fig. 13
figure 13

Experiment set-up on a CNC milling machine

4.2 Testing result

Experimental temperatures of the ball screw feed drive system under working condition 1 to 5 are shown in Fig. 14.

Fig. 14
figure 14

Temperature testing results of the ball screw feed drive system under different working conditions. a Working condition 1. b Working condition 2. c Working condition 3. d Working condition 4. e Working condition 5

According to the simulation results, it was known that the temperature was rising continuously and rapidly under working condition 1 to 4 when the moving range and feeding rate was unchanged. Under working condition 5, the moving range was various. It had impact on the heat transfer in the ball screw feed drive system and led to anomalous temperature changing. The temperature of the front bearing was higher than the rear bearing as the heat flux of the former was larger according to Table 3. The nut temperature was lower. The temperature rise of the nut was about 3 °C under working condition 1 to 4, and the temperature rise was 2 °C under working condition 5.

According to Fig. 15, it can be seen that the tested positioning deviation curves under different working conditions were close to each other. The positioning accuracy was decreasing continually when the ball screw feed drive was running. After about 3 h, the positioning deviations were basically unchanged under working condition 1 to 4. At the far end of the ball screw (800 mm), the positioning deviation reached to about 88 μm eventually under working condition 2. When the nut was moving at three different ranges (condition 5), it was hard to reach to thermal equilibrium. The positioning deviation was changing all the time, and the largest positioning deviation was more than 80 μm after 1.5 h.

Fig. 15
figure 15

Experimental positioning deviation under different working conditions. a Working condition 1. b Working condition 2. c Working condition 3. d Working condition 4. e Working condition 5

5 Discussion

By comparing the simulation results with the experimental data, we find out that the simulated temperatures at both ends of the ball screw feed drive system are higher than the testing results. This is because temperature sensors are installed on the surface of the bearing house, and the tested temperature is not the real temperature of the bearings. As the experimental temperature data are collected at some certain parts, it is hard to illustrate the temperature distribution all over the ball screw feed drive system. When the ambient temperature changes in the working process, we cannot simulate the thermal characteristics precisely as the environment temperature is considered constant in the simulation program.

The simulated positioning deviations at the far end of the ball screw (at 3 h in working condition 1 to 4 and 1.5 h in working condition 5) are compared with the testing results (Fig. 16).

Fig. 16
figure 16

Comparison between the simulation and testing results

According to Fig. 16, it can be seen that the simulation results and the experiment data are close to each other. The differences between them lies in the range (− 7 μm,7 μm). However, the changing trends of positioning deviation showed in Figs. 10, 11 and 15 are not the same. The tested positioning deviation curves are close to linearity at the end of experiments. By contrast, the simulated positioning deviations are clearly nonlinear with the position. It may be because that in simulation, the structure of the feed drive system is simplified, and the thermal resistances are neglected.

6 Conclusion

In this paper, thermal characteristics of the ball screw feed drive system under various working conditions were studied based on finite difference method. In order to improve the accuracy of the analysis, the nut was considered a moving heat source, and the boundary conditions were optimized based on the response surface methodology. By comparing, we found out that the errors between the simulated positioning deviations at the far end of the ball screw and the experimental data were acceptable small. Based on the finite difference analysis process in this paper, an analysis software has been developed. It provided an easy, reliable, and costless way to know the thermal characteristics of the ball screw feed drive system by using the proposed method, and the simulation results could help engineers to optimize the structure or adjust machining program.