Obstacle avoidance path planning method for manipulator joint space based on minimum cost descent

Through the path planning method based on minimum cost reduction, auxiliary path points are generated and polynomial interpolation is performed, which solves the problem of too many inverse kinematics solutions and slow convergence speed in the robot joint space obstacle avoidance path planning, achieving efficient and accurate Robotic arm motion planning.

CN115648220BActive Publication Date: 2024-10-18HUAQIAO UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211429625.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-15
Publication Date
2024-10-18
Estimated Expiration
2042-11-15

AI Technical Summary

Technical Problem

The existing robot arm joint space obstacle avoidance path planning method has problems such as too many inverse kinematics solutions, slow convergence speed, local minimum value traps and parameter setting difficulties, which affect the performance of the algorithm.

Method used

The robotic arm joint space obstacle avoidance path planning method based on minimum cost reduction is used to simplify calculations, reduce inverse kinematics calculations, improve convergence speed and reduce parameter setting complexity by generating auxiliary path points, linear interpolation and polynomial interpolation.

Benefits of technology

Efficient robot arm joint space planning is achieved, reducing calculation time, improving calculation accuracy, simplifying parameter settings, and ensuring that the robot arm can move to the target point smoothly and without collision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115648220B_ABST
    Figure CN115648220B_ABST
Patent Text Reader

Abstract

The invention is a robot joint space obstacle avoidance path planning method based on minimum cost descent. First, a set of auxiliary path points between the initial point and the target point are generated in the robot end space. Then, each segmented path is linearly interpolated according to the end point interpolation density to obtain a multi-segment path after interpolation. Then, joint space obstacle avoidance path planning is performed on the interpolated multi-segment path based on minimum cost descent to obtain all joint angle combinations from the initial point to the target point. Finally, a polynomial is used to interpolate between two adjacent joint angle combinations in all generated joint angle combinations to obtain a joint angle combination after polynomial interpolation, so that the robot can move from the initial point to the target point smoothly and without collision based on the joint angle combination. The invention only uses forward kinematics and is simple to calculate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of robot arm joint space obstacle avoidance path planning, and in particular relates to a robot arm joint space obstacle avoidance path planning method based on minimum cost descent. Background Art

[0002] Obstacle avoidance path planning in the joint space of a robot is a hot research topic. One of the main challenges is to study how to enable the robot to move from the initial point to the target point as quickly as possible under the conditions of satisfying joint restrictions in a space with obstacles. Some existing joint space obstacle avoidance path planning methods, such as rapid search random tree (RRT), beetle antenna search algorithm (BAS) and artificial potential field method (APF), can basically solve this problem. However, these methods have some serious shortcomings. For example, the RRT algorithm needs to sample new nodes each time and needs to use robot inverse kinematics. If the joint angle corresponding to the sampling point causes the robot to collide with the obstacle, resampling is required, which may lead to too many inverse kinematics solutions and seriously affect the performance of the algorithm. The BAS algorithm first detects from both ends of the initial joint angle each time, and then selects the better end for sampling. Although this can bring certain directionality to the sampling process, the algorithm converges very slowly, and the speed of joint space planning has not been substantially improved. When the APF algorithm performs joint space planning, it is likely to fall into a local minimum, that is, the algorithm may be difficult to converge. In addition, for the BAS algorithm and APF algorithm, they contain many parameters that need to be actively set. Different algorithm parameters need to be set according to different experimental environments. The selection and matching of parameters is also a major problem for these two algorithms. Summary of the invention

[0003] In view of the shortcomings of the prior art, the present invention provides a robot arm joint space obstacle avoidance path planning method based on minimum cost descent. The algorithm has a short running time, high calculation accuracy, and few parameters that need to be actively set, and has high practical application value.

[0004] The present invention is based on a minimum cost reduction robot arm joint space obstacle avoidance path planning method, which is applicable to a robot arm joint space obstacle avoidance path planning scenario and includes the following steps:

[0005] Step 1: Set the initial joint angle combination, initial point coordinates, target point coordinates, obstacle coordinates, and end point interpolation density. The joint angle combination is the set of joint angle values ​​corresponding to the first joint to the last joint of the robot arm, and the end point interpolation density indicates the number of interpolation points generated between the two end points of the end path.

[0006] Step 2: Generate a set of auxiliary path points from the initial point to the target point in the end space of the robot arm to obtain a collision-free multi-segment path;

