Next Article in Journal
Random Forest Spatial-Temporal and State Space Models to Assess the Impact of Bushfire-Induced Aerosol Events on Ozone Depletion in Australia
Previous Article in Journal
Experimental Study of Bedform Development Characteristics and Their Effects on Sediment Transport
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Self-Calibration Method for Robot End-Effector Using Spherical Constraints

1
China Construction Second Engineering Bureau Ltd., Beijing 101101, China
2
Department of Mechanical Engineering, Tsinghua University, Beijing 100084, China
*
Authors to whom correspondence should be addressed.
Appl. Sci. 2024, 14(21), 9824; https://doi.org/10.3390/app14219824
Submission received: 23 September 2024 / Revised: 21 October 2024 / Accepted: 22 October 2024 / Published: 28 October 2024
(This article belongs to the Section Robotics and Automation)

Abstract

:

Featured Application

Using a calibration sphere with a known diameter allows for calibration of a robot that includes both geometric errors and end-effector deformation errors.

Abstract

A self-calibration method utilizing spherical constraints is proposed for calibration of robot end-effectors. The method establishes a mathematical model to account for both the geometric errors of the robot and the deformation errors of the end-effector. A nonlinear least-squares parameter identification technique based on spherical constraints is employed to achieve autonomous calibration of the end-effector. Contrasted with methodologies relying on point plane or distance constraints, this novel technique delivers superior positioning accuracy, streamlined operational procedures and enhanced efficiency. Both simulation and experimental validation confirm that the self-calibration method using spherical constraints improves the positioning accuracy of the robot end-effector from 3 mm to 0.3 mm, showing the effectiveness of the method.

1. Introduction

Due to factors such as the robot’s inherent precision limitations and end-effector deformation, there is always a deviation between the theoretical and actual poses of the robot’s end-effector coordinate system. In many industrial applications involving robots, high positioning accuracy of the end-effector is essential. Therefore, it is crucial to develop a fast and efficient method for autonomous calibration of the robot end-effector [1,2].
Calibrating the robot end-effector coordinate system using physical constraints offers advantages in terms of simplicity and speed. The core concept of this method is to constrain the robot’s end-effector in various poses at specific points or planes and establish constraint equations based on known physical parameters. By comparing the robot’s theoretical pose with its actual pose, errors in different configurations can be identified. Currently, most calibration methods that utilize physical constraints are primarily classified into plane constraints, point constraints and distance constraints. Based on plane constraints, Li et al. [3] developed a calibration model using a contact measurement probe to measure three planes of the calibration block, thereby completing the identification of the robot’s kinematic parameters. Zhong et al. [4] extended the manipulator arm with a trigger probe to record the joint sensor values when the manipulator endpoint touched the constraint plane, enabling kinematic error identification. Xia [5] developed a point constraint method by mounting a laser on the robot’s end-effector and ensuring that the laser’s projection remained fixed on the observation plane, constructing a virtual kinematic chain. This method offers a simple experimental setup and high accuracy in parameter identification. Li et al. [6], focusing on large industrial robots in the aerospace sector, used a laser tracker to measure the actual position of a target ball fixed to the robot’s end-effector, compared it with the theoretical position and calculated error parameters. Wan et al. [7] used a 3D displacement measurement device to constrain the center point of the robot’s end-effector to a fixed point. By altering the robot’s poses and recording the corresponding joint angles, they achieved an average absolute positioning error of 0.339 mm after robot calibration. Based on distance constraints, Zou et al. [8] achieved TCP position calibration using distance constraints between the center of an optical target ball and the origin of the end-effector flange. Gu et al. [9] designed a self-calibrating movable ball rod comprising two G3 steel balls with known radius and center-to-center distance. By measuring the ball center positions with the robot’s end-effector measuring device and comparing these measurements to the theoretical distances, they established distance constraints to perform calibration.
End-effector positioning errors in robots can generally be categorized into kinematic errors and non-kinematic errors. Kinematic errors are parameter inaccuracies that occur during the kinematic modeling of the robot. These include errors resulting from joint wear and link deformation due to prolonged use, as well as deformation of robot components caused by environmental factors such as temperature and humidity. In contrast, non-kinematic errors arise from factors external to the robot itself. This category encompasses errors due to flexible deformations of robot links caused by payload effects and deformation errors of the end-effector tool resulting from insufficient stiffness. Qi et al. [10], addressing the effects of the robot’s own weight and external loads, developed a flexible error model for the primary stressed joints to enhance the robot’s positioning accuracy. Zhang [11], considering both joint and link deformation as well as the impact of the robot’s weight, established an end-effector deformation model. They applied forces of varying magnitudes and directions to the end-effector and measured the resulting deformation coefficients. Jiao et al. [12] examined the combined effects of static errors, link flexibility and joint flexibility on the robot’s end-effector pose, validating the model’s feasibility through simulation. Dini et al. [13] proposed a non-linear control technique that investigates the effects of torque oscillations in a permanent magnet synchronous motor (PMSM) on control precision. This method was applied to a two-degree-of-freedom robotic arm, leading to enhanced position control accuracy for the robot’s end-effector. In parallel, Zu et al. [14] conducted a thorough analysis of errors in robotic kinematics and dynamics parameters, considering joint angle errors induced by end loads. Their research significantly improved the robot’s positioning accuracy, reducing it from 7.52 mm to 1.29 mm.
Among the three constraint methods discussed, calibration methods based on distance and plane constraints are typically large, cumbersome and involve complex processes requiring numerous data points. The point constraints calibration method, which necessitates manually aligning the robot end-effector to a specific point, introduces significant uncertainty due to the difficulty of ensuring consistent alignment. This results in low calibration efficiency and longer time consumption. In real industrial robot applications, various end-effectors are mounted on the manipulator to address different operational needs. The deformation of the robot end-effector is inevitable and can lead to a reduction in positioning accuracy. To address this issue, this paper proposes a self-calibration method based on spherical constraints that accounts for end-effector deformation. This method features a compact and portable calibration device, eliminates the need for manual alignment and offers high calibration accuracy and efficiency. The remainder of this paper is organized as follows. Section 2 derives the error models for geometric errors of the robot and deformation errors of the end-effector. Section 3 presents a method for identifying error parameters using spherical constraints. Section 4 describes the design of simulation calibration experiments conducted in MATLAB. Section 5 details the implementation of error calibration and compensation on a KUKA robot. Conclusions and future research are addressed in Section 6.

2. The Error Model

This paper primarily addresses the robot’s geometric errors and end-effector deformation errors. Establishing a model is the initial step in analyzing the positioning errors of the robot’s end-effector. The Denavit–Hartenberg (D–H) model [15] is a widely used method for robot kinematic modeling. In the D–H model, each link is represented by a coordinate system with its origin at the corresponding joint, and the orientation of the coordinate system defines the link’s motion direction. The D–H parameters facilitate the description of the motion relationships between adjacent links.
The standard D–H parameters typically consist of four values: link length ( a ), joint offset ( d ), twist angle ( α ) and joint angle ( θ ). When two adjacent axes of a robot are parallel or nearly parallel, the traditional D–H model can produce substantial changes in geometric parameters, leading to a singular Jacobian matrix. To address the singularity issues inherent in the traditional model, Hayati [16] introduced a new parameter, β, which represents the rotation angle around the y-axis. The pose transformation between two consecutive coordinate frames, O i 1 X i 1 Y i 1 Z i 1 and O i X i Y i Z i , can then be represented using a homogeneous transformation matrix, T i i 1 , as shown in Equation (1).
T i i 1 = R z θ i T z d i T x a i R x α i R y β i = c θ i c β i s β i s α i s θ i c α i s θ i s β i c θ i + c β i s α i s θ i a i c θ i s θ i c β i + s β i s α i c θ i c α i c θ i s β i s θ i c β i s α i c θ i a i s θ i s β i c α i s α i c β i c α i d i 0 0 0 1
This paper focuses on the KR5 R1400 robot, manufactured by KUKA. The robot is a six degree-of-freedom (DOF) serial manipulator, with its geometric parameters displayed in Figure 1. The D–H parameters are shown in Figure 2.
The pose of the end-effector coordinate frame relative to the base coordinate frame can be expressed as Equation (2). Here, T t 0 represents the homogeneous transformation matrix from the robot’s base coordinate system to the end-effector, while T t 6 denotes the homogeneous transformation matrix from the sixth link of the robot to the end-effector.
T t 0 = T 1 0 T 2 1 T 3 2 T 4 3 T 5 4 T 6 5 T t 6

2.1. Geometric Error

Robot geometric errors stem from a variety of factors. During manufacturing, insufficient machining precision in the mechanical structure can result in dimensional and shape deviations in components such as links and joints. Transmission errors may also occur due to clearances or deformations in the drive system, including reducers or gears. Over time, prolonged use or the impact of end-effector loads can lead to slight loosening or deformation of joints, affecting their positional accuracy. Improper handling or inaccurate calibration during installation can introduce pose deviations. Additionally, environmental factors such as fluctuations in temperature and humidity can cause variations in component dimensions, further compromising the robot’s accuracy. Thus, it is crucial to develop a geometric error model and identify kinematic parameters to ensure the end-effector’s positioning accuracy.
In the D–H model, geometric errors between two adjacent links can be represented by θ i , d i , β i , a i and α i . Typically, β i does not exist and d i 0 . However, when the axes of two adjacent joints are nearly parallel, d i becomes zero while β i becomes non-zero. The theoretical transformation matrix between two adjacent coordinate systems differs from the actual transformation matrix by a deviation d T i . Assuming the theoretical homogeneous transformation matrix is T i N , the actual homogeneous transformation matrix is given by Equation (3).
T i R = T i N + d T i
By performing a total differential on d T i , Equation (4) is derived.
d T i = T i N θ i d θ i + T i N d i d d i + T i N a i d a i + T i N α i d α i + T i N β i d β i
The differential transformation of the coordinate frame consists of a combination of differential translation and differential rotation, which can occur in any order. Therefore, d T i can be expressed as Equation (5), where i represents the differential operator for the i-th coordinate, accounting for the coordinate system variations caused by geometric errors.
d T i = i T i N
Based on differential kinematics [17], Equation (6) is obtained.
i = 0 δ z δ y d x δ z 0 δ x d y δ y δ x 0 d z 0 0 0 0
By converting the differential operator into a column vector, we have Equation (7).
i = d x i d y i d z i δ x i δ y i δ z i = 0 0 c θ i d i s θ i a i s α i s θ i d i c α i c θ i 0 0 s θ i d i c θ i a i s α i c θ i d i c α i s θ i 0 1 0 0 a i c α i 0 0 0 c θ i c α i s θ i 0 0 0 s θ i c α i c θ i 1 0 0 0 s α i · d θ i d d i d a i d α i d β i = G i · X i
In the above Equation (7), i represents the error of the i-th coordinate frame relative to the (i − 1)-th coordinate frame, G i is the geometric error transmission matrix, and X i is the geometric error vector. It is important that d d i and d β i cannot exist simultaneously, meaning that G i is a 6 × 4 matrix, and X i is a 4 × 1 vector. For the robot in this study, when i = 2 , d d i = 0 , and when i 2 , d β i = 0 . In practical applications, all coordinate system errors must be transformed into the base coordinate system, which can be expressed as Equation (8).
b a s e i = n x o x a x p × n x p × o x p × a x n y o y a y p × n y p × o y p × a y n z o z a z p × n z p × o z p × a z 0 0 0 n x o x a x 0 0 0 n y o y a y 0 0 0 n z o z a z · i = K i · i
Here, K i denotes the coordinate system error transmission matrix, and the elements n , o , a , p in K i correspond to the elements n , o , a , p of the homogeneous transformation matrix T i 0 , which describes the i-th coordinate frame relative to the base coordinate frame. For typical industrial robots, the deformations in links and joints are relatively small. Within a limited range, the differential transformations of coordinate frames can be linearly superimposed [17]. Consequently, the errors of all coordinate frames can be accumulated in the base coordinate frame as Equation (9).
b a s e = i = 1 6 b a s e i = i = 1 6 K i · i
K i is the coordinate system error transmission matrix, and K 1 is the identity matrix. By combining Equations (7) and (9), we obtain the following Equation (10).
b a s e = i = 1 6 K i · i = i = 1 6 K i · G i · X i = J G · X G
J G is the geometric error transmission Jacobian matrix, a 6 × 24 matrix composed of known parameters once the robot’s pose is determined. X G = X 1 T X 2 T X 6 T T contains all the geometric errors between adjacent links of the robot, forming a 24 × 1 vector. These parameters are the ones that need to be identified.

2.2. End-Effector Deformation Error

In practical industrial applications, robots are often equipped with various end-effectors to meet the requirements of different operational scenarios. Typically, these end-effectors are connected to the robot’s end flange via a link, and the connection structure can be regarded as a “cantilever beam”. Due to the substantial mass of the end-effectors and their extended reach, the link experiences deformation, which reduces the positioning accuracy of the robot. Although most industrial robots can achieve positioning accuracy within 0.5 mm, the addition of end-effectors can significantly diminish this precision. The geometric errors discussed earlier only account for the robot’s intrinsic parameters and do not consider the influence of the end-effectors. Therefore, it is essential to develop a model that includes the deformation errors introduced by the robot’s end-effectors.
A cantilever beam is a common structural element in engineering, characterized by a fixed support at one end and a free, unsupported section at the other, forming a cantilever structure. In the case of a robot equipped with an end-effector, the connecting link has one end fixed to the robot’s end flange and the other attached to the end-effector, making it analogous to a cantilever beam. For a cantilever beam subjected to an end load of magnitude P , the deflection at the tip z t and the rotation angle at the end cross-section θ t can be expressed by Equations (11) and (12).
z t = F l 3 3 E I = 1 3 · c t · l 3 · P
θ t = F l 2 2 E I = 1 2 · c t · l 2 · P
Here, l is the length of the beam, E is the elastic modulus and I is the moment of inertia of the cross-section. The parameter c t represents the bending stiffness of the material, which needs to be identified. Based on the D–H model established earlier, the z 6 axis of the robot’s end flange coordinate system O 6 indicates the direction of the end-effector extension. Therefore, the effective load on the end-effector can be represented by Equation (13).
F = G · s i n z 0 , z 6
G represents the gravitational force acting on the end-effector, and z 0 , z 6 denotes the angle between the vectors z 0 and z 6 . The end-effector, influenced by gravity, will deform only in the vertical plane. The normal vector of this plane is shown in Equation (14).
n = z 0 × z 6
As shown in Figure 3, the deflection angle of the robot flange coordinate system is defined as Equation (15).
θ 6 = n , y 6
Thus, the differential displacement of the end-effector’s coordinate system can be expressed as Equations (16) and (17).
d x t = z t · c o s θ 6 = 1 3 F l t 3 · c o s θ 6 · c t
d y t = z t · s i n θ 6 = 1 3 F l t 3 · s i n θ 6 · c t
Similarly, the differential rotational displacement is given by Equations (18) and (19).
δ x t = θ t · s i n θ 6 = 1 2 F l t 2 · s i n θ 6 · c t
δ y t = θ t · c o s θ 6 = 1 2 F l t 2 · c o s θ 6 · c t
Here, l t represents the length of the end-effector, which can be determined through actual measurement. Expressing the above equations as a column vector of differential operators, we can obtain Equation (20).
d x t d y t d z t δ x t δ y t δ z t = 1 3 F l t 3 c o s θ 6 1 3 F l t 3 s i n θ 6 0 1 2 F l t 2 s i n θ 6 1 2 F l t 2 c o s θ 6 0 · c t = G t · c t
The deformation error of the end-effector is relative to the coordinate system O 6 , so it must be transformed into the base coordinate system. According to Equation (8), we have Equation (21).
b a s e t = K t · G t · c t = J t · c t
The total error of the end-effector relative to the base coordinate system can be expressed as Equation (22).
t o t a l = J · X
The total error transmission Jacobian matrix J = J G   J t is a 6 × 25 matrix, and X = X G c t is a 25 × 1 vector of error parameters to be determined.

3. Parameter Identification

3.1. Spherical Constraint Model

For a typical 6-DOF serial robot, due to the presence of errors, the homogeneous transformation matrix of the end-effector coordinate frame relative to the base frame can be expressed as Equation (23).
T R t 0 = T 1 N + d T 1 T 2 N + d T 2 T 6 N + d T 6 T t
By ignoring higher-order terms, we obtain Equation (24).
T R t 0 = T N t 0 + i = 1 6 T N i 1 0 i T N i 1 0 1 T N t 0 = T N t 0 + T N t 0
The above equation can also be expressed as follows as Equation (25):
R R p R 0 T 1 = R N p N 0 T 1 + R N p N 0 T 1
where R is the rotation matrix, p is the translation vector and represents the differential operator matrix. The self-calibration method proposed in this paper establishes constraint equations based on spherical constraints, requiring only the positional information of the end-effector coordinate frame without the need for orientation data. The actual position of the end-effector coordinate frame can be expressed as Equation (26).
p x R p y R p z R = 1 0 0 0 p z N p y N 0 1 0 p z N 0 p x N 0 0 1 p y N p x N 0 d x d y d z δ x δ y δ z + p x N p y N p z N
Substituting Equation (22) into this, we obtain Equation (27).
p R = A X + p N
The matrix A represents the pose error at the robot’s end-effector and is a 3 × 25 matrix. The physical constraint introduced in this paper is a spherical constraint. During the calibration process, a calibration sphere with a known diameter is used. When the robot’s end-effector contacts the surface of the calibration sphere, its actual position must satisfy the following Equation (28).
p x R x c 2 + p y R z c 2 + p z R z c 2 = R 2
Here, x c , y c and z c represent the unknown coordinates of the calibration sphere in the base coordinate frame, while R is the known radius of the calibration sphere. By substituting these variables into Equation (27) and treating x c , y c and z c as parameters to be identified, we derive Equation (29).
p R p c = A ~ X ~ + p N
Here, p c = [ x c , y c , z c ] T represents the coordinates of the calibration sphere, A ~ = [ A I 3 × 3 ] is the augmented matrix of the robot’s end-effector error pose transformation matrix, and X ~ T = [ X T   p c T ] contains all the parameters to be identified, including the coordinates of the calibration sphere. From the constraint Equation (28), we obtain Equation (30).
A ~ X ~ + p N T A ~ X ~ + p N = R 2

3.2. Error Parameter Identification Method

