1 Introduction

Five-axis milling makes it possible to accurately control the relative pose between a tool and the surface normal of a workpiece, which is very useful for improving the cutting conditions of the tool insert and enhancing machining efficiency and geometric accuracy. It has been widely used for manufacturing parts with complex surfaces, such as die surfaces and integral impellers. It is worth noting that when machining these complex surfaces using five-axis milling, the angle between the tool and the surface normal of the workpiece cannot be set arbitrarily, as it is constrained by the overall shape of the workpiece to avoid interference between the tool and workpiece. However, when machining surfaces with a large radius of curvature, such as turbine blades and controllable-pitch propellers, the angle between the tool and surface normal of the workpiece can be set in a wide range. In these cases, a cutting tool with an annular cutter can be used. Compared to ball end milling, machining with an annular cutter is more efficient, particularly for machining large parts. However, these types of parts (e.g., turbine blades and controllable-pitch propellers) bear alternating loads in service, which means that residual stress in the machined surface layer of the parts will impact their service life [1]. Because machining is usually used as the final procedure to guarantee the geometric accuracy of parts, residual stress induced by milling will directly affect the service life of the parts. Therefore, research on residual stress adjustment for five-axis milling using an annular cutter is important.

Machining-induced residual stress is affected by both mechanical stress and thermal stress [2]. The distribution of mechanical and thermal stress is influenced not only by the amplitude of the cutting force and the cutting temperature but also by their distribution area [3, 4]. In general, the cutting force amplitude, cutting temperature, and their distribution area are determined by the geometry of the uncut chip. For example, in external turning, the geometry of the uncut chip is generally determined by the feed rate and depth of cut. The cutting speed can affect the shear angle, which will also affect the geometry of the uncut chip. Huang et al. [5] experimentally investigated the effects of the cutting speed, feed rate, and depth of cut on the temperature penetration depth using a physical vapor deposition method. The results indicated that even though the cutting force increases with increasing feed rate, the maximum cutting temperature decreases. This is because the distribution areas for the cutting force and cutting heat increase with increasing feed rate, which results in a reduction in the maximum cutting temperature. For theoretical modeling, Komanduri and Hou [6] constructed an analytical model of the cutting temperature field for orthogonal cutting by introducing mirror heat source. Based on their work, Huang and Yang [7] improved the model by introducing the heating time, which is affected by the contact length of the heat source. However, the contact length of the heat source is affected by the uncut chip thickness and shear angle, demonstrating the importance of the uncut chip geometry for the cutting temperature field. Based on the above temperature field model, Huang et al. [8] constructed an analytical model of the stress field during orthogonal cutting. The computed stress field is more consistent with photoelasticity experimental results than traditional models. This stress field model could provide more accurate stress inputs for residual stress models. Huang and Yang [9] then improved the analytical model for the residual stress based on the above stress field model by introducing initial conditions, making it possible to obtain a unique solution for the residual stress during stress relaxation procedures. This improved residual stress model established mapping relationships between the input parameters and residual stress, which can be used to analyze the mechanism by which the input parameters influence the residual stress. With the introduction of a multivariable decoupling method, Huang and Yang [10] investigated the influence of parameters including the shear angle, depth of cut, and rake angle on the residual stress. The results show that in theory, when the tool geometry and workpiece material are unchanged, the residual stress is determined by the cutting speed and the geometry of the uncut chip.

For milling processes, even though the geometry of the uncut chip is more complex than in orthogonal cutting, it can be determined by five machining parameters: the feed rate, front obliquity, side dip angle, depth of cut, and residual height (note that the residual height represents the cutting row spacing in milling processes). Similarly, when the tool geometry and workpiece material are unchanged, the residual stress induced by milling can be determined by the cutting speed and the geometry of the uncut chip. Therefore, there are a total of six machining parameters that determine the machining-induced residual stress, which is very similar to the six spatial degrees of freedom necessary to determine the endpoint of a gesture for a robot; the cutting speed, front obliquity, and side dip angle correspond to rotational degrees of freedom, while the feed rate, depth of cut, and residual height correspond to translational degrees of freedom. Note that because three-axis or four-axis milling cannot be used to control the angle between a tool and the surface normal of a workpiece when milling a curved surface, they cannot be used to control the geometry of the uncut chip. Therefore, in theory, they cannot be used to control the residual stress during milling of a curved surface.

The importance of residual stress for the service life of parts has been emphasized by numerous studies. Chen et al. [11] investigated the role of residual stress in stress corrosion cracking at neutral pH. The results indicate that the tensile residual stress is a large mechanical driving force for crack nucleation and short crack growth. Withers [12] reviewed the effect of residual stress on fatigue. The results showed a series of the effects of residual stress on plastic collapse, fracture, fatigue, thermal fatigue, creep cavitation cracking, and stress corrosion. To obtain parts with a longer service life for industrial requirements, it is important to be able to predict the expected residual stress. Then, in order to obtain the desired residual stress, it is necessary to determine the input parameters that correspond to the desired residual stress. However, for machining-induced residual stress, the existing studies have typically focused on constructing the mapping relationships from the machining parameters, tool parameters, and workpiece material to the residual stress. For example, Arrazola et al. [13] presented recent advances in modeling metal machining processes. These studies have tended to establish a model to predict the residual stress with known input parameters. Brinksmeier et al. [14, 15] proposed a concept called Process Signatures, which aims to solve the inverse surface integrity problem in machining process, i.e., to find appropriate cutting parameters based on surface integrity. Because in actual machining processes, it is necessary to determine the input machining parameters that correspond to an expected residual stress. Huang et al. [16] addressed this problem by proposing a method to control machining-induced residual stress using parameter inversion, which could be used to compute the input machining parameters (e.g., the cutting speed and feed rate) based on the desired residual stress. Using the computed input machining parameters, the expected residual stress can be achieved. However, the method in that study is focused on orthogonal cutting and an analytical model for the residual stress, and requires further research for the purpose of industrial application. In this study, residual stress adjustment based on parameter inversion for five-axis milling using an annular cutter is studied and verified.

1.1 Nomenclature

OIndex of output (residual stress)

AiInput parameter

ai0Reference value for Ai

H(a10, a20, …, ai0, …, an0)Reference value of O computed using a10, a20, …, ai0, …, an0

O(Ai)Fitting function for O with Ai

\( \Delta {O}^{A_i} \)Change in O caused by a change in Ai

2 Establishment of parameter inversion for five-axis milling-induced residual stress adjustment

2.1 Fitting curves for the input parameters and residual stress

According to the theory of parameter inversion for residual stress adjustment proposed in a previous paper of Huang et al. [16] (as mentioned in Section 1), reference values for the input parameters and fitting curves for the input parameters with the residual stress should be determined. For the five-axis milling in this study, there are six input machining parameters: the feed rate, cutting speed, front obliquity, side dip angle, residual height, and depth of cut. When the cutting tool and workpiece material are unchanged, the residual stress can be determined using these six machining parameters. To construct fitting curves for these machining parameters with the residual stress, each parameter was assigned 5 values, as listed in Table 1, in which the reference values for the machining parameters are given in italic. Note that in this paper, reference values were selected based on the requirement of semi-finishing in five-axis milling. It depends on the requirement of the users. A series of cutting conditions can then be designed, as summarized in Table 2. Note that the reference machining parameters are repeated 6 times: in rows 3, 8, 13, 19, 23, and 28.

Table 1 Tested values for each machining parameter
Table 2 Cutting conditions and corresponding residual stresses (the cutting condition for the reference machining parameters and resulting residual stress is in italics)

For the milling processes using the cutting conditions in Table 2, a Sandvik annular cutter (No. 600-1045E-ML1030) was used to machine a nickel aluminum bronze alloy with a Kikron UCP 800 Duro machine tool, as shown in Fig. 1. Three workpieces were used. To reduce positioning error for each clamping, the cutting area was successive for each five cutting conditions listed in Table 2. The residual stress measurements were based on the energy-based method improved by Jin et al. [17]. In that study, an improved energy-based method was proposed to measure the equi-biaxial residual stress of bulk materials using spherical indentation. More details on this method can be found in [17]. The residual stresses were all measured using the same equipment, as shown in Fig. 2. Therefore, systematic errors are the same for all of the measurement data in this study. Moreover, for each cutting condition, the residual stress was measured at nine sample points (the total number of sample points for all cutting conditions is thus 9 × 30 = 270), and the average values are used to represent the residual stress corresponding to each cutting condition (original measurement data is provided in Table 8 of the Appendix). This allowed a higher reliability of the mapping relationship between the measured residual stress and machining parameters to be obtained. The average residual stress for each cutting condition is listed in the rightmost column of Table 2.

Fig. 1
figure 1

a Cutting tool (Sandvik annular cutter, No. 600-1045E-ML1030), b machine tool (Kikron UCP 800 Duro), and c workpiece (nickel aluminum bronze alloy) used in this study

Fig. 2
figure 2

Setup for the measurement of residual stress based on the energy-based method

As shown in Table 8 of the Appendix, the difference among the data from the nine sample points is large. The first reason is that the sample points in the same case are selected in different positions in the area machined using the same cutting parameter. The data of the sample points was not repeatedly measured in the same position because the residual stress measurement method (energy-based method) used in this paper will generate a small hole in the measured position, which will disturb the original distribution of machining-induced residual stress. The theory to predict machining-induced residual stress is based on the theory of elastoplastic mechanics; therefore, the workpiece material is considered as a homogeneous and isotropic medium. Based on this hypothesis, for the same cutting parameter, the residual stresses on different positions of machined surface should be the same. However, the actual material is not a homogeneous and isotropic medium, which will cause the machining-induced residual stress on different positions of the machined surface to not be always the same. In this paper, in order to reduce the difference of machining-induced residual stress caused by the inhomogeneity of workpiece material, the experimental samples were selected in the adjacent area in the same casting material. Even though the inhomogeneity of the workpiece material is always existing, the difference among the data from the nine sample points cannot be avoided. To some extent, the average value of the nine sample points is used to “homogenize” the workpiece material. Except for measurement errors, the variance and standard deviation reflect the inhomogeneity of the workpiece material. Its research should be the task of the casting of material and belongs to the subject of material. The intention of this paper is to provide the knowledge of the adjustment of machining-induced residual stress based on the hypothesis of elastoplastic mechanics.

Using the experimental data in Table 2, fitting curves for each machining parameter and the residual stress could be obtained using the smoothing spline fitting method in Matlab, as shown in Fig. 3. Using the Matlab function “feval(fitmodel1,x)”, the value of the fitting function for each input parameter “x” could be computed.

Fig. 3
figure 3

Smooth spline fitting curves for the input parameters with residual stress. a Cutting speed vs. residual stress, b feed rate vs. residual stress, c front obliquity vs. residual stress, d side dip angle vs. residual stress, e depth of cut vs. residual stress, f residual height vs. residual stress

2.2 Linear inversion for adjustment of five-axis milling-induced residual stress

According to the theory presented by Huang and Yang [16] that was discussed in Section 1, the general equations for parameter inversion for residual stress adjustment are in the form of Eqs. (1)–(5). For the five-axis milling in this study, the six input parameters of cutting speed, front obliquity, side dip angle, feed rate, depth of cut, and residual height are represented by A1, A2, A3, A4, A5, and A6, respectively. Their reference values are represented by a10, a20, a30, a40, a50, and a60, respectively. The corresponding reference residual stress is represented by H(a10, a20, a30, a40, a50, a60). Changes in the residual stress caused by changes in the input parameters are represented by \( \Delta {O}^{A_1},\Delta {O}^{A_2},\Delta {O}^{A_3},\Delta {O}^{A_4},\Delta {O}^{A_5} \), and \( \Delta {O}^{A_6} \), respectively. These changes in residual stress and their corresponding input parameters can be calculated using the smooth spline fitting curves presented in Section 2.1. The expected residual stress is represented by C0. More details regarding parameter inversion can be found in [16]. Note that the equations for parameter inversion can also be used to calculate the residual stress when the input parameters are known. In this case, the parameter C0 in Eq. (4) is an unknown parameter.

$$ \Delta O=\sum \limits_{i=1}^n\Delta {O}^{A_i} $$
(1)
$$ \Delta {O}^{A_i}=O\left({A}_i\right)-H\left({a}_{10},{a}_{20},\dots, {a}_{i0},\dots, {a}_{n0}\right) $$
(2)
$$ \Delta O=O-H\left({a}_{10},{a}_{20},\dots, {a}_{i0},\dots, {a}_{n0}\right) $$
(3)
$$ O={C}_0 $$
(4)
$$ \Delta {O}^{A_i}={C}_i\left(i=1,2,\dots, n-1\right) $$
(5)

3 Verification of residual stress adjustment for five-axis milling based on an orthogonal experiment with interaction of factors

In this section, to investigate the effectiveness of parameter inversion for reflecting the influence of machining parameters on residual stress, an orthogonal experiment with interactions of factors is conducted. This experiment can reveal the degree of influence of a machining parameter on the residual stress by the order of the residual stress range for each machining parameter. Thus, if the orders obtained with the experiment and parameter inversion are similar, it can be concluded that parameter inversion is effective to reflect the mechanism.

3.1 Design of the orthogonal experiment with interaction of factors

In the orthogonal experiment with interaction of factors, three input parameter levels are investigated, as listed in Table 3. Interactions between the cutting speed and feed rate (A × B), cutting speed and depth of cut (A × C), and front obliquity and feed rate (B × E) are investigated. According to the principles for the design of orthogonal experiments with interaction of factors, an orthogonal table with L27(313) is used. More details on using orthogonal experiments with interaction can be found in [18]. Correspondingly, the design of the orthogonal experiment with interactions of factors is summarized in Table 4.

Table 3 Input parameter levels
Table 4 Design of the orthogonal experiment with interaction of factors for five-axis milling

3.2 Results of the orthogonal experiment

From the experimental design in Table 4 and input parameter levels in Table 3, the cutting conditions for the orthogonal experiment were determined, and are listed in Table 5. Machined workpieces produced using these cutting conditions are shown in Fig. 4. Residual stress measurements were again obtained based on the energy-based method. For each cutting condition, nine sample points were measured, and their average was used to represent the residual stress of the machining parameter (thus, the total number of sample points for all cutting conditions is 9 × 27 = 243). The original residual stress measurement data can be found in Table 9 of the Appendix.

Table 5 Experimental and expected residual stresses for the orthogonal experiment with interaction of factors and analysis of their range
Fig. 4
figure 4

Workpiece machined using the cutting conditions in Table 5

In Table 5, the expected residual stresses were obtained using parameter inversion, as discussed in Section 2. Note that parameter inversion can also be used to calculate the residual stress from known input machining parameters. The residual stress range corresponding to each machining parameter reflects the degree of influence of that machining parameter on the residual stress. The descending order of the residual stress ranges of the machining parameters in Table 5 indicates that the order obtained with parameter inversion is very close to that in the experiment, with the exception of two parameters: residual height and depth of cut. Therefore, to some extent, parameter inversion is able to reflect the mechanism of influence of the machining parameters on the residual stress. Also, based on the comparison, for further research, the theoretical model should be improved for more accurate results.

It is worth noting that the ranges obtained using parameter inversion for the interaction columns (including columns 3, 4, 6, 7, and 12) in Table 5 are equal to zero, which means that there is no interaction between these parameters based on the prediction of parameter inversion. This is because in the theory of residual stress adjustment based on parameter inversion, the fitting curve for a machining parameter with the residual stress is a single-variable function, and thus, the interaction of different machining parameters on the residual stress cannot be considered. Further research is necessary to reveal these interactions.

4 Verification of five-axis milling-induced residual stress adjustment based on randomly setting the expected residual stress

The verification based on the orthogonal experiment in the previous section focused on the significance of the influence of the machining parameters on the residual stress. In the orthogonal experiment, the combination of machining parameters is not random, which may not always meet the requirements of actual manufacturing. In industrial applications, the difference between the expected and measured residual stress, and the accuracy of the prediction of compressive and tensile residual stress are of concern. Thus, in this section, the expected residual stress is set randomly in order to verify the correctness of parameter inversion for five-axis milling-induced residual stress adjustment.

The expected residual stresses and assigned change in residual stress for each machining parameter are listed in Table 6. The corresponding machining parameters can then be computed using the theory of parameter inversion, as listed in Table 7. In order to decrease the influence of interactions between the machining parameters on the residual stress, the values of the machining parameters should be as close as possible to the reference values. Also, to reduce the roughness of the machined workpiece, the feed rate and residual height should be relatively small. Machined workpieces are shown in Fig. 5. The residual stress measurement was again based on the energy-based method. For each cutting condition in Table 7, nine sample points were measured, and their average was used to represent the residual stress of that machining parameter (thus, the total number of sample points for all cutting conditions is 9 × 30 = 270). Original residual stress measurement data can be found in Table 10 of the Appendix.

Table 6 Expected residual stress (C0) and assignment of change in residual stress (Ci, i = 1, 2,…, 6)
Table 7 Machining parameters calculated based on Table 6 with the corresponding measured and expected residual stresses
Fig. 5
figure 5

Workpieces machined based on the cutting conditions in Table 7

For the experimental and predicted results in Table 7, the average difference between the measured and expected results for the 30 cutting conditions is only 0.3951 MPa, which is very close to zero. This indicates that residual stress prediction using parameter inversion is effective statistically, even though the difference for each cutting condition is significant. Moreover, for the product of the measured and expected results, the percentage of positive numbers is 73.33%, which means that the correctness of the prediction for compressive and tensile residual stress is 73.33%. Without residual stress adjustment, this correctness will be only 50% because the induced residual stress caused by machining will be random, as with a coin toss that has a probability of 50%. Note that the expected residual stress is random, and nine sample points were measured for each cutting condition, and thus, to some extent, the analysis of the results of 30 total cutting conditions for this verification is reliable. The proposed residual stress adjustment based on parameter inversion is applicable for five-axis milling.

5 Conclusion

In this study, an experimental investigation of the application of parameter inversion for residual stress adjustment in five-axis milling was conducted using two methods: with an orthogonal experiment with interaction of factors and by randomly setting the expected residual stress. The following conclusions can be drawn from the study:

  1. (1).

    The significance of the influence of the machining parameters on the residual stress obtained with parameter inversion is close to that obtained experimentally, which demonstrates that parameter inversion is able to reflect the mechanism of influence of the machining parameters on the residual stress.

  2. (2).

    The average difference between the measured and expected results for the 30 cutting conditions is only 0.3951 MPa, which is very close to zero. This indicates that the residual stress prediction using parameter inversion is statistically effective.

  3. (3).

    Using parameter inversion, the correctness of the prediction of compressive and tensile residual stress for five-axis milling is 73.33%, which is higher than the 50% that is achievable without any adjustment.

In summary, the experimental investigation in this study demonstrates that residual stress adjustment based on parameter inversion is applicable for five-axis milling, and shows the potential of this adjustment method in industrial applications. Further research is necessary to improve the correctness of the residual stress adjustment.