Next Article in Journal
Maintainability Analysis of Remotely Operated LNG Marine Loading Arms Based on UNE 151001 Standard
Next Article in Special Issue
The Grinding and Correction of Face Gears Based on an Internal Gear Grinding Machine
Previous Article in Journal
Experimental Evaluation of Flexible Fixture Stiffness for Steering Knuckles When Loading a Milling Machine Tool
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Kinematic Parameter Identification and Error Compensation of Industrial Robots Based on Unscented Kalman Filter with Adaptive Process Noise Covariance

1
Faculty of Mechanical and Electrical Engineering, Kunming University of Science and Technology, Kunming 650500, China
2
Yunnan Key Laboratory of Intelligent Control and Application, Kunming 650500, China
*
Author to whom correspondence should be addressed.
Machines 2024, 12(6), 406; https://doi.org/10.3390/machines12060406
Submission received: 20 May 2024 / Revised: 6 June 2024 / Accepted: 6 June 2024 / Published: 12 June 2024

Abstract

:
Kinematic calibration plays a pivotal role in enhancing the absolute positioning accuracy of industrial robots, with parameter identification and error compensation constituting its core components. While the conventional parameter identification method, based on linearization, has shown promise, it suffers from the loss of high-order system information. To address this issue, we propose an unscented Kalman filter (UKF) with adaptive process noise covariance for robot kinematic parameter identification. The kinematic model of a typical 6-degree-of-freedom industrial robot is established. The UKF is introduced to identify the unknown constant parameters within this model. To mitigate the reliance of the UKF on the process noise covariance, an adaptive process noise covariance strategy is proposed to adjust and correct this covariance. The effectiveness of the proposed algorithm is then demonstrated through identification and error compensation experiments for the industrial robot. Results indicate its superior stability and accuracy across various initial conditions. Compared to the conventional UKF algorithm, the proposed approach enhances the robot’s accuracy stability by 25% under differing initial conditions. Moreover, compared to alternative methods such as the extended Kalman algorithm, particle swarm optimization algorithm, and grey wolf algorithm, the proposed approach yields average improvements of 4.13%, 26.47%, and 41.59%, respectively.

1. Introduction

With the development of industrial automation and flexibility in recent years, the demand for industrial robots has been increasing rapidly, and the requirements for the accuracy of robots are also growing, especially in the automotive and aerospace industries [1]. The positioning accuracy of industrial robots can be divided into absolute positioning accuracy and repeated positioning accuracy [2]. The repeated positioning accuracy of most industrial robots can reach the 0.01 mm grade [3]. However, the absolute accuracy of industrial robots is much lower, typically 1–2 mm [4]. Industrial applications based on absolute positioning accuracy are becoming wider nowadays, such as for off-line programming, measurement, machining, etc. The kinematic parameter error accounts for about 90% of the total error of industrial robots [5], so kinematic calibration can effectively improve the absolute positioning accuracy of industrial robots.
Kinematic calibration consists of four steps: kinematic modeling, pose measurement, parameter identification, and error compensation [6]. The current research in the field of robot calibration mainly focuses on kinematic modeling and parameter identification. Kinematic models of robots are commonly built using the standard Denavit–Hartenberg (SD-H) model [7], the modified Denavit–Hartenberg model (MD-H) [8], or the product of exponentials (POE) model [9]. The POE modeling method describes the motion between two links using six parameters (rotation matrix and translation vector), making it more suitable for research in robot dynamics and control. D-H modeling is one of the commonly used methods in robot kinematics, utilizing four parameters (a, alpha, d, theta) to depict the rotational and translational relationships between two links. However, modeling non-continuous motions or robots with non-continuous joints requires additional techniques or coordinate systems. The MD-H method ensures modeling continuity by introducing rotational parameters in parallel joints, overcoming singularity issues. To ensure modeling continuity, this paper adopts the MD-H modeling method.
The robot kinematic model obtained based on the MD-H modeling method is highly non-linear, and this model has many parameter identification methods. Bai et al. [10] presented a calibration method that incorporated the Least-Squares (LS) algorithm and Vector Regression to identify the geometric parameters of the IRB1410 robot. LS linearizes the problem using the Jacobian matrix to compute optimal parameters. Wang et al. [11] used the particle swarm algorithm (PSO) to screen out the optimal pose data for calibration and used improved PSO to increase the accuracy of the robot. Peng et al. [12] adopted the elite reverse learning strategy to enhance the initial parameters of the gray wolf algorithm (GWO) and used the algorithm to improve the trajectory accuracy of the robot. PSO and GWO search for optimal parameters through iterative searching methods.
The effect of search algorithms such as PSO and GWO is closely related to the initial conditions, and the efficiency of parameter identification is low. When the data are free of noise interference, LS can iterate quickly and works well, but measurement noise is inevitably introduced during the robot calibration process [13]. For noisy data, using a parameter identification method with filtering functions, such as the extended Kalman filter (EKF), iterative extended Kalman filter (IEKF), unscented Kalman filter (UKF), and particle filter (PF), is an effective method [14,15,16]. Both the EKF and IEKF linearize non-linear systems using Jacobian matrices, resulting in the loss of higher-order information. However, the UKF is based on unscented transformation and retains the information of high-order terms, so it theoretically has higher estimation accuracy and is widely used. However, when the UKF is used to estimate the constant parameters, the process noise covariance matrix significantly influences it [17]. Therefore, this paper proposes an adaptive process noise covariance strategy to overcome this problem.
According to the previous discussion, the commonly used algorithms and characteristics of robot calibration are summarized as shown in Table 1.
The main contributions of this paper are as follows:
(1)
An unscented Kalman filter with Adaptive Process Noise Covariance (APNC-UKF) algorithm for robot kinematic parameter identification is proposed to address the loss of high-order system information of conventional kinematic parameter identification algorithms and improve the identification accuracy.
(2)
By comparing the conventional UKF and the APNC-UKF with different initial parameters, the stability of APNC-UKF parameter identification is proved, which can effectively reduce the number of adjustments of initial parameters.
(3)
Compared with the EKF, IEKF, PF, PSO, and GWO algorithms commonly used in robot calibration, the APNC-UKF proposed in this paper has advantages in the three indicators of maximum, average value, and standard deviation, and the robot compensation accuracy is higher.
The rest of this paper is organized as follows, Section 2 provides a brief overview of related work on the kinematic and error modeling of robotic calibration systems. Section 3 presents the proposed APNC-UKF algorithm for estimating geometric parameters. Section 4 verifies the effectiveness of the proposed method in experiments by comparing it with four other algorithms. Section 5 concludes the paper.

2. Modeling and Problem Formulation

2.1. Robot Kinematic Modeling

This paper uses a 6R general industrial robot as an example to test the proposed method, as shown in Figure 1. Firstly, the robot’s coordinate system is established based on the MD-H method [18]. In turn, the kinematic parameters of the robot are obtained, as shown in Table 2, where α i 1 denotes the link length of joint i − 1, i.e., the length of the common vertical line between joint axis i − 1 and joint axis I; ai−1 denotes the link twist angle, i.e., the angle between the two axes of axis i − 1 rotating to axis i around ai−1; θi denotes the joint rotation angle of joint i, i.e., the angle between the two adjacent linkages rotating around the common axis; and di denotes the link i offset, i.e., the distance along the common axis of two adjacent links.
According to the principle of coordinate homogeneous transformation, the coordinate system relationship between link i − 1 and link i can be represented by the homogeneous transformation matrix T i i 1 :
T i   i 1 = Rot ( x , α i 1 ) · Trans ( x , a i 1 ) · Rot ( z , θ i ) · Trans ( z , d i ) = [ 1 0 0 0 0 c α i 1 s α i 1 0 0 s α i 1 c α i 1 0 0 0 0 1 ] · [ 1 0 0 a i 1 0 1 0 0 0 0 1 0 0 0 0 1 ] · [ c θ s θ 0 0 s θ c θ 0 0 0 0 1 0 0 0 0 1 ] · [ 1 0 0 0 0 1 0 0 0 0 1 d i 0 0 0 1 ] = [ c θ i s θ i 0 a i 1 s θ i c α i 1 c θ i c α i 1 s α i 1 s α i 1 d i s θ i s α i 1 c θ i s α i 1 c α i 1 c α i 1 d i 0 0 0 1 ]
where s represents sin (•) and c represents cos (•). The homogeneous transformation matrix of the robot’s tool center point (TCP) relative to the robot’s base coordinate system (BCS) can be calculated by multiplying the homogeneous transformation matrix between the adjacent links, as shown in (1); then, the position of the robot’s TCP can be obtained by (2).
T 6 0 = 1 0 T · 2 1 T · 3 2 T · 4 3 T · 5 4 T · 6 5 T

2.2. Calibration System Modeling

When using a laser tracker for robot kinematic calibration, the spherical mounted retroreflector (SMR) needs to be mounted on the robot’s end, and the laser tracker collects the position data of the SMR. Thus, the collected data are the position of the SMR in the measuring coordinate system (MCS). Therefore, it is necessary to add the transformation of the BCS to the MCS and the SMR coordinate system to the coordinate system of the robot’s end to (2), which can be modified as:
T tool   word = 0 word T · 1 0 T · 2 1 T · 3 2 T · 4 3 T · 5 4 T · 6 5 T · p tool
where ptool = [lx, ly, lz, 1]T represents the position offset of the SMR relative to the robot’s end, and T 0     word represents the homogeneous transformation matrix from the robot’s BCS to the MCS:
T 0     word = Rot ( z , θ ) · Rot ( y , β ) · Rot ( x , γ ) · Trans ( b x , b y , b z ) = [ c θ s θ 0 0 s θ c θ 0 0 0 0 1 0 0 0 0 1 ] · [ c β 0 s β 0 0 1 0 0 s β 0 c β 0 0 0 0 1 ] · [ 1 0 0 0 0 c γ s γ 0 0 s γ c γ 0 0 0 0 1 ] · [ 0 0 0 b x 0 0 0 b y 0 0 1 b z 0 0 0 1 ]
where A, β, and γ represent the rotation angle of the robot’s base coordinate system relative to the z-axis, y-axis, and x-axis of the measurement coordinate system, respectively. bx, by, and bz represent the offset of the origin of the robot‘s BCS relative to the x-axis, y-axis, and z-axis of the MCS, so the entire calibration system contains 33 parameters. However, only 8 (θ2, θ3, θ4, θ5, a2, a3, a4, d4) of the 24 parameters of the EFORT ER20-C10 robot are open for users to compensate in the robot controller. Thus, 17 parameters are identified in this paper, including 8 for the robot and 9 for the coordinate system conversion from MCS to the robot’s TCP.
The 6 parameters of the conversion of the MCS and the robot‘s BCS and the 3 parameters of the conversion of the robot end coordinate system and the robot’s TCP coordinate system are generally much larger than the others, so they are identified first. This process is called pre-identification in order to align the MCS and the robot’s TCP. After pre-identification, 17 parameters are identified together, including 8 for the robot and 9 for the coordinate system conversion from MCS to the robot’s TCP. This process is called calibration system parameter identification.

3. Calibration System Parameter Identification Based on APNC-UKF

3.1. Parameter Identification Based on UKF

The UKF is used to obtain the influence of non-linear transformation on state estimation through a set of specially selected sigma points [19]. The UKF is different from the conventional Kalman filter and extended Kalman filter. It does not need to expand the Taylor series of the non-linear function (that is, it does not need to calculate the Jacobian matrix for linearization), so it is easier to implement in the high-dimensional state space. It can retain the information of the high-order term so that the identified parameters are more accurate and the calibrated accuracy of the robot is higher.
{ x k + 1 = f k ( x k ) + w k y k = h k ( x k ) + v k w k ~ N ( 0 , Q k ) , v k ~ N ( 0 , R k )
where xk represents the state error of the system at time k, yk is the measured value of the system, f(•) is the state update function, and h(•) is the observation function; both wk and vk are normal distribution white noises with zero mean, and their covariance matrices are Qk and Rk, respectively.
The main steps of the UKF method are as follows:
(1)
Initialization:
P 0 + = E [ ( x 0 x ^ 0 + ) ( x 0 x ^ 0 + ) T ]
where x ^ 0 + is the calibration system parameter error (the initial value is 0) at the previous moment, and its covariance matrix is P 0 + .
(2)
Cycle k = 1, 2, …, n, and completes the following steps.
  • Select 2n sigma points and obtain 2n priori estimates by non-linear system equations:
{ x ˜ ( i ) = { ( n P k 1 + ) i T , i = 1 , 2 , , n ( n P k 1 + ) i T , i = n + 1 , n + 2 , , 2 n x ^ k 1 ( i ) = x ^ k 1 + + x ˜ ( i )
x ^ k ( i ) = f k ( x ^ k 1 ( i ) )
where n is the dimensions of the calibration system, x ˜ ( i ) is the value of 2n sigma points, and x ^ k 1 ( i ) is the prior estimate of the parameter of each sigma point at time k − 1. The parameters in the robot calibration are constant. The prior estimate of 2n sigma points at time k remains unchanged after the state update function, so x ^ k 1 ( i ) and x ^ k ( i ) are equal.
b.
Calculate the prior estimation and prior estimation error covariance:
x ^ k = 1 2 n i = 1 2 n x ^ k ( i )
P k = 1 2 n i = 1 2 n ( x ^ k ( i ) x ^ k ) ( x ^ k ( i ) x ^ k ) T + Q k 1
where x ^ k is the prior estimate of the calibration system parameter error, and P k is the prior estimate covariance matrix.
c.
Select 2n sigma points and obtain 2n measured predicted values through the non-linear measurement equation:
{ x ˜ ( i ) = { ( n P k ) i T , i = 1 , 2 , , n ( n P k ) i T , i = n + 1 , n + 2 , , 2 n x ^ k ( i ) = x ^ k + x ˜ ( i )
y ^ k ( i ) = h k ( x initial + x ^ k ( i ) )
where xinitial is the initial parameters of the calibration system. y ^ k ( i ) is the predicted measurement value obtained by substituting ( x i n i t i a l + x ^ k ( i ) ) of 2n sigma into the measurement equation (robot forward kinematic equation).
d.
Calculate measurement estimation, measurement estimation covariance, and cross-covariance:
{ y ^ k = 1 2 n i = 1 2 n y ^ k ( i ) P y = 1 2 n i = 1 2 n ( y ^ k ( i ) y ^ k ) ( y ^ k ( i ) y ^ k ) T + R k P x y = 1 2 n i = 1 2 n ( x ^ k ( i ) x ^ k ) ( y ^ k ( i ) y ^ k ) T
where y ^ k is the estimated value of the measurement, P y is the covariance matrix of y ^ k , and P x y is the cross-covariance of x ^ k and y ^ k .
e.
Update posterior state estimation and posterior estimation covariance:
{ K k = P x y P y 1 x ^ k + = x ^ k + K k ( y k y ^ k ) P k + = P k K k P y K k T
where Kk is the Kalman gain, x ^ k + is the posterior estimate, and P k + is the covariance matrix of x ^ k + .
Finally, the final parameters are obtained by adding the initial parameter x initial to the iterative geometric parameter error x ^ k + .
x = x initial + x ^ k +

3.2. Limitation Analysis of UKF Used in Robot Calibration

According to the steps of Section 3.1, the UKF algorithm can be used to identify the parameter error of the calibration system. 2n sigma points are calculated by (7), in which the parameter error of the calibration system of the first n sigma points and the parameter errors of the calibration system of the last n sigma points are opposite to each other. Since the parameters of the calibration system are all constants, (8) and (9) can be expressed as follows:
x ^ k ( i ) = f k ( x ^ k 1 ( i ) ) = x ^ k 1 ( i ) = x ^ k 1 + + x ˜ ( i )
x ^ k = 1 2 n i = 1 2 n x ^ k ( i ) = x ^ k 1 +
which means the prior does not correct the calibration system error parameters. Only the covariance matrix Pk of the parameters is corrected, as shown in Figure 2, and (10) can be expressed as:
P k = P k 1 + + Q k 1
Therefore, the Qk matrix greatly influences the generation of sigma points in the posterior, which has an essential influence on the measurement estimation value. Through the implementation of the algorithm in Section 3.1, nine parameters of the robot base coordinate system to the coordinate system of the laser tracker are identified, and the Pk matrix in each prior process is recorded.
Figure 3 shows that the order of magnitude of angle and length parameters is very different. The conventional Qk matrix is a diagonal matrix with the same order of magnitude, so it cannot be applied to robot calibration.
Suppose the Qk matrix is defined according to the magnitude of the error value of the length parameters. In that case, the Qk matrix will disturb the angle parameters in each iteration process and cannot converge. Suppose the Qk matrix is defined according to the magnitude of the angle parameters. In that case, the Qk matrix has little effect on the convergence of the length parameters, thus weakening the identification accuracy of the UKF algorithm.

3.3. APNC-UKF

The problem with the conventional Qk matrix is that it cannot be adaptively adjusted by the magnitude of the angle parameter error and the length parameter error, and the magnitude of the angle parameter error and the length parameter error of different robots are unknown. Therefore, only the information in the iterative process of the algorithm can be captured to correct the Qk matrix. It is known that only a posterior estimation is used to correct the parameter error of the calibration system in each iteration, and the degree of parameter correction in each algorithm iteration is related to the magnitude of the parameter error. Therefore, the magnitude of the parameters can be estimated by the difference between the parameter errors before and after the posterior estimation
δ = x ^ k + x ^ k = [ δ a n g l e δ l e n g t h ] T
where δ is the difference between the parameters of the prior and the posterior. δ a n g l e = [ δ θ 2   δ θ 3   δ θ 4   δ θ 5   δ A   δ β   δ γ ] T represents the difference in the angle parameters. δ l e n g t h = [ δ a 2   δ a 3   δ a 4   δ d 4   δ b x   δ b y   δ b z   δ l x   δ l y   δ l z ] T represents the difference in the length parameters. Due to the unstable convergence of the parameters in the previous algorithm iteration. The ratio of the sum of the angle parameters’ differences to the sum of all parameter differences is used as the weight of the angle parameters, that is, w 1 , and the weight of the length parameters w 2 is the ratio of the sum of the length parameters’ differences to the sum of all parameter differences.
w 1 = J = 1 7 δ a n g l e ( J ) ( J = 1 7 δ a n g l e ( J ) + L = 1 10 δ l e n g t h ( L ) ) 1
w 2 = L = 1 10 δ l e n g t h ( L ) ( J = 1 7 δ a n g l e ( J ) + L = 1 10 δ l e n g t h ( L ) ) 1
The specific steps of the improved UKF algorithm are shown in Algorithm 1, in which the Qk matrix correction formula is expressed as:
Q a n g l e = [ Q θ 2 0 0 0 0 0 0 0 Q θ 3 0 0 0 0 0 0 0 Q θ 4 0 0 0 0 0 0 0 Q θ 5 0 0 0 0 0 0 0 Q A 0 0 0 0 0 0 0 Q β 0 0 0 0 0 0 0 Q γ ]
Q l e n g t h = [ Q a 2 0 0 0 0 0 0 0 0 0 0 Q a 3 0 0 0 0 0 0 0 0 0 0 Q a 4 0 0 0 0 0 0 0 0 0 0 Q d 4 0 0 0 0 0 0 0 0 0 0 Q b x 0 0 0 0 0 0 0 0 0 0 Q b y 0 0 0 0 0 0 0 0 0 0 Q b z 0 0 0 0 0 0 0 0 0 0 Q l x 0 0 0 0 0 0 0 0 0 0 Q l y 0 0 0 0 0 0 0 0 0 0 Q l z ]
Q k = [ Q a n g l e 0 0 Q l e n g t h ] [ w 1 0 0 0 0 0 0 0 0 0 0 0 0 w 1 0 0 0 0 0 0 w 2 0 0 0 0 0 0 0 0 0 0 0 0 w 2 ]
where Qangle represents the process noise covariance matrix of the angle parameters. Qlength represents the process noise covariance matrix of the length parameters. The values of the Qangle and Qlength matrix diagonal are all values initialized by the Qk matrix, which are adjusted by w1 and w2 during the iteration process.
Algorithm 1 APNC-UKF
       /∗Initialization∗/
1 Initialize P0, Q0 and R0
2 Initialize w 1 = 1 and w 2 = 1
3 Initialize x ^ k 1 + = x 0
/∗ APNC-UKF Step∗/
for k = 1, 2, …n
select prior sigma points x ˜ ( i ) via (7)
Calculate x ^ k base on (9)
Calculate Q k base on (24)
Calculate P k base on (10) and Updated Qk
select posterior sigma points x ˜ ( i ) via (11)
Calculate y ^ k , P y and P x y base on (13)
Update K k , x ^ k + and P k + with (14)
Calculate δ , w 1 and w 2 base on (19) (20) (21)
end for
The magnitude of the angle parameters is very small, w2 is almost close to 1, so the magnitude of the Qk matrix initialization is based on the length parameter error magnitude, and the angle parameters’ magnitude of the Qk matrix is adaptively adjusted by the weight w1. In general, the length parameter error of the robot is in the order of 0.1 mm, so the order of x ˜ ( i ) added to the prior estimate x ^ k by the sigma point in (11) should be in the order of 0.1 mm. Through (18), the order of magnitude of the P k matrix can be calculated to be 1 × 10−4, so, the magnitude of the initial Qk matrix is more appropriate to take 1 × 10−4. Alternatively, it can be observed from Figure 3b that the length parameters of the Pk matrix are around 1 × 10−3 or 1 × 10−4. To ensure convergence accuracy, choosing 1 × 10−4 for the Q k matrix is the optimal selection.

4. Experiments

4.1. Experimental Settings

  • Data Acquisition.
As shown in Figure 4, this paper uses a laser tracker to collect data sets for the EFORT ER20-C10 robot. In this experiment, a total of 300 sets of sample data of the robot are planned. The measurement range of the laser tracker typically ranges from 2 m to 50 m. In this paper, there is an approximate distance deviation of 4 m between the robot’s BCS and the MCS. By aligning the coordinate systems, the offset in the x-, y-, and z-directions between the two coordinate systems is approximately 3854 mm, 411 mm, and 888 mm. The data collection range is within a cubic volume of 600 mm × 600 mm × 600 mm. In the robot’s base coordinate system, the range is shown in Table 3:
b.
Experimental steps.
(1)
The position of the robot’s TCP is collected by the laser tracker and Spatial Analyzer (SA) of version 2017.08.11_29326(x64), and the joint angle of the robot is exported by the robot controller.
(2)
Fifty sets of joint angles and positions are selected as the identification set data, and the parameter error obtained by parameter identification is compensated to the controller of the robot. Then, the parameters of the robot are corrected, and the accuracy of the robot is improved.
(3)
The laser tracker and SA software are used to collect the remaining 250 sets of data, and the robot accuracy before and after kinematic parameter identification and compensation is compared.
c.
Evaluation protocol.
The three evaluation indicators of maximum, mean, and standard deviation are widely used to evaluate the performance of the calibration model involved, and they are primarily practiced in [20,21,22].

4.2. Adaptive Strategy Validation

In the UKF algorithm, Pk, Qk, and Rk are the three covariance matrices that need to be input into the system. By adjusting their values, the best effect of the system can be obtained. Therefore, different Pk, Qk, and Rk values greatly influence the accuracy of the robot system’s identification. In this section, the three matrices of Pk, Qk, and Rk are valued from ten orders of magnitude of 1 × 10−0, 1 × 10−1, 1 × 10−2 … and 1 × 10−9, and then arranged and combined to identify the parameter error of the robot calibration system for 1000 times. Then, the effects of the APNC-UKF and conventional UKF are compared. Due to the open root formula in the UKF algorithm, some Pk, Qk, and Rk combinations cannot complete the parameter identification, and some of the identification results of the Pk, Qk, and Rk combinations do not converge. After calibration, the robot’s accuracy is several hundred millimeters, so these parameter combinations should be eliminated. Only the combination of the robot accuracy within 1 mm after the parameter identification of the conventional UKF and the APNC-UKF is retained, and there are 66 groups of combination results. As shown in Figure 5, the accuracy of the APNC-UKF has been improved compared to the parameter identification accuracy of the UKF, and the specific values are shown in Appendix A.
The APNC-UKF under nine sets of parameter combinations is less effective than the conventional UKF algorithm, but the gap of eight groups is less than 1%, and only one group has a gap of 54.66%. In general, the identification results of the APNC-UKF are more stable, and the identification accuracy can be reduced to less than 0.2 mm in 53 sets of parameter combinations. In 57 sets of parameter combinations, the APNC-UKF has different degrees of improvement compared with the conventional UKF algorithm, so the effectiveness of the proposed method can be proved. It can be seen that when the magnitude of the Qk matrix is 1 × 10−4, the improvement of the conventional UKF algorithm is more stable, which is the same as the theory of Section 3.3.

4.3. Performance Evaluation

There are several standard calibration algorithms for performance verification for validating the virtues of the proposed APNC-UKF calibration algorithm:
(1)
M1: GWO is widely used in non-linear non-Gaussian dynamical systems for robot calibration [12].
(2)
M2: PSO is a classical optimization algorithm widely applied to solve various engineering problems [11].
(3)
M3: The EKF is used to solve non-linear state estimation problems and has been successfully applied to non-linear robot calibration systems [15].
(4)
M4: The IEKF algorithm is an improved version of the Kalman filter used for state estimation in non-linear systems [16].
(5)
M5: The PF is a probabilistic and statistical method that is mainly used to solve uncertainty problems. It is a sample-based filtering method that estimates the state of a system by generating a large number of random particles. [14].
(6)
M6: The APNC-UKF algorithm proposed in this study.
Each of the above algorithms iterates to the parameter convergence to obtain the identification result of the parameter, and the identified parameters are compensated by the robot controller. Figure 6 depicts the absolute position error of the validation data set before and after compensation by M1–6. Table 4 quantifies the results of the parameter compensation by different algorithms in the verification set.
Based on the compensation accuracy of the robot, the following findings can be obtained: M4’s max, mean, and std errors reach 0.3282 mm, 0.1347 mm, and 0.0669 mm, respectively, which are 80.82%, 82.18%, and 80.78% lower than the corresponding errors. The max error of the APNC-UKF is significantly lower than the corresponding errors of M1, M2, M3, M4, and M5 by 39.96%, 40.83%, 30.08%, 22.35%, and 80.68%, respectively, the mean error is lower than the corresponding errors of M1, M2, M3, M4, and M5 by 41.59%, 26.47%, 4.13%, 12.76%, and 82.23%, respectively, and the std error is lower than the corresponding errors of M1, M2, M3, M4, and M5 by 36.22%, 19.01%, 4.71%, 7.67%, and 80.98%, respectively.
Compared with the intelligent optimization algorithms M1 and M2, the numerical optimization algorithms M3 and M4 iterate on the Jacobian matrix, which is an extension of the gradient descent method and does not have the risk of falling into local optimization, so the compensation effect is better. The linearization of the Jacobian matrix causes the M3, M4, and M5 methods to lose some information, while the UKF keeps the information of the higher-order terms by fitting the Jacobian matrix with sigma points. Although different Pk, Qk, and Rk parameters significantly influence the UKF’s effect, the proposed method can make the UKF’s effect more stable. Hence, the compensation parameters are more stable in the robot workspace. The full-text work is shown in Figure 7. After the parameter identification process, parameters can be compensated using the official compensation software for the EFORT ER20-C10 robot. In the software, ‘a’ represents angular parameters, ‘L’ represents length parameters, ‘a2’, ‘a3’, ‘a4’, and ‘a5’ represent θ2, θ3, θ4, and θ5, respectively, and ‘L6’, ‘L2’, and ‘L3’ represent a2, a3, and a4. ‘L4’ represents d4. Initially, these eight parameters are adjusted to the values identified, then input into the robot. Finally, the robot is restarted to complete the parameter compensation process.

5. Conclusions

This paper proposes a UKF algorithm based on adaptive process noise covariance for robot calibration systems. The robot calibration system is constant, and the prior estimate of the system is the same as the last posterior estimate. This leads to a more significant impact of the process noise covariance matrix Qk on the accuracy of parameter identification, thus affecting the robot’s accuracy after compensation. Thus, in this paper, a kinematic model of a 6-degree-of-freedom robot is established based on the MD-H rule. Then, to solve the problem that the conventional Qk matrix in the UKF algorithm interferes with the convergence of different magnitude parameters, an adaptive strategy is proposed to correct Qk matrix. Finally, the APNC-UKF is compared with the EKF, IEKF, PF, PSO, and GWO algorithms, and the results show that the effectiveness of the adaptive strategy and the compensation accuracy of the APNC-UKF are higher than those of other robot calibration systems.

Author Contributions

Conceptualization, G.G. and Y.L.; methodology, G.L. and X.G.; validation, X.G. and H.Z.; writing—original draft preparation, X.G. and G.G.; writing—review and editing, G.G. and G.L.; funding acquisition, G.G. 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 under grant (52265001) and Yunnan Scientific and Technological Projects under grant (202201AS070033).

Data Availability Statement

All data will be made available on request to the corresponding author’s email with appropriate justification.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. Robot verification set error of conventional UKF and APNC-UKF under different P k ,   Q k ,   and   R k parameters.
Table A1. Robot verification set error of conventional UKF and APNC-UKF under different P k ,   Q k ,   and   R k parameters.
Magnitude
of Pk
Magnitude
of Qk
Magnitude
of Rk
Positioning Error
by UKF
(Validation Set Data)
Positioning Error
by APNC-UKF
(Validation Set Data)
The Percentage
Increase in the Effect of APNC-UKF
1.00 × 10−11.00 × 10−41.00 × 10−11.0952222940.89748166818.05%
1.00 × 10−21.00 × 10−41.00 × 10−20.6096421940.21295027565.07%
1.00 × 10−31.00 × 10−41.00 × 10−30.5369389320.13795444774.31%
1.00 × 10−41.00 × 10−41.00 × 10−30.6585311140.14039813778.68%
1.00 × 10−41.00 × 10−41.00 × 10−40.6452386240.13445692379.16%
1.00 × 10−51.00 × 10−41.00 × 10−30.6758807590.14081808979.17%
1.00 × 10−51.00 × 10−41.00 × 10−40.6542080820.13445846479.45%
1.00 × 10−61.00 × 10−41.00 × 10−30.6776951710.14086298579.21%
1.00 × 10−61.00 × 10−41.00 × 10−40.6551373340.13445864179.48%
1.00 × 10−71.00 × 10−41.00 × 10−30.6778771670.14086750679.22%
1.00 × 10−71.00 × 10−41.00 × 10−40.6552305620.13445865979.48%
1.00 × 10−81.00 × 10−41.00 × 10−30.6778953720.14086795879.22%
1.00 × 10−81.00 × 10−41.00 × 10−40.6552398280.13445866179.48%
1.00 × 10−91.00 × 10−41.00 × 10−30.6778971930.14086800379.22%
1.00 × 10−91.00 × 10−41.00 × 10−40.6552406990.13445866179.48%
1.00 × 1001.00 × 10−51.00 × 10−20.3644749760.921471299−60.45%
1.00 × 10−11.00 × 10−51.00 × 10−11.6432682611.38472798715.73%
1.00 × 10−21.00 × 10−51.00 × 10−20.9686044440.9190259315.12%
1.00 × 10−31.00 × 10−51.00 × 10−30.2476542110.21309246913.96%
1.00 × 10−41.00 × 10−51.00 × 10−31.5047330960.88451818841.22%
1.00 × 10−41.00 × 10−51.00 × 10−40.1423417420.1379530443.08%
1.00 × 10−51.00 × 10−51.00 × 10−40.1445491850.1403939932.87%
1.00 × 10−51.00 × 10−51.00 × 10−50.1504574370.13445685810.63%
1.00 × 10−61.00 × 10−51.00 × 10−40.1449356280.1408142762.84%
1.00 × 10−61.00 × 10−51.00 × 10−50.1502226340.13445838910.49%
1.00 × 10−71.00 × 10−51.00 × 10−40.1449808770.1408593682.84%
1.00 × 10−71.00 × 10−51.00 × 10−50.1502005830.13445856610.48%
1.00 × 10−81.00 × 10−51.00 × 10−40.1449855120.1408639112.84%
1.00 × 10−81.00 × 10−51.00 × 10−50.1501984370.13445858410.48%
1.00 × 10−91.00 × 10−51.00 × 10−40.1449859770.1408643662.84%
1.00 × 10−91.00 × 10−51.00 × 10−50.1501982320.13445858610.48%
1.00 × 10−11.00 × 10−61.00 × 10−20.1408109640.142626411−1.27%
1.00 × 10−31.00 × 10−61.00 × 10−30.9985571510.9213072327.74%
1.00 × 10−31.00 × 10−61.00 × 10−40.1365228030.136668409−0.11%
1.00 × 10−41.00 × 10−61.00 × 10−40.2165295990.2131820931.55%
1.00 × 10−51.00 × 10−61.00 × 10−41.0702923180.9725904999.13%
1.00 × 10−51.00 × 10−61.00 × 10−50.1375286370.137951441−0.31%
1.00 × 10−61.00 × 10−61.00 × 10−50.1404358830.1403923450.03%
1.00 × 10−61.00 × 10−61.00 × 10−60.1433263540.1344568386.19%
1.00 × 10−71.00 × 10−61.00 × 10−50.1409429910.1408152030.09%
1.00 × 10−71.00 × 10−61.00 × 10−60.1433337550.1344583816.19%
1.00 × 10−81.00 × 10−61.00 × 10−50.1409974290.1408606360.10%
1.00 × 10−81.00 × 10−61.00 × 10−60.1433346170.1344585596.19%
1.00 × 10−91.00 × 10−61.00 × 10−50.1410029120.1408652130.10%
1.00 × 10−91.00 × 10−61.00 × 10−60.1433347040.1344585776.19%
1.00 × 10−41.00 × 10−71.00 × 10−41.0060169950.9228464298.27%
1.00 × 10−51.00 × 10−71.00 × 10−50.2146565520.2139316480.34%
1.00 × 10−61.00 × 10−71.00 × 10−51.3257711681.332520163−0.51%
1.00 × 10−61.00 × 10−71.00 × 10−60.1377356910.137948881−0.15%
1.00 × 10−71.00 × 10−71.00 × 10−60.1402188170.140391658−0.12%
1.00 × 10−71.00 × 10−71.00 × 10−70.1335298130.134456834−0.69%
1.00 × 10−81.00 × 10−71.00 × 10−60.1406462990.140811874−0.12%
1.00 × 10−81.00 × 10−71.00 × 10−70.1335314140.134458373−0.69%
1.00 × 10−91.00 × 10−71.00 × 10−60.1406920210.140856727−0.12%
1.00 × 10−91.00 × 10−71.00 × 10−70.1335316010.134458551−0.69%
1.00 × 10−51.00 × 10−81.00 × 10−51.0219451140.9364643318.36%
1.00 × 10−61.00 × 10−81.00 × 10−60.2206896930.2200158830.31%
1.00 × 10−71.00 × 10−81.00 × 10−61.1695185251.1645371730.43%
1.00 × 10−71.00 × 10−81.00 × 10−70.1378755630.137948014−0.05%
1.00 × 10−81.00 × 10−81.00 × 10−70.1402924580.140388792−0.07%
1.00 × 10−91.00 × 10−81.00 × 10−70.1407087650.140809297−0.07%
1.00 × 10−21.00 × 10−91.00 × 10−30.1417976380.1408980620.63%
1.00 × 10−61.00 × 10−91.00 × 10−61.1483688591.0507604858.50%
1.00 × 10−71.00 × 10−91.00 × 10−70.2383807390.2376865620.29%
1.00 × 10−81.00 × 10−91.00 × 10−70.9598047830.965616414−0.60%
1.00 × 10−91.00 × 10−91.00 × 10−80.1403013390.140388535−0.06%

References

  1. Fu, P.; Miao, Y.; Wang, Y.; Jiang, X.; Xu, C.; Liu, L.; Zhou, L. A Review of Research Progress and Key Technologies of Robotic Drilling in Aviation. CAAI Trans. Intell. Syst. 2022, 17, 874–885. [Google Scholar]
  2. Gao, G.; Niu, J.; Liu, F.; Na, J. Positioning Error Compensation of 6-Dof Robots Based on Anisotropic Error Similarity. Opt. Precis. Eng. 2022, 30, 1955–1967. [Google Scholar] [CrossRef]
  3. Zhang, C.T.; Wang, Y. Research on Online Calibration Method of Six-Axis Force Sensor for Industrial Robot. J. Electron. Meas. Instrum. 2021, 35, 161–168. [Google Scholar]
  4. Feng, L.M.; Yu, J.H.; Wang, Y.Y. Research on Calibration of Absolute Positioning Accuracy of 6-Dof Cooperative Robot. Manuf. Autom. 2022, 44, 25–28. [Google Scholar]
  5. Ni, H.K.; Yang, Z.Y.; Yang, Y.F. Robot Kinematics Calibration Method Considering Base Frame Error. China Mech. Eng. 2021, 33, 647–655. [Google Scholar]
  6. Sun, T.; Liu, C.Y.; Lian, B.B. Calibration for Precision Kinematic Control of an Articulated Serial Robot. IEEE Trans. Ind. Electron. 2021, 68, 6000–6009. [Google Scholar] [CrossRef]
  7. Guo, Y.L.; Zou, L.; Wang, Z.L. A Novel Kinematic Parameters Calibration Method for Industrial Robot Based on Levenberg-Marquardt and Differential Evolution Hybrid Algorithm. Robot. Comput.-Integr. Manuf. 2021, 71, 161–165. [Google Scholar]
  8. Ping, Y.; Guo, Z.G.; Yang, B.K. Plane Kinematic Calibration Method for Industrial Robot Based on Dynamic Measurement of Double Ball Bar. Precis. Eng. 2021, 62, 265–272. [Google Scholar]
  9. Jiang, Z.Z.; Zhou, J.; Han, H.Q. A Novel Robot Hand-Eye Calibration Method to Enhance Calibration Accuracy Based on the Poe Model. Adv. Robot. 2023, 37, 1052–1062. [Google Scholar] [CrossRef]
  10. Bai, M.; Zhang, M.L.; Zhang, H. Calibration Method Based on Models and Least-Squares Support Vector Regression Enhancing Robot Position Accuracy. IEEE Access 2021, 9, 136060–136070. [Google Scholar] [CrossRef]
  11. Wang, W.D.; Song, H.J.; Yan, Z.Y. A Universal Index and an Improved Pso Algorithm for Optimal Pose Selection in Kinematic Calibration of a Novel Surgical Robot. Robot. Comput.-Integr. Manuf. 2021, 50, 90–101. [Google Scholar] [CrossRef]
  12. Peng, T.C.; Zhang, T.; Sun, Z.J. Research on Robot Accuracy Compensation Method Based on Modified Grey Wolf Algorithm. In Proceedings of the 2023 8th Asia-Pacific Conference on Intelligent Robot Systems, Xi’an, China, 7–9 July 2023; pp. 1–6. [Google Scholar]
  13. Lv, H.Y. Application of Process Noise Recursive Least Squares Method. China Instrum. 2021, 1, 1–6. [Google Scholar]
  14. Deng, X.; Ge, L.; Li, R.; Liu, Z. Research on the Kinematic Parameter Calibration Method of Industrial Robot Based on Lm and Pf Algorithm. 2020. Available online: https://www.semanticscholar.org/paper/Research-on-the-kinematic-parameter-calibration-of-Deng-Ge/fdf9bf2b7c0beece8302fdd9ce5140a648700d2f (accessed on 22 August 2020).
  15. Le, N.V.; Caverly, R.J. Cable-Driven Parallel Robot Pose Estimation Using Extended Kalman Filtering with Inertial Payload Measurements. IEEE Robot. Autom. Lett. 2021, 6, 3615–3622. [Google Scholar]
  16. Lee, K.; Kwon, H.; You, K. Iterative Solution of Relative Localization for Cooperative Multi-Robot Using Iekf. Univers. J. Mech. Eng. 2017, 5, 15–19. [Google Scholar] [CrossRef]
  17. Du, G.L.; Shao, H.K.; Chen, Y.J. An Online Method for Serial Robot Self-Calibration with Cmac and Ukf. Robot. Comput.-Integr. Manuf. 2016, 42, 39–48. [Google Scholar] [CrossRef]
  18. Urrea, C.; Agramonte, R. Evaluation of Parameter Identification of a Real Manipulator Robot. Symmetry 2022, 14, 1446. [Google Scholar] [CrossRef]
  19. Geetha, S.; Natarajan, U. Kinematic Parameter Estimation of Vrt 6 Robot Using Unscented Kalman Filter with Adaptive Choice of Scaling Parameter. J. Balk. Tribol. Assoc. 2018, 24, 123–140. [Google Scholar]
  20. Huang, T.; Zhao, D.; Yin, F.W. Kinematic Calibration of a 6-Dof Hybrid Robot by Considering Multicollinearity in the Identification Jacobian. Mech. Mach. Theory 2019, 131, 371–384. [Google Scholar] [CrossRef]
  21. Li, M.Y.; Du, Z.J.; Ma, X.X. A Robot Hand-Eye Calibration Method of Line Laser Sensor Based on 3d Reconstruction. Robot. Comput.-Integr. Manuf. 2021, 71, 102–106. [Google Scholar] [CrossRef]
  22. Li, Z.B.; Li, S.; Bamasag, O.O. Diversified Regularization Enhanced Training for Effective Manipulator Calibration. IEEE Trans. Neural Netw. Learn. Syst. 2023, 34, 8778–8790. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Link coordinate systems of EFORT ER20-C10 robot.
Figure 1. Link coordinate systems of EFORT ER20-C10 robot.
Machines 12 00406 g001
Figure 2. Prior estimation schematic diagram.
Figure 2. Prior estimation schematic diagram.
Machines 12 00406 g002
Figure 3. The variance iteration process of each parameter on the diagonal of Pk matrix: (a) The variance iteration process of pre-identification parameter on the diagonal of Pk matrix. (b) The variance iteration process of calibration system parameter on the diagonal of Pk matrix.
Figure 3. The variance iteration process of each parameter on the diagonal of Pk matrix: (a) The variance iteration process of pre-identification parameter on the diagonal of Pk matrix. (b) The variance iteration process of calibration system parameter on the diagonal of Pk matrix.
Machines 12 00406 g003
Figure 4. Calibration system experimental platform.
Figure 4. Calibration system experimental platform.
Machines 12 00406 g004
Figure 5. Robot verification set error under different initial conditions by UKF and APNC-UKF.
Figure 5. Robot verification set error under different initial conditions by UKF and APNC-UKF.
Machines 12 00406 g005
Figure 6. The system position errors of the measuring point in the validation set by M1–6.
Figure 6. The system position errors of the measuring point in the validation set by M1–6.
Machines 12 00406 g006
Figure 7. The workflow chart of this paper.
Figure 7. The workflow chart of this paper.
Machines 12 00406 g007
Table 1. Characteristics of commonly used algorithms in previous works.
Table 1. Characteristics of commonly used algorithms in previous works.
AlgorithmsCharacteristics
PSOPSO and GWO search for optimal solutions without the need for linearization and lack of noise resistance.
GWO
EKFEKF and IEKF can resist noise but require linearization, resulting in the loss of high-order information.
IEKF
PFPF enables the estimation of the state of a non-linear system by approximating the probability density function by using a set of randomly sampled state particles
UKFThe UKF can resist noise without linearization, approximating non-linear functions by sampling on the Gaussian distribution, thus preserving high-order information.
Table 2. The nominal structural parameters of EFORT ER20-C10 robot.
Table 2. The nominal structural parameters of EFORT ER20-C10 robot.
iαi−1 (°)ai−1 (mm)di (mm)θi (°)
100540.000θ1
2−90166.6050θ2
30782.2700θ3
4−90138.826761.350θ4
59000θ5
600125.000θ6
Table 3. The data collection range.
Table 3. The data collection range.
x-Direction (mm)y-Direction (mm)z-Direction (mm)
max value1350800950
min value750200350
Table 4. Errors after compensation with different algorithms.
Table 4. Errors after compensation with different algorithms.
AlgorithmsBefore
Calibration
GWOPSOEKFIEKFPFAPNC
-UKF
Metrics
Max (mm)1.71170.54660.55470.46940.42271.69860.3282
Mean (mm)0.75580.23060.18320.14050.15440.75810.1347
Std (mm)0.34790.10490.08260.07020.07230.35180.0669
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

Gao, G.; Guo, X.; Li, G.; Li, Y.; Zhou, H. Kinematic Parameter Identification and Error Compensation of Industrial Robots Based on Unscented Kalman Filter with Adaptive Process Noise Covariance. Machines 2024, 12, 406. https://doi.org/10.3390/machines12060406

AMA Style

Gao G, Guo X, Li G, Li Y, Zhou H. Kinematic Parameter Identification and Error Compensation of Industrial Robots Based on Unscented Kalman Filter with Adaptive Process Noise Covariance. Machines. 2024; 12(6):406. https://doi.org/10.3390/machines12060406

Chicago/Turabian Style

Gao, Guanbin, Xinyang Guo, Gengen Li, Yuan Li, and Houchen Zhou. 2024. "Kinematic Parameter Identification and Error Compensation of Industrial Robots Based on Unscented Kalman Filter with Adaptive Process Noise Covariance" Machines 12, no. 6: 406. https://doi.org/10.3390/machines12060406

APA Style

Gao, G., Guo, X., Li, G., Li, Y., & Zhou, H. (2024). Kinematic Parameter Identification and Error Compensation of Industrial Robots Based on Unscented Kalman Filter with Adaptive Process Noise Covariance. Machines, 12(6), 406. https://doi.org/10.3390/machines12060406

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