Method for determining inverse kinematics of multi-section rope-driven hyper-redundant mechanical arm based on artificial potential field
Through the method based on artificial potential fields, the inverse kinematics calculation of the super-redundant manipulator is simplified, the problems of inverse kinematics complexity and long calculation cycle are solved, fast solution and real-time control are achieved, and it is suitable for a variety of mechanical structures.
Patent Information
- Application Number
- CN202411115398.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-10-22
AI Technical Summary
The inverse kinematics calculation of a super-redundant manipulator is complex and has a long calculation cycle, making it difficult to achieve real-time control.
The inverse kinematics determination method of the multi-segment rope-driven super-redundant manipulator based on the artificial potential field is used to establish the geometric model of the manipulator control unit, calculate the spinal constraints and tendon constraints between the gimbals, and iteratively adjust the gimbal position until The target pose error is less than the accuracy threshold.
It effectively simplifies the calculation process of the inverse kinematics solution, improves the calculation efficiency, and achieves rapid solution and real-time control of the super-redundant robotic arm, and the algorithm can be applied to robots with different mechanical structures.
Smart Images

Figure CN118809568A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of rope-driven continuous type manipulators, and in particular relates to an inverse kinematics determination method of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field. Background Art
[0002] Robotic arms are highly efficient and flexible, and are widely used in the fields of industry, military, medical treatment, aerospace, etc., to replace manpower to complete difficult, high-precision, complex and dangerous tasks. In recent years, with the popularity of bionic machinery, continuous robotic arms that imitate highly flexible animals in nature, such as snakes, elephant trunks, and octopus tentacles, are a typical bionic machine. The super-redundant robotic arm has a continuous and flexible mechanical structure, with the advantages of light weight, high sensitivity, and flexible control. It can flexibly avoid various obstacles when performing tasks in some complex and narrow workspaces.
[0003] The degrees of freedom of the super-redundant manipulator are much larger than the degrees of freedom of the task space, so the inverse kinematics is quite complex. The numerical solution obtained using the Jacobi and Newton iteration methods faces the problem of difficult Jacobi calculations and long calculation cycles. Therefore, finding a new fast inverse kinematics solution method for the super-redundant manipulator is of great significance for the real-time control of the super-redundant manipulator. Summary of the invention
[0004] In order to solve the above defects existing in the prior art, the object of the present invention is to provide a method for determining the inverse motion of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field.
[0005] The present invention is achieved through the following technical solutions.
[0006] One aspect of the present invention provides a method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field, comprising:
[0007] Step 1, establishing a geometric model of the robotic arm control unit according to the mechanical structure of the robotic arm control unit formed by multiple universal joints connected in series;
[0008] Step 2, starting from the end point of the robot arm, the spine constraints between adjacent universal joints and the tendon constraints of each control unit are calculated downward, and the position of each universal joint is adjusted;
[0009] Step 3, according to each gimbal position and the structure of the robot base, calculate the gimbal position of the control unit adjacent to the base;
[0010] Step 4: Use the robot spine constraint and tendon constraint again to calculate the new universal joint position from the current position of the robot base upwards. The last universal joint position is the new robot end point position. Calculate the pose error between the new robot end point and the target point.
[0011] Step 5, determine whether the posture error is less than the accuracy threshold. If it is greater than the threshold, repeat steps 2 to 4; otherwise, output a new universal joint position, calculate the joint angle of each control unit based on each universal joint position, and determine the inverse motion state of the super-redundant robot arm.
[0012] As a preference, a geometric model of a control unit structure formed by connecting multiple universal joints in series is established, specifically:
[0013] Construct the mechanical structure of the control unit. The linear distance between adjacent universal joints is equal. There are universal joints between the connecting rods. Each control unit has n universal joints and n connecting rods. The universal joint series mechanism enables n universal joints to move at equal angles. Each control unit is driven by three steel wires. The mechanical arm of the m-segment control unit is controlled by 3m steel wires. Each connecting rod has 3m wire holes in the internal disk.
[0014] Each universal joint of each segment control unit has two joint angles, and n universal joints have equal curvature;
[0015] Adjacent arcs are tangent to each other, and the last universal joint position of the previous control unit is used as the starting point of the next control unit for deformation.
[0016] Preferably, the step 2 comprises:
[0017] Step 2-1, the spine constraint is a one-way distance constraint for adjusting the distance between the universal joints. When the distance between the universal joints is not equal to the linear distance between the adjacent universal joints, if the universal joint position is solved downward, the next universal joint will be adjusted to a new position by the spine constraint, so that the distance between the two universal joints is the linear distance between the adjacent universal joints;
[0018] Step 2-2, the tendon constraint is calculated starting from one waist of the isosceles trapezoid at a determined position, and the position of each point at this time after being affected by the repulsive force of the artificial potential field is calculated;
[0019] When the geometric model is an isosceles trapezoid, the connecting rod angle between the middle universal joint i and the third upward universal joint i+3 is θ. The connecting rod angle θ can be obtained according to the trigonometric cosine formula. The value of the lower base L of the isosceles trapezoid is calculated at this time. The distance between the middle universal joint i and the third upward universal joint i+3 is adjusted using the spine constraint. Using the property that the upper base and the lower base of the isosceles trapezoid are parallel, the new coordinates of the first upward universal joint i+1 and the new position of the first upward universal joint i+1 can be calculated.
[0020] In this way, the new position of the universal joint of each control unit is calculated in sequence until the base is calculated, and the position of each universal joint is adjusted according to the calculation result.
[0021] Preferably, the step 3, calculating the universal joint position of the lowermost control unit according to the structural form of the base, comprises:
[0022] Step 3-1, the super redundant manipulator base is a fixed base, calculate the geometric constraints of the bottom control unit, the last link of the previous control unit after the spine and tendon constraints Located in any plane, and the lowest universal joint is fixed at the origin. Since each control unit is a planar configuration, the first control unit needs to be coplanar with the z-axis starting from the origin, so the last link of the previous control unit It does not meet the constraint of being coplanar with the z-axis. The upper adjacent control unit is rotated as a whole to make the connecting rod Coplanar with the z-axis;
[0023] Step 3-2, calculate the new last link After that, fit the current new last connecting rod The posture of the lowermost control unit is calculated, and the connecting rod angle θ of the lowermost control unit is calculated, thereby calculating the reasonable position of the universal joint of the lowermost control unit.
[0024] Preferably, the step 5, calculating the joint angle of each control unit from the position of each universal joint, comprises:
[0025] The universal joint is expressed in coordinate transformation as the rotation angle around the x-axis and the rotation angle around the y-axis, and the homogeneous coordinate transformation matrix of a single universal joint is obtained;
[0026] According to the first universal joint coordinate and the next universal joint coordinate of each control unit from bottom to top, they are converted to a new vector starting from the origin, and the vector is compared with the displacement term of the homogeneous rotation matrix of a single universal joint to solve the joint angle of the universal joint.
[0027] Another aspect of the present invention provides a multi-segment rope-driven super-redundant manipulator inverse kinematics device based on artificial potential field of the method, characterized in that it comprises:
[0028] A construction module, used to construct a geometric model of a robotic arm control unit formed by connecting multiple universal joints in series;
[0029] Bionic module, used to establish the spine constraints between adjacent universal joints and the tendon constraints of each control unit segment;
[0030] A calculation module, used for calculating the spine constraints between adjacent universal joints and the tendon constraints of each control unit, calculating the universal joint positions of the control units adjacent to the base, calculating the new universal joint positions and calculating the joint angles of each control unit;
[0031] The judgment module is used to judge whether the position error of the robot arm is less than the accuracy threshold and determine the inverse motion state of the super redundant robot arm.
[0032] Another aspect of the present invention provides an electronic device, including a processor and a memory;
[0033] The memory is used to store a computer program, wherein the computer program includes program instructions;
[0034] The processor is used to call the program stored in the memory to execute the steps of the method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to any one of claims 1 to 8.
[0035] The present invention adopts the above technical solution, which has the following beneficial effects:
[0036] 1. The inverse kinematics determination method of the multi-segment rope-driven super-redundant manipulator of the present invention designs the inter-universal joint constraints according to the geometric model of the serial universal joint, directly iterates and arranges the universal joint positions, can avoid solving the complex analytical formulas for the joint angles, and effectively obtain the inverse kinematics solution.
[0037] 2. The inverse kinematics determination method of the super-redundant robotic arm of the present invention is based on bionic ideas. It regards the end point of the robotic arm as the point of action of the artificial potential field, imitating the eyes of a snake, and generates an obstacle avoidance guidance path by gravity and repulsion. At the same time, other universal joints are repelled by obstacles but not by gravity, so a universal joint configuration for obstacle avoidance can be generated.
[0038] 3. The present invention proposes a universal constraint language, in which the spine expresses the distance constraints between universal joints and the tendons express the position relationship constraints between universal joints. These can be translated into different constraints by different mechanical structures, which means that the algorithm can solve inverse kinematics on other general robots. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute an improper limitation of the present invention. In the drawings:
[0040] Figure 1 is a flow chart of the steps of the method of the present invention;
[0041] Figure 2 This is a schematic diagram of the structure of a rope-driven super-redundant manipulator control unit of the present invention;
[0042] Figure 3 It is a schematic diagram of the geometric model of the control unit of the present invention;
[0043] Figure 4 A schematic diagram of the spine constraint of the present invention;
[0044] Figure 5 It is a schematic diagram of tendon restraint of the present invention;
[0045] Figure 6It is a schematic diagram of the tangent relationship between the control units of the present invention;
[0046] Figure 7 It is a schematic diagram of the method for solving the first section of the base of the present invention;
[0047] Figure 8 It is a schematic diagram of the second stage calculation method of the overall rotation of the present invention;
[0048] Fig. 9 A schematic diagram of a universal joint position change trajectory during a motion process in an embodiment of the present invention;
[0049] Fig.10 Schematic diagram of a joint angle variation curve during a motion process in an embodiment of the present invention;
[0050] Fig.11 A schematic diagram of an inverse kinematics device of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to an embodiment of the present invention;
[0051] Fig.12 This is a schematic diagram of an inverse kinematics electronic device for a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The exemplary embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.
[0053] The embodiment of the present invention provides a method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field, such as Figure 1 As shown, the following steps are included:
[0054] Step 1: Establish a geometric model of the robot control unit based on the mechanical structure of the control unit formed by n universal joints connected in series, specifically:
[0055] Step 1-1, construct the mechanical structure of the control unit. The straight-line distance between adjacent universal joints is l. There are universal joints between the connecting rods. Each control unit has n universal joints and n connecting rods. The universal joint series mechanism enables the n universal joints to move at equal angles. Each control unit requires three steel wire ropes to drive, so the mechanical arm of the m-segment control unit requires a total of 3m steel wire ropes to control, and each connecting rod has 3m wire holes in the internal disk.
[0056] Step 1-2, each universal joint of each control unit has two joint angles, and n universal joints have equal curvature. When the connecting lines of the universal joints of the control units can form an isosceles trapezoid, the angle between adjacent connecting rods is θ, and the length of the lower base of the isosceles trapezoid is L:
[0057] L=2lcosθ+l
[0058] Step 2: Starting from the end point of the robot arm, the spine constraints between adjacent universal joints and the tendon constraints of each control unit are calculated downward to adjust the position of each universal joint. Specifically:
[0059] Step 2-1, the spine constraint is a one-way distance constraint for adjusting the distance between universal joints. When the distance d between universal joints is not equal to the linear distance l between adjacent universal joints, if the universal joint position is solved downward, the next universal joint will be adjusted to a new position by the spine constraint, so that the distance between the two universal joints is the linear distance l between adjacent universal joints:
[0060]
[0061] in, is the x-axis coordinate after the universal joint i-1 constraint, P i x , They are the x-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before the spine constraint, is the y-axis coordinate after the first universal joint i-1 is constrained downward, P i y , They are the y-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before the spine constraint, is the z-axis coordinate after the first universal joint i-1 is constrained downward, P i z , They are the z-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before spine constraint, and l is the length of the connecting rod.
[0062] The artificial potential field generates gravitational force on the end point, which is used to guide the end point to move toward the target point. The gravitational potential field U att The function expression is:
[0063]
[0064] Where η is the gravitational coefficient, q is the end point position, ρ(q,q goal ) is the Euclidean distance from the end point to the target point. Gravity is the negative gradient of the gravitational potential field, and its direction is from the end point to the target point. Gravity F att The expression is:
[0065]
[0066] After the artificial potential field plans the new position of the end point, the distance between the end point and the adjacent universal joint changes, and the spine constraint acts on each control unit in turn to calculate the new position of the universal joint.
[0067] Step 2-2, the tendon constraint is to determine the position of the isosceles trapezoid from one waist At the beginning of the calculation, after the spine is constrained, the calculation control unit controls the repulsive force F of the artificial potential field on each universal joint at this time. obs The position after the impact.
[0068] Repulsive field potential energy U req,i (q) is:
[0069]
[0070] Where k is the proportional coefficient of the repulsive potential field, ρ o is the range of the repulsive field, ρ i (q,q obs ) is the Euclidean distance between the current position of the universal joint and the ith obstacle, m is the distance factor adjustment coefficient, the range of m is (0, 1), and the repulsive force F req,i is the negative gradient of the repulsive field:
[0071]
[0072] The repulsive force acts directly on the universal joint of the control unit when the tendon is restrained, enabling the control unit to avoid obstacles.
[0073] When the number of universal joints in each control unit is 3, the geometric model is an isosceles trapezoid. After the repulsive force acts on the universal joint, the connecting rod angle between the middle universal joint i and the third upward universal joint i+3 is θ. According to the trigonometric cosine formula, θ can be obtained. The value of the lower base L of the isosceles trapezoid is calculated at this time. The distance between the middle universal joint i and the third upward universal joint i+3 is adjusted using the spine constraint to calculate the coordinates of the middle universal joint i. Using the property that the upper base and the lower base of the isosceles trapezoid are parallel, the new coordinates of the first upward universal joint i+1 can be calculated at this time. The new position expression of the first upward universal joint i+1 is calculated as:
[0074]
[0075] Among them, l is the length of the connecting rod, L is the length of the lower base of the isosceles trapezoid, are the x-axis, y-axis, and z-axis coordinates after the upward first universal joint i+1 tendon is constrained, P i x , are the x-axis coordinates of the middle universal joint before the tendons of the universal joints i, i+1, i+2, and i+3 are constrained, respectively. i y , are the y-axis coordinates of the middle universal joint before the tendons of the universal joints i, i+1, i+2, and i+3 are constrained, respectively. i x , They are the z-axis coordinates of the middle universal joint before the tendons of the universal joints i, i+1, i+2, and i+3 are constrained upwards.
[0076] After calculating the positions of the universal joints of the top control unit, the position of the first universal joint i-1 of the next unit can also be calculated based on the tangent relationship between adjacent isosceles trapezoids. Extension cord and The coordinates of the intersection point t of the extended line, the middle universal joint t and the downward fourth universal joint i-4 can all be calculated through the extension line relationship.
[0077] In this way, the new universal joint position of each control unit segment can be calculated in sequence until the base is calculated. The universal joint position of each control unit segment conforms to the constraints of the geometric model.
[0078] Step 3: Calculate the universal joint position of the bottom control unit according to the structural form of the base, specifically:
[0079] Step 3-1: The base at the bottom of the super redundant manipulator is fixed at the origin. The geometric constraints of the control unit need to be calculated separately. After the spine and tendon constraints of the control unit in the previous section are calculated, the last link of the control unit in the previous section It will appear on any plane. Each control unit is a plane geometry. The first control unit needs to be coplanar with the z-axis starting from the origin. After the tendon constraint of the upper adjacent control unit does not meet the constraint of being coplanar with the z-axis, the upper adjacent control unit is rotated as a whole so that the last link of the upper control unit Coplanar with the z-axis.
[0080] The upper adjacent control unit The length remains unchanged, and point v is the rotation center of universal joint i. The extended line relationship is used to solve the position of point v, and point e is and The intersection point of the right triangle can be calculated by the right triangle relationship. e ,y e ,z e ) because after rotation Need to be coplanar with the z-axis, so The projection on the coordinate plane XOY is a straight line passing through the origin. After calculating the coordinates of the universal joint i, the tendon constraint calculation is performed on the control unit from the middle universal joint i to the third universal joint i+3 upward to obtain the universal joint coordinates of the upper adjacent control unit.
[0081] Assume the coordinates of the middle universal joint i are (x, y, z), the rotation center v of the middle universal joint i is known to be (x0, y0, z0), and the rotation radius is known but The expression is as follows:
[0082]
[0083] Depend on and Vertically, multiplying them together can express the plane equation of the rotation trajectory of the universal joint i, and combining it with the spherical equation can obtain the trajectory equation of the universal joint i (x, y, z):
[0084]
[0085] The equation of the vertical plane through point e can be directly expressed by the coordinates of point e:
[0086]
[0087] The above three equations can be combined to calculate the coordinates of the universal joint i. If there are two solutions, choose the solution where the middle universal joint i is closer to the z-axis. The equation for the z-axis coordinate of the middle universal joint i is as follows:
[0088]
[0089] in:
[0090]
[0091] Step 3-2, according to the new coordinates of the universal joint i, recalculate the tendon constraints of the upper adjacent control unit to obtain the new last link Known is a vector pointing to the z-axis, then we can calculate The angle with the z-axis is determined by the geometric properties of the isosceles trapezoid of the lowest control unit, The angle with the z-axis is used to calculate the base angle θ of the isosceles trapezoid of the lowest control unit, and then the base length L is calculated. At this point, the coordinates of the lowest control unit are easy to calculate, and the universal joint formula can be easily derived through similar triangles:
[0092]
[0093] in, are the x-axis, y-axis, and z-axis coordinates after the universal joint i-2 base is constrained, P i x , are the x-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before the base constraint, P i y , are the y-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before the base constraint, P i z , They are the z-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before base constraint, and l is the length of the connecting rod.
[0094] According to the coordinates of the second downward universal joint i-2, the new positions of universal joints 2 and 3 can be calculated in turn by tendon constraints.
[0095] Step 4: Starting from the base control unit, use the spine and tendon constraints to calculate the new universal joint position upwards, and calculate the pose error between the end point and the target point at this time, specifically:
[0096] Change the calculation direction of the spine and tendon constraints from downward calculation to upward calculation. The principle is the same. All universal joint positions meet the geometric model constraints. Calculate the position error V between the end point position and the target point at this time:
[0097]
[0098] Among them, r and q are proportional factors, P T x 、p x are the x-axis coordinates of the target point and the end point, respectively, T y 、p y are the y-axis coordinates of the end point and the target point respectively, T z 、p z are the z-axis coordinates of the target point and the end point respectively, G T x , g x are the x-axis components of the target posture vector and the end posture vector, G T y , g y are the y-axis components of the target posture vector and the end posture vector, G T z , g z They are the z-axis components of the target attitude vector and the end attitude vector respectively.
[0099] Step 5: Determine whether the posture error is less than the accuracy threshold. If it is greater than the threshold, repeat steps 2 to 4. Otherwise, output the new universal joint position, convert it into the joint angle, and determine the inverse kinematics state of the hyper-redundant manipulator, which is as follows:
[0100] A single universal joint can be expressed in coordinate transformation as a rotation of α around the x-axis of the universal joint itself and a rotation of β around the y-axis. The homogeneous transformation matrix J of a single universal joint is:
[0101]
[0102] According to each segment control unit from bottom to top the first universal joint coordinate Pi and the next gimbal coordinate P i+1 , the vector is represented as The inverse matrix T of the coordinate transformation of all control units below -1 , transform the vector to start from the origin:
[0103]
[0104] When calculating the joint angle of the first control unit, T is the unit matrix. When each control unit has three universal joints, the homogeneous coordinate transformation matrix T1 of the first control unit can be calculated from the joint angle of the first control unit:
[0105] T1=J1·J1·J1
[0106] Similarly, the homogeneous coordinate transformation matrix T2 of the second control unit can be calculated:
[0107] T2=T1·J2·J2·J2
[0108] When calculating the homogeneous coordinate transformation matrix T3 of the third control unit:
[0109] T3=T2·J3·J3·J3
[0110] for The new vector after conversion to the origin can be used to compare the vector with the displacement term of the homogeneous rotation matrix of a single universal joint to solve the two joint angles α of the universal joint i , β i :
[0111]
[0112] Where l is the length of the connecting rod, They are The components on the x-axis and y-axis.
[0113] The effects of the present invention are further illustrated by examples below.
[0114] Take a four-section rope-driven super-redundant manipulator, where each section's control unit consists of three universal joints connected in series, as an example.
[0115] Step 1: According to the mechanical structure of the control unit formed by three universal joints in series, Figure 2 As shown, the geometric model of the control unit is established, such as Figure 3 As shown, specifically:
[0116] Step 1-1, construct the mechanical structure of the control unit. The universal joints between the connecting rods 11, 12, 13, and 14 are universal joints 21, 22, and 23. Each control unit has three universal joints and connecting rods. The universal joint series mechanism enables the three universal joints to move at equal angles. Each control unit requires three steel wires 3 to drive, so the mechanical arm of the four-section control unit requires a total of 12 steel wires to control, and each connecting rod disk has 12 wire holes.
[0117] Step 1-2: Since the three universal joints have equal curvature, the lines connecting the vertices of each control unit can form an isosceles trapezoid, such as Figure 3 , the straight-line distance between adjacent universal joints is l, the angle between adjacent connecting rods is θ, and the length of the bottom base of the virtual trapezoid is L:
[0118] L=2lcosθ+l
[0119] Step 2: Calculate the spine constraints between adjacent universal joints and the tendon constraints of each control unit from the end point of the robot arm downward, and adjust the position of each universal joint, specifically:
[0120] Step 2-1: The spine constraint is a one-way constraint that adjusts the distance between the universal joints. Figure 4 When the distance d between the universal joints is not equal to l, if the universal joint position is solved downward, the next universal joint will be adjusted to a new position by the spine constraint so that the distance between the two universal joints is l:
[0121]
[0122] in, is the x-axis coordinate after the universal joint i-1 spine is constrained, P i x , are the x-axis coordinates of universal joint i and i-1 before spine constraint, is the y-axis coordinate after the universal joint i-1 spine is constrained, P i y , are the y-axis coordinates of the universal joint i and i-1 before the spine constraint, is the z-axis coordinate after the universal joint i-1 spine is constrained, P i z , They are the z-axis coordinates of universal joints i and i-1 before spine constraint, and l is the length of the connecting rod.
[0123] The artificial potential field generates gravitational force on the target point, the gravitational potential field U att The function expression is:
[0124]
[0125] Where η is the gravitational coefficient, q is the end point position, ρ(q,qgoal ) is the Euclidean distance from the end point to the target point. Gravity is the negative gradient of the gravitational potential field, and its direction is from the end point to the target point. Gravity F att The expression is:
[0126]
[0127] After the artificial potential field plans the new position 12′ of the end point, the distance between the universal joints 12′ and 11 changes, and the spine constraint acts in the control units from the universal joints 9 to 12 in sequence to form a new universal joint position, and then the tendon constraint is applied to satisfy the equal curvature constraint.
[0128] Step 2-2: The tendon constraint is calculated from one waist of the isosceles trapezoid at a certain position. When the end position is known, It is known that the repulsive force F of the artificial potential field on each point at this time is calculated. obs The position after the impact.
[0129] Repulsive field potential energy U req,i (q) is:
[0130]
[0131] Where k is the proportional coefficient of the repulsive potential field, ρ o is the range of the repulsive field, ρ i (q,q obs ) is the Euclidean distance between the current position of the universal joint and the ith obstacle, m is the distance factor adjustment coefficient, the range of m is (0, 1), and the repulsive force F req,i is the negative gradient of the repulsive field:
[0132]
[0133] The repulsive force acts directly on the universal joint, enabling the control unit to avoid obstacles, such as Figure 5 .
[0134] Since the geometric model is an isosceles trapezoid, the connecting rod With connecting rod That is θ. According to the cosine formula, θ can be obtained. The value of the lower base L of the trapezoid is calculated. The distance between the universal joints 9 and 12 is adjusted using the spine constraint. The new coordinates of the universal joint 10 can be calculated using the property that the upper and lower bases of the isosceles trapezoid are parallel. The expression for calculating the new position of the universal joint 10 is:
[0135]
[0136] Among them, l is the length of the connecting rod, L is the length of the lower base of the isosceles trapezoid, They are the x-axis, y-axis, and z-axis coordinates after the tendon constraint of the universal joint 10, They are the x-axis coordinates of the universal joints 9, 10, 11, and 12 before tendon constraints. They are the y-axis coordinates of the universal joints 9, 10, 11, and 12 before tendon constraint. They are the z-axis coordinates of universal joints 9, 10, 11, and 12 before tendon constraints.
[0137] After calculating the positions of the universal joints of the top control unit, according to the tangent relationship between adjacent isosceles trapezoids, such as Figure 6 ,set up Extension cord and The intersection point of the extended lines is t, and the coordinates of point t and the universal joint 8 are calculated through the relationship of the extended lines.
[0138] In this way, the new position of each segment can be calculated in sequence until the bottom segment is calculated. At this time, the universal joint positions of the upper segments all meet the geometric constraints.
[0139] Step 3: Calculate the universal joint position of the bottom control unit according to the structural form of the base, specifically:
[0140] Step 3-1, the super redundant robot arm base is a fixed base, so the base control unit at the bottom needs to have a separate base control unit with universal joints from 0 to 3, and the universal joints of the second section control unit at the top are from 3 to 6. After the spine and tendon constraints are calculated, the second section control unit will get a new It will appear in any position and plane, and the universal joint 0 at the bottom is fixed at the origin. Since each control unit is a plane configuration, the first section must deform in the vertical plane through the z axis starting from the origin, so at this time It does not meet the constraints. Without changing the bending degree of the second section, the second section is rotated as a whole to make the connecting rod Appears on the vertical plane. This is the result of the tendon constraint of the third unit, so the link is not moved during the processing. The view is reversed and the second control unit is completely around Rotate until Pointing to the z-axis, the result of the rotation can be calculated directly without simulating the rotation process, such as Figure 7 .
[0141] Trapezoid base unchanged, point v is the rotation center of universal joint 3 and does not move. The extended line relationship is easy to solve point v's position, point e is and The intersection point of the right triangle can be calculated by the right triangle relationship. e ,y e ,z e ) because after rotation Need to point to the z-axis, so The projection on the coordinate plane XOY is a straight line passing through the origin O. After calculating the coordinates of point 3, the previous tendon constraint calculation is performed again to obtain the coordinates of the remaining points in the second segment.
[0142] Assume the coordinates of universal joint 3 are (x, y, z), the rotation center v of universal joint 3 is set to (x0, y0, z0), and the rotation radius is but The expression is as follows:
[0143]
[0144] Depend on and The plane equation of the rotation trajectory of the universal joint 3 can be obtained vertically in space, and then combined with the spherical equation to obtain the trajectory equation of the universal joint 3 (x, y, z):
[0145]
[0146] The equation of the vertical plane through point e can be expressed by the coordinates of point e:
[0147]
[0148] The above equations can be combined to calculate the coordinates (x, y, z) of the universal joint 3. If there are two solutions, choose the one where the universal joint 3 is closer to the z-axis. It should be noted that the case where the x and y axis coordinates of point e are 0 needs to be handled separately. The equation for the z coordinate of the universal joint 3 is as follows:
[0149]
[0150] in:
[0151]
[0152] Step 3-2: With the coordinates of universal joint 3, the second control unit can be recalculated to obtain a new coordinate that satisfies the geometric constraints of the base. According to the posture fitting, the real position of the first unit universal joint is calculated. is a vector pointing to the z-axis, then we have The angle between the posture and the z-axis. According to the geometric properties of the isosceles trapezoid of the first control unit, one third of this angle is the connecting rod angle θ of the first control unit, and the length of the base L is obtained. At this time, the z-axis coordinates of the three universal joints in the first section are easy to calculate. To calculate the x- and y-axis coordinates, you also need to calculate The slope of the XOY plane is as follows: Figure 8 . It is easy to derive the following formula through similar triangles:
[0153]
[0154] The new positions of universal joints 2 and 3 are calculated in the same way.
[0155] Step 4: Starting from the current position of the base, use the spine and tendon constraints to calculate the new universal joint position upward, and calculate the pose error between the end point and the target point at this time, specifically:
[0156] Change the calculation direction of the spine and tendon constraints from downward calculation to upward calculation. The principle is the same. The control unit at the top will calculate the new position of the universal joint 12. At this time, the positions of the universal joints 0 to 12 all meet the structural constraints. Calculate the distance between the position of the universal joint 12 and the target point. If it meets the accuracy requirements, complete the inverse kinematics solution of the current target point.
[0157] Step 5: Determine whether the error is less than the accuracy threshold. If it is, output the universal joint position at this time and convert it into each joint angle. Otherwise, return to step 2. Specifically:
[0158] A single universal joint can be expressed in coordinate transformation as a rotation of α around the x-axis of the universal joint itself and a rotation of β around the y-axis. The homogeneous transformation matrix of a single universal joint is:
[0159]
[0160] According to each segment control unit from bottom to top the first universal joint coordinate P i and the next gimbal coordinate P i+1 , the vector is represented as The inverse matrix T of the coordinate transformation of all control units below -1 , transform the vector to start from the origin:
[0161]
[0162] When calculating the joint angle of the first control unit, T is the unit matrix. After obtaining the joint angle of the first control unit, the second control unit can be calculated:
[0163] T1=J1·J1·J1
[0164] Similarly, when calculating the third control unit:
[0165] T2=T1·J2·J2·J2
[0166] When calculating the fourth control unit:
[0167] T3=T2·J3·J3·J3
[0168] for The new vector after conversion to the origin can be used to compare the vector with the displacement term of the homogeneous rotation matrix of a single universal joint to solve the two joint angles of the universal joint:
[0169]
[0170] In this embodiment, a four-section rope-driven super-redundant manipulator with universal joints is designed. The distance between adjacent universal joints is l=42 mm. Each control unit has three connecting rods and universal joints. Figure 2 The universal joint synchronization mechanism in the control unit makes the rotation angles of the three universal joints the same, sets the planning accuracy threshold to 0.1mm, and the universal joint structure limits the maximum rotation angle to 0.55rad. The universal joint positions are initialized as shown in the following table:
[0171]
[0172]
[0173] The target point (-82.1276, 120.878, 404.425) is set and the algorithm of the present invention is called by programming using the Visual Studio 2022 platform to solve the universal joint trajectory of the entire motion process. The positions of each universal joint in the end state are as follows:
[0174] Universal joint x-coordinate y coordinate z coordinate 0 0 0 13 1 -0.30592 -0.10781 54.9987 2 -0.91773 -0.32341 96.9937 3 -1.83541 -0.6468 138.982 4 -2.78179 19.7857 175.665 5 -3.51065 55.6578 197.497 6 -3.83235 97.6363 198.798 7 -8.68108 133.336 220.386 8 -16.761 153.215 256.49 9 -25.9126 151.961 297.461 10 -40.1582 146.016 336.521 11 -59.0812 135.553 372.527 12 -82.1276 120.878 404.425
[0175] Fig. 9 is the gimbal trajectory of the planning process, Fig.10 are the groups of joint angles corresponding to the planned trajectory.
[0176] like Fig.11 As shown, according to an exemplary embodiment of the present invention, a multi-segment rope-driven super-redundant manipulator inverse kinematics device 100 based on an artificial potential field is provided, which is used to implement the method, including:
[0177] A construction module 110 is used to construct a geometric model of a robotic arm control unit formed by connecting a plurality of universal joints in series;
[0178] A bionic module 120, used to establish spine constraints between adjacent universal joints and tendon constraints of each control unit;
[0179] A calculation module 130, for calculating the spine constraints between adjacent universal joints and the tendon constraints of each control unit, calculating the universal joint positions of the control units adjacent to the base, calculating new universal joint positions, and calculating the joint angles of each control unit;
[0180] The judgment module 140 is used to judge whether the position and posture error of the robot arm is less than the accuracy threshold, and determine the reverse motion state of the super-redundant robot arm.
[0181] like Fig.12 As shown, according to an exemplary embodiment of the present invention, the present invention provides an electronic device 200 for implementing the multi-segment rope-driven super-redundant robotic arm inverse kinematics method based on artificial potential field, including: an acquisition card 210, a memory 220, a communication bus 230, and a processor 240.
[0182] The computer device includes a processor and a memory, wherein the memory is used to store a computer program, wherein the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is suitable for implementing one or more instructions, and is specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding function; the processor described in the embodiment of the present invention can be used to implement the operation of a multi-segment rope-driven super-redundant manipulator inverse kinematics method based on an artificial potential field.
[0183] The present invention provides a computer storable medium storing a computer program, on which a processor performs the following steps:
[0184] Step 1: Establish a geometric model of the robotic arm control unit according to the mechanical structure of the robotic arm control unit formed by multiple universal joints connected in series;
[0185] Step 2: Starting from the end point of the robot arm, the spine constraints between adjacent universal joints and the tendon constraints of each control unit are calculated downward, and the position of each universal joint is adjusted;
[0186] Step 3, according to each gimbal position and the structure of the robot base, calculate the gimbal position of the control unit adjacent to the base;
[0187] Step 4: Use the robot spine and tendon constraints again to calculate the new universal joint position from the current position of the robot base upwards. The last universal joint position is the new robot end point position. Calculate the pose error between the new robot end point and the target point.
[0188] Step 5: Determine whether the posture error is less than the accuracy threshold. If it is greater than the threshold, repeat steps 2 to 4. Otherwise, output the new universal joint position, convert it into the joint angle, and determine the inverse kinematic state of the hyper-redundant manipulator.
[0189] The above embodiments show and describe the basic principles and main features of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.
Claims
1. A method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field, characterized in that: include: Step 1, establishing a geometric model of the robotic arm control unit according to the mechanical structure of the robotic arm control unit formed by multiple universal joints connected in series; Step 2, starting from the end point of the robot arm, the spine constraints between adjacent universal joints and the tendon constraints of each control unit are calculated downward, and the position of each universal joint is adjusted; Step 3, according to each gimbal position and the structure of the robot base, calculate the gimbal position of the control unit adjacent to the base; Step 4: Use the robot spine constraint and tendon constraint again to calculate the new universal joint position from the current position of the robot base upwards. The last universal joint position is the new robot end point position. Calculate the pose error between the new robot end point and the target point. Step 5, determine whether the posture error is less than the accuracy threshold. If it is greater than the threshold, repeat steps 2 to 4; otherwise, output a new universal joint position, calculate the joint angle of each control unit based on each universal joint position, and determine the inverse motion state of the super-redundant robot arm.
2. The method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to claim 1 is characterized in that: The geometric model of the control unit structure formed by multiple universal joints in series is established, specifically: Construct the mechanical structure of the control unit. The linear distance between adjacent universal joints is equal. There are universal joints between the connecting rods. Each control unit has n universal joints and n connecting rods. The universal joint series mechanism enables n universal joints to move at equal angles. Each control unit is driven by three steel wires. The mechanical arm of the m-segment control unit is controlled by 3m steel wires. Each connecting rod has 3m wire holes in the internal disk. Each universal joint of each segment control unit has two joint angles, and n universal joints have equal curvature; Adjacent arcs are tangent to each other, and the last universal joint position of the previous control unit is used as the starting point of the next control unit for deformation.
3. The method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to claim 1 is characterized in that: The step 2 comprises: Step 2-1, the spine constraint is a one-way distance constraint for adjusting the distance between the universal joints. When the distance between the universal joints is not equal to the linear distance between the adjacent universal joints, if the universal joint position is solved downward, the next universal joint will be adjusted to a new position by the spine constraint, so that the distance between the two universal joints is the linear distance between the adjacent universal joints; Step 2-2, the tendon constraint is calculated starting from one waist of the isosceles trapezoid at a determined position, and the position of each point at this time after being affected by the repulsive force of the artificial potential field is calculated; When the geometric model is an isosceles trapezoid, the connecting rod angle between the middle universal joint i and the third upward universal joint i+3 is θ. According to the trigonometric cosine formula, θ can be obtained. The value of the lower base L of the isosceles trapezoid is calculated at this time. The distance between the middle universal joint i and the third upward universal joint i+3 is adjusted using the spine constraint. Using the property that the upper base and the lower base of the isosceles trapezoid are parallel, the new coordinates of the first upward universal joint i+1 and the new position of the first upward universal joint i+1 can be calculated. In this way, the new position of the universal joint of each control unit is calculated in sequence until the base is calculated, and the position of each universal joint is adjusted according to the calculation result.
4. The method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to claim 3 is characterized in that: In the spine constraint, the distance between two adjacent universal joints is the linear distance l between the adjacent universal joints, which is calculated by the following formula: in, is the x-axis coordinate after the first universal joint i-1 is constrained downward, P i x , They are the x-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before spine constraint, respectively; is the y-axis coordinate after the first universal joint i-1 is constrained downward, P i y、 They are the y-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before spine constraint, respectively; is the z-axis coordinate after the first universal joint i-1 is constrained downward, P i z , They are the z-axis coordinates of the middle universal joint i and the first downward universal joint i-1 before spine constraint, and l is the length of the connecting rod.
5. The method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to claim 3 is characterized in that: In the tendon constraint, calculate the new position of the first upward universal joint i+1: Among them, l is the length of the connecting rod, L is the length of the lower base of the isosceles trapezoid, are the x-axis, y-axis, and z-axis coordinates after the upward first universal joint i+1 tendon is constrained, P i x , are the x-axis coordinates of the middle universal joint before the tendons of the universal joints i, i+1, i+2, and i+3 are constrained, respectively. i y , are the y-axis coordinates of the middle universal joint before the tendons of the universal joints i, i+1, i+2, and i+3 are constrained, respectively. i x , They are the z-axis coordinates of the middle universal joint before the tendons of the universal joints i, i+1, i+2, and i+3 are constrained upwards.
6. The method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to claim 1 is characterized in that: The step 3, calculating the universal joint position of the lowermost control unit according to the structural form of the base, includes: Step 3-1, the super redundant manipulator base is a fixed base, calculate the geometric constraints of the bottom control unit, after the spine and tendon constraints, the last link of the previous control unit Located in any plane, and the lowest universal joint is fixed at the origin, each control unit is a plane configuration, the first control unit needs to be coplanar with the z-axis starting from the origin, so the last link of the previous control unit It does not meet the constraint of being coplanar with the z-axis. The upper adjacent control unit is rotated as a whole so that the last connecting rod of the previous control unit Coplanar with the z-axis; Step 3-2, calculate the new last link After that, fit the current new last connecting rod The posture of the lowermost control unit is calculated, and the connecting rod angle θ of the lowermost control unit is calculated, thereby calculating the reasonable position of the universal joint of the lowermost control unit.
7. The method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to claim 1 is characterized in that: In step 4, starting from the current position of the robot arm base, the new universal joint position is calculated upward using the spine and tendon constraints, and the pose error V between the end point and the target point is calculated as: Among them, r and q are proportional factors, P T x 、p x are the x-axis coordinates of the target point and the end point, respectively, T y 、p y are the y-axis coordinates of the end point and the target point respectively, T z 、p z are the z-axis coordinates of the target point and the end point respectively, G T x , g x are the x-axis components of the target posture vector and the end posture vector, G T y , g y are the y-axis components of the target posture vector and the end posture vector, G T z , g z They are the z-axis components of the target attitude vector and the end attitude vector respectively.
8. The method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to claim 1 is characterized in that: The step 5, calculating the joint angle of each control unit from the position of each universal joint, comprises: The universal joint is represented in the coordinate transformation as a rotation of angle α around the x-axis and angle β around the y-axis. The homogeneous coordinate transformation matrix J of a single universal joint is: Where l is the straight-line distance between adjacent universal joints; According to each segment control unit from bottom to top the first universal joint coordinate P i and the next gimbal coordinate P i+1 , the connecting rod is represented by The inverse matrix T of the homogeneous transformation matrix of the control unit below -1 Transform the vector to start from the origin: in for Convert to the new vector after starting from the origin, and use this vector to compare with the displacement term of the homogeneous rotation matrix of a single universal joint to solve the two joint angles β of the universal joint i , α i : Where l is the length of the connecting rod, They are The components on the x-axis and y-axis.
9. A multi-segment rope-driven super-redundant manipulator inverse kinematics device based on artificial potential field according to any one of claims 1 to 7, characterized in that: include: A construction module, used to construct a geometric model of a robotic arm control unit formed by connecting multiple universal joints in series; Bionic module, used to establish the spine constraints between adjacent universal joints and the tendon constraints of each control unit segment; A calculation module, used for calculating the spine constraints between adjacent universal joints and the tendon constraints of each control unit, calculating the universal joint positions of the control units adjacent to the base, calculating the new universal joint positions and calculating the joint angles of each control unit; The judgment module is used to judge whether the position error of the robot arm is less than the accuracy threshold and determine the inverse motion state of the super redundant robot arm.
10. An electronic device, characterized in that: including a processor and a memory; The memory is used to store a computer program, wherein the computer program includes program instructions; The processor is used to call the program stored in the memory to execute the steps of the method for determining inverse kinematics of a multi-segment rope-driven super-redundant manipulator based on an artificial potential field according to any one of claims 1 to 8.
Citation Information
Patent Citations
Ultra-redundant mechanical arm path planning method and device and control system
CN110561426A
Method for determining joint angle of snake-shaped mechanical arm
CN111906762A
Inverse kinematics solution method for rope-driven super-redundant snakelike mechanical arm
CN116551693A
Inverse kinematics solving method for high-altitude redundant multi-degree-of-freedom mechanical arm
CN117852209A
Real-time obstacle avoidance and tail end pose adjustment method for redundant mechanical arm
CN118372256A
Cited By
Method and device for calculating pose of tail end executing mechanism of segmented linkage mechanical arm
CN119347788A
