Abstract
Accurate estimation of volumetric errors is an important issue in machining operations. For this purpose, a kinematic error model is used to characterize machine tool’s related errors on its workspace. In this research, it is shown that when measuring the linear and positioning errors using a laser interferometer, part of the angular errors are converted to linear and positioning errors and their magnitudes are overestimated. These values are calculated twice in the models which use homogeneous transformation matrix since Abbe’s principle is not considered. In this article, a kinematic error model is proposed which eliminates this overestimation. This model’s methodology is based on rigid body kinematic and errors measurement by laser interferometer and can be generalized for all three-axis machine tools. A software package is developed to integrate the kinematic errors with the NC-codes. A workpiece is machined in the virtual environment and compared with a workpiece machined in real environment. It is shown that the kinematic error model developed in this research predicts the kinematic errors more accurately.
Keywords
Introduction
Precision machining of components with accurate geometrical and dimensional tolerances depends on error identification, characterization and compensation. Volumetric error is the deviation of nominal tool position relative to workpiece, which has different values in machine workspace. 1 Thermal errors, cutting force and load induced errors, control motion errors and geometric and kinematic errors are the main sources of machine tool errors.1–4 Geometric and kinematic errors are mainly machine-dependent errors which are affected by geometric errors of machine components and relative motion of joints.
To identify the error vector in all positions of a machine workspace, a volumetric error model is needed. Leete 5 generalized the error model using trigonometric equations for continuous compensation of kinematic errors in a machine tool. Lee et al. 6 considered a three-axis milling machine and modeled the tool position by a homogeneous transformation matrix. Okafor and Ertekin 1 developed volumetric error model with combination of thermal error and geometric/kinematic error model based on laser interferometer measurements. Vahebi Nojedeh et al. 7 generated a revised geometric/kinematic error model which categorized machine axes into axes carrying workpiece group and axes carrying tool group. Wu 8 used vector representation of errors of a machine tool to model the machine kinematic errors. Machine table and slides were considered as vectors. So the three scalar equations were derived to model the 21 error components.
Kinematic error model explains the relationship between geometric/kinematic error components and volumetric error. Laser interferometer-based method is the usual way for measuring the kinematic errors. Error measuring methods and procedures are described in ISO 230-1 and ISO 230-2, respectively.9,10 In modeling of kinematic errors, it is assumed that the error components are independent. According to some studies, kinematic straightness errors are the integration of angular errors (AEs).11,12 Ekinci and Mayer 12 demonstrated that by reducing the ratio of carriage bearing spacing to guide way geometric error wave length, the joint kinematic straightness errors can be estimated by integration of joint kinematic AEs. The relationship between kinematic angular and straightness errors indicates that the deviations caused by them are along one direction and so measuring the linear and positioning errors using laser interferometer is affected by AEs. It should be noted that some studies simplified the hypothesis that AEs may be converted to straightness errors and assumed it as insignificant.13–15 However, this simplification can affect the accuracy of the kinematic error model. 16 Bryan 17 proposed the generalized Abbe’s principle which states that the positioning and straightness measuring system should be aligned with the functional point where the displacement and straightness are to be measured. Otherwise, the AE effects should be calculated.
It should be mentioned that according to the knowledge of the authors, the models used in the research work in this area, which are described by homogeneous transformation matrix, do not comply with Abbe’s principle. The Abbe offsets in these models are not considered properly. In other words, conventional kinematic error models do not consider the measurement instruments. Therefore, to calculate the volumetric errors by classical kinematic error model, AE effects are once considered directly and measured again by linear and positioning measuring instruments, indirectly. Therefore, an overestimation is occurred in the calculation of kinematic error model.
In this study, a vectorial kinematic error model is developed for a three-axis milling machine. The calculation of AE arms is demonstrated. The kinematic error modeling considered in this research focuses on modification of AE arms and eliminating the overestimation affected by the AEs. The model is based on rigid body kinematic and is complied with Abbe’s principle. This approach is used to eliminate the linear and positioning and AE interferences. The model is validated by experimental and simulation results.
Modeling of volumetric errors considering kinematic errors
Each motion axis has six degrees of freedom in a machine tool. So for each axis six error components may exist. These errors are concerned with geometric errors of the machine structures and their relative motions. Six error components of horizontal

