Next Article in Journal
Document-Level Event Role Filler Extraction Using Key-Value Memory Network
Previous Article in Journal
Discovering and Ranking Relevant Comment for Chinese Automatic Question-Answering System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Error Similarity Analysis and Error Compensation of Industrial Robots with Uncertainties of TCP Calibration

1
College of Mechanical and Electrical Engineering, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China
2
Jiangsu Key Laboratory of Precision and Micro-Manufacturing Technology, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China
3
Academy of China Changfeng ELectro-Mechanical Technology, Beijing 100854, China
4
Hubei Institute of Aerospacecraft, Wuhan 430023, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2023, 13(4), 2722; https://doi.org/10.3390/app13042722
Submission received: 23 November 2022 / Revised: 16 February 2023 / Accepted: 17 February 2023 / Published: 20 February 2023
(This article belongs to the Section Robotics and Automation)

Abstract

:
The machining system based on an industrial robot is a new type of equipment to meet the requirements of high quality, high efficiency and high flexibility for large and complex components of aircraft and spacecraft. The error compensation technology is widely used in robotic machining to improve the positioning accuracy of an industrial robot with the intention of meeting the precision requirements of aerospace manufacturing. However, the robot’s positioning accuracy decreases significantly when the orientation of the tool changes dramatically. This stems from the fact that the existing robot compensation methods ignore the uncertainties of Tool Center Point (TCP) calibration. This paper presents a novel regionalized compensation method for improving the positioning accuracy of the robot with calibration uncertainties and large orientation variation of the TCP. The method is experimentally validated through the drilling of curved surface parts of plexiglass using a KUKA KR2830MT robot. Compared with a published error compensation method, the proposed approach improves the positioning accuracy of the robot under the large orientation variation to 0.235 mm. This research can broaden the field of robot calibration technology and further improve the adaptability of robotic machining.

1. Introduction

Recently, robots have been increasingly used in the field of mechanical machining [1,2], especially in scenarios that require high precision, high efficiency, and flexibility, such as for aerospace assembly [3,4] and metal and composite material milling [5,6,7]. However, the typical positioning accuracy of the robot is merely ±1 mm [8] with the control method in the original controller provided by the robot company, which is difficult to satisfy the needs of high-precision machining tasks. Robot error compensation technology is an effective measure to cope with this problem.
Error compensation refers to the technology using measuring equipment combined with certain numerical algorithms to reduce or eliminate the positioning error of an industrial robot. Robot error compensation can be categorized into two categories: online and offline compensation. The former needs to rely on a sensor such as a laser tracker to measure the actual positions of the robot’s TCP online and then to compensate for the TCP error in real-time. Electroimpact Inc. [3,9] developed an accurate industrial robot by attaching the optical encoder to each joint of the robot and customizing the Siemens numerical control system with real-time compensation algorithms. Modification of the robot joints and the control system resulted in an enhancement of the positioning accuracy from ±2–4 mm to ±0.18 mm with no restriction on tool orientation. Wang [10] proposed methods to correct the path error of a robotic machining system by using a laser tracker of three degrees of freedom and reduced the hole position errors to 0.17 mm in a robotic drilling test. Combining a six-degrees-of-freedom laser tracker and a customized industrial robot with an optical encoder and numerical control system, Schneider [11] further improved the static absolute accuracy of the robot to 0.07 mm. Instead of the laser tracker, Gharaaty [12] used an optical coordinate measure machine to correct the error of the robot and reached an accuracy of ±0.05 mm for position and ±0.05° for orientation. Although online feedback methods can significantly amend the accuracy of industrial robots, the high dependency on precise measuring instruments during the entire operation time is hardly acceptable in complex industrial sites.
The off-line compensation methods are typically divided into kinematic calibration and non-kinematic compensation. Kinematic calibration methods identify robot kinematic parameter errors and the transformation relationship of TCP by measurement results of the Cartesian sampling procedure. Rocadas [13] mounted three High Modulus Polyester cords on the end of the robot to measure the position of the TCP and calibrate the robot. The result showed an enhancement from an initial average positioning error of 17.88 mm–1.16 mm. Gaudreault [14] proposed a calibration method using three dial gauges and the calibration balls, which reduced the positioning error to within 0.5 mm in the target workspace. Ikits [15] compared an in-contact method using a plane constraint and an off-contact method using a 3D motion tracking system, which improved the RMS errors of the robot to 0.2515 mm and 0.156 mm, respectively. Through the laser tracker with higher precision, Wu [16] proposed a calibration method based on the six-degrees-of-freedom pose measuring strategy, which requires the mounting of three reflectors at the end of the robot and reduces the max error of the robot to 0.32 mm. To avoid the transformation error of frames between the measurement device and the robot, Wang [17] calibrated the robot by measuring the distance accuracy and increased the absolute accuracy to 0.27 mm in a single direction. However, the accuracy achieved by kinematic calibration methods still failed to meet the requirements of aerospace manufacturing, which is 0.25mm for the vast majority of applications[3], because of the neglect of non-kinematic errors.
To further enhance the accuracy of industrial robots, non-kinematic compensation methods emerged. It can be further divided into compensation methods targeting specific non-kinematic error characteristics and compensation methods based on the principle of error similarity. The former mainly includes robot compliance error [18,19,20] and thermal drift error [21,22]. The basic principle of error similarity is that there is a correlation between the robot positioning errors in Cartesian space and joint space. Based on this principle, one can estimate the error of desired points by the error of sampled points. Commonly used estimation methods include spatial interpolation, a neural network and the Kriging method. Tian [23] proposed an inverse distance weighted interpolation method for the robotic drilling system on the moving rail. Alici [24] compared estimation functions, including Fourier polynomials and ordinary polynomials, with robot joint angles as the variables. To further improve the accuracy of non-kinematic compensation methods, a lot of methods using neural networks have been proposed. Li [25] used a neural network optimized by genetic particle swarm optimization and reduced the positioning error of the robot to 0.227 mm via a robotic drilling test. Zhao [26] developed two hidden layers of deep neural networks to estimate the error and reached an accuracy of 0.22 mm. Wang [27] combined the inverse distance weighted method and deep belief network, which led to an accuracy of 0.24 mm. Our previous research [28,29] developed error-similarity-based estimation methods in joint space to estimate the error in the entire Cartesian workspace, achieving an accuracy of 0.3 mm. However, the existing robotic drilling system is often used in wing skin assembly scenarios, as shown in Figure 1, where the robot’s orientation variation is usually less than ±10°. In these cases, the method in Ref. [28] combined with other offline compensation methods ignores the uncertainties of TCP calibration and is limited to applications with small variations in TCP orientation [30]. As a result, when the tool has a large orientation variation, the positioning accuracy of the robot varies, and the robot accuracy after error compensation still cannot meet the requirements of aerospace manufacturing.
To deal with the problem mentioned above, a regionalized robot compensation approach based on error similarity is proposed in this study. A novel TCP calibration method is proposed to reduce the initial positioning error of the robot in each region. Then, the offline compensation method based on error similarity is used to further compensate for the positioning error of the robot in each region so that the robot maintains high positioning accuracy under the large orientation variation of TCP in the whole workspace. The main contributions of this paper are listed below.
(1)
The influence of TCP calibration uncertainties on the Cartesian positioning error similarity is analyzed compared with Ref. [29], which only considered joint errors;
(2)
Considering the uncertainties of TCP calibration, a robot compensation method based on regionalized error similarity is proposed, which broadens the application limits of robot compensation technology;
(3)
The proposed method is applied successfully to the robotic drilling, which effectively reduces the positioning error under the large variation of the TCP, and the accuracy is improved from 0.96 mm with the method in Ref. [28] to 0.23 mm.
The structure of the rest of this paper is outlined as follows. In Section 2, the uncertainties in TCP calibration and their impact on the robot’s error similarity are analyzed and modeled. Then, a TCP calibration method to reduce initial positioning error and a regionalized error similarity offline compensation method are presented. The experimental setup is introduced in Section 3. The experiments and their results, as well as the effectiveness of the proposed method, are discussed in Section 4. Finally, Section 5 summarizes the findings of this study.

