Track planning method for redundant mechanical arm

By dividing the redundant manipulator into motion groups and limiting the joint trajectories on the configuration line segments, and calculating the deviation distance to adjust the trajectory, the difficulty in trajectory planning and obstacle collision problems of the redundant manipulator in the specified posture are solved, and all components are realized Effective obstacle avoidance and efficient trajectory planning.

CN118528274AActive Publication Date: 2024-08-23CHINA ACAD OF AEROSPACE SCI & TECH INNOVATION
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410848949.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-08-23
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

When the redundant manipulator reaches the specified posture, trajectory planning is difficult due to the presence of multiple solutions and obstacles, and existing methods cannot effectively avoid obstacles, resulting in collisions of manipulator components.

Method used

The redundant manipulator is divided into motion groups, and each group independently plans the trajectory. By limiting the joint trajectory to the configuration line segment, the deviation distance is calculated to judge and adjust the trajectory to ensure that all components avoid obstacles.

Benefits of technology

It effectively reduces the number of low-quality solutions when the redundant manipulator reaches the specified attitude, enables all components to avoid obstacles, and independently calculates the obstacle avoidance trajectory of each part, improving the efficiency and accuracy of trajectory planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118528274A
    Figure CN118528274A
Patent Text Reader

Abstract

The invention relates to a track planning method for redundant mechanical arms, which comprises the following steps of: dividing every two mechanical arms of the redundant mechanical arms into a group, taking the mechanical arm comprising an end effector as a first group, and all the remaining groups simulating the movement of the first group to move; and determining the motion trails of the remaining motion groups. According to the method, calculation of a track control scheme of the remaining part of the redundant mechanical arm is reduced, and all assemblies of the redundant mechanical arm avoid obstacles. And meanwhile, the process that the first group sequentially reaches each segment is regarded as an independent process, so that the obstacle avoiding track existing in each part of attitude of the configuration can be independently and simultaneously calculated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of robot trajectory design and relates to a trajectory planning method for a redundant robot arm. Background Art

[0002] Redundant robotic arms have more degrees of freedom than traditional robotic arms. They have become a research hotspot in recent years because of their flexibility, adaptability, ability to avoid obstacles, singularities, and joint limitations. They are currently widely used in industry, medical services, and aerospace. However, since redundant robotic arms have more degrees of freedom, there are countless solutions for their end to reach the specified target position from the initial position. Due to the existence of obstacles in space, many of these solutions are invalid solutions that will cause the robotic arm to collide with obstacles, so trajectory planning for redundant robotic arms becomes very difficult.

[0003] Trajectory planning is a basic problem in the motion control of robotic arms. The result of trajectory planning can measure whether the robot can complete the task well. At present, most of the trajectory planning methods of robotic arms are based on specific constraints such as velocity and acceleration in joint or Cartesian space to calculate the trajectory through polynomial interpolation. Among them, the trajectory planning problem in Cartesian space is the key problem for redundant robotic arms to perform complex tasks. Trajectory planning in Cartesian space refers to the inverse solution of each point on the planned trajectory of the end effector of the robotic arm from the starting point to the end point to the joint space.

[0004] Among the common robot arm trajectory planning schemes, Cartesian space trajectory planning is one of the main methods. Cartesian space trajectory planning refers to planning the motion trajectory of the robot arm end effector in a Cartesian coordinate system. This usually involves determining the position and posture of the end effector in three-dimensional space, and then realizing the movement of the robot arm through a series of path planning algorithms. Redundant robots usually have multiple joint angle solutions when reaching the same target position and posture, that is, there are multiple solutions. When the end effector of the redundant robot arm avoids obstacles and reaches the specified posture, the intermediate components of the robot arm are uncontrolled and easily collide with obstacles.

[0005] The super redundant robot arm collision-free fast path planning algorithm based on reinforcement learning is another commonly used robot arm planning method. This method uses the movement mode of snakes to avoid obstacles when crawling, that is, only the movement path of the end effector needs to be planned, and the rest of the body follows the movement of the end effector. Figure 1 As shown, the posture interpolation method is used to adjust the first arm that has not entered to be in line with the posture indicated by the last line segment of the configuration diagram. When the arm enters, the posture of the arm that has already met the configuration is adjusted to meet the next posture. Figure 2As shown in the figure, since the connecting rods of the super redundant manipulator are all made of rigid materials, it is impossible to achieve the same level of flexibility as a snake during the movement of the manipulator, that is, the body of the manipulator cannot always be consistent with the path of the end effector. And since the arm that has already met some of the configuration diagrams is randomly adjusted to meet the next posture, this causes the offset distance to accumulate as the degree of freedom of the manipulator increases. At the same time, as the degrees of freedom of the redundant manipulator increase, the space required for the end effector to move to a specified posture increases. There is a strong coupling between the previous motion trajectory of the redundant manipulator and the next motion trajectory. Only when the trajectory of the previous posture is determined can the trajectory plan for the next posture be found. This also restricts the application of the super redundant manipulator collision-free fast path planning algorithm based on reinforcement learning. Summary of the invention

[0006] The technical problem solved by the present invention is: to overcome the shortcomings of the prior art and propose a trajectory planning method for a redundant robotic arm, which can effectively reduce the number of low-quality solutions when the redundant robotic arm reaches a specified posture, help all components of the redundant robotic arm avoid obstacles, and can independently and simultaneously calculate the trajectory of avoiding obstacles for each part of the posture of the configuration.

[0007] The solution of the present invention is:

[0008] A trajectory planning method for a redundant robotic arm, comprising:

[0009] Step 1: Divide the redundant robotic arms into motion groups. Starting from the end of the robotic arm, every two arms and three joints connected to the two arms form a group. Starting from the end of the robotic arm, the group containing the end effector is named the first group, followed by the second group, the third group, and so on. The Nth group;

[0010] Step 2: determining a configuration of the end effector of the robot arm when it reaches the specified target position, wherein the configuration is the posture of the redundant robot arm, and when the redundant robot arm reaches the posture, none of its components collides with obstacles;

[0011] Step 3: Add two horizontal virtual posture segments at the end of the configuration, and starting from the last virtual posture segment, take every three consecutive line segments as a segment and extract several segments;

[0012] Step 4: Name the first and last joints of the first group as joint I and joint II respectively. During the movement of the first group, the trajectories of joint I and joint II must be on the line segment of the configuration. The trajectory of joint II of the first group is consistent with the trajectory of joint I when the first group reaches the previous posture of the current posture.

[0013] Step 5: Select the trajectory motion plan of the first group on each segment, and calculate the deviation distance between the first group and each segment. According to the deviation distance, determine whether the first group collides with the obstacle in some segments. If so, proceed to step 6. If no collision occurs in all segments, find the full trajectory motion plan of the first group and proceed to step 7.

[0014] Step 6: Change the trajectory motion plan of the first group on the segment where the collision occurs, and determine whether the first group collides with the obstacle at the corresponding segment. If no collision occurs, find the full trajectory motion plan of the first group and proceed to step 7; otherwise, continue to change the trajectory motion plan of the first group on the segment where the collision occurs. If there are still segments that collide after 20 times, return to step 2 and change the configuration;

[0015] Step 7: The trajectory of the nth group is consistent with the trajectory of the n-1th group in the previous posture, n=2, 3, ... N, thereby completing the trajectory planning.

[0016] Preferably, the deviation distance refers to the vertical distance from the geometric center of the middle joint of the first group to the current segment.

[0017] Preferably, the end effector is considered as a joint.

[0018] Preferably, two adjacent groups share one joint.

[0019] A trajectory planning system for a redundant manipulator comprises a manipulator division module, a configuration determination module, a configuration improvement module, a trajectory restriction module, a first group trajectory determination module, and a manipulator trajectory planning module;

[0020] Robot arm division module: divide the redundant robot arms into motion groups. Starting from the end of the robot arm, every two arms and the three joints connected to the two arms form a group. From the end of the robot arm forward, the group containing the end effector is named the first group, followed by the second group, the third group, and so on.

[0021] Configuration determination module: determining the configuration of the end effector of the robot arm when it reaches the specified target position, wherein the configuration is the posture of the redundant robot arm, and when the redundant robot arm reaches the posture, none of its components collides with obstacles;

[0022] Configuration improvement module: add two horizontal virtual posture segments at the end of the configuration, and extract several segments starting from the last virtual posture segment, with every three consecutive line segments as a segment;

[0023] Trajectory restriction module: The first and last joints of the first group are named joint I and joint II respectively. During the movement of the first group, the trajectories of joint I and joint II must be on the line segment of the configuration. The trajectory of joint II of the first group is consistent with the trajectory of joint I when the first group reaches the previous posture of the current posture.

[0024] The first group trajectory determination module: select the trajectory motion plan of the first group on each segment, and calculate the deviation distance between the first group and each segment, and judge whether the first group collides with the obstacle in some segments according to the deviation distance. If all segments do not collide, find the full trajectory motion plan of the first group; if a collision occurs, replace the trajectory motion plan of the first group on the segment where the collision occurs, and judge whether the first group collides with the obstacle in the corresponding segment. If no collision occurs, find the full trajectory motion plan of the first group; otherwise, continue to replace the trajectory motion plan of the first group on the segment where the collision occurs. If there are still segments that collide after 20 times, return to the configuration improvement module and change the configuration;

[0025] Robotic arm trajectory planning module: Control the trajectory of the nth group to be consistent with the trajectory of the n-1th group in the previous posture, n = 2, 3, ... N.

[0026] Preferably, in the first group trajectory determination module, the deviation distance refers to the vertical distance from the geometric center of the middle joint of the first group to the current segment.

[0027] Preferably, in the robot arm division module, the end effector is regarded as a joint.

[0028] Preferably, in the robot arm division module, two adjacent groups share a joint.

[0029] The beneficial effects of the present invention compared with the prior art are:

[0030] In the present invention, after the trajectory planning of the first group is completed, the remaining group of the redundant manipulator completely imitates the trajectory movement of the first group when the group changes its posture, and the deviation distance of the remaining group in each posture change process is completely consistent with that of the first group. This not only reduces the calculation of the trajectory control scheme of the remaining part of the redundant manipulator, but also enables each component of the redundant manipulator to avoid obstacles. At the same time, the process of the first group arriving at each segment in turn is regarded as an independent process, so the present invention can independently and simultaneously calculate the trajectory of avoiding obstacles in each part of the configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 A control diagram for the motion of a robotic arm using a collision-free fast path planning algorithm for a hyper-redundant robotic arm based on reinforcement learning;

[0032] Figure 2 Schematic diagram of the offset distance of the collision-free fast path planning algorithm for a super redundant manipulator based on reinforcement learning;

[0033] Figure 3 A schematic diagram of dividing the robot arm of the present invention into groups;

[0034] Figure 4 It is a configuration diagram of the present invention;

[0035] Figure 5 This is the motion diagram for the first group;

[0036] Figure 6 It is the deviation distance diagram of the present invention;

[0037] Figure 7 Trajectory diagram for collision-free fast path planning algorithm for hyper-redundant manipulators using reinforcement learning;

[0038] Figure 8 A trajectory diagram for using the method of the present invention;

[0039] Fig. 9 To add a construction diagram of a virtual pose;

[0040] Fig.10 A fragment of a construction diagram. DETAILED DESCRIPTION

[0041] The present invention will be further described below in conjunction with the accompanying drawings.

[0042] The present invention proposes a novel redundant robotic arm trajectory planning method, which divides the redundant robotic arms into a group in pairs, wherein the first group includes the end effector, and all the remaining groups imitate the movement of the first group to find the trajectory planning of all parts of the moving group to avoid obstacles; and specifies the movement trajectory of the remaining moving groups.

[0043] Specifically, the specific scheme of the present invention is as follows:

[0044] 1 Division of redundant robotic arms

[0045] Figure 3 This is a schematic diagram of dividing a 6-DOF robot into groups. First, the redundant robot is divided into groups. Starting from the end of the robot, every two arms and three joints form a group. The end effector is also considered a special joint. Adjacent groups share a joint. The group of the robot arm including the end effector is named the first group, followed by the second group, the third group, and so on.

[0046] 2 Trajectory constraints

[0047] Take a 10-DOF redundant robotic arm as an example. Figure 4The configuration diagram of a 10-DOF robot arm is searched, and the configuration diagram is considered to be composed of ten line segments a, b, c, d, e, f, g, h, i, and j. The configuration diagram determines the posture of a redundant robot arm. When the redundant robot arm reaches this posture, the end effector of the robot arm reaches the specified target position, and at this time, none of the components of the redundant robot arm collides with obstacles.

[0048] First, focus only on the trajectory of the first group. Figure 5 As shown, assuming that the first group has moved to Figure 4 The posture shown by the line segments a and b in the configuration diagram will move to the posture shown by the line segments b and c in the next step. The first and last joints of the first group are named joint I and joint II respectively. During the above posture change process of the first group, joint I is restricted to move along line segment c, and joint II is restricted to move along line segment a. In this way, the trajectory restriction condition is completed.

[0049] 3 Calculate the deviation distance

[0050] Although the end effector reaches the target position when the redundant manipulator reaches the posture specified by the configuration diagram, and all parts of the redundant manipulator do not collide with obstacles at this time, the redundant manipulator may still collide with obstacles during the process of moving from the initial posture to the final specified posture. Figure 6 As shown, during the movement, the vertical distance that the geometric center of the middle joint of the robotic arm group reaches the configuration is called the deviation distance.

[0051] like Figure 7 As shown, when using the super redundant manipulator collision-free fast path planning algorithm based on reinforcement learning mentioned in the background technology, the manipulator is controlled from Figure 4 In the process of moving from the posture specified by the line segments a, b, c, d, e, f in the configuration diagram to the posture specified by the line segments b, c, d, e, f, g, the deviation distance will increase sharply as the degree of freedom of the robot arm increases. This is because all arms of the redundant robot arm imitate the trajectory of the front arm, but the front arm needs to reach the postures indicated by the line segments a, b, c, d, e, f, g, h, i, j in sequence from the initial position. In the process of moving to a certain posture, the trajectory of the rear end of the arm is consistent with the trajectory of the front end when the arm reaches the previous posture. Therefore, only when the trajectory to the previous posture is determined can the trajectory to the next posture be found.

[0052] like Figure 8 As shown, when using the method of the present invention, the robot arm is controlled from Figure 4In the process of the posture specified by the line segments a, b, c, d, e, f in the configuration diagram moving to the posture specified by the line segments b, c, d, e, f, g, the deviation distance of the manipulator is obviously smaller than the deviation distance of the super redundant manipulator collision-free fast path planning algorithm based on reinforcement learning. The first group needs to reach the postures indicated by the line segments a, b, c, d, e, f, g, h, i, j in sequence from the initial position. In the process of moving to a certain posture, the trajectory of the joint II of the first group is consistent with the trajectory of the joint I when the first group reaches the previous posture of the posture. The method of the present invention limits the trajectory of joints I and II to be on the line segments of the configuration, which not only reduces the number of solutions for the redundant manipulator to collide with obstacles, but also can separately find the trajectory to reach each posture.

[0053] like Fig. 9 As shown in the figure, for a 10-DOF redundant manipulator, determine a Figure 4 After the configuration, two horizontal virtual postures are added at the position of the last segment a of the configuration, corresponding to the segments virtual 1 and virtual 2 respectively. Fig.10 As shown, Fig. 9 The configurations in the figure are all extracted according to the postures corresponding to three consecutive line segments, and 10 fragments are proposed respectively.

[0054] Since the trajectories of joints I and II of the first group must move along the configuration, the process of the first group reaching each segment in turn can be regarded as an independent process. Assume that the first group has reached Fig.10 The posture indicated by the last two segments of the three segments in the 10 segments will move to the posture indicated by the first two segments, for example, in the first segment, the posture specified by the virtual segments 1 and 2 will move to the posture specified by the virtual segments 2 and a. Fig.10 The minimum deviation distance of the 10 segments in . If the deviation distance of each segment found controls the first group without colliding with obstacles, then a full trajectory control solution for the first group is found. Fig.10 If the first group controlled by the deviation distance of one segment collides with an obstacle in 10 segments, the trajectory motion plan of the first group on the segment where the collision occurs is changed, and it is determined whether the first group collides with the obstacle at the corresponding segment. If no collision occurs, the full trajectory motion plan of the first group is found; otherwise, the trajectory motion plan of the first group on the segment where the collision occurs is continued to be changed. If there are still segments that collide after 20 times, the configuration is changed.

[0055] 3 Trajectory control method

[0056] When the trajectory control of the first group has been found, the remaining group of the redundant robot arm completely imitates the trajectory movement of the first group when the group changes its posture, and the deviation distance of the remaining group in each posture change process is completely consistent with that of the first group. This not only reduces the calculation of the trajectory control plan of the remaining part of the redundant robot arm, but also enables each component of the redundant robot arm to avoid obstacles.

[0057] The present invention also provides a trajectory planning system for a redundant robotic arm, including a robotic arm division module, a configuration determination module, a configuration improvement module, a trajectory restriction module, a first group trajectory determination module, and a robotic arm trajectory planning module.

[0058] Robot arm division module: divide the redundant robot arm into motion groups, starting from the end of the robot arm, each two arms and the three joints connected to the two arms form a group; the end effector is regarded as a joint, and two adjacent groups share a joint. From the end of the robot arm forward, the group containing the end effector is named the first group, followed by the second group, the third group, and so on.

[0059] Configuration determination module: determines the configuration of the end effector of the robot arm when it reaches the specified target position. The configuration is the posture of the redundant robot arm. When the redundant robot arm reaches the posture, none of its components collides with obstacles.

[0060] Configuration improvement module: add two horizontal virtual posture segments at the end of the configuration, and start from the last virtual posture segment, taking every three consecutive line segments as a segment, and extract several segments.

[0061] Trajectory restriction module: The head and tail joints of the first group are named joint I and joint II respectively. During the movement of the first group, the trajectories of joints I and II must be restricted on the line segments of the configuration. The trajectory of joint II of the first group is consistent with the trajectory of joint I when the first group reaches the previous posture of the current posture.

[0062] The first group trajectory determination module: select the trajectory motion plan of the first group on each segment, and calculate the deviation distance between the first group and each segment. According to the deviation distance, determine whether the first group collides with the obstacle in some segments. If no collision occurs in all segments, find the full trajectory motion plan of the first group. If a collision occurs, replace the trajectory motion plan of the first group on the segment where the collision occurs, and determine whether the first group collides with the obstacle in the corresponding segment. If no collision occurs, find the full trajectory motion plan of the first group. Otherwise, continue to replace the trajectory motion plan of the first group on the segment where the collision occurs. If there are still segments that collide after 20 times, return to the configuration improvement module and change the configuration. The deviation distance refers to the vertical distance from the geometric center of the middle joint of the first group to the current segment.

[0063] Robotic arm trajectory planning module: Control the trajectory of the nth group to be consistent with the trajectory of the n-1th group in the previous posture, n = 2, 3, ... N.

[0064] The present invention effectively reduces the number of low-quality solutions when the redundant robotic arm reaches a specified posture, helps all components of the redundant robotic arm avoid obstacles, and can independently calculate whether there is a trajectory solution that can avoid obstacles for each posture of the configuration.

[0065] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.

Claims

1. A trajectory planning method for redundant robotic arms, It is characterized in that The steps include: Step 1: Divide the redundant robotic arms into motion groups. Starting from the end of the robotic arm, every two arms and three joints connected to the two arms form a group. Starting from the end of the robotic arm, the group containing the end effector is named the first group, followed by the second group, the third group, and so on. The Nth group; Step 2: determining a configuration of the end effector of the robot arm when it reaches the specified target position, wherein the configuration is the posture of the redundant robot arm, and when the redundant robot arm reaches the posture, none of its components collides with obstacles; Step 3: Add two horizontal virtual posture segments at the end of the configuration, and starting from the last virtual posture segment, take every three consecutive line segments as a segment and extract several segments; Step 4: Name the first and last joints of the first group as joint I and joint II respectively. During the movement of the first group, the trajectories of joint I and joint II must be on the line segment of the configuration. The trajectory of joint II of the first group is consistent with the trajectory of joint I when the first group reaches the previous posture of the current posture. Step 5: Select the trajectory motion plan of the first group on each segment, and calculate the deviation distance between the first group and each segment. According to the deviation distance, determine whether the first group collides with the obstacle in some segments. If so, proceed to step 6. If no collision occurs in all segments, find the full trajectory motion plan of the first group and proceed to step 7. Step 6: Change the trajectory motion plan of the first group on the segment where the collision occurs, and determine whether the first group collides with the obstacle at the corresponding segment. If no collision occurs, find the full trajectory motion plan of the first group and proceed to step 7; otherwise, continue to change the trajectory motion plan of the first group on the segment where the collision occurs. If there are still segments that collide after 20 times, return to step 2 and change the configuration; Step 7: The trajectory of the nth group is consistent with the trajectory of the n-1th group in the previous posture, n=2, 3, ... N, thereby completing the trajectory planning.

2. A redundant robot arm trajectory planning method according to claim 1, It is characterized in that The deviation distance refers to the vertical distance from the geometric center of the middle joint of the first group to the current segment.

3. The trajectory planning method of a redundant robotic arm according to claim 1, It is characterized in that The end effector is considered as a joint.

4. The trajectory planning method for a redundant robotic arm according to claim 1, It is characterized in that Two adjacent groups share a joint.

5. A trajectory planning system for a redundant robotic arm, It is characterized in that It includes a robot arm division module, a configuration determination module, a configuration improvement module, a trajectory restriction module, a first group trajectory determination module, and a robot arm trajectory planning module; Robot arm division module: divide the redundant robot arms into motion groups. Starting from the end of the robot arm, every two arms and the three joints connected to the two arms form a group. From the end of the robot arm forward, the group containing the end effector is named the first group, followed by the second group, the third group, and so on. Configuration determination module: determining the configuration of the end effector of the robot arm when it reaches the specified target position, wherein the configuration is the posture of the redundant robot arm, and when the redundant robot arm reaches the posture, none of its components collides with obstacles; Configuration improvement module: add two horizontal virtual posture segments at the end of the configuration, and extract several segments starting from the last virtual posture segment, with every three consecutive line segments as a segment; Trajectory restriction module: The first and last joints of the first group are named joint I and joint II respectively. During the movement of the first group, the trajectories of joint I and joint II must be on the line segment of the configuration. The trajectory of joint II of the first group is consistent with the trajectory of joint I when the first group reaches the previous posture of the current posture. The first group trajectory determination module: select the trajectory motion plan of the first group on each segment, and calculate the deviation distance between the first group and each segment, and judge whether the first group collides with the obstacle in some segments according to the deviation distance. If all segments do not collide, find the full trajectory motion plan of the first group; if a collision occurs, replace the trajectory motion plan of the first group on the segment where the collision occurs, and judge whether the first group collides with the obstacle in the corresponding segment. If no collision occurs, find the full trajectory motion plan of the first group; otherwise, continue to replace the trajectory motion plan of the first group on the segment where the collision occurs. If there are still segments that collide after 20 times, return to the configuration improvement module and change the configuration; Robotic arm trajectory planning module: Control the trajectory of the nth group to be consistent with the trajectory of the n-1th group in the previous posture, n = 2, 3, ... N.

6. A trajectory planning system for a redundant robotic arm according to claim 5, It is characterized in that In the first group trajectory determination module, the deviation distance refers to the vertical distance from the geometric center of the middle joint of the first group to the current segment.

7. A trajectory planning system for a redundant robotic arm according to claim 5, It is characterized in that In the robot arm division module, the end effector is regarded as a joint.

8. A trajectory planning system for a redundant robotic arm according to claim 5, It is characterized in that In the robot arm division module, two adjacent groups share a joint.

Citation Information

Patent Citations

  • Redundant robot inverse kinematics solving method and device and redundant robot

    CN111538949A

  • Obstacle avoidance trajectory planning method for redundant mechanical arm based on improved rapidly-exploring random tree

    CN113352319A

  • Motion planning method and device for spatially redundant robotic arms

    CN114932549A

  • Collaborative planning method and system for solving inverse kinematics of rope-driven mechanical arm and computer storage medium

    CN115533920A

  • Sectional type dynamic obstacle avoidance method for super-redundant mechanical arm

    CN115990874A