The robot’s end-effector collects positional data by making contact with the surface of the calibration sphere, where its theoretical position should describe a perfect sphere. However, due to geometric error and end-effector deformation, the actual position in three-dimensional space deviates from this ideal sphere. To address this, the parameter identification method aims to determine the appropriate error parameters such that, after correcting for these errors, the actual position of the robot’s end-effector conforms to a standard sphere. The following objective function is then optimized using the least squares method, which can be expressed as Equation (31).
min x F x = f x 2 2
For practical calibration, it is necessary to collect n points on the surface of the calibration sphere and perform fitting, with the robot assuming different poses for each point. Thus, Equation (32) holds:
f x = f 1 X ~   f 2 X ~     f n X ~ T
For each point, we can express it as shown in Equation (33).
f i X ~ = A ~ i X ~ + p i N T A ~ i X ~ + p i N R 2 , i = 1,2 , , n
Simplifying, we obtain Equation (34).
f i X ~ = X ~ T A ~ i T A ~ i X ~ + 2 p i N T A ~ i X ~ + p i N T p i N R 2 , i = 1,2 , , n
By performing a first-order Taylor expansion of the function f x at X ~ = X ~ k and neglecting higher-order terms, we obtain Equation (35).
F X ~ k + X ~ k = f X ~ k + J X ~ k T X ~ k 2
Moreover, as shown in Equation (36), the Jacobian matrix can be obtained by taking the partial derivatives.
J i X ~ k = f X ~ k = 2 A ~ i T A ~ i X ~ k + 2 p i N T A ~ i
Therefore, we can obtain Equation (37).
J X ~ k = J 1 X ~ k   J 2 X ~ k   J n X ~ k T
For n points, J X ~ k is an n × 28 matrix, where all parameters are known. The solution to this problem is approached using nonlinear least squares. However, during the computation process, J X ~ k may not be full rank, which could result in errors due to matrix singularity when using the Gauss–Newton algorithm for iterative calculations. To address this, the Levenberg–Marquardt algorithm is employed to solve the increment equation, which is shown in Equation (38).
X ~ k = J X ~ k J X ~ k T + λ I 1 J X ~ k f X ~ k
λ is a positive adjustable coefficient. In nonlinear least squares problems, the choice of the initial values is crucial. If the initial values are not chosen appropriately, it may lead to slow convergence or cause the algorithm to become trapped in a local optimum. In this calibration problem, since the robot’s geometric errors are small, the initial values can be set to zero. The initial values for the end-effector deformation error parameters can be derived based on their physical meaning. The coordinates of the calibration sphere’s center, p c = [ x c , y c , z c ] T , can be determined by fitting the actual positions measured by the end-effector using the least squares method [18]. Once the initial values are established, the step size X ~ k is calculated using Equation (38) and the parameters are iteratively updated, gradually minimizing the objective function. The iteration stops when the step size becomes smaller than a specified threshold, at which point the parameter values represent the optimal solution to the nonlinear least squares problem.

4. Simulation Error Calibration Experiment

4.1. Simulation Experiment Design

To verify the effectiveness of the proposed self-calibration algorithm, a robot self-calibration simulation experiment was designed. The steps for this simulation experiment are shown in Figure 4.

4.2. Simulation Experiment

Based on the D–H convention and the geometric parameters of the KUKA KR5 R1400 robot, the D–H parameter table was constructed, as shown in Table 1.
The kinematic model of the robot was simulated using the Robotics Toolbox in MATLAB. The simulation results, as shown in the Figure 5 below, confirmed the validity of the established robot model.
According to the simulation experiment procedure, the first step was to preset the robot’s geometric error parameters and the end-effector deformation error parameter. These errors were introduced to simulate real-world conditions. The preset geometric error parameters are listed in Table 2, and the deformation error parameter of the robot’s end-effector c t was set to 0.002.
Considering the robot’s workspace, the center of the calibration sphere was positioned at x = 1.34   m , y = 0.24   m , z = 0.35   m in the base coordinate frame, with the calibration sphere having a diameter of 0.06 m. The proposed self-calibration method involves a total of 28 error parameters, necessitating at least 28 points to identify these errors. In this study, 50 points were randomly generated on the calibration surface, and the inverse kinematics of the robot was used to compute the joint angles with errors, simulating the scenario where the robot’s end-effector touches the calibration surface. Additionally, care was taken to ensure no interference occurred between the robot body and the calibration sphere, closely replicating real-world conditions.
After setting the initial values, a MATLAB(R2021a) program was developed to perform the iterative calculations. The iterative process was depicted in Figure 6. After 50 iterations, the data converged, and the iteration process was successfully completed.

4.3. Results Analysis

To validate the effectiveness of the simulation results, the compensated errors were applied to the robot, and the position of the end-effector was compared to its position without compensation, as shown in Figure 7. In the figure, the sphere represents the actual surface of the calibration sphere. The blue points indicate the position of the robot’s end-effector without error compensation, showing a significant deviation from the surface of the calibration sphere. In contrast, the red points represent the position of the end-effector after error compensation, closely aligning with the surface of the calibration sphere, effectively restoring the original contact positions.
As shown in Equation (39), the positioning accuracy of the robot was evaluated by calculating the absolute difference between the distance from the robot’s end-effector to the center of the calibration sphere and the sphere’s radius.
ε = x x 0 2 + y y 0 2 + z z 0 2 R
Figure 8 presents a comparison of the robot’s positioning accuracy before and after error compensation. Following calibration and error compensation, the maximum positional error of the robot’s end-effector was reduced from 5.559 mm to 1.104 mm, resulting in an 80.1% improvement in accuracy. Similarly, the average error decreased from 3.657 mm to 0.665 mm, reflecting an 81.8% improvement in accuracy.

5. Simulation Experiment

5.1. Experimental Validation

In practical applications, the self-calibration method proposed in this paper requires only a high-precision calibration sphere with a known diameter. The calibration device is portable, allowing for fast calibration at low cost. The schematic diagram of the calibration system is shown in Figure 9. The calibration sphere is first positioned within the robot’s workspace, enabling the end-effector to contact it from various directions and angles. A PC then controls the robot to touch the surface of the sphere at different orientations, collecting and recording the robot’s joint angles at each point of contact. The entire data collection process can be fully automated through programming, removing the need for manual intervention.

5.2. Experimental Equipment

The robot used in this experiment is a KUKA KR5 R1400 industrial robot, manufactured by KUKA in Augsburg, Bavaria, Germany. This versatile, lightweight robot was designed for a range of industrial manufacturing and automation applications. In the experiment, the end-effector was a welding gun with a tip carrying a 3.3 V voltage. A metal sphere with a known diameter was mounted on a test stand, and its shell was grounded. A microcontroller detected contact between the welding gun tip and the metal sphere. The welding gun was connected to the microcontroller via a wire, and when the microcontroller detects a voltage change, it sends a signal to the computer through a serial port. The computer then sends a stop command to the KUKA robot, allowing for the automatic collection and storage of the robot’s joint angle data. The complete experimental setup is shown in Figure 10 below.

5.3. Calibration of End-Effector Coordinate System

The end-effector coordinate system refers to determining the position O t X t Y t Z t relative to the robot end flange coordinate system O 6 X 6 Y 6 Z 6 . This relationship can typically be derived from the robot’s 3D model design drawings or using the calibration programs provided by KUKA. In this experiment, the 4-point calibration program of the KUKA robot was used to obtain the transformation matrix between the end-effector coordinate system and the robot end flange coordinate system, as shown below.
T t 6 = 0.7773 0.6273 0.0489 0.0599 0.6260 0.7788 0.0393 0.0505 0.0627 0.0007 0.9980 0.4103 0 0 0 1

5.4. Data Measurement

Before the experiment commenced, the actual diameter of the metal sphere was measured to be 61.4 mm, and the end-effector load weight was 1.535 kg. In accordance with the calibration method described earlier, two sets of data were collected to ensure both accuracy and speed in parameter identification. The first set was utilized for robot parameter error identification and calibration, while the second set was employed to compare the robot’s end-effector positioning accuracy before and after error compensation, thereby validating the model’s accuracy and the effectiveness of the compensation. During data collection, it was essential to ensure that the data points were evenly distributed across the surface of the sphere. After the robot’s end-effector contacted the sphere, the joint angle data for each group were recorded. A MATLAB program was then written, using the parameter identification method described earlier, to identify the error parameters. The results of the robot’s geometric error parameter identification are presented in Table 3, with the end-effector deformation error c t = 0.00036 . Based on the material and dimensional parameters of the end-effector, the identified deformation error c t of the end-effector aligns with its physical significance.
Using the second set of 30 data points, the geometric and end-effector deformation errors of the robot were corrected based on the identified error parameters. The positioning accuracy was then evaluated using the same criterion as defined in Equation (39). Figure 11 illustrates the positioning accuracy of the robot’s end-effector before and after error compensation. The KUKA robot examined in this paper exhibits an absolute positioning accuracy of approximately 0.5 mm. However, this accuracy significantly diminishes when the end-effector was attached. After implementing the proposed algorithm for error calibration and compensation, the maximum positional error of the end-effector was reduced from 4.715 mm to 1.153 mm, representing an accuracy improvement of 75.5%. Additionally, the average error decreased from 1.923 mm to 0.383 mm, resulting in an accuracy enhancement of 80.1%. This level of positioning accuracy meets the requirements of most industrial applications, thereby validating the effectiveness of the self-calibration method introduced in this paper.

6. Conclusions

This paper introduces a method for calibration of the robot end-effector coordinate system using spherical constraints. Initially, a mathematical model incorporating both robot geometric errors and end-effector deformation errors was established. Various errors were propagated to the base coordinate system via an error propagation matrix. Utilizing the spherical constraints of the calibration sphere, an error parameter identification model was developed, and the Levenberg–Marquardt algorithm was applied to solve the nonlinear least squares problem. Results from MATLAB simulations and actual robot calibration experiments demonstrate that the proposed self-calibration method converges rapidly and significantly enhances the positioning accuracy of the robot end-effector.

Author Contributions

Methodology, X.W. and W.R.; Software, W.R.; Validation, X.W. and J.L. (Jinsong Lin); Formal analysis, K.W. and J.Z.; Investigation, X.W.; Resources, J.L. (Jinsong Lin) and F.L.; Data curation, W.R. and K.W.; Writing—original draft, W.R.; Writing—review & editing, X.W.; Visualization, K.W.; Supervision, J.L. (Jun Liu), J.L. (Jinsong Lin), J.F. and J.Z.; Project administration, J.L. (Jun Liu), J.F. and J.Z.; Funding acquisition, J.L. (Jun Liu), J.F. and F.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the infrastructure technology and equipment engineering research center of China State Construction Engineering Corporation (CSCEC-PT-017).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Acknowledgments

