[go: up one dir, main page]

CN115592663B - Full-automatic motion planning method for industrial robot machining system with additional external shaft - Google Patents

Full-automatic motion planning method for industrial robot machining system with additional external shaft Download PDF

Info

Publication number
CN115592663B
CN115592663B CN202211275681.3A CN202211275681A CN115592663B CN 115592663 B CN115592663 B CN 115592663B CN 202211275681 A CN202211275681 A CN 202211275681A CN 115592663 B CN115592663 B CN 115592663B
Authority
CN
China
Prior art keywords
path
station
robot
processing
algorithm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211275681.3A
Other languages
Chinese (zh)
Other versions
CN115592663A (en
Inventor
于连栋
李林琪
杜二宝
陈晨
陈浩涵
贾华坤
陆洋
高荣科
陈孝哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Petroleum East China
Original Assignee
China University of Petroleum East China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Petroleum East China filed Critical China University of Petroleum East China
Priority to CN202211275681.3A priority Critical patent/CN115592663B/en
Publication of CN115592663A publication Critical patent/CN115592663A/en
Application granted granted Critical
Publication of CN115592663B publication Critical patent/CN115592663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1656Programme controls characterised by programming, planning systems for manipulators
    • B25J9/1664Programme controls characterised by programming, planning systems for manipulators characterised by motion, path, trajectory planning
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

The invention discloses a full-automatic motion planning method of an industrial robot processing system with an additional external shaft, which comprises the following steps: step 1, acquiring a processing path point set; step 2, selecting a station mode; the automatic station setting mode is divided into intelligent planning station and fixed allocation station; step 3, executing a collision-free motion planning algorithm on each path; the delay collision and the path shearing are fused into a PRM algorithm, so that the purposes of reducing time and shortening paths are achieved; and 4, integrating the motion paths of robots of all stations to enable the robots to execute processing tasks. The invention can furthest increase the processing range of a single stop, effectively improve the quality of a motion planning path and the motion planning efficiency, thereby improving the processing efficiency of the robot.

Description

附加外部轴的工业机器人加工系统全自动运动规划方法Fully automatic motion planning method for industrial robot machining system with additional external axes

技术领域Technical Field

本发明属于工业机器人运动规划领域,特别涉及一种附加外部轴的工业机器人加工系统全自动运动规划方法。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

工业机器人由于其具有易用性、柔性高、高效等特点,广泛应用于加工领域。但是在执行大型工件的加工任务时,因为固定底座的机器人工作范围有限,难以完成所有加工任务,所以一般采用机器人附加外部轴来完成大部件的加工任务,传统的站位规划是根据机器人工作半径将外部轴划分区域选择机器人若干固定工作站位,完成局部加工任务,但此种站位分配的方式并不能最大限度的增加单次停站覆盖待加工路径数量,也不是最优的站位分配。且机器人采用传统的运动规划方法,规划时间长、规划路径质量差。为此,提出一种附加外部轴的工业机器人加工系统全自动运动规划方法。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 processing paths 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

本发明的目的是针对大型工件加工任务中站位规划不合理、运动规划时间长、运动路径质量差的问题,提出一种附加外部轴的工业机器人加工系统全自动运动规划方法,能够最大限度地增加单次停站的加工范围,有效提高运动规划路径质量、提高运动规划效率,从而提高机器人加工效率。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.

为实现上述目的,本发明提供的技术方案是:一种附加外部轴的工业机器人加工系统全自动运动规划方法,包括以下步骤: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:

步骤1,获取加工路径点集;Step 1, obtaining a processing path point set;

输入待加工路径序列集C={C1,C2,…,Cj},j=1,2,…,n,n是加工路径的数量,并且加工路径顺序已经确定,每条加工路径Cj是由m个路径点Pk组成,其中Pk(x,y,z,Rx,Ry,Rz),k=1,2,…,m;Input the sequence set of paths to be processed C = {C 1 ,C 2 ,…,C j }, j = 1, 2,…, n, n is the number of processing paths, and the order of processing paths has been determined. Each processing path C j is composed of m path points P k , where P k (x, y, z, Rx, Ry, Rz), k = 1, 2,…, m;

步骤2,选择站位模式;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.

选择智能分配站位模式,则进入步骤2.1;If you select the intelligent station allocation mode, go to step 2.1;

步骤2.1,智能规划站位则是根据待加工路径确定机器人工作站位;Step 2.1, intelligent planning of the station is to determine the robot workstation according to the path to be processed;

步骤2.1.1,将加工路径分配给不同站位;Step 2.1.1, assign processing paths to different stations;

步骤2.1.2,在每个站位内求取加工路径点的最优解;Step 2.1.2, find the optimal solution of the processing path points in each station;

步骤2.1.3,进入步骤3;Step 2.1.3, go to step 3;

选择智能分配站位模式,则进入步骤2.2;If you select the intelligent station allocation mode, go to step 2.2;

步骤2.2,固定分配站位根据机器人工作半径合理划分外部轴工作区域划分;Step 2.2, the fixed allocation station is divided into the external axis working area according to the robot working radius;

步骤2.2.1,得到顺序若干站位;Step 2.2.1, obtain a number of stations in sequence;

步骤2.2.2,分配加工路径,判断在不同站位下是否有逆解存在,若有,则成功添加到此站位,若没有进入下一个站位的判断直至最后一个站位,若依旧无解则工件超出了外部轴最大范围;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;

步骤2.2.3,进入步骤3;Step 2.2.3, go to step 3;

选择手动设置站位模式,则进入步骤2.2.1;If you select manual station setting mode, go to step 2.2.1;

步骤3,每个路径执行无碰撞运动规划算法;Step 3, each path executes the collision-free motion planning algorithm;

将延迟碰撞和路径剪切融合到PRM*算法中,以达到减少时间和缩短路径的目的;Integrate delayed collision and path clipping into the PRM* algorithm to reduce time and shorten the path;

步骤4,整合所有站点的机器人运动路径,让机器人执行加工任务。Step 4: Integrate the robot motion paths of all stations and let the robots perform processing tasks.

本发明提供的优选技术方案是:The preferred technical solution provided by the present invention is:

所述的步骤3中,所述的具体PRM*算法具体为:In step 3, the specific PRM* algorithm is as follows:

步骤3.1,首先建立一个路线图,先将起点、终点加入到路线图当中,使用随机采样在机器人构型空间生成采样点v添加到路线图(G(v,E))顶点集V中,根据在最近邻算法选择k个最近邻顶点n1,n2,…,nk,k是由路线图中n个顶点为基数的函数所确定的,具体为k(n)=kPRMlog(n),将k个边e(c,n)添加到路线图(G(v,E))边集E中,特别的不对顶点和边检测碰撞,得到初始路线图,根据A*搜索算法,寻找最优路径,寻找路径时,首先检查得到路径所有节点是否碰撞,若存在碰撞删除所有节点,并移除相连的边重新搜索路径,如果所有节点都不碰撞则检查边,若边碰撞则删除该边重新搜索路径,最后得到机器人目标运动路径;Step 3.1, first establish 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 n 1 ,n 2 ,…, nk according to the nearest neighbor algorithm, where k is determined by a function based on the number of vertices 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 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.

步骤3.2对步骤3.1中得到的机器人目标运动路径可采取进一步的优化方法,使用剪切优化方法,进一步使得机器人运动路径短而平滑;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;

从路径第一个节点开始,对每个节点进行如下处理:Starting from the first node of the path, each node is processed as follows:

(4)顺序三个节点,构成三角形ΔPiPjPk(4) Three nodes in sequence form a triangle ΔP i P j P k ;

(5)取PiPk的插值点Pt点,即Pt满足公式 (5) Take the interpolation point Pt of PiPk , that is, Pt satisfies the formula

(6)令可知δt越小,∠PiPjPk越大,即路径更平滑,选取合适的阈值δ,当δt>δ删除Pj,可以缩短路径。(6) Order It can be seen that the smaller δ t is, the larger ∠P i P j P k is, that is, the path is smoother. By selecting a suitable threshold δ and deleting P j when δ t >δ, the path can be shortened.

与现有技术相比,本发明的有益效果是:Compared with the prior art, the present invention has the following beneficial effects:

本发明在相同迭代次数下,改进后的Prm*算法路径更短;在不同迭代次数下,改进后的Prm*算法在减少一半迭代次数下,不仅能够缩短规划时间,而且得到的路径也更短。因此,本发明能够最大限度地增加单次停站的加工范围,有效提高运动规划路径质量、提高运动规划效率,从而提高机器人加工效率。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

图1为本发明的整体步骤流程图;FIG1 is a flow chart of the overall steps of the present invention;

图2为机器人外部轴图;Figure 2 is a diagram of the robot's external axes;

图3为逆向建立坐标系图;Figure 3 is a diagram of the reverse coordinate system;

图4为矩形孔法兰加工关键点选取示意图;Figure 4 is a schematic diagram of key point selection for rectangular hole flange processing;

图5为改进的运动规划算法流程图。FIG5 is a flowchart of the improved motion planning algorithm.

具体实施方式DETAILED DESCRIPTION

下面将结合附图对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings.

图1为本发明的整体步骤流程图,如图1所示出的,本发明的一种附加外部轴工业机器人加工系统全自动运动规划方法,包括以下步骤:FIG. 1 is a flowchart of the overall steps of the present invention. As shown in FIG. 1 , a fully automatic motion planning method for an additional external axis industrial robot processing system of the present invention includes the following steps:

步骤1,获取加工路径点集;Step 1, obtaining a processing path point set;

输入待加工路径序列集C={C1,C2,…,Cj},j=1,2,…,n,n是加工路径的数量,并且加工路径顺序已经确定,每条加工路径Cj是由m个路径点Pk组成,其中Pk(x,y,z,Rx,Ry,Rz),k=1,2,…,m;Input the sequence set of paths to be processed C = {C 1 ,C 2 ,…,C j }, j = 1, 2,…, n, n is the number of processing paths, and the order of processing paths has been determined. Each processing path C j is composed of m path points P k , where P k (x, y, z, Rx, Ry, Rz), k = 1, 2,…, m;

选择手动设置站位模式,则进入步骤2.2.1;If you select manual station setting mode, go to step 2.2.1;

步骤2,选择站位模式;Step 2, select the station mode;

有自动和手动两种可选模式设置站位,自动模式又分为智能规划和固定分配站位,固定分配站位根据机器人工作半径合理划分外部轴工作区域,智能规划则是根据待加工路径确定机器人工作站位。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.

选择智能分配站位模式,则进入步骤2.1;If you select the intelligent station allocation mode, go to step 2.1;

步骤2.1,智能规划站位则是根据待加工路径确定机器人工作站位;Step 2.1, intelligent planning of the station is to determine the robot workstation according to the path to be processed;

步骤2.1.1,将加工路径分配给不同站位;Step 2.1.1, assign processing paths to different stations;

步骤2.1.2,在每个站位内求取加工路径点的最优解;Step 2.1.2, find the optimal solution of the processing path points in each station;

根据机器人的前三个关节决定机器人执行器的位置,后三个关节决定机器人执行器的姿态,可借鉴机器人工作空间的求解方式,以机器人的腕心位置反向建立机器人坐标系{F1,F2,F3,F4,F5,F6,F7},如图3所示,DH参数如表1所示,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 solution method of the robot workspace can be used for reference, and the robot coordinate system {F 1 , F 2 , F 3 , F 4 , F 5 , F 6 , F 7 } is established inversely with the robot's wrist center position, as shown in Figure 3. The DH parameters are shown in Table 1.

表1 DH表Table 1 DH table

θ(°)θ(°) d(mm)d(mm) α(°)α(°) a(mm)a(mm) J1J1 00 00 9090 00 J2J2 00 00 -90-90 00 J3J3 00 451451 9090 4242 J4J4 00 00 00 448448 J5J5 9090 00 9090 00 J6J6 00 399399 00 00

根据DH算法建立基座相对腕心的表达式为:According to the DH algorithm, the expression of the base relative to the wrist center is:

依据表一中数据,带入T,得到基座位置,如(式2)所示According to the data in Table 1, substitute T to get the base position, as shown in (Equation 2)

由于只考虑机器人的位置约束,所以只考虑关节轴2,关节轴4,得到的是机器人基座可行位置的剖面图,故首先令θ1=0,θ3=0,得到(式3)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, firstly, let θ 1 = 0, θ 3 = 0, and obtain (Equation 3)

根据关节极限值法,可求得机器人基座的可行位置空间剖面图,再绕腕部轴旋转一周可得机器人基座可行位置空间三维图。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.

先由加工路径获取外围若干关键点,如图4所示,加工零件矩形法兰可选取外围矩形角点,求得该关键点的基座可行位置空间,取所有关键点的可行位置空间交集的中线中点,为机器人的最优站位,这种站位可以根据加工路径位置选择最优站位,同时可以一定程度上扩大单次停站的的加工范围。First, obtain several key points on the periphery from the processing path, as shown in Figure 4. To process the rectangular flange of the part, the corner points of the outer rectangle can be selected to obtain the feasible position space of the base of the key point. 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.

在每个站位内求取加工路径点的最优解,得到每个加工路径点对应的机器人关节值J(θ1,θ2,θ3,θ4,θ5,θ6);Obtain 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;

步骤2.1.3,进入步骤3;Step 2.1.3, go to step 3;

选择智能分配站位模式,则进入步骤2.2;If you select the intelligent station allocation mode, go to step 2.2;

步骤2.2,固定分配站位根据机器人工作半径合理划分外部轴工作区域划分,外部轴如图2所示。Step 2.2, the fixed allocation station is divided into the working area of the external axis according to the working radius of the robot. The external axis is shown in Figure 2.

步骤2.2.1,得到顺序若干站位;Step 2.2.1, obtain a number of stations in sequence;

步骤2.2.2,分配加工路径,判断在不同站位下是否有逆解存在,若有,则成功添加到此站位,若没有进入下一个站位的判断直至最后一个站位,若依旧无解则工件超出了外部轴最大范围;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;

步骤2.2.3,进入步骤3;Step 2.2.3, go to step 3;

步骤3,执行无碰撞运动规划算法;Step 3, executing the collision-free motion planning algorithm;

提出的运动规划算法是在传统的PRM*算法的改进,传统的PRM*算法是一个渐进最优算法,渐进最优是指经过有限次规划迭代后得到的路径是接近最优的次优路径,且每次迭代后都与最优路径更加接近,是一个逐渐收敛的过程。此算法非常耗费时间,主要因素有两方面,一方面是在初始建立无碰撞的路线图非常耗费时间,另一方面是耗费时间随迭代次数的增加而延长。如果单纯减少迭代次数又会使得机器人运动路径过长。所以将延迟碰撞和路径剪切融合到PRM*算法中,以达到减少时间和缩短路径的目的。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.

步骤3.1,提出的算法流程图如图4所示,首先建立一个路线图,先将起点、终点加入到图当中,使用随机采样在机器人构型空间生成采样点v添加到路线图(G(v,E))顶点集V中,根据在最近邻算法选择k个最近邻顶点n1,n2,…,nk,k是由路线图中n个顶点为基数的函数所确定的,具体为k(n)=kPRMlog(n),将k个边e(c,n)添加到路线图(G(v,E))边集E中,特别的不对顶点和边检测碰撞,得到初始路线图,根据A*搜索算法,寻找最优路径,寻找路径时,首先检查得到路径所有节点是否碰撞,若存在碰撞删除所有节点,并移除相连的边重新搜索路径,如果所有节点都不碰撞则检查边,若边碰撞则删除该边重新搜索路径,最后得到机器人目标运动路径。Step 3.1, the proposed algorithm flow chart is shown in Figure 4. First, a roadmap is established. The starting point and the end point are added to the graph. Random sampling is used 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)). According to the nearest neighbor algorithm, k nearest neighbor vertices n 1 ,n 2 ,…, nk are selected. 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.

步骤3.2对步骤3.1中得到的机器人目标运动路径可采取进一步的优化方法,使用剪切优化方法,进一步使得机器人运动路径短而平滑。从路径第一个节点开始,对每个节点进行如下处理: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:

(7)顺序三个节点,构成三角形ΔPiPjPk(7) Three nodes in sequence form a triangle ΔP i P j P k ;

(8)取PiPk的插值点Pt点,即Pt满足公式 (8) Take the interpolation point Pt of PiPk , that is, Pt satisfies the formula

(9)令可知δt越小,∠PiPjPk越大,即路径更平滑,选取合适的阈值δ,当δt>δ删除Pj,可以缩短路径。(9) Order It can be seen that the smaller δ t is, the larger ∠P i P j P k is, that is, the path is smoother. By selecting a suitable threshold δ and deleting Pj when δ t >δ, the path can be shortened.

在产生相同的顶点数的路线图的条件下,Prm*算法运行时间是分钟级别的,而带延迟碰撞检测Prm*算法运行时间是秒级的;在相同迭代次数下,进行了10组改进前后的Prm*算法对照,实验结果见表2-1,由结果可知改进后的Prm*算法路径更短;在不同迭代次数下,仅带有延迟碰撞检测的Prm*算法和改进后的Prm*算法进行五组实验,实验结果见表2-2,由结果可知改进后的Prm*算法在减少一半迭代次数下,不仅能够缩短规划时间,而且得到的路径也更短。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.

表2-1在相同迭代次数条件下路径长度对比Table 2-1 Comparison of path lengths under the same number of iterations

编号serial number PRM*路径长度(rad)PRM*path length (rad) 改进的PRM*路径长度(rad)Improved PRM* Path Length (rad) 11 3.89123.8912 3.52673.5267 22 3.76143.7614 3.15423.1542 33 4.01244.0124 3.37763.3776 44 3.67533.6753 2.89792.8979 55 3.63453.6345 3.28843.2884 66 4.16034.1603 3.36053.3605 77 3.29873.2987 3.29873.2987 88 3.86533.8653 3.18353.1835 99 3.50103.5010 3.30623.3062 1010 3.47643.4764 2.91632.9163

表2-2在不同迭代次数条件下实验对比Table 2-2 Experimental comparison under different iteration times

步骤4,整合所有站点的机器人运动路径,让机器人执行加工任务。Step 4: Integrate the robot motion paths of all stations and let the robots perform processing tasks.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。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)

1. The full-automatic motion planning method for the additional external shaft industrial robot machining system is characterized by comprising the following steps of:
Step 1, acquiring a processing path point set;
Inputting a sequence set of paths to be processed c= { C 1,C2,…,Cj }, j=1, 2, …, n, n being the number of processing paths, and the processing path sequence having been determined, each processing path C j being composed of m path points P k, wherein P k (x, y, z, rx, ry, rz), k=1, 2, …, m;
step 2, selecting a station mode;
The automatic station setting mode is divided into intelligent planning station and fixed allocation station;
Selecting an intelligent planning station mode, and entering a step 2.1;
Step 2.1, the intelligent planning station is to determine a robot work station according to a path to be processed;
step 2.1.1, distributing the processing paths to different stations;
step 2.1.2, solving an optimal solution of a processing path point in each station;
step 2.1.3, entering step 3;
Selecting a fixed allocation station mode, and entering step 2.2;
Step 2.2, dividing the working area of the external shaft by the fixed distribution station according to the working radius of the robot;
step 2.2.1, obtaining a plurality of stations in sequence;
Step 2.2.2, distributing processing paths, judging whether inverse solutions exist under different station positions, if so, adding the processing paths to the station position successfully, if not, entering the judgment of the next station position until the last station position, and if not, exceeding the maximum range of an external shaft by the workpiece;
Step 2.2.3, entering step 3;
Selecting a manual station setting mode, and entering step 2.2.1;
step 3, executing a collision-free motion planning algorithm on each path;
the delay collision and the path shearing are fused into a PRM algorithm, so that the purposes of reducing time and shortening paths are achieved;
the PRM algorithm specifically includes:
Step 3.1, firstly, a route map is built, firstly, a starting point and an end point are added into the route map, a sampling point V is generated in a robot configuration space by using random sampling and is added into a route map (G (V, E)) vertex set V, k nearest neighbor vertices n 1,n2,…,nk are selected according to a nearest neighbor algorithm, k is k (n): k PRM log (n) selected as a function of the cardinality of the vertices of the route map n, Adding k edges E (c, n) into an edge set E of a route map (G (v, E)), particularly detecting no collision on the top points and the edges, obtaining an initial route map, searching an optimal path according to an A-search algorithm, firstly checking whether all nodes of the path are collided or not when searching the path, deleting all nodes if collision exists, removing the connected edges to search the path again, checking the edges if all nodes are not collided, deleting the edges to search the path again if the edges are collided, and finally obtaining a target motion path of the robot;
step 3.2, a further optimization method can be adopted for the robot target motion path obtained in the step 3.1, and the shearing optimization method is used for further enabling the robot motion path to be short and smooth;
Starting from the first node of the path, each node is processed as follows:
(1) Three nodes are sequentially arranged to form a triangle delta P iPjPk;
(2) Taking the interpolation point P t of P iPk, namely P t meeting the formula
(3) Order theIt can be known that the smaller the delta t is, the larger the angle P iPjPk is, namely the smoother the path is, the threshold delta is selected, and when delta t is more than delta, P j is deleted, the path can be shortened;
And 4, integrating the motion paths of robots of all stations to enable the robots to execute processing tasks.
CN202211275681.3A 2022-10-18 2022-10-18 Full-automatic motion planning method for industrial robot machining system with additional external shaft Active CN115592663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211275681.3A CN115592663B (en) 2022-10-18 2022-10-18 Full-automatic motion planning method for industrial robot machining system with additional external shaft

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211275681.3A CN115592663B (en) 2022-10-18 2022-10-18 Full-automatic motion planning method for industrial robot machining system with additional external shaft

Publications (2)

Publication Number Publication Date
CN115592663A CN115592663A (en) 2023-01-13
CN115592663B true CN115592663B (en) 2024-10-29

Family

ID=84848139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211275681.3A Active CN115592663B (en) 2022-10-18 2022-10-18 Full-automatic motion planning method for industrial robot machining system with additional external shaft

Country Status (1)

Country Link
CN (1) CN115592663B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106272429A (en) * 2016-09-14 2017-01-04 上海大学 Additional shaft motion planning method in a kind of planer-type lifting machine people working cell
CN108582073A (en) * 2018-05-02 2018-09-28 北京邮电大学 A kind of quick barrier-avoiding method of mechanical arm based on improved random road sign Map Method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4767578B2 (en) * 2005-02-14 2011-09-07 株式会社岩根研究所 High-precision CV calculation device, CV-type three-dimensional map generation device and CV-type navigation device equipped with this high-precision CV calculation device
JP4730440B2 (en) * 2009-01-01 2011-07-20 ソニー株式会社 Trajectory planning apparatus, trajectory planning method, and computer program
WO2016043663A1 (en) * 2014-09-15 2016-03-24 Ldr Pte. Ltd. Geographical location based application
CN111770811A (en) * 2018-01-29 2020-10-13 整形工具股份有限公司 System, method and apparatus for guiding a tool with multiple positioning systems
CN110744543B (en) * 2019-10-25 2021-02-19 华南理工大学 Improved PRM obstacle avoidance motion planning method based on UR3 manipulator
US11597078B2 (en) * 2020-07-28 2023-03-07 Nvidia Corporation Machine learning control of object handovers
CN114047762A (en) * 2021-11-15 2022-02-15 西安工业大学 An Ant Colony Algorithm-Based Lidar Space Measurement Path Planning Method and System

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106272429A (en) * 2016-09-14 2017-01-04 上海大学 Additional shaft motion planning method in a kind of planer-type lifting machine people working cell
CN108582073A (en) * 2018-05-02 2018-09-28 北京邮电大学 A kind of quick barrier-avoiding method of mechanical arm based on improved random road sign Map Method

Also Published As

Publication number Publication date
CN115592663A (en) 2023-01-13

Similar Documents

Publication Publication Date Title
CN108508846B (en) Curved surface spraying track planning method
CN107990903B (en) Indoor AGV path planning method based on improved A-x algorithm
CN113074728A (en) Multi-AGV path planning method based on jumping point routing and collaborative obstacle avoidance
CN103394430B (en) A kind of complex-curved even application manufacture method based on blind area Optimization Technology between sheet
CN108663990B (en) A Multi-Axis Machining Interference Detection and Processing Method Based on Two-Level Voxelization Model
CN102527554A (en) Spray gun track planning method for free-form surface spraying robot
CN103365243B (en) Method for rapidly generating corner side milling process path
CN112372631B (en) Rapid collision detection method and device for robot machining of large complex component
CN103480534B (en) Control During Paint Spraying by Robot curve surface of workpiece formative method
CN114925988B (en) Multi-robot collaborative planning method driven by processing tasks
CN113189988A (en) Autonomous path planning method based on Harris algorithm and RRT algorithm composition
CN113704841B (en) Bias-based optimized layout method
CN106777133A (en) A kind of similar connection processing method of metric space based on MapReduce
CN111823231B (en) A method using a robotic arm for non-repeatable coverage tasks with minimal lifts
CN118278287A (en) Optimization method of spraying trajectory on complex curved surface
CN115592663B (en) Full-automatic motion planning method for industrial robot machining system with additional external shaft
CN105700469B (en) Towards the cutter location acquiring method of triangle mesh curved surface digital control processing and its application
CN115903789A (en) Mobile robot global path planning method based on improved BIT
CN115167278A (en) An optimal motion trajectory planning method for intensive point processing
CN111687844B (en) A method for non-repeatable overlay tasks using a minimal number of robotic arm lifts
Xin et al. Path Planning Research Based on An Improved A* Algorithmfor Mobile Robot
CN108803481B (en) Free form surface ball-end mill paths planning method and system based on Fermat helix
CN108827314B (en) Path planning method
Fu et al. A genetic algorithm-based surface segmentation method for spray painting robotics
CN117841001A (en) Mechanical arm path planning method based on improved RRT algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant