Abstract

Since a nonlinear relationship exists between the position coordinates of the rotation axes and components of the tool orientation, the tool will deviate from the required plane, resulting in nonlinear errors and deterioration of machining accuracy. Few attempts have been made to obtain a general formula and common rules for nonlinear error because of the existence of various kinematic structures of machine tools with orthogonal configuration. This paper analyzes the relationship between the deviation of cutter location points and motion of tool orientations. Five-axis CNC machine tools are divided into two groups according to the configuration of the two rotational joints and the home position. Motions of the tool are regarded as a combination of translation and rotation. A model for error calculation is then built. The maximum deviation of the tool with respect to the reference plane generated by the initial and the final orientation is used to quantify the magnitude of the errors. General formulas are derived and common change rules are analyzed. Finally, machining experiment is conducted to validate the theoretical analysis. The research has important implications on the selection of a particular kinematic configuration that may achieve higher accuracy for a specific machining task.

1. Introduction

Compared with the three-axis machine tool with three orthogonal translational axes, the five-axis machining center is equipped with two additional perpendicular rotational joints. The introduction of the two rotational joints makes it possible for machine tools to flexibly control its posture and gives full play for high-speed and high-efficiency machining of a wide range of complex work piece [1, 2], such as turbine blades, automotive, and aerospace parts.

The entire procedure for complex surface machining can be generally divided into the following steps. First, the CAM system uses curve segments to represent the surface generated by the CAD system. Next, the postprocessor turns the tool paths and tool orientations from machine independent to machine dependent format. Finally, the interpolation method is used to control the motions of three translational and two rotational joints during machining. The use of curve segments can significantly reduce the nonlinear error directly caused by the motion of translational axes [3]. However, since a nonlinear relationship exists between the position coordinates of the rotation axes and components of tool orientation, the tool will deviate from the plane generated by the initial and final tool orientations during machining and will travel in a curved trajectory instead of the desired straight path, leading to nonlinear error [47]. Therefore, research on the relationship between the motion of rotation axes and nonlinear errors has very important directive to improve machining efficiency and to achieve more accurate motion control of axes in five-axis machining.

A large variety of studies have investigated motions of rotation axes for different configurations of five-axis orthogonal machine tools from various perspectives. One category of such studies focused on kinematics analysis of the five-axis machine tools according to its structural configurations. Chen [8] found that there are 288 feasible configurations of five-axis machining tools including machines with more or less than two rotational joints. Among them, machine tools equipped with two rotational joints are widely used in practice because this combination satisfies the best geometric and kinematic constraints. Efforts have been made to classify five-axis machine tools with three translational and two rotational joints, which are reciprocally orthogonal, into three basic types—rotary table (RT), spindle rotating (SR), and hybrid (HT)—according to the position of the two rotational joints, respectively [911]. Jung et al. [12] built a postprocessor that is suitable for the RT-type five-axis machine tool. Lee et al. [13] developed analytical equations capable of converting cutter location (CL) data and tool orientation vectors into machine control coordinates for the three representative types mentioned above. Several approaches have been proposed for building generic kinematic models that are applicable to all five-axis machine tool structures [1419].

The other category of studies focused on nonlinear errors caused by the movement of the rotation axes. Hwang et al. [20] first observed that the structure of NC machines should be taken into consideration for error estimation in five-axis CNC machining. Similarly, Srijuntongsiri et al. [21] pointed out that the difference between the actual and the desired trajectories in five-axis machining depends only on the configuration of the machine, provided that the tool path is fixed. Jun et al. [22] found that the surface error is related to the variation of the tool orientation. Sencer et al. [23] then built a kinematic model to estimate the error during five-axis motion. Although the papers mentioned above acknowledged that nonlinear errors in five-axis machining should focus on the configuration of machine tools and the variation of tool orientation, minimal attempts have been made to quantify their magnitude. To address this problem, a method was proposed [24] to evaluate the nonlinear errors induced by the motion of the rotary axes of vertical SR five-axis machine tools. Yang et al. [25] analyzed nonlinear errors introduced by the motion of the rotation axes under the condition that the tool can rotate about the Z-axis and Y-axis, and the initial orientation is parallel to the Z-axis. Geng et al. [26, 27] studied tool movement procedure of AB spindle rotating machine tool and AC rotary table machine tool and predicted nonlinear errors due to the movement of the rotation axes. However, the models discussed above are only suitable for one specific machine type, which is not comprehensive. A general model and common rules for nonlinear errors due to the motions of the rotation axes of five-axis machine tools with orthogonal configuration are still lacking.

Therefore, the present study will thoroughly analyze nonlinear errors due to the motions of the rotation axes of different configuration structures of machine tools. A general model of nonlinear errors due to the movement of the rotation axes will be developed. The remainder of this paper is organized as follows. In Section 2, kinematic structures of five-axis orthogonal CNC machine tools with three linear axes and two rotation axes are discussed. A classification method is proposed to divide machine tools into two groups according to the configuration of two rotational joints and the home position of tool orientation. A model for estimating nonlinear errors due to the motions of the rotation axes is built and the formula is discussed in Section 3. In Section 4, formulas of nonlinear errors due to the movement of the rotation axes are derived based on the proposed model, and common rules are analyzed for machine tools in both groups. Details of experiments are presented in Section 5 and conclusions from the study are made in Section 6.

2. Classification of Five-Axis Machine Tools

Theoretically, a five-axis machine tool can have a random placement of the five translational and rotational joints from X, Y, Z, A, B, and C. According to this theory, 288 different configurations [4] can be found. However, since machine tools with more or less than two rotary axes have little industrial application, these types of machine tools will not be considered in this paper. In this section, we will investigate machine tools with three linear axes X, Y, and Z and two of the three rotation axes A, B, and C that, respectively, rotate about the X-, Y-, and Z-axis. For five-axis machine tools with two rotation axes, one criterion that was proposed early and has been widely used for categorization is based on the position of the two rotational joints [14]. According to this criterion, five-axis machine tools can be grouped into three types—spindle rotating(SR) type, rotary table(RT) type, and hybrid(HT) type. The SR type machine tools refer to those whose rotation axes are both placed on the spindle. The RT-type machine tools refer to those whose rotation axes are both placed on the workpiece. Those with one rotary placed on the workpiece and the other placed on the spindle side are classified as the hybrid type.

For the SR type and the RT type, of the two rotation axes, the one which is placed closer than the other to the machine bed within the kinematic chain is called the primary rotation axis. The other rotation axis is referred to as the secondary axis. In machining, the primary rotation axis has a fixed spatial direction, while the secondary axis moves, and the position of the secondary axis varies with the motion of the primary rotation axis. Therefore, for the RT-type machine, the relationship between the tool orientation in WCS (work coordinate system) and rotation angles in MCS(machine coordinate system) can be expressed as [13]where is the home position of tool orientation corresponding to the position where both rotation angles are equal to zero and is usually set to be parallel to one of the machine translational axes, and and are rotational matrixes of the primary spindle rotation and the secondary spindle rotation whose rotational angles are, respectively, specified by and . Similarly, for the SR type machine, the coordinate transformation equation can be written as [13]where and are rotational matrixes of the secondary table rotation and the primary table rotation whose rotational angles are, respectively, specified by and . For the HT type machine, both axes are called the primary rotation axes, since the positions of the rotation axes do not change with each other. In machining, the following equation exists [13]:

The coordinate transformation equations expressed in (1), (2), and (3) can further be modified to a more generic form in which the tool orientation in WCS can be obtained after rotating the home position of the tool orientation by , first around the m-axis, and by around the k-axis successively [15]:where () and () can be determined by one of the following three representation forms depending on its rotation axes:

From the above-mentioned procedure, it can be observed that the motion of the tool during machining is influenced by the configuration of two rotational joints and the home position, and not the machine type. Therefore, in this paper, five-axis machine tools will be classified according to their rotary axis features and home position. The rotary axis features consist of two characters-AB, AC, BC, BA, CA, and CB-, which are in the order of the work coordinate system to the tool coordinate system (TCS). The home position of the tool orientation cannot be parallel to the rotation axis specified by the second character, since it is not feasible for a tool to rotate about its own axis, which means that each type of rotary axis feature has two appropriate cutter orientations to enable five-axis machining. Therefore, five-axis machine tools can be recognized as the following twelve types presented in Table 1. The types of machine tools are specified by three characters in which the first two characters determine the rotary axis feature and the last character refers to the home position. Those whose home positions are parallel to the rotation axis specified by the first character are grouped into Group I, while others are in Group II.

3. Definition of Nonlinear Error due to Motions of Rotary Axes

As shown in (4), for the tool whose home position moves from to , the two rotations will change, respectively, from and to and :The corresponding surface that is defined by tool orientations in machining can be expressed aswhere u and v are parameters changed from 0 to 1. and are affected by the type of interpolation used to decide intermediate tool orientations along the tool path. In five-axis machining, linear interpolation and tool orientation interpolation are the two functions that are commonly employed by the CNC system. Tool orientation interpolation can lead to vibration of machine tool in singular areas; therefore, linear interpolation of rotation axes is preferred in machining. In the following analysis, the linear interpolation method is used as an example and similar analyses can be carried out for tool orientation interpolation:

The plane determined by and can be expressed as follows:where u and v are parameters changing from 0 to 1. As shown in Figure 1, the point Q(u) is on the curve and is the angle between the vector Q(u) and :As parameter u varies from 0 to 1, the vector moves from to and can be expressed by the following function:N is a unit vector who lies on plane and is perpendicular to . Under the condition that u = 1, Q(u) arrive at the position ,Therefore, N satisfies the following equation:Equation (11) can therefore be transformed as

The tool will move on the surface instead of the ideal plane passing through the start and the end orientation vectors owing to the nonlinear relationship between tool orientation vectors and rotation axes, as shown in (9). As shown in Figure 2(a), movements of the tool are generally defined by straight-line motions of the machine’s pivot point. Thus, while the machine’s pivot point follows a linear trajectory from to , the ideal cutter location point can be expressed as [24]where L is the tool length. The actual cutter location point will be on the nonlinear trajectory , since and are different:The distance (u) between and can be derived bywhere specifies the angle between the two unit vectors Q(u) and P(u) and satisfies the following equation:As shown in Figure 2(b), the nonlinear error is defined as the maximum value of :

4. Analysis of Nonlinear Error due to Movement of Rotation Axes

As mentioned above, previous studies have focused mainly on nonlinear error due to the motions of the rotation axes for one specific machine type. The general formula and common rules for five-axis machine tools with orthogonal configuration have rarely been mentioned. In this section, based on the calculation equation of nonlinear error proposed in Section 3, nonlinear errors due to the rotational movement for five-axis machine tools with various configurations presented in Table 1 are analyzed and common rules for machines in Group I and Group II are then analyzed, respectively.

4.1. General Formula and Common Rules of Nonlinear Error due to Rotational Movement for Machine Tools in Group I

As presented in Table 2, can be obtained according to (19) for five-axis machine tools with various configurations listed in Group I. The detailed calculation procedure for the machine tool of type ABX is presented as an example in Appendix A, which can be extended to the other types in Group I.

Assuming that the tool orientation changes from to and that the two rotary axes move, respectively, from and to and , it can be concluded from Table 2 that the deviation of from the reference plane for machine tools in Group I can be calculated according to the following equation:where Δ and Δ are incremental values for the two rotation axes given by

The determination of is actually a maximization problem of with u as the variable, which means that the solutions will be found under the following condition:Since transcendental equations exist in the problem solving procedure, it is difficult to find an analytical solution to (24). As is depicted in Figure 3, numerical solutions to calculating parameter u that can satisfy (24) under the condition that Δ and Δ vary from 0 to pi/2 are obtained. According to this figure, the maximum can be observed with parameter u varying from 0.4535 to 0.5465 for machine tools in Group I. Therefore, to simplify the calculation, can be regarded as the approximate value of when u is equal to 0.5:

Regarding (25), some important observations can be made.

Nonlinear error can be represented as a function of , , and Δ. The variation of the nonlinear error is independent of the rotational angle . As is shown in Figure 4, under the conditions that °, °, and °, the nonlinear error is constant when varies from −180° to 180°.

Under the condition that = 0, the nonlinear error can be simplified into a function which is merely related to the incremental values of the rotation axes and :

According to (26), the nonlinear errors are zero under the condition that there is only one rotation axis involved in machining. Figure 5 depicts the corresponding nonlinear error curve when is set to zero and incremental values for the two rotation axes vary from −π/2 to π/2. From this figure, it can be observed that larger variations of the rotation axes may lead to larger nonlinear errors. Therefore, in actual machining, higher accuracy can be achieved under the condition that larger variations of the rotation axes are avoided.

Define the rotation incremental ratio as △/△. If is small enough, the influence of on the nonlinear error can be ignored and the corresponding nonlinear error can be estimated according to (26). Figure 6 shows that the range of variation of the nonlinear error increases when the rotation incremental ratio varies from 1/2, 1, 2, to 3 under the conditions that △ and .

Under the condition that the incremental values of the two rotation axes Δ and Δ are fixed, the nonlinear error can be considered as a periodic function whose independent variable is and the minimum positive period is . The symmetric line of the periodic function can be expressed as

Figure 7 presents periodical variation of the nonlinear error when the rotation incremental ratio varies from 1/2, 2, 3, to 5 under the conditions that △ and . From this figure, it can be observed that the minimum positive period is π. It also can be observed that the symmetric lines are , , , and .

4.2. General Formula and Common Rules of Nonlinear Error due to Rotation Movement for Machine Tools in Group II

In Section 4.1, the general formula of nonlinear error for machine tools in Group I was presented and the common rules were summarized. In this section, the general formula and common rules of nonlinear error for machine tools in Group II are analyzed. According to the equation for nonlinear error proposed in Section 3, the detailed expressions of due to the rotational movement for different types of machine tools in Group II are as presented in Table 3. The calculation procedure for the machine tool of type ABZ is taken as an example for the explanation in Appendix B and this procedure can also be extended to the other types in Group II.

From Table 3, it can be concluded that when the two rotary axes move from and to and respectively, the deviation of from the reference plane for machine tools in Group II can be expressed aswhere Δ and Δ are incremental values for the two rotation axes:As is shown in Figure 8, the nonlinear error can be obtained under the condition that parameter u ranges between 0.5019 and 0.5773. For simplification, the value of when u = 0.5 is used for the approximation of :

Comparing (25) and (30), it can be observed that there exists a relationship of nonlinear errors due to motions of the rotation axes for machine tools in Group I and Group II:Equation (31) indicates that the nonlinear error has properties that are similar to . Figure 9(a) depicts the nonlinear error due to the motions of the rotation axes for machine tools in Group I and Group II under the conditions that Δ°,  Δ°, and varies from to 2π. Similarly, Figure 9(b) shows the variation of the nonlinear error, while Δ°,  Δ°, and varies from to .

5. Case Study

As shown in Figures 10(a), 10(b), and 10(c), CNC machine tools whose home positions are and rotary axis features are AB and AC, respectively, are used for the machining of an impeller to further emphasize the practical aspects related to the issues we have discussed in previous sections.

Considering the symmetry of the impeller, one path shown in Figure 11 is used for the simulation. As shown in Figure 12, while machining the same path using the two machine tools, the nonlinear errors due to the motions of the rotary axes are different. It can be further observed in Table 4 that the maximum nonlinear error varies from 0 rad to 0.0013 rad in the machining of the path for the AB machine. However, two abrupt areas exist in which the maximum nonlinear errors are 0.7181 rad and 0.8585 rad in the machining of the same path for the AC machine. Compared with the machine tool whose rotary axis feature is AC, higher accuracy can be achieved by using the machine tool whose rotary axis feature is AB. Therefore, the machine tool whose rotary axis feature is AB will be more suitable for the machining of the impeller.

Figure 13 reveals that a significantly smoother surface can be achieved in the machining of the impeller using machine tool whose rotary axis feature is AB, which agree with the conclusions from the simulation.

6. Conclusions

This study developed a general model to analyze the relationship between nonlinear errors and the movement of the rotation axes for various machine configurations. Although spline curves are widely used in modern five-axis CNC systems to avoid nonlinear errors caused by motion of the linear axes, little attempt has been made to obtain common rules for nonlinear errors due to motions of the rotation axes.

In this paper, five-axis CNC machine tools were classified into two groups according to the configuration of two rotational joints and the home position of the tool orientation. The motions of the tools were regarded as a combination of translation and rotation. The maximum deviation of the tool with respect to the reference plane generated by the initial and the final orientation were used to quantify the magnitude of the errors. General formulas were derived and common change rules were analyzed for machine tools in the two groups.

A comparison of the two general formulas obtained shows that relational expressions for nonlinear errors due to the motions of the rotary axes between both groups can be derived, which indicate the existence of similar properties described as follows. First, nonlinear error can be represented as a function with only the position of one rotation axis and incremental values of both rotation axes. Second, the amplitude of the nonlinear error increases with the incremental ratio. Third, if the rotation incremental ratio is small enough, the influence of the position of the rotation axes on the nonlinear error can be ignored. In this situation, the nonlinear error can be represented as a function that is only related to the variations of the two rotation axes. Moreover, under the condition that the incremental values of the two rotation axes are fixed, the nonlinear error can be considered as a periodic function.

In this paper, the linear interpolation method was used as an example under the consideration that this method is widely used in real machining. However, the same calculation model can be directly used and similar analysis can be carried out for other interpolation methods. This work gives an important future investigation direction that combines the analysis of nonlinear error due to the movement of rotation axes with kinematic configuration selection and tool path planning to improve the overall five-axis machining accuracy for a specific machining task. The limitation of this study lies in the fact that the axes of the machine are assumed to be orthogonal, which means that the conclusions obtained cannot be applied to five-axis machine tools with a nutating head whose rotational axis is in an inclined plane.

Appendix

A.

For machine tools whose rotary axis features are AB and home position is , the tool orientations and corresponding to positions where the rotation angles are (, ) and (, ), respectively, can be expressed asWhen the tool orientation changes from to , can be expressed aswhere and satisfy the following equations: determined by and can be expressed as follows:where is a function whose parameter is u:Using MATLAB file ABX.m for evaluating the dot-product of and , can be expressed by using , , , and as parameters:

B.

For machine tools whose rotary axis features are AB and home position is , the tool orientations and corresponding to positions where the rotation angles are (, ) and (, ), respectively, can be expressed asWhen the tool orientation changes from to , can be expressed aswhere and satisfy the following equations: determined by and can be expressed as follows:where is a function whose parameter is u:Using MATLAB file ABZ.m for evaluating the dot-product of and , can be expressed by using , , , and as parameters:

Data Availability

Data and codes for experiment can be found in supplementary materials offered with the document.

Conflicts of Interest

The authors declare no conflicts of interest.

Acknowledgments

This work is supported by the National Science and Technology Major Project (Grant no. 2013ZX04001-031), Research Project of Education Department of Liaoning Province (Grant no. L2015438), Open Fund of National-Local Joint Engineering Laboratory (Grant no. SJSC-2015-08), Discipline Content Education Project (no. XKHY2-27), and Postdoctoral Research Fund of Shenyang Jianzhu University (Grant no. SJZUBSH201612).

Supplementary Materials

MATLAB codes that can be used for drawing all the figures in the paper are provided as supplementary materials. (Supplementary Materials)