This research was supported by the infrastructure technology and equipment engineering research center of China State Construction Engineering Corporation (CSCEC-PT-017).

Conflicts of Interest

Authors Xiong Wang, Kang Wang, Jun Liu, Fei Li were employed by China Construction Second Engineering Bureau Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Gao, H.; Zhang, M.; Zhang, X.; Bai, F. Review on Key Technology of Manipulator Absolute Positioning Accuracy Calibration. Appl. Res. Comput. 2017, 34, 2570–2576. [Google Scholar] [CrossRef]
  2. Judd, R.P.; Knasinski, A.B. A Technique to Calibrate Industrial Robots with Experimental Verification. IEEE Trans. Robot. Autom. 1990, 6, 20–30. [Google Scholar] [CrossRef]
  3. Li, N.; Ping, X.; Wang, C.; Xu, C.; Jiang, Y. Exploring a Planar Constraints Self-Calibration Technique of Robots. Mech. Sci. Technol. Aerosp. Eng. 2019, 38, 1214–1222. [Google Scholar] [CrossRef]
  4. Newman, W.S.; Osborn, D.W. A New Method for Kinematic Parameter Calibration via Laser Line Tracking. In Proceedings of the IEEE International Conference on Robotics and Automation, Atlanta, GA, USA, 2–6 May 1993; Volume 2, pp. 160–165. [Google Scholar] [CrossRef]
  5. Xia, T. Research of Kinematic Calibration and Error Analysis for Industrial Robot. Master’s Thesis, Shanghai Jiao Tong University, Shanghai, China, 2010. Available online: https://kns.cnki.net/KCMS/detail/detail.aspx?dbcode=CMFD&dbname=CMFD2010&filename=2009225559.nh (accessed on 20 March 2024).
  6. Li, B.; Zhang, X.; He, X.; Luo, J. Kinematics Calibration of Large Industrial Robot and Precision Compensation Method. Mach. Des. Manuf. 2023, 12, 275–280. [Google Scholar] [CrossRef]
  7. Wan, Z.; Zhou, C.; Zhang, H.; Wu, J. Development of An Onsite Calibration Device for Robot Manipulators. Front. Inf. Technol. Electron. Eng. 2023, 24, 217–231. [Google Scholar] [CrossRef]
  8. Zou, F.; Fan, B.; Chen, Z.; Duan, T.; Huang, H. A Coordinate Conversion Method of Robot and Laser Tracker Combining Tool Coordinate System Calibration with Common Points. J. Geod. Geodyn. 2024, 44, 46–51. [Google Scholar] [CrossRef]
  9. Gu, L.; Yang, G.; Fang, Z.; Wang, R.; Zheng, T. The Calibration Algorithms for Industrial Robots Based on a Novel Self-calibration Device. Robot 2020, 42, 100–109. [Google Scholar] [CrossRef]
  10. Qi, F.; Ping, X.; Liu, J.; Jiang, Y. A Robot’s Parameter Identification Method with Joint Flexible Errors taken into Account. Mech. Sci. Technol. Aerosp. Eng. 2017, 36, 512–518. [Google Scholar] [CrossRef]
  11. Zhang, J. Research on Precision Analysis and Error Compensation of Six Degrees of Freedom Industrial Robot. Master’s Thesis, Shenyang University of Technology, Shenyang, China, 2023. [Google Scholar] [CrossRef]
  12. Jiao, G.; Feng, Y.; Wang, F.; Fan, C. Synthetically Analysis of the Robot Pose Error Resulting from Various Factors. J. Basic Sci. Encineering 2004, 4, 435–442. [Google Scholar] [CrossRef]
  13. Dini, P.; Saponara, S. Model-Based Design of an Improved Electric Drive Controller for High-Precision Applications Based on Feedback Linearization Technique. Electronics 2021, 10, 2954. [Google Scholar] [CrossRef]
  14. Zu, H.; Chen, X.; Chen, Z.; Wang, Z.; Zhang, X. Positioning Accuracy Improvement Method of Industrial Robot Based on Laser Tracking Measurement. Meas. Sens. 2021, 18, 100235. [Google Scholar] [CrossRef]
  15. Denavit, J.; Hartenberg, R.S. A Kinematic Notation for Lower-Pair Mechanisms Based on Matrices. J. Appl. Mech. 2021, 22, 215–221. [Google Scholar] [CrossRef]
  16. Hayati, S. Robot Arm Geometric Link Parameter Estimation. In Proceedings of the 22nd IEEE Conference on Decision and Control, San Antonio, TX, USA, 14–16 December 1983; pp. 1477–1483. [Google Scholar] [CrossRef]
  17. Niku, S.B. Introduction to Robotics: Analysis, Control, Applications; John Wiley & Sons: Hoboken, NJ, USA, 2020. [Google Scholar]
  18. Tao, W.; Lu, T.; Wu, F.; Li, D. An Improved Total Least Squares Algorithm for Solving Sphere Surface Fitting. J. Geod. Geodyn. 2018, 38, 92–96. [Google Scholar] [CrossRef]
