Robotic arm parameter error identification and compensation method

Through the combination of pneumatic clamps and sensors, the kinematic model and parameter error compensation model of the robot arm are established, which solves the high cost and complex operation problems of parameter error detection of the robot arm, achieves efficient identification and compensation in equipment-dense environments, and improves The position accuracy of the robotic arm is improved.

CN115042189BActive Publication Date: 2024-10-01XIAN UNIV OF TECH
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202210861679.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2024-10-01
Estimated Expiration
2042-07-22

AI Technical Summary

Technical Problem

Existing robotic arm parameter error detection technology is expensive, complex to operate and has high environmental requirements, making it difficult to effectively apply in equipment-intensive factory environments.

Method used

Using a measurement tool that combines pneumatic fixtures, laser displacement sensors, and displacement sensors, a simple and efficient algorithm is used to identify and compensate for the parameter errors of the robotic arm by establishing a kinematic model and a parameter error compensation model for the robotic arm.

Benefits of technology

It realizes the identification and compensation of robotic arm parameter errors, reduces detection costs, simplifies operating procedures, maintains efficiency in equipment-intensive environments, and significantly improves the position accuracy of the robotic arm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115042189B_ABST
    Figure CN115042189B_ABST
Patent Text Reader

Abstract

The invention discloses a method for identifying and compensating a parameter error of a mechanical arm, and the steps include: 1) installing a test piece, connecting the end of the mechanical arm to a pneumatic clamp securely, and the clamping claw on the pneumatic clamp clamps the clamping handle; adjusting the position of the laser displacement sensor and the displacement sensor 1 and the displacement sensor 2 on the measuring frame to make them perpendicular to the measuring plane of the calibration piece; 2) establishing a kinematic model of the mechanical arm, setting relevant mechanical arm model parameters, and establishing a kinematic model of the mechanical arm through coordinate transformation; 3) using the displacement sensor 1 and the displacement sensor 2 to measure the motion error in the X and Y directions, and using the laser displacement sensor to measure the displacement in the Z direction of the end of the mechanical arm, 4) establishing a parameter error compensation model of the mechanical arm; 5) completing the error compensation of the mechanical arm. The algorithm used by the method of the invention is simple and efficient, and overcomes the disadvantages of high price and complicated operation brought by the traditional method for measuring the parameter error of the mechanical arm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of robot arm precision control and relates to a robot arm parameter error identification and compensation method. Background Art

[0002] Research results show that most of the robot arm position errors are caused by inaccurate descriptions of the robot arm's internal kinematic model, so it is necessary to calibrate the robot arm's kinematic model parameters. Therefore, it is necessary to identify and compensate for the parameter errors in the robot arm itself, so as to improve the absolute positioning accuracy of the robot arm, which is extremely important for expanding the application range of the robot arm.

[0003] At present, high-precision laser trackers are commonly used at home and abroad to directly measure the position of the end effector of the robotic arm. By comparing the actual position of the end effector with the theoretical position, the position and posture error of the end effector can be inversely calculated.

[0004] The laser tracker has a large working range, high measurement efficiency, and non-contact measurement. It can collect relevant data of moving objects in real time, and is suitable for measuring large-scale assembly tasks and robots. However, it is relatively expensive, and has certain requirements for personnel in installation and use. The light source used for measurement also has relatively high requirements for the surrounding environment, and is not suitable for equipment-intensive factory environments.

[0005] Therefore, in the field of robotic arms, there is a need for a robotic arm parameter identification method that is easy to operate, less affected by the environment, and relatively inexpensive. Summary of the invention

[0006] The purpose of the present invention is to provide a method for identifying and compensating robot arm parameter errors, which solves the problems of the existing detection technology being expensive, inconvenient to operate, and having high environmental requirements.

[0007] The technical solution adopted by the present invention is a method for identifying and compensating robot arm parameter errors, which is implemented by using a set of measuring tools according to the following steps:

[0008] Step 1: Install the test piece,