[0007] Step 3: Perform linear interpolation processing on each segmented path according to the interpolation density of the end points to obtain a multi-segmented path after interpolation, and call the auxiliary path points and the linear interpolation points as intermediate points;

[0008] Step 4: Based on the minimum cost descent, joint space obstacle avoidance path planning is performed on the interpolated multi-segment path, and the corresponding joint angle combinations at the initial point, intermediate point and target point are obtained respectively, wherein the joint angle combination corresponding to the end point of each segment path is used as the initial joint angle combination of the next segment path, and the robot end coordinates corresponding to the joint angle combination are used as the initial point coordinates of the next segment path. The initial joint angle combination degree, initial point coordinates start, target point coordinates goal and obstacle coordinates of any segment path are known, and the calculation steps based on the minimum cost descent are performed for each segment path to obtain the joint angle combinations corresponding to the end points of all segment paths, and all joint angle combinations from the initial point to the target point are obtained after the calculation.

[0009] Step 5: Use a polynomial to interpolate between two adjacent joint angle combinations among all the generated joint angle combinations to obtain a joint angle combination after polynomial interpolation, so that the robot arm can move smoothly and collision-free from the initial point to the target point based on the joint angle combination.

[0010] The calculation steps of the joint angle combination corresponding to each segment path end point based on minimum cost descent are as follows:

[0011] (4-1) Set the joint generation step size constant growthize and convergence accuracy R;

[0012] (4-2) Calculate the cost value cost corresponding to the initial joint angle combination, and use the cost value as the current minimum cost value; the cost value calculation method is shown in formula (1), that is, calculate the Euclidean distance from the robot end point coordinate pos corresponding to the joint angle combination to the target point coordinate goal, where the robot end point coordinate pos corresponding to the joint angle combination is obtained by forward kinematics calculation:

[0013] cost=||pos-goal|| 2 (1)

[0014] (4-3) Generate a new joint angle combination theta_new based on the joint angle combination theta corresponding to the current minimum cost value. The generation rules are shown in equations (2) to (4), where equation (2) is used to calculate the random generation step length temp of each joint of the robot arm. Equation (3) indicates that if the current minimum cost value is less than the set convergence accuracy r value, the joint random generation step length temp needs to be appropriately reduced. Equation (4) indicates the joint limit detection and joint out-of-bounds processing of each joint value theta_new(i) of the new joint angle combination theta_new:

[0015] temp=(2*rand(1)-1)*growsize (2)

[0016]

[0017]

[0018] Where i∈[1, N], N is the number of joints of the corresponding robot arm, temp represents the randomly generated step size of each joint of the robot arm, theta_cost represents the minimum cost value corresponding to the joint angle combination theta, r represents the factor affecting the generated step size, min(Link(i).qlim) and max(Link(i).qlim) represent the minimum and maximum joint limits of each joint of the robot arm respectively;

[0019] After the above steps, a new joint angle combination theta_new is generated. If the cost value corresponding to the new joint angle combination theta_new is less than the current minimum cost value cost, continue to execute the following steps. Otherwise, abandon the currently generated new joint angle combination and re-execute step (4-3);

[0020] (4-4) Perform collision detection on the robot arm posture corresponding to the new joint angle combination theta_new. In addition to detecting whether the straight line between the robot arm end point corresponding to the new joint angle combination theta_new and the coordinates corresponding to the joint angle combination theta corresponding to the minimum cost value collides with an obstacle, it is also necessary to detect whether the robot arm links corresponding to theta_new collide with obstacles in space; if and only if the robot arm posture corresponding to the new joint angle combination does not collide with an obstacle, continue to execute the subsequent steps, otherwise, abandon the currently generated new joint angle combination and restart step (4-3);

[0021] (4-5) If the cost value of the new joint angle combination theta_new is less than the convergence accuracy R, the new joint combination theta_new is the joint angle combination corresponding to the end point of the corresponding segmented path. Otherwise, the new joint combination theta_new is used as the joint angle combination theta corresponding to the new minimum cost value, and step (4-3) is restarted.

[0022] The collision detection of the link under a certain joint angle combination refers to first calculating the coordinates of the end points of each link of the robotic arm based on the coordinates of the end points of the robotic arm and the robotic arm link parameters corresponding to the joint angle combination, and detecting whether each link collides with an obstacle; if the minimum distance between a certain link of the robotic arm and the obstacle is less than a preset critical value, it means that the robotic arm itself will collide with the obstacle.

[0023] A computer device comprises a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, any one of the above-mentioned robot arm joint space obstacle avoidance path planning methods based on minimum cost descent is implemented.

[0024] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements any of the above-mentioned robot arm joint space obstacle avoidance path planning methods based on minimum cost descent.

[0025] After adopting the above technical solution, the following technical effects are achieved:

[0026] 1. The present invention does not involve simplification of the path at the end of the robot. The present invention is a joint space path planning method, which proposes an auxiliary path point mechanism, that is, generating a set of auxiliary path points between the initial point and the target point in the space of the end of the robot. These auxiliary paths can effectively avoid the situation where the algorithm is difficult to converge, and can greatly reduce the time of joint space planning. This type of planning method of the present invention only uses forward kinematics, and the calculation is simple. Different from the existing Cartesian space path planning method, the existing method samples the path points in the end space each time, which requires a large amount of inverse kinematics to calculate the joint angle combination corresponding to the posture of the end of the robot.

[0027] 2. The present invention is different from the existing method of smoothing the path between terminal path points through multiple iterations. The path after smoothing by the existing smoothing method still needs to be processed by inverse kinematics multiple times to obtain the motion trajectory, and the inverse kinematics calculation is expensive; and it is different from the existing method of smoothing the path between terminal path points by fitting the terminal path with a B-spline curve. The path after smoothing by the existing smoothing method may still need to be processed by inverse kinematics to obtain the motion trajectory, and the inverse kinematics calculation is expensive; the present invention uses a polynomial to interpolate multiple joint angle combinations, and the interpolated results can be used directly, so that the robot arm can move smoothly and safely to the target point.

[0028] 3. The present invention is a robot arm motion planning method that considers both the end-of-arm obstacle avoidance and joint obstacle avoidance. The present invention abstracts the connecting rods of the robot arm body into cylinders, and derives the pose matrix of each joint of the robot arm through the end-point pose of the robot arm, thereby obtaining the coordinates of each joint of the robot arm to determine whether the robot arm itself and the end path collide with an obstacle. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a flow chart of the present invention;

[0030] Figure 2 Schematic diagram of the initial posture and space model of the robot arm in the present invention;

[0031] Figure 3 A schematic diagram for generating auxiliary path points in the present invention;

[0032] Figure 4 It is a schematic diagram of a multi-segment path after linear path interpolation in the present invention;

[0033] Figure 5 It is a schematic diagram of collision detection of connecting rods of the robot arm in the present invention;

[0034] Figure 6 A simplified posture diagram of the robot arm from the initial point to the first auxiliary path point of the present invention;

[0035] Figure 7 A schematic diagram of all joint angle combinations corresponding to the multi-segment path of the present invention;

[0036] Figure 8 It is a schematic diagram of all joint angle combinations after polynomial interpolation of the present invention;

[0037] Fig. 9 The final posture and motion trajectory diagram of the robot arm in the present invention;

[0038] Fig.10 This is the parameter table of the puma560 robot arm DH (standard) in the embodiment of the present invention;

[0039] Fig.11 It is a table of substitute values ​​corresponding to the joint angle combinations at all endpoints of the multi-segment path in the present invention.

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

[0041] The present invention takes the puma560 robot arm (6 rotating joints) of the MATLAB robot toolbox as an example, and its DH parameters are as follows: Fig.10 shown.

[0042] like Figure 1 As shown, the first embodiment of the present invention relates to a robot arm joint space obstacle avoidance path planning method based on minimum cost descent, which is applicable to a robot arm joint space obstacle avoidance path planning scenario, and includes the following steps:

[0043] Step 1: Set the initial joint angle combination, initial point coordinates, target point coordinates, obstacle coordinates, and end point interpolation density. The joint angle combination is the set of joint angle values ​​corresponding to the first joint to the last joint of the robot arm, and the end point interpolation density indicates the number of interpolation points generated between the two end points of the end path.

[0044] In this embodiment, the end point interpolation density is set to 3, and obstacles are represented by cubes, such as Figure 2 As shown, it is a schematic diagram of the robot arm and the space model, in which the cube is an obstacle, the coordinates of the initial point of the robot arm are above the obstacle, and the coordinates of the target point are below the obstacle;

[0045] Step 2: Generate a set of auxiliary path points from the initial point to the target point in the end space of the robot arm to obtain a collision-free multi-segment path;

[0046] like Figure 3 As shown in the figure, it is a schematic diagram of auxiliary path point generation, where the black line is the generated multi-segment path, and the black 'x' is the generated auxiliary path point. There are 3 segment paths and 4 auxiliary path points in total in the figure.

[0047] Step 3: Perform linear interpolation processing on each segmented path according to the interpolation density of the end points to obtain a multi-segmented path after interpolation, and call the auxiliary path points and the linear interpolation points as intermediate points;

[0048] like Figure 4 As shown in the figure, it is a schematic diagram of multi-segment paths after linear interpolation. The '*' is the linear interpolation point generated after interpolation. There are 12 segment paths and 13 intermediate points in total in the figure.

[0049] Step 4: Based on the minimum cost descent, joint space obstacle avoidance path planning is performed on the interpolated multi-segment path, and the corresponding joint angle combinations at the initial point, intermediate point and target point are obtained respectively, wherein the joint angle combination corresponding to the end point of each segment path is used as the initial joint angle combination of the next segment path, and the robot end coordinates corresponding to the joint angle combination are used as the initial point coordinates of the next segment path. Given the initial joint angle combination degree, initial point coordinates start, target point coordinates goal and obstacle coordinates of any segment path, the following calculation steps are performed for each segment path to obtain the joint angle combinations corresponding to the end points of all segment paths, that is, to obtain all joint angle combinations from the initial point to the target point, wherein the calculation steps of the joint angle combination corresponding to the end point of each segment path are as follows:

[0050] (4-1) Set the joint generation step size constant growthize and convergence accuracy R;

[0051] (4-2) Calculate the cost value cost corresponding to the initial joint angle combination, and use the cost value as the current minimum cost value; the cost value calculation method is shown in formula (1), that is, calculate the Euclidean distance from the robot end point coordinate pos corresponding to the joint angle combination to the target point coordinate goal, where the robot end point coordinate pos corresponding to the joint angle combination is obtained by forward kinematics calculation:

[0052] cost=||pos-goal|| 2 (1)

[0053] (4-3) Generate a new joint angle combination theta_new based on the joint angle combination theta corresponding to the current minimum cost value. The generation rules are shown in equations (2) to (4), where equation (2) is used to calculate the random generation step length temp of each joint of the robot arm. Equation (3) indicates that if the current minimum cost value is less than the set convergence accuracy r value, the joint random generation step length temp needs to be appropriately reduced. Equation (4) indicates the joint limit detection and joint out-of-bounds processing of each joint value theta_new(i) of the new joint angle combination theta_new:

[0054] temp=(2*rand(1)-1)*growsize (2)

[0055]

[0056]

[0057] Where i∈[1, N], N is the number of joints of the corresponding robot arm, temp represents the randomly generated step size of each joint of the robot arm, theta_cost represents the minimum cost value corresponding to the joint angle combination theta, r represents the factor affecting the generated step size, min(Link(i).qlim) and max(Link(i).qlim) represent the minimum and maximum joint limits of each joint of the robot arm respectively;

[0058] After the above steps, a new joint angle combination theta_new is generated. If the cost value corresponding to the new joint angle combination theta_new is less than the current minimum cost value cost, continue to execute the following steps. Otherwise, abandon the currently generated new joint angle combination and re-execute step (4-3);

[0059] (4-4) Perform collision detection on the robot arm posture corresponding to the new joint angle combination theta_new. In addition to detecting whether the straight line between the robot arm end point corresponding to the new joint angle combination theta_new and the coordinates corresponding to the joint angle combination theta corresponding to the minimum cost value collides with an obstacle, it is also necessary to detect whether the robot arm links corresponding to theta_new collide with obstacles in space;

[0060] The collision detection of the link under a certain joint angle combination means first calculating the coordinates of the end points of each link of the robot arm (that is, the rotation axis of each joint) based on the coordinates of the robot end point and the robot link parameters corresponding to the joint angle combination, so as to detect whether each link collides with an obstacle.

[0061] In this embodiment, Figure 5 As shown in the figure, it is a schematic diagram of collision detection of the robot arm link, where the cylinder represents a link of the robot arm, and the cube represents an obstacle. If the minimum distance between a link of the robot arm and the obstacle is less than the preset critical value, it means that the robot arm itself will collide with the obstacle; if and only if the robot arm posture corresponding to the new joint angle combination does not collide with the obstacle, continue to execute the subsequent steps, otherwise, abandon the currently generated new joint angle combination and restart step (4-3);

[0062] (4-5) If the cost value of the new joint angle combination theta_new is less than the convergence accuracy R, the new joint combination theta_new is the joint angle combination corresponding to the end point of the corresponding segmented path. Otherwise, the new joint combination theta_new is used as the joint angle combination theta corresponding to the new minimum cost value, and step (4-3) is restarted.

[0063] In this embodiment, the simplified posture diagram of the robot arm from the initial point to the first auxiliary path point is as follows: Figure 6 As shown in the figure, there are 5 sets of joint angle combinations, that is, 5 sets of robot arm postures. The blue line in the figure is the robot arm posture corresponding to the initial point, the green line is the robot arm posture corresponding to the first auxiliary path point, and the 3 red lines are the robot arm postures corresponding to the 3 linear interpolation points. All joint angle combinations corresponding to the multi-segment path from the initial point to the target point are shown in Figure 7 As shown, there are 13 sets of joint angles in total.

[0064] The cost value corresponding to the combination of joint angles at all endpoints of the multi-segment path is as follows Fig.11 As shown (excluding the initial point), the convergence accuracy R in this embodiment is 0.01m.

[0065] Step 5: interpolate between two adjacent joint angle combinations among all joint angle combinations generated by the polynomial to obtain a joint angle combination after polynomial interpolation, so that the robot arm can move smoothly and collision-free from the initial point to the target point based on the joint angle combination.

[0066] from Figure 7 As can be seen from the figure, the joint angles corresponding to the endpoints of the multi-segment path have a sudden change in acceleration, so smoothing is required. The schematic diagram of the joint angle configuration after polynomial interpolation is shown in Figure 8 shown.

[0067] Finally, the final posture and motion trajectory of the robotic arm are shown in the figure below: Fig. 9 As shown, the black line is the motion trajectory of the robot arm.

[0068] In the second embodiment, a computer device is provided, which includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities, and the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the computer program is executed by the processor, a robot arm joint space obstacle avoidance path planning method based on minimum cost descent is implemented. Ordinary technicians in this field can understand that the implementation of all or part of the process in the above-mentioned embodiment one can be completed by instructing related hardware through a computer program. Embodiments one and two have the same functions and beneficial effects.

[0069] In the third embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, a robot arm joint space obstacle avoidance path planning method based on minimum cost descent as described in the first embodiment is implemented. The first and third embodiments have the same functions and beneficial effects.