2. Methods

2.1. Error Similarity Analysis with TCP Calibration Uncertainties

The Cartesian error similarity with respect to (w.r.t.) the joint space is analyzed in Ref. [29]. However, the uncertainties of TCP calibration are ignored and result in the limitation of applications with small variations of tool orientations. To find a compensation method that is suitable for large orientation variations of TCP, the uncertainties of TCP calibration must be taken into consideration. For this purpose, error similarity analysis with uncertainties of TCP calibration is carried out in this section.
The KUKA KR500-2830 industrial robot is considered in this study. Its DH model [31] is shown in Figure 2, where O i X i Y i Z i represents the fixed frame attached to the ith link of the robot. In particular, O 0 X 0 Y 0 Z 0 represents the base frame of the robot and is denoted as {B}; O 6 X 6 Y 6 Z 6 represents the wrist frame of the robot and is denoted as {W}. In addition, O T X T Y T Z T represents the TCP frame of the robot and is denoted as {T}. The transformation matrix of TCP frame {T} w.r.t. base frame {B} can be formulated as in Ref. [13].
B T T = 0 T 1 1 T 2 2 T 3 3 T 4 4 T 5 5 T 6 W T T
where the first 6 transformation matrices can be expressed by
i 1 T i = Trans ( 0 , 0 , d i ) Rot ( θ i , 0 , 0 ) Trans ( a i , 0 , 0 ) Rot ( 0 , 0 , α i ) i = 1 , , 6
with d i , θ i , a i , α i being the link offset, joint angle, link length and link twist of the ith link, respectively Trans ( · ) and Rot ( · ) represents homogeneous translations and rotations matrices which can be expressed as
Trans x , y , z = 1 0 0 x 0 1 0 y 0 0 1 z 0 0 0 1 Rot φ , θ , ψ = c φ c θ c ψ s φ s ψ c φ c θ s ψ s φ c ψ c φ s θ 0 s φ c θ c ψ + c φ s ψ s φ c θ s ψ + c φ c ψ s φ s θ 0 s θ c ψ s θ s ψ c θ 0 0 0 0 1
W T T in Equation (1) can be expressed by
W T T = Trans ( x T , y T , z T ) Rot ( φ T , θ T , ψ T )
where x T , y T , z T represents the position of the origin for the TCP frame {T} w.r.t the wrist frame {W}. φ T , θ T , ψ T represents the orientation transform from {W} to {T} in the Z-Y-X Euler angles.
It can be known from Equation (1) that the positioning error can be divided into two parts which contain robot kinematics error Δ i T i + 1 and calibration error of TCP frame Δ W T T . As can be seen from previous research, when the 2 positions in Cartesian space hold similar joint configurations, the corresponding positioning errors have a certain similarity which can be calculated by semivariance [29] as
γ h = 1 2 k = 1 n N ( h k ) i = 1 n j = 1 N ( h i ) Δ P ( θ i ) Δ P ( θ j ) 2 2
where · 2 represents the Euclid norm of the vector. θ i , θ j R 6 represent the joint angles vector of different TCP positions with a total of n groups. Particularly, for each θ i , θ j R 6 represents the particular joint angle vector for which the Euclidean distance from θ i is h. For each θ i , the total amount of corresponding θ j is denoted as N ( h i ) . The Euclidean distance h between two joint configurations can be expressed by Euclid norm as
h = θ i θ j 2
Δ P ( θ i ) , Δ P ( θ j ) R 3 represents the TCP positioning errors of the corresponding joint configurations and takes the form of
Δ P θ = P θ P θ + Δ θ = i , j
where P θ represents the theoretical position of TCP with the joint configuration of θ . Δ θ is the deviation of joint angles.
However, Equation (7) holds only under the assumption that there is no error in calibrating the TCP frame. When the error exists, Equation (7) must be expanded to the following homogeneous coordinates form.
Δ P θ 1 = P θ 1 P θ + Δ θ 1 Δ W T T O 3 × 1 1
where Δ W T T is the calibration error of the TCP frame. O 3 × 1 represents the 0-column vector in 3 dimensions.
Considering Equation (2), because the only variable is θ i . Trans ( 0 , 0 , d i ) , Trans ( a i , 0 , 0 ) and Rot ( 0 , 0 , α i ) in Equation (2) are all constant matrices. In order to simplify the operation, it can be assumed that
d i = a i = α i = 0 , i = 1 , , 6 Δ θ = Δ θ 1 , , Δ θ 6
which leads to Trans ( 0 , 0 , d i ) , Trans ( a i , 0 , 0 ) and Rot ( 0 , 0 , α i ) transforming into the identity matrix I 4 × 4 .
In addition, since the TCP frame calibration error Δ W T T is independent of W T T , it can be assumed that
W T T = I 3 × 3 O 3 × 1 O 1 × 3 1 Δ W T T = Trans Δ x T , Δ y T , Δ z T Rot Δ φ T , Δ θ T , Δ ψ T
where Δ x T , Δ y T , Δ z T are the translation errors, and Δ φ T , Δ θ T , Δ ψ T are the rotation error.
Substituting Equations (9) and (10) into Equation (7), Equation (7) can be rewritten as
Δ P θ 1 = k = 1 6 Rot θ , k , 0 , 0 k = 1 6 Rot θ , k + Δ θ k , 0 , 0 O 3 × 1 1 = i , j
where θ , k and Δ θ k are the elements of θ and Δ θ respectively. Similarly, by substituting Equation (9) and Equation (10) into Equation (8), Equation (8) can be rewritten as
Δ P θ 1 = k = 1 6 Rot θ , k , 0 , 0 k = 1 6 Rot θ , k + Δ θ k , 0 , 0 Δ W T T O 3 × 1 1 = i , j
By combining Equations (5), (11) and (12), one can obtain
γ h γ ^ h = 1 2 k = 1 n N ( h k ) i = 1 n j = 1 N ( h i ) ( 2 Ξ i ( Δ W T T + I 4 × 4 ) Δ Ξ i ) ( ( Δ W T T I 4 × 4 ) Δ Ξ i ) + ( 2 Ξ j ( Δ W T T + I 4 × 4 ) Δ Ξ j ) ( ( Δ W T T I 4 × 4 ) Δ Ξ j ) + 2 ( Δ Ξ i ( I 4 × 4 Δ W T T ) Ξ j + Ξ i Ξ j ( I 4 × 4 Δ W T T ) + ( Δ Ξ i Δ W T T Δ Ξ j ) ( Δ W T T I 4 × 4 ) + Δ Ξ i ( Δ W T T I 4 × 4 ) Δ Ξ j ) ] O 3 × 1 1 2 2
where
Ξ = k = 1 6 Rot θ , k , 0 , 0 Δ Ξ = k = 1 6 Rot θ , k + Δ θ k , 0 , 0 = i , j
In Equation (13), γ h and γ ^ h represent the situation that the semivariances with and without TCP frame calibration error, respectively. When TCP frame calibration error is ignored,
Δ W T T I 4 × 4 = O 4 × 4
However, due to the calibration error, Equation (15) cannot hold strictly, which leads to Equation (13) not being equal to 0. Therefore, the similarity of TCP positioning error is affected by TCP calibration error.
According to Equation (8), 500 sets of robot positioning errors are randomly generated, and the random errors of each joint angle of the robot are set to a maximum of ± 0 . 1 ° . The calibration error of the TCP frame in each direction is set to a maximum of 0mm, ±1mm and ±5 mm, respectively. The similarity between the positioning errors and the Euclidean distances of the robot joints is shown in Figure 3, Figure 4 and Figure 5. In the figures, the horizontal axis represents the Euclidean distance between corresponding joints in 2 different robot configurations, while the vertical axis represents the deviation of the positioning error between the two corresponding robot configurations.
From Figure 3, it can be seen that without considering the TCP frame establishment error, there is a correlation between the positioning errors of any two points in the Cartesian space and the distance in the joint space. That is, the smaller the distance in joint space (the horizontal axis in the figure), the smaller the difference in positioning errors in the Cartesian space (the vertical axis). Therefore, the unbiased optimal estimation can be used to estimate positioning errors in the Cartesian space.
However, when TCP frame establishment errors are introduced, joint angle errors are coupled with the establishment error. More specifically, affected by TCP calibration error, the similarity in the z-direction seriously loses when the max calibration error is ±1 mm, and so as the x- and y-directions when the max error increase to ±5 mm. Additionally, as the calibration error increases to ±1 mm and further to ±5 mm, the deviation of pose error rises rapidly by more than tenfold. This indicates that estimating the positioning errors in Cartesian space using nearby points in joint space not only fails to effectively compensate for the positioning errors but may even amplify them, resulting in larger errors, as shown in Figure 4 and Figure 5. To sum up, even small TCP calibration errors can result in great impacts on the similarity and predictability of the positioning error. Therefore, it is necessary to eliminate TCP calibration errors. Meanwhile, error similarity varies greatly in different directions, which means that the error estimation model needs to be distinct in each direction.

2.2. Regionalized Calibration of TCP

Since the calibration error of frames is hard to eliminate, we use {BR}, {WR} and {TR} to represent the actual base, wrist and TCP frames, which can be fitted by measuring apparatus. {B}, {W} and {T} represent the theoretical frames of the robot, which cannot be obtained by measurement. The transformation relationships between the frames are represented as
World T BR BR T WR WR T TR = World T TR World T B B T W W T T = World T T
Assuming that the desired TCP frame of the robot is {TD} when the TCP moves to the desired position, the following equation holds,
TR T TD = I 3 × 3 O 3 × 1 O 1 × 3 1
In other words, should the TCP reach the desired position, {TR}, which coincides with {TD}, Equation (17) must be strictly satisfied. However, because of the calibration error of the base frame Δ World T B , TCP frame Δ W T T and robot kinematics error Δ B T W , Equation (17) is hard to hold strictly. The relationship between actual frames, theoretical frames and errors can be formulated as
World T B Δ World T B = World T BR B T W Δ B T W = BR T WR B T W Δ W T T = WR T TR
Substituting Equation (18) into Equation (16), one can obtain
World T B Δ World T B B T W Δ B T W W T T Δ W T T = World T TR
As mentioned in Section 2.1, the error similarity of the robot in the whole workspace is reduced due to the existence of TCP calibration error. To solve the problem above, regionalized error similarity is proposed. The robot workspace can be divided into several regions to be calibrated. Assuming that the positioning error at the center of each region can be reduced as much as possible, the positioning error of all desired positions in this area can be reduced. In order to realize the assumption, control {TR} to make it as close to the center of the region as possible. Afterward, calibrate the {WR} by the relationship between {B} and {W}. Then calibrate {TR} at the center point denoted as {TDR}. Finally, calculate the relationship between {TDR} and {WR} by
World T BR B T W WR T TDR = World T TDR
By combining Equations (18), (19) and (20), one can obtain
World T TR = World T TDR WR T TDR = Δ B T W W T T Δ W T T
Equation (21) shows that when WR T TDR is used as W T T , although actual frames {BR} and {WR} cannot coincide with theoretical frames {B} and {W}, it eliminates the kinematics error and TCP calibration uncertainties. As a result, the positioning error of TCP reduces in the whole region.