Figure 1. KUKA KR5 R1400 robot geometric parameters. The dimension units in the figure are in millimeters.
Figure 1. KUKA KR5 R1400 robot geometric parameters. The dimension units in the figure are in millimeters.
Applsci 14 09824 g001
Figure 2. KUKA KR5 R1400 robot D–H coordinate system.
Figure 2. KUKA KR5 R1400 robot D–H coordinate system.
Applsci 14 09824 g002
Figure 3. End-effector deformation error schematic diagram. O t represents the theoretical position of the end-effector coordinates, while O t represents the actual position of the end-effector coordinates, taking deformation into account.
Figure 3. End-effector deformation error schematic diagram. O t represents the theoretical position of the end-effector coordinates, while O t represents the actual position of the end-effector coordinates, taking deformation into account.
Applsci 14 09824 g003
Figure 4. Simulation experiment flowchart.
Figure 4. Simulation experiment flowchart.
Applsci 14 09824 g004
Figure 5. KUKA KR5 R1400 robot simulation model.
Figure 5. KUKA KR5 R1400 robot simulation model.
Applsci 14 09824 g005
Figure 6. Robot end-effector positioning error.
Figure 6. Robot end-effector positioning error.
Applsci 14 09824 g006
Figure 7. Comparison of the robot end-effector position before and after error compensation.
Figure 7. Comparison of the robot end-effector position before and after error compensation.
Applsci 14 09824 g007
Figure 8. Comparison of end-effector positioning accuracy of the robot before and after simulation calibration error compensation.
Figure 8. Comparison of end-effector positioning accuracy of the robot before and after simulation calibration error compensation.
Applsci 14 09824 g008
Figure 9. Schematic diagram of the calibration system.
Figure 9. Schematic diagram of the calibration system.
Applsci 14 09824 g009
Figure 10. Schematic diagram of the experimental equipment.
Figure 10. Schematic diagram of the experimental equipment.
Applsci 14 09824 g010
Figure 11. Comparison of end-effector positioning accuracy of the robot before and after experimental calibration error compensation.
Figure 11. Comparison of end-effector positioning accuracy of the robot before and after experimental calibration error compensation.
Applsci 14 09824 g011
Table 1. KUKA KR5 R1400 robot D–H parameters.
Table 1. KUKA KR5 R1400 robot D–H parameters.
Link θ   ( ° ) d   ( m m ) a   ( m m ) α   ( ° ) β   ( ° )
1 θ 1 400180−90-
2 θ 2 -60000
3 θ 3 90 040−90-
4 θ 4 620090-
5 θ 5 + 180 0090-
6 θ 6 8000-
Table 2. Robot geometric error parameter presetting.
Table 2. Robot geometric error parameter presetting.
Link θ   ( ° ) d   ( m m ) a   ( m m ) α   ( ° ) β   ( ° )
10.0010.001−0.0010.001-
20.002-0.001−0.0010.001
30.0020.001−0.0010.001-
40.001−0.0010.001−0.001-
50.0020.001−0.0010.001-
60.001−0.0010.001−0.001-
Table 3. Robot geometric error parameter identification results.
Table 3. Robot geometric error parameter identification results.
Link θ   ( ° ) d   ( m m ) a   ( m m ) α   ( ° ) β   ( ° )
10.0210.816−0.231−0.055-
2−0.019-−0.919−0.035−0.009
30.037−0.2801.551−0.013-
40.031−0.4131.2340.029-
5−0.014−0.0010.0010.052-
6−0.0200.685−0.2450.038-
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

Wang, X.; Ren, W.; Wang, K.; Liu, J.; Lin, J.; Feng, J.; Zheng, J.; Li, F. A Self-Calibration Method for Robot End-Effector Using Spherical Constraints. Appl. Sci. 2024, 14, 9824. https://doi.org/10.3390/app14219824

AMA Style

Wang X, Ren W, Wang K, Liu J, Lin J, Feng J, Zheng J, Li F. A Self-Calibration Method for Robot End-Effector Using Spherical Constraints. Applied Sciences. 2024; 14(21):9824. https://doi.org/10.3390/app14219824

Chicago/Turabian Style

Wang, Xiong, Wenze Ren, Kang Wang, Jun Liu, Jinsong Lin, Jiahui Feng, Jun Zheng, and Fei Li. 2024. "A Self-Calibration Method for Robot End-Effector Using Spherical Constraints" Applied Sciences 14, no. 21: 9824. https://doi.org/10.3390/app14219824

APA Style

Wang, X., Ren, W., Wang, K., Liu, J., Lin, J., Feng, J., Zheng, J., & Li, F. (2024). A Self-Calibration Method for Robot End-Effector Using Spherical Constraints. Applied Sciences, 14(21), 9824. https://doi.org/10.3390/app14219824

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