CN111813121B - Multi-robot formation obstacle avoidance method based on distance-angle priority - Google Patents
Multi-robot formation obstacle avoidance method based on distance-angle priority Download PDFInfo
- Publication number
- CN111813121B CN111813121B CN202010670773.6A CN202010670773A CN111813121B CN 111813121 B CN111813121 B CN 111813121B CN 202010670773 A CN202010670773 A CN 202010670773A CN 111813121 B CN111813121 B CN 111813121B
- Authority
- CN
- China
- Prior art keywords
- formation
- obstacle avoidance
- robot
- obstacle
- distance
- 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
Links
- 230000015572 biosynthetic process Effects 0.000 title claims abstract description 137
- 238000000034 method Methods 0.000 title claims abstract description 27
- 230000008859 change Effects 0.000 claims description 16
- 230000002146 bilateral effect Effects 0.000 claims description 10
- 238000011084 recovery Methods 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 6
- 230000009467 reduction Effects 0.000 claims description 3
- 230000004888 barrier function Effects 0.000 abstract 3
- 238000005755 formation reaction Methods 0.000 description 95
- 238000010586 diagram Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000009825 accumulation Methods 0.000 description 1
- 238000011217 control strategy Methods 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000011426 transformation method Methods 0.000 description 1
- 238000007794 visualization technique Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0223—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0214—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with safety or protection criteria, e.g. avoiding hazardous areas
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0221—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0276—Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0287—Control of position or course in two dimensions specially adapted to land vehicles involving a plurality of land vehicles, e.g. fleet or convoy travelling
- G05D1/0291—Fleet control
- G05D1/0295—Fleet control by at least one leading vehicle of the fleet
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manipulator (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
技术领域technical field
本发明属于机器人技术领域,具体涉及一种基于距离-角度优先级的多移动机器人编队避障方法略。The invention belongs to the technical field of robots, and in particular relates to a multi-mobile robot formation obstacle avoidance method based on distance-angle priority.
背景技术Background technique
目前,多移动机器人广泛应用在生产生活中,如变电站巡检、无人值守仓库、自动化工厂货物运输、搬运等,通过机器人之间的协作,有效节约投资成本,提高工作效率。在多机协调完成任务过程中,通常会遇到静态或动态障碍物,所以有效避障是必要的,否则会造成任务失败。目前常用的避障方法有两种,一种为编队拆分避障,如栅格法、可视图法、模糊逻辑法、RTT算法、遗传算法等,另一种为编队整体避障,如人工势场法、模型预测控制法、固定队形变换法和基于行为法等。编队整体避障能使编队内部维持原有控制,通过动态调节队形进行在线避障,相比于拆分避障,更为具有灵活性、整体性和可靠性,可以有效避免拆分避障出现的跟随者掉队、机器人之间的碰撞问题,但多机之间若没有进行有效的协调和沟通,将不能发挥出多机协同避障的优势,造成严重的经济损失。为此,中国专利《一种面向多移动机器人系统的模糊编队及避障控制方法》(申请日:2013.09.06;申请号:201310402941.3;公开日:2013.12.18;专利号:CN 103455033 A)公开一种基于模糊控制的以领航机器人广播的形式告知所有跟随机器人避障,跟随者根据存储的不同队形信息以及领航机器人广播的信息切换队形的方法,但模糊规则繁杂且属人为规定,控制精度难以保证,且没有考虑避障后队形恢复和机器人之间在避障过程中碰撞问题。中国专利《一种多无人机编队飞行避障控制策略制定方法》(申请日:2018.10.29;申请号:201811272488.8;公开日:2019.03.29;专利号:CN 109542115 A)公开一种基于斥力场函数的编队避障方法以及避障后路径重规划策略,保证在多机编队执行任务中,实现机内实时避障,但斥力场越大,无人机离开触发区的响应速度和运动速度越快,队形变换超调量较大,控制系统稳定性降低。At present, multi-mobile robots are widely used in production and life, such as substation inspections, unattended warehouses, automated factory cargo transportation, handling, etc. Through the cooperation between robots, investment costs can be effectively saved and work efficiency can be improved. In the process of multi-machine coordination to complete the task, static or dynamic obstacles are usually encountered, so effective obstacle avoidance is necessary, otherwise the task will fail. At present, there are two commonly used obstacle avoidance methods, one is formation split obstacle avoidance, such as grid method, visualization method, fuzzy logic method, RTT algorithm, genetic algorithm, etc., and the other is formation overall obstacle avoidance, such as manual Potential field method, model predictive control method, fixed formation transformation method and behavior-based method, etc. The overall obstacle avoidance of the formation can maintain the original control within the formation, and online obstacle avoidance can be performed by dynamically adjusting the formation. Compared with split obstacle avoidance, it is more flexible, integrated and reliable, and can effectively avoid split obstacle avoidance There are problems of followers falling behind and collisions between robots, but if there is no effective coordination and communication between multiple machines, the advantages of multi-machine cooperative obstacle avoidance will not be brought into play, causing serious economic losses. For this reason, the Chinese patent "A Fuzzy Formation and Obstacle Avoidance Control Method for Multi-mobile Robot System" (application date: 2013.09.06; application number: 201310402941.3; publication date: 2013.12.18; patent number: CN 103455033 A) was published A method based on fuzzy control that informs all following robots to avoid obstacles in the form of broadcasting by the leading robot, and the follower switches formations according to the stored information of different formations and the information broadcast by the leading robot, but the fuzzy rules are complicated and artificial. The accuracy is difficult to guarantee, and the problem of formation recovery after obstacle avoidance and collision between robots during obstacle avoidance is not considered. The Chinese patent "A method for formulating a multi-UAV formation flight obstacle avoidance control strategy" (application date: 2018.10.29; application number: 201811272488.8; publication date: 2019.03.29; patent number: CN 109542115 A) discloses a repulsion-based The field function formation obstacle avoidance method and the path re-planning strategy after obstacle avoidance ensure real-time obstacle avoidance within the aircraft during multi-aircraft formation missions, but the larger the repulsive force field, the faster the response speed and movement speed of the UAV leaving the trigger area The faster it is, the greater the overshoot of formation change and the lower the stability of the control system.
针对机器人避障过程中机器人之间碰撞、队形变换超调量大的问题,本发明提出一种距离-角度优先级避障策略。充分考虑机器人的自身安全距离和通讯范围,设计基于距离和角度优先级避障策略,并设计运动控制器,使多个机器人安全稳定地完成避障的同时提高避障效率,使避障路径最短。Aiming at the problems of collision between robots and large amount of overshoot in formation transformation during robot obstacle avoidance, the present invention proposes a distance-angle priority obstacle avoidance strategy. Fully consider the robot's own safety distance and communication range, design a priority obstacle avoidance strategy based on distance and angle, and design a motion controller, so that multiple robots can safely and stably complete obstacle avoidance while improving obstacle avoidance efficiency and making the obstacle avoidance path the shortest .
发明内容Contents of the invention
本发明的目的是针对二维平面提供一种基于距离-角度优先级的多移动机器人编队避障方法,使多个机器人在复杂环境中能够在线有效避障,同时提高工作效率,使机器人编队整体避障总的运动路径最短。The purpose of the present invention is to provide a multi-robot formation obstacle avoidance method based on distance-angle priority for a two-dimensional plane, so that multiple robots can effectively avoid obstacles online in a complex environment, and at the same time improve work efficiency, making the robot formation overall The total motion path for obstacle avoidance is the shortest.
为减小跟随者对领航者的过度依赖,同时避免链式结构造成的跟踪误差累积问题,采用虚拟领航-跟随结构。通过建立队形数据库,由机器人安全距离设计距离-角度优先级策略,对避障避碰进行规划,并根据领航者与跟随者相对位姿误差状态方程设计运动控制器,使机器人群完成避障后恢复初始队形继续稳定运动。In order to reduce the excessive dependence of the follower on the leader and avoid the problem of tracking error accumulation caused by the chain structure, a virtual leader-follower structure is adopted. By establishing the formation database, the distance-angle priority strategy is designed by the robot's safe distance, and the obstacle avoidance and collision avoidance are planned, and the motion controller is designed according to the relative pose error state equation of the leader and the follower, so that the robot group can complete the obstacle avoidance Then restore the initial formation and continue to move steadily.
基于距离-角度优先级的多移动机器人编队避障方法,包括以下步骤:A multi-mobile robot formation obstacle avoidance method based on distance-angle priority, including the following steps:
(1)根据机器人数量建立队形数据库;(1) Establish formation database according to the number of robots;
(2)形成距离-角度优先级避障策略;对单双侧障碍物与队形的距离进行分析,判断是否需要避障,若需要则根据距离-角度优先级判断以何种队形避障,并调用步骤(1)中的队形数据库进行避障准备;(2) Form a distance-angle priority obstacle avoidance strategy; analyze the distance between single and bilateral obstacles and the formation to determine whether obstacle avoidance is required, and if necessary, determine which formation to avoid based on the distance-angle priority , and call the formation database in step (1) to prepare for obstacle avoidance;
(3)设计运动控制器,根据步骤(2)中决策的避障队形开始避障;(3) Design motion controller, start obstacle avoidance according to the obstacle avoidance formation of decision-making in step (2);
(4)避障结束后即最后一个机器人通过障碍物,快速恢复队形。(4) After the obstacle avoidance is completed, the last robot passes the obstacle and quickly recovers the formation.
步骤(1)所述的建立队形数据库,设有i个机器人参与编队,虚拟领航者表示为L,其位置坐标表示为[xl yl θl]T,跟随者表示为Fi,根据机器人数量设定相应的队形数据库。In the establishment of the formation database described in step (1), there are i robots participating in the formation, the virtual leader is denoted as L, its position coordinates are denoted as [x l y l θ l ] T , and the followers are denoted as F i , according to The number of robots is set in the corresponding formation database.
步骤(2)中形成距离-角度优先级避障策略的方法为:设机器人自身安全距离为半径为rs,则两个机器人并排运动的最小安全距离为4rs,设有3个机器人初始状态为三角形队形沿水平方向前进;The method of forming the distance-angle priority obstacle avoidance strategy in step (2) is as follows: set the robot’s own safety distance as the radius r s , then the minimum safe distance for two robots moving side by side is 4r s , and there are three robot initial states Advance horizontally in a triangular formation;
A单侧障碍物避障策略A unilateral obstacle avoidance strategy
当虚拟领航机器人检测到前方为单侧障碍物时:When the virtual pilot robot detects a unilateral obstacle ahead:
(a1)判断是否需要避障,若d0≤asinα+rs,则需要避障,若d0>asinα+rs,则不需要避障;(a1) Determine whether obstacle avoidance is required, if d 0 ≤asinα+ rs , then obstacle avoidance is required, if d 0 >asinα+ rs , then obstacle avoidance is not required;
(a2)判断障碍物方向,位于前进方向的上侧或下侧,若为上侧,则机器人系统保持初始队形右拐前进进行避障,若为下侧,则机器人系统保持初始队形左拐前进进行避障;(a2) Determine the direction of the obstacle, which is located on the upper or lower side of the forward direction. If it is on the upper side, the robot system will maintain the initial formation and turn right to avoid obstacles. If it is on the lower side, the robot system will maintain the initial formation to the left. Turn forward to avoid obstacles;
(a3)当编队整体通过障碍物后队形收敛到原轨迹水平线继续前行;(a3) When the formation as a whole passes through the obstacle, the formation converges to the horizontal line of the original track and continues to move forward;
B双侧障碍物避障策略B bilateral obstacle avoidance strategy
当虚拟领航机器人检测到前方为双侧障碍物时,When the virtual pilot robot detects that there are bilateral obstacles ahead,
(b1)首先判断是否需要避障,若d0≤dl,则需要避障,若d0>dl,则不需要避障,继续保持原队形运动,其中dl=2asinα+2rs;(b1) First judge whether obstacle avoidance is required, if d 0 ≤ d l , then obstacle avoidance is required, if d 0 >d l , then obstacle avoidance is not required, and the original formation movement is continued, where d l = 2asinα+2r s ;
(b2)若需要避障,则判断以哪种队形避障;(b2) If obstacle avoidance is required, determine which formation to avoid the obstacle with;
若d0<2rs,则按单侧避障方案绕行避障;If d 0 <2r s , follow the one-sided obstacle avoidance scheme to avoid obstacles;
若2rs<d0<4rs,则需变换一字队形通过障碍物;If 2r s <d 0 <4r s , it is necessary to change the line formation to pass the obstacle;
若d0>4rs时,则无需改变队形,只改变角度α,成树杈状三角形队形通过;即a值不变,减小α.若障碍物沿机器人运动方向的沿面障碍距离较小,为缩短避障时间,则队形成比例缩小通过障碍物;If d 0 >4r s , there is no need to change the formation, only change the angle α, and pass in a triangular formation like a branch; that is, the value of a remains unchanged, and α is reduced. Small, in order to shorten the obstacle avoidance time, the team forms a proportional reduction to pass the obstacle;
通过对一般环境中可能出现的单双侧障碍物,通过机器人自身安全距离及队形整体与障碍物之间距离计算,得出距离-角度优先级,即先判断是否需要避障,其次优先考虑距离判断是否需要改变队形,最后决定是否需要改变角度以何种队形通过;根据以上策略分析,得出最短路径即消耗最少的方案;By calculating the single-sided and double-sided obstacles that may appear in the general environment, the distance between the robot's own safety distance and the overall formation and the obstacle is calculated to obtain the distance-angle priority, that is, first judge whether it is necessary to avoid obstacles, and then give priority to it Judging by the distance whether it is necessary to change the formation, and finally determine whether it is necessary to change the angle and which formation to pass; according to the above strategy analysis, the shortest path is the solution with the least consumption;
步骤(3)运动控制器设计,包括:Step (3) motion controller design, including:
设虚拟领航者的位姿为qd=[xd yd θd],ud=[vd wd],跟随机器人的位姿为qi=[xiyi θi],ui=[vi wi],跟随机器人i与虚拟领航者的相对位姿方程:Let the pose of the virtual leader be q d =[x d y d θ d ], u d =[v d w d ], and the pose of the following robot be q i =[x i y i θ i ], u i =[v i w i ], follow the relative pose equation of robot i and virtual leader:
其中,Δx=xd-xi,Δy=yd-yi;Among them, Δx=x d -xi , Δy=y d -y i ;
机器人的运动学方程:The kinematic equation of the robot:
其中x,y,θ分别为二维坐标系位置坐标及航向角,分别为x,y,θ的导数。 Where x, y, and θ are the position coordinates and heading angles of the two-dimensional coordinate system, respectively, are the derivatives of x, y, and θ, respectively.
由反步法对线速度v和角速度w设计控制率得:Design control rate of linear velocity v and angular velocity w by backstepping method:
v=vdcos(pθid)+k1pθid (4)v=v d cos(p θid )+k 1 p θid (4)
w=wd+k2vdpyid+k3vrsin(pθid) (5)w=w d +k 2 v d p yid +k 3 v r sin(p θid ) (5)
其中k1,k2,k3为大于0的常数,vd,wd分别为理想线速度和角速度;Where k 1 , k 2 , k 3 are constants greater than 0, v d , w d are ideal linear velocity and angular velocity respectively;
通过对跟随者与虚拟领航者的相对位姿分析,结合运动学方程,得到线速度和角速度控制率,通过控制率调节机器人实际位姿,使其无限逼近理想位姿,实现机器人高精度编队。Through the analysis of the relative pose of the follower and the virtual leader, combined with the kinematic equations, the control rate of the linear velocity and angular velocity is obtained, and the actual pose of the robot is adjusted through the control rate to make it infinitely close to the ideal pose to realize the high-precision formation of the robot.
步骤(4)队形快速恢复算法,包括:Step (4) fast formation recovery algorithm, including:
为提高多机器人的工作效率,当机器人编队整体通过障碍物后需及时恢复队形,沿原轨迹继续前行,设避障后虚拟领航者位姿为p(t)=[xl yl θl]T,设队形快速恢复函数为:In order to improve the working efficiency of multi-robots, when the robot formation as a whole passes through obstacles, it is necessary to restore the formation in time and continue to move forward along the original trajectory. After avoiding obstacles, the virtual leader's pose is p(t)=[x l y l θ l ] T , let the formation fast recovery function be:
p(t)=(p0-p∞)e-μl+p∞ (1)p(t)=(p 0 -p ∞ )e -μl +p ∞ (1)
其中,m>0,p0为的初始值即避障后虚拟领航者位置状态量,p∞为p(t)的稳态值即恢复队形后的位置状态量,p(t)按指数快速递减到p∞的值,可实现队形以指数形式快速恢复队形。Among them, m>0, p 0 is the initial value of the virtual leader's position state after obstacle avoidance, p ∞ is the steady-state value of p(t), that is, the position state after the formation is restored, and p(t) is indexed Decrease quickly to the value of p ∞ , the formation can be quickly restored to the formation in exponential form.
本发明针对机器人编队避障效率低、队形超调大,控制精度低的问题,通过建立队形数据库,对单侧障碍物和双侧障碍物与机器人队形之间的距离进行分析,得到最短路径避障策略,最后根据跟随者与虚拟领航者的相对位姿及运动学方程,利用反步法设计运动控制率,使机器人完成稳定编队的同时安全高效的通过障碍物并迅速恢复队形。The present invention aims at the problems of low robot formation obstacle avoidance efficiency, large formation overshoot, and low control precision. By establishing a formation database, the present invention analyzes the distance between unilateral obstacles and bilateral obstacles and robot formations, and obtains The shortest path obstacle avoidance strategy. Finally, according to the relative pose and kinematic equations of the follower and the virtual leader, use the backstepping method to design the motion control rate, so that the robot can safely and efficiently pass through obstacles and quickly recover the formation while completing a stable formation. .
附图说明Description of drawings
图1为实施例一字型编队位置示意图;Fig. 1 is the schematic diagram of embodiment inline formation position;
图2为实施例三角形编队位置示意图;Fig. 2 is the schematic diagram of embodiment triangular formation position;
图3为实施例躲避上侧障碍物示意图;Fig. 3 is a schematic diagram of an embodiment avoiding upper obstacles;
图4为实施例躲避下侧障碍物示意图;Fig. 4 is a schematic diagram of an embodiment avoiding lower obstacles;
图5为实施例树杈状三角形队形避障示意图;Fig. 5 is the schematic diagram of avoiding obstacles in the triangular formation of tree branch;
图6是本发明的流程示意图。Fig. 6 is a schematic flow chart of the present invention.
具体实施方式Detailed ways
结合实施例说明本发明的具体技术方案。The specific technical solutions of the present invention are described in conjunction with the examples.
如图6所示,基于距离-角度优先级的多移动机器人编队避障方法,包括以下步骤:As shown in Figure 6, the multi-mobile robot formation obstacle avoidance method based on distance-angle priority includes the following steps:
(1)根据机器人数量建立队形数据库;(1) Establish formation database according to the number of robots;
(2)对单双侧障碍物与队形的距离进行分析,判断是否需要避障,若需要则根据距离-角度优先级判断以何种队形避障,并调用步骤(1)中的队形数据库进行避障准备;(2) Analyze the distance between the single and bilateral obstacles and the formation to determine whether obstacle avoidance is required, and if so, determine which formation to avoid based on the distance-angle priority, and call the team in step (1) Shape database for obstacle avoidance preparation;
(3)设计运动控制器,根据步骤(2)中决策的避障队形开始避障;(3) Design motion controller, start obstacle avoidance according to the obstacle avoidance formation of decision-making in step (2);
(4)避障结束后即最后一个机器人通过障碍物,快速恢复队形。(4) After the obstacle avoidance is completed, the last robot passes the obstacle and quickly recovers the formation.
步骤(1)所述的建立队形数据库:The described establishment formation database of step (1):
设有i个机器人参与编队,虚拟领航者表示为L,其位置坐标表示为[xl yl θl]T,跟随者表示为Fi,根据机器人数量设定相应的队形数据库,常用的队形有:一字型如图1、三角形如图2、人字形、矩形、正多边形、圆形等。There are i robots participating in the formation, the virtual leader is denoted as L, its position coordinates are denoted as [ x ly l θ l ] T , and the followers are denoted as F i , and the corresponding formation database is set according to the number of robots. The commonly used The formations are: a font as shown in Figure 1, a triangle as shown in Figure 2, a herringbone, a rectangle, a regular polygon, a circle, etc.
以三个机器人为例,将队形表示为矩阵形式如表1,表2所示:Taking three robots as an example, the formation is expressed in matrix form as shown in Table 1 and Table 2:
表1一字型队形各跟随者位置坐标Table 1 The position coordinates of each follower in the inline formation
表2三角形队形各跟随者位置坐标Table 2 The position coordinates of each follower in the triangle formation
其中且α<β,a>2rs且a<Cl,Cl为最大通讯距离,β为最大通讯角度,rs为机器人自身安全距离半径。in And α<β, a> 2rs and a<C l , where C l is the maximum communication distance, β is the maximum communication angle, and rs is the radius of the safe distance of the robot itself.
为了方便理解,具体表述以三个机器人为例,其他数量机器人同样适用,只需根据当前队形相应计算距离、角度即可。For the convenience of understanding, the specific expression takes three robots as an example, and other numbers of robots are also applicable, just calculate the distance and angle according to the current formation.
步骤(2)中形成距离-角度优先级避障策略的方法为:The method for forming distance-angle priority obstacle avoidance strategy in step (2) is:
设机器人自身安全距离为半径为rs,则两个机器人并排运动的最小安全距离为4rs,设有3个机器人初始状态为三角形队形沿水平方向前进,如图2。Assuming that the robot's own safety distance is the radius r s , the minimum safe distance for two robots moving side by side is 4r s , and the initial state of three robots is a triangular formation moving along the horizontal direction, as shown in Figure 2.
A.单侧障碍物避障策略A. Unilateral obstacle avoidance strategy
当虚拟领航机器人检测到前方为单侧障碍物时:When the virtual pilot robot detects a unilateral obstacle ahead:
(a1)判断是否需要避障,若d0≤asinα+rs,则需要避障,若d0>asinα+rs,则不需要避障;(a1) Determine whether obstacle avoidance is required, if d 0 ≤asinα+ rs , then obstacle avoidance is required, if d 0 >asinα+ rs , then obstacle avoidance is not required;
(a2)判断障碍物方向,位于前进方向的上侧或下侧,如图3,若为上侧,则机器人系统保持初始队形右拐前进进行避障,如图4,若为下侧,则机器人系统保持初始队形左拐前进进行避障;(a2) Determine the direction of the obstacle, which is located on the upper or lower side of the forward direction, as shown in Figure 3. If it is the upper side, the robot system maintains the initial formation and turns right to move forward to avoid obstacles, as shown in Figure 4. If it is the lower side, Then the robot system maintains the initial formation and turns left to avoid obstacles;
(a3)当编队整体通过障碍物后队形收敛到原轨迹水平线继续前行;(a3) When the formation as a whole passes through the obstacle, the formation converges to the horizontal line of the original track and continues to move forward;
B.双侧障碍物避障策略B. Bilateral obstacle avoidance strategy
当虚拟领航机器人检测到前方为双侧侧障碍物时,When the virtual pilot robot detects that there are bilateral obstacles ahead,
(b1)首先判断是否需要避障,若d0≤dl,则需要避障,若d0>dl,则不需要避障,继续保持原队形运动,其中dl=2asinα+2rs;(b1) First judge whether obstacle avoidance is required, if d 0 ≤ d l , then obstacle avoidance is required, if d 0 >d l , then obstacle avoidance is not required, and the original formation movement is continued, where d l = 2asinα+2r s ;
(b2)若需要避障,则判断以哪种队形避障;(b2) If obstacle avoidance is required, determine which formation to avoid the obstacle with;
若d0<2rs,则按单侧避障方案绕行避障;If d 0 <2r s , follow the one-sided obstacle avoidance scheme to avoid obstacles;
若2rs<d0<4rs,则需变换一字队形通过障碍物;If 2r s <d 0 <4r s , it is necessary to change the line formation to pass the obstacle;
若d0>4rs时,则无需改变队形,只改变角度α,成树杈状三角形队形通过,如图5所示;即a值不变,减小α.若障碍物沿机器人运动方向的沿面障碍距离较小,为缩短避障时间,则队形成比例缩小通过障碍物。If d 0 >4r s , there is no need to change the formation, only change the angle α, and pass in a triangular formation like a tree branch, as shown in Figure 5; that is, the value of a remains unchanged, and α is reduced. If the obstacle moves along the robot The along-surface obstacle distance in the direction is small, in order to shorten the obstacle avoidance time, the team forms a proportional reduction to pass the obstacle.
通过对一般环境中可能出现的单双侧障碍物,通过机器人自身安全距离及队形整体与障碍物之间距离计算,得出距离-角度优先级,即先判断是否需要避障,其次优先考虑距离判断是否需要改变队形,最后决定是否需要改变角度以何种队形通过。根据以上策略分析,得出最短路径即消耗最少的方案。By calculating the single-sided and double-sided obstacles that may appear in the general environment, the distance between the robot's own safety distance and the overall formation and the obstacle is calculated to obtain the distance-angle priority, that is, first judge whether it is necessary to avoid obstacles, and then give priority to it The distance judges whether it is necessary to change the formation, and finally decides whether it is necessary to change the angle and which formation to pass. According to the above strategy analysis, the shortest path is the solution with the least consumption.
步骤(3)运动控制器设计:Step (3) motion controller design:
设虚拟领航者的位姿为qd=[xd yd θd],ud=[vd wd],跟随机器人的位姿为qi=[xiyi θi],ui=[vi wi],得跟随机器人i与虚拟领航者的相对位姿方程:Let the pose of the virtual leader be q d =[x d y d θ d ], u d =[v d w d ], and the pose of the following robot be q i =[x i y i θ i ], u i =[v i w i ], we have to follow the relative pose equation of robot i and virtual navigator:
其中,Δx=xd-xi,Δy=yd-yi。Wherein, Δx=x d -xi , Δy=y d -y i .
机器人的运动学方程:The kinematic equation of the robot:
其中x,y,θ分别为二维坐标系位置坐标及航向角,分别为x,y,θ的导数。Where x, y, and θ are the position coordinates and heading angles of the two-dimensional coordinate system, respectively, are the derivatives of x, y, and θ, respectively.
由反步法对线速度v和角速度w设计控制率得:Design control rate of linear velocity v and angular velocity w by backstepping method:
v=vdcos(pθid)+k1pθid (4)v=v d cos(p θid )+k 1 p θid (4)
w=wd+k2vdpyid+k3vrsin(pθid) (5)w=w d +k 2 v d p yid +k 3 v r sin(p θid ) (5)
其中k1,k2,k3为大于0的常数,vd,wd分别为理想线速度和角速度。Where k 1 , k 2 , k 3 are constants greater than 0, v d , w d are ideal linear velocity and angular velocity, respectively.
通过对跟随者与虚拟领航者的相对位姿分析,结合运动学方程,得到线速度和角速度控制率,通过控制率调节机器人实际位姿,使其无限逼近理想位姿,实现机器人高精度编队。Through the analysis of the relative pose of the follower and the virtual leader, combined with the kinematic equations, the control rate of the linear velocity and angular velocity is obtained, and the actual pose of the robot is adjusted through the control rate to make it infinitely close to the ideal pose to realize the high-precision formation of the robot.
步骤(4)队形快速恢复算法:Step (4) formation fast recovery algorithm:
为提高多机器人的工作效率,当机器人编队整体通过障碍物后需及时恢复队形,沿原轨迹继续前行,设避障后虚拟领航者位姿为p(t)=[xl yl θl]T,设队形快速恢复函数为:In order to improve the working efficiency of multi-robots, when the robot formation as a whole passes through the obstacle, it needs to restore the formation in time, continue to move forward along the original trajectory, and set the virtual leader's pose after obstacle avoidance as p(t)=[x l y l θ l ] T , let the formation fast recovery function be:
p(t)=(p0-pゥ)e-mt+p (1)p(t)=(p 0 -pゥ)e -mt +p (1)
其中,m>0,p0为的初始值即避障后虚拟领航者位置状态量,p∞为p(t)的稳态值即恢复队形后的位置状态量,p(t)按指数快速递减到p∞的值,可实现队形以指数形式快速恢复队形。Among them, m>0, p 0 is the initial value of the virtual leader's position state after obstacle avoidance, p ∞ is the steady-state value of p(t), that is, the position state value after the formation is restored, and p(t) is indexed Decrease quickly to the value of p ∞ , the formation can be quickly restored to the formation in exponential form.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010670773.6A CN111813121B (en) | 2020-07-13 | 2020-07-13 | Multi-robot formation obstacle avoidance method based on distance-angle priority |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010670773.6A CN111813121B (en) | 2020-07-13 | 2020-07-13 | Multi-robot formation obstacle avoidance method based on distance-angle priority |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111813121A CN111813121A (en) | 2020-10-23 |
CN111813121B true CN111813121B (en) | 2023-07-18 |
Family
ID=72843053
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010670773.6A Active CN111813121B (en) | 2020-07-13 | 2020-07-13 | Multi-robot formation obstacle avoidance method based on distance-angle priority |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111813121B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112987732A (en) * | 2021-02-20 | 2021-06-18 | 陕西理工大学 | Multi-mobile-robot formation obstacle avoidance control method based on artificial potential field method |
CN113093739B (en) * | 2021-03-25 | 2023-12-15 | 大连海事大学 | Multi-unmanned-ship formation collision-prevention optimal controller, structure and design method thereof |
CN113885517A (en) * | 2021-10-26 | 2022-01-04 | 吉林大学 | A baggage handling vehicle, baggage handling system and method |
CN114489060B (en) * | 2022-01-14 | 2023-06-30 | 珠海云洲智能科技股份有限公司 | Unmanned ship formation control method, terminal equipment and computer readable storage medium |
CN114428516B (en) * | 2022-01-25 | 2024-05-07 | 长春长光博翔无人机有限公司 | Unmanned aerial vehicle cluster obstacle avoidance method |
CN114911231A (en) * | 2022-04-19 | 2022-08-16 | 桂林电子科技大学 | A D-Leader control method for multi-robot formation transformation |
CN114995405A (en) * | 2022-05-19 | 2022-09-02 | 同济大学 | AGV cooperative handling method based on open dynamic environment multi-target cooperative theory |
CN115202338A (en) * | 2022-05-27 | 2022-10-18 | 哈尔滨理工大学 | Collaborative motion control of multiple intelligent vehicles for communication, navigation and obstacle avoidance based on ROS |
CN114935945B (en) * | 2022-06-24 | 2024-11-08 | 中国电子科技集团公司第五十四研究所 | An autonomous route planning method for unmanned aerial vehicles |
CN115167440B (en) * | 2022-07-25 | 2024-07-23 | 中国安全生产科学研究院 | Virtual pilot-following-based multi-robot formation control method |
CN115097849B (en) * | 2022-07-25 | 2024-04-30 | 中国安全生产科学研究院 | Multi-task robot task execution method based on formation transformation |
CN116027796A (en) * | 2022-12-26 | 2023-04-28 | 安徽大学 | Multi-autonomous underwater robot formation control system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678892A (en) * | 2017-11-07 | 2018-02-09 | 黄淮学院 | Recover the continuous data protection method of chain based on jump |
CN110162086A (en) * | 2019-03-21 | 2019-08-23 | 中山大学 | A kind of cluster unmanned plane formation method based on Model Predictive Control frame |
CN110879608A (en) * | 2019-10-18 | 2020-03-13 | 合肥工业大学 | Unmanned system formation rapid self-adaptive decision-making method and device under uncertain environment |
CN111399539A (en) * | 2020-03-27 | 2020-07-10 | 西北工业大学 | A Waypoint-Based UAV Formation Obstacle Avoidance and Collision Avoidance Control Method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7562260B2 (en) * | 2006-04-04 | 2009-07-14 | International Business Machines Corporation | Method and system for performing recovery of a single-threaded queue |
CN102591358B (en) * | 2012-03-12 | 2015-07-08 | 北京航空航天大学 | Multi-UAV (unmanned aerial vehicle) dynamic formation control method |
CN103713640B (en) * | 2013-12-31 | 2016-03-02 | 北京理工大学 | A kind of mobile radio sensor network node motor behavior control method |
KR101679482B1 (en) * | 2014-12-10 | 2016-11-24 | 재단법인대구경북과학기술원 | A multi robot system for avoding obstacle and a method using switching formation strategy for obstable avoidandce |
US10114384B2 (en) * | 2016-09-13 | 2018-10-30 | Arrowonics Technologies Ltd. | Formation flight path coordination of unmanned aerial vehicles |
CN110703751B (en) * | 2019-10-14 | 2022-09-30 | 东南大学 | Semi-autonomous formation and obstacle avoidance control method for multi-mobile robot system |
CN111142533B (en) * | 2020-01-03 | 2023-08-15 | 大连民族大学 | Multi-potential field obstacle avoidance method for multiple unmanned surface vehicles and multi-USV multi-mode formation obstacle avoidance control method in complex environment |
-
2020
- 2020-07-13 CN CN202010670773.6A patent/CN111813121B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678892A (en) * | 2017-11-07 | 2018-02-09 | 黄淮学院 | Recover the continuous data protection method of chain based on jump |
CN110162086A (en) * | 2019-03-21 | 2019-08-23 | 中山大学 | A kind of cluster unmanned plane formation method based on Model Predictive Control frame |
CN110879608A (en) * | 2019-10-18 | 2020-03-13 | 合肥工业大学 | Unmanned system formation rapid self-adaptive decision-making method and device under uncertain environment |
CN111399539A (en) * | 2020-03-27 | 2020-07-10 | 西北工业大学 | A Waypoint-Based UAV Formation Obstacle Avoidance and Collision Avoidance Control Method |
Also Published As
Publication number | Publication date |
---|---|
CN111813121A (en) | 2020-10-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111813121B (en) | Multi-robot formation obstacle avoidance method based on distance-angle priority | |
Chitsaz et al. | Time-optimal paths for a Dubins airplane | |
CN112987732A (en) | Multi-mobile-robot formation obstacle avoidance control method based on artificial potential field method | |
Hartmann et al. | Deep reinforcement learning for time optimal velocity control using prior knowledge | |
CN104281052A (en) | Behavior based navigator-follower multi-agent formation control method | |
CN110231821B (en) | Improved self-adaptive zero-space behavior fusion method for multi-robot formation | |
CN112731942A (en) | Multi-AUV formation control method based on improved navigator virtual structure method | |
CN111781922B (en) | Multi-robot collaborative navigation method based on deep reinforcement learning | |
CN112947501B (en) | A Multi-AUV Hybrid Formation Method Based on Improved Artificial Potential Field Method and State Switching | |
CN106371439A (en) | Unified automatic driving transverse planning method and system | |
CN108469823A (en) | A kind of Mobile Robot Formation's follower method based on homography | |
CN113741454B (en) | A search-based multi-agent path planning method and system | |
CN111506063A (en) | A Graphless Navigation Method for Mobile Robots Based on Hierarchical Reinforcement Learning Framework | |
CN103713640A (en) | Node movement behavior control method for mobile wireless sensor network | |
CN107085432B (en) | Target track tracking method of mobile robot | |
CN114330830A (en) | An operation method and storage medium for multiple AGVs to coordinately transport the same cargo | |
CN115032999B (en) | Dynamic optimization formation transformation method for multi-robot formation | |
CN115373406A (en) | Obstacle crossing method and system for crawling robot | |
CN114779829A (en) | Behavior control method and system for micro flapping wing flying robot | |
Liu et al. | Formation control of multiple behavior-based robots | |
Tubaileh | Layout of flexible manufacturing systems based on kinematic constraints of the autonomous material handling system | |
Cuan et al. | Simultaneous collision avoiding and target tracking for unmanned ground vehicle with velocity and heading rate constraints | |
CN112082555A (en) | Curvature consistency path planning algorithm based on self-adaptive dynamic window method under narrow channel environment | |
CN114895556B (en) | A wheeled robot trajectory tracking control method and computer readable medium | |
CN116069015A (en) | Gesture and voice interaction assistance-based robot semi-autonomous navigation method and system |
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 |