2.3. Regionalized Error Similarity Compensation Method

According to the character of error similarity, the positioning error of the robot in Cartesian space can be expressed as an unbiased optimal estimation model related to its joint configuration, and the error of the desired position is estimated depending on the error of the sampling points in the space. However, it can be seen from Section 2 that the TCP calibration error will significantly affect the accuracy of the error estimation. In addition, even if the error estimation method can compensate more than 90% of the positioning error, when the initial positioning error of the robot is too large due to the large orientation variation of the TCP frame, the residual error will still make its positioning accuracy difficult to meet the requirements of the aerospace manufacturing.
For the purpose of solving the above problems, a regionalized error compensation method considering TCP calibration error is proposed. The specific steps are as follows.
Step 1: divide the robot workspace into n regions denoted as Ω 1 , Ω 2 , , Ω n according to the orientation variation of desired TCP frames, as shown in Figure 6. And the center point of each region is selected as T D R 1 , T D R 2 , , T D R n .
Step 2: use the method of Section 2.2 to calibrate the transformation matrix from {WR} to {TR} in each region and denoted as WR T TDR 1 , WR T TDR 2 , WR T TDR n . Then measure the positioning error of the robot in each region.
Step 3: for any desired TCP frame {TDx}, select the corresponding region Ω x according to its orientation and solve the theoretical joint configuration θ x according to the kinematics parameters.
Step 4: the method of Ref. [29] is used to estimate the error of the desired TCP frame.
Step 5: because the estimated error is based on the robot error sampling result, that is, the positioning error when the transformation matrix from {WR} to {TR} WR T TDR x , which is calibrated in the corresponding region. Therefore, it is necessary to transform the calibrated desired TCP frame from WR T TDR x to the default W T T of the robot and finally get the desired TCP frame after calibration, which is denoted as T D x .
For any kind of robot and control system, the above compensation method can be represented by the flow shown in Figure 7. The robot control system (RCS) only needs to send the desired TCP frame to the position compensation system (PCS) and receive the compensated TCP frame from PCS. Obviously, the proposed compensation method has good versatility for any kind of robot and control system.

3. Experimental Studies

The experimental setup is shown in Figure 8, consisting of a KUKA KR500-2830MT industrial robot (KUKA Robotics China Co.,Ltd., Shanghai, China) controlled by a Siemens 840Dsl numerical control system (Siemens Ltd., Berlin and Munich, Germany) and a Reckerth RF170D motor spindle (Hugo Reckerth GmbH, Filderstadt-Bonlanden, Germany). The positioning errors are collected by a Faro VantageE laser tracker (FARO Technologies Inc., Lake Mary, FL, USA). In order to reduce the error caused by repetitive fitting base frame {BR} and the possible temperature drift and zero drift produced by the measuring equipment in the sampling process, three reference targets are set on the platform, and the platform frame {P} is calibrated through these three targets. The transformation relationship between {P} and {BR} is P T BR . During the regionalized TCP calibration and error sampling process, only {P} is re-calibrated, and the actual base frame {BR} can be obtained by World T BR = World T P P T BR .
When executing the NC program in the robot control system, auxiliary code has been added in advance by means of offline programming to indicate that a certain line of command needs to be calibrated. The user-defined HMI interface and R parameters can be used to interact with NC programs so as to transmit the desired TCP frames and compensated TCP frames. Hence, the PCS is developed by an HMI interface and communicates with the 840Dsl CNC system through Ethernet.
The drilling task of typical aeronautical curved surface parts faced by the robotic machining system is shown in Figure 9. For the purpose of verifying the regionalized compensation method proposed in this paper, the drilling area in the range of −110°–−40° and 40°–110°are divided into Region 1 ( Ω 1 ), Region 2 ( Ω 2 ), Region 3 ( Ω 3 ) and Region 4 ( Ω 4 ). The material of the parts to be processed is plexiglass. The spindle speed and feeding speed of the drilling process are 3000 rpm and 1 mm/s, respectively.

4. Results

In order to avoid the influence of kinematics parameter errors excepting joint angles on the pose error, the kinematics parameters of the robot, including 24 DH parameters and the default W T T are calibrated by the least squares method in Ref. [13]. The calibrated DH parameters are listed in Table 1.
The {TDR} and W T T is calibrated by the proposed means in Section 2.2 in the center of each region. The results are shown in Table 2, where the W T T calibrated by the least square method is denoted as Ω 0 .
It can be seen that the maximum difference of the W T T appears in the Y direction, and the maximum deviation of Y from Ω 1 to Ω 4 is 1.39 mm, but the maximum deviation of Y from working regions to Ω 0 is 9.92 mm, which is caused by the large change of the orientation in the Y O Z plane of the robot base frame. Simultaneously, it can be seen from Table 3 that the distances between the origin of four W T T in the drilling regions from Ω 1 to Ω 4 (up to 4.44 mm) are much smaller than those between the drilling regions and Ω 0 (up to 9.98 mm), which shows that the positioning error of the robot with large orientation variation seriously affects the positioning accuracy of the actual wrist frame, so that the W T T calibrated by the least square method is no longer applicable. However, the distance of the ipsilateral regions ( Ω 1 vs. Ω 2 and Ω 3 vs. Ω 4 ) is 1.08 mm and 1.1 mm, which indicates that even if the positions are close, W T T will also be affected by the orientation variation.
As shown in Figure 9b, according to the spatial distribution of the drilling task, the length, width and height of sampling space Ω 1 , Ω 2 , Ω 3 and Ω 4 are 300 mm × 300 mm × 500 mm. Latin hypercube sampling [25] is used to plan 100 sampling points in each region, and the positioning errors of {TR} with the W T T calibrated in Ω 0 , Ω 1 , Ω 2   Ω 3 and Ω 4 are collected respectively. After that, the positioning error of the robot is calibrated by the method proposed by Ref. [28] and this paper for comparison. The robot positioning accuracy comparison results are shown in Figure 10, where all 64 desired drilling poses in Ω 1 , 27 poses in Ω 2 , 45 poses in Ω 3 and 50 poses in Ω 4 are tested according to the part drawing.
The experimental results demonstrate that for any region, the proposed method and the method in Ref. [28] both effectively reduce the positioning error. In detail, the differences between the method in Ref. [28] and the proposed method with W T T calibrated in the corresponding regions (blue lines vs. gray lines) are caused by the difference between compensation methods. The differences between the proposed method with W T T calibrated in adjacent regions (blue lines vs. yellow lines) are caused by the calibration uncertainties of the TCP frame, which is merely 1.08 mm between Ω 1 and Ω 2 and 1.1 mm between Ω 3 and Ω 4 in total distance. The statistical result of the experiment is demonstrated in Table 4.
As seen in the results, the method in Ref. [28] is able to effectively reduce the maximum error in Ω 1 from 10.6342 mm to 0.9507 mm, resulting in an improvement of accuracy by 91.06%. Similarly, the accuracy in Ω 2 , Ω 3 and Ω 4 increased by 91.76%, 91.02% and 88%, respectively. Despite the significant improvement in error compensation of about 90% in each region, it still falls short of meeting the requirements of a drilling accuracy of 0.25 mm.
In comparison, when using the method proposed in this paper with W T T calibrated in the corresponding region, the maximum errors in Ω 1 , Ω 2 , Ω 3 and Ω 4 are reduced to 0.21 mm, 0.23 mm, 0.2 mm and 0.22 mm, respectively. As opposed to the method in Ref. [28], the accuracy is further improved by 77.91%, 75.08%, 61.33% and 77.3%, which meets the accuracy requirements of the drilling task. However, when the TCP frames are calibrated in the adjacent region, the maximum errors in Ω 1 , Ω 2 , Ω 3 and Ω 4 rise to 0.7061 mm, 0.5798 mm, 0.3565 mm and 0.6618 mm, proving that the division strategy of the region is reasonable.
Other scientists also developed different compensation methods for robots with a large orientation variation. The comparison can be seen in Table 5. In reference [30], Cao divided the joint space into two 3-dimensional subspaces and created spatial grids to compensate for both positioning and orientation errors. However, the positioning accuracy after compensation was still 0.334 mm, which did not meet the requirements for the drilling task. On the other hand, Electroimpact [3] developed high-accuracy robots with an accuracy of 0.18 mm by using optical encoders on each joint and integrating a real-time compensation algorithm into the CNC system. However, this method has the limitations of requiring hardware modification and the real-time compensation algorithm being only accessible to a limited group of companies. In comparison, the method proposed in this paper offers a high accuracy compensation method that is suitable for all robots.
With the aim of further studying the similarity characteristics of positioning errors, the spatial distances and orientation deviations between each desired drilling position and {TDR} in Ω 1 and Ω 2 are calculated, and the regression line is fitted, as shown in Figure 11. Through the comparison of regression functions in Figure 11a,b, it is apparent that in Ω 1 , the effect of orientation on error similarity is significantly higher than that of spatial distance; that is, the more similar the orientation is, the smaller the residual error is. On the other hand, Figure 11c shows that in Ω 2 , the residual error decreases with the increase of spatial distance, which indicates that the similarity of error does not increase with the decrease of distance in Cartesian space, but the accuracy enhances with the descends of orientation deviation, which further proves that the influence of orientation deviation on robot positioning error is greater than that of spatial distance.
The evidence from this experiment suggests that the calibration uncertainties of the TCP frame are the main factors affecting the positioning accuracy of the robot in the drilling task of large orientation variation. Additionally, calibrating W T T in different regions can make better use of the error similarity of the robot to reduce the error. What’s more, it can also be identified that the method in Ref. [28] cannot eliminate the calibration error of the TCP frame. Although increasing the number of sampling positions with different orientations can improve the accuracy to a certain extent, the number of sampling points will increase dramatically. Therefore, by the regionalized calibration method proposed in this paper, the positioning accuracy of robots in Ω 1 , Ω 2 , Ω 3 and Ω 4 can fully meet the requirements of the drilling task, and the sampling time is also controlled within a minimum range, which provides a novel compensation method very suitable for robotic drilling task under large orientation variation.

