1 Introduction

Five-axis machine tools (FAMTs) with clear advantages of higher material removal rate, fewer setups [1, 2], and higher machining efficiency [3] are extensively adaptable for the machining of sculptured surfaces [4]. The surface quality of the workpiece is significantly influenced by the machining performance of the machine tools [5, 6]. Since the machine tools’ machining accuracy is determined by the mutual coordination with the accuracy of machine tool components, improving individual components’ accuracy may increase the manufacturing cost instead of enhancing the machining accuracy. Therefore, it is of great theoretical and practical significance to obtain an appropriate precision design scheme for machine tools cost-effectively while satisfying the desired machining accuracy requirement during the initial design stage of machine tools.

As indicated by many engineering practices, a bad precision design scheme requires the component with extremely tight or loose tolerance, which results in excessive manufacturing cost, unacceptable quality loss, and poor performance, on the contrary, an excellent precision design scheme with advantages of better performance, lower loss of quality, and reasonable tolerance allocation scheme for the component [7, 8]. In the design stage of machine tools, since the most guiding significance for precision design is tolerance parameters of machine tools’ component, the tolerance is regarded as a bridge between accuracy requirement and manufacturing cost of the component [9]. The precision design of machine tools is therefore a problem of optimal tolerance allocation for components. Hence, a reasonable tolerance allocation scheme plays an important role in balancing machining performance requirement and manufacturing cost of machine tools.

In the past, to reduce cost and meet the performance requirement of mechanisms simultaneously, considerable study has been carried out to obtain the optimal tolerance allocation scheme. Wu et al. [10] developed a method that simultaneously considers manufacturing cost and the risk of non-quality to allocate the part tolerance based on an improved genetic algorithm. Sivakumar et al. [11] introduced a multi-objective optimization method for concurrent design of tolerance by using Elitist Non-dominated Sorting Genetic Algorithm (NSGA-II) and Multi-Objective Particle Swarm Optimization (MOPSO). Sivakumar et al. [7] carried out an experiment on overrunning clutch assembly and knuckle joint assembly to contrast the computational effort of NSGA-II and MOPSO algorithms. Geetha et al. [12] took a wheel mounting assembly as an example to research the tolerance allocation by considering the cost (manufacturing cost and machine idle time cost) and machining time. The cost has been significantly reduced. Zhao et al. [13] proposed a tolerance optimization model by taking the minimum manufacturing cost and service quality cost as criteria and taking the component tolerance as a constraint to improve product performance and reduce the total cost. Ghali et al. [14] presented a CAD approach that simultaneously considers functional requirement and manufacturing process to obtain optimal tolerance allocation scheme. The results broaden the tolerance range of key machined dimensions while meeting the design requirement.

Obviously, the abovementioned researches focus on the tolerance allocation of the small-scale assembly, such as overrunning clutch assembly, the rotor key base assembly, knuckle joint assembly, and aim at the effect of tolerance on the dimension chain errors in the interior of an assembly, which have not involved the tolerance allocation of machine tools. In an early design stage of machine tools, the tolerance allocation schemes mainly depend on the engineer’s experience. In addition, enterprises are difficult to assess whether tolerance allocation schemes are appropriate for newly designed machine tools. Therefore, it will lead to excessive high precision and manufacturing cost of machine tools. To solve the abovementioned problems, a majority of studies about the optimal tolerance allocation of machine tools have been carried out. Guo et al. [15] developed a state-space model with tolerance and assembly process. The optimal tolerance allocation scheme and the assembly process are achieved by the optimal control theory. Cai et al. [8] presented a method by using the possibility of failure and cost as criteria and using reliability and robustness as constraint conditions to allocate tolerance of parts for enhancing the accuracy of machine tools. Zhang et al. [16] took a special machine tool as an example to research the optimal tolerance allocation by taking the manufacture easiness index as criteria and taking cam surface quality as constraints. According to reference [17], the optimization model is established to maximize reliability and minimize total cost subject to the machining accuracy of the five-axis machining center. The optimal tolerance allocation scheme was obtained based on the NSGA-II algorithm. Guo et al. [18] carried out research on the multi-objective optimization of machine tools by simultaneously considering accuracy robustness and quality loss to obtain the optimum tolerance scheme. Zhang et al. [19] developed a reliability model based on Rackwite–Fiessler and advanced first order and second moment. The optimal results are obtained by taking manufacturing cost as an optimization objective and taking the reliability of the machining precision as a constraint condition.

The aforementioned researches played a vital role in the tolerance allocation of machine tools and have obtained some positive results. However, there are some tricky problems that remain to be further addressed.

  1. (1)

    The existing optimal tolerance allocation methods for machine tools are performed under the assumption that all components of the machine tool are rigid body, which ignores the small deformation of machine tools. In fact, it is inevitable that small deformations will exist due to the gravity effect. Furthermore, the machining accuracy requirement of machine tools is generally on the micron scale. Therefore, the small deformations have a major effect on the machining accuracy and manufacturing cost, which are indeed not negligible.

  2. (2)

    Some of these tolerance optimization methods are carried out under the certain constraint condition (i.e., 0 <t ≤ initial value). The given initial value will limit the search range of the optimal scheme. Thus, the obtained optimization results are not necessarily the optimal results.

In view of the limitations stated, this paper has proposed a new optimal tolerance allocation method to make a balance between machining accuracy and total manufacturing cost by integrating the small deformation into the constraint conditions, as outlined in the flowchart given in Fig. 1.

Fig. 1
figure 1

Flowchart of the optimal tolerance allocation method

To conduct the optimal tolerance allocation method, the geometric error-tolerance model is initially established. Meanwhile, the volumetric error-tolerance model is formulated by the multi-body system (MBS) theory and homogeneous transform matrix (HTM). Then, the small deformation of machine tools due to the gravity effect is acquired by the finite element analysis (FEA). Finally, the optimal tolerance allocation model for five-axis machine tools (FAMTs) in consideration of the small deformation is established. The correctness and effectiveness of the proposed method are proved through simulation validation. The remaining part of this paper is arranged as follows. In Section 2, the geometric error model and the volumetric error model are established. Section 3 obtains the small deformation of FAMT. Section 4 establishes the optimal tolerance allocation model. In Section 5, the simulation validation is conducted. Finally, the conclusions are given in Section 6.

2 Volumetric error modeling based on the tolerance of five-axis machine tools’ components

The definition of tolerance is the allowable variation range of actual parameter values which guarantee the quality and performance of components in the design and manufacture stage. Since only the information of tolerance of machine tools’ component is known during the design stage of machine tools, the precision design of machine tools is a problem of optimal tolerance allocation for machine tools’ components. Therefore, establishing the mapping relationship between machining accuracy and tolerance is the prerequisite and foundation for tolerance allocation. The volumetric error modeling process based on tolerance consists of two steps.

Step 1: Geometric error modeling based on tolerance

In this paper, a five-axis machine tool (FAMT) is selected as an example. It contains X-, Y-, Z-, B-, and C-axis, as shown in Fig. 2. According to reference [20], a FAMT with two rotary axes has 37 geometric errors. Geometric errors of machine tools are usually divided into position-dependent geometric errors (PDGEs) and position-independent geometric errors [33]. Therefore, all 37 geometric errors of the researched FAMT and the tolerance that correspond to geometric errors are all listed, as shown in Table 1. The definitions of all the tolerance parameters are listed in Table 2.

Fig. 2
figure 2

The structure diagram of the FAMT (1, machine bed; 2, workpiece; 3, X-axis slide carriage; 4, Y-axis slide carriage; 5, Z-axis slide carriage; 6, C-axis; 7, B-axis; 8, spindle; 9, cutting tool)

Table 1 The tolerance that corresponds to geometric errors
Table 2 The definition of tolerance parameters

Since the values of geometric errors are unknown in the initial design stage of machine tools, designers obtain geometric errors only by utilizing design experiences. Therefore, it is of paramount importance to establish the mapping relationship between geometric errors and tolerance of machine tools. According to reference [9] cited in our manuscript, the surface profile error of large structural parts fulfill Dirichlet boundary conditions; hence, the surface profile error can be represented by a series of Fourier. Firstly, the mapping relationship between tolerance and surface profile error of machine tools is formulated. Then, according to the assembly relationship of each part, the mapping relationship between surface profile error and geometric errors is established. Since geometric profile errors are regarded as a bridge between tolerance and geometric errors of machine tools, the mapping relationship between tolerance and geometric error is subsequently established. Due to limited space, only the results of the geometric error model for a linear axis and a rotary axis (i.e., X-axis and C-axis) are given, as shown in Appendix 1. More details of the modeling process can refer to the previous work [9]. In addition, perpendicularity errors are a direct reflection of perpendicularity tolerance.