[0009] Connect the end of the robot arm to the pneumatic fixture securely, and clamp the clamping handle with the clamping claws on the pneumatic fixture; adjust the position of the laser displacement sensor and displacement sensor 1 and displacement sensor 2 on the measuring frame to make them perpendicular to the measuring plane of the calibration part;

[0010] Step 2: Establish the kinematic model of the robot arm.

[0011] 2.1) Set the relevant robot model parameters,

[0012] 2.2) Establish the kinematic model of the robot arm through coordinate transformation;

[0013] Step 3: Input the -Z direction motion command to the robot control system, use displacement sensor 1 and displacement sensor 2 to measure the motion error in the X and Y directions, and use the laser displacement sensor to measure the displacement in the -Z direction of the end of the robot arm.

[0014] Step 4: Establish a parameter error compensation model for the robotic arm;

[0015] Step 5: Complete the robot arm error compensation,

[0016] According to V j The geometric parameter setting in the numerical compensation robot control system is used to obtain the robot system with compensated geometric parameter errors.

[0017] The beneficial effect of the present invention is that a simple and efficient algorithm is used to avoid the disadvantages of high price and complicated operation brought about by the traditional method of measuring the error of the robot arm parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of the structure of a measuring tool used in the method of the present invention;

[0019] Figure 2 A schematic diagram of the motion of identifying the error process of the robot arm parameters by the method of the present invention;

[0020] Figure 3 A schematic diagram of the kinematic model of the robot arm in the method of the present invention;

[0021] Figure 4 It is a parameter error identification calculation flow chart in the method of the present invention;

[0022] Figure 5 It is a schematic diagram of the overall process of the method of the present invention;

[0023] Figure 6a Comparison of X-direction data error values ​​before and after parameter error compensation;

[0024] Figure 6b Comparison of Y-direction data error values ​​before and after parameter error compensation.

[0025] In the figure, 1. pneumatic clamp, 2. clamping jaws, 3. clamping handle, 4. measuring frame, 5. laser displacement sensor, 6. displacement sensor 1, 7. displacement sensor 2, 8. calibration piece. DETAILED DESCRIPTION

[0026] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0027] Reference Figure 1 , Figure 2 The structure of the measuring tool for identifying the parameter error of the robot arm adopted by the method of the present invention includes a pneumatic clamp 1, a clamping jaw 2 on the pneumatic clamp 1 is connected to a clamping handle 3; a measuring frame 4 is fixed to the other end of the clamping handle 3, and a laser displacement sensor 5, a displacement sensor 1 6, and a displacement sensor 2 7 are arranged on the measuring frame 4. During measurement, the three sensors are perpendicular to the measuring plane of the calibration piece 8.

[0028] Reference Figure 5 The parameter error identification and compensation method described in the present invention is implemented by using the above-mentioned measurement tool according to the following steps:

[0029] Step 1: Install the test piece,

[0030] Connect the end of the robot arm to the pneumatic clamp 1 securely, and clamp the clamping handle 3 with the clamping claw 2 on the pneumatic clamp 1; adjust the position of the laser displacement sensor 5 and the displacement sensor 1 6 and the displacement sensor 2 7 on the measuring frame 4 so that they are perpendicular to the measuring plane of the calibration piece 8;

[0031] Step 2: Establish the kinematic model of the robot arm.

[0032] 2.1) Set the relevant robot model parameters,

[0033] Reference Figure 3 , select the robot arm installation base to establish the base coordinate system, x0, y0, z0 represent the coordinate axes of the robot arm base coordinate system; establish joint coordinate systems for the six joints of the robot arm, where x i ,y i 、z i Respectively represent the coordinate axes of the six joint coordinate systems of the six-degree-of-freedom manipulator; according to the relative position of the above-mentioned measuring tool in the base coordinate system, a measuring tool coordinate system is established, wherein x7, y7, and z7 represent the coordinate axes of the measuring tool; d j Indicates along z j The origin of the j joint coordinate system in the positive direction of the axis is from x j-1 Move to x j The distance k Indicates along x k The origin of the k-joint coordinate system in the positive direction of the axis is from z k Move to z k+1 distance;

[0034] In this step, i=1,2,...,6, j=1,2,...,7, k=1,2,...,6;

[0035] 2.2) Through coordinate transformation, the kinematic model of the robot arm is established, and the expression is:

[0036]

[0037] Among them,

[0038] i x = c1[c 2,3 (c4c5c6 - s4s6) - s 2,3 s5c6] - s1(s4c5c6 + c4s6);

[0039] i y = s1[c 2,3 (c4c5c6 - s4s6) - s 2,3 s5c6] + c1(s4c5c6 + c4s6);

[0040] i z = s 2,3 (s4s6 - c4c5c6) + c 2,3 s5c6;

[0041] j x = -c1[c 2,3 (c4c5s6 + s4c6) + s 2,3 s5s6] + s1(s4c5s6 - c4c6);

[0042] j y = -s1[c 2,3 (c4c5s6 + s4c6) + s 2,3 s5s6] - c1(s4c5s6 - c4c6);

[0043] j z = s 2,3 (c4c5s6 + s4c6) - c 2,3 s5s6;

[0044] k x = c1(-c 2,3 c4s5 + s 2,3 c5) + s1s4s5;

[0045] k y = s1(-c 2,3 c4s5 + s 2,3 c5) + c1s4s5;

[0046] k z = c 2,3 c5 + s 2,3 c4s5;

[0047] p x = c1[a2c2 + (a3 - d7c4s5)c 2,3 + (d4 + d7c5)s 2,3 + s1(d7s4s5 - d3);

[0048] p y =s1[a2c2+(a3-d7c4s5)c 2,3 +(d4+d7c5)s 2,3 ]-c1(d7s4s5-d3);

[0049] p z =d1+(d7c4s5-a3)s 2,3 +(d7c5+d4)c 2,3 -a2s2;

[0050] In the above formula, i x Represents the component of the X-axis of the robot end coordinate system on the X-axis of the base coordinate system;

[0051] i y Represents the component of the X-axis of the robot end coordinate system on the Y-axis of the base coordinate system;

[0052] i Z Represents the component of the X-axis of the robot end coordinate system on the Z-axis of the base coordinate system;

[0053] j x Represents the component of the Y-axis of the robot end coordinate system on the X-axis of the base coordinate system;

[0054] j y Represents the component of the Y axis of the robot end coordinate system on the Y axis of the base coordinate system;

[0055] j Z Represents the component of the Y-axis of the robot end coordinate system on the Z-axis of the base coordinate system;

[0056] k x Represents the component of the Z-axis of the robot end coordinate system on the X-axis of the base coordinate system;

[0057] k y Represents the component of the Z-axis of the robot end coordinate system on the Y-axis of the base coordinate system;

[0058] k Z Represents the component of the Z axis of the robot end coordinate system on the Z axis of the base coordinate system;

[0059] p x Indicates the displacement of the end of the robot arm relative to the origin coordinate in the X direction;

[0060] p y Indicates the displacement of the end of the robot arm relative to the origin coordinate in the Y direction;

[0061] p Z Indicates the displacement of the end of the robot arm relative to the origin coordinate in the Z direction;

[0062] s i,j = sin(θ i +θ j ), c i,j =cos(θ i +θ j ), θ i With θ j Respectively represent the rotation angle values ​​of each joint. In this step, i=1,2,…,6, j=1,2,…,6;

[0063] Step 3: Input the -Z direction motion command to the robot control system, use two displacement sensors (i.e., displacement sensor 1 6 and displacement sensor 2 7) to measure the motion errors in the X and Y directions, and use the laser displacement sensor 5 to measure the displacement in the -Z direction of the end of the robot arm.

[0064] The purpose of this step is to measure the influence of the robot arm parameter error on the motion trajectory of the robot arm end during the movement process. By reading the values ​​of the relevant sensors in the above-mentioned measurement tools, the motion error set E in the X and Y directions is obtained. x ={x1,x2,...,x i}i=1,2,...,n and E y ={y1,y2,...,y i}i=1,2,...,n; then, through the robot control system, the joint angle set corresponding to the displacement error set is obtained, and the expression is as follows:

[0065]

[0066] In the formula, Represents the vector composed of joint angles θ2, θ3, θ4, and θ5 when moving to a certain point;

[0067] Step 4: Reference Figure 4 , establish the parameter error compensation model of the robot arm,

[0068] 4.1) According to the kinematic model of the robot arm obtained in step 2, a parameter error compensation model is established. The coordinate expressions of the robot arm in the X and Y directions are as shown above, respectively:

[0069] p x =c1[a2c2+(a3-d7c4s5)c 23 +(d4+d7c5)s 23 ]+s1(d7s4s5-d3) (1)

[0070] p y =s1[a2c2+(a3-d7c4s5)c 23 +(d4+d7c5)s 23 ]-c1(d7s4s5-d3) (2)

[0071] Assume that the robot arm motion plane is the XOZ plane of the working coordinate system, and the above two equations can be simplified as:

[0072] p x =f x (θ2,θ3,θ4,θ5,d3,d4,d7,a2,a3); (3)

[0073] p y =f y (θ2,θ3,θ4,θ5,d3,d4,d7); (4)

[0074] In the formula, a i Represents the connecting rod length; θ i represents the joint rotation angle; d i Indicates the connecting rod offset distance;

[0075] After introducing parameter errors, the coordinate transformation of the robot arm in the X and Y directions is:

[0076]

[0077] p y '=f y (θ2+Δθ2,θ3+Δθ3,θ4+Δθ4,θ5+Δθ5,d3+Δd3,d4+Δd4,d7+Δd7); (6)

[0078] In the formula, Δa i Indicates the connecting rod length error; Δθ i Represents the joint angle error; Δd i Indicates the connecting rod offset distance error;

[0079] From the relationship between error and theoretical position, we have: p′ x =p x +ΔX,p′ y =p y +ΔY, subtract the two equations and get the following equation (7):

[0080] ΔY=p′ y -p y +p′ x -p x +ΔX (7)

[0081] Substituting the measured error set into equation (7), we get the nonlinear parameter fitting equation group:

[0082] y i =p′ y -p y +p′ x -p x +xi i=1,2,...,n (8)

[0083] For the convenience of derivation, let y i =g(θ2,θ3,θ4,θ5,x i )i=1,2,...,n;

[0084] 4.2) From equation (8), we can see that the parameter error compensation problem of the robot arm in the Z direction can be described as follows: by fitting a set of coefficients Δθ2, Δθ3, Δθ4, Δθ5, Δd3, Δd4, Δd7, Δa2, Δa3 through nonlinear equations, so that at different joint rotation angles θ i Down, And the residual The value is the smallest, then the coefficients to be solved in this problem Δθ2, Δθ3, Δθ4, Δθ5, Δd3, Δd4, Δd7, Δa2, Δa3 are the geometric parameter errors of the robot arm, and the solution is as follows:

[0085] 4.2.1) In the nonlinear parameter fitting equation (8), there are nine parameters to be solved, namely Δθ2, Δθ3, Δθ4, Δθ5, Δd3, Δd4, Δd7, Δa2, Δa3. For the convenience of calculation, they are named V in the following text. j,i (j=1~9,j∈Z), i is the number of iterations, and the initial values ​​of the nine unknown quantities are assigned. Under ideal conditions, the geometric parameter errors of the robot arm are all 0, so the initial values ​​of the nine unknown quantities are all set to 0;

[0086] 4.2.2) According to the initial value of the given unknown quantity, substitute the values ​​of the n sets of relative displacement errors obtained from the experiment into equation y i =g(θ2,θ3,θ4,θ5,x i )i=1,2,...,n, we get n sets of calculation results and name the calculated set F i-1 , F i-1 With E y Compare the corresponding values ​​in and calculate the first residual sum of squares γ i-1 ;

[0087] 4.2.3) Introduce the amplification factor λ = 0.001, use V j,i =V j,i-1 +λ to V j Substitute the values ​​of n sets of data θ2, θ3, θ4, θ5 into equation y i =g(θ2,θ3,θ4,θ5,x i )i=1,2,...,n, calculate the value of n groups of functions and name the calculated array F i , Fi With E y Compare the corresponding function values ​​in and calculate the second residual sum of squares γ i , the two residual sums of squares γ are calculated i With γ i-1 For comparison,

[0088] After comparison, there are two results, which are analyzed as follows:

[0089] a) When γ i ≤γ i-1 When the changed V i The solution corresponding to the value of is the better solution, and 10λ is used to adjust V j,i =V j,i-1 +λ, and repeat the calculation process in step 4.2.3) until γ is calculated. i >γ i-1 ;

[0090] b) When γ i >γ i-1 When the V before the change is j,i-1 The solution corresponding to the value of is the better solution. At this time, one of the unknown values ​​has reached the optimal solution. Change one of the values ​​and keep the values ​​of the other eight unknowns unchanged, and then calculate. The specific process is:

[0091] ① Fix the eight values ​​of V2~V9 and change the value of V1. 1,i =V 1,i-1 +λ, replace the original λ with λ / 10, and repeat the calculation process in step 4.2.3) until γ is calculated. i >γ i-1 , at this time, the value of V1 has reached the optimal solution, and the specific value of V1 at this time is recorded;

[0092] ② When V1 obtains the optimal solution, keep the values ​​of V1 and V3~V9 unchanged, and change the value of V2. 2,i =V 2,i-1 +λ, replace the original λ with λ / 10, and repeat the calculation process in step 4.2.3) until γ is calculated. i >γ i-1 , at this time, the value of V2 has reached the optimal solution, and the value of V2 at this time is recorded;

[0093] ③The values ​​of the remaining 7 parameters are calculated according to the methods in ① and ② above, and finally 9 sets of values ​​of V are recorded;

[0094] 4.2.4) After completing the 9 sets of value records of V, the above iteration process ends. At this time, the corresponding is the minimum residual sum of squares, that is, V j The numerical value is the solution result of the geometric parameter error of the robot arm;

[0095] The z direction in step 4.2) represents the direction of motion of the end of the robot, not the direction of error collection. In equation (8), the error sets in the xy directions have been comprehensively considered. When calculating here, it is only necessary to control the residual value of the y on the left side of the equation, and there is no need to calculate the residual in the x direction separately. The solution that minimizes the sum of squared residuals is the solution to the geometric parameter error of the robot.

[0096] Step 5: Complete the robot arm error compensation,

[0097] According to V j The geometric parameter settings in the numerical compensation robot control system are used to obtain the robot system with compensated geometric parameter errors.

[0098] Experimental verification:

[0099] Using the robot arm parameter error identification and compensation method disclosed in the present invention, according to V j The geometric parameter settings in the numerical compensation robot control system are used to obtain the robot system with compensated geometric parameter errors. Next, the compensation results of the geometric parameter errors will be tested. The experimental steps for the geometric parameter error compensation result test are basically the same as those in the aforementioned step 3. The difference is that the robot system parameters used are the compensated parameters, and during the experimental process of the compensation result test, only the displacement sensor readings need to be recorded, and the joint rotation angle does not need to be read.

[0100] Table 1. Experimental results

[0101]

[0102] according to Figure 6a , Figure 6b Compared with the experimental results obtained in Table 1, it can be found that after the geometric parameter error compensation, the experimental measured data are relatively stable in the X and Y directions, and the position accuracy of the robot end effector is significantly improved. The X-direction position accuracy at position A is improved by 57.6%, and the Y-direction position accuracy is improved by 52.5%.

Claims

1. A method for identifying and compensating robot arm parameter errors, using a set of measuring tools, characterized in that: Follow these steps to implement: Step 1: Install the test piece, The end of the mechanical arm is securely connected to the pneumatic clamp (1), and the clamping claw (2) on the pneumatic clamp (1) clamps the clamping handle (3); the positions of the laser displacement sensor (5) and the displacement sensor 1 (6) and the displacement sensor 2 (7) on the measuring frame (4) are adjusted so that they are perpendicular to the measuring plane of the calibration piece (8); Step 2: Establish the kinematic model of the robot arm. 2.1) Set the relevant robot model parameters, 2.2) Establish the kinematic model of the robot arm through coordinate transformation; Step 3: Input the -Z direction motion command to the robot control system, use displacement sensor 1 (6) and displacement sensor 2 (7) to measure the motion errors in the X and Y directions, and use the laser displacement sensor (5) to measure the displacement in the -Z direction of the end of the robot arm. The specific process is to obtain the motion error set in the X and Y directions by reading the values ​​of the relevant sensors in the above-mentioned measuring tools: E x = {x1, x2,..., x i} for i = 1, 2,..., n and E y = {y1, y2,..., y i} for i = 1, 2,..., n; Then, through the robot control system, the joint angle set corresponding to the displacement error set is obtained, and the expression is as follows: In the formula, Represents the vector composed of joint angles θ2, θ3, θ4, and θ5 when moving to a certain point; Step 4: Establish the parameter error compensation model of the robot arm. The specific process is: 4.1) According to the kinematic model of the robot arm obtained in step 2, a parameter error compensation model is established. The coordinate expressions of the robot arm in the X and Y directions are as shown above, respectively: p x =c1[a2c2+(a3-d7c4s5)c 23 +(d4+d7c5)s 23 ]+s1(d7s4s5-d3) (1) p y =s1[a2c2+(a3-d7c4s5)c 23 +(d4+d7c5)s 23 ]-c1(d7s4s5-d3) (2) Assume that the robot arm motion plane is the XOZ plane of the working coordinate system, and the above two equations can be simplified as: p x =f x (θ2,θ3,θ4,θ5,d3,d4,d7,a2,a3); (3) p y =f y (θ2,θ3,θ4,θ5,d3,d4,d7); (4) In the formula, a i Represents the connecting rod length; θ i represents the joint rotation angle; d i Indicates the connecting rod offset distance; After introducing parameter errors, the coordinate transformation of the robot arm in the X and Y directions is: p x '=f x (θ2+Δθ2,θ3+Δθ3,θ4+Δθ4,θ5+Δθ5,d3+Δd3,d4+Δd4,d7+Δd7,a2+Δa2,a3+Δa3); (5) p y '=f y (θ2+Δθ2,θ3+Δθ3,θ4+Δθ4,θ5+Δθ5,d3+Δd3,d4+Δd4,d7+Δd7); (6) In the formula, Δa i Indicates the connecting rod length error; Δθ i Represents the joint angle error; Δd i Indicates the connecting rod offset distance error; From the relationship between error and theoretical position, we have: p′ x =p x +ΔX,p′ y =p y +ΔY, subtract the two equations and get the following equation (7): ΔY=p′ y -p y +p′ x -p x +ΔX (7) Substituting the measured error set into equation (7), we get the nonlinear parameter fitting equation group: y i =p′ y -p y +p′ x -p x +x i i=1,2,...,n (8) For the convenience of derivation, let y i =g(θ2,θ3,θ4,θ5,x i )i=1,2,...,n; 4.2) From equation (8), we can see that the parameter error compensation problem of the robot arm in the Z direction can be described as follows: by fitting a set of coefficients Δθ2, Δθ3, Δθ4, Δθ5, Δd3, Δd4, Δd7, Δa2, Δa3 through nonlinear equations, so that at different joint rotation angles θ i Down, And the residual The value is the smallest, then the coefficients to be solved in this problem Δθ2, Δθ3, Δθ4, Δθ5, Δd3, Δd4, Δd7, Δa2, Δa3 are the geometric parameter errors of the robot arm, and the solution is as follows: 4.2.1) In the nonlinear parameter fitting equation (8), there are a total of nine parameters to be solved, namely Δθ2, Δθ3, Δθ4, Δθ5, Δd3, Δd4, Δd7, Δa2, Δa3. For the convenience of calculation, they are named Vj,i below, j = 1 ~ 9, j∈Z, i is the number of iterations, and the initial values ​​of the nine unknown quantities are assigned. Under ideal conditions, the geometric parameter errors of the robot arm are all 0, so the initial values ​​of the nine unknown quantities are all set to 0; 4.2.2) According to the initial value of the given unknown quantity, substitute the values ​​of the n sets of relative displacement errors obtained from the experiment into equation y i =g(θ2,θ3,θ4,θ5,x i )i=1,2,...,n, we get n sets of calculation results, and name the calculated set F i-1 , F i-1 With E y Compare the corresponding values ​​in and calculate the first residual sum of squares γ i-1 ; 4.2.3) Introduce the amplification factor λ = 0.001, use V j,i =V j,i-1 +λ to V j Substitute the values ​​of n sets of data θ2, θ3, θ4, θ5 into equation y i =g(θ2,θ3,θ4,θ5,x i )i=1,2,...,n, calculate the value of n groups of functions and name the calculated array F i , F i With E y Compare the corresponding function values ​​in and calculate the second residual sum of squares γ i , the two residual sums of squares γ are calculated i With γ i-1 For comparison, After comparison, there are two results, which are analyzed as follows: a) When γ i ≤γ i-1 When the changed V i The solution corresponding to the value of is the better solution, and 10λ is used to adjust V j,i =V j,i-1 +λ, and repeat the calculation process in step 4.2.3) until γ is calculated. i >γ i-1 ; b) When γ i >γ i-1 When the V before the change is j,i-1 The solution corresponding to the value of is the better solution. At this time, one of the unknown values ​​has reached the optimal solution. Change one of the values ​​and keep the values ​​of the other eight unknowns unchanged, and then calculate. The specific process is: ① Fix the eight values ​​of V2~V9 and change the value of V1. 1,i =V 1,i-1 +λ, replace the original λ with λ / 10, and repeat the calculation process in step 4.2.3) until γ is calculated. i >γ i-1 , at this time, the value of V1 has reached the optimal solution, and the specific value of V1 at this time is recorded; ② When V1 obtains the optimal solution, keep the values ​​of V1 and V3~V9 unchanged, and change the value of V2. 2,i =V 2,i-1 +λ, replace the original λ with λ / 10, and repeat the calculation process in step 4.2.3) until γ is calculated. i >γ i-1 , at this time, the value of V2 has reached the optimal solution, and the value of V2 at this time is recorded; ③The values ​​of the remaining 7 parameters are calculated according to the methods in ① and ② above, and finally 9 sets of values ​​of V are recorded; 4.2.4) After completing the 9 sets of value records of V, the above iteration process ends. At this time, the corresponding is the minimum residual sum of squares, that is, V j The numerical value is the solution result of the geometric parameter error of the robot arm; Step 5: Complete the robot arm error compensation, According to V j The geometric parameter settings in the numerical compensation robot control system are used to obtain the robot system with compensated geometric parameter errors.

2. The method for identifying and compensating robot arm parameter errors according to claim 1, characterized in that: The structure of the measuring tool is as follows: it comprises a pneumatic clamp (1), wherein a clamping claw (2) on the pneumatic clamp (1) is connected to a clamping handle (3); a measuring frame (4) is fixed to the other end of the clamping handle (3), and a laser displacement sensor (5), a displacement sensor 1 (6), and a displacement sensor 2 (7) are arranged on the measuring frame (4). During measurement, the three sensors are perpendicular to the measuring plane of the calibration piece (8).

3. The method for identifying and compensating robot arm parameter errors according to claim 1, characterized in that: In the step 2.1), the specific process is: Select the robot arm installation base to establish the base coordinate system, x0, y0, z0 represent the coordinate axes of the robot arm base coordinate system; Establish joint coordinate systems for the six joints of the robot arm, where x i ,y i 、z i They respectively represent the coordinate axes of the six joint coordinate systems of the six-degree-of-freedom robotic arm; According to the relative position of the measuring tool in the base coordinate system, a measuring tool coordinate system is established, wherein x7, y7, z7 represent the coordinate axes of the measuring tool; d j Indicates along z j The origin of the j joint coordinate system in the positive direction of the axis is from x j-1 Move to x j The distance k Indicates along x k The origin of the k-joint coordinate system in the positive direction of the axis is from z k Move to z k+1 distance; In this step, i=1,2,...,6, j=1,2,...,7, k=1,2,...,6.

4. The method for identifying and compensating robot arm parameter errors according to claim 3, characterized in that: In the step 2.2), the expression of the robot arm kinematic model is: Among them, i x =c1[c 2,3 (c4c5c6-s4s6)-s 2,3 s5c6]-s1(s4c5c6+c4s6); i y =s1[c 2,3 (c4c5c6-s4s6)-s 2,3 s5c6]+c1(s4c5c6+c4s6); i z =s 2,3 (s4s6-c4c5c6)+c 2,3 s5c6; j x =-c1[c 2,3 (c4c5s6+s4c6)+s 2,3 s5s6]+s1(s4c5s6-c4c6); j y =-s1[c 2,3 (c4c5s6+s4c6)+s 2,3 s5s6]-c1(s4c5s6-c4c6); j z =s 2,3 (c4c5s6+s4c6)-c 2,3 s5s6; k x =c1(-c 2,3 c4s5+s 2,3 c5)+s1s4s5; k y =s1(-c 2,3 c4s5+s 2,3 c5)+c1s4s5; k z =c 2,3 c5+s 2,3 c4s5; p x =c1[a2c2+(a3-d7c4s5)c 2,3 +(d4+d7c5)s 2,3 ]+s1(d7s4s5-d3); p y =s1[a2c2+(a3-d7c4s5)c 2,3 +(d4+d7c5)s 2,3 ]-c1(d7s4s5-d3); p z =d1+(d7c4s5-a3)s 2,3 +(d7c5+d4)c 2,3 -a2s2; In the above formula, i x Represents the component of the X-axis of the robot end coordinate system on the X-axis of the base coordinate system; i y Represents the component of the X-axis of the robot end coordinate system on the Y-axis of the base coordinate system; i Z Represents the component of the X-axis of the robot end coordinate system on the Z-axis of the base coordinate system; j x Represents the component of the Y-axis of the robot end coordinate system on the X-axis of the base coordinate system; j y Represents the component of the Y axis of the robot end coordinate system on the Y axis of the base coordinate system; j Z Represents the component of the Y-axis of the robot end coordinate system on the Z-axis of the base coordinate system; k x Represents the component of the Z-axis of the robot end coordinate system on the X-axis of the base coordinate system; k y Represents the component of the Z-axis of the robot end coordinate system on the Y-axis of the base coordinate system; k Z Represents the component of the Z axis of the robot end coordinate system on the Z axis of the base coordinate system; p x Indicates the displacement of the end of the robot arm relative to the origin coordinate in the X direction; p y Indicates the displacement of the end of the robot arm relative to the origin coordinate in the Y direction; p Z Indicates the displacement of the end of the robot arm relative to the origin coordinate in the Z direction; s i,j = sin(θ i +θ j ), c i,j =cos(θ i +θ j ), θ i With θ j Represent the rotation angle values ​​of each joint respectively. In this step, i=1,2,…,6, j=1,2,…,6.

Citation Information

Patent Citations

  • Robot kinetics parameter calibrating method based on Kalman filtering

    CN106097390A

  • Robot accuracy compensation method synthesizing pose error model and rigidity compensation

    CN106737855A

  • Method for optimizing and selecting kinematic parameter calibration poses of robot

    CN107351089A

  • Patient-carrying medical mechanical arm error compensation system and method

    CN110152211A

  • Mechanical arm structure parameter identification method and device

    CN114029959A