1 Introduction

Nowadays, human civilization is tackled with environmental, energy, and population tribulations, among which energy is the most important. Saving energy and reducing emissions have attracted more and more attention. In 2020, the US Energy Information Administration report showed that world energy consumption will rise nearly 50% by 2050, and industry accounts for 38% of total energy consumption [1]. Computerized numerical control (CNC) machine tools are the basis of industrial manufacturing and critical energy consumption components [2]. A deep understanding of the power characteristics of CNC machine tools is helpful in two ways. On the one hand, energy consumption can optimize the processing parameters and make the processing green and clean [3, 4]. On the other hand, machine power can be used to predict additional machining information in the machining process, such as cutting forces [5], cutting tool wear [6], and surface roughness [7]. In addition, the power consumption can be easily measured without any influence on the machining process. Therefore, using power to predict other machining information can ensure the continuity of the machining [8].

According to the machine tool movement, the machine tool statuses can be divided into three kinds: standby status, air-cutting status, and cutting status. Standby status and air-cutting status are collectively referred to as non-cutting status. Based on the machine tool’s status, the machine tool’s total power is made up of three parts: basic power, air-cutting power (spindle power and feed power), and cutting power [9]. The machine tool’s energy consumption in non-cutting status accounts for the main part of the power consumption [10].

Li et al. [11] measured the PL700 machine tool’s energy consumption, and reported that the basic power accounts for 64% of the total machine tool’s power. Denkena et al. [12] investigated the energy consumption of the DMU 340P vertical machining center, reported that machine cooling, compress air, and cutting fluid supply accounts for 22%, 16%, 10% of the total machine tool’s power, respectively. Most studies regard basic power as a constant, and the power of some auxiliary devices, such as cooling device, that operate intermittently is neglected, which will lead to the prediction error of machine tool energy consumption.

Hu et al. [13] used linear regression model to establish the relationship between spindle power and spindle speed, and Li et al. [14] established the relationship by quadratic regression model. These empirical models based on experimental results had a reliable prediction in practical application. Luan et al. [15] studied the CNC machine tool’s power characteristics in non-cutting status. The authors reported that the spindle power was different under different transmission chains, even if the spindle speed was the same. Edem and Mativenga [16] pointed out that the weight of the load played a leading role in the power consumption compared with the feed rate, and the strategy that reducing the weight of worktable and workpiece was crucial to reduce the feed power and energy consumption. Liu et al. [17] reported negative feed power while analyzing the downward movement of the Z-axis. They pointed out that this occurred because some auxiliary equipment closed, but they did not provide the information about the auxiliary equipment.

As mentioned above, cutting power can reflect a lot of information when the machine tool is in cutting status. Therefore, many researches were carried out to investigate the cutting power model. Most of the cutting power models are established in two ways, material removal rate (MRR) and cutting force. Gutowski et al. [18] reported that the power during cutting is proportional to the volume of material removed per unit time. Zhou et al. [9] established cutting power based on MMR and spindle speed during face milling, and the model had a reliable accuracy. However, this theory cannot explain the phenomenon that different cutting parameters lead to different cutting power even if the MMR is the same. The power model based on cutting force combines cutting power with the actual machining process. Liu et al. [19] established a cutting power model based on milling force and pointed out that the total power consumption was a linear relationship of average cutting power. Luan et al. [20] established a cutting power model based on the infinitesimal cutting force during face milling HTCuCrSn-250 and additional load loss was considered in the model. Shi et al. [21] decomposed cutting power into the product of force and speed in both cutting speed and feed rate directions and established a reliable cutting power model. The ball-end milling cutter can process complex surfaces for aerospace and biomedical application, so it is of great significance to study the energy consumption in this machining process. Quintana et al. [22] considered spindle speed, feed rate, and other five factors as inputs and developed an artificial neural network to predict power consumption in high-speed ball-end milling operations. Oda et al. [23] investigated the influence of tool-workpiece inclined angle on power consumption in five-axis machine tool during the ball-end milling process.

From the literature review, most studies on the machine tool’s power consumption are not comprehensive enough, especially for basic power and Z-axis feed power in downward direction. Besides, the correlation between cutting power and cutting forces in the XY-Z direction is not clear for the ball-end milling process. Therefore, in this research, the power consumption on a three-axis machine tool was investigated, including basic power, spindle power, and feed power. To reveal the relationship between the cutting power and cutting forces, series of slotting milling experiments were conducted. The proposed power model offers an accurate prediction of energy consumption, which can help manufacturers select appropriate process parameters to reduce energy consumption.

2 Methodology

2.1 Cutting power model

During the material removal process, the resistance of spindle rotation and feed movement increases. Therefore, the key to establishing a cutting power model is to calculate the cutting forces at the tooltip.

As demonstrated in Fig. 1, the differential cutting forces on an infinitesimal cutting edge can be expressed by Eq. (1) for a general milling process with a ball-end milling cutter [24].

$$\left\{ {\begin{array}{*{20}c} {{\text{d}}F_{{\text{t}}} = K_{{{\text{te}}}} {\text{d}}S + K_{{{\text{ts}}}} t_{{\text{n}}} {\text{d}}b} \\ {{\text{d}}F_{{\text{r}}} = K_{{{\text{re}}}} {\text{d}}S + K_{{{\text{rs}}}} t_{{\text{n}}} {\text{d}}b} \\ {{\text{d}}F_{{\text{a}}} = K_{{{\text{ae}}}} {\text{d}}S + K_{{{\text{as}}}} t_{{\text{n}}} {\text{d}}b} \\ \end{array} } \right.$$
(1)

where dFt, dFr, dFa (N) are the differential cutting forces in tangential, radial, and axial direction; Kte, Kre, Kae (N/mm) are the edge-specific coefficients; Kts, Krs, Kas (N/mm2) are the shear-specific coefficients; the differential length of cutting-edge dS (mm), the instantaneous undeformed chip thickness tn (mm), and the differential width of chip db (mm) can be expressed as [24]:

$$\left\{ {\begin{array}{*{20}l} {\begin{array}{*{20}l} {{\text{d}}S = R\sqrt {1 + \sin^{4} k\tan^{2} \alpha } {\text{d}}k} \\ {t_{{\text{n}}} = f_{{\text{z}}} \sin k\sin \theta \, } \\ \end{array} } \\ {{\text{d}}b = R{\text{d}}k \, } \\ {\theta = \psi - \varphi \, } \\ {\varphi = \frac{{\left( {R - R\cos k} \right)\tan \alpha }}{R} \, } \\ \end{array} } \right.$$
(2)

where R (mm) is the radius of the ball-end milling cutter; k (rad) is the axial position angle; α (rad) is the helix angle of the ball-end milling cutter; in this research, α is simplified as a fixed value; fz (mm) is the feed per tooth; θ (rad) is the angular position of the elemental cutter edge; ψ (rad) is the angular position of the reference cutting edge; φ (rad) is the lag angle of the elemental edge.

Fig. 1
figure 1

Cutting forces for ball-end milling process: a schematic diagram of cutting forces (3D), and b schematic diagram of cutting forces (vertical view)

In Fig. 1, cutting tool coordinate system Oc-XcYcZc is established. The origin Oc is placed at center of spherical part of the cutter. The Zc-axis coincides with the cutter axis. The Xc-axis coincides with the feed direction of cutter. The Yc-axis is determined by right-hand rule. And P is a point on the cutting edge. To obtain cutting forces in Oc-XcYcZc coordinate, the forces in Eq. (1) are resolved as:

$$\left[ {\begin{array}{*{20}c} {{\text{d}}F_{{{\text{Xc}}}} } \\ {{\text{d}}F_{{{\text{Yc}}}} } \\ {{\text{d}}F_{{{\text{Zc}}}} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} { - \cos \theta } & { - \sin \theta \sin k} & { - \sin \theta \cos k} \\ {\sin \theta } & { - \cos \theta \sin k} & { - \cos \theta \cos k} \\ 0 & {\cos k} & { - \sin \theta } \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {{\text{d}}F_{{\text{t}}} } \\ {{\text{d}}F_{{\text{r}}} } \\ {{\text{d}}F_{{\text{a}}} } \\ \end{array} } \right]$$
(3)

Similarly, the mean cutting forces in Oc-XcYcZc coordinate can be resolved as follow:

$$\overline{F}_{{\text{Xc(Yc, Zc)}}} = \frac{N}{2\pi }\int\limits_{{\theta_{{{\text{st}}}} }}^{{\theta_{{{\text{ex}}}} }} {\int\limits_{{k_{{{\text{low}}}} }}^{{k_{{{\text{up}}}} }} {{\text{d}}F_{{\text{Xc(Yc, Zc)}}} } }$$
(4)

where N is the total number of cutting edges; θst (rad) and θex (rad) are the cut-in and cut-out angular position of the elemental cutting edge; kup (rad) and klow (rad) are the upper and lower bounds of the axial position angle.

Therefore, the instantaneous differential cutting power can be calculated as a sum of the differential cutting powers due to spindle rotation and feed axis movement:

$${\text{d}}{P}_{\text{c}}=\frac{{\text{d}}{F}_{\text{t}}\cdot R\mathrm{sin}k}{1000}\times \frac{2\pi n}{60}+{\text{d}}{F}_{\text{f}}\times \frac{{v}_{\text{f}}}{60000}$$
(5)

where dFf (N) is the differential force in feed direction; n (r/min) is spindle speed; vf (mm/min) is feed rate.

The theoretical mean value of cutting power in a rotational period can be expressed as:

$${P}_{\text{c}}=\left(1+\eta \right)\frac{N}{2\pi }\underset{{\theta }_{\text{st}}}{\overset{{\theta }_{\text{ex}}}{\int }}\underset{{k}_{\text{low}}}{\overset{{k}_{\text{up}}}{\int }}\frac{{\text{d}}{F}_{\text{t}}\cdot R\mathrm{sin}k}{1000}\times \frac{2\pi n}{60}+\frac{N}{2\pi }\underset{{\theta }_{\text{st}}}{\overset{{\theta }_{{\text{e}}{\text{x}}}}{\int }}\underset{{k}_{\text{low}}}{\overset{{k}_{\text{up}}}{\int }}{\text{d}}{F}_{\text{f}}\times \frac{{v}_{\text{f}}}{60000}$$
(6)

where η is a coefficient considering the power loss of spindle transmission.

2.2 Experimental equipment

Power measurement experiments were conducted on a three-axis vertical machining center (MXR-460 V, OKUMA-BYJC, China). Table 1 lists the main parameters of the MXR-460 V machine center. A two-flute solid carbide ball-end milling cutter (JH970100-Tribon, Seco Company, Sweden) was used for milling experiments under dry cutting conditions. The cutter had a helix angle of 30° and a radius of 5 mm. The material of the workpiece was AISI P20 mold steel, whose chemical composition is listed in Table 2. The cutting force components were collected by a dynamometer (9257B, KISTLER, Switzerland). The electric power consumption of the machine was measured by a power analyzer (PW6001, HIOKI, Japan) at the back of the machine tool. Details of the experimental set-up are demonstrated in Fig. 2.

Table 1 The main parameter of the MXR-460 V machine center
Table 2 Chemical composition of AISI P20 (wt%)
Fig. 2
figure 2

Experimental set-up

2.3 Experimental design

2.3.1 Experimental design of non-cutting status

Firstly, power data was recorded from the machine tool powering up to powering down, and the status of the machine tool’s components, activated or closed, were also recorded.

Then, to reveal the relationship between spindle power and spindle rotating speed, 12 groups of experiments were designed based on spindle speed, ranging from 200 to 6800 r/min with an interval of 600 r/min. In every experiment, the spindle was controlled to rotate for 15 s, and the total power of the machine tool was recorded at stable status; then, the basic power was deducted to obtain the spindle power.

Besides, 10 groups of experiments were designed based on feed rate, ranging from 200 to 5600 mm/min with an interval of 600 mm/min, and the experiments were performed for all feed axes (i.e., X, Y, and Z). Due to the MXR-460 V machine tool’s characteristic, the feed axes could move only when the spindle is rotating. Therefore, in every experiment, first, the spindle was controlled to rotate at 50 r/min for 10 s; then, the feed axis was controlled to move along a certain distance. As listed in Table 1, the spindle speed of the MXR-460 V machine center ranges from 50 to 8000r/min. Generally, the higher the spindle speed, the greater the spindle power [9], so to reduce energy consumption, the spindle speed was set at 50 r/min in the feed power experiments.

The range of spindle speed and feed rate is commonly used in practical machining. All the experiments were repeated twice to decrease the measurement error. The schematic diagram of the spindle and feed axis drive system in MXR-460 V is demonstrated in Fig. 3.

Fig. 3
figure 3

Drive systems of machine tool: a schematic diagram of the spindle drive system, b, c, and d schematic diagrams of the X-axis, Y-axis, and Z-axis drive system, respectively

As shown in Fig. 3, MXR-460 V machine center directly drives the spindle by using a built-in driving motor, which combines the driving motor with the spindle to achieve direct drive without any intermediate links. And this driving mode can reduce the power loss caused by mechanical transmission friction. In X-axis, Y-axis, and Z-axis feed systems, the driving process is as follows. First, the driving motors drive the ball screw to rotate by using the coupling. Then, the ball screw nut pair converts the rotating motion of the ball screw into the linear motion of the corresponding components. The lead limit switches are used to prevent each feed axis from moving over the stroke range. Notably, the X-axis and Y-axis driving motor models are the same, but their respective motion loads are not the same. The X-axis driving motor drives worktable to move, the Y-axis driving motor drives spindle box and carriage to move. And in the feed power experiments, there are no workpieces on the worktable.

2.3.2 Experimental design of slotting milling

To investigate the relationship between cutting forces and cutting power, and to calibrate the edge-specific coefficients and shear-specific coefficients, 10 slotting milling experiments were conducted. The schematic diagram for slotting milling and the experiments’ details are shown in Fig. 4 and Table 3, respectively. The milling parameters (n, ap, fz, and vf) were selected according to the user manual of the milling cutter and the practical machining experience of AISI P20 mold steel [25].

Fig. 4
figure 4

Slotting milling diagram

Table 3 Experiment design of slot milling cutting (spindle speed was 3000r/min)

3 Results and discussion

3.1 The power during non-cutting status

3.1.1 Basic power

Figure 5 exhibits the power change of the machine tool from powered up to powered down: first, the machine tool powered up, and a fan activated, and basic power was 0.351 kW at that time; secondly, the screen activated and screen power was 0.048 kW; thirdly, light device activated, and light device power was 0.028 kW; then, control system and cooling device activated, and the cooling device was in preheating stage with the basic power was 2.002 kW; the cooling device activated and closed periodically, and the activating and closing time were about 0.63 min and 0.56 min, respectively; finally, control system closed and the machine tool powered down. And the stable basic power when the cooling device activated and closed was 2.018 kW and 1.571 kW, respectively. The basic power of the machine tool changed with the activating and closing of auxiliary devices, such as fan, light device, and cooling device. Because the cooling device activated and closed periodically, all the following experiments were conducted when the cooling device closed. If the cooling device is not closed, then the power of the cooling device should be removed from the experimental results.

Fig. 5
figure 5

Power change curve of the machine tool from powered up to power down

3.1.2 Spindle power

Table 4 presents the experimental values of spindle power at different spindle speeds. The fitting curve of spindle power is shown in Fig. 6, and the fitting result (R2 = 0.99893) was expressed as:

$$P_{{{\text{SR}}}} = 0.0382 + 2.60509 \times 10^{ - 5} n + 3.37302 \times 10^{ - 9} n^{2} \, \left( {200 \le n \le 6800} \right)$$
(7)
Table 4 Experiment results of spindle power
Fig. 6
figure 6

Fitting curve of spindle power

As shown in Fig. 6, the relationship between spindle power and spindle speed did not perform piecewise, as mentioned in reference [15]. The reason was that the spindle was only driven by a built-in drive motor. Therefore, the MXR-460 V machine tool only had one drive chain for the spindle.

To verify the fitting result, five spindle speeds were randomly selected, which were 470, 1562, 3837, 5552, 6500r/min, respectively. Table 5 presents that the maximum relative error was 3.55%.

Table 5 The prediction results of spindle power

3.1.3 Feed power

Table 6 presents the experiment values of feed power at different feed rates. The fitting curves of feed power are shown in Fig. 7. The fitting result (R2 = 0.99494) of the X-axis was expressed as:

$$P_{{\text{X}}} = 0.00104 + 9.55093 \times 10^{ - 6} v_{{\text{f}}} + 6.20791 \times 10^{ - 10} v_{{\text{f}}}^{2} \, \left( {200 \le v_{{\text{f}}} \le 5600} \right)$$
(8)
Table 6 Experiment results of feed power
Fig. 7
figure 7

Fitting curve of feed power: a feed power of X-axis, b feed power of Y-axis, c feed power of Z-axis in upward direction, and d feed power of Z-axis in downward direction

The fitting result (R2 = 0.99384) of the Y-axis was expressed as:

$$P_{{\text{Y}}} = 0.00363 + 8.26557 \times 10^{ - 6} v_{{\text{f}}} + 1.4415 \times 10^{ - 9} v_{{\text{f}}}^{2} \, \left( {200 \le v_{{\text{f}}} \le 5600} \right)$$
(9)

The fitting result (R2 = 0.99984) of the Z-axis in upward direction was expressed as:

$$P_{{\text{Z - up}}} = 0.04063 + 1.12576 \times 10^{ - 4} v_{{\text{f}}} \, \left( {200 \le v_{{\text{f}}} \le 5600} \right)$$
(10)

The fitting result of the Z-axis in downward direction was expressed as:

$$P_{{\text{Z - down}}} = \left\{ {\begin{array}{ll} { - 0.04223 - 6.68333 \times 10^{ - 5} v_{{\text{f}}}} & {\left( {200 \le v_{{\text{f}}} < 2000} \right)} \\ { - 0.17686} & {\left( {2000 \le v_{{\text{f}}} \le 5600} \right)} \\ \end{array} } \right.$$
(11)

Figure 7d shows that the feed power of the Z-axis in the downward direction was negative and different from others. The phenomenon was because that gravity acted as a driving force, and the electromagnetic force that made the spindle rotate acted as an obstructive force when the Z-axis moved in the downward direction. Therefore, the motor of the Z-axis was transformed into a generator [26] and inputted electrical energy into the grid, which decreased the total power of the machine tool. When the feed rate exceeded 2000 mm/min, the Z-axis’s feed power in the downward direction stayed stable, which owed to the machine tool circuit that stabled the current to reduce the impact on electrical components. The demarcation point of 2000 mm/min depended on the structure of the circuit in a machine tool, especially the inductance, which resists the change of current.

Figure 7 shows that the Y-axis’s feed power was bigger than that of the X-axis at the same feed rate, while the X-axis and Y-axis had the same motor model. It was because that the load gravity of the X-axis and Y-axis was different (demonstrated in Fig. 3).

Five feed rates, 360, 1200, 3400, 4260, and 6000 mm/min, were randomly selected to verify the fitting result. Table 7 shows that the maximum relative error of the feed power prediction was less than 10%.

Table 7 The prediction results of feed power

3.2 Cutting power

Cutting force coefficients were calibrated by the least-square method and the method mentioned in the literature [27]. The calibration results were:

$$\left\{ {\begin{array}{*{20}l} {K_{{{\text{ts}}}} = 1440.2 \times k^{3} - 4887.6 \times k^{2} + 5750.1 \times k - 4336.2, \, K_{{{\text{te}}}} = - 17.5} \\ {K_{{{\text{rs}}}} = - 2214.6 \times k^{3} + 7377.8 \times k^{2} - 7759.1 \times k + 3466.5, \, K_{{{\text{re}}}} = 15.6 \, } \\ {K_{{{\text{as}}}} = - 879.0 \times k^{3} + 854.5 \times k^{2} + 1646.0 \times k - 1104.1, \, K_{{{\text{ae}}}} = 3.3 \, } \\ \end{array} } \right.$$
(12)

The MXR-460 V machine tool used a built-in drive motor to directly drive spindle rotating, and the power loss of spindle transmission was too small. Therefore, η in Eq. (6) was zero, and the cutting power theoretical model could be expressed as,

$${P}_{1}=\frac{N}{2\pi }\underset{{\theta }_{\text{st}}}{\overset{{\theta }_{\text{ex}}}{\int }}\underset{{k}_{\text{low}}}{\overset{{k}_{\text{up}}}{\int }}\frac{{\text{d}}{F}_{\text{t}}\cdot R\mathrm{sin}k}{1000}\times \frac{2\pi n}{60}+\frac{N}{2\pi }\underset{{\theta }_{\text{st}}}{\overset{{\theta }_{\text{ex}}}{\int }}\underset{{k}_{\text{low}}}{\overset{{k}_{\text{up}}}{\int }}{\text{d}}{F}_{\text{f}}\times \frac{{v}_{\text{f}}}{60000}$$
(13)

Figure 8 shows that the mean cutting forces in the Xc and Yc direction changed consistently with the cutting power, while the mean cutting forces in the Zc direction seemed nothing to do with cutting power. For example, for experimental numbers C01, C03, C05, C07, C09, as the cutting depth increased, the cutting power increased, and the mean cutting forces in Xc and Yc direction also increased. In contrast, the mean cutting forces in the Zc direction firstly increased, then decreased. The correlation coefficients between the mean cutting forces in Xc, Yc, Zc direction and cutting power were 0.99486, 0.97662, and 0.29413, respectively. The results showed that the cutting forces in the Xc and Yc direction have a strong linear relationship with cutting power, while the linear relationship between cutting forces in the Zc direction and cutting power is weak. The reasons for this phenomenon were that the cutting force in the Xc direction showed resistance to both the moving feed axis and the rotating spindle; similarly, the Yc direction showed resistance to the rotating spindle. In contrast, the Zc direction is not the resistance to the moving feed axis and the rotating spindle.

Fig. 8
figure 8

Correlation between the mean cutting forces and cutting power

For the strong linear relationship between the mean cutting force in the X direction and cutting power, the fitting result (R2 = 0.99893) between them was expressed as,

$$P_{{\text{C}}} = 4.21 \times 10^{ - 3} + 3.92 \times 10^{ - 3} \overline{F}_{{{\text{Xc}}}}$$
(14)

Therefore, a cutting power empirical model could be resolved by Eqs. (4) and (13) as,

$$P_{2} = 4.21 \times 10^{ - 3} + 3.92 \times 10^{ - 3} \times \frac{N}{2\pi }\int\limits_{{\theta_{{{\text{st}}}} }}^{{\theta_{{{\text{ex}}}} }} {\int\limits_{{k_{{{\text{low}}}} }}^{{k_{{{\text{up}}}} }} {{\text{d}}F_{{{\text{Xc}}}} } }$$
(15)

Similarly, other slotting cutting experiments were conducted to prove the cutting power model. The predicted results are listed in Table 8. The average relative errors for Model 1 (the theoretical model) and Model 2 (the empirical model) were 6.66% and 5.51%, which showed that these models had the same acceptable accuracy. However, compared with Model 1, Model 2 had a simpler form and was easier to be applied, for Model 2 only calculated cutting forces in one direction, and one double integral was needed.

Table 8 The prediction results of cutting power (slot milling and spindle speed was 3000r/min)

4 Conclusions

This research investigated the power characteristics of a three-axis vertical machining center, including basic power, spindle power, and feed power. For cutting power, a theoretical model and an empirical model were established by different methods. The main conclusions were summarized as follows:

  • The characteristics of spindle power and feed power were revealed by a mathematical function. It showed that gravity had an important influence on feed power. When the Z-axis moved downward, gravity made the Z-axis’s motor transform to the generator, decreasing the total power consumption. Because of the different load gravity, even if the driving motor models of X-axis and Y-axis were the same, the feed power of Y-axis was bigger than that of X-axis at the same feed rate when there were no workpieces on the worktable.

  • The cutting power theoretical model was established based on infinitesimal cutting force and the empirical model for slotting milling was established based on the strong linear relationship between the mean cutting forces and cutting power. Compared with the theoretical model, the empirical model had the same acceptable predictive accuracy. Moreover, the empirical model had a simpler form and was easier applied.

  • The spindle power and feed power fitting models were verified in the three-axis vertical machining center, and the cutting power model was also verified in slotting milling AISI P20 with a ball-end milling cutter.

In the next step of this research, the proposed method will be expanded for different machine tools, cutters, workpiece materials, and machining methods.