Step 2: Volumetric error modeling

In this study, the commonly utilized multi-body system (MBS) theory and the homogeneous transfer matrix (HTM) are adopted for establishing a volumetric error model [3, 20]. Based on MBS theory, a machine tool can be considered as a kind of MBS consisted of many rigid bodies. Choosing a FAMT with two rotational axes (as shown in Fig. 2) as a research objective, its topological structure is shown in Fig. 3, which describes the kinematic chain of the machine tool, i.e., the tool branch and workpiece branch. Taking a 4 × 4 HTM to denote the relative movement relationship between the two adjacent bodies.

Fig. 3
figure 3

The topological structure of the FAMT

In the workpiece branch, the ideal tool cutting point position can be described to the workpiece coordinate system (WCS), as shown in Eq. (1).

$$ {r}_w^i={\displaystyle \begin{array}{c}{\left({\left[S1\mathrm{w}\right]}_{\mathrm{p}}{\left[S1\mathrm{w}\right]}_{\mathrm{s}}\right)}^{-1}{\left[S13\right]}_{\mathrm{p}}{\left[S13\right]}_{\mathrm{s}}{\left[S34\right]}_{\mathrm{p}}{\left[S34\right]}_{\mathrm{s}}{\left[S45\right]}_{\mathrm{p}}{\left[S45\right]}_{\mathrm{s}}\\ {}{\left[S56\right]}_{\mathrm{p}}{\left[S56\right]}_{\mathrm{s}}{\left[S67\right]}_{\mathrm{p}}{\left[S67\right]}_{\mathrm{s}}{\left[S78\right]}_{\mathrm{p}}{\left[S78\right]}_{\mathrm{s}}{\left[S89\right]}_{\mathrm{p}}{\left[S89\right]}_{\mathrm{s}}{r}_{\mathrm{t}}\end{array}} $$
(1)

where 1–9 represent the components of researched FAMT, as shown in Fig. 2; W represents the workpiece; [S(j − 1)j]p and [S(j − 1)j]s represents the relative position transformation matrix and relative motion transformation matrix between the rigid body j − 1 and the adjacent lower body j respectively. rt represents the tool cutting point position in the tool coordinate system (TCS). These are described in reference [3].

In the workpiece branch, the actual tool cutting point position can be described to the WCS, as shown in Eq. (2).

$$ {r}_w^a={\left({\left[S12\right]}_{\mathrm{p}}{\left[S12\right]}_{\mathrm{p}\mathrm{e}}{\left[S12\right]}_{\mathrm{s}}{\left[S12\right]}_{\mathrm{s}\mathrm{e}}\right)}^{-1}{\left[S13\right]}_{\mathrm{p}}{\left[S13\right]}_{\mathrm{p}\mathrm{e}}{\left[S13\right]}_{\mathrm{s}}{\left[S13\right]}_{\mathrm{s}\mathrm{e}}{\left[S34\right]}_{\mathrm{p}}{\left[S34\right]}_{\mathrm{p}\mathrm{e}}{\left[S34\right]}_{\mathrm{s}}{\left[S34\right]}_{\mathrm{s}\mathrm{e}}{\left[S45\right]}_{\mathrm{p}}{\left[S45\right]}_{\mathrm{p}\mathrm{e}}{\left[S45\right]}_{\mathrm{s}}{\left[S45\right]}_{\mathrm{s}\mathrm{e}}{\left[S56\right]}_{\mathrm{p}}{\left[S56\right]}_{\mathrm{p}\mathrm{e}}{\left[S56\right]}_{\mathrm{s}}{\left[S56\right]}_{\mathrm{s}\mathrm{e}}{\left[S67\right]}_{\mathrm{p}}{\left[S67\right]}_{\mathrm{p}\mathrm{e}}{\left[S67\right]}_{\mathrm{s}}{\left[S67\right]}_{\mathrm{s}\mathrm{e}}{\left[S78\right]}_{\mathrm{p}}{\left[S78\right]}_{\mathrm{p}\mathrm{e}}{\left[S78\right]}_{\mathrm{s}}{\left[S78\right]}_{\mathrm{s}\mathrm{e}}{\left[S89\right]}_{\mathrm{p}}{\left[S89\right]}_{\mathrm{p}\mathrm{e}}{\left[S89\right]}_{\mathrm{s}}{\left[S89\right]}_{\mathrm{s}\mathrm{e}}{r}_{\mathrm{t}} $$
(2)

where [S(j − 1)j]pe and [S(j − 1)j]se describe the relative position error transformation matrix and relative motion error transformation matrix between the rigid body j − 1 and the adjacent lower body j respectively, which are described in reference [3].

Eventually, the volumetric error model can be obtained by substituting Eqs. (1) and (2) into Eq. (3) and ignoring the high-order terms.

$$ E=\left(\begin{array}{c}{E}_x\\ {}{E}_y\\ {}{E}_z\\ {}1\end{array}\right)={r}_w^a-{r}_w^i $$
(3)

where Ev(v = x, y, z) denotes the volumetric error in the v direction. Therefore, the volumetric error model of the FAMTs is displayed in Eq. 12 in Appendix 2.

Finally, the volumetric error-tolerance model of the FAMTs can be obtained based on the geometric error-tolerance model and the volumetric error model.

$$ E\overset{+G}{\to }={E}_t=E\left(T,D\right) $$
(4)

where E = [Ex, Ey, Ez, 0]T denotes the volumetric error vector; G = [g1, g2, g3, …, g37]T denotes the vector consisting of 37 geometric errors; Et= [Etx, Ety, Etz, 0]T denotes the volumetric error vector based on the tolerance of machine tools’ component; T= [t1, t2, t3, …, t25]T denotes the vector consisting of 25 tolerance; and D = [x, y, z, b, c]T denotes the position vector of motion axis for the FAMT.

3 Finite element simulation

The major limitation of the MBS theory is that it is based on assumption that all components of the machine tool are a rigid body. It ignores the small deformation of machine tools, which was caused by the gravity of machine tools. This assumption will result in lessening the range of constraint conditions and tightening the tolerance requirement of critical components. Therefore, the total manufacturing cost will of course increase. To obtain the small deformation is the prerequisite for determining the constraint range of optimal tolerance allocation. As is known to all, the FEA has been widely used as a means to obtain the small deformation in the initial design stage of machine tools. The FEA process can be summarized in five steps as shown in Fig. 4.

  • Step 1: The three-dimensional (3D) model of the researched machine tool is established by utilizing the SolidWorks software as illustrated in Fig. 2.

  • Step 2: Importing 3D model into the ANSYS workbench 15.0 software. The material properties for each component of machine tools are defined.

  • Step 3: The meshes of the researched machine tool are generated. There are 196,740 elements.

  • Step 4: The loads and constraints required for the FEA are set up. Setting fixed constraints on the base of machine tools, cylindrical support constraint on the B-axis, and displacement constraint on X-, Y-, and Z-axis. To account for load effect like gravity, standard earth gravity values are given.

  • Step 5: The deformation of the researched machine tool is obtained by finite element software

Fig. 4
figure 4

The deformation analysis of the researched machine tool

According to Fig. 4, the maximum deformation of tool tip (dx, dy, dz) in X-, Y-, and Z-direction is − 2.48 μm, − 1.37 μm, and − 3.74 μm, respectively, which are relatively large. Moreover, the machining accuracy requirement of machine tools is generally on the micron scale. Hence, the small deformations of machine tools cannot be ignored while optimal tolerance allocation during the initial design stage of machine tools.

4 Optimal tolerance allocation for five-axis machine tools considering gravity effect

Optimal allocation is a way of getting the optimal allocation scheme for a problem that satisfies the presetting accuracy requirement and the least cost. In the initial design stage of machine tools, since the most guiding significance for precision design is the tolerance parameters of the machine tools’ component, the precision design of machine tools is a problem of optimal tolerance allocation for machine tools’ components. Hence, the optimal tolerance allocation scheme plays an important role in balancing the machining accuracy requirement and total manufacturing cost of machine tools. Optimal tolerance allocation consists of two steps. The first step is to establish a mapping relationship between tolerance and machining accuracy (as mentioned in Section 2). The second step, regarded as the most important, is optimal tolerance allocation modeling, which consists of two parts: the total manufacturing cost-tolerance modeling and setting constraint conditions.

4.1 The total manufacturing cost-tolerance modeling

