Next Article in Journal
Modelling Acetification with Artificial Neural Networks and Comparison with Alternative Procedures
Next Article in Special Issue
Establish Induction Motor Fault Diagnosis System Based on Feature Selection Approaches with MRA
Previous Article in Journal
Environmental Remediation of Antineoplastic Drugs: Present Status, Challenges, and Future Directions
Previous Article in Special Issue
Incremental Modeling and Monitoring of Embedded CPU-GPU Chips
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Non-Delay Error Compensation Method for Dual-Driving Gantry-Type Machine Tool

1
School of Mechanical and Electronic Engineering, Wuhan University of Technology, Wuhan 430070, China
2
School of Mechanical Science and Engineering, Huazhong University of Science and Technology, Wuhan 430074, China
3
Department of Mechanical Engineering, School of Engineering, University of Birmingham, Birmingham B15 2TT, UK
*
Author to whom correspondence should be addressed.
Submission received: 26 May 2020 / Revised: 24 June 2020 / Accepted: 25 June 2020 / Published: 27 June 2020

Abstract

:
The drive at the center of gravity (DCG) principle has been adopted in computer numerical control (CNC) machines and industrial robots that require heavy-duty and quick feeds. Using this principle requires accurate corrections of positioning errors. Conventional error compensation methods may cause vibrations and unstable control performances due to the delay between compensation and motor motion. This paper proposes a new method to reduce the positioning errors of the dual-driving gantry-type machine tool (DDGTMT), namely, a typical DCG-principle-based machine tool. An error prediction method is proposed to characterize errors online. An algorithm is proposed to quickly and accurately compensate the errors of the DDGTMT. Experiment results verify that the non-delay error compensation method proposed in this paper can effectively improve the accuracy of the DDGTMT.

1. Introduction

The positioning accuracy of computer numerical control (CNC) machine tools is influenced by thermal errors, geometric errors, servo errors, etc. Geometric errors (i.e., errors in the geometry of mechanical components) accounting for 45–65% of total errors are a major source of positioning errors [1]. Geometric errors are different from an application case to another (due to differences in load, speed, and direction), and may change over long-term usage. Therefore, they are difficult to be measured and compensated.
Because of the large thrust, small inertia, large transmission stiffness, and large control bandwidth of dual-driving structure, dual-driving feed system has high precision and stability, so it is widely used in gantry-type machine tools and rectangular coordinate robots [2]. However, the different servo and mechanical characteristics between the dual axes result in the non-synchronous errors of the two axes, which does harm to the positioning accuracy and machining stability [3,4]. Therefore, it is a key problem to be solved to improve the accuracy of the dual-driving feed mechanism. Usually, a high-precision synchronous control strategy is used to improve the accuracy of the dual-driving feed mechanism. The synchronization control strategies include the master–slave synchronization control strategy [5], cross-coupled synchronization control strategy [6], and virtual electronic shaft synchronization control strategy [7]. These control strategies are difficult to consider the errors caused by the mechanical structure. Besides, these strategies are a kind of essential passive compensation [8], with certain delay phenomenon, and cannot guarantee that the errors of other non-dual driving feed direction are compensated. In this paper, a comprehensive error compensation model of dual-driving gantry-type machine tool (DDGTMT) is established and a non-delay error compensation method is proposed to improve the positioning accuracy of the dual-driving machine tool. This method is essentially an active error compensation method, which can reduce the error compensation delay.
Many methods have been applied to the modeling of geometric errors, such as the product of exponential (POE) -equation [9,10], screw theory [11], differential transform theory [12,13], orthogonal polynomials [14], and multi-body system (MBS) [15,16]. These methods are summarized in Table 1. This paper presents a geometric model based on the homogeneous transformation matrix (HTM) of MBS. This modeling method is simpler than conventional methods. It is also more complete by containing ideal and actual error matrices of every axis. Additionally, the method could be used to calculate the error of every axis with regard to kinematic transmission chains [16]. The DDGTMT is chosen as an example to illustrate the stability and efficiency of the proposed model.
Error prediction plays an important role in improving the operation accuracy and reducing the cost of CNC equipment. Error prediction can reduce the time of error measurement and reflect the error of CNC equipment under different operating conditions [17]. Error prediction can be online or offline. There are examples of using online prediction to calculate machining errors [18,19]. Yang et al. proposed an offline tool path generation and an online contour error estimation method to reduce the errors of a four-axis machine by 50% [20]. Using geometrical information of a reference trajectory, Li et al. proposed a high accuracy contour error estimation method for five-axis machine tools. Error estimation methods can reduce tracking and contour errors as well as filtering control signal [21]. Li et al. proposed a real-time prediction method to estimate thermal errors of a screw system considering various operating conditions [22]. Yang et al. proposed a generalized method to control a five-axis machine and estimate its contouring errors. Experiments showed that the error prediction and compensation method can greatly improve the accuracy of machine tools [23]. However, most of the error predictions are based on overall statistical results or empirical knowledge. Specifically, no attention is paid to the analytical approach in the error predictions of CNC machines, i.e., predicting the overall errors by assessing the source of errors in all axes. In addition, because of the particularity of dual-driving structure, i.e., coupled between axes in a single direction, the effect of these methods in dual-driving CNC machine tools has not been proved by experiments. According to the characteristics of the dual-driving structure, this research addresses the analytical approach with the aim to build a more complete and accurate prediction model, particularly considering errors caused by all motion axes.
The error compensation is one of the most effective methods to improve the machining accuracy. Error compensation methods can be either hardware-based or software-based. Hardware compensation relies on adjusting the structure of CNC equipment or using compensation devices. Cui et al. constructed an error compensation software system to realize error compensation via numerical control program reconstruction [24]. Dumanli et al. presented a dynamic error compensation approach and a novel data-based closed-loop tuning scheme to enhance the tracking accuracy of machine tool feed-drives by modifying a reference trajectory [25]. Xiang et al. proposed a method to measure, model, and compensate both volumetric errors of the five-axis, using the NC program based on the kinematic model [26]. Chen et al. analyzed measured data and modified the NC codes to compensate systematic errors [27]. Wang et al. adopted a closed-form iteration combined with a weighting method to deal with anisotropic situations which may reduce registration accuracy. The proposed methods provided an effective approach for machine tool volume positioning error calibration and compensation [28]. Zhong et al. established a recursive software-based method to compensate the geometric error of a large five-axis machining center prototype [29]. Software compensation methods include modifying system parameters (such as acceleration and velocity), modifying the NC program, closed iteration combined weighting method, zero offset method, and reverse compensation method. However, applying the above error compensation methods to DCG machines can be difficult due to the existence of non-synchronization errors in a DCG machine. For example, a dual-driving machine is equipped with dual motors and dual ball screws in a single feed direction. This mechanical structure involves complex mechanical coupling i.e., different servo characteristics, unbalanced forces, and synchronization problems that conventional compensation methods cannot deal with. Therefore, dual-driving machines require more effective error compensation methods. Besides, most error compensation methods are passive error compensation methods, which will cause the chattering of machine tools. The non-delay error compensation proposed in this paper refers to the prediction method based on the real-time measurement data to predict the errors produced by the machine tool, and the predicted errors are used to modify the position instructions before the machine tool moves to compensate in advance to achieve the non-delay compensation effect.
This paper introduces the non-delay error compensation method for the DDGTMT. The core of non-delay error compensation in this paper is using predictive errors to enable predictive compensation in order to reflect the time-varying characteristics of errors and improve the accuracy of error compensation instead of compensating errors through measured data directly. Meanwhile, error compensation and the motion instruction are completed in the same period, in that way, compensation will not be behind motor movements, and the aim is to improve the accuracy and speed of error compensation to achieve the effect of non-delay. The traditional error compensation method (closed-loop compensation method) and proposed error compensation method are used in this research with their criteria of measuring the positioning accuracy and volumetric positioning accuracy of the tool center to verify the effectiveness of the proposed error compensation method.
The structure of the paper is as follows: In Section 2, according to the characteristics of the dual- driving structure, the error transformation matrix of the machine tool is derived using HTM, and then the comprehensive error model of the tool center is established. In Section 3, the error elements of machine tools are measured by measurement equipment (optical scales or laser interferometer). Then the errors of axes are predicted by the Grey–Markov method according to error data, and the predicted error data are fitted by the orthogonal polynomial regression method. In Section 4, an error compensation algorithm is designed, and the virtual axis-electronic cam compensation method is adopted. After compensation, the laser interferometer is used to measure the tool center errors to verify the performance of the proposed compensation method. In Section 5, the experimental results are discussed. In Section 6, the conclusions about the most important achievements of the paper are summarized.

2. Error model of the DDGTMT

This research aims to improve the feeding accuracy of DDGTMT, proposing a non-delay error compensation method that consists of the following three parts: error model, error prediction, and error compensation. The error model aims to depict the errors between the tool and the workpiece of the machine tool, providing the theoretical basis for compensation. Generally, the error compensation is directly using the last error data to compensate the next motor motion, but this compensation method ignores the real-time variation of the errors, making the error compensation effect is not optimal. Figure 1 reflects that when the motion instructions/ideal position commands are sent to the motion controller, the actual position commands are calculated by the non-delay error compensation method in the motion controller and then are sent to the servo driver to execute the position commands.
Figure 2 shows the process of the non-delay error compensation method. The error model of DDGTMT is based on HTM. According to the real-time error data, the predicted errors are calculated by adopting the Grey–Markov method [30,31]. The accuracy of the prediction is assessed via the precision threshold. By the virtual axis-electronic cam compensation strategy, using the predicted data to modify position commands, so that errors are compensated ahead of execution position commands to achieve non-delay error compensation.
The structure of the DDGTMT is shown in Figure 3; it has three feed directions—X-direction, Y-direction, and Z-direction. X-direction adopts DCG-principle to design a dual-driving structure, which can improve transmission stiffness of the feeding system. The typical dual-driving structure contains dual-servo motor, dual-ball screw, dual-linear guide, and bearings. The machine’s crossbeam moves along the X-direction. The movement of the saddle is along the Y-direction, using a singular motor and ball screw. The movement of the headstock is along the Z-direction, adopting a single-driving structure. Parameters of the machine are given in Table 2.
Geometric errors usually include positioning errors, straightness errors, angle errors and squareness errors [32]. As shown in Figure 4, O1, O2, and O3 represent base coordinate, ideal coordinate, and actual coordinate; namely, there are six error elements when the moving parts move on the guide rail, including three linear errors—positioning errors, two straightness errors, and three angle errors—roll errors, yaw errors, and pitch errors [33]. Δ X , Δ Y , and Δ Z represent the linear errors, where the subscript represents the error directions. θ X ,   θ Y , and θ Z represent the angular errors, where the subscript represents the rotation axes of angular errors. S x z , S y z , and S x y represent three squareness errors of x-axis, y-axis, and z-axis, where the subscript represents the squareness errors between two axes. All these geometric errors are shown in Table 3. x, y, and z represent x-axis, y-axis, and z-axis, respectively, and they also represent the direction of motion.
Errors- Δ Y occur after the coordinate system O 1 translates along the y-axis to the coordinate system O 2 , and the translation transformation matrix can be represented as
T r a n s ( Δ Y ) = [ 1 0 0 0 0 1 0 Δ Y 0 0 1 0 0 0 0 1 ]
Similarly, the translation transformation matrices T r a n s ( x ) and T r a n s ( z ) translate along the x-axis and z-axis to coordinate system O 2 with errors- Δ X and Δ Z , respectively. They can be represented as
T r a n s ( Δ X ) = [ 1 0 0 Δ X 0 1 0 0 0 0 1 0 0 0 0 1 ]
T r a n s ( Δ Z ) = [ 1 0 0 0 0 1 0 0 0 0 1 Δ Z 0 0 0 1 ]
Similarly, the rotation transformation matrices R o t ( θ X ) , R o t ( θ Y ) and R o t ( θ Z ) of coordinate system O 1 rotate around x-axis, y-axis and z-axis to coordinate system O 2 with errors- θ X , θ Y , and θ Z , respectively. They can be represented as
R o t ( θ X ) = [ 1 0 0 0 0 cos θ X sin θ X 0 0 sin θ X cos θ X 0 0 0 0 1 ]
R o t ( θ Y ) = [ cos θ Y 0 sin θ Y 0 0 1 0 0 sin θ Y 0 cos θ Y 0 0 0 0 1 ]
R o t ( θ Z ) = [ cos θ Z sin θ Z 0 0 sin θ Z cos θ Z 0 0 0 0 0 0 0 0 0 1 ]
In the homogeneous coordinate transformation of the coordinate system, if coordinate system O 1 translates along x-axis, y-axis and z-axis by Δ X , Δ Y , and Δ Z , respectively, and then rotates around x-axis, y-axis and z-axis by θ X , θ Y , and θ Z to coordinate system O 2 , respectively, the homogeneous coordinate transformation matrix between O 1 and O 2 is
T O 2 O 1 = T r a n s ( Δ X ) T r a n s ( Δ Y ) T r a n s ( Δ Z ) T r a n s ( θ X ) T r a n s ( θ Y ) T r a n s ( θ Z ) = [ cos θ Y cos θ Z cos θ Y sin θ Z sin θ Y Δ X sin θ X sin θ Y cos θ Z + cos θ X sin θ Z sin θ X sin θ Y sin θ Z + cos θ X cos θ Z sin θ X cos θ Y Δ Y cos θ Z sin θ Y cos θ Z + sin θ X sin θ Z cos θ X sin θ Y sin θ Z + sin θ X cos θ Z cos θ X cos θ Y Δ Z 0 0 0 1 ]
When the rotational angles- θ X ,   θ Y , and θ Z are small, based on the theory of small-angle approximation, the second-order and high-order minuteness can be ignored. Therefore, Equation (7) can be represented as
T O 2 O 1 = [ 1 θ Z θ Y Δ X θ Z 1 θ X Δ Y θ Y θ X 1 Δ Z 0 0 0 1 ]
Figure 5 is the coordinate system setting of the DDGTMT. The reference coordinate system-R is created on the machine tool bed, and the local coordinate systems-X, Y, Z, S, T, and W are created on the crossbeam, saddle, headstock, spindle, tool and workpiece, respectively. The kinematic chain of the DDGTMT is W R X Y Z S T .
If the tool center moves along x-axis, y-axis and z-axis, the homogeneous transformation matrix from workpiece coordinate system—W to tool center coordinate system—T is
T T W = T R W · T X R · T Y X · T Z Y · T S Z · T T S
where T X R , T Y X , and T Z Y are represented in Equations (10)–(12)
T X R = [ 1 θ Z x sin θ Y x x + Δ X x 1 + Δ X x 2 2 θ Z x 1 θ X x Δ Y x θ Y x θ X x 1 Δ Z x 0 0 0 1 ]
T Y X = [ 1 θ Z y θ Y y Δ X y y S x y θ Z y 1 θ X y y + Δ Y y θ Y y θ X y 1 Δ Z x 0 0 0 1 ]
T Z Y = [ 1 θ Z z θ Y z Δ X z z S x z θ Z z 1 θ X z Δ Y z z S y z θ Y z θ X z 1 Δ Z z + z 0 0 0 1 ]
where x , y , and z are the position commands of x-axis, y-axis, and z-axis, respectively; Δ X x 1 , Δ X x 2 , Δ Y y , and Δ Z z represent the positioning errors of x1-axis, x2-axis, y-axis, and z-axis, respectively; θ X x ,   θ Y x and θ Z x are three directional angular errors caused by motion along x-axis; θ X y ,   θ Y y and θ Z y are three directional angle errors caused by motion along y-axis; θ X z ,   θ Y z and θ Z z are three directional angle errors caused by motion along z-axis; Δ Y x and Δ Z x are straightness errors caused by motion along x-axis; Δ X y and Δ Z y are straightness errors caused by motion along y-axis; Δ Y z and Δ X z are straightness errors caused motion by along z-axis; S x z , S y z , and S x y are the squareness errors between x-axis and z-axis, y-axis and z-axis, and x-axis and y-axis, respectively.
Because there is no relative movement between the spindle and headstock, the homogeneous transformation matrix from the coordinate system—Z to spindle coordinate system—S is the unit matrix that is T S Z = I 4 × 4 . The tool center is connected with the spindle, so the homogeneous transformation matrix from the spindle coordinate system—S to the tool center coordinate system—T is the unit matrix, that is T T S = I 4 × 4 . There is no relative movement between the workpiece and the machine tool bed, so the homogeneous transformation matrix from the workpiece coordinate system—W to the reference coordinate system—R is the unit matrix, that is T R W = I 4 × 4 .
Therefore, the transformation matrix from the workpiece coordinate system—W to the tool center coordinate system—T is
T T w = [ 1 θ Z x θ Z y θ Z z θ Y x + θ Y y + θ Y z x + ( Δ X x 1 + Δ X x 2 2 ) + Δ X y + Δ X z y θ Z x + z θ Y x + z θ Y y y S x y z S x z θ Z x + θ Z y + θ Z z 1 θ X x θ X y θ X z y + Δ Y y + Δ Y x + Δ Y z z θ X x z θ X y z S y z θ Y x θ Y y θ Y z θ X x + θ X y + θ X z 1 z + Δ Z z + Δ Z x + Δ Z y + y θ X x 0 0 0 1 ]
and the error model of tool center for the DDGTMT is
{ σ X = ( Δ X x 1 + Δ X x 2 2 ) + Δ X y + Δ X z y θ Z x + z θ Y x + z θ Y y y S x y z S x z σ Y = Δ Y y + Δ Y x + Δ Y z z θ X x z θ X y z S y z σ Z = Δ Z z + Δ Z x + Δ Z y + y θ X x

3. Error prediction of the DDGTMT

The x-axis, y-axis and z-axis positioning errors are measured by the optical scales, and the straightness errors and angular errors are measured by an Agilent 5519 dual-frequency laser interferometer (Agilent Technologies, Inc. United States). In the light of the ISO230-3 standard [34], measuring the positioning errors of the machine tool should be carried out at the standard environment temperature used in the experiment. The measurement strokes in X-direction, Y-direction, and Z-direction are 2000 mm, 1000 mm, and 30 mm, with the measurement interval being 200 mm, 100 mm, and 3 mm accordingly. The straightness errors are measured in the same condition. The starting point of the measurement is set to the coordinate origin of the feed system. The model of the optical scales is GVS608, which have a resolution of 0.1 μm.
The hardware integration diagram is shown in Figure 6. The control system of the machine tool adopts a BECKHOFF system, in which the drivers and motors adopt AX5000 series drivers (Wales, Germany) and AM8500 series AC servo motor (Beckhoff Automation GmbH & Co. KG, Verl, Germany), I/O modules adopt EtherCAT bus terminal module, mainly using EK1100 series, EL1800 series (Beckhoff Automation GmbH & Co. KG), EL2800 series, and EL5000 series components. The control program is based on TwinCAT3 software (Beckhoff Automation GmbH & Co. KG).
Figure 7 shows using an optical scale to measure positioning errors. The scale is fixed on the machine tool and the transducer is on the moving block. The signal wire of the transducer is connected to the EL5000 series terminal. EL5000 series terminal communicates with the motion controller through EtherCAT so that the positioning errors can be obtained in real-time. Figure 8 shows that using a laser interferometer to measure the straightness errors and angle errors. Figure 8a shows the measurement principle of straightness errors and angle errors. Figure 8b,c shows the experimental setup of straightness error measurement. The measurement of angle errors is similar to the measurement of straightness errors only by changing the corresponding measuring mirrors.
The velocity range of motors in the X-direction, Y-direction is 1000 mm/min to 6000 mm/min, respectively, with the Z-direction ranging from 500 mm/min to 3000 mm/min. The results error curves are shown in Figure 9, Figure 10 and Figure 11. Figure 9a,b shows x1-axis positioning error curves and x2-axis positioning error curves, respectively. Figure 10a,b shows y-axis positioning error curves and z-axis positioning error curves, respectively. Figure 11a,b presents Δ Y x and Δ X y , respectively.
It can be seen from Figure 9 that the larger the velocities are, the larger the positioning errors of X-direction are. For example, at the position of 2000 mm, the x1-axis positioning errors of the velocity at 1000 mm/min and 6000 mm/min are −95.3 μm and −118.9 μm, namely. At the same velocity, the positioning errors of x2-axis are greater than that of x1-axis. Due to the dual-driving structure-mechanical relation between the x1-axis and the x2-axis, there is a coupling relationship between the two axes. Because of the differences in the structural parameters and servo performance of the two axes, the loads and disturbances borne by the two axes are not identical, causing different forces on the two axes, and resulting in different positioning errors and between the two axes, then causing non- synchronization errors. The positioning errors of the x1-axis and x2-axis increase nonlinearly with the increasing of position commands, but trends of positioning errors of the y-axis are going up first and then down nonlinearly. As shown in Figure 9a,b and Figure 10a that the velocity will affect the positioning errors of the x-axis and y-axis. However, the overall change trends of straightness errors and positioning errors are different. If the errors shown in the figures are greater than zero, it means that actual position displacement is larger than the ideal position command. In the process of the tool center moving along the y-axis as shown in Figure 10a, the positioning errors increase first and then decrease, and the actual displacements of the tool center are greater than the ideal position commands. Figure 10b shows that the fluctuation of Z-direction positioning errors is not obvious at different velocities. The straightness errors are little affected by the velocities. The straightness errors change with the enhancement of position command, but the range of straightness errors Δ Y x and straightness errors Δ X y are −11.5 μm to +13.7 μm and −16.4 μm to +21.2 μm, respectively. In addition, using the least square method, fit the straightness errors Δ Y x and straightness errors Δ X y in Figure 11a,b, and their slopes are k Δ Y x = −0.0427 μm/mm and k Δ X y = 0.1256 μm/mm, respectively. S x y = 0.0825 μm/mm can be obtained from the identification method of squareness errors as well as S y z = 0.0413 μm/mm and S x z = 0.0319 μm/mm. The angle errors of the machine tool are shown in Table 4.
The error prediction data is obtained by using the Grey–Markov prediction method. Grey model is an important part of Grey theory, which can get the forecast result simply and quickly with a small amount of data. It has a great advantage when compared with the traditional forecast method, but the model is relatively rough as well [30,31]. Markov method is introduced to optimize the prediction results of the Grey model. Observing the trend of error curves, the polynomial regression method might be suitable for fitting prediction error data. The orthogonal polynomial regression method uses a set of polynomials with orthogonal properties to solve various non-linear equations. It can solve the regression problem that the relationship between variables is not clear [35]. Meanwhile, adopting the orthogonal polynomials regression method is very useful and easy to program [14].
Take the x1-axis positioning errors as an example in the condition of x = 800 and v = 2000 mm/min to introduce how to predict errors. The five groups of positioning error prediction data are got by using 10 groups of error data and the error prediction formula [30,36]. The prediction results are shown in Table 5. It can be found that high prediction accuracy can be obtained by this prediction method. The appendix shows detailed Grey–Markov method formula.
The predicted positioning errors— σ i in the x1-axis are given as an example to introduce how to fit prediction errors. When the velocity is 2000 mm/min, the results are shown in Table 6 (the orthogonal polynomial component number n = 11; the calculation expressions of the value of Table 6 and Table 7 can be found in reference [35] or Appendix Formulas (A15)–(A21).
Because of F 0.1 ( 1 , 5 ) = 4.06 , F 0.05 ( 1 , 5 ) = 6.608 , and F 0.01 ( 1 , 5 ) = 16.3 , it can be seen from Table 7 that the first order is dominant; the second, third, and fourth order are significant, but the fifth order is insignificant. Eliminating the fifth order to revise the regression equation yields Equation (15).
Δ X x 1 = 42.84 9.81 ϕ 1 ( x ) 0.198 ϕ 2 ( x ) + 0.054 ϕ 3 ( x ) × 5 6 0.32 ϕ 4 ( x ) × 1 12
Substituting ϕ 1 ( x ) , ϕ 2 ( x ) , ϕ 3 ( x ) and ϕ 4 ( x ) into Equation (15) yields
Δ X x 1 = 42.84 9.81 × ( x 6 ) 0.198 × [ ( x 6 ) 2 11 2 1 12 ] + 0.054 × [ ( x 6 ) 3 3 × 11 2 7 20 ( x 6 ) ] × 5 6 0.32 × [ ( x 6 ) 4 3 × 11 2 13 14 ( x 6 ) 2 + 3 ( 11 2 1 ) ( 11 2 9 ) 560 ] × 1 12
Substituting x = ( x + 200 ) / 200 into Equation (16) yields
Δ X x 1 = 1.667 × 10 11 x 4 + 7.229 × 10 8 x 3 0.11 × 10 3 x 2 + 0.007 x 0.285
Figure 12 shows the fitting curve of x1-axis prediction positioning errors. It can be seen from the residual of the fitting curve that the residual interval is (−0.96, 0.91) which indicates a high fitting accuracy.
Using the same method, the fitting curves of x2-axis and y-axis prediction positioning errors can be calculated as
Δ X x 2 = 1.406 × 10 11 x 4 + 6.646 × 10 8 x 3 9.719 × 10 51 x 2 0.01102 x 0.1
Δ Y y = 7.667 × 10 10 y 4 + 1.367 × 10 6 y 3 0.7583 × 10 3 y 2 + 0.197 y + 0.65
The expression of predicted straightness errors can be obtained by the same principle, as follows.
Δ Y x = 6.937 × 10 14 x 5 + 3.823 × 10 10 x 4 7.191 × 10 7 x 3 + 5.138 × 10 4 x 2 0.096 x 4.072
Δ Z x = 3.5 × 10 11 x 4 + 1.304 × 10 7 x 3 1.127 × 10 4 x 2 0.018 x + 15.741
Δ X y = 5.59 × 10 14 y 5 + 5.811 × 10 10 y 4 1.299 × 10 6 y 3 + 6.878 × 10 4 y 2 0.029 y 12.324
Δ Z y = 4.357 × 10 13 y 5 1.654 × 10 9 y 4 + 2.056 × 10 6 y 3 9.03 × 10 4 y 2 + 0.06 y + 12.38
Δ X z = 2.996 × 10 6 z 5 + 3.176 × 10 4 z 4 0.011 z 3 + 0.098 z 2 + 0.715 z 4.841
Δ Y z = 1.187 × 10 8 z 5 + 1.238 × 10 4 z 4 0.007 z 3 + 0.072 z 2 + 1.092 z 6.19

4. Error Compensation of the DDGTMT

To validate the validity and efficiency of the proposed method, error compensation experiments contain the traditional error compensation method and the method proposed in this paper. The traditional error compensation method refers to full/semi closed-loop error compensation method that uses detection equipment, i.e., motor encoder or optical scale to obtain the position feedback signal, compares the error signal with the position signal according to the error compensation algorithm in the controller and then adjusts the position of the moving parts by the controller [37,38]. In this article, the traditional error compensation method is full closed-loop error compensation, which is to use the displacement signal measured by the optic scale as the feedback signal of the position loop, and process it in the controller to get the error compensation value and send it to the motors. For the DDGTMT, the accuracy of dual-driving axes has a heavy effect on the volumetric positioning accuracy of the tool center. Therefore, the positioning accuracy and volumetric positioning accuracy are used to measure the effectiveness of the error compensation method proposed in this paper [39,40]. Two kinds of error compensation experiments are carried out. The first is the error compensation of the tool center movement along X-direction and Y-direction respectively, and the second is the error compensation of the tool center space motion along the X-direction, Y-direction and Z-direction. As seen in Section 3, the velocity will affect the positioning error of the machine tool; therefore, two kinds of error compensation experiments are carried out at different velocities, whose purpose is to test that the error compensation method proposed in the paper can improve the positioning accuracy and volume accuracy of the DDGTMT at different velocities. The virtual axis-electronic cam method is used for compensation. The principle of the virtual axis-electronic cam error compensation method is shown in Figure 13. The measurement error data are acquired by measuring equipment such as positioning errors coming from the optical scale real-time feedback, angle errors, and straightness errors coming from the measurement of laser interferometer and the squareness errors coming from identification. The error compensation curves are obtained based on the method described above. The principle is to store the error fitting curve in the form of an electronic cam table in the motion controller so that the motion controller will calculate the modified position commands of the motors automatically by using an electronic cam table. Then, the motors execute the modified position commands to complete the error compensation.
As shown in Figure 14, according to the principle of virtual axis-electronic cam error compensation, the electronic cam master axis—Master X, Master Y, and Master Z, electronic cam slave axis—Slave X1, Slave X2, Slave Y, and Slave Z are established. Draw the electronic cam table in the controller, couple the virtual axis with Master X, Master Y, and Master Z, couple the Slave X1 with the motor X1, couple the Slave X2 with the motor X2, couple the Slave Y with the motor Y, and couple the Slave Z with the motor Z.
In the experiment, the TwinCAT3 software based on the windows platform coming with the control systems is used for real-time control. The software is integrated with Visual Studio and supports the mixed programming of PLC and C++ language conforming to the IEC61131 standard. The servo modules communicate via the high-performance BECKHOFF EtherCAT bus (Beckhoff Automation GmbH & Co. KG). First set up the virtual axis and create the master electronic cam axis. Then, create the slave electronic cam axis and draw the electronic cam table. The error data of optical scales is stored in the PLC variable through the I/O module. Based on the Visual Studio platform, the error compensation algorithm is written in C++ language in software TwinCAT 3 (Beckhoff Automation GmbH & Co. KG) to get the error compensation curve and input it into the cam table through ADS communication [41]. The resulting cam table is shown in Figure 14.
In the experiment process, the servo parameters of x1-axis and x2-axis motors are shown in Table 8. The positioning errors of the tool center are measured by the laser interferometer to verify the efficiency of the non-delay error compensation. In the first experiment, the tool center moves along X-direction and Y-direction, respectively, so z = 0, then substitute into Equation (14), yield σ X = ( Δ X x 1 + Δ X x 2 ) / 2 + Δ X y + Δ X z and σ Y = Δ Y y + Δ Y x + Δ Y z . Figure 15a shows the experimental schematic diagram, and Figure 15b,c shows error compensation when the tool center moves along Y-direction and X-direction, respectively.
In the error compensation of tool center space motion along the X-direction, Y-direction and Z-direction, the feeding velocities are 1000 mm/min, 2000 mm/min and 3000 min/min, respectively, to test the error compensation method usefulness at different velocities. The tool center moves from the starting position X0 Y0 Z0 to the position X2000 Y1000 Z30, and the end-point error results are recorded with optical scales in directions of X, Y, and Z. The Figure 16 shows space motion error compensation, and the data fed back by optical scales directly outputs the error value through PLC programming. Figure 17 shows that uncompensated error results of the tool center can be derived by using a dual-frequency laser interferometer under different velocities. Figure 18 and Figure 19 are the positioning error results of tool center compensation after using the traditional method and non-delay method at different velocities, respectively. Table 9 shows the space motion error compensation results of the traditional compensation method and the non-delay error compensation method proposed in this paper.

5. Discussion

Figure 17 and Figure 10a are the uncompensated error results of the tool center moving along X-direction and Y-direction at velocities from 1000 mm/min to 6000 mm/min, respectively. It can be seen from Figure 17 that the errors of the tool center along the X-direction increase nonlinearly with the position commands, and the tendency is similar to that of the positioning errors of x1-axis and x2-axis. In general, the greater the velocities are, the greater the errors are. Under the same velocities and position commands, the errors of the tool center are within the range of the x1-axis and x2-axis positioning errors. Figure 18a,b shows the error compensation results of the traditional method of error compensation when the tool center moves at speeds from 1000 mm/min to 6000 mm/min in the X-direction and Y-direction, respectively. Figure 19a,b shows the error compensation results of the tool center moving from 1000 mm/min to 6000 mm/min in the X-direction and Y-direction, respectively, using non-delayed error compensation method. From Figure 18 and Figure 19, it can be seen that the errors decrease significantly after the compensation of both methods. For example, the comparison between Figure 19a and Figure 17 shows that when the tool center moves along X-direction, the tool center positioning errors are reduced significantly from more than 100 μm to less than 3 μm. In addition, the comparison between Figure 19b and Figure 10a shows that the tool center positioning errors decrease from (0 μm, 80 μm] to (−2 μm, 2 μm] when tool center moves along the y-axis, and the positioning errors do not increase first and then decrease after compensation. As Figure 18 and Figure 19 show that the influence of velocities on positioning errors reduces after compensation. However, when adopting the traditional error compensation method, the compensation result is not ideal due to the delay of error compensation. Moreover, the linear optical scale in the traditional method can only measure the positioning error but not straightness and angle errors [38]. Besides, the compensation fluctuates obviously, ranging from −1 μm to 6 μm, whose range is about twice that of the method proposed, so the compensation effect is unsatisfactory. As shown in Table 9 that the effect of space motion error compensation is worse than that of single-axis movement error compensation, because space motion requires the x-axis, y-axis, and z-axis to be coupled with each other and produces complex error factors. However, the effect of non-delay error compensation is better than that of the traditional error compensation method, and the maximum improvement of error compensation can reach 44.0%. The space motion experiment results suggest that the non-delay error compensation method can improve the volumetric positioning accuracy of machine tools preferably. Hence, it can be found that the non-delay error compensation method greatly improves DDGTMT feed accuracy.

6. Conclusions

This research proposes an error compensation method for machine tools aiming to improve accuracy. A non-delay error compensation method is proposed for the DDGTMT. The essence of non-delay error compensation is using the predicted error data to modify the position command in the motion controller, so that the error compensation is completed before executing the position command. Firstly, the geometric error model of the DDGTMT is obtained by using the HTM. Based on the measurement data, the error prediction data is obtained by using the Grey–Markov method. Then, the orthogonal polynomial regression method is used to fit the error prediction data. Finally, the virtual axis-electronic cam compensation method is employed to compensate the geometric errors. The advantages and efficiency of the non-delay error compensation method proposed are verified by experiments.
In the paper, the error prediction and compensation algorithm of the DDGTMT are developed, and the error compensation of the dual-axis improves the synchronization performance of dual-driving equipment. Experimental results show that the prediction and compensation of geometric errors are realized, and the positioning accuracy of the DDGTMT is significantly improved from within 100 μm to within 3 μm at different velocity. Simultaneously, whether the machine tool moves in a single direction or space, the effect of non-delay error compensation is better than that of the traditional error compensation method in the aspect of improving volumetric positioning accuracy of dual-driving machine tools.

Author Contributions

Conceptualization, Q.L. and H.L.; Methodology, X.Z. and Y.Z.; Writing—original draft preparation, Q.L. and Y.Q.; Writing—review and editing, Q.L. and Y.W.; Validation and data curation, Q.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Nature Science Foundation of China (no. 51675393) and the Hubei Province Intellectual Property “Three Major Projects”: Development of new straightening process and numerical control straightening technology for motor shaft (Grant no. 2019-1-76).

Conflicts of Interest

The authors declare no conflict of interest.

Appendix

The implication of main parameters in the Appendix.
NotationImplication
x ( 0 ) Measurement error data
n i Number of samples
x ^ ( 0 ) ( n i ) Grey prediction results
Q i m , Q j m State interval
P ( k m ) Transition probability matrix from state Q i m to state Q j m for km-steps
V ( 0 ) , V ( k m ) State vectors
Y ( n i ) Modified prediction value
σ r Errors corresponding to motor instructions
j Order of polynomial
β 0 Regression constant
β 1 β j Regression coefficient
n Number of measurement points
Grey–Markov Method Formula
Assuming that measurement error data x ( 0 ) with n i samples is expressed as
x ( 0 ) = [ x ( 0 ) ( 1 ) , x ( 0 ) ( 2 ) , x ( 0 ) ( n i ) ] , n i = 1 , 2 ,
Where the subscript (0) represents the original data. x ( 0 ) is a non-negative sequence of error data, if the original data x ( 0 ) is negative, it needs to be replaced.
Using the Formula (A2) x ( 1 ) can be generated by the accumulation of x ( 0 ) .
x ( 1 ) ( k i ) = k i = 1 n i x ( 0 ) ( k i ) k i = 1 , 2 , n i
x ( 1 ) = [ x ( 1 ) ( 1 ) , x ( 1 ) ( 2 ) , x ( 1 ) ( n i ) ]
A differential equation can be established as follows
d x ( 1 ) d t + a g x ( 1 ) = u g
where a g and u g are the parameters to be identified. Assuming that a ^ = ( a g , u g ) T is an estimated vector.
a ^ = ( a g , u g ) T = ( B g T B g ) 1 B g T Y N
B g = [ 1 2 [ x ( 1 ) ( 1 ) + x ( 1 ) ( 2 ) ] 1 1 2 [ x ( 1 ) ( 2 ) + x ( 1 ) ( 3 ) ] 1 1 2 [ x ( 1 ) ( n i 1 ) + x ( 1 ) ( n i ) ] 1 ]
Y N = [ x ( 0 ) ( 2 ) , x ( 0 ) ( 3 ) , x ( 0 ) ( n i ) ] T
The a g and u g are calculated by the Formulas (A5)–(A7) and substituted into Formula (A4) to obtain
x ^ ( 1 ) ( n i ) = [ x ( 0 ) ( 1 ) u g a g ] e a g ( n i 1 ) + u g a g
The Grey prediction results of the error data obtained from Formula (A8) are
{ x ^ ( 0 ) ( 1 ) = x ( 1 ) ( 1 ) x ^ ( 0 ) ( n i ) = ( 1 e a g ) [ x ( 0 ) ( 1 ) u g / a g ] e a g ( n i 1 )
In order to ensure the validity of the Markov method and the correct Markov prediction process, it is necessary to test the Grey prediction results. If the results are correct, the x ^ ( 0 ) ( n i ) will be divided into several state intervals, and the state transition probability matrix will be constructed, then the middle value of the state interval will be taken, and the high-precision prediction value will be obtained.
The residual of the Grey error prediction value and the error actual value are divided into several intervals to form the corresponding state intervals, and any state interval is expressed as
{ Q i m = [ Q 1 i m , Q 2 i m ] i m = 1 , 2 , Q 1 i m = x ^ ( 0 ) ( n i ) + A i m Q 2 i m = x ^ ( 0 ) ( n i ) + B i m
where A i m and B i m are the state interval width, whose value depends on the data.
The state transition matrix P ( k m ) can be solved by the Formula (A11)
P i m , j m ( k m ) = M i m , j m ( k m ) / M i m i m , j m = 1 , 2 ,
where P i m , j m ( k m ) is the transition probability from state Q i m to state Q j m for km-steps. M i m , j m ( k m ) is the number of original data of state Q i m transferred from the state Q j m for km-steps. M i m is the number of original data in Q i m .
The state transition probability matrix of km-steps is as follows
P ( k m ) = [ P 11 ( k m ) P 12 ( k m ) P 1 , j m ( k m ) P 21 ( k m ) P 22 ( k m ) P 2 , j m ( k m ) P i m , 1 ( k m ) P i m , 2 ( k m ) P i m , j m ( k m ) ]
If the initial vector of the initial state Q i m is V ( 0 ) , after km-steps transformation, the state vector V ( k m ) is
V ( k m ) = V ( 0 ) P ( k m )
According to the above probability transition matrix, when the state of the current moment is known, the state of the next moment can be estimated. After the state Q d of the next moment is determined, the change interval [ Q 1 d , Q 2 d ] of the relative predictive value of the next moment is determined. Then, the middle value of the interval is taken to modify the Gray prediction result, that is, the modified prediction value is
Y ( n i ) = ( Q 1 d + Q 2 d ) / 2 = x ^ ( 0 ) ( n i ) + ( A i m + B i m ) / 2
The residual value of predicted modified value and the measured value is compared with the non-modified residual value. If the residual value is small, the predicted modified value meets the requirements. Figure A1 shows the flow chart of the Grey–Markov method error prediction.
Figure A1. Flow chart of Grey–Markov method error prediction.
Figure A1. Flow chart of Grey–Markov method error prediction.
Processes 08 00748 g0a1
Orthogonal Polynomial Regression Method Formula
According to the orthogonal polynomial regression method, errors compensation can be obtained
σ r = β 0 + β 1 X + β 2 X 2 + + β j X j ( j = 1 , 2 , 3 , )
where σ r represents errors corresponding to motor position commands-X, j is the order of the polynomial, β 0 represents regression constant, β 1 β j are the regression coefficient, and their calculation formula can be found in the Formula (A21).
For the convenience of subsequent calculation, let X = ϕ 1 ( x ) ,   X 2 = ϕ 2 ( x ) and X j = ϕ j ( x ) , then Equation (A15) becomes
σ r = β 0 + β 1 ϕ 1 ( x ) + β 2 ϕ 2 ( x ) + + β j ϕ j ( x )
ϕ j ( x ) can be calculated by the Formula (A17)
{ ϕ 1 ( x ) = x x ¯ ϕ 2 ( x ) = ( x x ¯ ) 2 n 2 1 12 ϕ 3 ( x ) = ( x x ¯ ) 3 3 n 2 7 20 ( x x ¯ ) ϕ 4 ( x ) = ( x x ¯ ) 4 3 n 2 13 14 ( x x ¯ ) 2 + 3 ( n 2 1 ) ( n 2 9 ) 560 ϕ p + 1 ( x ) = ϕ 1 ( x ) ϕ p ( x ) p 2 ( n 2 p 2 ) 4 ( 4 p 2 1 ) ϕ p 1 ( x )
where n is the number of measurement points, x ¯ = ( 1 + 2 + 3 + + n ) / n , p = 1 , 2 , 3 .
As can be seen from above, there is orthogonality between the variables, then
{ ϕ 2 j ( x ) 0 j = 1 , 2 , ϕ α ( x ) ϕ β ( x ) = 0 α , β = 1 , 2 , , α β
then
{ l α β = [ ϕ α ( x ) φ α ( x ) ] [ ϕ β ( x ) φ β ( x ) ] = ϕ α ( x ) ϕ β ( x ) = 0 ( α , β = 1 , 2 , , α β ) l α α = [ ϕ α ( x ) φ α ( x ) ] 2 = ϕ α ( x ) 2 ( α = 1 , 2 , ) l j y = [ ϕ j ( x ) φ j ( x ) ] [ σ r σ ¯ r ] = ϕ j ( x ) σ r ( j = 1 , 2 , ) φ α ( x ) = 1 n ϕ α ( x ) = 0 ( α = 1 , 2 , )
then the normal equations are
{ ϕ 1 2 ( x i ) β 1 = ϕ 1 ( x ) σ r i ϕ 2 2 ( x i ) β 2 = ϕ 2 ( x ) σ r i ϕ j 2 ( x i ) β r = ϕ j ( x ) σ r i
The regression coefficient is
{ β 0 = 1 n σ r i β j = ϕ j ( x i ) σ r i ϕ j 2 ( x i ) i = 1 , 2 , n
From the above formulas, the regression equation between the motor position commands and the geometric errors can be established, then the significance of the regression equation and the regression coefficient can be tested. The test method can be based on the formulas in Table A1 of the orthogonal polynomial regression variance analysis. If the higher-order items are not significant, they can be eliminated. If the accuracy of the regression equation is not satisfactory enough, the higher-order terms can be added, and the regression coefficients that have been calculated need not be recalculated.
Table A1. Analysis of variance of orthogonal polynomials.
Table A1. Analysis of variance of orthogonal polynomials.
Source of VarianceSum of SquaresFreedomMean SquareThe F Value
r e g r e s s i o n { ϕ 1 ( x ) ϕ 2 ( x ) ϕ j ( x ) S R { β 1 B 1 β 2 B 2 β j B j { 1 1 1 β 1 B 1 β 2 B 2 β j B j F 1 = β 1 B 1 / δ 2 F 2 = β 2 B 2 / δ 2 F j = β j B j / δ 2
Residual Q = l y y β j B j nj − 1 δ 2 = Q n j 1
Sum l y y = σ r 2 1 n ( σ r ) 2 [35]n − 1
In Table A1, l y y represents the sum of the squares of the total deviation, S R represents the sum of the squares of the regression differences.

References

  1. Li, J.; Mei, B.; Shuai, C.; Liu, X.J.; Liu, D. A volumetric positioning error compensation method for five-axis machine tools. Int. J. Adv. Manuf. Technol. 2019, 103, 3979–3989. [Google Scholar] [CrossRef]
  2. Fan, W.; Lu, H.; Zhang, X.; Zhang, Y.; Zeng, R.; Liu, Q. Two-degree-of-freedom dynamic model-based terminal sliding mode control with observer for dual-driving feed stage. Symmetry 2018, 10, 488. [Google Scholar] [CrossRef] [Green Version]
  3. Ma, J.; Chen, S.L.; Kamaldin, N.; Teo, C.S.; Tay, A.; Al Mamun, A.; Tan, K.K. Integrated mechatronic design in the flexure-linked dual-drive gantry by constrained linear-quadratic optimization. IEEE Trans. Ind. Electron. 2018, 65, 2408–2418. [Google Scholar] [CrossRef]
  4. Lu, H.; Fan, W.; Zhang, Y.; Ling, H.; Wang, S.; Alghannam, E.; Duan, M. Cross-coupled fuzzy logic sliding mode control of dual-driving feed system. Adv. Mech. Eng. 2018, 10, 1–17. [Google Scholar] [CrossRef] [Green Version]
  5. Yao, C. Non-synchronous error and modeling of dual-drive system in gantry-type machine tools with travelling bridge. J. Mech. Eng. 2013, 13, 26. [Google Scholar]
  6. Chu, B.; Kim, S.; Hong, D.; Park, H.K.; Park, J. Optimal cross-coupled synchronizing control of dual-drive gantry system for a SMD assembly machine. JSME Int. J. Ser. C Mech. Syst. Mach. Elem. Manuf. 2004, 47, 939–945. [Google Scholar] [CrossRef] [Green Version]
  7. Zhang, C.; He, J.; Jia, L.; Xu, C.; Xiao, Y. Virtual line-shafting control for permanent magnet synchronous motor systems using sliding-mode observer. IET Control Theory Appl. 2015, 9, 456–464. [Google Scholar] [CrossRef]
  8. Duan, M.; Lu, H.; Zhang, X.; Li, Z.; Zhang, Y.; Liu, Q. Multivariate orthogonal polynomial-based positioning error modeling and active compensation of dual-driven feed system. Int. J. Adv. Manuf. Technol. 2019, 104, 2593–2605. [Google Scholar] [CrossRef]
  9. Tao, P.Y.; Yang, G.; Sun, Y.C.; Tomizuka, M.; Lai, C.Y. Product-of-exponential (POE) model for kinematic calibration of robots with joint compliance. In Proceedings of the IEEE/ASME International Conference on Advanced Intelligent Mechatronics, AIM, Kachsiung, Taiwan, 11–14 July 2012; pp. 496–501. [Google Scholar]
  10. Fu, G.; Fu, J.; Xu, Y.; Chen, Z. Product of exponential model for geometric error integration of multi-axis machine tools. Int. J. Adv. Manuf. Technol. 2014, 71, 1653–1667. [Google Scholar] [CrossRef]
  11. Cheng, Q.; Sun, B.; Liu, Z.; Li, J.; Dong, X.; Gu, P. Key geometric error extraction of machine tool based on extended Fourier amplitude sensitivity test method. Int. J. Adv. Manuf. Technol. 2017, 90, 3369–3385. [Google Scholar] [CrossRef]
  12. Fu, G.; Fu, J.; Xu, Y.; Chen, Z.; Lai, J. Accuracy enhancement of five-axis machine tool based on differential motion matrix: Geometric error modeling, identification and compensation. Int. J. Mach. Tools Manuf. 2015, 89, 170–181. [Google Scholar] [CrossRef]
  13. Chen, J.; Lin, S.; He, B. Geometric error compensation for multi-axis CNC machines based on differential transformation. Int. J. Adv. Manuf. Technol. 2014, 71, 635–642. [Google Scholar] [CrossRef]
  14. Fan, K.; Yang, J.; Yang, L. Orthogonal polynomials-based thermally induced spindle and geometric error modeling and compensation. Int. J. Adv. Manuf. Technol. 2013, 65, 1791–1800. [Google Scholar] [CrossRef]
  15. Deng, F.; Tang, Q.; Li, X.; Yang, Y.; Zou, Z. Study on mapping rules and compensation methods of cutting-force-induced errors and process machining precision in gear hobbing. Int. J. Adv. Manuf. Technol. 2018, 97, 3859–3871. [Google Scholar] [CrossRef]
  16. Zhou, B.; Wang, S.; Fang, C.; Sun, S.; Dai, H. Geometric error modeling and compensation for five-axis CNC gear profile grinding machine tools. Int. J. Adv. Manuf. Technol. 2017, 92, 2639–2652. [Google Scholar] [CrossRef]
  17. Zhao, F.; Zhang, C.; Yang, G.; Chen, C. Online machining error estimation method of numerical control gear grinding machine tool based on data analysis of internal sensors. Mech. Syst. Signal Process. 2016, 81, 515–526. [Google Scholar] [CrossRef]
  18. Shimana, K.; Kondo, E.; Chifu, T.; Nakao, M.; Nishimura, Y. Real-Time Estimation of Machining Error Caused by Vibrations of End Mill. Procedia CIRP 2016, 46, 246–249. [Google Scholar] [CrossRef] [Green Version]
  19. Yang, J.; Ding, H.; Zhao, H.; Yan, S. A generalized online estimation algorithm of multi-axis contouring errors for CNC machine tools with rotary axes. Int. J. Adv. Manuf. Technol. 2016, 84, 1239–1251. [Google Scholar] [CrossRef]
  20. Yang, J.; Chen, Y.; Chen, Y.; Zhang, D. A tool path generation and contour error estimation method for four-axis serial machines. Mechatronics 2015, 31, 78–88. [Google Scholar] [CrossRef]
  21. Li, X.; Zhao, H.; Zhao, X.; Ding, H. Dual sliding mode contouring control with high accuracy contour error estimation for five-axis CNC machine tools. Int. J. Mach. Tools Manuf. 2016, 108, 74–82. [Google Scholar] [CrossRef]
  22. Li, T.J.; Zhao, C.Y.; Zhang, Y.M. Prediction method of thermal errors of the screw system in lathes based on moving thermal network. Precis. Eng. 2019, 59, 166–173. [Google Scholar] [CrossRef]
  23. Yang, J.; Altintas, Y. A generalized on-line estimation and control of five-axis contouring errors of CNC machine tools. Int. J. Mach. Tools Manuf. 2015, 88, 9–23. [Google Scholar] [CrossRef]
  24. Cui, G.; Lu, Y.; Li, J.; Gao, D.; Yao, Y. Geometric error compensation software system for CNC machine tools based on NC program reconstructing. Int. J. Adv. Manuf. Technol. 2012, 63, 169–180. [Google Scholar] [CrossRef]
  25. Dumanli, A.; Sencer, B. Pre-compensation of servo tracking errors through data-based reference trajectory modification. CIRP Ann. 2019, 68, 397–400. [Google Scholar] [CrossRef]
  26. Xiang, S.; Altintas, Y. Modeling and compensation of volumetric errors for five-axis machine tools. Int. J. Mach. Tools Manuf. 2016, 101, 65–78. [Google Scholar] [CrossRef]
  27. Chen, Y.; Tang, H.; Tang, Q.; Zhang, A.; Chen, D.; Li, K. Machining error decomposition and compensation of complicated surfaces by EMD method. Meas. J. Int. Meas. Confed. 2018, 116, 341–349. [Google Scholar] [CrossRef]
  28. Wan, A.; Song, L.; Xu, J.; Liu, S.; Chen, K. Calibration and compensation of machine tool volumetric error using a laser tracker. Int. J. Mach. Tools Manuf. 2018, 124, 126–133. [Google Scholar] [CrossRef]
  29. Zhong, G.; Wang, C.; Yang, S.; Zheng, E.; Ge, Y. Position geometric error modeling, identification and compensation for large 5-axis machining center prototype. Int. J. Mach. Tools Manuf. 2015, 89, 142–150. [Google Scholar] [CrossRef]
  30. Wang, Y.; Dang, Y.; Li, Y.; Liu, S. An approach to increase prediction precision of GM(1,1) model based on optimization of the initial condition. Expert Syst. Appl. 2010, 37, 5640–5644. [Google Scholar] [CrossRef]
  31. Kumar, U.; Jain, V.K. Time series models (Grey-Markov, Grey Model with rolling mechanism and singular spectrum analysis) to forecast energy consumption in India. Energy 2010, 35, 1709–1716. [Google Scholar] [CrossRef]
  32. Tian, W.; Gao, W.; Zhang, D.; Huang, T. A general approach for error modeling of machine tools. Int. J. Mach. Tools Manuf. 2014, 79, 17–23. [Google Scholar] [CrossRef]
  33. Paweł, M.; Jastrzębska, J. Simplifications of the volumetric error model because of the structural loop of machine tools. Arch. Mech. Technol. Mater. 2019, 39, 11–15. [Google Scholar] [CrossRef] [Green Version]
  34. ISO 230-3. Test Code for Machine Tools-Part 3: Determination of Thermal Effects; ISO: Geneva, Switzerland, 2007. [Google Scholar]
  35. Ren, L.Q. Optimum Design and Analysis of Experiments, 2nd ed.; Higher Education Press: Beijing, China, 2003. [Google Scholar]
  36. Blanchet, J.; Gallego, G.; Goyal, V. A markov chain approximation to choice modeling. In Proceedings of the Fourteenth ACM Conference on Electronic Commerce, Philadelphia, PA, USA, 16–20 June 2013; ACM: New York, NY, USA, 2013; p. 103. [Google Scholar]
  37. Deng, C.; Xie, S.Q.; Wu, J.; Shao, X.Y. Position error compensation of semi-closed loop servo system using support vector regression and fuzzy PID control. Int. J. Adv. Manuf. Technol. 2014, 71, 887–898. [Google Scholar] [CrossRef]
  38. Ibaraki, S.; Yuasa, K.; Saito, N.; Kojima, N. A Framework for a Large-Scale Machine Tool with Long Coarse Linear Axes under Closed-Loop Volumetric Error Compensation. IEEE/ASME Trans. Mechatron. 2018, 23, 823–832. [Google Scholar] [CrossRef]
  39. ISO 230-2. Test Code for Machine Tools-Part 3: Determination of Accuracy and Repeatability of Positioning of Numerically Controlled Axes; ISO: Geneva, Switzerland, 2014. [Google Scholar]
  40. ISO 230-6. Test Code for Machine Tools-Part 6: Determination of Positoning Accuracy on Body and Face Diagonals (Diagonal Displacement Tests); ISO: Geneva, Switzerland, 2002. [Google Scholar]
  41. Available online: http://www.beckhoff.com.cn/english/[EB/CD] (accessed on 10 November 2018).
Figure 1. The structure of the non-delay error compensation controller.
Figure 1. The structure of the non-delay error compensation controller.
Processes 08 00748 g001
Figure 2. Flow chart of the non-delay error compensation method.
Figure 2. Flow chart of the non-delay error compensation method.
Processes 08 00748 g002
Figure 3. Structure of the dual-driving gantry-type machine tool (DDGTMT).
Figure 3. Structure of the dual-driving gantry-type machine tool (DDGTMT).
Processes 08 00748 g003
Figure 4. Error components and homogeneous coordinate transformation.
Figure 4. Error components and homogeneous coordinate transformation.
Processes 08 00748 g004
Figure 5. The coordinate system setting.
Figure 5. The coordinate system setting.
Processes 08 00748 g005
Figure 6. The overall hardware architecture of the DDGTMT.
Figure 6. The overall hardware architecture of the DDGTMT.
Processes 08 00748 g006
Figure 7. Principle of optical scale measurement positioning errors.
Figure 7. Principle of optical scale measurement positioning errors.
Processes 08 00748 g007
Figure 8. The experimental diagram of error measurement. (a) Principle of straightness errors and angle error measurement; (b) the experimental setup of straightness errors Δ X y measurement; (c) the experimental setup of straightness errors Δ Y x measurement.
Figure 8. The experimental diagram of error measurement. (a) Principle of straightness errors and angle error measurement; (b) the experimental setup of straightness errors Δ X y measurement; (c) the experimental setup of straightness errors Δ Y x measurement.
Processes 08 00748 g008
Figure 9. Positioning error curves of Δ X x 1 and Δ X x 2 . (a) x1-axis positioning error curve; (b) x2-axis positioning error curves.
Figure 9. Positioning error curves of Δ X x 1 and Δ X x 2 . (a) x1-axis positioning error curve; (b) x2-axis positioning error curves.
Processes 08 00748 g009
Figure 10. Positioning error curves of Δ Y y and Δ Z z , (a) y-axis positioning error curves (b) z-axis positioning error curves.
Figure 10. Positioning error curves of Δ Y y and Δ Z z , (a) y-axis positioning error curves (b) z-axis positioning error curves.
Processes 08 00748 g010
Figure 11. Straightness error curves of Δ Y x and Δ X y . (a) Straightness errors Δ Y x curves; (b) straightness errors Δ X y curves.
Figure 11. Straightness error curves of Δ Y x and Δ X y . (a) Straightness errors Δ Y x curves; (b) straightness errors Δ X y curves.
Processes 08 00748 g011
Figure 12. The fitting curve of x1-axis positioning errors.
Figure 12. The fitting curve of x1-axis positioning errors.
Processes 08 00748 g012
Figure 13. Schematic diagram of virtual axis-electronic cam error compensation method.
Figure 13. Schematic diagram of virtual axis-electronic cam error compensation method.
Processes 08 00748 g013
Figure 14. Creating virtual master axis, electronic cam slave axis and cam table.
Figure 14. Creating virtual master axis, electronic cam slave axis and cam table.
Processes 08 00748 g014
Figure 15. Error compensation experiments. (a) The measurement principle of tool center positioning errors; (b) error compensation with the tool center moving along the Y-direction; (c) error compensation with the tool center moving along the X-direction.
Figure 15. Error compensation experiments. (a) The measurement principle of tool center positioning errors; (b) error compensation with the tool center moving along the Y-direction; (c) error compensation with the tool center moving along the X-direction.
Processes 08 00748 g015
Figure 16. Space motion error compensation experiments.
Figure 16. Space motion error compensation experiments.
Processes 08 00748 g016
Figure 17. Uncompensated error results of the tool center.
Figure 17. Uncompensated error results of the tool center.
Processes 08 00748 g017
Figure 18. Traditional error compensation results. (a) Traditional error compensation results with the tool center moving along the X-direction; (b) traditional error compensation results with the tool center moving along the Y-direction.
Figure 18. Traditional error compensation results. (a) Traditional error compensation results with the tool center moving along the X-direction; (b) traditional error compensation results with the tool center moving along the Y-direction.
Processes 08 00748 g018
Figure 19. Non-delay error compensation results. (a) Non-delay error compensation results with the tool center moving along the X-direction; (b) non-delay error compensation results with the tool center moving along the Y-direction.
Figure 19. Non-delay error compensation results. (a) Non-delay error compensation results with the tool center moving along the X-direction; (b) non-delay error compensation results with the tool center moving along the Y-direction.
Processes 08 00748 g019
Table 1. Published applications of error modeling methods.
Table 1. Published applications of error modeling methods.
Research ObjectsError Modeling MethodsProperties
Robot manipulators [9]
Multi-axis machine tool [10]
Product of exponential (POE)-equation A better description of robots motion [10]
Three-axis vertical machining center [11]Screw theoryRealization of geometric error sources, definite physical meanings [11]
Multi-axis CNC machines [12,13]Differential transform theoryThe geometric error is equivalent to the differential movement [12]
CNC machine tool [14]Orthogonal polynomials Easy to calculate and program [14]
Gear hobbing machine [15]
Five-axis CNC gear profile grinding machine tools [16]
Multi-body system (MBS)The modeling process is convenient and intuitive [16]
Table 2. Parameters of the DDGTMT.
Table 2. Parameters of the DDGTMT.
ParameterMagnitude
X-direction stroke2000 mm
Y-direction stroke1000 mm
Z-direction stroke
Maximum velocity in Z-direction
30 mm
3000 mm/min
Maximum velocity in X-direction and Y-direction10,000 mm/min
Table 3. Components of geometric errors.
Table 3. Components of geometric errors.
AxisError Components
x - axis Δ X x , Δ Y x , Δ Z x , θ X x , θ Y x , θ Z x
y - axis Δ X y , Δ Y y , Δ Z y , θ X y , θ Y y , θ Z y
z - axis Δ X z , Δ Y z , Δ Z z , θ X z , θ Y z , θ Z z
Table 4. Angle errors of the machine tool.
Table 4. Angle errors of the machine tool.
θ X x θ Y x θ Z x
0.0016 μm/mm0.0024 μm/mm0.0021 μm/mm
θ X y θ Y y θ Z y
0.0026 μm/mm0.0022 μm/mm0.0014 μm/mm
θ X z θ Y z θ Z z
0.0017 μm/mm0.0021 μm/mm0.0019 μm/mm
Table 5. Comparison between the predicted data of x1-axis positioning errors and the actual value.
Table 5. Comparison between the predicted data of x1-axis positioning errors and the actual value.
Number Measured Value (μm) e m Predicted Value (μm) e p Relative Residuals r = | e m e p | / | e m | Accuracy
11−32.1−31.80.93%99.07%
12−32.4−32.01.20%98.80%
13−32.2−32.50.93%99.07%
14−33.5−33.20.90%99.10%
15−33.6−33.80.60%99.40%
Table 6. Calculation of orthogonal polynomials.
Table 6. Calculation of orthogonal polynomials.
n ϕ 1 ϕ 2 5 ϕ 3 / 6 ϕ 4 / 12 ϕ 5 / 40 σ i (μm) σ i 2
1−515−306−30.00.00
2−466−66−3.512.25
3−3−122−61−9.284.64
4−2−623−1−4−20.7428.49
5−1−9144−4−31.81011.24
60−10060−42.41797.76
71−9−1444−53.52862.25
82−6−23−14−61.93831.61
93−1−22−6−1−71.75140.89
1046−6−6−6−81.26593.44
115153063−95.39082.09
B j −1078.9−169.5233.6−91.2−8.8 σ i = 471.2 , i = 1 , 2 , , n
S j 1108584290286156 σ i 2 = 30844.66 , i = 1 , 2 , , n
β j = B j / S j −9.808−0.1980.054−0.319−0.056 β 0 = −42.84
p j = B j 2 / S j 10582.0533.4912.7229.080.49
Table 7. Analysis of variance of orthogonal polynomials.
Table 7. Analysis of variance of orthogonal polynomials.
Source of VarianceSum of SquareFreedomMean SquareF Value
r e g r e s s i o n { ϕ 1 ( x ) ϕ 2 ( x ) ϕ 3 ( x ) ϕ 4 ( x ) ϕ 5 ( x ) 10667.77 { 10592.47 33.12 12.16 29.13 0.46 5 { 1 1 1 1 1 10582.05 33.49 12.72 29.08 0.49 F 1 = 22664.04 F 2 = 71.72 F 3 = 27.24 F 4 = 62.29 F 5 = 1.06
Residual 2.3350.46
Sum 10660.1710
Table 8. Servo parameters of x1-axis and x2-axis motors.
Table 8. Servo parameters of x1-axis and x2-axis motors.
Control LoopsServo Motors
x1-axisx2-axis
Position control K v = 1.0 ( 1000 / min ) K v = 1.1 ( 1000 / min )
Velocity control K p = 1.41 A / ( r a d / s ) K p = 1.43 A / ( r a d / s )
T n = 8 m s T n = 8 m s
Table 9. Space motion error compensation results.
Table 9. Space motion error compensation results.
VelocityAxisNo Compensation Traditional Method e t r Non-Delay Method e n o n Improvement Result η = | e t r e n o n | / | e t r |
V = 1000 mm/min x1-axis−92.1 μm−7.5 μm−4.2 μm44.0%
x2-axis−98.3 μm−10.1 μm−7.3 μm27.7%
y-axis19.9 μm8.4 μm5.1 μm39.3%
z-axis−12.3 μm−4.3 μm−2.6 μm39.5%
V = 2000 mm/min x1-axis−96.6 μm−11.5 μm−6.7 μm41.7%
x2-axis−101.3 μm−13.3 μm−9.2 μm30.8%
y-axis25.4 μm12.1 μm7.3 μm39.7%
z-axis−14.6 μm−6.9 μm−4.5 μm34.8%
V = 3000 mm/min x1-axis−101.9 μm−16.3 μm−12.6 μm22.7%
x2-axis−110.4 μm−11.4 μm−7.8 μm31.6%
y-axis23.4 μm13.8 μm9.7 μm29.7%
z-axis−14.2 μm−8.4 μm−5.9 μm29.8%

Share and Cite

MDPI and ACS Style

Liu, Q.; Lu, H.; Zhang, X.; Qiao, Y.; Cheng, Q.; Zhang, Y.; Wang, Y. A Non-Delay Error Compensation Method for Dual-Driving Gantry-Type Machine Tool. Processes 2020, 8, 748. https://0-doi-org.brum.beds.ac.uk/10.3390/pr8070748

AMA Style

Liu Q, Lu H, Zhang X, Qiao Y, Cheng Q, Zhang Y, Wang Y. A Non-Delay Error Compensation Method for Dual-Driving Gantry-Type Machine Tool. Processes. 2020; 8(7):748. https://0-doi-org.brum.beds.ac.uk/10.3390/pr8070748

Chicago/Turabian Style

Liu, Qi, Hong Lu, Xinbao Zhang, Yu Qiao, Qian Cheng, Yongquan Zhang, and Yongjing Wang. 2020. "A Non-Delay Error Compensation Method for Dual-Driving Gantry-Type Machine Tool" Processes 8, no. 7: 748. https://0-doi-org.brum.beds.ac.uk/10.3390/pr8070748

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop