Fully automatic motion planning method for industrial robot machining system with additional external axes

By adopting the fully automatic motion planning method and the improved PRM* algorithm in the industrial robot system, the problems of unreasonable and long planning time of traditional station planning are solved, and more efficient motion path planning and shorter processing time are achieved.

CN115592663BActive Publication Date: 2024-10-29CHINA UNIV OF PETROLEUM (EAST CHINA)

Patent Information

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

AI Technical Summary

Technical Problem

When industrial robots perform large-scale workpiece processing tasks, traditional station planning is unreasonable, resulting in insufficient coverage of a single stop, long motion planning time, and poor path quality.

Method used

The fully automatic motion planning method of the industrial robot processing system with additional external axes is used to optimize the motion planning path through intelligent and fixed station mode selection, combined with the improved PRM* algorithm that combines delayed collision and path shearing.

Benefits of technology

It significantly increases the processing range of a single stop, improves the quality and efficiency of motion planning paths, shortens planning time, and improves robot processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115592663B_ABST
    Figure CN115592663B_ABST
Patent Text Reader

Abstract

The present invention discloses a fully automatic motion planning method for an industrial robot processing system with an additional external axis, comprising the following steps: step 1, obtaining a processing path point set; step 2, selecting a station mode; including two optional modes of automatically setting the station and manually setting the station, and the automatic station setting mode is further divided into intelligent planning stations and fixed allocation stations; step 3, each path executes a collision-free motion planning algorithm; delayed collision and path cutting are integrated into the PRM* algorithm to achieve the purpose of reducing time and shortening the path; step 4, integrating the robot motion paths of all stations, allowing the robot to perform processing tasks. The present invention can maximize the processing range of a single stop, effectively improve the quality of the motion planning path, improve the efficiency of motion planning, and thus improve the robot processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of industrial robot motion planning, and in particular relates to a fully automatic motion planning method for an industrial robot processing system with an additional external axis. Background Art

[0002] Industrial robots are widely used in the field of processing due to their ease of use, high flexibility and high efficiency. However, when performing large workpiece processing tasks, the robot with a fixed base has a limited working range and is difficult to complete all processing tasks. Therefore, robots with additional external axes are generally used to complete large parts processing tasks. Traditional station planning is to divide the external axis into areas according to the robot's working radius and select several fixed workstations of the robot to complete local processing tasks. However, this station allocation method cannot maximize the number of paths to be processed covered by a single stop, nor is it the optimal station allocation. In addition, the robot uses traditional motion planning methods, which takes a long time to plan and has poor quality of planned paths. To this end, a fully automatic motion planning method for an industrial robot processing system with additional external axes is proposed. Summary of the invention

[0003] The purpose of the present invention is to address the problems of unreasonable station planning, long motion planning time and poor motion path quality in large workpiece processing tasks, and to propose a fully automatic motion planning method for an industrial robot processing system with an additional external axis, which can maximize the processing range of a single stop, effectively improve the quality of the motion planning path, improve the motion planning efficiency, and thus improve the robot processing efficiency.

[0004] To achieve the above object, the technical solution provided by the present invention is: a fully automatic motion planning method for an industrial robot processing system with an additional external axis, comprising the following steps:

[0005] Step 1, obtaining a processing path point set;

[0006] Input the path sequence set to be processed C = {C1, C2, ..., C j}, j = 1, 2, ..., n, n is the number of processing paths, and the processing path sequence has been determined, each processing path C j It consists of m path points P k Composition, of which P k (x,y,z,Rx,Ry,Rz),k=1,2,…,m;

[0007] Step 2, select the station mode;

[0008] There are two optional modes for setting the station position: automatic station setting and manual station setting. The automatic station setting mode is divided into intelligent planning station position and fixed allocation station position.

[0009] If you select the intelligent station allocation mode, go to step 2.1;

[0010] Step 2.1, intelligent planning of the station is to determine the robot workstation according to the path to be processed;

[0011] Step 2.1.1, assign processing paths to different stations;

[0012] Step 2.1.2, find the optimal solution of the processing path points in each station;

[0013] Step 2.1.3, go to step 3;

[0014] If you select the intelligent station allocation mode, go to step 2.2;

[0015] Step 2.2, the fixed allocation station is divided into the external axis working area according to the robot working radius;

[0016] Step 2.2.1, obtain a number of stations in sequence;

[0017] Step 2.2.2, assign the machining path, determine whether there is an inverse solution at different stations, if yes, then successfully add it to this station, if not, proceed to the next station until the last station, if still no solution, then the workpiece exceeds the maximum range of the external axis;

