Six-axis mechanical arm obstacle avoidance path planning method based on improved RRT
Through the improved RRT algorithm of dynamic probability sampling and adaptive step size optimization, combined with cubic B-spline smoothing processing, the efficiency and stability problems of path planning of the robotic arm in an obstacle-dense environment are solved, and efficient and smooth obstacle avoidance is generated. path.
Patent Information
- Application Number
- CN202410763476.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-23
AI Technical Summary
Existing robot arm obstacle avoidance path planning algorithms are prone to falling into local extrema in dense obstacle environments, and the search efficiency is low, making it difficult to generate a smooth path.
An improved RRT algorithm using dynamic probability sampling and adaptive step size optimization is used to improve the guidance and stability of node sampling by dynamically adjusting the step size and sampling probability, and combined with cubic B-spline smoothing processing to optimize the trajectory movement of the robotic arm.
The global search efficiency is significantly improved, the generated path is smoother, the possibility of collision between the robot arm and obstacles is reduced, and the stability of the movement process is improved.
Smart Images

Figure CN118528268A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of robot arm path planning, and in particular to a six-axis robot arm obstacle avoidance path planning method based on improved RRT. Background Art
[0002] With the continuous development of artificial intelligence and intelligent manufacturing technology, the future industrial manufacturing will surely be highly intelligent, information-based, and human-machine collaborative, and the working scenarios faced by robotic arms will surely be complex and uncertain. As the application environment of industrial robotic arms becomes more and more complex, the difficulty of how to ensure that the robotic arms can safely complete the tasks they need to perform has become increasingly prominent. The role of robotic arm obstacle avoidance path planning has become increasingly important. Robotic arm obstacle avoidance path planning means that when there are obstacles in the workspace, the robotic arm can plan a collision-free path within a limited time.
[0003] The method of using static target bias in invention patent CN202210671495.5 makes RRT more purposeful, shortens the search time, and optimizes the path using the triangle pruning method. However, the sampling is for the entire workspace, and the target bias process does not take into account the changes in the density of local obstacles, making the algorithm prone to local extremes. Therefore, it is very necessary to propose an improved RRT algorithm based on dynamic probability sampling and adaptive step size to achieve obstacle avoidance path planning for six-axis manipulators, and to be suitable for use in environments with dense obstacles. Summary of the invention
[0004] In view of this, the present invention proposes a six-axis robotic arm obstacle avoidance path planning method based on improved RRT which adopts dynamic probability sampling and adaptive step size optimization to improve the stability of the motion process.
[0005] The technical solution of the present invention is implemented as follows: The present invention provides a six-axis robot arm obstacle avoidance path planning method based on improved RRT, comprising the following steps:
[0006] Step 1: Obtain the obstacle distribution of the six-axis robot workspace, establish the robot collision model and kinematic model, initialize the random tree and its starting point X start and the target point X goal ;
[0007] Step 2: The random tree is sampled through a dynamic probability sampling mechanism to generate a random point X rand ;
[0008] Step 3: Traverse all nodes on the current random tree and search for the node X on the random tree. rand The nearest neighbor node X near , calculate the nearest neighbor node X nearPoint to random point X rand The unit vector u of
[0009] Step 4: Adaptive step size strategy, according to the current random point X rand The neighboring node X on the corresponding random tree near Relative to the target point X goal Dynamically adjust the step size according to the position;
[0010] Step 5: Obtain the new node X grown by the random tree through the dynamically adjusted step size new ;
[0011] Step 6: If along the new node X new If there is no collision in the extended path, the new node X new Add it to the random tree as an extension node. If a collision occurs, re-execute steps 2 to 6.
[0012] Step 7: Continue to grow new random tree expansion nodes until a new expansion node X is grown. new With the target point X goal When the Euclidean distance is less than the threshold D, stop the loop and return a path from the starting point X start To target point X goal feasible path;
[0013] Step 8: Use the cubic B-spline smoothing method based on time-energy optimization to return a collision-free path as the obstacle avoidance path of the six-axis robot.
[0014] On the basis of the above technical solution, preferably, initializing the random tree also includes setting the search range, the cumulative value T of the number of node collisions during the growth of the random tree, c , dynamic sampling probability D p and a map environment, which includes the distribution of obstacles.
[0015] Preferably, the specific content of step 2 is to use the following formula to perform random point sampling: Where rand is the operation of taking a random number in the interval (0, 1), RandomSample() is the random sampling operation; the dynamic sampling probability D p The calculation formula is
[0016] Further preferably, the cumulative value T of the number of node collisions during the growth of the random tree is c Set the upper limit S, T c The value rules are as follows:
[0017] Further preferably, the adaptive step size strategy described in step 4 is based on different random points X rand Its corresponding neighbor node X on the random tree near Relative to the target point X goal The step size is dynamically adjusted according to the different positions. The adjustment formula of the adaptive step size Step_length is as follows:
[0018] Where Step_Size is the basic step size of the random tree; D NG is the neighboring node X near With the target point X goal The Euclidean distance, D RG A random point X rand With the target point X goal The Euclidean distance is:
[0019] Where X near.x , X near.y and X near.z is the neighboring node X near The three-dimensional coordinates of rand.x , X rand.y and X rand.z A random point X rand The three-dimensional coordinates of goal.x , X goal.y and X goal.z The target point X goal The three-dimensional coordinates of .
[0020] More preferably, the specific content of step 5 is to make the grown new node X new The formula is:
[0021]
[0022] Further preferably, the condition for the random tree in step 7 to stop looping in the space is: the new node X new With the target point X goal The Euclidean distance d is less than the threshold D and passes the collision detection. The calculation formula of the Euclidean distance d is: Where X new.x , X new.y and X new.z For the new node X new The three-dimensional coordinates of .
[0023] More preferably, the default value of the threshold D is the adaptive step length Step_length.
[0024] Preferably, the cubic B-spline smooth return collision-free path based on time-energy optimization described in step 8 is to establish a dynamic model according to the structure of the robot arm, determine the movement range of the robot arm according to the actual scenario, and then integrate the energy optimization goal into the cubic B-spline curve, and use the time interval between the passing points of each joint trajectory of the robot arm as the optimization variable to establish the objective function; the motion state of the robot arm is changed by adjusting the time interval, and the smoothing parameters are adjusted in each iteration according to the estimated result of energy consumption until the energy optimization goal is achieved.
[0025] Further preferably, the time interval between each joint trajectory path point of the robot arm is used as the optimization variable to establish an objective function. Specifically, the following objective function is established: Where S1 is the total time for each joint of the robot to move along the feasible path, Δt i is the time interval between two adjacent points i and i-1 on the joint trajectory, i = 1, 2, 3, ..., P, t i and t i-1 is the time it takes for the robot to move along the joint trajectory to two adjacent points; S2 is the average power of the robot during movement, where T is the total movement time of the robot, and p s is the angular velocity of the robot arm during its movement along the joint trajectory, q n is the optimal motion torque obtained by inverse analysis of the input current and joint trajectory of the robot, and min[·] is the minimum value operation. At the same time, the total time S1 of each joint of the robot moving along the feasible path and the average power of the robot during movement are constrained to be minimum to meet the optimal requirements of both time and energy dimensions.
[0026] The six-axis robot obstacle avoidance path planning method based on improved RRT provided by the present invention has the following beneficial effects compared with the prior art:
[0027] (1) This application introduces a dynamic probability sampling mechanism to improve the guidance of node sampling and its adaptability to obstacle environments of different density, significantly improving the global search efficiency while ensuring the local diversity of the algorithm. At the same time, combined with an adaptive step size strategy, the step size is dynamically adjusted according to the different positions of the neighboring points on the random tree corresponding to different sampling nodes relative to the target point, thereby enhancing the tendency of the algorithm to expand to the target point, reducing the possibility of the random tree expanding to non-target point positions, and better generating possible paths;
[0028] (2) The present application utilizes a cubic B-spline curve to smooth the trajectory, thereby improving the stability of the robot arm's movement along the trajectory, and simultaneously optimizes the process of each joint trajectory path of the robot arm from both the time and energy dimensions, thereby reducing the time and energy costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 The present invention is an algorithm flow chart of a six-axis robot arm obstacle avoidance path planning method based on improved RRT;
[0031] Figure 2 A schematic diagram of an adaptive step-size strategy for a six-axis robot obstacle avoidance path planning method based on improved RRT according to the present invention;
[0032] Figure 3 A comparison diagram of the obstacle avoidance path of a six-axis manipulator obstacle avoidance path planning method based on improved RRT of the present invention and the obstacle avoidance path of the standard RRT algorithm;
[0033] Figure 4 A comparison diagram of a six-axis robot obstacle avoidance path planning method based on improved RRT of the present invention and a three-dimensional obstacle avoidance path planning method based on standard RRT algorithm;
[0034] Figure 5 The figure is a schematic diagram of an obstacle avoidance path of a six-axis robot arm obstacle avoidance path planning method based on improved RRT running on a robot arm in the present invention. DETAILED DESCRIPTION
[0035] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] like Figure 1 As shown, the present invention provides a six-axis robot obstacle avoidance path planning method based on improved RRT, comprising the following steps:
[0037] Step 1: Obtain the obstacle distribution of the six-axis robot workspace, establish the robot collision model and kinematic model, initialize the random tree and its starting point X start and the target point X goal .
[0038] The sampling-based motion planning algorithm is abbreviated as RRT, which is the abbreviation of Rapidly-exploring Random Trees. It is a fast search algorithm. After setting the starting point, the starting point is used as the root node, and a random expansion tree is generated by randomly sampling to generate expansion nodes. When the expansion node of the random tree reaches the vicinity of the target point, the path from the starting point to the target point is obtained. The standard RRT algorithm converges to the target point slowly, so the standard RRT algorithm needs to be improved.
[0039] Initializing the random tree includes setting the starting point X start 、Target point X goal , search range, the cumulative value of the number of node collisions during the growth of the random tree c , dynamic sampling probability D p and the map environment, which includes the distribution of obstacles. The starting position of the robot is taken as the starting point X start , take the end point of the robot movement as the target point X goal .
[0040] Step 2: The random tree is sampled through a dynamic probability sampling mechanism to generate a random point X rand .
[0041] Specifically, the following formula f(x) is used for random point sampling: Where rand is the operation of taking a random number in the interval (0, 1), RandomSample() is the random sampling operation; the dynamic sampling probability D p The calculation formula is In order to speed up the convergence of the random tree to the target point, randomness rand is introduced here. This parameter represents the probability of randomly generating random points. If the value is smaller, it means that the randomness is small and it may be difficult to get rid of the surrounding obstacles; the larger the randomness value, the greater the probability of the current sampling point getting rid of the surrounding obstacles: dynamic sampling probability D p On the graph is a line with the cumulative value T of the number of collisions c A curve that gradually approaches 1 as it increases.
[0042] The cumulative value T of the number of node collisions during the growth of the random tree c Set the upper limit S, T c The value rules are as follows: When there are fewer obstacles in the space, the cumulative value of the number of collisions is T c The numerical growth rate is low, and the dynamic sampling probability D p The change is relatively gentle, and the random tree has a high probability of directly taking the target point X goal The direction is taken as a random point X randThe growth direction of the dynamic sampling probability D p The value of is small. In order to make the sampling points sufficiently random, it is necessary to make rand greater than the current dynamic sampling probability D p Value, making the sampling point better towards the target point X goal In the direction of growth; when there are dense obstacles in the space, the cumulative value of the number of collisions T c Rapidly increasing, dynamic sampling probability D p Follow T c It also changes rapidly. In order to prevent the random tree from continuing to grow in the target point and being unable to escape from local dense obstacles, it is necessary to ensure the value range of rand, ensuring that it is within (0-D p ] has greater randomness, ensuring that the random tree has a certain growth orientation and can quickly respond to environments with different degrees of dense obstacles, thereby enhancing the local differences of the algorithm. In addition, the present invention adopts a forgotten collision counting method. When the cumulative value of the collision number of the expansion node is T c When the upper limit S is reached, the cumulative value of the number of collisions T c Initialization is performed to reflect the change of local obstacles in the next round and improve the robustness of the algorithm. In this embodiment, the upper limit S is set to 25.
[0043] Step 3: Traverse all nodes on the current random tree and search for the node X on the random tree. rand The nearest neighbor node X near , calculate the nearest neighbor node X near Point to random point X rand The unit vector u of .
[0044] The unit vector u is obtained to facilitate the subsequent calculation of the newly generated node position.
[0045] Step 4: Adaptive step size strategy, according to the current random point X rand The neighboring node X on the corresponding random tree near Relative to the target point X goal The step size is adjusted dynamically based on the position.
[0046] The adaptive step size strategy is based on different random points X rand Its corresponding neighbor node X on the random tree near Relative to the target point X goal The step size is dynamically adjusted according to the different positions. The adjustment formula of the adaptive step size Step_length is as follows:
[0047] Where Step_Size is the basic step size of the random tree; DNG is the neighboring node X near With the target point X goal The Euclidean distance, D RG A random point X rand With the target point X goal The Euclidean distance is:
[0048] Where X near.x , X near.y and X near.z is the neighboring node X near The three-dimensional coordinates of rand.x , X rand.y and X rand.z A random point X rand The three-dimensional coordinates of goal.x , X goal.y and X goal.z The target point X goal The three-dimensional coordinates of .
[0049] When random points are generated using a random growth method, the step size is dynamically adjusted according to the different positions of different random points and their corresponding neighboring nodes on the random tree relative to the target point, which enhances the tendency of the algorithm to expand toward the target point and reduces the algorithm's expansion into invalid areas.
[0050] Step 5: Obtain the new node X grown by the random tree through the dynamically adjusted step size new .
[0051] The specific content is, let the new node X grown new The formula is: By combining the unit vector u obtained in step 3 and the adaptive step length Step_length in step 4, the new node X can be obtained. new The position of the new node X is generated by multiplying the adaptive step length Step_length by the unit vector u and adding the coordinates of the neighboring nodes. new , the unit vector u is
[0052] like Figure 2 As shown in the figure on the left, the neighbor node X near 、Target point X goal and a random point X rand Forming a triangle, in this figure D NG >D RG , random point X rand is from the neighboring node X near Towards target point X goal Generated by the approach direction, indicating the current random point X randIt is approaching the target point, so the current step length Step_length = Step_Size, and a new node X is generated according to the basic step length of the random tree. new .
[0053] like Figure 2 As shown in the figure on the right, in this figure D NG <D RG , random point X rand is from the neighboring node X near Towards target point X goal The direction away from the current random point X rand It is to adjust the direction in the process of approaching the target point, in order to avoid the random point X rand Towards and away from the target point X goal The current step size is expanded in the direction of D NG / D RG The size of the node X is related to the size of the node X. A new node X is generated according to the dynamically adjusted step length Step_length. new .
[0054] The adaptive step size strategy proposed in this application enables the random tree to expand with a large step size toward the target point, accelerating the global convergence speed of the algorithm, while expanding with a small step size toward the invalid area far away from the target point, reducing the growth strength of the random tree in the invalid area.
[0055] Step 6: If along the new node X new If there is no collision in the extended path, the new node X new Add it to the random tree as an extension node. If a collision occurs, re-execute steps 2 to 6.
[0056] Step 7: Continue to grow new random tree expansion nodes until a new expansion node X is grown. new With the target point X goal When the Euclidean distance is less than the threshold D, stop the loop and return a path from the starting point X start To target point X goal The feasible path is the moving path of the robot arm.
[0057] The condition for the random tree to stop looping in space is: the new node X new With the target point X goal The Euclidean distance d is less than the threshold D and passes the collision detection. The calculation formula of the Euclidean distance d is: Where X new.x , X new.y and X new.z For the new node X new The three-dimensional coordinates of .
[0058] As a preferred implementation, the default value of the threshold D is the adaptive step length Step_length.
[0059] Step 8: Use the cubic B-spline smoothing method based on time-energy optimization to return a collision-free path as the obstacle avoidance path of the six-axis robot.
[0060] After completing the search and forming, the moving path of the robot arm is obtained, but this path is not smooth enough, so it needs to be further optimized to shorten the path while achieving path smoothness.
[0061] The specific content of step 8 is to establish a dynamic model according to the structure of the robot arm, determine the movement range of the robot arm according to the actual scenario, and then integrate the energy optimization goal into the cubic B-spline curve, and use the time interval between the passing points of each joint trajectory of the robot arm as the optimization variable to establish the objective function; change the motion state of the robot arm by adjusting the time interval, and adjust the smoothing parameters according to the estimated results of energy consumption in each iteration until the energy optimization goal is achieved.
[0062] The time interval between each joint trajectory of the robot arm is used as the optimization variable to establish the objective function, specifically the following objective function: Where S1 is the total time for each joint of the robot to move along the feasible path, Δt i is the time interval between two adjacent points i and i-1 on the joint trajectory, i = 1, 2, 3, ..., P, t i and t i-1 is the time it takes for the robot to move along the joint trajectory to two adjacent points; S2 is the average power of the robot during movement, where T is the total movement time of the robot, and p s is the angular velocity of the robot arm during its movement along the joint trajectory, q n is the optimal motion torque obtained by inverse analysis of the input current and joint trajectory of the robot, and min[·] is the minimum value operation. At the same time, the total time S1 of each joint of the robot moving along the feasible path and the average power of the robot during movement are constrained to be minimum to meet the optimal requirements of both time and energy dimensions.
[0063] The cubic B-spline curve equation is P 0,3 (U) = P0 × F 0,3 (U)+P1×F 1,3 (U)+P2×P 2,3 (U)+P3×F 3,3 (U), where P i0 is the characteristic point of the control curve, i0=0,1,2,3,F i0,k (U) is the cubic B-spline basis function, k = 3, and the expression of the cubic B-spline basis function is Where C is an unordered combination symbol, m=0, 1, 2, ..., k-i0, U is an independent variable, and j is a constant.
[0064] At the characteristic point P of the given control curve i0 Finally, a series of motion curve points that satisfy the time-energy optimal control of the robot arm can be obtained according to the curve equation, which is used to smooth the obstacle avoidance path of the six-axis robot arm.
[0065] The scheme of the present application is specifically described below using embodiments.
[0066] The simulation was performed in MatlabR2023a software, and the computing configuration was 64-bit Windows 11 Professional operating system and Intel Core i5-13600K processor. In order to ensure the authenticity and effectiveness of the simulation experiment, 50 simulations were performed for different algorithms under different scene maps, and the average value of the recorded data was taken as the result.
[0067] Figure 3 The left figure is a diagram of the path search process of the standard RTT algorithm in two-dimensional space. Figure 3 The figure on the right is a path search process diagram of the six-axis robot obstacle avoidance path planning method based on the improved RRT in the present application in two-dimensional space. The two-dimensional simulation is performed in an environment with a spherical obstacle and a rectangular obstacle. The starting point X is set. start The coordinates are (0, 0), the end point X goal The coordinates are (100, 100), the coordinates of the centers of the rectangular and spherical obstacles are (30, 30) and (67.5, 67.5), and the radii are 15 and 17.5 respectively; the search range size is [100 100], the basic step size of the random tree is 5, and the threshold D is 5.
[0068] Figure 4 The left figure is a diagram of the path search process of the standard RTT algorithm in three-dimensional space. Figure 4 The right side figure is a path search process diagram of the six-axis robot arm obstacle avoidance path planning method based on improved RRT in the present application in two-dimensional space. The three-dimensional simulation is simulated in an environment with eight spherical obstacles and two rectangular obstacles. The starting point X start is (0, 0, 0), the end point X goal The coordinates are (100, 100, 100), the search range size is [100 100 100], the basic step size of the random tree is 5, and the threshold D is 5.
[0069] pass Figure 3 and Figure 4From the comparative performance of the algorithms represented respectively in two-dimensional and three-dimensional spaces, it can be seen that the obstacle avoidance path planning method of the six-axis robotic arm based on improved RRT in the present application significantly reduces the curvature and length of the path, improves the smoothness of the path, and there are no corners in the path. The planned path is simpler, and the smoothed path is also a collision-free path, which will not cause the robotic arm to collide with obstacles in the workspace.
[0070] Figure 5 In the figure, the solid line represents the original obstacle avoidance path planned by the six-axis robot arm obstacle avoidance path planning method based on improved RRT of the present application, and the fitted optimized path after cubic B-spline smoothing is used in the actual robot arm motion planning. It can be seen from the figure that the path planned by the algorithm in the present invention can be used for collision-free path planning of the robot arm, which proves the practicality of the present application.
[0071] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A six-axis robot obstacle avoidance path planning method based on improved RRT, characterized in that: The steps include: Step 1: Obtain the obstacle distribution of the six-axis robot workspace, establish the robot collision model and kinematic model, initialize the random tree and its starting point X start and the target point X goal ; Step 2: The random tree is sampled through a dynamic probability sampling mechanism to generate a random point X rand ; Step 3: Traverse all nodes on the current random tree and search for the node X on the random tree. rand The nearest neighbor node X near , calculate the nearest neighbor node X near Point to random point X rand The unit vector u of Step 4: Adaptive step size strategy, according to the current random point X rand The neighboring node X on the corresponding random tree near Relative to the target point X goal Dynamically adjust the step size according to the position; Step 5: Obtain the new node X grown by the random tree through the dynamically adjusted step size new ; Step 6: If along the new node X new If there is no collision in the extended path, the new node X new Add it to the random tree as an extension node. If a collision occurs, re-execute steps 2 to 6. Step 7: Continue to grow new random tree expansion nodes until a new expansion node X is grown. new With the target point X goal When the Euclidean distance is less than the threshold D, the loop stops and a path from the starting point X is returned. start To target point X goal feasible path; Step 8: Use the cubic B-spline smoothing method based on time-energy optimization to return a collision-free path as the obstacle avoidance path of the six-axis robot.
2. According to claim 1, a six-axis robot arm obstacle avoidance path planning method based on improved RRT is characterized in that: Initializing the random tree also includes setting the search range and the cumulative value T of the number of node collisions during the growth of the random tree. c , dynamic sampling probability D p and a map environment, where the map environment includes the distribution of obstacles.
3. The six-axis robot obstacle avoidance path planning method based on improved RRT according to claim 2, characterized in that: The specific content of step 2 is to use the following formula for random point sampling: Where rand is the operation of taking a random number in the interval (0, 1), RandomSample() is the random sampling operation; the dynamic sampling probability D p The calculation formula is 4. The six-axis robot obstacle avoidance path planning method based on improved RRT according to claim 3 is characterized in that: The cumulative value T of the number of node collisions during the growth of the random tree c Set the upper limit S, T c The value rules are as follows:
5. The six-axis robot obstacle avoidance path planning method based on improved RRT according to claim 3, characterized in that: The adaptive step size strategy described in step 4 is based on different random points X rand Its corresponding neighbor node X on the random tree near Relative to the target point X goal The step size is dynamically adjusted according to the different positions. The adjustment formula of the adaptive step size Step_length is as follows: Where Step_Size is the basic step size of the random tree; D NG is the neighboring node X near With the target point X goal The Euclidean distance, D RG A random point X rand With the target point X goal The Euclidean distance is: Where X near.x , X near.y and X near.z is the neighboring node X near The three-dimensional coordinates of rand.x , X rand.y and X rand.z is a random point X rand The three-dimensional coordinates of goal.x , X goal.y and X goal.z The target point X goal The three-dimensional coordinates of .
6. The six-axis robot obstacle avoidance path planning method based on improved RRT according to claim 5, characterized in that: The specific content of step 5 is to let the new node X grown new The formula is:
7. The six-axis robot obstacle avoidance path planning method based on improved RRT according to claim 6, characterized in that: The condition for the random tree in step 7 to stop looping in space is: the new node X new With the target point X goal The Euclidean distance d is less than the threshold D and passes the collision detection. The calculation formula of the Euclidean distance d is: Where X new.x , X new.y and X new.z For the new node X new The three-dimensional coordinates of .
8. The six-axis robot obstacle avoidance path planning method based on improved RRT according to claim 7, characterized in that: The default value of the threshold D is the adaptive step length Step_length.
9. The six-axis robot obstacle avoidance path planning method based on improved RRT according to claim 1, characterized in that: The cubic B-spline smooth return collision-free path based on time-energy optimization described in step 8 is to establish a dynamic model according to the structure of the robot arm, determine the movement range of the robot arm according to the actual scenario, and then integrate the energy optimization goal into the cubic B-spline curve. The time interval between the passing points of each joint trajectory of the robot arm is used as the optimization variable to establish the objective function; the motion state of the robot arm is changed by adjusting the time interval, and the smoothing parameters are adjusted in each iteration according to the estimated result of energy consumption until the energy optimization goal is achieved.
10. The six-axis robot obstacle avoidance path planning method based on improved RRT according to claim 9, characterized in that: The time interval between each joint trajectory of the robot arm is used as the optimization variable to establish the objective function. Specifically, the following objective function is established: Where S1 is the total time for each joint of the robot to move along the feasible path, Δt i is the time interval between two adjacent points i and i-1 on the joint trajectory, i = 1, 2, 3, ..., P, t i and t i-1 It is the time corresponding to the movement of the robot arm along the joint trajectory to two adjacent points; S2 is the average power of the robot arm during movement, where T is the total movement time of the robot arm, and p s is the angular velocity of the robot arm during its movement along the joint trajectory, q n is the optimal motion torque obtained by inverse analysis of the input current and joint trajectory of the robot, and min[·] is the minimum value operation. At the same time, the total time S1 of each joint of the robot moving along the feasible path and the average power of the robot during movement are constrained to be minimum to meet the optimal requirements of both time and energy dimensions.
Citation Information
Patent Citations
Mechanical arm path planning method based on improved RRT algorithm
CN115056222A
Panel mounting robot energy consumption optimal trajectory planning method
CN116214520A
Mobile robot path planning method based on RRT improvement
CN116627132A
Robot picking system applied to flower plantation
CN117961918A
Cited By
Mechanical arm obstacle avoidance path planning method based on improved bidirectional RRT* algorithm
CN119159589A
Intelligent control six-connecting-rod type fracture reduction robot
CN119367049A