[0070] Those skilled in the art will appreciate that all or part of the processes in the above embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the process of the embodiment of the above method. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM) or a flash memory. The volatile memory may include a random access memory (RAM) or an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0071] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0072] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A robot joint space obstacle avoidance path planning method based on minimum cost descent is applicable to robot joint space obstacle avoidance path planning scenarios. Features The steps include: Step 1: Set the initial joint angle combination, initial point coordinates, target point coordinates, obstacle coordinates, and end point interpolation density. The joint angle combination is the set of joint angle values ​​corresponding to the first joint to the last joint of the robot arm, and the end point interpolation density indicates the number of interpolation points generated between the two end points of the end path. Step 2: Generate a set of auxiliary path points from the initial point to the target point in the end space of the robot arm to obtain a collision-free multi-segment path; Step 3: Perform linear interpolation processing on each segmented path according to the interpolation density of the end points to obtain a multi-segmented path after interpolation, and call the auxiliary path points and the linear interpolation points as intermediate points; Step 4: Perform joint space obstacle avoidance path planning for the interpolated multi-segment path based on minimum cost descent, and obtain the corresponding joint angle combinations at the initial point, intermediate point and target point, respectively. The joint angle combination corresponding to the end point of each segment path is used as the initial joint angle combination of the next segment path, and the robot end coordinates corresponding to the joint angle combination are used as the initial point coordinates of the next segment path. The initial joint angle combination degree, initial point coordinates start, target point coordinates goal and obstacle coordinates of any segment path are known. The calculation steps based on minimum cost descent are performed for each segment path to obtain the joint angle combinations corresponding to the end points of all segment paths, and all joint angle combinations from the initial point to the target point are obtained after the calculation. Step 5: Use a polynomial to interpolate between two adjacent joint angle combinations among all the generated joint angle combinations to obtain a joint angle combination after polynomial interpolation, so that the robot arm can move smoothly and without collision from the initial point to the target point based on the joint angle combination; The steps for calculating the joint angle combination corresponding to the end point of each segment path based on minimum cost descent are as follows: (4-1) Set the joint generation step size constant growthize and convergence accuracy R; (4-2) Calculate the cost value cost corresponding to the initial joint angle combination, and use the cost value as the current minimum cost value; the cost value calculation method is shown in formula (1), that is, calculate the Euclidean distance from the robot end point coordinate pos corresponding to the joint angle combination to the target point coordinate goal, where the robot end point coordinate pos corresponding to the joint angle combination is obtained by forward kinematics calculation: cost=‖pos-goal‖ 2 (1) (4-3) Generate a new joint angle combination theta_new based on the joint angle combination theta corresponding to the current minimum cost value. The generation rules are shown in equations (2) to (4), where equation (2) is used to calculate the random generation step length temp of each joint of the robot arm. Equation (3) indicates that if the current minimum cost value is less than the set convergence accuracy r value, the joint random generation step length temp needs to be appropriately reduced. Equation (4) indicates the joint limit detection and joint out-of-bounds processing of each joint value theta_new(i) of the new joint angle combination theta_new: temp=(2*rand(1)-1)*growsize (2) Where i∈[1,N], N is the number of joints of the corresponding robot arm, temp represents the randomly generated step size of each joint of the robot arm, theta_cost represents the minimum cost value corresponding to the joint angle combination theta, r represents the factor affecting the generated step size, min(Link(i).qlim) and max(Link(i).qlim) represent the minimum and maximum joint limits of each joint of the robot arm respectively; After the above steps, a new joint angle combination theta_new is generated. If the cost value corresponding to the new joint angle combination theta_new is less than the current minimum cost value cost, continue to execute the following steps. Otherwise, abandon the currently generated new joint angle combination and re-execute step (4-3); (4-4) Perform collision detection on the robot arm posture corresponding to the new joint angle combination theta_new. In addition to detecting whether the straight line between the robot arm end point corresponding to the new joint angle combination theta_new and the coordinates corresponding to the joint angle combination theta corresponding to the minimum cost value collides with an obstacle, it is also necessary to detect whether the robot arm links corresponding to theta_new collide with obstacles in space; if and only if the robot arm posture corresponding to the new joint angle combination does not collide with an obstacle, continue to execute the subsequent steps, otherwise, abandon the currently generated new joint angle combination and restart step (4-3); (4-5) If the cost value of the new joint angle combination theta_new is less than the convergence accuracy R, the new joint combination theta_new is the joint angle combination corresponding to the end point of the corresponding segmented path. Otherwise, the new joint combination theta_new is used as the joint angle combination theta corresponding to the new minimum cost value, and step (4-3) is restarted.

2. The method for space obstacle avoidance path planning of a manipulator joint based on minimum cost descent according to claim 1, It is characterized in that The collision detection of the link under a certain joint angle combination means first calculating the coordinates of the end points of each link of the robot arm based on the coordinates of the robot arm end points and the robot arm link parameters corresponding to the joint angle combination, and detecting whether each link collides with an obstacle; if the minimum distance between a certain link of the robot arm and the obstacle is less than the preset critical value, it means that the robot arm itself will collide with the obstacle.

3. A computer device comprising a processor and a memory, wherein a computer program is stored in the memory. Features: When the computer program is executed by a processor, it implements the robot arm joint space obstacle avoidance path planning method based on minimum cost descent as described in any one of claims 1-2.

4. A computer-readable storage medium having a computer program stored thereon, Features: When the computer program is executed by a processor, the robot arm joint space obstacle avoidance path planning method based on minimum cost descent as described in any one of claims 1-2 is implemented.

Citation Information

Patent Citations

  • Obstacle avoidance path planning method of obstacle avoidance task unrelated artificial potential field guide

    CN107234617A

  • Method of mechanical arm three-dimensional obstacle avoidance path planning with artificial potential field based on optimization A *

    CN108274465A