1 Introduction

Recently, the requirement for micro-scale components and products is increasing rapidly, particularly in the fields of electronics, communications, optics, avionics, medicine, automobiles, and so on [1,2,3]. Typical applications of such miniaturized products include micro-engines, micro-reactors, micro-heat exchangers, medical implants, drug delivery devices, and diagnostic devices [4, 5]. Various manufacturing techniques such as electrodischarge machining, ion beam machining, laser beam machining, and photolithography have been proposed. However, the abovementioned micro-machining methods are limited to planar geometries and have poor productivity and relatively high cost [6]. Mechanical micro-machining has significant advantages in compassion with other machining techniques in terms of workpiece complexity, material diversity, energy consumption, and cost [7]. The family of aluminum alloys are always used for micro-parts manufacturing because of their superior characteristics such as recyclability, conductivity, processability, non-magnetization, low density, and corrosion resistance [8, 9]. Micro-shaft (0.1–1 mm) is one of the important micro-parts which have high machining accuracy requirement. However, the low strength of the materials and the small size but the large length-diameter ratio of the workpieces make the stiffness of micro-shafts low. The workpiece deformation still occurs, even if the cutting forces are small in the micro-shaft turning process, which causes the relieving amount error [10, 11]. It is difficult to guarantee the surface quality and geometric accuracy due to the above problems to be solved.

Factors impacting on the machining accuracy include geometric errors, thermal errors, cutting force deformation errors, servo tracking errors, and so forth [12]. In the turning process, especially in the precision turning of large length-diameter ratio shafts, one of the most critical errors is related to workpiece deformation caused by cutting forces [13, 14]. Due to the size limitation, the device used in the traditional turning process of slender shafts, such as the center and the follow rest, is no longer applicable to the micro-shaft turning process. The micro-shafts are usually cantilevered in turning, and the stiffness of the end overhanging in the air is low, which is more prone to deformation under the cutting forces [15]. In addition, as the workpiece diameter is reduced, the difficulty is increased to achieve an accurate tool setting, and the tool setting error is gradually significant [16]. Much efforts have been devoted to the improvement of machining accuracy for micro-shaft manufacture. Lu et al. [17] developed a micro-lathe turning system. Bang et al. [18] constructed a five-axis micro-machine tool composed of three linear stages (X-, Y-, and Z-axis) and two rotary stages (A- and C-axis). An air motor micro-spindle with a maximum rotation speed of 30,000 rpm was chosen and fixed on a rotary stage (C-axis). Lim et al. [19] made an attempt to fabricate microstructures using a combination of turning and electrical-discharge machining (EDM). Guo et al. [20] presented an error compensation system including a fuzzy PID controller. The errors/inaccuracies can be reduced with the structural improvement of the machine tool through better design, manufacturing, and assembly practices. However, that method will result in very high manufacturing cost particularly when the accuracy requirements are beyond certain levels. Therefore, in order to avoid workpiece deformation or deflection and improve the machining accuracy of micro-shafts, force control and error compensation are the cost-effective method [21, 22]. The cutting forces must be limited within a range of less than the plastic deformation of the workpiece.

Accurate prediction of workpiece deformation with different process parameters is an essential part of error compensation work. The most important factor influencing the workpiece deformation or deflection is cutting forces. Hence, the coupling relation between the cutting forces and workpiece deformation must be taken into account. Lim et al. [19] reported that the thrust force was the main cause of workpiece deflection. And, the resultant force vector was gradually close to the thrust direction with the decrease of radial cut depth. Arsecularatne et al. [23] indicated that the chip flow direction and the cutting forces in oblique machining had relations with tool geometries, and the prediction models were developed. Xiao et al. [24] extended that tool nose radius had an influence on the residual stress distribution, surface finish, and tool wear. Sharman et al. [25] and Chen et al. [26] pointed out that the thrust force increase with tool nose radius increasing. Therefore, it is extremely necessary to consider the tool nose radius when establishing the cutting force model.

The workpiece stiffness increases and the deflection decreases gradually when the tool is continuously approaching the chuck with a certain axial feed rate, wherefore the deformation errors are also different along the axis of the workpiece. It is very difficult to accurately detect the deformation in real time without the high-sensitivity detection device because micro-shaft turning is a typical dynamic machining process and the workpiece scale is small. For that case, the FEA method is regarded as a powerful and commonly used numerical method to simulate nonlinear/linear dynamic machining processes [27]. A lot of software packages used in metal cutting simulations have been developed, such as Abaqus/Explicit, DEFORM, and AdvantEdge [28]. The FEA method has been widely used to solve a number of complex engineering problems, such as the prediction of the cutting forces, chip deformation and surface integrity, thin-walled components deformation in the milling process, and cutting heat/temperature [29,30,30,31]. Not only prediction models based on FEA can reduce a lot of experiments but also the prediction results are close to the experimental consequence. Therefore, the FEA method provides an effective solution in adaptive control for machining processes, reducing machining errors and improving productivity and product quality [32]. In this paper, the FEA method is used to predict the dynamic deformation of the workpiece in micro-shaft turning by means of the analytical software ABAQUS/Explicit. An appropriate compensation strategy has been developed based on the simulation results subsequently to improve the machining accuracy of micro-shafts.

In order to improve the dimensional accuracy of micro-shafts manufactured with conventional precision machine tool for standardized and mass production, this paper proposed an error compensation strategy for the workpiece deformation error induced by cutting forces and tool setting error, which is based on the constant force cutting method and tool path planning. Organization for the remainder of this paper is as follows: in Section 2, an analysis model of micro-shaft turning machining errors and a specific cutting force model are established, and then, a compensation strategy for deformation error is proposed. In Section 3, the modeling process of the FEA method is introduced and the simulation results are discussed. Then, a series of turning experiments with altering processing parameters (spindle speed, feed rate, depth of cut) are carried out, while the experimental results are analyzed and discussed in Section 4. Finally, conclusions drawn from this research are given in Section 5.

2 Theoretical models and compensation strategy

2.1 Error analysis model

Ideally, the workpiece is approximately rigid and the tool datum plane is parallel to the radial plane of the workpiece, while the tool tip is at the same height as the workpiece axis. As shown in Fig. 1a, the distance between the tool setting point A and the cutting point B is the radial feed, which is equal to the actual depth of cut. R0 is the reference radius and R1 is the desired radius.

$$ {R}_1={R}_0-{a}_f $$
(1)

where af is the radial feed.

Fig. 1
figure 1

Machining error analysis diagram of micro-shaft turning with a ideal tool-workpiece relative position, b tool-workpiece relative position in reality, and c the deflection of workpiece induced by cutting forces

However, in micro-shaft turning, due to the small size of the workpiece, it is difficult to achieve an accurate tool setting. The machining deviation caused by the tool tip deviating from the horizontal plane of the workpiece axis is called the non-sensitive direction error, which is usually neglected in the common turning process. Furthermore, the deviation of workpiece deformation induced by cutting forces is called the cutting force deformation error, which is called deformation error for short, including deflection and elastic deformation of the workpiece. In micro-shaft turning, the small scale, large aspect ratio, and low rigidity of the workpiece make the deformation error the main error component.

At a certain instant of stable cutting, the tool-workpiece relative position is shown by the solid line contour in Fig. 1b. Point C is the initial position of the tool tip, which just contacts the surface of the workpiece without cutting and deformation when performing the tool setting. Assuming that the height difference between the tool tip (point C) and the horizontal plane of the workpiece axis is Y0. When the tool tip feed from point C to point D along the X-axis, the workpiece is deflected by cutting force and the axis offsets from point O to point O′. According to the geometric relationship, the actual radius can be calculated:

$$ {R}_2=\sqrt{{\left({X}_2-{w}_X\right)}^2+{\left({Y}_0-{w}_Y\right)}^2} $$
(2)
$$ {X}_2={X}_0+{a}_f $$
(3)

where wX and wY are the radial deflection along the X-axis and the tangential deflection along the Y-axis respectively. af is the given cutting depth along the radial direction. X2 and Y0 are the horizontal and vertical coordinates of the tool tip D in the stable cutting state. And, X0 is the horizontal coordinate of point C.

If only the deflection of the workpiece caused by the cutting forces is considered, as shown in Fig. 1c, the deflection curve function of the workpiece axis and the calculation formula for the deflection of the tool-workpiece contact point are as follows:

$$ \omega (z)=\frac{32F\hbox{'}{z}^2}{3\pi {Ed}^4}\left(3l-z\right) $$
(4)
$$ l(t)=L- ft $$
(5)
$$ w=\omega (l)=\frac{64F\hbox{'}{l}^3}{3\pi {Ed}^4} $$
(6)

where F′ is the resultant force of the main cutting force Ft and the radial thrust force Fp, and l is the overhang length of the workpiece. t is the time to start cutting. L and f are the total length of workpiece and the feed rate along the workpiece axial respectively. E and d are Young’s modulus and the diameter of the workpiece to be machined respectively.

The deflection components along X-axis and Y-axis can be calculated:

$$ {w}_X=w\cos \varphi $$
(7)
$$ {w}_Y=w\sin \varphi $$
(8)
$$ \varphi =\arctan \left({F}_t/{F}_p\right) $$
(9)

where φ is the angle between Ft and Fp.

Therefore, considering the influence of tool setting deviation and workpiece deflection error, the relative size error in one feed can be calculated:

$$ {\delta}_1={R}_2-{R}_1={R}_2-{R}_0-{X}_0+{X}_2 $$
(10)

where R0 is a reference radius for tool setting.

After the nth (n = 1, 2, 3...) cutting without compensation, the formula of the cumulative size error δn is as follows:

$$ {\delta}_n={R}_{n+1}-{R}_0-{X}_0+{X}_{n+1} $$
(11)
$$ {X}_{n+1}={X}_0+\sum \limits_{k=1}^n{a}_{fk} $$
(12)
$$ {\delta}_n={R}_{n+1}-{R}_0+\sum \limits_{k=1}^n{a}_{fk} $$
(13)

where Rn+1 is the workpiece radius and Xn+1 is the horizontal coordinate of the tool tip after the nth (n = 1, 2, 3...) feed. And, afk is the radial feed of the tool tip after the kth (k = 1, 2, 3, ..., n) feed.

2.2 Cutting force model

In micro-shaft turning, the depth of cut is generally small, so the tool nose radius cannot be ignored when establishing the cutting force modeling. In a certain instant of stable cutting, the instantaneous undeformed cutting area and the cutting force analysis are shown in Fig. 2.

Fig. 2
figure 2

Schematic diagram of micro-shaft turning process with a the instantaneous undeformed cutting area and b the analysis of cutting forces in the space of machine coordinate system

The instantaneous undeformed cutting area can be divided into two parts. The instantaneous cutting area S1 in Fig. 2a is calculated by:

$$ {S}_1={\int}_0^f\sqrt{r^2-{\left(z-r\right)}^2} dz+{\int}_f^{r+\frac{f}{2}}\left[\sqrt{r^2-{\left(z-r\right)}^2}-\sqrt{r^2-{\left(z-r-f\right)}^2}\right] dz $$
(14)

where r is the tool nose radius, which is 200 μm by measuring.

And, the instantaneous cutting area S2 is calculated by:

$$ {S}_2=f\times \left({a}_p-r\right) $$
(15)

where ap is the actual depth of cut along the radial direction in micro-shaft turning.

So, the instantaneous cutting area S is the sum of S1 and S2:

$$ S={S}_1+{S}_2={\int}_0^f\sqrt{r^2-{\left(\mathrm{z}-r\right)}^2} dz+{\int}_f^{r+\frac{f}{2}}\left[\sqrt{r^2-{\left(z-r\right)}^2}-\sqrt{r^2-{\left(z-r-f\right)}^2}\right] dz+f\times \left({a}_p-r\right) $$
(16)

The length of the major cutting edge L and the angle θ are respectively calculated by:

$$ L={a}_p-r+\theta r $$
(17)
$$ \theta =\pi {\hbox{-} \cos}^{-1}\left(\frac{f}{2r}\right) $$
(18)

Then, the resultant cutting force F can be obtained by:

$$ F={\sigma}_1S+{\sigma}_2L={\sigma}_1\left({S}_1+{S}_2\right)+{\sigma}_2L $$
(19)

where σ1 and σ2 are the specific cutting force on the rake face and the major cutting edge respectively, and their units are N/mm2 and N/mm.

The analysis of the resultant cutting force in the machine coordinate system is shown in Fig. 2b. The cutting forces are given by:

$$ {F}_p=F\cos \upalpha \sin \upbeta $$
(20)
$$ {F}_t=F\sin \upalpha $$
(21)
$$ {F}_f=F\cos \upalpha \cos \upbeta $$
(22)

where Fp, Ft, and Ff are the radial thrust force along X-axis direction, the main cutting force along Y-axis direction and the axial thrust force along the Z-axis direction. α is the angle between force vector F and the XOZ plane and β is the angle between force vectors Ff and Fr.

Generally, the axial stiffness of the workpiece is better than other directions and the feed rate is low as well. Therefore, the influence of the axial thrust force Ff on workpiece deflection can be ignored, while the component forces in the other two directions are the analytical emphasis. When a set of cutting parameters (f and ap, etc.) is given, S1, S2, S, and L can be calculated by Eqs. (14) to (16). The component forces along the X, Y, and Z-axis, Fp, Ft, and Ff in Fig. 2b, can be collected from a series of cutting force experiments, which has been done in the previous works. Then, the parameters like σ1, σ2, α, and β can be calculated by Eqs. (19) to (22), and the values are 889.6 N/mm2, 6.1 N/mm, 45.1°, and 56.4° respectively. Although the values of these parameters are only applicable to experiments in this paper, the calculation method is generic to all micro-shaft turning process.

2.3 Compensation strategy

According to the above analysis, when a precision machine tool is used for the turning process with a unified reference radius, the tool setting error is a fixed value that can be measured with laser measuring instrument, and the influence on the dimensional accuracy can be minimized with the help of precision tool setting system. However, the effects of workpiece deformation on machining accuracy are changing with the cutting parameters; the compensation for the deformation error should be taken into account. The tool-workpiece relative position, which is associated with the cutting parameters and the workpiece deformation, is an important factor determining the deformation error. If assuming that the workpiece in micro-shaft is regarded as a rigid shaft without deflection, only the deformation error is considered to be caused by the variable elastic position adjustment of the tool tip. Figure 3 is the equivalent schematic of Fig. 1b, and point E (X1, Y1) is the equivalent tool tip. The formula for calculating R2 can be rewritten as:

$$ {R}_2=\sqrt{X_1^2+{Y}_1^2}=\sqrt{{\left({X}_0-{a}_t\right)}^2+{\left({Y}_0-{w}_Y\right)}^2} $$
(23)
$$ {a}_t={X}_2-{w}_X $$
(24)

where at is the equivalent radial feed. Obviously, the deformation error is transformed into the radial feed deviation along the sensitive direction and the tool tip height deviation along the non-sensitive direction.

Fig. 3
figure 3

The equivalent schematic of deformation error

In the conventional turning process, the non-sensitive direction error is always neglected because of the little impact on the dimensional accuracy of the workpiece, and the sensitive direction error is the emphasis of error compensation. In order to investigate whether there is the same regular pattern in micro-shaft turning, a set of non-sensitive direction deviation values Y0 = 0.1, 0.3, and 0.5 mm were substituted into Eq. (11) to draw the results in Fig. 4. It was found that as the diameter of the workpiece decreases, the influence of the non-sensitive direction deviation on the dimensional error becomes more and more significant. Thence, the compensation of non-sensitive direction error is important, especially in turning the micro-shaft with a diameter of less than 1 mm.

Fig. 4
figure 4

Impact of workpiece diameter on deformation error along the non-sensitive direction

The stable and controllable depth of cut is an important precondition for ensuring continuous cutting and the machining accuracy in micro-shaft machining. In the conventional turning process, the cutting parameters are usually constant in a machining process. The cutting forces change with the unstable depth of cut, which is caused by an irregular shape of the blank and complex features of the workpiece to be machined making machining quality worse, cutting tools collapse, or even machine damage. In order to avoid this phenomenon, the constant force cutting technology based on the real-time cutting force monitoring was proposed, which keeps the cutting forces within a relatively stable range by means of monitoring the cutting forces real timely and adjusting the cutting parameters through machine control system after data analysis. The practice has proved that this method can improve productivity while ensuring machining accuracy and operational safety.

However, the main reason hindering its universal application includes the high cost of the high-sensitivity detection system and fast-response control system and the complexity of machine tool reformation. In addition, when the cutting force oscillation is detected, the damage has already generated, and the subsequent adjustment of the cutting parameters only prevents the damage from continuing to deteriorate.

Relatively, due to the small scale and the dynamic elastic deformation, it is very difficult to accurately detect the cutting force in real time for the micro-shaft turning process without the high-sensitivity detection device. If the quality inspection of the blank and the simulation of the cutting process are realized before the turning process, the deformation induced by cutting force at any moment could be predicted in advance. Then, a set of cutting parameters are determined, and the tool path of stable cutting can be planned. This method not only achieves high-precision and high-efficiency machining but also reduces manufacturing costs because there is no need to purchase monitoring devices and modify machine tools. Based on the above analysis, the optimized tool path after compensation is a space curve in the workpiece coordinate system. The parametric equation of the tool tip point is developed, shown as Eq. (25).

$$ \left\{\begin{array}{l}X(t)={X}_0+{a}_f+w(t)\cos \varphi \\ {}Y(t)={Y}_0+w(t)\sin \varphi \\ {}Z(t)=L- ft\end{array}\right. $$
(25)

According to the theoretical model and machining practice, cutting force is almost proportional to the depth of cut, while the actual depth of cut in turning is directly relevant to the final machining size and accuracy. Therefore, this paper considers that the idea of constant cutting force and the finite element analysis method can be used to plan the tool path with constant cutting depth, accordingly realizing the prediction and compensation of deformation in the micro-shaft turning process and improving the dimensional accuracy. The schematic diagram of the error compensation strategy is shown in Fig. 5.

Fig. 5
figure 5

Error compensation strategy of micro-shaft turning deformation based on the FEA method

Firstly, according to the dimensional accuracy requirements, the theoretical depth of cut is substituted into the cutting force prediction model mentioned in the previous section to estimate the cutting force components Fp, Ft, and Ff without considering the deformation of the workpiece. Secondly, the cutting force components are applied to the finite element model of the workpiece to simulate and calculate the deformation values of different positions along the workpiece axial with considering the material removal effects. Subsequently, the compensation amounts of tool path along the workpiece axial are calculated by means of the error analysis model. Finally, the trajectory of lathe tool based on actual follow-up cutting parameters is obtained and the G & M codes for controlling the machine tool servo system is programmed to adjust the tool-workpiece relative position in real time. After the above operations, a micro-shaft with a more uniform size and higher precision can be got.

3 FEA-based modeling and simulation results

3.1 FEA-based prediction model of workpiece deformation

In general, when using a precision machine tool for the micro-shaft turning, the height deviation Y0 between the initial tool tip point and the horizontal plane of the workpiece axis can be measured in the tool setting operation. But, the elastic deformation of the workpiece is dynamically changing with the cutting force in the turning process, which is difficult to measure online accurately. A FEA-based model of workpiece deformation, which is established by ABAQUS/Explicit to simulate the micro-shaft turning process, could not only quickly and accurately calculate the instantaneous deformation at any position of the workpiece with different processing parameters but also simulate and visualize the dynamic process of material removal.

According to the compensation strategy in the previous section (Fig. 5), the flowchart of modeling and simulating is shown in Fig. 6. Firstly, create the geometry model of the workpiece and define material parameters. The material parameters in simulation analysis are shown in Table 1. Secondly, mesh the workpiece model with the medial axis algorithm according to feed per tooth and depth of cut, and number every element and node at the same time. The element type was defined as 3D stress and explicit dynamic analysis. Eight-node hexahedron reducing integral element (C3D8R) was chosen for all model elements, which has some advantages including the accurate solution to the displacement, difficult to occur shear self-locking under bending loads, and high computational accuracy with acceptable efficiency. Thirdly, define the boundary conditions. ENCASTRE boundary condition was used for constraining the six DOF of the workpiece clamping end, while a rotation boundary condition has been created and applied to the whole workpiece model. Subsequently, set every analysis step type as explicit dynamics and the step time equal to a single cutting step, which is equal to the reciprocal of the cutting speed.

Fig. 6
figure 6

The flow diagram of the FEA modeling

Table 1 Simulation material parameters of 7075 aluminum alloy

When the first analysis step started, the number of the element to be removed at the free end was extracted and the calculated cutting forces were loaded on the corresponding element node step by step. The application process of cutting force is shown in Fig. 7. The workpiece deformation was calculated and the corresponding element was deleted. Then, continue the next analysis step and repeat until all the material in the cutting layer was removed. Finally, save the data of workpiece deformation and dropout. According to the calculation results, a tool path considering the influence of workpiece deformation could be got. Because there were numerous repetitive operations of cutting force applications and element deletions, after completing the preprocessing of the simulation model in software ABAQUS, the final INP files were completed with the help of an external rewrite program. Then, it was imported in ABAQUS/Explicit for submission and calculation.

Fig. 7
figure 7

3D finite element model and the application of cutting forces

The target part is a micro-shaft with a diameter of 0.4 mm and a length of 5 mm. The diameter of the workpiece before turning is from 0.8 to 1.6 mm, and the corresponding depth of cut is from 0.2 to 0.6 mm, which is much larger than the conventional micro-cutting, while the feed rate is small to ensure the instantaneous cutting area is appropriate. The parameters of the finite element simulation and the cutting force values calculated from the prediction model in Section 2 are shown in Table 2.

Table 2 Parameters of FEM-based simulation and the cutting force calculation

3.2 Simulation result

The simulation process of micro-shaft turning is shown in Fig. 4, where Lt is the length of the cutting path. As can be seen from the figure, as the cutting progresses continuously, the closer to the workpiece clamping end, the smaller the amount of the workpiece deformation because of the high stiffness near the end of the workpiece clamping end. Meanwhile, the deviation of the workpiece free end is gradually reduced. The data of simulation deformation values is extracted from the ODB file by Python programming and plotted in a coordinate chart, of which the origin point of the horizontal coordinate represents the workpiece clamping end, while the vertical coordinate represents the deformation value, and the processes are shown in Figs. 8 and 9.

Fig. 8
figure 8

Process of finite element simulation

Fig. 9
figure 9

The process of extracting the simulation deformation value

The finite element simulation results of Table 2 are shown in Fig. 10. The workpiece deformation increases rapidly with the decreasing of the distance between the workpiece clamping end and the cutting point, which is why the large length-diameter ratio shaft is difficult to machine. Comparing Fig. 10 a and b, when the diameter of the workpiece before turning increases by 50%, from 0.8 to 1.2 mm, the largest deformation value decreases by 51%, from 51 to 25 μm. Comparing Fig. 10 b and c, when the diameter of the workpiece before turning increases by 33%, from 1.2 to 1.6 mm, the largest deformation value decreases by 52%, from 25 to 12 μm. This means that when the diameter of the workpiece before turning increases, the workpiece stiffness increases faster than the cutting force.

Fig. 10
figure 10

Finite element simulation results of Table 2 with a number 1, b number 2, and c number 3

4 Experiment design and result analysis

4.1 Experimental setup and processing parameters

According to the experimental requirements, the machine tool should have CNC programming function, high positioning accuracy, and sufficient operating space. Therefore, according to laboratory equipment conditions, the integral scheme of building an experimental platform is shown in Fig. 11. A precision CNC machining center, DMG 80 mono BLOCK, is used for the micro-shaft turning process experiment. The workpiece to be machined is clamped on the spindle, while the tool is fixed on the workbench. And, the relative position of tool-workpiece is adjusted by the machine tool servo system. The three-component piezoelectric rotating dynamometer, Kistler 5070A, is mounted on the machine spindle to record the cutting force during machining in real time. The 3D contour maps and the diameters of the machined micro-shafts are measured by KEYENCE microscope.

Fig. 11
figure 11

The experiment process of micro-shaft turning

The workpiece is 7075 aluminum alloy bar and the chemical composition is listed in Table 3. The diameter of the blank before machining is uniform and large enough to guarantee the stiffness of the shaft so that the workpiece will not be broken in the turning process. The cutting tool used in the experiments is cemented carbide insert, which has strong wear resistance, reducing the adverse effects of tool wear on the results. The photo of the insert is shown in Fig. 12, and the geometric parameter information is listed in Table 4.

Table 3 The chemical composition of Al 7075
Fig. 12
figure 12

The picture of the cutting tool

Table 4 The geometric parameters of the cutting tool

The experiments include two parts. Verifying the accurateness of the cutting force model and investigating the effects of cutting parameters on cutting force have been conducted in the first experiment, and the experimental parameters are shown in Table 5. Subsequently, contrast experiments are carried out to verify the effectiveness of the compensation strategy in the second experiment. The cutting parameters, which include depth of cut, the feed rate, and the spindle speed, are 0.3 mm, 7 μm/r, and 4500 r/min. The target diameter and length of micro-shaft are 0.4 mm and 5 mm respectively in both experiments.

Table 5 Parameters of micro-shaft turning experiments

4.2 Experiment results and discussion

Since the peak values of the cutting force signal in each sampling period can directly reflect the true values, the peak values are taken as the actual cutting force values. The original cutting force data collected by the dynamometer is plotted in the graph after filtering and noise reduction, as shown in Fig. 13.

Fig. 13
figure 13

Data processing of experimental cutting forces

The results of cutting force experiments based on the parameters in Table 5 are shown in Fig. 14, which are in good agreement with the results calculated by the cutting force prediction model. Since factors such as the strain hardening and the friction in the tool-workpiece interface are ignored for the purpose of simplifying calculations, the prediction values are slightly smaller than the experimental values. The maximum prediction error is less than 8.6%. Figure 14 a, b, and c correspond to the experimental numbers 1/2/3, 2/6/7, and 2/4/5, respectively, and the effects of feed rate, spindle speed, and depth of cut on main cutting force and radial thrust force are explored. It can be found that the effects of feed rate and depth of cut are more significant than spindle speed on cutting forces. Both the main cutting force and radial thrust force increase rapidly as feed rate and depth of cut increase but decrease slightly as spindle speed increases.

Fig. 14
figure 14

Comparison of the cutting forces obtained by experiments and prediction model with the influence of feed rate in a, spindle speed in b, and depth of cut in c on main cutting force and radial thrust force

It can be explained from the cutting force model that cutting forces are directly related to the cutting area, while feed rate and depth of cut are two essential parameters in the calculation formulas of the cutting area, regardless of spindle speed. However, the cutting speed increases very slowly as spindle speed increases because of the small scale of the workpiece. And, with spindle speed rising, the cutting forces go down because feed per revolution decreases.

After the contrast experiment to verify the effectiveness of the compensation strategy, the 3D contour maps and the diameters of the machined micro-shafts were measured by the KEYENCE microscope, as shown in Fig. 15a. The retracting point of the micro-shaft was selected as the measurement start point and the diameters are extracted every certain distance, as shown in Fig. 15b. The measurement results of workpieces machined without and with error compensation are plotted in Fig. 16 a and b, respectively, in which the horizontal axis represents the distance of the measurement point from the measurement start point and the vertical axis represents the measured value of micro-shaft diameters at the picked points. In order to reduce measurement errors, each measurement point is repeated three times and take the average value as the final results.

Fig. 15
figure 15

The 3D contour maps of micro-shafts in a and the distribution of sample points in b

Fig. 16
figure 16

Experimental results of micro-shaft turning process with a without compensation and b with compensation

As can be seen from Fig. 16, the machined error without compensation is much larger than that with compensation, especially away from the retracting point, like point B in Fig. 16a. The reason is that the cutter relieving phenomenon occurs because of the farther from the clamping end, the greater the elastic deformation, which makes the reduction of the actual cutting depth. The measured dimensions at point A are significantly smaller than the target diameter of 0.4 mm, which is most likely because of the accumulation of the material removed from the workpiece resulting built-up edge that causes overcutting. With the help of compensation, the dimensional error caused by the elastic deformation of the workpiece has been decreased by nearly 90%. However, due to the approximation in the prediction models and the complexity of the machining environment, the dimensional error caused by machining cannot be eliminated completely. Thence, there is still a small amount of dimension overshoot, like point C and point D in Fig. 16b, after compensation.

5 Conclusions

Due to the small scale, large length-diameter ratio and the low stiffness of the micro-shaft parts, it is difficult to achieve accurate tool setting and monitor the workpiece deflection in real time. Based on the constant force cutting method and tool path planning, an error compensation method was proposed, which comprehensively considered workpiece deformation error induced by cutting forces and tool setting error. An error analysis model was established and a cutting force model considering the effect of tool nose radius as well as the FEA method has been applied to predict the compensation amounts. The feasibility of the error compensation method and factors affecting cutting forces has been researched by means of experiments. From the above research and discussion, the conclusions can be summarized as follows:

  1. (1)

    The non-sensitive direction error caused by tool setting and workpiece deflection cannot be ignored in analyzing and compensating the machining errors in the micro-shaft turning process. From the error analysis model, it was found that as the workpiece diameter decreases, the impact of the non-sensitive direction deviation on machining error becomes more and more significant.

  2. (2)

    Micro-shaft turning is a typical dynamic material removal process. With the situation of difficult to monitor the elastic deformation accurately, the FEA method is effective and convenient to estimate the compensation amounts and visualize the machining process. The simulation analysis results showed that the initial diameter of the workpiece has a much more significant effect on the workpiece deformation error than the radial depth of cut.

  3. (3)

    Compared with the experimental results, the maximum prediction error of cutting forces calculated through the specific cutting force model with given parameters is less than 8.6%. The constants in the cutting force model like σ1, σ2, α, and β were defined as 889.6 N/mm2, 6.1 N/mm, 45.1°, and 56.4° respectively. According to the degree of influence on cutting forces, the cutting parameters were ordered as “feed rate > depth of cut > spindle speed,” from strong to weak.

  4. (4)

    Given a set of cutting parameters, the corresponding tool path could be planned. The contrast experiments have verified that the dimensional error of the micro-shaft with a large length-diameter ratio (l = 5 mm, d = 0.4 mm) was reduced by 90% with the compensation strategy.

The compensation strategy proposed in this paper is also suitable for improving the machining accuracy of micro-stepped shafts or other weak stiffness micro-parts. Further researches will be conducted on establishing more accurate prediction models and improve the accuracy of finite element simulation.