5. Conclusions

This paper analyzed the influence of TCP calibration uncertainties on robot positioning error similarity. In an effort to eliminate the uncertainties, a novel TCP calibration method and an error compensation method using regionalized error similarity were proposed and adopted in the robotic machining system. Using these proposed methods, the positioning accuracy in the drilling task with a large orientation variation of TCP was improved to 0.23 mm, which meets the machining requirements of aerospace parts.
It is worth noting that the orientation variations in the study primarily occurred in the direction around the x-axis of the robot base frame due to the peculiarities of the parts being processed. For the drilling task with large orientation variation in the three directions, it becomes imperative to establish multiple TCP frames, which would also lower the efficiency. Further study is still needed to determine the division strategy of the workspace and its influence on positioning accuracy.

Author Contributions

Y.L.: Methodology, Investigation, Formal analysis, Writing—original draft. B.L.: Conceptualization, Funding acquisition, Writing—review & Editing. X.Z.: Resources, Supervision, Validation. S.C.: Supervision, Validation, Writing—review & editing. W.Z.: Software, Investigation, Formal analysis. W.T.: Project administration, Funding acquisition, Supervision. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, Nos. 52075256, 52005254 and U22A20204.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

This work has been co-supported by the National Natural Science Foundation of China (Nos. 52075256, 52005254 and U22A20204) and the Jiangsu Key Laboratory of Precision and Micro-Manufacturing Technology.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ji, W.; Wang, L. Industrial robotic machining: A review. Int. J. Adv. Manuf. Technol. 2019, 103, 1239–1255. [Google Scholar] [CrossRef] [Green Version]
  2. Chen, Y.; Dong, F. Robot machining: Recent development and future research issues. Int. J. Adv. Manuf. Technol. 2013, 66, 1489–1497. [Google Scholar] [CrossRef] [Green Version]
  3. Saund, B.; DeVlieg, R. High Accuracy Articulated Robots with CNC Control Systems. SAE Int. J. Aerosp. 2013, 6, 780–784. [Google Scholar] [CrossRef] [Green Version]
  4. Zhu, W.; Qu, W.; Cao, L.; Yang, D.; Ke, Y. An off-line programming system for robotic drilling in aerospace manufacturing. Int. J. Adv. Manuf. Technol. 2013, 68, 2535–2545. [Google Scholar] [CrossRef]
  5. Wu, H.; Wang, Y.; Wei, X.; Zhu, D. Spatial Path Planning for Robotic Milling of Automotive Casting Components Based on Optimal Machining Posture. Metals 2022, 12, 1271. [Google Scholar] [CrossRef]
  6. Yang, B.; Guo, K.; Sun, J. Chatter Detection in Robotic Milling Using Entropy Features. Appl. Sci. 2022, 12, 8276. [Google Scholar] [CrossRef]
  7. Möller, C.; Schmidt, H.C.; Koch, P.; Böhlmann, C.; Kothe, S.-M.; Wollnack, J.; Hintze, W. Machining of large scaled CFRP-Parts with mobile CNC-based robotic system in aerospace industry. Procedia Manuf. 2017, 14, 17–29. [Google Scholar] [CrossRef]
  8. Schneider, U.; Drust, M.; Ansaloni, M.; Lehmann, C.; Pellicciari, M.; Leali, F.; Gunnink, J.W.; Verl, A. Improving robotic machining accuracy through experimental error investigation and modular compensation. Int. J. Adv. Manuf. Technol. 2014, 85, 3–15. [Google Scholar] [CrossRef]
  9. DeVlieg, R.; Szallay, T. Improved Accuracy of Unguided Articulated Robots. SAE Int. J. Aerosp. 2009, 2, 40–45. [Google Scholar] [CrossRef] [Green Version]
  10. Wang, Z.; Zhang, R.; Keogh, P. Real-Time Laser Tracker Compensation of Robotic Drilling and Machining. J. Manuf. Mater. Process. 2020, 4, 79. [Google Scholar] [CrossRef]
  11. Schneider, U.; Posada, J.D.; Drust, M.; Verl, A. Position Control of an Industrial Robot Using an Optical Measurement Sys-tem for Machining Purposes. In Proceedings of the International Conference on Manufacturing Research (ICMR), Cranfield Bedfordshire, UK, 19–20 September 2013; 2013; pp. 307–312. [Google Scholar]
  12. Gharaaty, S.; Shu, T.; Joubair, A.; Xie, W.F.; Bonev, I.A. Online pose correction of an industrial robot using an optical coordinate measure machine system. Int. J. Adv. Robot. Syst. 2018, 15, 1729881418787915. [Google Scholar] [CrossRef] [Green Version]
  13. Rocadas, P.S.; McMaster, R.S. A Robot Cell Calibration Algorithm and Its Use with a 3D Measuring System. In Proceedings of the ISIE ’97 Proceeding of the IEEE International Symposium on Industrial Electronics, Guimaraes, Portugal, 7–11 July 1997; 1, pp. SS297–SS302. [Google Scholar]
  14. Gaudreault, M.; Joubair, A.; Bonev, I.A. Local and closed-loop calibration of an industrial serial robot using a new low-cost 3D measuring device. In Proceedings of the 2016 IEEE International Conference on Robotics and Automation (ICRA), Stockholm, Sweden, 16–21 May 2016; pp. 4312–4319. [Google Scholar] [CrossRef]
  15. Ikits, M.; Hollerbach, J.M. Kinematic Calibration Using a Plane Constraint. In Proceedings of the International Conference on Robotics and Automation, Albuquerque, NM, USA, 25 April 1997; Volume 4, pp. 3191–3196.
  16. Wu, Y.; Klimchik, A.; Caro, S.; Furet, B.; Pashkevich, A. Geometric calibration of industrial robots using enhanced partial pose measurements and design of experiments. Robot. Comput. Integr. Manuf. 2015, 35, 151–168. [Google Scholar] [CrossRef] [Green Version]
  17. Zhenhua, W.; Hui, X.; Guodong, C.; Rongchuan, S.; Sun, L. A distance error based industrial robot kinematic calibration method. Ind. Robot. Int. J. Robot. Res. Appl. 2014, 41, 439–446. [Google Scholar] [CrossRef]
  18. Le, P.-N.; Kang, H.-J. A New Manipulator Calibration Method for the Identification of Kinematic and Compliance Errors Using Optimal Pose Selection. Appl. Sci. 2022, 12, 5422. [Google Scholar] [CrossRef]
  19. Li, G.; Zhang, F.; Fu, Y.; Wang, S. Joint Stiffness Identification and Deformation Compensation of Serial Robots Based on Dual Quaternion Algebra. Appl. Sci. 2019, 9, 65. [Google Scholar] [CrossRef] [Green Version]
  20. Huang, X.; Kong, L.; Dong, G. Modeling and Compensation of Motion Errors for 6-DOF Robotic Manipulators. Appl. Sci. 2021, 11, 10100. [Google Scholar] [CrossRef]
  21. Heisel, U.; Richter, F.; Wurst, K.-H. Thermal Behaviour of Industrial Robots and Possibilities for Error Compensation. CIRP Ann. 1997, 46, 283–286. [Google Scholar] [CrossRef]
  22. Vocetka, M.; Bobovský, Z.; Babjak, J.; Suder, J.; Grushko, S.; Mlotek, J.; Krys, V.; Hagara, M. Influence of Drift on Robot Repeatability and Its Compensation. Appl. Sci. 2021, 11, 10813. [Google Scholar] [CrossRef]
  23. Tian, W.; Zeng, Y.; Zhou, W.; Liao, W. Calibration of robotic drilling systems with a moving rail. Chin. J. Aeronaut. 2014, 27, 1598–1604. [Google Scholar] [CrossRef] [Green Version]
  24. Alici, G.; Shirinzadeh, B. A systematic technique to estimate positioning errors for robot accuracy improvement using laser interferometry based sensing. Mech. Mach. Theory 2005, 40, 879–906. [Google Scholar] [CrossRef]
  25. Li, B.; Tian, W.; Zhang, C.; Hua, F.; Cui, G.; Li, Y. Positioning error compensation of an industrial robot using neural networks and experimental study. Chin. J. Aeronaut. 2022, 35, 346–360. [Google Scholar] [CrossRef]
  26. Zhao, G.; Zhang, P.; Ma, G.; Xiao, W. System identification of the nonlinear residual errors of an industrial robot using massive measurements. Robot. Comput. Manuf. 2019, 59, 104–114. [Google Scholar] [CrossRef]
  27. Wang, W.; Tian, W.; Liao, W.; Li, B.; Hu, J. Error compensation of industrial robot based on deep belief network and error similarity. Robot. Comput. Manuf. 2022, 73, 102220. [Google Scholar] [CrossRef]
  28. Zeng, Y.; Tian, W.; Li, D.; He, X.; Liao, W. An error-similarity-based robot positional accuracy improvement method for a robotic drilling and riveting system. Int. J. Adv. Manuf. Technol. 2017, 88, 2745–2755. [Google Scholar] [CrossRef]
  29. Zeng, Y.; Tian, W.; Liao, W. Positional error similarity analysis for error compensation of industrial robots. Robot. Comput. Integr. Manuf. 2016, 42, 113–120. [Google Scholar] [CrossRef]
  30. Cao, S.; Cheng, Q.; Guo, Y.; Zhu, W.; Wang, H.; Ke, Y. Pose error compensation based on joint space division for 6-DOF robot manipulators. Precis. Eng. 2022, 74, 195–204. [Google Scholar] [CrossRef]
  31. Denavit, J.; Hartenberg, R.S. A Kinematic Notation for Lower-Pair Mechanisms Based on Matrices. J. Appl. Mech. 1955, 22, 215–221. [Google Scholar] [CrossRef]
Figure 1. Working scenarios of existing robotic drilling systems. (a) NUAA robotic drilling system (b) NUAA dual-robot cooperative drilling and riveting system.
Figure 1. Working scenarios of existing robotic drilling systems. (a) NUAA robotic drilling system (b) NUAA dual-robot cooperative drilling and riveting system.
Applsci 13 02722 g001
Figure 2. DH model of KUKA KR500-2830.
Figure 2. DH model of KUKA KR500-2830.
Applsci 13 02722 g002
Figure 3. Error similarity analysis without TCP calibration error. (a) Similarity in the x-axis; (b) similarity in the y-axis; (c) similarity in the z-axis.
Figure 3. Error similarity analysis without TCP calibration error. (a) Similarity in the x-axis; (b) similarity in the y-axis; (c) similarity in the z-axis.
Applsci 13 02722 g003
Figure 4. Error similarity analysis with TCP calibration error within ±1 mm. (a) Similarity in the x-axis; (b) similarity in the y-axis; (c) similarity in the z-axis.
Figure 4. Error similarity analysis with TCP calibration error within ±1 mm. (a) Similarity in the x-axis; (b) similarity in the y-axis; (c) similarity in the z-axis.
Applsci 13 02722 g004
Figure 5. Error similarity analysis with TCP calibration error within ±5 mm (a) Similarity in the x-axis; (b) similarity in the y-axis; (c) similarity in the z-axis.
Figure 5. Error similarity analysis with TCP calibration error within ±5 mm (a) Similarity in the x-axis; (b) similarity in the y-axis; (c) similarity in the z-axis.
Applsci 13 02722 g005
Figure 6. Regionalized error similarity compensation method.
Figure 6. Regionalized error similarity compensation method.
Applsci 13 02722 g006
Figure 7. Robot error compensation process.
Figure 7. Robot error compensation process.
Applsci 13 02722 g007
Figure 8. Experimental setup of the robotic drilling system.
Figure 8. Experimental setup of the robotic drilling system.
Applsci 13 02722 g008
Figure 9. Robotic drilling task. (a) Region division of robotic drilling task; (b) Sampling area division of robotic drilling task.
Figure 9. Robotic drilling task. (a) Region division of robotic drilling task; (b) Sampling area division of robotic drilling task.
Applsci 13 02722 g009
Figure 10. Experimental results of robot compensation. (a) Positioning error of Ω 1 (b) Positioning error of Ω 2 ; (c) Positioning error of Ω 3 ; (d) Positioning error of Ω 4 .
Figure 10. Experimental results of robot compensation. (a) Positioning error of Ω 1 (b) Positioning error of Ω 2 ; (c) Positioning error of Ω 3 ; (d) Positioning error of Ω 4 .
Applsci 13 02722 g010aApplsci 13 02722 g010b
Figure 11. Spatial correlation analysis of residual error. (a) Positioning error of Ω 1 vs. distance; (b) Positioning error of Ω 1 vs. angle deviation; (c) Positioning error of Ω 2 vs. distance and angle deviation.
Figure 11. Spatial correlation analysis of residual error. (a) Positioning error of Ω 1 vs. distance; (b) Positioning error of Ω 1 vs. angle deviation; (c) Positioning error of Ω 2 vs. distance and angle deviation.
Applsci 13 02722 g011
Table 1. Calibrated DH parameters of KUKA KR500-2830.
Table 1. Calibrated DH parameters of KUKA KR500-2830.
Joint Frameθ (°)a (mm)d (mm)α (°)
{B}0000
{O1X1Y1Z1}θ1500.50651045−90
{O2X2Y2Z2}θ2−1300.422500
{O3X3Y3Z3}θ354.390−90
{O4X4Y4Z4}θ40−1025.191390
{O5X5Y5Z5}θ500−90
{O6X6Y6Z6}θ600180
Table 2. Calibration results of W T T in different regions.
Table 2. Calibration results of W T T in different regions.
RegionΩ0Ω1Ω2Ω3Ω4
x T   ( mm )
453.31452.23452.03451.24450.50
y T   ( mm )
5.21−4.71−3.68−3.32−3.52
z T   ( mm )
384383.80383.53386.91387.70
φ T   ( ° )
−140.18−77.64−57.387.55128.34
θ T   ( ° )
−89.99−89.91−89.93−89.86−89.85
ψ T   ( ° )
140.5676.922456.73−87.91−128.74
Table 3. Calibration results of W T T in different regions.
Table 3. Calibration results of W T T in different regions.
Error (mm)Ω0Ω1Ω2Ω3Ω4
Ω0 9.988.999.259.89
Ω19.98 1.083.554.43
Ω28.991.08 3.494.44
Ω39.253.553.49 1.1
Ω49.894.434.441.1 
Table 4. Statistical result of the experiment.
Table 4. Statistical result of the experiment.
Methods Error   Range   of   Ω 1 (mm) Error   Range   of   Ω 2 (mm) Error   Range   of   Ω 3   ( mm ) Error   Range   of   Ω 4   ( mm )
Uncompensated[9.2737, 10.6342][9.4061, 10.3392][3.4253, 5.6238][4.455, 7.997]
Method in Ref. [28][0.0723, 0.9507][0.1288, 0.8524][0.1216, 0.5048][0.1194, 0.9593]
Proposed method with corresponding W T T [0.0623, 0.2099][0.011, 0.2348][0.0058, 0.1952][0.031, 0.2178]
Proposed method with W T T of the adjacent region[0.2114, 0.7061][0.0542, 0.5798][0.0162, 0.3565][0.0602, 0.6618]
Table 5. Comparison with other compensation methods considering orientation variation.
Table 5. Comparison with other compensation methods considering orientation variation.
MethodsError without Compensation (mm)Error after Compensation (mm)Orientation Variation (°)Secondary Encoder Needed (Y/N)Number of Sampling Points
Electroimpact [3]Not available0.18No restrictionY600
Cao [30]8.4730.334[−20°, 20°]N750
This paper10.63420.2348[−110°, 110°]N400
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Li, Y.; Li, B.; Zhao, X.; Cheng, S.; Zhang, W.; Tian, W. Error Similarity Analysis and Error Compensation of Industrial Robots with Uncertainties of TCP Calibration. Appl. Sci. 2023, 13, 2722. https://doi.org/10.3390/app13042722

AMA Style

Li Y, Li B, Zhao X, Cheng S, Zhang W, Tian W. Error Similarity Analysis and Error Compensation of Industrial Robots with Uncertainties of TCP Calibration. Applied Sciences. 2023; 13(4):2722. https://doi.org/10.3390/app13042722

Chicago/Turabian Style

Li, Yufei, Bo Li, Xidong Zhao, Simiao Cheng, Wei Zhang, and Wei Tian. 2023. "Error Similarity Analysis and Error Compensation of Industrial Robots with Uncertainties of TCP Calibration" Applied Sciences 13, no. 4: 2722. https://doi.org/10.3390/app13042722

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