Industrial robot kinematic calibration method and system based on virtual spherical profile error

By using a combination of virtual spherical contour error model and adaptive particle swarm algorithm in industrial robots, the problems of end-effector position parameter interference and unstable identification are solved, and higher-precision and stable kinematic parameter identification is achieved, which is significant. Improved the accuracy of robot kinematics calibration.

CN117984329BActive Publication Date: 2024-09-24KUNMING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410335759.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-22
Publication Date
2024-09-24
Estimated Expiration
2044-03-22

AI Technical Summary

Technical Problem

During operation of industrial robots, the working space accuracy is reduced due to structural wear and loss of joint zero positions. Existing kinematic calibration methods have problems with end-effector position parameter interference and unstable identification, making it difficult to achieve high-precision calibration.

Method used

A kinematic calibration method based on the contour error of the virtual sphere is used to establish the contour error model of the virtual sphere constraint through a single point constraint, eliminate the influence of the end effector position parameters, and use the adaptively adjusted particle swarm algorithm to optimize the kinematic parameters and design The objective function combines the sum of errors and the standard deviation of the unbiased estimate to improve the stability and accuracy of parameter identification.

Benefits of technology

It effectively avoids the interference of end effector position parameters on kinematic parameter identification, significantly improves the accuracy and stability of robot kinematic calibration, reduces the impact of abnormal points on the solution, and ensures the optimality and accuracy of parameter identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117984329B
    Figure CN117984329B
Patent Text Reader

Abstract

The present invention discloses a kinematic calibration method and system for an industrial robot based on a virtual spherical profile error, and belongs to the field of robot calibration. The method of the present invention comprises: establishing a virtual spherical profile error model for an industrial robot under a single-point constraint; designing an objective function according to the profile error model, and calibrating kinematic parameters by searching through an optimization algorithm. When the present invention identifies kinematic parameters of an industrial robot, the interference of actuator position parameters on the kinematic parameters of the robot body is avoided, the stability of parameter identification is improved, and the accuracy of robot kinematic calibration is enhanced as a whole.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an industrial robot kinematics calibration method and system based on virtual spherical profile error, and belongs to the field of robot calibration. Background Art

[0002] With the rapid expansion of industrial robot application areas, the complexity and precision requirements of industrial robot application methods are constantly increasing. However, industrial robots cannot avoid problems such as structural wear and loss of joint zero position during operation, which leads to the continuous reduction of workspace accuracy in actual applications, and precision calibration is urgently needed.

[0003] Kinematic calibration is one of the main means to improve the accuracy of robots. There are two main forms of kinematic calibration: open-loop calibration and closed-loop calibration. Open-loop calibration often uses laser trackers as measuring equipment, which are expensive and difficult to operate. Compared with the open-loop calibration method, the closed-loop calibration method, which uses physical constraints and sensors instead of measuring equipment, is widely used because it can greatly reduce the calibration cost and has good portability. As a common constraint method in closed-loop calibration, physical single-point constraint has large human collection errors and small data differences. When using the traditional kinematic calibration method under single-point constraint, there are problems such as interference caused by the end effector position parameters and unstable identification. Summary of the invention

[0004] The present invention provides a kinematic calibration method and system for industrial robots based on virtual spherical profile error. The closed-loop kinematic chain is formed by constraining the robot end effector at a single point, driving the robot to reposition and thus obtain a large amount of joint angle data, and establishing a profile error model under virtual spherical constraint. The model retains the robot body kinematic parameters, thereby avoiding the influence of the end effector position parameters on identification; the objective function is designed according to the profile error model, the error sum is combined with the standard deviation under unbiased estimation, and the influence of abnormal points on the solution is reduced. Then, the particle swarm algorithm of adaptively adjusting the inertia weight factor and the learning factor is used to optimize the kinematic parameters, and the spherical consistency is improved through optimization to approach the optimal solution of the robot body kinematic parameters. Compared with the traditional kinematic calibration method under single-point constraint, the profile error model of virtual spherical constraint in the proposed method eliminates the end effector position parameters, avoids the interference of the actuator position parameters on the kinematic parameter identification, and essentially guarantees the optimality of the kinematic parameter solution, providing support for improving the stability and accuracy of parameter identification.

[0005] The technical solution of the present invention is:

[0006] According to a first aspect of the present invention, a kinematic calibration method for an industrial robot based on a virtual spherical contour error is provided, comprising: establishing a contour error model of a virtual spherical constraint for an industrial robot under a single-point constraint; designing an objective function based on the contour error model, and calibrating kinematic parameters through an optimization algorithm search.

[0007] The invention discloses a contour error model for establishing a virtual spherical constraint for an industrial robot under a single-point constraint, comprising: calculating the theoretical position vector of the origin of a tail link coordinate system of an n-degree-of-freedom serial industrial robot in a base coordinate system through a forward kinematics model; performing spherical fitting through the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system to establish a spherical equation; expanding the spherical equation to obtain the expanded spherical equation; describing the expanded spherical equation in a matrix form to obtain a matrix-form spherical equation; obtaining the current fitted spherical center coordinates and fitting radius according to the matrix-form spherical equation; and establishing a spherical contour error model of the theoretical position vector of the origin of the tail link coordinate system of the industrial robot in the base coordinate system under the jth configuration according to the fitted spherical center coordinates and fitting radius.

[0008] The method of calculating the theoretical position vector of the origin of the tail link coordinate system of the n-degree-of-freedom serial industrial robot in the base coordinate system through the forward kinematics model is specifically as follows: using a single-point constraint to fix the industrial robot end effector, driving the industrial robot to move around the point for repositioning to N different configurations, and collecting joint angle data under different configurations; based on the forward kinematics model, calculating the theoretical position vector of the origin of the tail link coordinate system in the j-th configuration in the base coordinate system according to the joint angle data under the j-th configuration.

[0009] The method of obtaining the coordinates of the center of the sphere and the fitting radius of the current fitting according to the spherical equation in matrix form is specifically as follows: according to the spherical equation in matrix form, fitting is performed by least squares to obtain the coordinates of the center of the sphere and the fitting radius of the current fitting.

[0010] The spherical profile error model is expressed as:

[0011] e j =||| 0 P j -S||-R|

[0012] in, 0 P j is the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the j-th configuration, and S and R represent the fitting sphere center coordinates and fitting radius, respectively.

[0013] The objective function is expressed as:

[0014]

[0015] Among them, F(g) is the optimization target, e j represents the spherical profile error of the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the jth configuration, is the mean spherical profile error, j=1,2,...,N.

[0016] The optimization algorithm adopts a particle swarm algorithm; wherein, in the particle swarm algorithm, a linearly varying weight is adopted to adaptively adjust the inertia weight and the learning factor.

[0017] According to a second aspect of the present invention, there is provided an industrial robot kinematic calibration system based on a virtual spherical contour error, comprising: an establishment module for establishing a contour error model of a virtual spherical constraint for an industrial robot under a single-point constraint; an execution module for designing an objective function according to the contour error model, and calibrating kinematic parameters by searching through an optimization algorithm.

[0018] According to a third aspect of the present invention, a processor is provided, the processor being used to execute an operation, the operation comprising executing any one of the above-mentioned industrial robot kinematic calibration methods based on virtual spherical profile error.

[0019] The beneficial effects of the present invention are:

[0020] 1. The present invention proposes a contour error model under virtual spherical constraints. The model retains the kinematic parameters of the robot body, thereby avoiding the influence of the end effector position parameters on the identification, and fundamentally guarantees the optimality of the kinematic parameter solution.

[0021] 2. The present invention designs a fitness function based on the profile error model, combines the error sum with the standard deviation under unbiased estimation, reduces the influence of abnormal points on the solution, and ensures the stability of parameter identification. And adaptively adjusts the inertia weight factor and learning factor to ensure the accuracy of parameter identification.

[0022] 3. Compared with the traditional kinematic calibration method, the calibration accuracy of the present invention is significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a flow chart of the present invention;

[0024] Figure 2 The absolute position error curves of the front and rear terminals are calibrated for the traditional particle swarm algorithm under different models;

[0025] Figure 3 The absolute position error curves of the front and rear terminals are calibrated for different particle swarm algorithms under the proposed model. DETAILED DESCRIPTION

[0026] The invention will be further described below in conjunction with the accompanying drawings and embodiments, but the content of the invention is not limited to the scope of the embodiments.

[0027] Example 1: Figure 1-3 As shown, according to the first aspect of an embodiment of the present invention, a kinematic calibration method for an industrial robot based on a virtual spherical contour error is provided, comprising: establishing a contour error model of a virtual spherical constraint for an industrial robot under a single-point constraint; designing an objective function based on the contour error model, and calibrating kinematic parameters through an optimization algorithm search.

[0028] Furthermore, the method of establishing a contour error model of a virtual spherical constraint for an industrial robot under a single-point constraint comprises: calculating the theoretical position vector of the origin of the tail-link coordinate system of the n-degree-of-freedom serial industrial robot in the base coordinate system through a forward kinematics model; performing spherical fitting through the theoretical position vector of the origin of the tail-link coordinate system in the base coordinate system to establish a spherical equation; expanding the spherical equation to obtain the expanded spherical equation; describing the expanded spherical equation in matrix form to obtain a spherical equation in matrix form; obtaining the current fitted spherical center coordinates and fitting radius based on the matrix spherical equation; and establishing a spherical contour error model of the theoretical position vector of the origin of the tail-link coordinate system of the industrial robot in the j-th configuration in the base coordinate system based on the fitted spherical center coordinates and fitting radius.

[0029] Furthermore, the theoretical position vector of the origin of the tail link coordinate system of the n-DOF serial industrial robot in the base coordinate system is calculated by the forward kinematics model, specifically: the end effector of the industrial robot is fixed by a single-point constraint, the industrial robot is driven to move around the point relocation to N different configurations, and the joint angle data θ under different configurations are collected j =[θ 1 θ 2 θ 3 ....θ n-1 θ n ] T ; j = 1, 2, ..., N; Based on the forward kinematics model, the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the jth configuration is calculated according to the joint angle data under the jth configuration.

[0030] Furthermore, the obtaining of the coordinates of the center of the sphere and the fitting radius of the current fitting according to the spherical equation in matrix form is specifically: obtaining the coordinates of the center of the sphere and the fitting radius of the current fitting according to the spherical equation in matrix form by least square fitting.

[0031] Furthermore, the spherical profile error model is expressed as:

[0032] ej =|| 0 P j -S||-R|

[0033] in, 0 P j is the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the j-th configuration, and S and R represent the fitting sphere center coordinates and fitting radius, respectively.

[0034] Furthermore, the objective function is expressed as:

[0035]

[0036] Among them, F(g) is the optimization target, e j represents the spherical profile error of the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the jth configuration, is the mean value of the spherical profile error, j = 1, 2, ..., N, where N represents the total number of the industrial robot's repositioning motion configurations.

[0037] Furthermore, the optimization algorithm adopts a particle swarm algorithm; wherein, in the particle swarm algorithm, linearly varying weights are used to adaptively adjust the inertia weight and the learning factor.

[0038] According to a second aspect of an embodiment of the present invention, a kinematic calibration system for an industrial robot based on a virtual spherical contour error is provided, comprising: an establishment module for establishing a contour error model of a virtual spherical constraint for an industrial robot under a single-point constraint; an execution module for designing an objective function based on the contour error model, and calibrating kinematic parameters through an optimization algorithm search.

[0039] According to a third aspect of an embodiment of the present invention, a processor is provided, wherein the processor is used to perform an operation, wherein the operation includes executing any one of the above-mentioned industrial robot kinematic calibration methods based on virtual spherical contour error. Specifically, the processor implements the following steps when performing the operation: establishing a contour error model of a virtual spherical constraint for an industrial robot under a single-point constraint; designing an objective function based on the contour error model, and calibrating the kinematic parameters through an optimization algorithm search.

[0040] Example 2: Figure 1-3 As shown, a kinematic calibration method for an industrial robot based on a virtual spherical contour error comprises: Step 1, establishing a contour error model of a virtual spherical constraint for an industrial robot under a single-point constraint; Step 2, designing an objective function, and calibrating kinematic parameters (kinematic parameters are connecting rod length, connecting rod offset, connecting rod rotation angle, and joint angle zero position of each joint) through a particle swarm algorithm search.

[0041] Furthermore, the Step 1 includes:

[0042] The theoretical position vector of the origin of the tail link coordinate system of the n-DOF serial industrial robot in the base coordinate system is calculated by the forward kinematics model:

[0043]

[0044] n P = [0 0 0] T

[0045] in, 0 P j is the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the jth configuration, It is the homogeneous transformation matrix between the coordinate systems of adjacent links of the industrial robot;

[0046] For example, the origin position of the sixth axis coordinate system of a six-degree-of-freedom serial industrial robot is calculated using the forward kinematics model:

[0047]

[0048] 6 P = [0 0 0] T

[0049] The spherical surface is fitted by the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system, and the spherical surface equation is established as follows:

[0050] (P x -S x ) 2 +(P x -S y ) 2 +(P x -S z ) 2 =R 2 ;

[0051] Among them, P x ,P y ,P z is the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the jth configuration 0 P j The position coordinate component, S = [S x S y S z ] T is the coordinate of the center of the sphere, R is the radius;

[0052] Expand the spherical equation to obtain the expanded spherical equation:

[0053] -2P x S x -2P y S y -2P z S z +(S x 2 +S y 2 +S z 2 -R 2 )=-P x 2 -P y 2 -P z 2 ;

[0054] Describe the expanded spherical equation in matrix form to obtain the spherical equation in matrix form:

[0055]

[0056] Among them, A a =-2P x , A b =-2P y , A c =-2P z , A d =1, A e =-P x 2 -P y 2 -P z 2 ;

[0057] According to the matrix form spherical equation, the least squares method is used to fit the sphere center coordinates S and the fitting radius R of the current fitting.

[0058] According to the fitted spherical center coordinates S and the fitted radius R, the theoretical position vector of the origin of the tail link coordinate system of the industrial robot in the jth configuration in the base coordinate system is 0 P j Spherical profile error e j Defined as:

[0059] e j =||| 0 P j -S||-R|;

[0060] Due to e j The sphere center coordinates S and fitting radius R in are both given by 0 P jThe spherical profile error is fitted, so it is a function of the kinematic parameters and joint angles of the industrial robot.

[0061] Furthermore, the Step 2 includes:

[0062] Combined with the spherical profile error e defined in Step 1 j , the design objective function is:

[0063]

[0064] Among them, g is the particle individual searched by the particle swarm, is the mean spherical profile error.

[0065] The present invention takes minimizing the optimization target F(g) as the objective function, and the contour error is taken into account in the optimization target. Therefore, based on the optimization of the objective function, the kinematic parameters that make the contour error as small as possible (that is, the spherical consistency as high as possible) can be obtained, and then the optimal solution of the kinematic parameters can be obtained.

[0066] Using linearly changing weights, the inertia weights and learning factors are adaptively adjusted, and the particle velocity and position update expressions are:

[0067]

[0068]

[0069]

[0070]

[0071]

[0072] in, is the velocity of particle m at the dth iteration, w d is the inertia weight at the dth iteration, and are the individual learning factor and global learning factor at the dth iteration, r1 and r2 are random numbers between 0 and 1. is the individual optimal position of particle m at the dth iteration, is the position of particle m at the dth iteration, gbest d is the optimal position of all particles at the dth iteration, iter,iter max are the current number of iterations and the maximum number of iterations, respectively, max 、w min Respectively represent the maximum and minimum values ​​of the inertia weight, c 1max 、c 1minRespectively represent the maximum and minimum values ​​of the individual learning factor, c 2max 、c 2min Respectively represent the maximum and minimum values ​​of the global learning factor.

[0073] In summary, the present invention first forms a closed-loop kinematic chain by constraining the end effector of the industrial robot by a single point, and establishes a contour error model under virtual spherical constraints; designs a spherical contour error fitness function, adaptively adjusts the inertia weight factor and the learning factor, and ensures that the particle swarm intelligent search algorithm approaches the optimal kinematic parameters. By applying the above technical solution, it can be seen that when the present invention identifies the kinematic parameters of the industrial robot, the interference of the actuator position parameters on the kinematic parameters of the robot body is avoided, the stability of parameter identification is improved, and the accuracy of the robot kinematic calibration is enhanced as a whole.

[0074] In order to verify the effectiveness of the proposed method, this experiment was conducted on a general-purpose six-degree-of-freedom robot. In this experiment, a total of 1339 sets of joint angle data of the robot in different postures under a single constraint point were collected, and a laser tracker was used to collect 100 different positioning points in a large range as the validation set data. After the kinematic parameters of the industrial robot were calibrated by this method, the calibration effect is as follows: Figure 2 , 3 As shown in the figure, it can be seen that the kinematic calibration method proposed in the present invention can effectively reduce the absolute position error of the robot end.

[0075] In addition, the model is combined with the particle swarm algorithm to study the advantages of the proposed model and the improved particle swarm algorithm. The comparison of the absolute position error after calibration under the three combinations is shown in Table 1. It can be seen from Table 1 that the traditional model is affected by the position parameters of the end effector during the identification process, which makes it difficult for the robot body kinematic parameters to reach the optimal value. Therefore, when the actuator is replaced for accuracy verification, the accuracy is reduced. The method of the present invention proposes a spherical profile error model, which can effectively avoid the influence of this problem, reduce the degree of mutual influence when identifying kinematic parameters, and ensure the accuracy and reliability of parameter identification. The improvement of the inertia weight factor and learning factor of the particle swarm algorithm can ensure that the global search capability is maintained in the early stage of iteration, and provide stable local development capabilities in the later stage of iteration. Compared with before calibration, the model proposed by the present invention combined with the improved particle swarm algorithm reduces the maximum value of the absolute position error by 91.1%, the average value by 84.1%, and the standard deviation by 88.2%. Compared with the traditional particle swarm algorithm using the same error model, the model proposed by the present invention combined with the improved particle swarm algorithm reduces the maximum value of the absolute position error by 22.2%, the average value by 46.1%, and the standard deviation by 34.4%. Compared with the traditional method, the model proposed in the present invention combined with the improved particle swarm algorithm has a significant reduction of 67.1% in maximum value, 69.6% in average value and 68.1% in standard deviation. It can be seen that the kinematic calibration method of industrial robots based on virtual spherical profile error proposed in the present invention can more effectively improve the position accuracy of the robot end.

[0076] Table 1 Comparison of robot absolute position error before and after calibration

[0077] Absolute position error Maximum value / mm Average value / mm Standard deviation / mm Before calibration 10.9765 2.2098 1.4960 Traditional model + traditional particle swarm algorithm 2.9677 1.1519 0.5550 The model proposed by this invention + traditional particle swarm algorithm 1.2545 0.6505 0.2697 The model proposed by the present invention + improved particle swarm algorithm 0.9755 0.3508 0.1769

[0078] It can be seen from experiments that the present invention is applicable to the kinematic calibration method of an industrial robot under single-point constraint, which can significantly improve the position accuracy of the robot end.

[0079] The specific implementation modes of the present invention have been described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A kinematic calibration method for an industrial robot based on virtual spherical profile error, characterized in that: include: A contour error model of virtual spherical surface constraint is established for industrial robots under single-point constraint. The objective function is designed according to the profile error model, and the kinematic parameters are calibrated through optimization algorithm search; The objective function is expressed as: Among them, F(g) is the optimization target, e j represents the spherical profile error of the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the jth configuration, is the mean spherical profile error, j=1,2,...,N.

2. The kinematic calibration method for an industrial robot based on a virtual spherical profile error according to claim 1, characterized in that: The method of establishing a virtual spherical surface constraint contour error model for an industrial robot under single-point constraint includes: The theoretical position vector of the origin of the tail link coordinate system of the n-DOF serial industrial robot in the base coordinate system is calculated by the forward kinematics model; The spherical surface equation is established by performing spherical surface fitting through the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system; Expand the spherical equation to obtain the expanded spherical equation; Describe the expanded spherical equation in matrix form to obtain the spherical equation in matrix form; According to the spherical equation in matrix form, obtain the coordinates of the center of the sphere and the fitting radius of the current fitting; According to the fitted spherical center coordinates and fitting radius, the spherical profile error model of the theoretical position vector of the origin of the tail link coordinate system of the industrial robot in the base coordinate system under the jth configuration is established.

3. The kinematic calibration method for an industrial robot based on a virtual spherical profile error according to claim 2, characterized in that: The theoretical position vector of the origin of the tail link coordinate system of the n-DOF serial industrial robot in the base coordinate system is calculated by the forward kinematics model, specifically: Use a single-point constraint to fix the end effector of an industrial robot, drive the industrial robot to relocate around the point to N different configurations, and collect joint angle data under different configurations; Based on the forward kinematics model, the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the jth configuration is calculated according to the joint angle data under the jth configuration.

4. The kinematic calibration method for an industrial robot based on a virtual spherical profile error according to claim 2, characterized in that: The method of obtaining the coordinates of the center of the sphere and the fitting radius of the current fitting according to the spherical equation in matrix form is specifically as follows: according to the spherical equation in matrix form, fitting is performed by least squares to obtain the coordinates of the center of the sphere and the fitting radius of the current fitting.

5. The kinematic calibration method for an industrial robot based on a virtual spherical profile error according to claim 2, characterized in that: The spherical profile error model is expressed as: e j =||| 0 P j -S||-R| in, 0 P j is the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the j-th configuration, and S and R represent the fitting sphere center coordinates and fitting radius, respectively.

6. The kinematic calibration method for an industrial robot based on virtual spherical profile error according to claim 1, characterized in that: The optimization algorithm adopts a particle swarm algorithm; wherein, in the particle swarm algorithm, a linearly varying weight is adopted to adaptively adjust the inertia weight and the learning factor.

7. An industrial robot kinematic calibration system based on virtual spherical profile error, characterized in that: include: Establish a module for establishing a contour error model of a virtual spherical surface constraint for an industrial robot under single-point constraint; An execution module is used to design an objective function based on a profile error model and calibrate kinematic parameters through an optimization algorithm search; The objective function is expressed as: Among them, F(g) is the optimization target, e j represents the spherical profile error of the theoretical position vector of the origin of the tail link coordinate system in the base coordinate system under the jth configuration, is the mean spherical profile error, j=1,2,...,N.

8. A processor, characterized in that: The processor is used to execute an operation, and the operation includes executing the industrial robot kinematic calibration method based on virtual spherical profile error as described in any one of claims 1-6.