Generally speaking, the total manufacturing cost (TMC) can be divided into two types: manufacturing cost (MC) and quality loss cost (QLC). MC is the cost occurred before the machine tool reach the customer. QLC is the cost occurred after the machine tool has been put into operation. Tight tolerance will lead to high in MC and low in QLC. On the contrary, loose tolerance will lead to high in QLC and low in MC. Therefore, reaching an economic balance between MC and QLC is a prerequisite of obtaining an optimal tolerance allocation scheme.

As is known to all, a substantial amount of function has been proposed to establish the mapping relationship between tolerance and MC [21]. These functions are systematically analyzed and derived by regression analysis based on the actual MC data from the manufacturing community. In this study, the exponential model was chosen to represent the MC-tolerance model is formulated as follows.

$$ {C}_M(t)=\sum \limits_{i=1}^{25}C\left({t}_i\right)+{C}_f=\sum \limits_{i=1}^{25}C\left({t}_{hi}\right){e}^{-\left({t}_i-{t}_{hi}\right)}+{C}_f $$
(5)

where ti represents the ith (i = 1, 2, 3, …, 25) tolerance parameter; C(ti)represents the MC of tolerance parameterti; Cfrepresents the fixed cost; thirepresents the economic tolerance of tolerance parameterti; and C(thi) represents the economic MC ofthi.

QL means that the machining accuracy of machine tools cannot meet the user’s requirement or is deviated from its target value during the actual machining process. Product quality is closely related to quality loss. The greater the quality loss, the worse the product quality is. In order to accurately estimate the QLC, Taguchi [22] developed the QLC model and is formulated as follows:

$$ {C}_{QL}=\frac{A}{\varDelta^2}{H}^2 $$
(6)

where Δ represents the required specification of the product accuracy; A represents the QLC caused by unqualified product; H represents the actual machining accuracy of the product; |H| ≤ Δrepresents the qualified product; and |H| > Δ represents the unqualified product. The closer that actual machining accuracy of the product is to require specification value, the smaller the total quality loss cost is and the higher the machining performance of machine tools can be obtained.

Based on the above manufacturing cost and quality loss analysis, the total manufacturing cost objective function of the machine tool can be formulated as follows:

$$ C(T)={C}_M(t)+{C}_{QL}=\sum \limits_{i=1}^{25}C\left({t}_{hi}\right){e}^{-\left({t}_i-{t}_{hi}\right)}+{C}_f+\frac{A}{\varDelta^2}{H}^2 $$
(7)

4.2 Setting constraint conditions

According to references [8, 16, 17, 19, 23], the constraint conditions were set under the assumption that all components of the machine tool are the rigid body. However, the small deformations will inevitably exist due to the effect of gravity on machine tools. Ignoring the small deformations will tighten the tolerance requirement of critical components and increase the total manufacturing cost. Therefore, it is of paramount importance to integrate the small deformations into the constraint conditions during the initial design stage of machine tools. In addition, some of these tolerance optimization methods are carried out under a certain constraint condition (i.e., 0 < t ≤ initial value). The given initial value will limit the search range of the optimal scheme. Thus, the obtained optimization results are not necessarily the optimal results.

Based on the above analysis, in this paper, the constraint conditions are set as follows:

$$ \left\{\begin{array}{c}{E}_{tx}+{d}_x\le {E}_{nx}\\ {}{E}_{ty}+{d}_y\le {E}_{ny}\\ {}{E}_{tz}+{d}_z\le {E}_{nz}\\ {}{t}_i>0\end{array}\right. $$
(8)

where Etx, Etx, and Etx represent the machining accuracy of the researched machine tool based on the tolerance of machine tools’ component in the x, y, and z direction, respectively. Enx, Eny, and Enz represent the nominal machining accuracy of the researched machine tool in the x, y, and z direction, respectively. In light of the design requirement of the researched machine tool, Enx = Eny = Enz = 20μm.

4.3 Optimal tolerance allocation model

Based on the abovementioned analysis, the optimal tolerance allocation model is developed to minimize the MC and QLC subject to the machining accuracy and tolerance of machine tools constraints. Hence, the optimal tolerance allocation scheme is a trade-off between machining accuracy and the total manufacturing cost, which can be obtained by utilizing the following optimization model:

$$ \left\{\begin{array}{c}\mathit{\operatorname{Min}}\kern0.5em C(T)\\ {}S.t.\\ {}{E}_{tx}\le {E}_{nx}-{d}_x\\ {}{E}_{ty}\le {E}_{ny}-{d}_y\\ {}{E}_{tz}\le {E}_{nz}-{d}_z\\ {}{t}_i>0\end{array}\right. $$
(9)

5 Simulation validation

5.1 The optimal tolerance allocation

Optimal tolerance allocation is a key procedure to reduce the total manufacturing cost of FAMTs reasonably while satisfying the desired machining accuracy. To obtain an optimal tolerance allocation scheme, many intelligent optimization algorithms are developed in a large number of literature, including the Newton iteration algorithm [24], genetic algorithm (GA) [25, 26], ants colony algorithm [27], particle swarm optimization algorithm [28, 29], bat algorithm [30], elitist non-dominated sorting genetic algorithm (NSGA-II), and multi-objective particle swarm optimization (MOPSO) [7]. In this study, GA with the advantage of convenient calculation, high precision and robustness, and the wide application range is selected to solve this objective optimization problem. The flowchart of GA is shown in Fig. 5. All the parameters can be obtained by referring to the accumulated design experience and test information of the enterprise for decades and references [31, 32]; those are listed in Tables 3 and 4.

Fig. 5
figure 5

The flowchart of GA

Table 3 The value of economic tolerance and economic MC
Table 4 GA parameter’s value

5.2 Results and analysis

The optimal tolerance allocation scheme and the TMC of the researched FAMT are all obtained by the MATLAB software based on the GA, as shown in Tables 5 and 6, where “” denotes the value of tolerance calculated with considering the small deformation is smaller than that without considering the small deformation, “” denotes the value of tolerance calculated with considering the small deformation is bigger than that without considering the small deformation.

Table 5 Comparison of optimal tolerance allocation scheme with and without considering the small deformation
Table 6 The comparisons of the total manufacturing cost with and without considering the small deformation

Finally, to validate the effectiveness of the presented method more intuitively, the comparisons of the tolerance of machine tools’ components with and without considering the small deformation are displayed in Fig. 6. It can be clearly seen that the ranges of the vast majority of tolerance parameters have been properly enlarged. In addition, the volumetric errors of the researched FAMT are calculated based on two tolerance allocation schemes. The comparisons of the TMC and volumetric errors of the machine tool with and without considering the small deformation are displayed in Fig. 7 a and b, respectively, where “1” represents without considering the small deformation and “2” represents with considering the small deformation. It can be seen that the maximum value of volumetric error calculated with and without considering the small deformation is 0.034 mm and 0.025 mm, respectively. Although the volumetric errors with considering the small deformation are larger than that without considering the small deformation, both of them are within the range of the accuracy requirement for the FAMT. Furthermore, as shown in Fig. 7a, compared with the TMC without considering the small deformation, the TMC with considering the small deformation is reduced by approximately 11.5%. Hence, integrating the small deformations into the constraint conditions can widen the range of tolerance cost-effectively and ensure that a FAMT satisfies the machining accuracy requirements simultaneously. Therefore, it can be concluded that the proposed optimal tolerance allocation model is correct and effective.

Fig. 6
figure 6

The comparisons of the tolerance of machine tools’ components with and without considering the small deformation

Fig. 7
figure 7

The comparisons of the TMC and volumetric error of the machine tool with and without considering the small deformation

6 Conclusions

In this study, a novel optimal tolerance allocation method is developed to reduce the total manufacturing cost and meet the machining accuracy of a FAMT simultaneously. Compared with the traditional methods [8, 16, 17, 19, 24], the advantages of the new approach are listed as follows: (1) The small deformations of machine tools are integrated into the constraint conditions of the optimal tolerance allocation model. It can satisfy the machining accuracy requirement of machine tools and widen the tolerance range of the difficult manufacturing components and also reduce the total manufacturing cost. (2) In the design stage of machine tools, since only the information of tolerance of machine tools’ component is known, the volumetric error-tolerance model and the MC-tolerance model are established. (3) The constraint condition of tolerance is set as ti > 0, which widen the search range of the optimal tolerance allocation scheme.

To prove the practicability and effectiveness of the presented method, the simulation validation is carried out. The results show that the ranges of the vast majority of tolerance parameters are properly enlarged and the total manufacturing cost after optimization is reduced by approximately 11.5%. Additionally, the machining accuracy of the FAMT satisfies the desired requirement. Therefore, the optimal tolerance allocation method is accurate and effective. Furthermore, the presented method can provide a reference for obtaining the optimal tolerance allocation scheme of multi-axis NC machine tools.