[0018] Step 2.2.3, go to step 3;

[0019] If you select manual station setting mode, go to step 2.2.1;

[0020] Step 3, each path executes the collision-free motion planning algorithm;

[0021] Integrate delayed collision and path clipping into the PRM* algorithm to reduce time and shorten the path;

[0022] Step 4: Integrate the robot motion paths of all stations and let the robots perform processing tasks.

[0023] The preferred technical solution provided by the present invention is:

[0024] In step 3, the specific PRM* algorithm is as follows:

[0025] Step 3.1, first create a roadmap, add the starting point and the end point to the roadmap, use random sampling to generate a sampling point v in the robot configuration space and add it to the vertex set V of the roadmap (G(v, E)), and select k nearest neighbor vertices n1, n2, ..., n according to the nearest neighbor algorithm. k , k is determined by a function with n vertices as the cardinality in the roadmap, specifically k(n)=k PRMlog(n), Add k edges e(c,n) to the edge set E of the roadmap (G(v,E)), and especially do not check for collisions between vertices and edges to obtain the initial roadmap. According to the A* search algorithm, find the optimal path. When finding the path, first check whether all nodes of the path collide. If there is a collision, delete all nodes, remove the connected edges and search the path again. If all nodes do not collide, check the edges. If the edges collide, delete the edges and search the path again. Finally, get the robot's target motion path.

[0026] Step 3.2: A further optimization method may be adopted for the robot target motion path obtained in step 3.1, using a cutting optimization method to further make the robot motion path short and smooth;

[0027] Starting from the first node of the path, each node is processed as follows:

[0028] (4) Three nodes in sequence form a triangle ΔP i P j P k ;

[0029] (5) Take P i P k The interpolation point P t Point, that is, P t Satisfy the formula

[0030] (6) Order It can be seen that t The smaller the ∠P i P j P k The larger the value, the smoother the path. Select a suitable threshold δ. t >δ delete P j , which can shorten the path.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] Under the same number of iterations, the improved Prm* algorithm has a shorter path; under different numbers of iterations, the improved Prm* algorithm can not only shorten the planning time but also obtain a shorter path by reducing the number of iterations by half. Therefore, the present invention can maximize the processing range of a single stop, effectively improve the quality of motion planning paths, improve motion planning efficiency, and thus improve robot processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flow chart of the overall steps of the present invention;

[0034] Figure 2is the robot's external axis diagram;

[0035] Figure 3 Establish a coordinate system diagram for reverse engineering;

[0036] Figure 4 Schematic diagram for selecting key points for rectangular hole flange machining;

[0037] Figure 5 Flowchart of the improved motion planning algorithm. DETAILED DESCRIPTION

[0038] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings.

[0039] Figure 1 It is the overall step flow chart of the present invention, such as Figure 1 As shown, a fully automatic motion planning method for an additional external axis industrial robot processing system of the present invention comprises the following steps:

[0040] Step 1, obtaining a processing path point set;

[0041] Input the path sequence set to be processed C = {C1, C2, ..., C j}, j = 1, 2, ..., n, n is the number of processing paths, and the processing path sequence has been determined, each processing path C j It consists of m path points P k Composition, of which P k (x,y,z,Rx,Ry,Rz),k=1,2,…,m;

[0042] If you select manual station setting mode, go to step 2.2.1;

[0043] Step 2, select the station mode;

[0044] There are two optional modes for setting the position: automatic and manual. The automatic mode is divided into intelligent planning and fixed allocation of positions. The fixed allocation of positions reasonably divides the external axis working area according to the robot's working radius, while the intelligent planning determines the robot's working position according to the path to be processed.

[0045] If you select the intelligent station allocation mode, go to step 2.1;

[0046] Step 2.1, intelligent planning of the station is to determine the robot workstation according to the path to be processed;

[0047] Step 2.1.1, assign processing paths to different stations;

[0048] Step 2.1.2, find the optimal solution of the processing path points in each station;

[0049] The position of the robot actuator is determined by the first three joints of the robot, and the posture of the robot actuator is determined by the last three joints. The robot coordinate system {F1, F2, F3, F4, F5, F6, F7} can be established in reverse based on the robot's wrist position, such as Figure 3 As shown, the DH parameters are shown in Table 1.

[0050] Table 1 DH table

[0051] θ(°) d(mm) α(°) a(mm) J1 0 0 90 0 J2 0 0 -90 0 J3 0 451 90 42 J4 0 0 0 448 J5 90 0 90 0 J6 0 399 0 0

[0052] According to the DH algorithm, the expression of the base relative to the wrist center is:

[0053]

[0054] According to the data in Table 1, substitute T to get the base position, as shown in (Equation 2):

[0055]

[0056] Since only the position constraint of the robot is considered, only joint axis 2 and joint axis 4 are considered, and the cross-sectional view of the feasible position of the robot base is obtained. Therefore, first set θ1 = 0, θ3 = 0, and obtain (Equation 3)

[0057]

[0058] According to the joint limit value method, the cross-sectional diagram of the feasible position space of the robot base can be obtained, and then a three-dimensional diagram of the feasible position space of the robot base can be obtained by rotating it around the wrist axis.

[0059] First, obtain several key points on the periphery from the processing path, such as Figure 4 As shown, when processing the rectangular flange of the part, the outer rectangular corner points can be selected to obtain the feasible position space of the base of the key point, and the midpoint of the center line of the intersection of the feasible position space of all key points is taken as the optimal position of the robot. This position can select the optimal position according to the position of the processing path, and at the same time, it can expand the processing range of a single stop to a certain extent.

[0060] Find the optimal solution of the processing path point in each station and obtain the robot joint value J (θ1, θ2, θ3, θ4, θ5, θ6) corresponding to each processing path point;

[0061] Step 2.1.3, go to step 3;

[0062] If you select the intelligent station allocation mode, go to step 2.2;

[0063] Step 2.2, fixed allocation of stations, reasonable division of the external axis working area according to the robot working radius, the external axis such as Figure 2 shown.

[0064] Step 2.2.1, obtain a number of stations in sequence;

[0065] Step 2.2.2, assign the machining path, determine whether there is an inverse solution at different stations, if yes, then successfully add it to this station, if not, proceed to the next station until the last station, if still no solution, then the workpiece exceeds the maximum range of the external axis;

[0066] Step 2.2.3, go to step 3;

[0067] Step 3, executing the collision-free motion planning algorithm;

[0068] The proposed motion planning algorithm is an improvement on the traditional PRM* algorithm. The traditional PRM* algorithm is an asymptotically optimal algorithm. Asymptotically optimal means that the path obtained after a finite number of planning iterations is a suboptimal path close to the optimal path, and each iteration is closer to the optimal path, which is a gradual convergence process. This algorithm is very time-consuming. There are two main factors. On the one hand, it is very time-consuming to initially establish a collision-free roadmap. On the other hand, the time consumption increases with the increase in the number of iterations. If the number of iterations is simply reduced, the robot's motion path will be too long. Therefore, delayed collision and path clipping are integrated into the PRM* algorithm to achieve the purpose of reducing time and shortening the path.

[0069] Step 3.1, the proposed algorithm flow chart is as follows Figure 4 As shown, first establish a roadmap, add the starting point and the end point to the graph, use random sampling to generate a sampling point v in the robot configuration space and add it to the vertex set V of the roadmap (G(v, E)), and select k nearest neighbor vertices n1, n2, ..., n according to the nearest neighbor algorithm. k , k is determined by a function with n vertices as the cardinality in the roadmap, specifically k(n)=k PRM log(n), Add k edges e(c,n) to the edge set E of the roadmap (G(v,E)), and especially do not detect collisions between vertices and edges to obtain the initial roadmap. According to the A* search algorithm, find the optimal path. When finding the path, first check whether all nodes of the path collide. If there is a collision, delete all nodes, remove the connected edges and search the path again. If all nodes do not collide, check the edges. If the edges collide, delete the edges and search the path again. Finally, get the robot's target motion path.

[0070] Step 3.2: A further optimization method can be adopted for the robot target motion path obtained in step 3.1, using the cutting optimization method to further make the robot motion path short and smooth. Starting from the first node of the path, each node is processed as follows:

[0071] (7) Three nodes in sequence form a triangle ΔP i P j P k ;

[0072] (8) Take P i P k The interpolation point P t Point, that is, P t Satisfy the formula

[0073] (9) Order It can be seen that t The smaller the ∠P i P j P k The larger the value, the smoother the path. Select a suitable threshold δ. t >δ Deleting Pj can shorten the path.

[0074] Under the condition of generating a roadmap with the same number of vertices, the running time of the Prm* algorithm is in the order of minutes, while the running time of the Prm* algorithm with delayed collision detection is in the order of seconds; under the same number of iterations, 10 groups of Prm* algorithm comparisons before and after improvement were carried out, and the experimental results are shown in Table 2-1. The results show that the improved Prm* algorithm has a shorter path; under different numbers of iterations, five groups of experiments were carried out using only the Prm* algorithm with delayed collision detection and the improved Prm* algorithm. The experimental results are shown in Table 2-2. The results show that the improved Prm* algorithm can not only shorten the planning time, but also obtain a shorter path by reducing the number of iterations by half.

[0075] Table 2-1 Comparison of path lengths under the same number of iterations

[0076] serial number PRM*path length (rad) Improved PRM* Path Length (rad) 1 3.8912 3.5267 2 3.7614 3.1542 3 4.0124 3.3776 4 3.6753 2.8979 5 3.6345 3.2884 6 4.1603 3.3605 7 3.2987 3.2987 8 3.8653 3.1835 9 3.5010 3.3062 10 3.4764 2.9163

[0077] Table 2-2 Experimental comparison under different iteration times

[0078]

[0079] Step 4: Integrate the robot motion paths of all stations and let the robots perform processing tasks.

[0080] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A fully automatic motion planning method for an industrial robot machining system with an additional external axis, It is characterized in that The following steps are involved: Step 1, obtaining a processing path point set; Input the path sequence set to be processed C = {C 1 ,C 2 ,…,C j }, j = 1, 2, ..., n, n is the number of processing paths, and the processing path sequence has been determined, each processing path C j It consists of m path points P k Composition, of which P k (x,y,z,Rx,Ry,Rz),k=1,2,…,m; Step 2, select the station mode; There are two optional modes for setting the station position: automatic station setting and manual station setting. The automatic station setting mode is divided into intelligent planning station position and fixed allocation station position. If you select the intelligent planning station mode, go to step 2.1; Step 2.1, intelligent planning of the station is to determine the robot workstation according to the path to be processed; Step 2.1.1, assign processing paths to different stations; Step 2.1.2, find the optimal solution of the processing path points in each station; Step 2.1.3, go to step 3; If you select the fixed station allocation mode, go to step 2.2; Step 2.2, the fixed allocation station is divided into the external axis working area according to the robot working radius; Step 2.2.1, obtain a number of stations in sequence; Step 2.2.2, assign the machining path, determine whether there is an inverse solution at different stations, if yes, then successfully add it to this station, if not, proceed to the next station until the last station, if still no solution, then the workpiece exceeds the maximum range of the external axis; Step 2.2.3, go to step 3; If you select manual station setting mode, go to step 2.2.1; Step 3, each path executes the collision-free motion planning algorithm; Integrate delayed collision and path clipping into the PRM* algorithm to reduce time and shorten the path; The PRM* algorithm is specifically: Step 3.1, first create a roadmap, add the starting point and the end point to the roadmap, use random sampling to generate a sampling point v in the robot configuration space and add it to the vertex set V of the roadmap (G(v, E)), and select the k nearest neighbor vertices n according to the nearest neighbor algorithm. 1 ,n 2 ,…,n k , k is chosen as a function of the cardinality of the n vertices of the roadmap k(n): PRM log(n), Add k edges e(c,n) to the edge set E of the roadmap (G(v,E)), and especially do not check for collisions between vertices and edges to obtain the initial roadmap. According to the A* search algorithm, find the optimal path. When finding the path, first check whether all nodes of the path collide. If there is a collision, delete all nodes, remove the connected edges and search the path again. If all nodes do not collide, check the edges. If the edges collide, delete the edges and search the path again. Finally, get the robot's target motion path. Step 3.2: A further optimization method may be adopted for the robot target motion path obtained in step 3.1, and a cutting optimization method may be used to further make the robot motion path short and smooth; Starting from the first node of the path, each node is processed as follows: (1) Three nodes in sequence form a triangle ΔP i P j P k ; (2) Take P i P k The interpolation point P t Point, that is, P t Satisfy the formula (3) Order It can be seen that t The smaller the ∠P i P j P k The larger the value, the smoother the path. Select the threshold δ. t >δ delete P j , which can shorten the path; Step 4: Integrate the robot motion paths of all stations and let the robots perform processing tasks.

Citation Information

Patent Citations

  • Motion planning method for additional shafts in working units of gantry hoisting robot

    CN106272429A

  • Mechanical arm quick obstacle avoidance method based on improved random road sign map method

    CN108582073A

Cited By

  • Robot rotation external shaft normal vector priority control strategy and inverse solution method

    CN119501925A

  • Robot rotation external axis method vector priority control strategy and inverse solution method

    CN119501925B