An active decoupling method for six-joint robot based on DH parameter method
By adopting an active decoupling method based on the DH parameter method in a six-joint robot, the coupling amount is added to the joint angles to establish an improved kinematics model, which solves the coupling problem in robot kinematics modeling and improves motion accuracy and efficiency.
Patent Information
- Application Number
- CN202211414371.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-11
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2042-11-11
AI Technical Summary
The mechanical structure of the six-joint robot has a coupling effect, which causes the motion of each joint to be independent. Traditional kinematic modeling does not consider the coupling effect, resulting in a large error between theoretical modeling and actual motion, which affects the accuracy of the robot's motion.
A six-joint robot active decoupling method based on the DH parameter method is adopted, the coupling amount is added to the joint angle, the kinematics model is established through the improved DH parameter method, and the inverse kinematics equation is solved using the algebraic solution method to reduce the terminal pose error and improve Positioning accuracy.
It simplifies the mapping relationship between drive space and joint space, reduces the amount of motion calculation, improves the overall operating efficiency of the robot, reduces end pose errors, and improves positioning accuracy.
Smart Images

Figure CN115922698B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of kinematics of joint robots, and in particular to an active decoupling method for a six-joint robot based on a DH parameter method. Background Art
[0002] Six-joint robot, also known as six-axis robot, six-degree-of-freedom robot, 6R robot, currently, the industrial six-joint serial robot has the advantages of compact mechanical structure, low cost, simple control, large motion space, etc. At the same time, it can complete complex operations in a small space, can meet flexible production, and is widely used in painting, assembly, handling, and welding. Generally speaking, the mapping relationship between Cartesian space and joint space can be established through robot kinematics research to achieve accurate control of the robot's posture. However, due to the coupling effect in the mechanical structure of the six-joint robot, the movement of its joints is not independent. The coupling effect is not considered in the traditional kinematics or inverse kinematics modeling, resulting in a large error between the theoretical modeling results and the actual movement, affecting the overall movement accuracy of the robot.
[0003] This coupling problem is common in the fifth and sixth joints with longer transmission chains, and most robots currently use a mechanical structure with a separate drive end and an actuator end, that is, power is transmitted through a gear structure. When most robots with this structure control the fourth joint to perform rotational motion alone, the fifth and sixth joint gears move due to the movement of the wrist joint, causing the fifth and sixth joints to rotate passively, and their terminal posture is also disturbed. Summary of the invention
[0004] Due to the coupling effect in the mechanical structure of the six-joint robot, the movement of each joint is not independent. The coupling effect is not considered in the traditional kinematics or inverse kinematics modeling. There is an error between the theoretical modeling result and the actual movement, which affects the overall motion accuracy of the robot. The present invention provides an active decoupling method for a six-joint robot based on the DH parameter method, adds the coupling amount to the joint angle, adopts the improved DH parameter method to establish the robot kinematic model, and uses the algebraic solution to find the inverse solution, solves the robot coupling problem, reduces the error of the robot's terminal posture, and improves the robot positioning accuracy. Adding the coupling amount to the joint variable does not significantly increase the amount of calculation for the robot's forward and inverse kinematics, and the solution is simple and convenient.
[0005] In order to realize the above functions, the present invention designs an active decoupling method of a six-joint robot based on the DH parameter method. The six-joint robot includes six active joints. The base of the six-joint robot is connected to the first joint, and the end actuator for executing the operation instruction is connected to the sixth joint. Each joint realizes movement through a gear set. The first joint, the second joint, the third joint, the fourth joint, the fifth joint, and the sixth joint are connected in sequence through a connecting rod. For the six-joint robot, the following steps S1-S2 are performed to construct a DH parameter table, and solve the forward kinematics equation and the inverse kinematics equation of the six-joint robot to realize the decoupling of each joint of the six-joint robot:
[0006] Step S1: according to the configuration of each joint of the six-joint robot, a DH parameter table characterizing the movement of each joint and each connecting rod of the six-joint robot is established, and the DH parameter table includes the actual change angle, the length of each connecting rod, the rotation angle of each connecting rod, and the offset of each connecting rod when each joint of the six-joint robot executes the operation instruction;
[0007] The actual change angle of each joint of the six-joint robot includes the active change angle of each joint, and the actual change angle of the fourth joint, the fifth joint, and the sixth joint also includes the coupling amount between the three;
[0008] Step S2: Based on the DH parameter table, if the active change angle of each joint of the six-joint robot is known, step S21 is executed to solve the forward kinematics equation of the six-joint robot to obtain the position and posture of the end effector of the six-joint robot; if the position and posture of the end effector of the six-joint robot is known, step S22 is executed to solve the inverse kinematics equation of the six-joint robot to obtain the active change angle of each joint of the six-joint robot:
[0009] Step S21: Based on the DH parameter table, the transformation matrix of each link of the six-joint robot is calculated, and the movement of each link is represented by the transformation matrix of each link. The transformation matrix of each link is multiplied to obtain the transformation matrix of the end effector coordinate system of the six-joint robot relative to the base coordinate system of the six-joint robot. By solving the forward kinematics equation of the six-joint robot, the position and posture of the end effector of the six-joint robot is calculated;
[0010] Step S22: Based on the DH parameter table, according to the posture of the end effector of the six-joint robot, the inverse kinematics equation of the six-joint robot is solved by an algebraic solution method to calculate the active change angle of each joint of the six-joint robot.
[0011] As a preferred technical solution of the present invention: the DH parameter table in step S1 is a j-1 represents the length of the connecting rod between the j-1th joint and the jth joint, j∈[1,2,3,4,5,6], where a0 represents the length of the connecting rod between the base and the first joint;
[0012] The DH parameter table is based on α j-1 represents the connecting rod rotation angle between the j-1th joint and the jth joint, where α0 represents the connecting rod rotation angle between the base and the first joint;
[0013] The DH parameter table is in d j represents the connecting rod offset on the jth joint;
[0014] The DH parameter table is in terms of θ j represents the active change angle of the jth joint of the six-joint robot, with θ′ j The expressions for the actual change angles of the jth joint of the six-joint robot including the coupling amount and the actual change angles of the first to sixth joints including the coupling amount are as follows:
[0015] θ′1=θ1
[0016] θ′2=θ2
[0017] θ′3=θ3
[0018] θ′4=θ4
[0019]
[0020]
[0021] In the formula, i jk represents the k-th gear ratio of the j-th joint of the six-joint robot, μ j Indicates the reduction ratio of the jth joint reducer.
[0022] As a preferred technical solution of the present invention: the transformation matrix of each connecting rod in step S21 is: Multiply the transformation matrices of each link to obtain the transformation matrix of the end effector coordinate system of the six-joint robot relative to the base coordinate system of the six-joint robot: As follows:
[0023]
[0024] In the formula, represents the transformation matrix of the j-th joint coordinate system relative to the j-1-th joint coordinate system, The transformation matrix of the first joint coordinate system relative to the base coordinate system;
[0025] Transformation Matrix The calculation of each element in is as follows:
[0026] r 11 =c'1[c' 23 (c'4c'5c'6-s'4s'5)-s' 23s’5c’5]+s’1(s’4c’5c’6+c’4s’6)
[0027] r 21 =s’1[c’ 23 (c’4c’5c’6-s’4s’6)-s’ 23 s’5c’6]-c’1(s’4c’5c’6+c’4s’6)
[0028] r 31 =-s’ 23 (c’4c’5c’6-s’4s’6)-c’ 23 s 5’ c 6’
[0029] r 12 =c’1[c’ 23 (-c’4c’5s’6-s’4c’6)+s’ 23 s’5s’6]+s’1(c’4c’6-s’4c’5s’6)
[0030] r 22 =s’1[c’ 23 (-c’4c’5s’6-s’4c’6)+s’ 23 s’5s’6]-c’1(c’4c’6-s’4c’5s’6)
[0031] r 32 =-s’ 23 (-c’4c’5s’6-s’4c’6)+c’ 23 s’5s’6
[0032] r 13 =-c’1(c’ 23 c’4s’5+s’ 23 c’5)-s’1s’4c’5
[0033] r 23 =-s’1(c’ 23 c’4s’5+s’ 23 c’5)+c’1s’4s’5
[0034] r 33 =s’ 23 c’4s’5-c’ 23 c’5
[0035] p x =c’1(a1+a2c’2+a3c’ 23 -d4s’ 23 )
[0036] p y =s'1(a1+a2c'2+a3c' 23 -d4s' 23 )
[0037] p z =-a2s'2-a3s' 23 -d4c' 23
[0038] Where c′1~c′6 and s′1~s′6 represent the cosine and sine values of the actual change angles θ′1~θ′6 of each joint of the six-joint robot, respectively. 23 represents the cosine value of the sum of θ′2 and θ′3, s′ 23 Represents the sine of the sum of θ′2 and θ′3.
[0039] As a preferred technical solution of the present invention: Step S22 is based on the posture of the end actuator of the six-joint robot, and through the algebraic solution method, the expression of the actual change angle of each joint of the six-joint robot in the DH parameter table is substituted to calculate the active change angle of each joint of the six-joint robot as follows:
[0040]
[0041]
[0042]
[0043] θ2=θ′2=A tan 2[(a3+a2c3)p z +(c1p x +s1p y -a1)(a2s3+d4),-(d4+a2s3)p z +(c1p x +s1p y -a1)(a2c3+a3)]-θ3
[0044] θ4=θ′4=A tan 2(-r 13 s1+r 23 c1,-r 13 c1c 23 -r 23 s1c 23 +r 33 s 23 )
[0045]
[0046] s'5=-r 13 (c1c 23c4+s1s4)-r 23 (s1c 23 c4-c1s4)+r 33 (s 23 c4)
[0047] c'5=r 13 (-c1s 23 )+r 23 (-s1s 23 )+r 33 (-c 23 )
[0048]
[0049] s6=-r 13 (c1c 23 s4-s1c4)-r 21 (s1c 23 s4+c1c4)+r 31 (s 23 s4)
[0050] c6=r 11 [(c1c 23 c4+s1s4)c'5-c1s 23 s'5]+r 21 [(s1c 23 c4-c1s4)c'5-s1s 23 s'5]-r 31 (s 23 c4c'5+c 23 s'5)
[0051] Where c1, c3, c4, c6 represent the cosine values of the active change angles θ1, θ3, θ4, θ6 of the first joint, third joint, fourth joint, and sixth joint of the six-joint robot, respectively; s1, s3, s4, s6 represent the sine values of the active change angles θ1, θ3, θ4, θ6 of the first joint, third joint, fourth joint, and sixth joint of the six-joint robot, respectively; c 23 represents the cosine value of the sum of θ2 and θ3, s 23 Represents the sine of the sum of θ2 and θ3.
[0052] Beneficial effects: Compared with the prior art, the advantages of the present invention include:
[0053] 1. In the process of kinematic modeling, the coupling amount is added to the joint variables, which does not significantly increase the amount of calculation for the robot's forward and inverse kinematics, and simplifies the mapping relationship between the drive space and the joint space, which reduces the overall amount of robot motion calculation and improves the overall operation efficiency of the robot.
[0054] 2. Through kinematic decoupling, the coupling problem of the fourth, fifth and sixth joints of the robot is solved, the error of the robot's end position is reduced, and the robot's positioning accuracy is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 is a mechanical structure diagram of a six-joint robot provided according to an embodiment of the present invention;
[0056] Figure 2 2 is a schematic diagram of the transmission of joints 4 to 6 of a six-joint robot according to an embodiment of the present invention;
[0057] Figure 3 It is a schematic diagram of a six-joint robot mechanism and a coordinate system distribution diagram provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0058] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0059] The mechanical structure diagram of the six-joint robot provided by the embodiment of the present invention is shown in FIG. Figure 1 , taking a certain brand MC70 six-joint robot as an example, the six-joint robot includes a base component 1, an elbow component 2, an upper arm component 3, an elbow component 4, a lower arm component 5, and a wrist component 6, wherein the wrist component 6 includes a lower arm casting 7 and a wrist casting 8;
[0060] The wrist part also includes a gear set 9, which includes a second-stage driven gear 11 of the sixth joint, a reducer gear 13 of the fifth joint, a third-stage driven gear 14 of the sixth joint, and a fourth-stage driven gear 15 of the sixth joint;
[0061] See the transmission diagram of the 4th to 6th joints of the six-joint robot Figure 2 The second-stage driving gear 10 of the fifth joint and the second-stage driving gear 12 of the sixth joint are respectively connected to the motor and rotate along the axis, and the axes of the two coincide, and the fifth joint reducer gear 13 is connected to the reducer; the fifth joint reducer gear 13 is meshed with the second-stage driving gear 10 of the fifth joint, and the axes of the two are perpendicular to each other; the second-stage driven gear 11 of the sixth joint is meshed with the second-stage driving gear 12 of the sixth joint to realize transmission, and the axes of the two are perpendicular to each other; the axes of the second-stage driven gear 11 of the sixth joint and the reducer gear 13 of the fifth joint coincide, the second-stage driven gear 11 of the sixth joint is meshed with the third-stage driven gear 14 of the sixth joint to realize transmission, and the axes of the two are parallel to each other; the third-stage driven gear 14 of the sixth joint is meshed with the fourth-stage driven gear 15 of the sixth joint to realize transmission, and the axes of the two are perpendicular to each other.
[0062] Six-joint robot mechanism diagram and coordinate system distribution diagram reference Figure 3 , X in the figure j , Z j They represent the X-axis and Z-axis of the j-th joint coordinate system respectively; a1, a2, a3 represent the connecting rod lengths between the first, second and third joints of the six-joint robot and the next joint connected to them respectively; d4 represents the connecting rod offset on the fourth joint; the base coordinate system {0} is fixed on the base, and the fixed coordinate system fixed on the connecting rod j is called the coordinate system {j}.
[0063] An embodiment of the present invention provides an active decoupling method for a six-joint robot based on a DH parameter method. The six-joint robot includes six active joints. The base of the six-joint robot is connected to the first joint, and the end actuator for executing an operation instruction is connected to the sixth joint. Each joint realizes movement through a gear set. The first joint, the second joint, the third joint, the fourth joint, the fifth joint, and the sixth joint are sequentially connected through a connecting rod. For the six-joint robot, the following steps S1 to S2 are executed to construct a DH parameter table, and the forward kinematics equation and the inverse kinematics equation of the six-joint robot are solved to realize the decoupling of each joint of the six-joint robot:
[0064] Step S1: according to the configuration of each joint of the six-joint robot, a DH parameter table characterizing the movement of each joint and each connecting rod of the six-joint robot is established, and the DH parameter table includes the actual change angle, the length of each connecting rod, the rotation angle of each connecting rod, and the offset of each connecting rod when each joint of the six-joint robot executes the operation instruction;
[0065] The actual change angle of each joint of the six-joint robot includes the active change angle of each joint, and the actual change angle of the fourth joint, the fifth joint, and the sixth joint also includes the coupling amount between the three.
[0066] The DH parameter table is in terms of θ j represents the active change angle of the jth joint of the six-joint robot, with θ′ j The actual change angle of the jth joint of the six-joint robot including the coupling amount, where θ′5 represents the coupling amount of the active change angle θ5 of the fifth joint and the change of the fifth joint caused by the fourth joint The sum of θ′6 represents the active change angle θ6 of the sixth joint and the coupling amount of the fourth joint causing the change of the sixth joint. The coupling amount of the fifth joint causing the sixth joint to change - sum.
[0067] At the same time, each joint of the industrial robot moves within a certain range. For the θ'6 movement, the reduction ratio μ5 of the fifth joint reducer and the reduction ratio μ6 of the sixth joint reducer are generally less than 60, and the value range of θ4 is generally not more than 360°. Therefore The overall impact is very small and can be ignored, and it can be deduced that: where i 52 represents the second-stage gear ratio of the robot's fifth joint, i 62 represents the second-stage gear ratio of the robot's sixth joint, i 63 represents the third gear ratio of the sixth joint of the robot, i 64 Indicates the fourth gear ratio of the sixth joint of the robot;
[0068] a j-1 represents the length of the common perpendicular line between the joint axis of the j-1th joint and the joint axis of the jth joint, i.e. the length of the connecting rod; α j-1 It represents the angle between the joint axis of the j-1 joint and the joint axis between the j joints, that is, the connecting rod rotation angle; there is a common joint axis between two adjacent connecting rods, and the distance along the common axis direction of the two adjacent connecting rods is described by the connecting rod offset, expressed as d j represents the link offset at the jth joint, θ j represents the active change angle of the jth joint of the six-joint robot, with θ′ j Indicates the actual change angle of the j-th joint of the six-joint robot including the coupling amount.
[0069] The DH parameter table is shown in Table 1:
[0070] Table 1
[0071]
[0072] In one embodiment, the DH parameters established based on a certain brand of six-joint robot are shown in Table 2, where θ 5’ represents the sum of the active change angle θ5 of the fifth joint and the coupling amount -0.0088θ4 caused by the fourth joint; θ 6’ It represents the sum of the active change angle θ6 of the sixth joint, the change coupling amount 0.0117θ4 caused by the fourth joint and the change coupling amount -0.0117θ4+0.0141θ5 caused by the fifth joint. At the same time, each joint of the six-joint robot moves within a certain range. For the θ'6 movement, the speed reducer ratio μ5 is 89, the speed reducer ratio μ6 is 59, and the θ4 value range is ±360°, so The overall impact is very small and can be ignored. It can be deduced that: θ'6 = 0.0117θ4 + 0.0141θ5 + θ6.
[0073] Table 2
[0074] j <![CDATA[a j-1 ]]> <![CDATA[α j-1 ]]> <![CDATA[d j ]]> <![CDATA[θ′ j ]]> <![CDATA[θ′ j Range]]> 1 0 0 0 <![CDATA[θ1]]> ±165° 2 150 -90° 0 <![CDATA[θ2]]> +80°~-135° 3 900 0 0 <![CDATA[θ3]]> +260°~-146° 4 150 -90° 990 <![CDATA[θ4]]> ±360° 5 0 90° 0 <![CDATA[θ5-0.0088θ4]]> ±125° 6 0 -90° 0 <![CDATA[0.0117θ4+0.0141θ5+θ6]]> ±450°
[0075] Step S2: Based on the DH parameter table, if the active change angle of each joint of the six-joint robot is known, step S21 is executed to solve the forward kinematics equation of the six-joint robot to obtain the position and posture of the end effector of the six-joint robot; if the position and posture of the end effector of the six-joint robot is known, step S22 is executed to solve the inverse kinematics equation of the six-joint robot to obtain the active change angle of each joint of the six-joint robot:
[0076] Step S21: Based on the DH parameter table, the transformation matrix of each link of the six-joint robot is calculated, and the movement of each link is represented by the transformation matrix of each link. The transformation matrix of each link is multiplied to obtain the transformation matrix of the end effector coordinate system of the six-joint robot relative to the base coordinate system of the six-joint robot. By solving the forward kinematics equation of the six-joint robot, the position and posture of the end effector of the six-joint robot is calculated;
[0077] The transformation matrix of each connecting rod in step S21 is: Multiply the transformation matrices of each link to obtain the transformation matrix of the end effector coordinate system of the six-joint robot relative to the base coordinate system of the six-joint robot: As follows:
[0078]
[0079] In the formula, represents the transformation matrix of the j-th joint coordinate system relative to the j-1-th joint coordinate system, The transformation matrix of the first joint coordinate system relative to the base coordinate system;
[0080] The relationship between the actual joint change angles θ′1~θ′6 and the active change angles θ1~θ6 of the robot is shown in the DH parameter table described in step S1, and θ′1~θ′6 and θ1~θ6 are linearly distributed. If the active change angles θ1~θ6 of each joint of the robot are known, the end effector position of the six-joint robot can be obtained through the following set of equations, that is, the positive kinematic decoupling of the six-joint robot.
[0081] Transformation Matrix The calculation of each element in is as follows:
[0082] r 11 =c'1[c' 23 (c'4c'5c'6-s'4s'5)-s' 23 s'5c'5]+s'1(s'4c'5c'6+c'4s'6)
[0083] r 21 =s'1[c' 23 (c'4c'5c'6-s'4s'6)-s' 23s’5c’6]-c’1(s’4c’5c’6+c’4s’6)
[0084] r 31 =-s’ 23 (c’4c’5c’6-s’4s’6)-c’ 23 s 5’ c 6’
[0085] r 12 =c’1[c’ 23 (-c’4c’5s’6-s’4c’6)+s’ 23 s’5s’6]+s’1(c’4c’6-s’4c’5s’6)
[0086] r 22 =s’1[c’ 23 (-c’4c’5s’6-s’4c’6)+s’ 23 s’5s’6]-c’1(c’4c’6-s’4c’5s’6)
[0087] r 32 =-s’ 23 (-c’4c’5s’6-s’4c’6)+c’ 23 s’5s’6
[0088] r 13 =-c’1(c’ 23 c’4s’5+s’ 23 c’5)-s’1s’4c’5
[0089] r 23 =-s’1(c’ 23 c’4s’5+s’ 23 c’5)+c’1s’4s’5
[0090] r 33 =s’ 23 c’4s’5-c’ 23 c’5
[0091] p x =c’1(a1+a2c’2+a3c’ 23 -d4s’ 23 )
[0092] p y =s’1(a1+a2c’2+a3c’ 23 -d4s’ 23 )
[0093] p z =-a2s’2-a3s’23 -d4c' 23
[0094] Where c′1~c′6 and s′1~s′6 represent the cosine and sine values of the actual change angles θ′1~θ′6 of each joint of the six-joint robot, respectively. 23 represents the cosine value of the sum of θ′2 and θ′3, s′ 23 Represents the sine of the sum of θ′2 and θ′3.
[0095] In the embodiment, it is known that the active change angles θ1 to θ6 of each joint of the robot are 30°, 60°, 90°, 120°, 28.9°, and 46.8° respectively, and the terminal position of the robot is calculated. As follows:
[0096] θ'1=θ1
[0097] θ'2=θ2
[0098] θ'3=θ3
[0099] θ'4=θ4
[0100] θ'5=θ5-0.0088θ4
[0101] θ'6=0.0117θ4+0.0141θ5+θ6
[0102]
[0103] Step S22: Based on the DH parameter table, according to the posture of the end effector of the six-joint robot, the inverse kinematics equation of the six-joint robot is solved by an algebraic solution method to calculate the active change angle of each joint of the six-joint robot.
[0104] Step S22 is based on the posture of the end effector of the six-joint robot, and through the algebraic solution method, substitutes the expression of the actual change angle of each joint of the six-joint robot in the DH parameter table to calculate the active change angle of each joint of the six-joint robot as follows:
[0105]
[0106]
[0107]
[0108] θ2=θ′2=A tan 2[(a3+a2c3)p z +(c1p x +s1p y -a1)(a2s3+d4),-(d4+a2s3)p z+(c1p x +s1p y -a1)(a2c3+a3)]-θ3
[0109] θ4=θ′4=A tan 2(-r 13 s1+r 23 c1,-r 13 c1c 23 -r 23 s1c 23 +r 33 s 23 )
[0110]
[0111] s’5=-r 13 (c1c 23 c4+s1s4)-r 23 (s1c 23 c4-c1s4)+r 33 (s 23 c4)
[0112] c’5=r 13 (-c1s 23 )+r 23 (-s1s 23 )+r 33 (-c 23 )
[0113]
[0114] s6=-r 13 (c1c 23 s4-s1c4)-r 21 (s1c 23 s4+c1c4)+r 31 (s 23 s4)
[0115] c6=r 11 [(c1c 23 c4+s1s4)c’5-c1s 23 s’5]+r 21 [(s1c 23 c4-c1s4)c’5-s1s 23 s’5]-r 31 (s 23 c4c’5+c 23 s’5)
[0116] Where c1, c3, c4, c6 represent the cosine values of the active change angles θ1, θ3, θ4, θ6 of the first joint, third joint, fourth joint, and sixth joint of the six-joint robot, respectively; s1, s3, s4, s6 represent the sine values of the active change angles θ1, θ3, θ4, θ6 of the first joint, third joint, fourth joint, and sixth joint of the six-joint robot, respectively; c 23 represents the cosine value of the sum of θ2 and θ3, s 23 Represents the sine of the sum of θ2 and θ3.
[0117] In the embodiment, the target position of the robot end is known. The active change angle of each joint can be calculated through the inverse kinematics of the robot. The present invention uses an algebraic solution to obtain the inverse solution, and can obtain θ1 as 30° and -150°. When θ1 is 30°, k is -0.99, and θ3 is 90° or 107.2313°; when θ1 is -150°, k is -0.9983, and θ3 is 94.1809° or 103.0504°; by calculation in sequence, it can be known that θ1~θ6: [30°, 60°, 90°, 120°, 28.9°, 46.8°] is one of the eight groups of solutions, which is consistent with the forward motion result.
[0118]
[0119]
[0120]
[0121] θ2=θ 2’ =A tan 2[(a3+a2c3)p z +(c1p x +s1p y -a1)(a2s3+d4),-(d4+a2s3)p z +(c1p x +s1p y -a1)(a2c3+a3)]-θ3
[0122] θ4=θ 4’ =A tan 2(-r 13 s1+r 23 c1,-r 13 c1c 23 -r 23 s1c 23 +r 33 s 23 )
[0123]
[0124] =A tan 2(s'5,c'5)+0.0088θ4
[0125] s'5=-r 13 (c1c 23 c4+s1s4)-r 23 (s1c 23 c4-c1s4)+r 33 (s 23 c4)
[0126] c'5=r 13 (-c1s 23 )+r 23 (-s1s 23 )+r 33 (-c 23 )
[0127]
[0128] =A tan 2(s6,c6)-0.0117θ4-0.0141θ5
[0129] s6=-r 11 (c1c 23 s4-s1c4)-r 21 (s1c 23 s4+c1c4)+r 31 (s 23 s4)
[0130] c6=r 11 [(c1c 23 c4+s1s4)c'5-c1s 23 s'5]+r 21 [(s1c 23 c4-c1s4)c'5-s1s 23 s'5]-r 31 (s 23 c4c'5+c 23 s'5)
[0131] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, 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. An active decoupling method for a six-joint robot based on the DH parameter method, characterized in that: The six-joint robot includes six active joints. The base of the six-joint robot is connected to the first joint, and the end actuator that executes the operation command is connected to the sixth joint. Each joint realizes movement through a gear set. The first joint, the second joint, the third joint, the fourth joint, the fifth joint, and the sixth joint are connected in sequence through connecting rods. For the six-joint robot, the following steps S1-S2 are performed to construct a DH parameter table, and the forward kinematics equation and inverse kinematics equation of the six-joint robot are solved to realize the decoupling of each joint of the six-joint robot: Step S1: according to the configuration of each joint of the six-joint robot, a DH parameter table characterizing the movement of each joint and each connecting rod of the six-joint robot is established, and the DH parameter table includes the actual change angle, the length of each connecting rod, the rotation angle of each connecting rod, and the offset of each connecting rod when each joint of the six-joint robot executes the operation instruction; The actual change angle of each joint of the six-joint robot includes the active change angle of each joint, and the actual change angle of the fourth joint, the fifth joint, and the sixth joint also includes the coupling amount between the three; The DH parameter table in step S1 is in the form of a j-1 represents the length of the connecting rod between the j-1th joint and the jth joint, j∈[1,2,3,4,5,6], where a0 represents the length of the connecting rod between the base and the first joint; The DH parameter table is based on α j-1 represents the connecting rod rotation angle between the j-1th joint and the jth joint, where α0 represents the connecting rod rotation angle between the base and the first joint; The DH parameter table is in d j represents the connecting rod offset on the jth joint; The DH parameter table is in terms of θ j represents the active change angle of the jth joint of the six-joint robot, with θ′ j The expressions for the actual change angles of the jth joint of the six-joint robot including the coupling amount and the actual change angles of the first to sixth joints including the coupling amount are as follows: θ′1=θ1 θ′2=θ2 θ′3=θ3 θ′4=θ4 In the formula, i jk represents the k-th gear ratio of the j-th joint of the six-joint robot, μ j Indicates the reduction ratio of the reducer of the jth joint; Step S2: Based on the DH parameter table, if the active change angle of each joint of the six-joint robot is known, step S21 is executed to solve the forward kinematics equation of the six-joint robot to obtain the position and posture of the end effector of the six-joint robot; if the position and posture of the end effector of the six-joint robot is known, step S22 is executed to solve the inverse kinematics equation of the six-joint robot to obtain the active change angle of each joint of the six-joint robot: Step S21: Based on the DH parameter table, the transformation matrix of each link of the six-joint robot is calculated, and the movement of each link is represented by the transformation matrix of each link. The transformation matrix of each link is multiplied to obtain the transformation matrix of the end effector coordinate system of the six-joint robot relative to the base coordinate system of the six-joint robot. By solving the forward kinematics equation of the six-joint robot, the position and posture of the end effector of the six-joint robot is calculated; Step S22: Based on the DH parameter table, according to the posture of the end effector of the six-joint robot, the inverse kinematics equation of the six-joint robot is solved by an algebraic solution method to calculate the active change angle of each joint of the six-joint robot.
2. The active decoupling method of a six-joint robot based on the DH parameter method according to claim 1 is characterized in that: The transformation matrix of each connecting rod in step S21 is: Multiply the transformation matrices of each link to obtain the transformation matrix of the end effector coordinate system of the six-joint robot relative to the base coordinate system of the six-joint robot: As follows: In the formula, represents the transformation matrix of the j-th joint coordinate system relative to the j-1-th joint coordinate system, The transformation matrix of the first joint coordinate system relative to the base coordinate system; Transformation Matrix The calculation of each element in is as follows: r 11 =c’1[c’ 23 (c’4c’5c’6-s’4s’5)-s’ 23 s’5c’5]+s’1(s’4c’5c’6+c’4s’6) r 21 =s’1[c’ 23 (c’4c’5c’6-s’4s’6)-s’ 23 s’5c’6]-c’1(s’4c’5c’6+c’4s’6) r 31 =-s’ 23 (c’4c’5c’6-s’4s’6)-c’ 23 s5’c6’ r 12 =c’1[c’ 23 (-c’4c’5s’6-s’4c’6)+s’ 23 s’5s’6]+s’1(c’4c’6-s’4c’5s’6) r 22 =s’1[c’ 23 (-c’4c’5s’6-s’4c’6)+s’ 23 s’5s’6]-c’1(c’4c’6-s’4c’5s’6) r 32 =-s’ 23 (-c’4c’5s’6-s’4c’6)+c’ 23 s’5s’6 r 13 =-c’1(c’ 23 c’4s’5+s’ 23 c’5)-s’1s’4c’5 r 23 =-s’1(c’ 23 c’4s’5+s’ 23 c’5)+c’1s’4s’5 r 33 =s’ 23 c’4s’5-c’ 23 c’5 p x =c’1(a1+a2c’2+a3c’ 23 -d4s’ 23 ) p y =s’1(a1+a2c’2+a3c’ 23 -d4s’ 23 ) p z =-a2s’2-a3s’ 23 -d4c’ 23 Where c′1~c′6 and s′1~s′6 represent the cosine and sine values of the actual change angles θ′1~θ′6 of each joint of the six-joint robot, respectively. 23 represents the cosine value of the sum of θ′2 and θ′3, s′ 23 Represents the sine of the sum of θ′2 and θ′3.
3. The active decoupling method of a six-joint robot based on the DH parameter method according to claim 2 is characterized in that: Step S22 is based on the posture of the end effector of the six-joint robot, and through the algebraic solution method, substitutes the expression of the actual change angle of each joint of the six-joint robot in the DH parameter table to calculate the active change angle of each joint of the six-joint robot as follows: θ2=θ′2=Atan2[(a3+a2c3)p z +(c1p x +s1p y -a1)(a2s3+d4),-(d4+a2s3)p z +(c1p x +s1p y -a1)(a2c3+a3)]-θ3 θ4=θ′4=A tan2(-r 13 s1+r 23 c1,-r 13 c1c 23 -r 23 s1c 23 +r 33 s 23 ) s’5=-r 13 (c1c 23 c4+s1s4)-r 23 (s1c 23 c4-c1s4)+r 33 (s 23 c4) c’5=r 13 (-c1s 23 )+r 23 (-s1s 23 )+r 33 (-c 23 ) s6=-r 13 (c1c 23 s4-s1c4)-r 21 (s1c 23 s4+c1c4)+r 31 (s 23 s4) c6=r 11 [(c1c 23 c4+s1s4)c’5-c1s 23 s’5]+r 21 [(s1c 23 c4-c1s4)c’5-s1s 23 s’5]-r 31 (s 23 c4c’5+c 23 s’5) Where c1, c3, c4, c6 represent the cosine values of the active change angles θ1, θ3, θ4, θ6 of the first joint, third joint, fourth joint, and sixth joint of the six-joint robot, respectively; s1, s3, s4, s6 represent the sine values of the active change angles θ1, θ3, θ4, θ6 of the first joint, third joint, fourth joint, and sixth joint of the six-joint robot, respectively; c 23 represents the cosine value of the sum of θ2 and θ3, s 23 Represents the sine of the sum of θ2 and θ3.
