Geometric Calibration Method of Robot Based on Measurement System Including Position and Orientation Parameters

2023-12-10 12:19DeliZhangYuZhuLuYangandZheLiu

Deli Zhang, Yu Zhu, Lu Yang and Zhe Liu

(1.College of Mechanical and Electrical Engineering, Nanjing University of Aeronautics and Astronautics, Nanjing 210016,China;2.Nanjing Research Institute of Simulation and Technology, Nanjing 210010,China;3. Estun Automation Co., Ltd, Nanjing 210026,China;4. Engineering Technology Center, Shenyang Aircraft Company, Shenyang 110850, China)

Abstract: Industrial robot which can acquire high accuracy has been widely used in automatic assembly. Usually, the geometric parameter of industrial robot should be inspected during manufacturing and application. High precision measurement equipment was utilized to acquire the position and orientation of robot’s end-effector, when calibrating the geometric parameter of robot. A kind of measurement system based on a draw-wire encoder was presented, since the current measurement equipment has some disadvantages, such as the cost and the requirements of working environment are high. According to this kind of measurement system, a sort of geometric calibration method of robot was presented including position and orientation parameters. The uncertain arc length of the cable length between robot end-effector and the measurement can be exactly acquired according to the position and orientation parameters. The pose-solving model of robot end-effector was associated with the kinematic model of robot, and robot’s geometric parameter can be computed by using the least-squares methods. Validate instance was conducted, the result showed that the optimal number of the calibration pose was 47 with little improvement in accuracy, even if increasing the number of calibration pose. Robot calibration experiment was performed and the results showed that the absolute accuracy of robot decreased from 4.32 mm to 0.87 mm after calibration, which improved the robot’s absolute accuracy effectively.

Keywords: Robot Calibration;Industrial robot;Geometric parameter identification;Robot accuracy;draw-wire encoder

0 Introduction

With the continuously breakthroughs and innovations of industrial robot technology, it is widely used in automatic assembly of aerospace[1-2]. Industrial robot which can acquire high accuracy level is capable of improving the efficiency and precision of aircraft components. However, at present, the absolute accuracy of industrial robot is low due to various factors, which can only achieve millimeter level[3]. So, it is difficult to accomplish tasks in small components of aircraft which absolute accuracy level is supposed to reach 0.5 mm level[4]. According to the application of industrial robots in the field of high accuracy automatic assembly, it is very important to improve absolute accuracy of industrial robots.

The characteristics of error which influence the absolute accuracy of robot are diversified. The geometrical error during robot manufacturing and assembling process influences the robot’s absolute accuracy most which accounts for 90% of all the error factors[5]. Nowadays robot kinematics calibration technology is widely used to modify error of robot geometric parameters[6-7]. Robot kinematic calibration technology mainly consists of four aspects, such as kinematics model, position and orientation measurement, parameter identification and error compensation[8]. High precision measurement system was used to acquire the position and orientation of robot end effector which is the key to identifying robot geometric parameter error. Theodolite which can acquire high precision was used to calibrate robot in Refs. [9-10]. It can improve robot absolute precision, but it cannot realize the dynamic measurement. A laser tracker was used to calibrate robot in Refs.[11-14], which improves the absolute accuracy of robot. But the laser tracker also has some disadvantages, such as the requirements of working conditions and the high costs, professionals were required to operate the device which increased the difficulty of robot calibration. A kind of new spatial measurement system is developing which based on draw-wire encoder[15]. A kind of wire which has lower inertia was used to connect robot end effector, and rotary encoder which has high revolution was used to acquire the length of the wire, it can also acquire the length of wire fast and real-time which meets the demand of different position of robot end effector. The measurement system has several characteristics such as the wide measurement range, high accuracy, low cost, easy measurement operation, and strong adaptability to the working environment, thus deep research of the kind of measurement was conducted by more and more scholars[16]. A kind of robot calibration system based on three draw-wire encoders was established by Cheng[17], which realize the calibration of industrial robot. A kind of industrial robot calibration algorithm based on single draw-wire encoder was proposed by Zhang[18], which improved the absolute accuracy of industrial robots effectively[18]. A kind of wire guiding device was designed in Ref.[19], which several pulley was used to guide the direction of wire, due to the difficulty of measuring different spatial position based on single draw-wire encoder. Therefore, the achieved length of wire is not straight line which includes an unknown arc length. But this part of unknown arc length was ignored which reduced the accuracy of calibration algorithm. The envelope angle between wire and pulley was confined to a smaller scale, which affected the calibration range of robot geometric parameter.

In this paper, a couple of angle parameters which associated with the position and orientation based on draw-wire guiding device are proposed. Pose orientation on the measurement system was established by the acquired wire length and the angle parameters which associated the position and the orientation precisely. Industrial robot geometric parameter identification model was established by the robot kinematic model, and the least square method was used to identify the robot geometric parameters. Effects of draw-wire measurement error and driving shaft error and the number of calibration points on identifying accuracy of robot geometric parameter was also studied. ER robot was used for simulation and experimental validation of the effectiveness and the high revolution of the robot calibration algorithm.

At present, there are many researches on the calibration of traditional tool coordinate system (TCP/TCF) at home and abroad.

A calibration method for robot tool coordinate system based on singular value decomposition is proposed by Liu and Niu[20]. Although this method is feasible in theory, however, the decomposition process of singular values is complicated and the code is complicated to write, on the other hand, When calibration TCF parameters, the TCF attitude and the base coordinate system of the robot need to be controlled, maintain a consistent posture, the operation is complex. A robot calibration method based on planar template is proposed by Yang[21]. A laser displacement sensor is fixed at the end of the robot. The laser displacement sensor measures the planar template in different positions and attitudes by controlling the end of the robot, the parameters of the tool coordinate system are solved by the least square fitting method.

Among these traditional calibration algorithms, some algorithms have high accuracy, but the cost is very expensive, some algorithms are not expensive but difficult to guarantee the accuracy of calibration. Therefore, a robot calibration system with pose related parameters based on wire encoder is designed in this paper. The tool coordinate system is calibrated by measuring the length, it can greatly reduce the cost of calibration while ensuring high accuracy and simple operation.

1 Robot Calibration Algorithm Based on Measurement System Including Pose and Orientation Parameters

1.1 Measurement System Based on Single draw-wire Encoder Including Pose and Orientation Parameters

The measurement system (as shown in Fig.1) based on single draw-wire encoder mainly consists of draw-wire encoder, wire guiding device, and base. The type of the encoder is CLMS2, which the revolution can achieve 0.005 mm, and the measurement range is 2 m.

A kind of draw-wire guiding device is designed to meet the demand of different spatial position measurement. As shown in Fig.1, the upper tangent between wire and fixed pulley is pointC, the upper and lower tangent of moveable pulley is pointAandBrespectively. The wire which was pulled out from the draw-wire encoder passed through pointC, and then the wire envelope with the moveable pulley from pointAalong the horizontal direction. So the vertical height between pointsAandCis identical. Then, the wire is connected with the measured point from the upper tangent (pointB). The lower tangent of the moveable pulley is constant, no matter where is the measurement points. According to this kind of measurement system, several orientation parameters are introduced to acquire the location of the measuring point.

1.2 Position and Orientation Parameters of Measurement System

According the moveable pulley in Fig.1, the coordinates of measurement system is established in Fig.2.

Fig.2 Measurement system coordinates

As shown in Fig.2, the center of moveable pulley is pointO, which is the initial position of the measurement system. PointPis the measured point, and pointsAandBare the lower and upper tangent between the moveable pulley and the wire. The direction of wire lineACis horizontal after the guiding of fixed pulley, envelope angle between the wire and moveable pulley isλ. When the measured pointPmoves to pointP1, the moveable pulley rotate angleβ1along lineAC, and the dotted line as shown in Fig.2 is the new location of moveable pulley. During this rotation process, the lower point has remained unchanged. Thus, the moveable pulley tangent angelλand the rotation angelβwere used to represent the location of posePin the measurement system.

When the measurement system at initial positionβ=0, the base coordinate of measurement system (OAXAYAZA) was established in lower tangent pointA: the direction of axisXAis horizontal to the right, the direction of axisZAis the direction ofAOat initial position which is vertical to up, according to the right hand screw rule the axisYAcan be defined finally. The coordinate at the upper tangent of moveable pulley (OBXBYBZB) was also established: the direction of axisXBis from pointBto pointP, the direction of axisZBis from the center of moveable pulley to the upper tangent of pointB, according to the right hand screw rule the axisYBcan be defined finally. The coordinate in measurement system was established according to the pose and orientation parametersλ,β. The following will introduce how to acquire the position of measured pointPaccording to the length of wire and the pose and orientation parametersλ,β.

1.3 Position Solving Model of Measurement System

According to section 1.2, the wire lengthLacquired by the draw-wire encoder is consisted by two parts, the radium of moveable pulley is supposed to ber:

L=rλ+|BP|

(1)

Trans(XA,-rsλ)Rot(YA,λ-π)·

Trans(XB,L-rλ)

(2)

where s and c represent sin and cos respectively. Homogeneous matrix was used to simplify calculation:

(3)

(4)

where,Lcan be acquired by draw-wire encoder; the parameterλ,βis the orientation parameter; the first three column of vectorF(L,λ,β) represent the 3D positon of pointP, and the fourth column of the vector is the scale factor.

1.4 Identification Model of Robot Geometric Parameter

As shown in Fig.3, the measured pointPis the same as pointE, which is the fixed point on the end effector of robot, pointRis the base point of robot coordinates. The measurement system coordinates were established in Section 1.2, the end effector coordinates of robot can be acquired by D-H method.

Fig.3 Identification coordinates of robot calibration

(5)

1.5 Identification Method of Robot Geometric Parameters Based on the Length of Wire

(6)

where,dx,dy,dzrepresent the transformation distance along axisx,y,zrespectively.A,B,Crepresent the angle of rotation around the axisx,y,zrespectively. The parametersdx,dy,dz,A,B,Care the unknown parameters. Robot geometric parameters identification equations can be achieved by simulate the Eqs.(4)-(6).

(7)

The equation group (7) will be created when robot end effector moves to a position, and there will also emerge two known parametersλ,β. So, we can getnpieces of equation group (7), when the number of measured points isn, meanwhile, the number of unknown parameters is 2n+m+6, the number of equations is 3n, and the number of robot geometric parameters ism. When the number of equations is no less than the number of unknown parameters, the identification of robot geometric parameters can be achieved.

n≥m+6

(8)

The least square method was used in Eq.(9) to optimize the identification of Eq.(7):

(9)

2 Application on Robot Geometric Parameters Calibration

Fig.4 is the robot geometric calibration scheme diagram.

Fig.4 Scheme of robot calibration algorithm

2.1 Acquisition of Wire Length Data

First, the measurement system should be placed in a proper position before calibrating the robot, the wire should be connected to the measured point on the robot end effector, and the robot should not be interfered with by the wire. Then, the robot is moved to different location in the workspace, meanwhile the length of wire should be acquired when the robot is moving.

2.2 Calibration Algorithm of Industrial Robot

Two pieces of model should be established during the robot calibration:

(1) The position solving model of the measurement system.

The position and orientation parametersλ,βwere used to establish the position solving modelF(L,λ,β) according to the wire length of different positionsL1,L2,···,Lnin Section 1.3.

(2) Kinematic model of industrial robot.

Trans(ai,0,0)R(x,αi)=

(10)

where,i=1,2,···,kandkis the number of robot joint,θiis the rotation angel around axiszi-1,diis the transformation distance along axiszi-1,aiis the transformation distance along axisxi, andαiis the rotation angel around axisxi.

The unknown robot geometric parameter was expressed by the vector

The homogeneous transformation matrix from the base coordinates to the end effector coordinates, if every adjacent joints are transformed in this manner, starting from the base coordination.

(11)

(12)

(13)

(3) Identification method of robot geometric parameters.

The robot geometric parameter identification equation group can be achieved by simultaneous Eqs. (7) and (13). As shown in formula (14).

θk,dk,ak,αk)

(14)

A simulation program was developed in the following section, the orientation of robot base coordinates and measurement system coordinates is the same, and the direction of robot geometric parameterd1is the same asdz. According to formula (6), there are three unknown parameters, such asB,dx,dy. The number of robot joints is supposed to be six, and each joint has four geometric parameters, thus, there are 24 unknown robot geometric parameters to identify. So, the number of measured points should be no less than 27, according to formula (7). The robot geometric parameters can be calculated by utilizing formula (9).

2.3 Simulation of Robot Calibration Algorithm

In this section, ER type of robot was used to invalidate the robot calibration algorithm, which was produced by ESTUN Company. Fig.5 shows the robot coordinates, which are established by the D-H model. The geometric parameters change toθ2,β2,a2,α2, since the second joint is parallel with the third joint, according to the MDH model. Table 1 shows the geometric parameters of all the robot joints, whereθ1,θ2,···,θ6represent the initial value of all the robot rotation joints.

Fig.5 D-H model of ER robot

In the simulation program, all the actual robot geometric parameters are shown in Table 2.

Simulation program was conducted according to the robot geometric parameter calibration scheme, as shown in Fig.4. The simulation results can be seen in Fig.6.

Table 1 Robot geometric parameter

Table 2 Actual value of robot geometric parameter

Fig.6 Influence of the number of calibration points on identification results

It can be concluded from Fig.6 that the transformation singularity between robot base coordinates and measurement system coordinates will emerge when the number of measured points fullfills to meet the identification requirement. So, in this paper, a kind of oversampling method was introduced to avoid this problem and improve the accuracy of parameter identification. The accuracy of robot geometric identification can achieve the level of 3e-10 after one time of iterative computation when the number of measured points is 40, and the results are shown in Table 3.

Table 3 Relationship between actual value and algorithm value

According to the simulation program, the maximum error of the joint length is only 3e-10 mm, and the maximum robot geometric parameter of angel is only 2e-10°. So, the accuracy and effectiveness of robot calibration algorithm were improved since the identification result is very close to the actual parameters.

3 Accuracy Analyze of Calibration Algorithm

In the actual calibration process, the acquired data will be affected by many kinds of factors, and affect the identification result of robot geometric parameters finally. The immunity of several kinds of errors to the calibration algorithm is studied in this section, such as the measurement error of draw-wire encoder and rotation error of robot driving axis.

Fig.7 is the process diagram of the influence on the robot calibration by errors.

(1)Imposed on the basis of the robot joint angle initial valueθ1,···,θkof random error, to acquire the actual length of wire.

(2)Applying the random error on the length of wire.

(3)Repeat the two previous steps to acquire the 40-number length of wire in different positions.

(4)Bring the acquired length of wire into the position solving model in Fig.4, and establishing the robot geometric parameter identification model.

The least square method was used to compute the actual robot geometric parameter.

Fig.7 Process diagram of the influence to robot calibration by errors

3.1 Error of Draw-wire Encoder Measurement

According to Fig.7, the range of random error in Step 2 is ±0.001 mm,±0.005 mm,±0.01 mm,±0.02 mm,±0.03 mm respectively. Table 4 shows the relationship between the theoretical value of the wire length and the actual value of the wire length.

Table 4 Relationship between actual value of wire length and theoretical value

Comparing the theoretical value in Table 3 and the algorithm value according to the imposed length error of the wire, the result shows that the identification accuracies of length parametersθ1,α2,a5,θ5and angle parametersd3,d6,a1,a3was most affected by the wire length. The identification results were fitted into smooth curve as shown in Fig.8.

Fig.8 Influence of measurement error on identification results

According to Fig.8, it can be concluded that: firstly, the robot geometric parameter identification accuracy is affected obviously when the draw-wire measurement error is more than 0.01 mm. Secondly, the maximum identification error of angle parameter among robot geometric parameters is only 0.047°, when the maximum error of draw-wire measurement is less than 0.01 mm, and the maximum identification error of length parameter among robot geometric parameters is only 0.089 mm. It provides a reference for draw-wire encoder selection, and the measurement error of draw-wire encode in this is less than 0.005 mm, which meets the identification accuracy.

3.2 Analyze on Calibration Algorithm Immunity to Driving Axis Error

According to Fig.7, the range of random error of driving axis error in Step 1 is ±0.008°,±0.006°,±0.003°,±0.001° respectively. Comparing the theoretical value in Table 3 and the algorithm value according to the imposed angle error of robot driving axis,the result shows that: the identification accuracy of length parameter has nothing to do with the driving axis error, and parametersθ1,θ3,θ4,θ5among robot initial rotation anglesθ1,···,θ6are most affected. The identification results were fitted into smooth curve as shown in Fig.9.

Fig.9 Influence of driving axis error on identification results

As shown in Fig.9, it can be concluded that: firstly, the identification accuracy of length parameter has nothing to do with the driving axis error. Secondly, the effects of robot driving axis rotation error on robot angel parameter are linear, and the maximum error is only 0.0045° when the error of robot driving axis is less than 0.008°. So, the calibration algorithm has strong immunity to driving axis error.

3.3 Influence on Robot Calibration Algorithm Accuracy by Number of Calibration Point

The measurement error of draw-wire encoder and error of driving axis are difficult to avoid during the actual process of robot geometric parameter calibration. The accuracy of the robot geometric parameter identification can be affected by these factors, over-sampling method is presented in this paper which increases the identification redundancy of formula (9) by increasing the number of calibration points.

The measurement error of draw-wire encoder is supposed to be 0.01 mm, the error of robot driving axis is supposed to be 0.009°, and the deviation between axisXin measurement system coordinates and axisZin robot base coordinates is supposed to be 0.1°, and the position deviation of axiszis supposed to be 0.1 mm. According to Fig.7, these errors were applied to acquire the actual measurement data, and the position of robot end effector was moved to different locations with the number of positions being 35, 40, 45, 47, and 50 respectively. L-M method was used in MATLAB to acquire the identification result by iterating the initial value of robot geometric parameter.

Comparing the theoretical value in Table 3 and the algorithm value according to the method of over-sampling, the result shows that: the identification accuracies of length parameters among robot geometric parameters ared3,d4,α1,a3, and the angel parameters among robot geometric parameters areθ1,θ2,α3,θ5. Identification results were fitted into smooth curve as shown in Fig.10.

As shown in Fig.10, it can be concluded that: firstly, identification accuracy of robot geometric parameters improved significantly by using the method of over-sampling.

Secondly, the maximum error of robot length parameter is only 0.09 mm, and the maximum error of robot angle parameter is only 0.07°, and the accuracy improvement is not obvious when increasing the number of calibration numbers. So, taking into account factors such as the calibration time, the optimal number of calibration points is 47.

Fig.10 Influence of number of calibration points on identification results

4 Robot Calibration Experiment

The experiment facility is shown in Fig.11. The type of ER30 robot manufactured by ESTUN was used as experimental subject, shown in the left of Fig.11; the measurement system was located in the right of Fig.11. The communication between draw-wire encoder and PC was performed based on MFC code, which meets the command of consecutive measurement during the process of experiment. The working temperature remain 20-23 ℃ unchanged, and the robot end effector is zero-load during the experiment was carried out.

Fig.11 Experiment facility

Table 5 shows the nominal value of robot geometric parameter.

Tabel 5 Robot geometric parameters

Firstly, 47 calibration points were selected in the working range of robot (1200 mm×1200 mm×1200 mm), tutorials such as PTP code were used to teach the 47 discrete calibration points.

Secondly, place the wire in the zero position, and connect the wire to the robot end effector after the draw-wire encoder was powered, 47 number of wire length was acquired.

Finally, L-M method was used to identify the robot geometric parameter according to Section 2.2, and the result was converged after no more than 22 times of iteration, the result as shown in Table 6.

In this paper, DH model is used to model the kinematics of the robot. The principle of this model is to establish a joint coordinate system for each joint of the robot with 4 structural parameters [θdaα], the transformation relationship between the coordinate systems of adjacent joints of the robot is expressed in the form of a homogeneous transformation matrix. The position and pose information of the robot end under the robot base coordinates is determined by connecting the adjacent joint coordinate systems. Therefore, the calibrated geometric parameters of the robot (as shown in Table 3 in Section 2.3) and the actual geometric parameters of the robot (see Table 2 in Section 2.3) are brought into the DH model, it can be calculated that the absolute positioning accuracy of the end of the industrial robot is 0.87 mm.

Error compensation was carried out by replacing the initial values with the algorithm values in Table 6, and the robot’s absolute error was reduced from 4.32 mm to 0.87 mm after calibration, the absolute accuracy of robot was improved effectively.

Table 6 Algorithm value of robot geometric parameters

5 Conclusions

1) A kind of robot geometric parameter calibration algorithm was established based on measurement system containing position and orientation parameter. Robot geometric parameter identification model was established based on position solving model in measurement system and robot kinematic model, the least square method was used to compute the actual robot geometric parameter. Simulation examples were conducted that the accuracy of robot length parameter among geometric parameters be improved to 3e-8 μm, and the accuracy of robot angel parameter among geometric parameters be improved to 7.2e-7″. Thus, the effectiveness and accuracy of robot calibration algorithm were improved.

2) The influence of draw-wire encoder measurement error and robot driving axis error on the accuracy of calibration algorithm was analyzed, and simulation examples were carried out to verify the immunity of calibration algorithm to robot driving axis error, and the calibration accuracy can be insured in the case of the measurement error of draw-wire encoder is less than 0.01 mm.

3) Over-sampling method was used to improve the identification accuracy of calibration algorithm, and experiment was developed by use of ER type robot. The experimental results showed that the absolute accuracy of robot decreased from 4.32 mm to 0.87 mm after calibration, which improved the robot’s absolute accuracy effectively.

4) The robot geometric parameter calibration method has the following advantages: easy to operate and effectuate, high environmental compatibility and accuracy, and the method is particularly versatile that the calibration algorithm can not only be used in ordinary robot but also can calibrate parallel mechanisms or other complex mechanical device.