Error components of a horizontal
Each error component is measured relative to machine coordinate system and can be considered as a vector in a machine workspace. A kinematic error model represents the deviation of tool relative to the workpiece, considering 21 kinematic error components of a three-axis machine tool.1,19,21 Based on rigid body kinematic, a vectorial kinematic error model is explained as follows:
Straightness and positioning errors
A linear
where
AEs
Every AE vector can be resolved into two components. The magnitudes of these components depend on error angle and the distance between the center of rotation (COR) and the tool position. In this article, these distances are called AE arms. In a kinematic error model, angular and linear and positioning errors are independent; however, during the measurement of linear and positioning errors, AEs have an effect on the linear and positioning errors.3,16,17,22 So an overestimation is occurred in the calculation of kinematic error model. To distinguish the effects of AEs from linear and positioning errors, AE arms have to be identified correctly. For this purpose, the machine axes are categorized in three groups: a single axis carrying the tool, multiple linear axes carrying the tool and multiple linear axes carrying the workpiece. Therefore, the kinematic error model of all three-axis machine tool configurations can be developed using the integration of these groups.
Single axis carrying tool
The AE arms of a tool carrying axis are measured from the center of joint to tool tip. These arms never change during the movement of axis, along its direction. These arms are called Δ
Multiple axes carrying tool
To illustrate the kinematic AEs in multiple axes carrying tool, two

The influence of
In order to measure the
where
So
So
where Δ
Multiple linear axes carrying the workpiece
In multiple linear axes carrying the workpiece by moving an axis, the instantaneous COR errors is changed during the time. However, it can be described by considering a linear and rotational movement about the functional point. The location of linear and positioning reflectors can determine the position of the functional point. So the AE arms are the distances between tool position and reflector position along effective direction.
For example to calculate the pitch error (

Effects of
Since part of this error is detected by straightness reflector (
As shown in Figure 3,
Consequently, the distance between specific linear or positioning reflector position and tool position can be considered as modified AE arms. These modified AE arms comply with Abbe’s offsets. Other AE arms can be calculated in the same manner described. The error magnitudes of roll, pitch and yaw errors are given as equations (8), (9) and (10)
where
The values of
As a result, the AE arms are the distances between the specific linear reflector location and nominal tool position. The specific linear and positioning reflector is a reflector which measures the effect of AE. Using this approach, AE arms are equal to Abbe’s offsets. Whereas in the model based on homogeneous transformation matrix, the AE arms are measured from the machine coordinate system and are not equal to Abbe’s offsets. The values of
Derivation of kinematic error model
To derivate the kinematic error model, the positioning, straightness, squareness and AE effects are integrated along
where
Consequently by adding

The configuration of three-axis milling machine and laser interferometer used in this study.
Results
To evaluate the proposed kinematic error model, a three-axis Droop & Rein computer numerical control (CNC) machine tool is used, a schematic view of which is shown in Figure 4. The kinematic error components of the machine tool in forward and backward directions are measured. The roll errors are measured using electronic level and the other errors are measured by ML10 laser interferometer. The volumetric error of machine workspace is calculated taking into account the kinematic error model based on homogeneous transformation matrix (conventional models) and kinematic error model presented in this study.
The results of calculations, in machine workspace for kinematic error model based on homogeneous transformation matrix and kinematic error model presented in this study, are mapped in Figure 5. Analyzing the graphs, it can be shown that the mean error estimated by the presented model is 24.7% smaller than the homogeneous transformation matrix model. This discrepancy is due to differences in AE arms, which causes the overestimation in homogeneous transformation matrix model magnitude.

Volumetric error magnitude estimated by (a) kinematic error model based on homogeneous transformation matrix and (b) kinematic error model presented in this research.
In order to validate the presented kinematic error model, an enhanced virtual machining is used to compare the error models. Enhanced virtual machining is defined as the combination of volumetric error model and NC simulation. 23 For this purpose, a software package based on conventional and presented error model is developed. The NC-codes and 21 error components are defined as the software input. After the fragmentation of NC-codes to small linear path, the kinematic error model translates the nominal points to real points. Figure 6 illustrates the process of kinematic error identification at each tool position using the kinematic error model based on conventional and presented model.

Flowchart of the software package.
The workpieces are then machined in a NC simulator environment, using the NC-codes altered by applying the kinematic error models (presented in this article and conventional models). The virtual machined workpieces are then used as an input to a CAD software and their dimensions are compared with the nominal workpiece. The workpieces are then machined by the CNC machine tool and the coordinate of a number of points on them are measured and used as an input to the CAD software. The validation procedure is carried out by comparing the differences between the values of data obtained from the real machined and nominal workpieces as well as virtual machined and nominal workpieces.
Experimental validation
For experimental validation two free form Spline-shaped slots are machined by the CNC machine tool. One of them is machined on the center of table and the other on the corner of table (Figure 7). Since the results are influenced by the effects of dynamic properties of the machine tool, it is important to minimize these effects as much as possible. For this reason, the slots are pre-machined under roughing and semi-finishing conditions. An amount of 0.3 mm material is left on the walls of the slots. The slot walls are finished by down milling and under same environmental conditions. Table 1 shows the machining conditions.

(a) Machining the slots and (b) measuring the slots with a coordinate measuring machine.
Finish machining conditions of test pieces.
The coordinates of a number of points on the slots are recorded by a DEA coordinate measuring machine (CMM; Figure 7) and are used as input to a CAD software. Finally, some curves are passed through the points and the differences between the nominal and measured curves are obtained. The free form Spline-shaped slots are then machined in the NC simulator environment applying the NC-codes generated by software package using conventional kinematic error model as well as the developed kinematic error model in this article. The slots are machined in NC simulator in both corner and center of the table. The geometry of virtual machined slots applying the current and conventional kinematic error models and also the real machined slots are compared with nominal slots and the results are shown in Figures 8 and 9. Figure 8 shows the results of the slot machined in the center of machine table and Figure 9 shows the results of slot which is machined in the corner of table.

Discrepancies between nominal slot and (a) virtual machined slot using kinematic error model based on homogeneous transformation matrix, (b) virtual machined slot using presented kinematic error model, (c) real machined slot and (d) a, b, c together (graph analysis), in the center of table.

Discrepancies between nominal slot and (a) virtual machined slot using kinematic error model based on homogeneous transformation matrix, (b) virtual machined slot using presented kinematic error model, (c) real machined slot and (d) a, b, c together (graph analysis), in the corner of table.
As shown in Figures 8 and 9, the accuracy of presented kinematic error model is better than the model based on the homogeneous transformation matrix. This issue is more obvious in the Spline-shaped slot which is machined in the corner of the table (Figure 9) since the AEs and AE arms in the corner of table are larger than these values at the center of the table. Therefore, the effects of AE arms calculated by presented kinematic error model and the conventional kinematic error model are more obvious in the corner of the table.
As mentioned earlier, laser interferometer measurement technique is the typical way to measure the kinematic errors. However, the conventional kinematic error models do not consider the measurement instrument. Since the linear reflectors measure part of AEs (Figures 2 and 3), some parts of AEs are measured twice. These are once calculated directly and measured again by linear and positioning measuring instruments, indirectly. Hence, the volumetric error predicted by conventional methods is overestimated (Figures 8 and 9).
The presented kinematic error model contributes to a more accurate prediction of the volumetric error in machine workspace. Moreover, the presented model can be applied for all three-axis machine tool configurations. It can also be integrated with a CAM software where the generated NC-codes are modified to produce more accurate parts. The presented kinematic error model can also be integrated with NC simulators to assess machine tool ability to produce workpieces with certain tolerances.
Conclusion
The main objective of a kinematic error model is the prediction and compensation of machine kinematic errors on its workspace. In this article, the effects of AE arms on the kinematic error model are analyzed. It is demonstrated that in a single axis carrying tool, the effects of all AEs are measured by linear and positioning reflectors. So, calculating the AEs, which are measured by linear reflectors, results in an overestimation of the errors. In addition, the specific reflector coordinate system is the measurement reference to calculate the AE arms, in the workpiece carrying axes. Also, in multiple axes carrying tool, an axis is treated as a single axis and in the other axes, specific linear and positioning reflectors are the measurement references for calculating the AE arms. A kinematic error model is developed based on the modified AE arms. The presented error model is consistent with Abbe’s principle; therefore, the overestimations are eliminated. The results indicate that the presented error model enhances the accuracy of the volumetric error for about 25% in the machine tool used in this study.
To validate these characteristics, a software package is developed based on the kinematic error model. Applying this software, two similar parts are machined in real and virtual environments. A comparison of these two parts shows the effectiveness of the error model. The presented kinematic error model can improve the workpiece accuracy by modifying the NC-codes. It can also be integrated with a NC simulator to assess machine tool’s ability to produce workpieces with certain tolerances.
Footnotes
Acknowledgements
The authors would like to thank Iran Khodro Industrial Dies (IKID) and LAKSAR Companies for providing the machine tool and CMM and the related instruments for the experiments in this research.
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship and/or publication of this article.
