1 Introduction

The thin-walled parts with the characters of higher strength, higher durability and less weight are widely utilized in the aviation industry where it requires a mass of lightweight parts [1]. However, due to the low stiffness of the thin-walled parts, the elastic deformation caused by the cutting force in the milling process cannot be avoided, resulting in the unacceptable machining precision. Especially in the aero-engine field, the machining accuracy of the thin-walled blade directly affects the engine performance [2]. Therefore, how to manufacture the high-quality blade is still a challenging problem in the aviation industry field [3].

At present, the researches of the machining error control for the thin-walled parts can be categorized as machine tool structure design, fixture design, cutting conditions optimization and cutting path generation [4]. The effectiveness of the machine tool structure [5] and fixture designs [6, 7] has been proved in previous studies. However, the extra hardware cost is increased due to the improvement of productivity in these methods. For mass machining, the improvements of the manufacture process (include cutting conditions optimization and cutting path generation) are the primary choice to achieve high machining precision and decrease the hardware cost, effectively.

The cutting condition optimization strategy is widely studied in the current researches. In thin-walled parts machining process, the cutting force determined by variable cutting parameters is the main factor causing the elastic deformation of the workpiece. Therefore, the cutting force and the cutting contact (CC) area modelling attract the most attentions of the researchers and are developed to predict the real cutting force and elastic deformation in the milling process, precisely. After that, the cutting parameters are recalculated or the real CC points are compensated to ensure that the actual material removal is as much as close to the nominal cutting allowance to satisfy the machining precision. Ratchev et al. [8] modelled the cutting force for the thin-walled part milling process. Unlike the classic modelling process [9], the decreased depth of cut caused by the deformation of the part was considered. With the flexible cutting force model, the complex milling process of the thin-walled part was described. Different cutting states of the cutting elements were classified by the finite element (FE) analysis [10]. Finally, the cutting force and the elastic deformation were predicted in the cutting process simulation, and the deformation error could be compensated with mirror method by adjusting the nominal CC points in the real milling process [11]. Similarly, Wan et al. [12] introduced the cutting force model, the relationship between cutting tool and part and the variation of the part stiffness to predict the static error in the milling process applying the FE method with irregular grids. Kang and Wang [13] proposed different iteration methods in the compensation process with the FE method to improve the efficiency and accuracy of the prediction model.

Based on the cutting force model and the FE method, the deformation prediction and the error compensation with the mirror algorithm for CC points are effective to improve the machining precision for thin-walled part milling process. However, the iteration process of the machining and measuring procedures based on the machining error compensation method with the dimension data is more convenient in the practical workshop [14]. Brandy et al. [15] proposed the process-intermittent inspection technology previously in the thin-walled part machining process. The machining error was measured in the semi-finish process by the on-machine measurement (OMM) for compensation calculation to control the nominal tool path in the finish process and improve the machining precision. Guiassa et al. [16] applied the process-intermittent probe in the thin-walled part machining process to obtain the machining error in each layer. Applying the relationship between the elastic deformation and the depth of cut, the compliance coefficient was fitted and then presented to predict the nominal depth of cut in the next layer of the machining process. The new nominal depth of cut was proved to be effective to improve the machining precision. Cho et al. [17] developed the machining error compensation system with the OMM. The error zone and deflection after machining were introduced to describe the error distribution, and the tool path was regenerated with the compensation method, resulting in a higher machining accuracy. Similarly, the error compensation and geometry modelling algorithm with the OMM data were applied to the thin-walled blade milling process with satisfactory precision [18].

The above researches of the cutting force and the deformation prediction and the machining error measurement can be summarized as the compensation process of the nominal CC points or the designed depth of cut with the machining deformation [19]. However, the application of the error compensation algorithm may cause the overcut situation for the increment of the cutting depth. The suitable choice of the cutting parameters is required to ensure the reliability of the compensation algorithm. Besides, if the compensated machining error cannot satisfy the precision, another compensation process is required, which is time-consuming. Therefore, the direct error control methods are needed.

Considering that the cutting force is determined by the cutting parameters, the new tool path is generated by decreasing the axial and the radial depths of cut expected to reduce the cutting force and the deformation [20]. However, the material removal rate will be lower if the depth of cut is decreased blindly, which leads to the long-term machining procedure and reduces the efficiency of the cutting process. Especially, the constant allowance method is widely proposed when planning the cutting path. The smaller allowance is necessary to reduce the cutting force and the deformation in the finish milling process since the stiffness of the part is much lower than the original stock. To solve the inefficiency of the machining process caused by the small depth of cut, Yan et al. [21] introduced a new tool path planning method with various depths of cut considering the constraints of the elastic deformation in the thin-walled part machining process. The constraint of the maximum deformation value from the machining tolerance was implemented to calculate the machining allowances of each layer from the stock to the final shape based on the stiffness of the final part. The blade machining instance validated that the deformation error satisfied the machining tolerance and the various depths of cut planning method was effective. Nevertheless, only the axial depth of cut for the allowance design in each cutting layer was concerned. The parallel cutting path distributed from the free end to the fixed end was still the main path planning method for the thin-walled cantilever part machining process. The calculation of the radial depth of cut in the cutting layer including CC points was ignored. Besides, the stiffness variation prediction of each layer during the machining process was inaccuracy.

At present, iso-parametric, iso-planar and constant scallop height methods are widely applied in the machining process of the free-form surface [22]. Chiou et al. [23] developed the multi-axis machining potential field aiming to maximum the machining strip width. The free-form surface was divided into different regions to guarantee that the strip width located in each region was maximum to guarantee the machining efficiency. Hu et al. [24] employed the machining potential field with the optimized feed rate to plan the tool path and the efficiency was improved. However, these effective tool path planning methods solved the machining error and efficiency problems from the geometry. The stiffness variation and the elastic deformation during the practical machining process of the thin-walled part were not considered in these researches. Only a few researches focused on this problem. Wang et al. [4] proposed the material removal algorithm by cutting the minimum displacement of the cutting block firstly. Although the total deformation of the whole part is smaller, the positions of the cutting blocks were not continuous in the machining process. As a result, the engage and the retract movements in the finish milling process caused significant “bump” in the surface profile leading to an unacceptable machining quality. Also, the efficiency was decreased due to the frequent engage and retract movements. Therefore, Koike et al. [25] proposed the continuous material removal sequence by cutting the low stiffness block preferentially. Although the disadvantage of the former algorithm was fixed, the new algorithm was limited to the thin-walled plate machining. The cutting sequence optimization strategy of the thin-walled free-form surface machining process was still lacked.

With the above researches of the tool path planning, the elastic deformation of the thin-walled part machining could be limited in an acceptable threshold. However, most researches focused on the deformation calculation and the cutting sequence of the allowance block. The elastic deformation of different regions influenced by the variation of the surface stiffness during the thin-walled part machining process was not considered. Eventually, the cutting path is planned by the experience; the general cutting path generation framework for the thin-walled part milling process based on the variation of the workpiece stiffness was not established. To overcome these disadvantages, this paper proposed cutting path generation algorithm for the thin-walled part milling process based on the stable-state deformation field. Firstly, the static deformation field of the machining surface is established by the stiffness matrix. Then, the cutting directions with the minimum variation of the part stiffness during milling process are calculated with the proposed theory, that is, the stable-state deformation field. Furthermore, the machining deformation error model of the thin-walled part is developed with the cutting force model in ball-end milling. With all these preparations, the optimization algorithm for the radial depth of cut is developed to reduce the machining deformation error. Finally, different cutting paths are implemented to machine the thin-walled blades in a three-axis machine tool to validate the effectiveness of the proposed algorithm.

2 The framework of the methodology

During the CNC machining process of the thin-walled part, the cutting force could cause the severe elastic deformation due to the low stiffness of the workpiece. In detail, the deformation is expressed as the unexpected location of the CC points, which means the real CC points are not in the nominal positions. As a result, the dimension errors of the workpiece cannot satisfy the design accuracy. The displacement of each point of the part is expressed as

$$ {\boldsymbol{K}}^G\boldsymbol{\delta} =\boldsymbol{F} $$
(1)

where KG is the stiffness matrix of the whole part, δ is the displacement vector of all points and F is the cutting force acting on the part.

According to the above formula, it is obvious that the cutting force and the workpiece stiffness are the key factors in the deformation control issues of the thin-walled part milling process. As mentioned in the previous section, a lot of researches on the cutting force prediction and control have been developed. Similarly, a large number of machining error compensation algorithms have been developed to reduce the machining errors that still exist after processing. However, as the ability of resisting elastic deformation of the materials or structures under the stress, the stiffness of the thin-walled part plays a key role in the machining process, and only a few studies have been focused, which will be discussed in this paper. At present, the acquisitions of the workpiece stiffness are concentrated on the real measurement and the FE calculation [21]. Since the stiffness measurement process can only be performed after the workpiece machining, various processing methods are required to guarantee the precise shape of the workpiece in order to ensure the accuracy of the measuring results. Nevertheless, the measurement process of the stiffness is time-consuming. In this case, the FE calculation is still the general method introduced in this paper to determine the stiffness matrix. Due to the differences between the boundary condition and the real milling process, there are deviations from the final results of the stiffness. However, the calculation of the stiffness could be carried out before machining, which still owns the high practical value.

Therefore, the paper firstly establishes the deformation field and the cutting force model in ball-end milling. Combined with the simulation of the part deformation, the approximate cutting path directions that lead to the minimum deformation of the overall workpiece are generated. Finally, a novel deformation calculation algorithm is developed to optimize the radial depth of cut to obtain the new cutting path which can be applied in milling the thin-walled part with less machining errors. Series machining experiments will be executed to verify the effectiveness and efficiency of the cutting path planning and the radial depth of cut optimization, as shown in Fig. 1.

Fig. 1
figure 1

The framework of the methodology

3 The initial tool path planning based on the stable-state deformation field

For machining process, planning a reasonable cutting path is the primary factor to ensure the machining accuracy of the product, where it includes the cutting tool shape, the CC point position and the tool axis orientation. In addition, the interference problem between the cutting object and the non-cutting object needs to be solved in cutting path planning. After meeting the above requirements, it is still necessary to satisfy the machining precision and improve the machining efficiency. For thin-walled milling process, the deformation error control of the workpiece should be paid attention primarily in the tool path planning.

During the thin-walled part machining process, the properties such as the stiffness of the remaining workpiece cannot stay constant as the material is removed continuously since for the dynamic variation of the milling process. Moreover, with the different material removal sequences, the stiffness of the same position in the remaining workpiece will be different. In addition, the larger stiffness region of the workpiece can support the cutting process in the low stiffness region. Therefore, in order to control the deformation error of the thin-walled part machining process, it is necessary to remove the material of the low stiffness region preferentially and ensure that the stiffness of the specified position of the remaining workpiece maintains constant before the cutter has reached. According to the above description, the following definition is given:

In the milling process, the stiffness of the uncut area of the workpiece varies as the material is removing. With different cutting path planning strategies, the variations of the uncut area stiffness are different. The cutting sequence leading to the minimum variation of the stiffness is regarded as the stable-state cutting sequence, and the deformation field of this milling process is the stable-state deformation field.

To achieve such requirements, it is necessary to determine the precise deformation of the workpiece by the detail application of Eq. (1). The three components, the stiffness, the cutting force and the deformation error model, are presented in the following sections.

3.1 The establishment of the deformation field for thin-walled part

3.1.1 The establishment of the global stiffness matrix

To establish the stiffness matrix, the entire workpiece (as shown in Fig. 2) is firstly divided into a series of elements Er(r = 1, 2, ⋯, nE) and nodes Ni(i = 1, 2, ⋯, n) with a given number according to the specified grid size by the FE method, where the subscripts of the elements and the nodes represent their orders, and each node corresponds to its own coordinate (x, y, z). According to the attributes of the element, each element contains a certain number of nodes, and the node belonging to the element Er is marked as \( {N}_i^{E_r} \) with the constant node number i. Taking C3D8 element from Abaqus software as an example, the hexahedral mesh has 8 nodes. With these concepts, the element stiffness matrix \( {\boldsymbol{K}}^{E_r} \) about the element Er is established as follows:

$$ {\boldsymbol{K}}^{E_r}={\left[{\boldsymbol{K}}_{ij}\right]}_{8\times 8}, $$
(2)

where i, j are the node number, respectively; the set of values of i, j depends on the node number contained in Er; and Kij is expressed as the force acting on the ith node when the jth node has a unit displacement and the other nodes are displaced to zero. The detail stiffness values in the x, y, z directions are expressed as the following form:

$$ {\boldsymbol{K}}_{ij}=\left[\begin{array}{ccc}{K}_{xx}& {K}_{xy}& {K}_{xz}\\ {}{K}_{yx}& {K}_{yy}& {K}_{yz}\\ {}{K}_{zx}& {K}_{zy}& {K}_{zz}\end{array}\right]. $$
(3)
Fig. 2
figure 2

The dividing process of the workpiece with FE method

In order to obtain the global stiffness matrix, each element stiffness matrix is proposed for the assembling process that is to fill each stiffness values Kij with the node number {i, j} into the corresponding position in the global stiffness matrix. The same node number {i, j} in different element stiffness matrix \( {\boldsymbol{K}}^{E_r} \) should be added to confirm the stiffness value in the global stiffness matrix KG that is expressed as:

$$ {\boldsymbol{K}}^G={\sum}_r{\boldsymbol{T}}_K^T{\boldsymbol{K}}^{E_r}{\boldsymbol{T}}_K, $$
(4)

where TK is the transformation matrix and is applied to extend the element stiffness matrix to the global stiffness matrix according to the same node number. The coordinate transformation function should be integrated in TK if the element stiffness matrix and the global stiffness matrix are in the different coordinate systems.

Since the global stiffness matrix KG is singular without setting boundary condition after the assembling process, it cannot be fed into Eq. (1) to calculate the applied force or deformation. In this case, the boundary constraint is presented to solve such problem. Taking the thin-walled blade (see the blade model in Fig. 3) as an example, one end is clamped. Therefore, the nodes in the fixed area will not displace no matter how large the cutting force is applied according to the definition of Kij. To achieve such setting, the large number is applied in these nodes to ensure the success of the FE operation.

Fig. 3
figure 3

a The CAD model and b the FE model of the blade

3.1.2 The establishment of the global deformation field

After the above processes, the global stiffness matrix of the workpiece can be presented to calculate the overall deformation under a certain force. However, this operation can only obtain the overall displacements of the workpiece when it is stressed at a definite force, and the deformation of the specific position of the workpiece cannot be determined. Therefore, it is necessary to establish a stiffness field of the machining surface of the workpiece to describe the deformation trend of a specific position during the material removal process. Since the stiffness of the fixed nodes approach infinity, it is inconvenient to describe the workpiece deformation by the concept of the stiffness. Considering that the trend of the stiffness field is opposite to the variation of the workpiece deformation in the same conditions, the deformation field (known as the compliance field) constructed by the node deformations under the unit force is proposed to describe the trend of the stiffness field and is developed to describe the deformation of the machining surface under the cutting force.

Different from the experimental method presented in [21] that measures the stiffness field directly, the paper proposes a calculation method of the workpiece surface S based on the stiffness matrix. Equation (1) is expanded as follows:

$$ \left[\begin{array}{ccc}{\boldsymbol{K}}_{11}& \cdots & {\boldsymbol{K}}_{1n}\\ {}\vdots & \ddots & \vdots \\ {}{\boldsymbol{K}}_{n1}& \dots & {\boldsymbol{K}}_{nn}\end{array}\right]\left[\begin{array}{c}{\boldsymbol{\delta}}_1\\ {}\vdots \\ {}{\boldsymbol{\delta}}_n\end{array}\right]=\left[\begin{array}{c}{\boldsymbol{F}}_1\\ {}\vdots \\ {}{\boldsymbol{F}}_n\end{array}\right], $$
(5)

where n is the total number of nodes; the element in Kij (i, j = 1, 2, ⋯, n) is shown in Eq. (3); and δi and Fi contain three components that are directions x, y, z, respectively. In this formula, only the displacement δ = (δ1, δ2, ⋯, δn)T of each node of the workpiece under a set of forces F = (F1, F2, ⋯, Fn)T is described.

To acquire the deformation field, the unit force is performed to the specific position to calculate the displacements of the corresponding point sampled from the workpiece surface with a certain precision. Then, the deflection of the displacement is interpolated to establish the deformation field according to the position of the discrete point. Due to the existence of the FE mesh, the nodes in the workpiece surface can be directly used as the discrete points. The following performance is presented to extract the node set SP of the discrete points belonging to the surface, that is:

$$ {\boldsymbol{S}}_{\boldsymbol{P}}=\left\{\boldsymbol{P}| dist\left(\boldsymbol{P}\left({N}_i\right),S\right)<\Delta \right\}, $$
(6)

where function dist is used to calculate the distance between two parameters, P represents the discrete point of Ni, S is the surface of the workpiece (see Fig. 3) and is the minimum size of the element in the meshing process. The node satisfying the above formula is the point belonging to the workpiece surface, and there is a corresponding relationship between the discrete points {P1, P2, ⋯, Pm} (where m is the total number of the discrete points.) and the nodes {Ni, Nj, ⋯, Nk}. The related deformations are calculated by Eq. (1) or Eq. (5). It should be noticed that the deformation of the discrete point should be caused by the force acting on the same point, and the deformation process is expressed as:

$$ {\boldsymbol{K}}^G\left[\begin{array}{c}{\boldsymbol{\delta}}_1\\ {}\vdots \\ {}{\boldsymbol{\delta}}_i\\ {}\vdots \\ {}{\boldsymbol{\delta}}_n\end{array}\right]=\left[\begin{array}{c}0\\ {}\vdots \\ {}{\boldsymbol{F}}_i\\ {}\vdots \\ {}0\end{array}\right], $$
(7)

where δi is the deformation of the discrete point Pi located on the workpiece surface with the node number i under the unit force Fi (see Fig. 4).

Fig. 4
figure 4

The deformation of the blade under the force

Gathering the deformation calculation of all discrete points SP = {P1, P2, ⋯, Pm} in one matrix, the following expression is obtained.

$$ {\boldsymbol{K}}^G\left(\boldsymbol{\delta} \left({\boldsymbol{P}}_1\right),\boldsymbol{\delta} \left({\boldsymbol{P}}_2\right),\cdots, \boldsymbol{\delta} \left({\boldsymbol{P}}_m\right)\right)=\left(\boldsymbol{F}\left({\boldsymbol{P}}_1\right),\boldsymbol{F}\left({\boldsymbol{P}}_2\right),\cdots, \boldsymbol{F}\left({\boldsymbol{P}}_m\right)\right), $$
(8)

where δ(Pm) represents the displacement of all nodes of the workpiece under the force F(Pm). Equation (8) is expanded as follows:

$$ {\boldsymbol{K}}^G\left[\begin{array}{cccc}{\boldsymbol{\delta}}_{11}& {\boldsymbol{\delta}}_{12}& \cdots & {\boldsymbol{\delta}}_{1m}\\ {}\vdots & \vdots & \ddots & \vdots \\ {}{\boldsymbol{\delta}}_{i1}& {\boldsymbol{\delta}}_{i2}& \cdots & {\boldsymbol{\delta}}_{im}\\ {}\vdots & \vdots & \ddots & \vdots \\ {}{\boldsymbol{\delta}}_{j1}& {\boldsymbol{\delta}}_{j2}& \cdots & {\boldsymbol{\delta}}_{jm}\\ {}\vdots & \vdots & \ddots & \vdots \\ {}{\boldsymbol{\delta}}_{k1}& {\boldsymbol{\delta}}_{k2}& \cdots & {\boldsymbol{\delta}}_{km}\\ {}\vdots & \vdots & \ddots & \vdots \\ {}{\boldsymbol{\delta}}_{n1}& {\boldsymbol{\delta}}_{n2}& \cdots & {\boldsymbol{\delta}}_{nm}\end{array}\right]=\left[\begin{array}{cccc}0& 0& \cdots & 0\\ {}\vdots & \vdots & \ddots & \vdots \\ {}{\boldsymbol{F}}_{i1}& 0& \cdots & 0\\ {}\vdots & \vdots & \ddots & \vdots \\ {}0& {\boldsymbol{F}}_{j2}& \cdots & 0\\ {}\vdots & \vdots & \ddots & \vdots \\ {}0& 0& \cdots & {\boldsymbol{F}}_{km}\\ {}\vdots & \vdots & \ddots & \vdots \\ {}0& 0& \cdots & 0\end{array}\right], $$
(9)

where {δi1, δj2, ⋯, δkm} are the deformations of the nodes {Ni, Nj, ⋯, Nk} under the forces {Fi1, Fj2, ⋯, Fkm}, respectively, which also are the deformations {δ1, δ2, ⋯, δm} of the discrete points {P1, P2, ⋯, Pm} of the workpiece surface.

Through the above definition and calculation, the deformations of the discrete points on the workpiece surface are obtained, and then the deformation of any coordinate located on the workpiece surface is interpolated to establish the deformation field of the whole surface under the unit force. In the meantime, considering that the deformation field is established to describe the deflection trend of the machining surface and the 2-dimensional parameters (u, v) related to the arc length are generally proposed to describe the spatial position of each point on the surface, the coordinates of the points are expressed as P(u, v) = P(x, y, z) (see Fig. 3b), where (u, v)  [0, 1]. Therefore, applying the relationship between the node number and its spatial coordinate, and associating the node deformation and the surface parameters, {δ1, δ2, ⋯, δm} can be mapped to δ(u, v), and the node numbers are ignored.

The specific interpolation methods can be applied to calculate the deformation field such as Lagrange interpolation, Newton interpolation and spline interpolation, and even the surface fitting method for point cloud is considered utilizing the parameters (u, v) and the deformation δ as variables. In particular, the multivariable interpolation should be considered for the 2-dimensional parameter field of in δ(u, v). Therefore, the bilinear interpolation method is presented as an instance to explain how to interpolate the variables in two directions. Also, the bilinear interpolation method requires discrete points to be distributed in a grid in the parameter domain. Since the FE nodes are presented as the discrete points, the distribution of the discrete points satisfies the requirement of the interpolation method. Therefore, the interpolation formula is expressed as:

$$ \boldsymbol{G}\left(u,v\right)=\frac{1}{\left({u}_j-{u}_i\right)\left({v}_j-{v}_i\right)}\left[{u}_j-u\kern0.5em u-{u}_i\right]\left[\begin{array}{cc}\boldsymbol{\delta} \left({u}_i,{v}_i\right)& \boldsymbol{\delta} \left({u}_i,{v}_j\right)\\ {}\boldsymbol{\delta} \left({u}_j,{v}_i\right)& \boldsymbol{\delta} \left({u}_j,{v}_j\right)\end{array}\right]\left[\begin{array}{c}{v}_j-v\\ {}v-{v}_i\end{array}\right], $$
(10)

where G(u, v) is the interpolated deformation field and {ui, uj, vi, vj} is the parameters around the deformation point. It should be noted that the corresponding deformation field G(u, v) is the vector field due to the 3-dimension environment.

In order to analyse the workpiece deformation under the arbitrary cutting force, it is necessary to establish the deformation field of the workpiece surface under the unit force in the x, y, z directions in the workpiece coordinate system. The Fi in Eq. (7) should be replaced as the x, y, z forces, respectively, as shown in the following equations:

$$ {\boldsymbol{F}}_i=\left\{\begin{array}{c}{\boldsymbol{F}}_x={\left(1,0,0\right)}^T\\ {}{\boldsymbol{F}}_y={\left(0,1,0\right)}^T\\ {}{\boldsymbol{F}}_z={\left(0,0,1\right)}^T\end{array}\right., $$
(11)

where Fx, Fy, Fz are the unit forces in x, y, z directions, respectively. The deformation fields Gx(u, v), Gy(u, v), Gz(u, v) , also known as the components of the tensor field, are calculated under the Fx, Fy, Fz force, respectively. The included components in these deformation fields are expressed as:

$$ {\boldsymbol{G}}_i\left(u,v\right)=\left[{G}_{i,j}\left(u,v\right)\right], $$
(12)

where i, j ∈ {x, y, z} and Gi, j means the deformation field in direction j under the force in direction i. With these processes, the deformation field of the overall workpiece surface is established.

3.2 The deflection error model of the thin-walled part milling process

To describe the machining error of the workpiece, the measurement data and the design model are select to compare the deviation which is known as the machining error, and the orientation of the deviation calculation is regarded as the normal direction of the corresponding point in the design model. It can be concluded that only the displacement in the normal direction of the geometric model is recognized as the elastic deformation error. The deformation field Gi from Eq. (12) has been defined as the deflection under the unit force from Eq. (11). Therefore, combined with the distribution of the workpiece deformation field and the cutting force acting on the workpiece, the machining deformation error D is calculated by:

$$ D={\boldsymbol{G}}_n^T\boldsymbol{F}={G}_{x,n}{F}_x+{G}_{y,n}{F}_y+{G}_{z,n}{F}_z, $$
(13)

where Gn = [Gx, n, Gy, n, Gz, n]T and Gx, n, Gy, n and Gz, n are the deformation fields (see Fig. 5a, b, c) in the normal direction caused by the unit force in the x, y and z directions, respectively, which are calculated by:

$$ {G}_{m,n}={\boldsymbol{N}}^T{\boldsymbol{G}}_m={n}_x{G}_{m,x}+{n}_y{G}_{m,y}+{n}_z{G}_{m,z}, $$
(14)

where m ∈ {x, y, z}, N = [nx, ny, nz]T is the normal direction of the workpiece.

Fig. 5
figure 5

The deformation fields in normal direction caused by the unit forces of a direction x, b direction y, c direction z and d normal direction (unit: mm)

Similarly, the deformation field (see Fig. 5d) in the normal direction of the workpiece caused by the unit force of the normal direction is calculated by:

$$ {G}_{n,n}={\boldsymbol{N}}^T{\boldsymbol{G}}_n. $$
(15)

3.3 The cutting path planning method based on the stable-state deformation field

Combined with the deformation error model of the thin-walled milling process, the cutting path with less deformation error will be planned in this section.

To describe the variation trend of the workpiece deformation field caused by different material removal sequences, the deformation of each point in the surface should be determined with respect to the specific cutting sequence during the milling process. And the deformation of the overall machining process in every moment should be added together to evaluate the final machining error. Therefore, the concepts of the trend of the point deformation and the total deformation of the target surface of the workpiece are introduced to achieve the above calculation.

First, the cutting sequence is expressed with a defined order of all the CC points. The CC points from the discrete point set {P1, P2, ⋯, Pm} in Eq. (6) are sorted by the corresponding order based on the specific cutting path planning strategy. The sequence vector CP of the cutting path is defined as:

$$ CP=\left[{\boldsymbol{P}}_i,{\boldsymbol{P}}_j,\cdots, {\boldsymbol{P}}_k\right], $$
(16)

where Pi, Pj and Pk represent the coordinate of the CC points in the sorted order. Therefore, the CC points in the moment s (s = 0, 1, ⋯, m) of the cutting sequence are expressed as CP(s) = Pi. The cutting is not performed when s = 0. It should be noticed that CP is one of the cutting paths from the functional space F[CP].

With these definitions, the deformation of the point during the milling process is expressed as D(CP, CP(sc), s) that means the deformation error from Eq. (13) in the moment s of the cutting sequence CP, and sc is the specific moment of the cutting sequence to confirm the cutting position. When s = 0, D(CP, CP(sc), 0) will be zero. Furthermore, if CP(sc) is cut (also means s > sc), the corresponding deformation D(CP, CP(sc), s) will be zero in the rest milling process. The deformations of different CC points during the milling process are demonstrated in Fig. 6. The blue and green lines show the deformation trends of CP1(s1) and CP1(s2) with respect to CP1 and s. Furthermore, the deformations of these points remain constant until the points are cut. It could be confirmed that the milling process for CP1(s1) and CP1(s2) is stable before s1 and s2. The purple line shows the deformation trend of CP2(s3) with respect to CP2 and s. The deformation is increased for the unstable milling process of CP2.

Fig. 6
figure 6

Deformation errors of the points

Then, the total deformation of the workpiece surface is introduced to represent the summation of the deformations of all sampled CC points on the workpiece, which is expressed as:

$$ q={\sum}_{s=0}^mD\left( CP, CP(s),s\right), $$
(17)

where q is the total deformation amount of the workpiece surface. To achieve the minimum deformation error of the milling process, the cutting sequences from F[CP] are implemented. The minimization problem is set as:

$$ \min q={\sum}_{s=0}^mD\left(F\left[ CP\right],F\left[ CP(s)\right],s\right). $$
(18)

Considering that the corresponding cutting parameters are not proposed currently, the cutting force conditions of each CC point cannot be accurately determined. Therefore, the normal deformation field Gn, n (see Fig. 5d) under the normal unit force is applied as the reference deformation field G for the deformation calculation. It should be noticed that Gn, n varies during the milling process. The new deformation field of the workpiece should be updated with respect to the moment of the cutting sequence for a more accuracy calculation process. However, the variated deformation field could be replaced by the initial Gn, n to simplify the calculation process due to the time-consuming reason. Hence, the minimization problem of q is not suitable for the minimum deformation error of the milling process, and the trend of the local deformation q(s) is developed. As the material is removed, the deformation of the remaining workpiece is changed. Combined with the definition of the deformation of the point during the milling process, the material that has been cut will be ignored when calculating q(s), and Eq. (17) is updated as follows:

$$ q(s)={\sum}_{i=s}^mG\left( CP, CP(i)\right). $$
(19)

Combining the trend function of the local deformation with respect to the moment of the cutting sequence and the feature that the high stiffness region can improve the cutting performance by supporting the cutting process of the low stiffness region based on the stiffness matrix, the deformation amount of the uncut region is added to calculate the integrated cutting process deformation Q which is expressed as:

$$ Q={\sum}_{s=0}^{n_s}q(s). $$
(20)

Taking the blade model shown in Fig. 3 as an instance, since different cutting paths lead to different Q, the detailed cutting paths are introduced. Considering the continuity of the cutting path, two common cutting paths which are parallel inward path Path1 (feed in direction u and pick feed in direction v) and vertical inward path Path2 (feed in direction v and pick feed in direction u) with similar cutting parameters (such as axial depth of cut, radial depth of cut and orientation of tool axis.) [26] are introduced. The cutting lines of both tool paths are shown in Figs. 7 and 8, respectively. The local deformation q(s) and the integrated cutting process deformation Q are calculated according to Eqs. (19) and (20), resulting in Fig. 9. From this figure, when the larger deflection area is cut primarily, the subsequent total deformation amount will decrease sharply, which leads to a relatively small Q. On the other hand, if the larger deflection area is not preferentially removed, the subsequent total deformation amount will gradually decrease, resulting in a relatively large Q.

Fig. 7
figure 7

Cutting path of Path1

Fig. 8
figure 8

Cutting path of Path2

Fig. 9
figure 9

The local deformation amount and its trend

Therefore, Path1 is verified theoretically as a better material removal sequence based on the stable-state deformation field.

4 The prediction of the cutting force corresponding to radial depth of cut

4.1 The cutting force model for ball-end milling

During the milling process, the cutting force plays a significant role affecting the machining deformation, vibration, cutting heat, tool life and cutting condition monitoring. Especially in the thin-walled part milling process studied in this paper, the cutting force is the main factor causing the workpiece deformation. At present, the research on cutting force modelling is relatively mature. The mechanistic cutting force model in ball-end milling is applied in this paper as follows.

Firstly, the geometric model of the ball-end cutter is established as shown in Fig. 10. The axis tz is set along the direction of the tool axis, and the tx and ty axes are settled in the boundary plane between the ball part and the cylindrical part of the ball-end cutter. Furthermore, the tool coordinate system txyz is resulted. In this coordinate system, the cutting edge is expressed as the green curve, and the rotation angle φ and the immersion angle κ are introduced to describe the position of the point in the cutting edge. Applying the cutting force model, the differential tangent dFt, radial dFr and axial dFa cutting forces acting on an infinitesimal cutting edge segment can be calculated as follows:

$$ d{F}_i\left(\varphi, z\right)={K}_{ic}H\left(\varphi, \kappa \right) db(z)+{K}_{ie} ds(z), $$
(21)

where i ∈ {t, r, a}, Kic and Kie are the shear force coefficients and the edge cutting coefficients, respectively, H(φ, κ) is the chip thickness and db and ds are the chip width and cutting edge length, respectively.

Fig. 10
figure 10

Geometric model of the ball-end mill cutter and the cutting force components

Decomposing the above cutting force into the xt, yt and zt directions, the cutting forces in the tool coordinate system TCS are evaluated by applying the transformation matrix, as in the following equation:

$$ \left[\begin{array}{c}d{F}_{xt}\\ {}d{F}_{yt}\\ {}d{F}_{zt}\end{array}\right]=\left[\begin{array}{ccc}-\cos \varphi & -\sin \kappa \sin \varphi & -\cos \kappa \sin \varphi \\ {}\sin \varphi & -\sin \kappa \cos \varphi & -\cos \kappa \cos \varphi \\ {}0& \cos \kappa & -\sin \kappa \end{array}\right]\left[\begin{array}{c}d{F}_t\\ {}d{F}_r\\ {}d{F}_a\end{array}\right]. $$
(22)

Then, the total cutting forces acting on the cutting tool are evaluated by integrating the cutting force in the entire cutting edge and adding the cutting force at the corresponding position in each cutting edge, as in the following equation:

$$ {\boldsymbol{F}}_t={\sum}_{j=1}^{n_t}{\int}_{z_1}^{z_2}d{\boldsymbol{F}}_{t,j} dz, $$
(23)

where Ft = [Fxt, Fyt, Fzt]T, j is the cutting edge number, nt is the total number of the cutting edges and z1 and z2 are the upper and lower bounds of the cutting area in the tool axis direction in the milling process.

The average cutting force is used to identify the cutting force coefficients of TC4 cutting process, and a 4-tooth ball-end cutter with 12-mm diameters is afforded. Since the diameter of ball-end cutter changes in the direction of tool axis, the corresponding cutting edge is in different shapes, which will affect the cutting force coefficients of each layer [27]. Therefore, the difference of cutting forces in axis height is needed to determine the cutting coefficients function of axial height. In order to simplify the calculation, the slot milling is adopted. The spindle speed is 1061 rev/min, and the feed per tooth is 0.02, 0.04 and 0.06 mm/tooth. The differences of the average cutting forces relating to the axial depth of cut are shown in Table 1 when the feed per tooth is 0.06 mm/tooth.

Table 1 The difference of average cutting force in axis height

The cutting coefficients function of axial height ap are shown in the following:

$$ \left\{\begin{array}{l}{K}_{tc}=-167.21{a}_p^2-695.10{a}_p+2428.48\\ {}{K}_{rc}=-2.98{a}_p^3+553.30{a}_p^2-2018.64{a}_p+2263.04\\ {}{K}_{ac}=-203.18{a}_p^3+923.66{a}_p^2-1189.81{a}_p+740.01\\ {}{K}_{te}=-0.06{a}_p^3-3.42{a}_p^2+11.60{a}_p+2.48\\ {}{K}_{re}=-0.13{a}_p^3-4.44{a}_p^2+15.03{a}_p+4.76\\ {}{K}_{ae}=0.10{a}_p^3-0.13{a}_p^2+1.81{a}_p-0.17\end{array}\right. $$
(24)

The measured average cutting forces in x, y and z axes are −163.88, 385.71 and 188.02 N, respectively, when the axis depth of cut is 2.75 mm and the feed rate per tooth is 0.06 mm/tooth. Applying the proposed cutting force model, the predicted average cutting forces in x, y and z axes are −174.43, 371.51 and 201.10 N, respectively. The dynamic cutting forces in a rotation period are shown in Fig. 11. The corresponding errors are 6.44, −3.68 and 6.95% which demonstrate the effectiveness and precision of the proposed ball-end cutting force model.

Fig. 11
figure 11

The measured and predicted cutting forces

4.2 The relationship between the cutting force and radial depth of cut

When machining the free-form surface with ball-end mill, the local coordinate system is introduced in the CC points to describe the orientation of the cutter, consisting of feed (F), cross-feed (C) and surface normal (N) axes. The lead angle θl is the rotation of the tool axis about the cross-feed axis (C) and the tilt angle θt is the rotation about the feed axis (F). TCS is the tool coordinate system which is the rotated form of the FCN. The cutting force from Eq. (23) is in TCS. And a fixed coordinate system, WCS, is the workpiece coordinate system which is built to describe the CC points in the workpiece. These coordinate systems and their relations are shown in Fig. 12.

Fig. 12
figure 12

The state of the ball-end tool and workpiece milling process

Based on the classical cutting force model, the variation of the cutting force acting on the cutting tool with the spindle rotation in the tool coordinate system TCS is analyzed. Considering that the milling process is cyclically variable and the spindle speed is particularly fast compared to the feed rate, the average force over the period can be utilized to indicate the equivalent force causing the elastic deformation of the workpiece during this period [21]. In addition, the coordinate transformation is necessary to calculate the cutting force acting on the workpiece in WCS by analysing the difference between the tool and workpiece coordinate systems shown in Fig. 12. Comprehensively, the equivalent cutting force acting on the workpiece is expressed as:

$$ {\boldsymbol{F}}_w=\frac{1}{2 c\pi}{\int}_0^{2 c\pi}\boldsymbol{T}{\boldsymbol{F}}_t d\varphi, $$
(25)

where c is the period amount which is confirmed by the range of integration, Ft is the cutting force and T is the transformation matrix which is determined by the relation between the TCS and WCS.

However, the tool axis is different from the surface normal when milling the blade presented in Fig. 3 in z axis. The influence of the lead and tilt angles should be considered. Figure 13 shows the distributions of the lead and tilt angles of the proposed blade.

Fig. 13
figure 13

The distribution of a lead and b tilt angle

Since the tool axis is changed, the CC area in FCN and TCS can be transformed using the following equation.

$$ \boldsymbol{TCS}=\left[\begin{array}{ccc}\cos {\theta}_l& 0& \sin {\theta}_l\\ {}\sin {\theta}_t\sin {\theta}_l& \cos {\theta}_t& -\sin {\theta}_t\cos {\theta}_l\\ {}-\cos {\theta}_t\sin {\theta}_l& \sin {\theta}_t& \cos {\theta}_t\cos {\theta}_l\end{array}\right]\boldsymbol{FCN}. $$
(26)

Based on the above preparation, the new CC area in TCS and the changed feed vector are afforded to the cutting force model. The axis depth of cut is 1 mm and the feed per tooth is 0.06 mm/tooth. The average cutting force function of radial depth of cut (width), lead and tilt angle in WCS is constructed as Fw = f(ae, θl, θt) and the z force function is shown in Fig. 14a. The red dotted line in this figure shows the relationship between z force and the radial depth of cut when θl = 28° and θt =  − 2.4°. In this condition, the cutting force function Fw = f(ae) of width ae in different axes is shown in Fig. 14b.

Fig. 14
figure 14

a The cutting force function in z axis corresponding to parameters and b the relationship between cutting forces and radial depth of cut

5 The radial depth of cut optimization of the tool path

Based on the analysis and calculation of the stable-state deformation field, the material removal sequence with less deformation, known as the parallel inward path Path1, is chosen, which removes the low stiffness area preferentially. However, even with this cutting path, the deformation of the low stiffness region is still out of range since the same cutting parameters are performed around the whole surface. Therefore, it is necessary to optimize the cutting parameters of the local area to ensure that the deformation of each point on the workpiece is as small as possible.

Although the cutting force is calculated by a combination of the cutting force coefficients, the chip width and the edge length in the cutting force model, only the axial depth of cut, the radial depth of cut, the tool axis orientation, the spindle speed and the feed rate are concerned to determine the cutting force in tool path planning process. This section mainly considers how the radial depth of cut influences the cutting force while keeping the axial depth of cut, the spindle speed and the feed rate constant. And the tool axis is varying when machining the free-form surface with 3-axis machine tool. Therefore, the equivalent cutting force in Eq. (25) is expressed as Fw(ae) where θl, θt are specific for each CC point according to Fig. 13 and Fig. 14. Considering the deformation calculation from Eq. (13) and the research of the material removal sequence in the former section, the deformation of each point on the workpiece could be reduced when the cutting force decreases with the stable-state material removal sequence. However, it is impossible to blindly reduce the cutting parameters and decrease the machining efficiency. In addition, considering the disadvantages of excessive cutting force, such as tool life, tool deformation, stability of the machine tool and the cutting process, excessive cutting parameters are not recommended. Especially in the free-form surface milling process with ball-end cutter, the maximum cutting width of each CC point, also known as the maximum radial depth of cut ae, max, should be chosen carefully to ensure that the scallop height after cutting is within the threshold. Generally, the cutting force calculated with the maximum radial depth of cut can stay in the range of the maximum cutting force. To be on the safe side, the proper parameters should be determined when planning the original cutting path before the optimization.

Combining the above analysis and the deformation error of the workpiece from Eq. (13), the optimization method for the radial depth of cut of the cutting path is expressed as:

$$ {d}_{max}=D\left(u,v\right)={\boldsymbol{G}}_n^T\left(u,v\right){\boldsymbol{F}}_w\left({a}_e\right), $$
(27)
$$ {a}_{e, real}=\min \left\{{a}_{e,\mathit{\max}},{a}_{e, cal}\ \right\}, $$
(28)

where dmax is the maximum deformation of the workpiece, ae, real is the optimized radial depth of cut and ae, cal is the radial depth of cut that satisfies the deformation error model and also is the solution of ae in Eq. (27). The specific calculation process refers to the solution of nonlinear equation.

5.1 The optimization of the parallel inward path

For the parallel inward path Path1, only the distance of the adjacent cutting lines is calculated when optimizing the radial depth of cut to ensure the cutting path is fed in the direction of parameter u. The following algorithm is developed as shown in Fig. 15. Firstly, the discrete points Pi, j (i is the cutting line number, and j is the CC point number) are sampled from the current cutting line linei. Then, the radial depths of cut ae, real, j and the corresponding CC point Pi + 1, j under the conditions from the Eqs. (27) and (28) are calculated. Finally, the minimum value of these radial depths of cut is the optimized radial depth of cut of the adjacent cutting line linei + 1 by ae, real = min(ae, real, j). Applying the algorithm to the target surface, the optimized parallel inward cutting path Path3 is obtained (see Fig. 16).

Fig. 15
figure 15

The general optimization method for parallel inward path

Fig. 16
figure 16

Cutting path of Path3

5.2 The single-point optimization algorithm

In the above algorithm of optimizing Path1, the minimum value of the optimized radial depths of cut of all CC points is regarded as the optimal radial depth of cut to ensure that the cutting path is still parallel and inward after optimizing. In other words, the independent feature of each point is ignored when the width of each CC points is reduced to the width of the lowest stiffness point in the current cutting line. Therefore, each CC point can be optimized if ignoring the parallel constraint of cutting path.

In order to maintain a better material removal sequence in the cutting process, the low stiffness region should be removed first. According to the generation method of material removal sequence (see Ref. [21, 25]), the largest stiffness region, also is the fixed end, is regarded as the initial value to plan the allowance distribution order of the remaining workpiece, and the reverse order of the allowance distribution is the cutting sequence in the machining process. Therefore, the relevant algorithm is designed as follows (see Fig. 17). Firstly, the discrete points Pi, j are sampled from the current cutting line linei. Then, the radial depths of cut ae, real, j and the corresponding CC point Pi + 1, j under the conditions from the Eqs. (27) and (28) are calculated, and these CC points Pi + 1, j are fitted to construct the adjacent cutting line linei + 1. However, the degenerate case occurs when the planned tool path is close to the edge of the low stiffness region. As a result, the optimized CC points are out of the surface range of the workpiece (see the yellow points in Fig. 18). In this situation, the overstep points will be removed from the optimized CC points set. The rest CC points constitute their cutting lines in the corresponding position, which are the linei + 1, 1 and linei + 1, 2 in Fig. 18.

Fig. 17
figure 17

The general case of the single-point optimization algorithm

Fig. 18
figure 18

The degenerate case of the single-point optimization algorithm

It should be noted that the cutting path formed by the calculated CC points with the optimized radial depth of cut may not be smooth. The application of the curve fitting method is needed to relocate the CC point. As a result, the requirement of the deformation error control and the smoothness of the cutting path are satisfied. The final tool path applying the single-point optimization algorithm is shown in Fig. 19.

Fig. 19
figure 19

Cutting path of Path4

6 Experiments and verification

6.1 The preparations of the machining process

To verify the material removal sequence and the cutting path optimization method based on the stable-state deformation field proposed in this paper, the thin-walled blades machining experiments are designed. The dimensions of the blade are about 60 × 40 × 1 mm shown in Fig. 3a. Four cutting paths proposed in this paper are applied to the blade machining experiments.

The experiments are prepared as follows: a ball-end cutter with diameter 12 mm is applied in the machine tool YHVT850 to cut the TC4 workpiece. The cutting parameters are set as the following: spindle speed is 3000 rpm, feed rate is 700 mm/min, workpiece allowance is 1 mm, maximum cutting width is 0.6 mm and tool axis is in direction z. Four cutting paths are shown in Figs. 7, 8, 16 and 19. The tolerance is 0.05 mm according to the compressor blade machining process.

In order to verify the effectiveness of the proposed algorithms, the conservative machining parameters are selected to avoid the negative factors of the machining process, such as chatter. Also, in order to decrease the influence of the scallop height caused by the ball-end milling, the maximum cutting width 0.6 mm is set when designing the cutting paths, and the scallop height of the entire machining surface is under 0.01 mm.

For Path3 and Path4, Section 5 shows how to optimize radial depth of cut of the cutting path. The lowest stiffness region known as the blade tip is taken as an example to calculate the optimized radial depth of cut. The cutting force function of radial depth of cut is generated according to Section 4. Meanwhile, the deflection of the tip region from the deformation field is −0.000308, −0.002786 and 0.009969 mm/N when the allowance is 1 mm. Applying Eqs. (13) and (27), the relationship between deflection of the blade and radial depth of cut is obtained as shown in Fig. 20. The deformation error is out of tolerance when the radial depth of cut is 0.6 mm which is the maximum radial depth of cut ae, max. A new radial depth of cut ae, cal = 0.109 mm is the solution of Eq. (27) when dmax = 0.05 mm. Therefore, ae, real is set as 0.1 mm for convenience and the deflection is 0.048 mm which is lower than the tolerance. For the root region of blade, the deformation field is much smaller, which leads to a larger radial depth of cut, larger than ae, max. The ae, real value in these regions is ae, max. Therefore, the range of the optimized radial depth of cut for Path3 and Path4 is [0.1,0.6].

Fig. 20
figure 20

The relationship between springback and the radial depth of cut

6.2 The machining errors of the proposed cutting paths

Before the milling process, the lengths of four cutting paths are calculated as shown in Table 2 before the milling process. It is obvious that the lengths of Path1 and Path2 are nearly the same when the same maximum cutting width is set. Since the cutting width is reduced in the low stiffness region and the parallel cutting feature is reserved, the length of Path3 is the longest and longer than Path1 by 23.7%. At last, the cutting width of the larger stiffness region is not reduced to the value of the lowest stiffness position of the current cutting line in the cutting path Path4. Therefore, the final length of the Path4 is not too long and is only longer than Path1 by 2.9%.

Table 2 The relevant machining data

Afterwards, four different cutting paths are implemented in the workpiece machining process, and the final machining results are shown in Fig. 21, and the total machining time is shown in Table 2. Considering that the non-cutting moves such as the engage and retract movements are significant to connect different cutting lines, therefore, the excessive number of cutting lines which cause frequent engage and retract and even the traversal movements will affect the final machining time. It can be found from Table 2 that the machining time of Path2 is reduced by 10.4% comparing to Path1 and the machining times of Path3 and Path4 are increased by 23.8 and 11.7%, respectively.

Fig. 21
figure 21

The blades after machining with a Path1, b Path2, c Path3 and d Path4

For these machined blades, the dimensions are measured to calculate the machining errors and plot the cloud figures (see in Fig. 22) under clamping condition. After analysing the machining errors (where the average and maximum errors are shown in Table 2) and the distributions, it could be concluded as follows:

  1. 1)

    The machining error of Path2 is largest, the average error is 2.264 times of Path1, and the maximum error is 3.539 times of Path1. It could be concluded that removing the low stiffness region preferentially can lead to a smaller machining error.

  2. 2)

    Comparing to Path1, the average errors of Path3 and Path4 are reduced by 23.1 and 26.3%, respectively, and the maximum errors are reduced by 37.7 and 23.8%, respectively. It could be concluded that the optimized cutting path can reduce the machining error effectively.

Fig. 22
figure 22

The cloud figures of machining error (mm) distribution of a Path1, b Path2, c Path3 and d Path4

Besides, the local deformation amounts of Path2, Path3 and Path4 are compared in Fig. 23. Due to the severe variation of the deformation field when milling the blade in Path2, the local deformation amount of each cutting moment is larger than that in Path3 and Path4. It demonstrates that the optimized cutting paths, Path3 and Path4, can lead to a smooth decrease of local deformation amount.

Fig. 23
figure 23

The local deformation amounts of Path2, Path3 and Path4

However, since the analysis of the error clouds only considers the variation of the overall error while the optimized cutting lines are located in the low stiffness region, it is necessary to compare the machining errors of the optimized regions to demonstrate the effectiveness of the optimization algorithm. Analysing the optimized cutting paths of Path3 and Path4, it could be found that the optimized region locates in v ∈ [0.7,1]. Therefore, the sections v = 0.97 and v = 0.77 (also are the sections x = 2 and x = 14, respectively) are selected to verify the effectiveness of the optimization algorithm, and the section v = 0.37, known as the section x = 38, in the non-optimized region is proposed as the contrast. The errors of these sections are shown in Fig. 24, and the average errors and the standard deviations are shown in Fig. 25.

Fig. 24
figure 24

The machining errors of the sections a v = 0.97, b v = 0.77 and c v = 0.37 applied different cutting paths

Fig. 25
figure 25

a The average errors (mm) and b standard deviations (mm) of three sections

In section v = 0.97, comparing to Path1, the average errors of Path3 and Path4 are reduced by 53.0 and 60.7%, respectively. In section v = 0.77, comparing to Path1, the average errors of Path3 and Path4 are reduced by 39.0 and 3.5%, respectively. In section v = 0.37, the average errors of Path3 and Path4 are 98.8 and 100.4% of Path1, respectively. Most regions with excessive errors are corrected by applying Path3 and Path4, which results in larger standard deviations. These data demonstrate that the optimization algorithm of the radial depth of cut can reduce the machining error of the low stiffness region effectively without influencing the machining error of the non-optimized region.

6.3 The surface quality of the machined blade

Since the radial depth of cut of the optimized cutting path is changed, an evaluation of surface roughness is needed. The measuring equipment is InfiniteFocus G4 made by Alicona. According to the clamping and distribution of the optimized cutting path, the tip and root regions of the blade are chosen for evaluating the surface roughness. Based on the surface roughness evaluation standard, the cut-off length is 0.8 mm, and the scanned images and data figures are shown in Fig. 26. The arithmetic mean deviation, Ra, of the tip and root regions is shown in Fig. 27.

Fig. 26
figure 26

The scanned images and the data figures of a the tip and b root regions of Path3

Fig. 27
figure 27

The surface roughness Ra of root and tip regions (μm)

From the measuring results, the Ra values of the root regions of different cutting paths are relatively close due to the constant radial depth of cut. Nevertheless, the Ra of the tip region is increased due to the vibration of the thin-walled part machining [28]. Thanks to the optimization in Path3 and Path4, the decreased radial depth of cut leads to lower Ra values. It should be noticed that the radial depth of cut of the cutting lines in the tip region of Path4 is different and the Ra of this region is larger than that of Path3.

Applying the optimization process, the radial depth of cut and the final surface roughness are changed after blade milling. However, for the milling process, the machining precision should be satisfied first. The surface quality can be improved by the subsequent grinding process.

Integrating the machining time, overall machining errors and the comparison of the local machining errors, the following conclusions can be drawn:

  1. 1)

    Comparing the machining times and the machining errors between Path1 and Path2, it could be concluded that the cutting path removing the low stiffness region preferentially can generate a relatively small machining error and should be utilized first.

  2. 2)

    Comparing the local machining errors, it could be concluded that the optimized cutting path can excessively reduce the machining error of the low stiffness area, and two optimization algorithms of the radial depth of cut developed in the paper can lead to the similar machining results.

  3. 3)

    Comparing the machining times and the overall machining errors of all cutting paths, it could be found that the optimized cutting path can further reduce the machining error and increase the machining time. However, if the same machining accuracy is achieved with the parallel inward cutting path like Path1, the radial depth of cut should be enormously decreased; as a result, the machining time increases exponentially. Considering the machining time and accuracy comprehensively, the optimization method for the radial depth of cut is effective to improve the machining precision. Especially, the single-point optimization algorithm applied in Path4 is the most effective method of tool path planning method which takes into account the machining efficiency and accuracy.

7 Conclusion

Due to the low stiffness of the thin-walled part, the larger deformation occurs in the milling process and influences the machining precision and quality; furthermore, the final part cannot match the design standard and limit the performance. In this paper, the elastic deformation error model of the thin-walled part milling process is established to optimize the radial depth of cut based on the stable-state deformation field, and the optimized cutting path is generated in milling the thin-walled blade, resulting in a higher machining precision. The key conclusions are summarized as follows:

  1. 1)

    For the thin-walled blade milling process, the cutting path milling the low stiffness region preferentially can reach a lower machining deformation error. The average and maximum errors of the vertical inward path are 2.264 and 3.539 times of the parallel inward path, respectively.

  2. 2)

    The radial depth of cut optimization method based on the elastic deformation error model of the thin-walled part milling process can reduce the machining deformation error further. Comparing to the non-optimized parallel inward path, the average errors of the optimized parallel inward path and the single-point optimization path are reduced by 23.1 and 26.3%, respectively, and the average errors of the local optimized region are reduced by 53.0 and 60.7%, respectively.

  3. 3)

    Considering the machining efficiency and accuracy comprehensively, the single-point optimization algorithm is the most effective optimization method of the radial depth of cut for tool path planning.