CN113885562A - A collaborative collision avoidance method for multi-UAVs under perception constraints based on speed obstacles - Google Patents

A collaborative collision avoidance method for multi-UAVs under perception constraints based on speed obstacles Download PDF

Info

Publication number
CN113885562A
CN113885562A CN202111172463.2A CN202111172463A CN113885562A CN 113885562 A CN113885562 A CN 113885562A CN 202111172463 A CN202111172463 A CN 202111172463A CN 113885562 A CN113885562 A CN 113885562A
Authority
CN
China
Prior art keywords
unmanned aerial
aerial vehicle
speed
collision avoidance
observation
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.)
Granted
Application number
CN202111172463.2A
Other languages
Chinese (zh)
Other versions
CN113885562B (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.)
Beijing Institute of Technology BIT
Original Assignee
Beijing Institute of Technology BIT
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 Beijing Institute of Technology BIT filed Critical Beijing Institute of Technology BIT
Priority to CN202111172463.2A priority Critical patent/CN113885562B/en
Publication of CN113885562A publication Critical patent/CN113885562A/en
Application granted granted Critical
Publication of CN113885562B publication Critical patent/CN113885562B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/10Simultaneous control of position or course in three dimensions
    • G05D1/101Simultaneous control of position or course in three dimensions specially adapted for aircraft

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)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The invention provides a multi-unmanned aerial vehicle cooperative collision avoidance method under perception constraint based on speed obstacle, wherein a cooperative collision avoidance algorithm is designed in a distributed multi-unmanned aerial vehicle system consisting of a plurality of rotor unmanned aerial vehicles, so that the unmanned aerial vehicles realize interactive collision avoidance based on observed state information (position and speed), and the collision avoidance is realized only based on the observed information, so that the multi-unmanned aerial vehicle system is more flexible, the collision avoidance algorithm established based on the observed information can improve the safety and robustness of the system, the dependence of the system on communication is reduced, and the multi-unmanned aerial vehicle system has better adaptability in a complex environment.

Description

一种基于速度障碍的感知约束下多无人机协同避碰方法A multi-UAV cooperative collision avoidance method under the perception constraint based on speed obstacle

技术领域technical field

本发明涉及一种基于速度障碍的感知约束下多无人机协同避碰方法,属于无人机规划技术领域。The invention relates to a collaborative collision avoidance method for multiple UAVs under the perception constraint based on speed obstacles, and belongs to the technical field of UAV planning.

背景技术Background technique

由于无人机具有高机动能力,低运行功耗和易于拓展开发等特性,对于无人机系统,特别是多无人机系统的研究近些年受到了学界和工业界的广泛关注。多无人机系统在搜索救援、协同探索、娱乐表演等方面有着大量的实际应用。在执行这些复杂任务时,多无人机协同避碰技术是一项基本任务,它直接决定了多无人机系统的以下性能:Due to the characteristics of high maneuverability, low operating power consumption, and easy expansion and development of UAVs, the research on UAV systems, especially multi-UAV systems, has received extensive attention from academia and industry in recent years. Multi-UAV systems have a large number of practical applications in search and rescue, collaborative exploration, and entertainment performances. When performing these complex tasks, the multi-UAV cooperative collision avoidance technology is a basic task, which directly determines the following performances of the multi-UAV system:

安全性:多无人机系统在执行任务时,如队形变换、协同探索等,无人机之间相互避碰的能力;Safety: When the multi-UAV system performs tasks, such as formation change, collaborative exploration, etc., the ability of UAVs to avoid collisions with each other;

鲁棒性:多无人机系统面对外界扰动,如风扰、通信干扰等,整个系统不发生碰撞的能力。Robustness: The ability of the multi-UAV system to face external disturbances, such as wind disturbance, communication disturbance, etc., the entire system does not collide.

针对协同避碰问题,现有以下几种主要的解决方案:For the collaborative collision avoidance problem, there are the following main solutions:

方案1:文献(Y.Xu,S.Lai,J.Li,D.Luo,and Y.You,“Concurrent optimaltrajectory planning for indoor quadrotor formation switching,”Journal ofIntelligent&Robotic Systems,vol.94,no.2,pp.503–520,2019.)和文献(S.H.Arul andD.Manocha,“Dcad:Decentralized collision avoidance with dynamics constraintsfor agile quadrotor swarms,”IEEE Robotics and Automation Letters,vol.5,no.2,pp.1191–1198,2020.)分别基于两种改进的速度障碍方法实现了多无人机避碰。但是这些方法没有考虑感知约束,在感知受限的环境下,这两种方法并不适用。文献(P.Conroy,D.Bareiss,M.Beall,and J.v.d.Berg,“3-d reciprocal collision avoidance onphysical quadrotor helicopters with on-board sensing for relativepositioning,”arXiv preprint arXiv:1411.3794,2014.)实现了考虑感知约束的多无人机避碰,但提出的方法仅适用于较少无人机的情况,且忽略了视野约束带来的单向观测问题。Scheme 1: Literature (Y. Xu, S. Lai, J. Li, D. Luo, and Y. You, "Concurrent optimaltrajectory planning for indoor quadrotor formation switching," Journal of Intelligent&Robotic Systems, vol. 94, no. 2, pp .503–520, 2019.) and literature (S.H.Arul and D.Manocha, “Dcad: Decentralized collision avoidance with dynamics constraints for agile quadrotor swarms,” IEEE Robotics and Automation Letters, vol.5, no.2, pp.1191–1198 , 2020.) based on two improved speed obstacle methods to achieve multi-UAV collision avoidance. But these methods do not consider perceptual constraints, and in perceptually constrained environments, these two methods are not applicable. The literature (P.Conroy, D.Bareiss, M.Beall, and J.v.d.Berg, "3-d reciprocal collision avoidance onphysical quadrotor helicopters with on-board sensing for relativepositioning," arXiv preprint arXiv:1411.3794, 2014.) achieves consideration of sensing Constrained multi-UAV collision avoidance, but the proposed method is only suitable for the case of fewer UAVs, and ignores the one-way observation problem caused by the visual field constraint.

方案2:文献(J.Alonso-Mora,T.Naegeli,R.Siegwart,and P.Beardsley,“Collision avoidance for aerial vehicles in multi-agent scenarios,”AutonomousRobots,vol.39,no.1,pp.101–121,2015.)中提出了基于速度障碍和人工势场的避碰方法,但是这种方法需要依赖全局定位系统,在分布式无人机系统中,该方法不能保证系统的稳定性。Scenario 2: Literature (J. Alonso-Mora, T. Naegeli, R. Siegwart, and P. Beardsley, "Collision avoidance for aerial vehicles in multi-agent scenarios," Autonomous Robots, vol. 39, no. 1, pp. 101 –121, 2015.) proposed a collision avoidance method based on speed obstacles and artificial potential fields, but this method needs to rely on a global positioning system, and in a distributed UAV system, this method cannot guarantee the stability of the system.

方案3:文献(S.Roelofsen,A.Martinoli,and D.Gillet,“3d collisionavoidance algorithm for unmanned aerial vehicles with limited field of viewconstraints,”in 2016 IEEE 55th Conference on Decision and Control(CDC).IEEE,2016,pp.2555-2560.)和文献(S.Roelofsen,D.Gillet,and A.Martinoli,“Collisionavoidance with limited field of view sensing:A velocity obstacle approach,”in2017 IEEE International Conference on Robotics and Automation(ICRA).IEEE,2017,pp.1922-1927.)基于一种速度选择受限的方法实现了带有感知约束的多无人机避碰,但是设计的方法对无人机平台的灵活性有较大限制,且使得系统的可扩展性变差。Scheme 3: Literature (S. Roelofsen, A. Martinoli, and D. Gillet, "3d collisionavoidance algorithm for unmanned aerial vehicles with limited field of viewconstraints," in 2016 IEEE 55th Conference on Decision and Control (CDC). IEEE, 2016, pp.2555-2560.) and literature (S. Roelofsen, D. Gillet, and A. Martinoli, "Collisionavoidance with limited field of view sensing: A velocity obstacle approach," in2017 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2017, pp.1922-1927.) based on a speed selection-limited method to achieve multi-UAV collision avoidance with perception constraints, but the designed method has great restrictions on the flexibility of the UAV platform , and make the scalability of the system worse.

发明内容SUMMARY OF THE INVENTION

本发明提出了一种基于速度障碍的分布式多无人机系统协同避碰方法,每个无人机仅基于局部观测获取外界信息,引入改进的速度障碍算法,使得无人机在受到感知约束的条件下仅基于局部观测信息就可以实现协同避碰。The invention proposes a distributed multi-UAV system collaborative collision avoidance method based on speed obstacles. Each UAV only obtains external information based on local observations, and an improved speed obstacle algorithm is introduced, so that the UAV is constrained by perception. Under the condition of , cooperative collision avoidance can be realized only based on local observation information.

一种基于速度障碍的分布式多无人机系统协同避碰方法,包括:。A distributed multi-UAV system cooperative collision avoidance method based on speed obstacles, comprising:.

步骤1、针对无人机系统中各个无人机,生成初始运动轨迹;Step 1. For each UAV in the UAV system, generate an initial motion trajectory;

步骤2、基于观测信息的实时协同避碰,具体包括:Step 2. Real-time collaborative collision avoidance based on observation information, including:

步骤21、假设存在无人机i和无人机j,其机体半径为r,视野角大小为FOV;无人机i自身飞行速度为vi,且在飞行过程中观测到无人机j的位置信息pj,速度信息vj和机头朝向信息ψj;基于观测信息,协同模式函数定义为:Step 21. Assume that there are UAV i and UAV j, the body radius is r, and the field of view is FOV; the flying speed of UAV i is vi, and the UAV j is observed during the flight. Position information p j , speed information v j and nose orientation information ψ j ; based on the observation information, the cooperative mode function is defined as:

Figure BDA0003293890380000021
Figure BDA0003293890380000021

当g(p,ψ)≥0时,两个无人机为互相观测模式;当g(p,ψ)<0时,无人机i对无人机j单方面观测,即单向观测模式;When g(p, ψ) ≥ 0, the two UAVs are in mutual observation mode; when g(p, ψ) < 0, UAV i observes UAV j unilaterally, that is, unidirectional observation mode ;

步骤22、根据观测信息,视野向量场函数定义为:Step 22. According to the observation information, the field of view vector field function is defined as:

Figure BDA0003293890380000022
Figure BDA0003293890380000022

其中,

Figure BDA0003293890380000031
为无人机i在机身坐标系中x轴方向的单位向量,
Figure BDA0003293890380000032
是观测速度vj的转置,
Figure BDA0003293890380000033
是无人机j的位置信息pj在无人机i机身坐标系x轴上的分量,h(pj),c(pj)是始终大于0的标量函数;当VVF返回的函数值大于0时,无人机i和无人机j存在潜在的碰撞风险;当函数值小于或等于0时,两个无人机无碰撞风险;in,
Figure BDA0003293890380000031
is the unit vector of the drone i in the x-axis direction of the fuselage coordinate system,
Figure BDA0003293890380000032
is the transpose of the observed velocity v j ,
Figure BDA0003293890380000033
is the component of the position information p j of UAV j on the x-axis of the coordinate system of UAV i fuselage, h(p j ), c(p j ) are scalar functions that are always greater than 0; when the function value returned by VVF When it is greater than 0, there is a potential collision risk between UAV i and UAV j; when the function value is less than or equal to 0, there is no collision risk between the two UAVs;

步骤23、在判断可能存在碰撞风险后,通过如下步骤实现协同避碰:Step 23: After judging that there may be a collision risk, implement collaborative collision avoidance through the following steps:

步骤231、基于观测信息生成相对速度障碍集,当观测模式为双向观测时,相对速度障碍集

Figure BDA0003293890380000034
计算如下表达式:Step 231: Generate a relative velocity obstacle set based on the observation information. When the observation mode is bidirectional observation, the relative velocity obstacle set is
Figure BDA0003293890380000034
Evaluate the following expression:

Figure BDA0003293890380000035
Figure BDA0003293890380000035

Figure BDA0003293890380000036
Figure BDA0003293890380000036

其中,u为向无人机输出的控制量,即速度改变量;argmin表示取函数的最小值,

Figure BDA0003293890380000037
为不可行速度集合的边界,||·||表示取模运算;相对速度障碍集
Figure BDA0003293890380000038
为基于控制量u构造的无碰撞速度集合,其几何形状为一个半平面;n为垂直于该半平面的法向量;τ为规划器的执行时间;Among them, u is the control amount output to the UAV, that is, the speed change amount; argmin indicates the minimum value of the function,
Figure BDA0003293890380000037
is the boundary of the infeasible velocity set, ||·|| represents the modulo operation; the relative velocity obstacle set
Figure BDA0003293890380000038
is the collision-free velocity set constructed based on the control quantity u, and its geometric shape is a half-plane; n is the normal vector perpendicular to the half-plane; τ is the execution time of the planner;

当观测模式为单向观测时,如果VVF返回值为c(pj),相对速度障碍集

Figure BDA0003293890380000039
计算如下表达式为:When the observation mode is one-way observation, if the return value of VVF is c(p j ), the relative velocity obstacle set
Figure BDA0003293890380000039
Calculate the following expression as:

vi=vi1vi2vj v i = vi -λ 1 v i2 v j

Figure BDA00032938903800000310
Figure BDA00032938903800000310

Figure BDA00032938903800000311
Figure BDA00032938903800000311

如果VVF返回值为

Figure BDA00032938903800000312
则相对速度障碍集
Figure BDA00032938903800000313
计算如下表达式为:If the VVF return value is
Figure BDA00032938903800000312
then the relative velocity obstacle set
Figure BDA00032938903800000313
Calculate the following expression as:

u=-λ3vi u=-λ 3 v i

Figure BDA00032938903800000314
Figure BDA00032938903800000314

其中λ1,λ2,λ3为正实数;where λ 1 , λ 2 , λ 3 are positive real numbers;

步骤232、生成安全速度集合

Figure BDA00032938903800000315
其中vmax为最大容许速度,∩表示取交集;Step 232, generate a safe speed set
Figure BDA00032938903800000315
Where v max is the maximum allowable speed, ∩ represents the intersection;

D(0,vmax)={p|||p-0||<vmax};D(0, v max )={p|||p-0||<v max };

p表示所有满足要求的速度向量;p represents all velocity vectors that meet the requirements;

步骤233、在生成的安全速度集合内选择最优速度vopt,定义为:Step 233: Select the optimal speed v opt in the generated safe speed set, which is defined as:

Figure BDA0003293890380000041
Figure BDA0003293890380000041

步骤234、根据选择的最优速度生成连续的两条光滑轨迹序列

Figure BDA0003293890380000042
定义为:Step 234: Generate two consecutive smooth trajectory sequences according to the selected optimal speed
Figure BDA0003293890380000042
defined as:

Figure BDA0003293890380000043
Figure BDA0003293890380000043

Figure BDA0003293890380000044
Figure BDA0003293890380000044

其中δ1,δ2是满足δ12<1的常数;Wherein δ 1 , δ 2 are constants satisfying δ 12 <1;

Figure BDA0003293890380000045
的光滑轨迹序列计算如下:
Figure BDA0003293890380000045
The smooth trajectory sequence of is calculated as follows:

Figure BDA0003293890380000046
Figure BDA0003293890380000046

s.t.ζ(0)=pi stζ (0)=pi

Figure BDA0003293890380000047
Figure BDA0003293890380000047

Figure BDA0003293890380000048
Figure BDA0003293890380000048

Figure BDA0003293890380000049
Figure BDA0003293890380000049

其中,ζ表示实时生成的轨迹,

Figure BDA00032938903800000410
是轨迹的二阶导数,
Figure BDA00032938903800000411
是轨迹的三阶导数,
Figure BDA00032938903800000412
表示初始时刻的位置和速度,
Figure BDA00032938903800000413
表示δ1τ时刻的速度,amax表示飞机的最大加速度;where ζ represents the real-time generated trajectory,
Figure BDA00032938903800000410
is the second derivative of the trajectory,
Figure BDA00032938903800000411
is the third derivative of the trajectory,
Figure BDA00032938903800000412
represents the position and velocity at the initial moment,
Figure BDA00032938903800000413
Represents the speed at time δ 1 τ, a max represents the maximum acceleration of the aircraft;

Figure BDA00032938903800000414
的光滑序列计算如下:
Figure BDA00032938903800000414
The smooth sequence of is calculated as follows:

Figure BDA00032938903800000415
Figure BDA00032938903800000415

Figure BDA00032938903800000416
Figure BDA00032938903800000416

Figure BDA00032938903800000417
Figure BDA00032938903800000417

Figure BDA00032938903800000418
Figure BDA00032938903800000418

Figure BDA00032938903800000419
Figure BDA00032938903800000419

其中ζnew为新生成的光滑轨迹序列,

Figure BDA00032938903800000420
为上一段轨迹序列
Figure BDA00032938903800000421
的末位置;where ζ new is the newly generated smooth trajectory sequence,
Figure BDA00032938903800000420
is the previous track sequence
Figure BDA00032938903800000421
the end position of ;

步骤3、执行完两段连续的两段轨迹后,使无人机回归初始运动轨迹。Step 3. After executing two consecutive two segments of trajectory, make the UAV return to the initial motion trajectory.

较佳的,λ1,λ2,λ3计算过程如下:Preferably, the calculation process of λ 1 , λ 2 , λ 3 is as follows:

首先令first order

Figure BDA0003293890380000051
Figure BDA0003293890380000051

其中,

Figure BDA0003293890380000052
是无人机j的位置信息pj在无人机i机身坐标系x轴上的分量,
Figure BDA0003293890380000053
是无人机j的位置信息pj在无人机i机身坐标系y轴上的分量,
Figure BDA0003293890380000054
为无人机i自身机体坐标系的位置,其数值都始终为0;in,
Figure BDA0003293890380000052
is the component of the position information p j of UAV j on the x-axis of UAV i body coordinate system,
Figure BDA0003293890380000053
is the component of position information p j of UAV j on the y-axis of UAV i body coordinate system,
Figure BDA0003293890380000054
is the position of the coordinate system of the drone i itself, and its value is always 0;

由kij得到:Obtained from k ij :

Figure BDA0003293890380000055
Figure BDA0003293890380000055

其中,x1为无人机i,j的相对速度在机体x轴上的分量,x2为无人机j的位置在x轴上的投影。

Figure BDA0003293890380000056
分别为无人机i,j的速度在x,y轴上的分量;Among them, x 1 is the component of the relative velocity of UAV i, j on the x-axis of the body, and x 2 is the projection of the position of UAV j on the x-axis.
Figure BDA0003293890380000056
are the components of the velocities of the drones i and j on the x and y axes, respectively;

make

Figure BDA0003293890380000057
Figure BDA0003293890380000057

Figure BDA0003293890380000058
Figure BDA0003293890380000058

其中

Figure BDA0003293890380000059
为无人机i,j位置连线中点的x、y轴坐标;in
Figure BDA0003293890380000059
is the x and y-axis coordinates of the midpoint of the line connecting the positions of UAV i and j;

得到:get:

Figure BDA00032938903800000510
Figure BDA00032938903800000510

其中y1为无人机j的位置在y轴上的投影,y2为无人机i和无人机j两个机身轮廓靠近一侧的两条公切线交点在y轴上的投影;Among them, y 1 is the projection of the position of the drone j on the y-axis, and y 2 is the projection on the y-axis of the intersection of the two common tangents of the two fuselage contours of the drone i and the drone j close to one side;

由m的值得到λ1的最大值:The maximum value of λ 1 is obtained from the value of m:

Figure BDA0003293890380000061
Figure BDA0003293890380000061

其中α-θ为公切线与x轴的夹角;where α-θ is the angle between the common tangent and the x-axis;

基于此,得到λ1的范围为:Based on this, the range of λ 1 is obtained as:

Figure BDA0003293890380000062
Figure BDA0003293890380000062

根据几何关系,计算λ3According to the geometric relationship, calculate λ 3 :

Figure BDA0003293890380000063
Figure BDA0003293890380000063

较佳的,所述步骤3具体包括如下步骤:Preferably, the step 3 specifically includes the following steps:

步骤31、将无人机已经经过的路径点和执行过程中未经过但小于距离阈值的路径点从当前路径点矩阵中剔除;Step 31. Eliminate from the current waypoint matrix the waypoints that the UAV has passed and the waypoints that have not been passed in the execution process but are smaller than the distance threshold;

步骤32、将剩余的时间进行重分配,生成与路径点矩阵匹配的新的时间点矩阵;Step 32, redistribute the remaining time to generate a new time point matrix that matches the waypoint matrix;

步骤33、求解初始轨迹生成框架,得到一条通过剩余路径点的新轨迹。Step 33: Solve the initial trajectory generation framework to obtain a new trajectory passing through the remaining path points.

较佳的,基于每个无人机的初始任务,生成径点序列和与路径点对应的时间序列,将任务映射为运动轨迹,并采用3阶B样条曲线生成运动轨迹。Preferably, based on the initial task of each UAV, a path point sequence and a time sequence corresponding to the path point are generated, the task is mapped into a motion trajectory, and a third-order B-spline curve is used to generate the motion trajectory.

较佳的,所述步骤1中,通过MATLAB的优化求解器Quadprog实现运动轨迹生成。Preferably, in the step 1, the motion trajectory is generated through Quadprog, an optimization solver of MATLAB.

本发明具有如下有益效果:The present invention has the following beneficial effects:

本发明提出一种基于速度障碍的感知约束下多无人机协同避碰方法,在多个旋翼无人机组成的分布式多无人机系统中,设计协同避碰算法,使无人机基于观测的状态信息(位置、速度)实现交互避碰,只基于观测信息实现避碰,这使得多无人机系统更为灵活,基于观测信息建立的避碰算法能够提高系统的安全性、鲁棒性,减少了系统对于通信的依赖,使得多无人机系统在复杂环境下具有更好的适应能力。The invention proposes a collaborative collision avoidance method for multiple UAVs under the perception constraint based on speed obstacles. The observed state information (position, speed) realizes interactive collision avoidance, and the collision avoidance is only based on the observation information, which makes the multi-UAV system more flexible. The collision avoidance algorithm established based on the observation information can improve the safety and robustness of the system. It reduces the system's dependence on communication and makes the multi-UAV system have better adaptability in complex environments.

本发明方法解决了一个工程中实际存在的问题,即考虑了视野约束,该方法仅需要一个相机传感器即可实现多无人机系统的交互避碰,可以起到节省硬件成本的作用;The method of the invention solves an actual problem in an engineering, that is, considering the visual field constraint, the method only needs one camera sensor to realize the interactive collision avoidance of the multi-UAV system, and can save the hardware cost;

基于滚动优化框架进行规划,规划所需要的信息通过实时观测获得,这可以提高系统的鲁棒性;改进的避碰方法可以基于速度方向判断潜在碰撞风险,这可以提高系统的规划效率。Planning is carried out based on the rolling optimization framework, and the information required for planning is obtained through real-time observation, which can improve the robustness of the system; the improved collision avoidance method can judge potential collision risks based on the speed direction, which can improve the planning efficiency of the system.

本方法权衡了任务与安全两项指标,可以使得系统在保证安全的前提下完成既定任务。The method balances the two indicators of task and safety, which can make the system complete the given task under the premise of ensuring safety.

附图说明Description of drawings

图1表示两个无人机交互避碰示意图;Figure 1 shows a schematic diagram of two UAVs interacting to avoid collision;

图2表示基于感知范围建立的视野向量场;Fig. 2 shows the field of view vector field established based on the perception range;

图3表示改进的相对速度障碍集合;Figure 3 represents an improved set of relative velocity obstacles;

图4表示改进的协同避碰算法示意图;Figure 4 shows a schematic diagram of an improved collaborative collision avoidance algorithm;

图5表示改进的基于相对速度障碍集的飞行仿真实验图。Figure 5 shows the improved flight simulation experiment diagram based on the relative velocity obstacle set.

具体实施方式Detailed ways

下面结合附图和实例对本发明做进一步说明:Below in conjunction with accompanying drawing and example, the present invention will be further described:

步骤1、生成面向子任务的运动轨迹Step 1. Generate subtask-oriented motion trajectories

考虑由n(n≥6)个无人机组成的多无人机系统。对于系统中的每个无人机

Figure BDA0003293890380000071
Figure BDA0003293890380000072
其初始任务为给定的路径点序列
Figure BDA0003293890380000073
和与路径点对应的时间序列
Figure BDA0003293890380000074
将任务映射为运动轨迹,并采用3阶B样条曲线生成运动轨迹,即Consider a multi-UAV system consisting of n (n ≥ 6) UAVs. For each drone in the system
Figure BDA0003293890380000071
Figure BDA0003293890380000072
Its initial task is a given sequence of waypoints
Figure BDA0003293890380000073
and the time series corresponding to the waypoints
Figure BDA0003293890380000074
The task is mapped to the motion trajectory, and the third-order B-spline curve is used to generate the motion trajectory, namely

Figure BDA0003293890380000075
Figure BDA0003293890380000075

其中cj∈C=[c0,c1,...,cM-1]T是B样条的控制点,

Figure BDA0003293890380000076
是3阶B样条的基函数。任务初始目标是生成一条通过所有给定路径点的轨迹,同时要求轨迹要光滑,其优化框架定义为:where c j ∈ C = [c 0 , c 1 , ..., c M-1 ] T is the control point of the B-spline,
Figure BDA0003293890380000076
is the basis function of a B-spline of order 3. The initial goal of the task is to generate a trajectory that passes through all given path points, and the trajectory is required to be smooth. The optimization framework is defined as:

min JS+JW min J S +J W

Figure BDA0003293890380000077
Figure BDA0003293890380000077

Figure BDA0003293890380000078
Figure BDA0003293890380000078

其中JS是使轨迹光滑的代价函数,JW是使轨迹通过给定路径点的代价函数,

Figure BDA0003293890380000079
是初始和终止状态的约束,
Figure BDA00032938903800000710
是满足无人机性能的运动学约束,
Figure BDA00032938903800000711
是控制点矩阵C的向量形式。其中,JS通过惩罚轨迹的三阶导数得到,即where J S is the cost function to make the trajectory smooth, J W is the cost function to make the trajectory pass through a given waypoint,
Figure BDA0003293890380000079
are the constraints of the initial and final states,
Figure BDA00032938903800000710
is the kinematic constraint that satisfies the performance of the UAV,
Figure BDA00032938903800000711
is the vector form of the control point matrix C. where J S is obtained by penalizing the third derivative of the trajectory, i.e.

Figure BDA0003293890380000081
Figure BDA0003293890380000081

在这里α是一个常数,

Figure BDA0003293890380000082
where α is a constant,
Figure BDA0003293890380000082

Figure BDA0003293890380000083
Figure BDA0003293890380000083

是一个半正定矩阵。is a positive semi-definite matrix.

给定a=s/t,JW定义为:Given a = s/t, J W is defined as:

Figure BDA0003293890380000084
Figure BDA0003293890380000084

这里矩阵H定义为Here the matrix H is defined as

Figure BDA0003293890380000085
Figure BDA0003293890380000085

约束项定义为:The constraints are defined as:

Figure BDA0003293890380000086
Figure BDA0003293890380000086

Figure BDA0003293890380000087
Figure BDA0003293890380000087

Figure BDA0003293890380000088
Figure BDA0003293890380000088

Figure BDA0003293890380000089
Figure BDA0003293890380000089

Figure BDA00032938903800000810
Figure BDA00032938903800000810

其中Λ,An,Γn是映射矩阵。where Λ, A n , Γ n are the mapping matrices.

上述问题可以通过MATLAB的优化求解器Quadprog实现。The above problem can be implemented by Quadprog, the optimization solver of MATLAB.

步骤2、基于观测信息的实时协同避碰Step 2. Real-time collaborative collision avoidance based on observation information

步骤21、假设存在无人机i和其他无人机j,其机体半径为r,视野角大小为FOV。无人机i自身飞行速度为vi,且在飞行过程中可以观测到处在视野范围内其他无人机的位置信息pj,速度信息vj和机头朝向信息ψj。基于观测信息,协同模式函数定义为Step 21. Suppose that there are UAV i and other UAV j, the body radius is r, and the field of view angle is FOV. The flying speed of the drone i is v i , and the position information p j , the speed information v j and the nose orientation information ψ j of other drones in the field of view can be observed during the flight. Based on the observational information, the collaborative mode function is defined as

Figure BDA00032938903800000811
Figure BDA00032938903800000811

当g(p,ψ)≥0时,两个无人机为互相观测模式;当g(p,ψ)<0时,无人机i对无人机j单方面观测,即单向观测模式。When g(p, ψ) ≥ 0, the two UAVs are in mutual observation mode; when g(p, ψ) < 0, UAV i observes UAV j unilaterally, that is, unidirectional observation mode .

步骤22、根据观测信息,视野向量场函数定义为Step 22. According to the observation information, the field of view vector field function is defined as

Figure BDA0003293890380000091
Figure BDA0003293890380000091

其中

Figure BDA0003293890380000092
为无人机i在机身x轴方向的单位向量,
Figure BDA0003293890380000093
是观测速度vj的转置,
Figure BDA0003293890380000094
是无人机j的位置信息pj在无人机i机身坐标系x轴上的分量,h(pj),c(pj)是始终大于0的标量函数。当VVF返回的函数值大于0时,观测无人机和目标无人机存在潜在的碰撞风险;当函数值小于或等于0时,两个无人机无碰撞风险。in
Figure BDA0003293890380000092
is the unit vector of the drone i in the x-axis direction of the fuselage,
Figure BDA0003293890380000093
is the transpose of the observed velocity v j ,
Figure BDA0003293890380000094
is the component of position information p j of UAV j on the x-axis of UAV i body coordinate system, h(p j ), c(p j ) are scalar functions that are always greater than 0. When the function value returned by VVF is greater than 0, there is a potential collision risk between the observation UAV and the target UAV; when the function value is less than or equal to 0, the two UAVs have no collision risk.

步骤23、在判断可能存在碰撞风险后,通过如下步骤实现协同避碰:Step 23: After judging that there may be a collision risk, implement collaborative collision avoidance through the following steps:

步骤231、基于观测信息生成相对速度障碍集Mod_ORCA(pj,vi,vj,mode),其中mode是观测模式,其数值由g(p,ψ)给出。当观测模式为双向观测时,计算如下表达式:Step 231: Generate a relative velocity obstacle set Mod_ORCA(p j, v i , v j , mode) based on the observation information, where mode is the observation mode, and its value is given by g(p, ψ). When the observation mode is two-way observation, the following expression is calculated:

Figure BDA0003293890380000095
Figure BDA0003293890380000095

Figure BDA0003293890380000096
Figure BDA0003293890380000096

其中,u为速度改变量,其计算方法为求解无人机i,j的相对速度到不可行速度集合边界的最小值。通过求解u可以得到从当前速度到期望速度的最小变化量。其中,argmin表示取函数的最小值,

Figure BDA0003293890380000097
为不可行速度集合的边界,||·||表示取模运算。
Figure BDA0003293890380000098
为基于控制量u构造的无碰撞速度集合,其几何形状为一个半平面。
Figure BDA0003293890380000099
的计算方法为找到所有与u的内积大于或等于0的速度,使得集合内的速度都是安全无碰撞的。其中,n为垂直于该半平面的法向量,其计算方法为取u的单位向量,τ为规划器的执行时间。Among them, u is the speed change amount, and its calculation method is to solve the relative speed of the UAV i, j to the minimum value of the boundary of the infeasible speed set. The minimum change from the current speed to the desired speed can be obtained by solving for u. Among them, argmin means to take the minimum value of the function,
Figure BDA0003293890380000097
is the boundary of the infeasible velocity set, and ||·|| represents the modulo operation.
Figure BDA0003293890380000098
is a collision-free velocity set constructed based on the control quantity u, and its geometric shape is a half-plane.
Figure BDA0003293890380000099
The calculation method is to find all velocities whose inner product with u is greater than or equal to 0, so that the velocities in the set are safe and collision-free. Among them, n is the normal vector perpendicular to the half-plane, which is calculated by taking the unit vector of u, and τ is the execution time of the planner.

当观测模式为单向观测时,如果VVF返回值为c(pj),计算如下表达式:When the observation mode is one-way observation, if the return value of VVF is c(p j ), the following expression is calculated:

vi=vi1vi2vj v i = vi -λ 1 v i2 v j

Figure BDA00032938903800000910
Figure BDA00032938903800000910

Figure BDA00032938903800000911
Figure BDA00032938903800000911

如果VVF返回值为

Figure BDA0003293890380000101
则If the VVF return value is
Figure BDA0003293890380000101
but

u=-λ3vi u=-λ 3 v i

Figure BDA0003293890380000102
Figure BDA0003293890380000102

其中λ1,λ2,λ3为正实数,结合改进的协同避碰算法示意图(图4),其数值计算过程如下:Among them λ 1 , λ 2 , λ 3 are positive real numbers, combined with the schematic diagram of the improved cooperative collision avoidance algorithm (Fig. 4), the numerical calculation process is as follows:

首先令first order

Figure BDA0003293890380000103
Figure BDA0003293890380000103

其中,

Figure BDA0003293890380000104
是无人机j的位置信息pj在无人机i机身坐标系x轴上的分量,
Figure BDA0003293890380000105
是无人机j的位置信息pj在无人机i机身坐标系y轴上的分量,
Figure BDA0003293890380000106
为无人机i自身机体坐标系的位置,其数值都始终为0。in,
Figure BDA0003293890380000104
is the component of position information p j of UAV j on the x-axis of UAV i fuselage coordinate system,
Figure BDA0003293890380000105
is the component of the position information p j of UAV j on the y-axis of UAV i body coordinate system,
Figure BDA0003293890380000106
is the position of the drone i's own body coordinate system, and its value is always 0.

由kij可以得到can be obtained from k ij

Figure BDA0003293890380000107
Figure BDA0003293890380000107

其中,x1为无人机i,j的相对速度在机体x轴上的分量,x2为无人机j的位置在x轴上的投影。

Figure BDA0003293890380000108
分别为无人机i,j的速度在x,y轴上的分量。Among them, x 1 is the component of the relative velocity of UAV i, j on the x-axis of the body, and x 2 is the projection of the position of UAV j on the x-axis.
Figure BDA0003293890380000108
are the components of the velocities of the drones i and j on the x and y axes, respectively.

make

Figure BDA0003293890380000109
Figure BDA0003293890380000109

Figure BDA00032938903800001010
Figure BDA00032938903800001010

其中

Figure BDA00032938903800001011
为无人机i,j位置连线中点的x、y轴坐标。in
Figure BDA00032938903800001011
is the x and y-axis coordinates of the midpoint of the line connecting the positions of UAV i and j.

可以得到can get

Figure BDA00032938903800001012
Figure BDA00032938903800001012

其中y1为无人机j的位置在y轴上的投影,y2为无人机i和无人机j两个机身轮廓(圆形)靠近一侧的两条公切线交点在y轴上的投影;where y 1 is the projection of the position of drone j on the y-axis, and y 2 is the intersection of the two common tangents of the two fuselage contours (circles) of drone i and drone j close to one side on the y-axis projection on;

由m的值可以得到λ1的最大值The maximum value of λ 1 can be obtained from the value of m

Figure BDA0003293890380000111
Figure BDA0003293890380000111

其中α-θ为公切线与x轴的夹角。where α-θ is the angle between the common tangent and the x-axis.

基于此,可以得到λ1的范围为Based on this, the range of λ 1 can be obtained as

Figure BDA0003293890380000112
Figure BDA0003293890380000112

根据几何关系,采用计算λ3的步骤,可以得到According to the geometric relationship, using the steps of calculating λ 3 , we can get

Figure BDA0003293890380000113
Figure BDA0003293890380000113

步骤232、生成安全速度集合ORCAτ=D(0,vmax)∩Mod_ORCA,其中vmax为最大容许速度,∩表示取交集;Step 232: Generate a safe speed set ORCA τ =D(0, v max )∩Mod_ORCA, where v max is the maximum allowable speed, and ∩ represents the intersection;

D(0,vmax)={p|||p-0||<vmax}。D(0, v max )={p|||p-0||<v max }.

其中,p表示所有满足要求的速度向量;D(0,vmax)构造了一个圆形集合,其计算方法为找到所有模值小于vmax的速度集合,该集合表示无人机动力学模型所容许的速度空间。通过求解D(0,vmax)可以得到无人机在飞行时速度可以达到的最大值和最小值,通过求解ORCAτ可以得到在求解轨迹时满足动力学要求的安全无碰撞的速度集合。Among them, p represents all the speed vectors that meet the requirements; D(0, v max ) constructs a circular set, the calculation method is to find all the speed sets whose modulus value is less than v max , this set represents the allowable speed of the UAV dynamics model speed space. By solving D(0, v max ), the maximum and minimum speed that the UAV can reach during flight can be obtained, and by solving ORCA τ , a safe and collision-free speed set that meets the dynamic requirements when solving the trajectory can be obtained.

步骤233、在生成的安全速度集合内选择最优速度vopt,定义为:Step 233: Select the optimal speed v opt in the generated safe speed set, which is defined as:

Figure BDA0003293890380000114
Figure BDA0003293890380000114

步骤234、根据选择的最优速度生成连续的两条光滑轨迹序列

Figure BDA0003293890380000115
定义为Step 234: Generate two consecutive smooth trajectory sequences according to the selected optimal speed
Figure BDA0003293890380000115
defined as

Figure BDA0003293890380000116
Figure BDA0003293890380000116

Figure BDA0003293890380000117
Figure BDA0003293890380000117

其中δ1,δ2是满足δ12<1的常数;Wherein δ 1 , δ 2 are constants satisfying δ 12 <1;

Figure BDA0003293890380000118
的光滑轨迹序列计算如下:
Figure BDA0003293890380000118
The smooth trajectory sequence of is calculated as follows:

Figure BDA0003293890380000121
Figure BDA0003293890380000121

s.t.ζ(0)=pi stζ (0)=pi

Figure BDA0003293890380000122
Figure BDA0003293890380000122

Figure BDA0003293890380000123
Figure BDA0003293890380000123

Figure BDA0003293890380000124
Figure BDA0003293890380000124

其中,ζ表示实时生成的轨迹,

Figure BDA0003293890380000125
是轨迹的二阶导数,
Figure BDA0003293890380000126
是轨迹的三阶导数,
Figure BDA0003293890380000127
表示初始时刻的位置和速度,
Figure BDA0003293890380000128
表示δ1τ时刻的速度,amax表示飞机的最大加速度;where ζ represents the real-time generated trajectory,
Figure BDA0003293890380000125
is the second derivative of the trajectory,
Figure BDA0003293890380000126
is the third derivative of the trajectory,
Figure BDA0003293890380000127
represents the position and velocity at the initial moment,
Figure BDA0003293890380000128
Represents the speed at time δ 1 τ, a max represents the maximum acceleration of the aircraft;

Figure BDA0003293890380000129
的光滑序列计算如下:
Figure BDA0003293890380000129
The smooth sequence of is calculated as follows:

Figure BDA00032938903800001210
Figure BDA00032938903800001210

Figure BDA00032938903800001211
Figure BDA00032938903800001211

Figure BDA00032938903800001212
Figure BDA00032938903800001212

Figure BDA00032938903800001213
Figure BDA00032938903800001213

Figure BDA00032938903800001214
Figure BDA00032938903800001214

其中ζnew为新生成的光滑轨迹序列,

Figure BDA00032938903800001215
为上一段轨迹序列
Figure BDA00032938903800001216
的末位置;where ζ new is the newly generated smooth trajectory sequence,
Figure BDA00032938903800001215
is the previous track sequence
Figure BDA00032938903800001216
the end position of ;

步骤3、在上述步骤实施完成后,无人机在当前交互过程中,即时间τ内,可以避免碰撞。在这之后,实施如下步骤,使无人机回归初始轨迹:Step 3. After the above steps are completed, the UAV can avoid collision during the current interaction process, that is, within the time τ. After this, perform the following steps to return the drone to the initial trajectory:

步骤31、执行路径点更新函数Waypoints_Update(P)。该函数将无人机已经经过的路径点和执行过程中未经过但小于距离阈值的路径点从当前路径点矩阵中剔除;Step 31: Execute the waypoints update function Waypoints_Update(P). This function removes the waypoints that the UAV has passed and the waypoints that have not been passed during the execution process but are smaller than the distance threshold from the current waypoint matrix;

步骤32、执行时间更新函数Time_Reallocation(T)。该函数将剩余的时间进行重分配,生成与路径点矩阵匹配的新的时间点矩阵。如仅依靠剩余时间无法生成可行轨迹,则迭代执行T=T+ΔT,直到生成的轨迹可行。Step 32: Execute the time update function Time_Reallocation(T). This function redistributes the remaining time to generate a new matrix of time points that matches the matrix of waypoints. If a feasible trajectory cannot be generated only by the remaining time, T=T+ΔT is executed iteratively until the generated trajectory is feasible.

步骤33、求解初始轨迹生成框架,得到一条通过剩余路径点的新轨迹。在求解过程中,需要使用MATLAB的Quadprog函数作为求解器。Step 33: Solve the initial trajectory generation framework to obtain a new trajectory passing through the remaining path points. During the solution process, the Quadprog function of MATLAB needs to be used as the solver.

经过上面的步骤,无人机可以生成回到初始任务的轨迹。通过在线滚动优化,将避碰的步骤和回归的步骤重复执行,直到每个无人机都到达自己的终止位置。After the above steps, the drone can generate a trajectory back to the initial mission. With online rolling optimization, the steps of collision avoidance and regression are repeated until each drone reaches its own end position.

图1展示了两个无人机协同避碰的全过程。在初始任务给定的情况下,两个无人机通过实时观测信息,规划生成了避碰的轨迹;在避碰结束后生成了返回当前任务的轨迹。Figure 1 shows the whole process of cooperative collision avoidance between two UAVs. When the initial mission is given, the two UAVs plan and generate collision avoidance trajectories through real-time observation information; after collision avoidance, a trajectory returning to the current mission is generated.

图2展示了构建的视野向量场。观测无人机构建基于自身机体坐标系的视野向量场,并通过场函数过滤没有潜在碰撞风险的无人机。Figure 2 shows the constructed field of view vector field. The observation UAV builds a field of view vector field based on its own body coordinate system, and filters the UAVs without potential collision risk through the field function.

图3至图4展示了改进的速度障碍集合以及具体改进的计算方法。Figures 3 to 4 show the improved set of speed obstacles and the specific improved calculation method.

接着,本发明对提出的控制方法进行了仿真与实物实验。本发明进行了两类仿真实验:一类是对于改进的避碰算法进行实验验证。在该仿真中,本发明生成了由两个无人机组成的系统,在实验过程中两个无人机始终保持单向观测状态,且两个无人机存在潜在的碰撞可能。通过执行协同避碰算法,观测无人机轻微改变当前轨迹躲避障碍无人机。对比传统的方法,该方法更为智能,避碰效果更好;另一类是六个无人机组成的多无人机系统进行协同避碰仿真的实验。在该仿真中,给定每个无人机初始任务轨迹,无人机在运动过程中通过观测信息与其他无人机协同避碰,最终到达目标点。本发明给出整个运动过程中的位置和速度曲线证明算法的有效性。在实物实验中,本发明建立了六个无人机组成的多无人机系统,并基于第二类仿真的条件进行实验验证。在实验过程中,需要用C++的Eigen库进行矩阵运算,用OOQP库求解优化问题。Next, the present invention conducts simulation and physical experiments on the proposed control method. Two types of simulation experiments are carried out in the present invention: one is the experimental verification of the improved collision avoidance algorithm. In this simulation, the present invention generates a system composed of two UAVs. During the experiment, the two UAVs always maintain a one-way observation state, and the two UAVs have a potential collision possibility. By executing the collaborative collision avoidance algorithm, the observation UAV slightly changes the current trajectory to avoid the obstacle UAV. Compared with the traditional method, this method is more intelligent and has better collision avoidance effect. In this simulation, given the initial mission trajectory of each UAV, the UAV cooperates with other UAVs to avoid collisions through observation information during the movement process, and finally reaches the target point. The present invention provides the position and velocity curve in the whole movement process to prove the validity of the algorithm. In the physical experiment, the present invention establishes a multi-unmanned aerial vehicle system composed of six unmanned aerial vehicles, and conducts experimental verification based on the conditions of the second type of simulation. During the experiment, the Eigen library of C++ needs to be used for matrix operations, and the OOQP library is used to solve the optimization problem.

图5展示了第一类仿真的实验效果,其中两个无人机的路径点分别为P1=[0,0;4,0],P2=[2,-1.7;2,1.7]。Figure 5 shows the experimental results of the first type of simulation, where the path points of the two UAVs are P 1 =[0, 0; 4, 0], P 2 =[2, -1.7; 2, 1.7], respectively.

六个无人机的路径点分别为:The waypoints for the six drones are:

P1=[3.97,-0.05;0.04,-0.05],P1 = [3.97, -0.05; 0.04, -0.05],

P2=[0.02,0.05;3.90,0.05],P2 = [0.02, 0.05; 3.90, 0.05],

P3=[1.8,1.7;1.8,-0.05;2.1,-1.7],P3 = [1.8, 1.7; 1.8, -0.05; 2.1, -1.7],

P4=[2.0,-1.7;2.0,0.05;1.7,1.7],P4 = [2.0, -1.7; 2.0, 0.05; 1.7, 1.7],

P5=[0.04,1.2;2.20,-1.00;3.47,-1.2],P5 = [0.04, 1.2; 2.20, -1.00; 3.47, -1.2],

P6=[3.47,1.6;2.80,0;0.04,-1]。P6=[3.47, 1.6; 2.80, 0; 0.04, -1].

六个无人机在同一时刻两两之间满足安全距离的约束。The six drones meet the safety distance constraints in pairs at the same time.

在初始位置六个无人机分别得到初始任务轨迹。在执行任务的过程中如发现潜在碰撞风险,则执行协同避碰,在确定安全之后重新规划任务轨迹,继续执行既定任务,最终到达目标位置。At the initial position, the six UAVs get the initial mission trajectory respectively. If a potential collision risk is found during the execution of the mission, collaborative collision avoidance will be performed, the mission trajectory will be re-planned after the safety is determined, and the mission will continue to be executed, and finally reach the target position.

通过仿真和实验验证,可以说明,使用这种基于速度障碍的感知约束下多无人机协同避碰方法,能够在只有局部观测信息的情况下,实现多无人机系统的协同避碰,并且能够使每个无人机在避碰结束后回归初始轨迹,在保证安全的前提下完成任务。此外,在线滚动优化过程中的所有优化问题都是标准的二次规划问题,采用优化求解器一定可以生成可行轨迹,这保证了算法的可行性。Through simulation and experimental verification, it can be shown that the use of this multi-UAV cooperative collision avoidance method under the perception constraint based on speed obstacles can realize the cooperative collision avoidance of multi-UAV systems with only local observation information, and It can make each UAV return to the initial trajectory after collision avoidance, and complete the task under the premise of ensuring safety. In addition, all optimization problems in the online rolling optimization process are standard quadratic programming problems, and feasible trajectories can be generated by using the optimization solver, which ensures the feasibility of the algorithm.

以上所述的仅为本发明的较佳实施例而已,本发明不仅仅局限于上述实施例,凡在本发明的精神和原则之内所做的局部改动、等同替换、改进等均应包含在本发明的保护范围之内。The above are only the preferred embodiments of the present invention, and the present invention is not limited to the above-mentioned embodiments. All local changes, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention should be included in the within the protection scope of the present invention.

Claims (5)

1. A distributed multi-unmanned aerial vehicle system cooperative collision avoidance method based on speed obstacle is characterized by comprising the following steps: .
Step 1, generating an initial motion track for each unmanned aerial vehicle in an unmanned aerial vehicle system;
step 2, real-time cooperative collision avoidance based on observation information, specifically comprising:
step 21, assuming that an unmanned plane i and an unmanned plane j exist, the radius of the plane is r, and the size of the view angle is FOV; unmanned plane i self flying speed viAnd observe the position information p of the unmanned plane j in the flight processjVelocity information vjAnd handpiece orientation information psij(ii) a Based on the observation information, the collaborative mode function is defined as:
Figure FDA0003293890370000011
when g (p, psi) is more than or equal to 0, the two unmanned aerial vehicles are in a mutual observation mode; when g (p, psi) < 0, the unmanned aerial vehicle i carries out unilateral observation on the unmanned aerial vehicle j, namely, in a unidirectional observation mode;
step 22, according to the observation information, the view vector field function is defined as:
Figure FDA0003293890370000012
wherein,
Figure FDA0003293890370000013
is a unit vector of the unmanned plane i in the x-axis direction in the fuselage coordinate system,
Figure FDA0003293890370000014
is the observed velocity vjThe transpose of (a) is performed,
Figure FDA0003293890370000015
is the location information p of the drone jjComponent on the x-axis of the unmanned plane i-body coordinate system, h (p)j),c(pj) Is a scalar function that is always greater than 0; when the function value returned by the VVF is larger than 0, the unmanned aerial vehicle i and the unmanned aerial vehicle j have potential collision risks; when the function value is less than or equal to 0, the two unmanned aerial vehicles have no collision risk;
step 23, after judging that there is a collision risk, realizing cooperative collision avoidance by the following steps:
231, generating a relative velocity obstacle set based on the observation information, and when the observation mode is bidirectional observation, generating the relative velocity obstacle set
Figure FDA0003293890370000016
The following expression is calculated:
Figure FDA0003293890370000017
Figure FDA0003293890370000018
wherein u is a control quantity output to the unmanned aerial vehicle, namely a speed change quantity; argmin represents the minimum of the function taken,
Figure FDA0003293890370000019
is the boundary of the infeasible speed set, and represents the modular operation, | | | - |; set of relative velocity obstacles
Figure FDA00032938903700000110
A collision-free speed set constructed based on the control quantity u, wherein the geometry of the collision-free speed set is a semi-plane; n is a normal vector perpendicular to the half-plane; τ is the execution time of the planner;
when the observation mode is one-way observation, if VVF returns a value of c (p)j) Set of relative velocity disorders
Figure FDA00032938903700000111
The following expression is calculated:
vi=vi1vi2vj
Figure FDA0003293890370000021
Figure FDA0003293890370000022
if VVF returns a value of
Figure FDA0003293890370000023
Set of relative velocity obstacles
Figure FDA0003293890370000024
The following expression is calculated:
u=-λ3vi
Figure FDA0003293890370000025
wherein λ1,λ2,λ3Is a positive real number;
step 232, generate a safe speed set
Figure FDA0003293890370000026
Wherein v ismaxFor the maximum allowable speed, n represents taking the intersection;
D(0,vmax)={p|||p-0||<vmax};
p represents all velocity vectors that meet the requirements;
step 233, selecting an optimal speed v within the generated safe speed setoptDefined as:
Figure FDA0003293890370000027
step 234, generating two continuous smooth track sequences according to the selected optimal speed
Figure FDA0003293890370000028
Is defined as:
Figure FDA0003293890370000029
Figure FDA00032938903700000210
wherein delta1,δ2Is to satisfy delta12A constant of < 1;
Figure FDA00032938903700000211
the smooth trajectory sequence of (2) is calculated as follows:
Figure FDA00032938903700000212
s.t.ζ(0)=pi
Figure FDA00032938903700000213
Figure FDA00032938903700000214
Figure FDA00032938903700000215
where, ζ represents a track generated in real time,
Figure FDA00032938903700000216
is the second derivative of the trajectory and,
Figure FDA00032938903700000217
is the third derivative of the trace, ζ (0),
Figure FDA00032938903700000218
indicating the position and velocity at the initial time,
Figure FDA00032938903700000219
represents delta1Speed at time τ, amaxRepresenting the maximum acceleration of the aircraft;
Figure FDA0003293890370000031
the smoothed sequence of (c) is calculated as follows:
Figure FDA0003293890370000032
Figure FDA0003293890370000033
Figure FDA0003293890370000034
Figure FDA0003293890370000035
Figure FDA0003293890370000036
wherein ζnewFor the newly generated sequence of smooth tracks,
Figure FDA0003293890370000037
for the last track sequence
Figure FDA0003293890370000038
The last position of (a);
and 3, after two continuous tracks are executed, returning the unmanned aerial vehicle to the initial motion track.
2. The cooperative collision avoidance method for distributed multi-unmanned aerial vehicle system based on speed obstacle as claimed in claim 1, wherein λ is λ1,λ2,λ3The calculation process is as follows:
first order
Figure FDA0003293890370000039
Wherein,
Figure FDA00032938903700000310
is the location information p of the drone jjThe component on the x-axis of the unmanned plane i body coordinate system,
Figure FDA00032938903700000311
is the location information p of the drone jjThe component on the y-axis of the i-body coordinate system of the unmanned aerial vehicle,
Figure FDA00032938903700000312
the numerical values of the positions of the coordinate systems of the bodies of the unmanned aerial vehicles i are all 0;
from k to kijObtaining:
Figure FDA00032938903700000313
wherein x is1Component of relative velocity of unmanned aerial vehicle i, j on x-axis of body, x2Is the projection of the position of drone j on the x-axis.
Figure FDA00032938903700000314
The components of the speeds of the unmanned aerial vehicles i and j on the x and y axes respectively;
order to
Figure FDA00032938903700000315
Figure FDA0003293890370000041
Wherein
Figure FDA0003293890370000042
Coordinates of x and y axes of the midpoint of the I, j position connecting line of the unmanned aerial vehicle;
obtaining:
Figure FDA0003293890370000043
wherein y is1Is the projection of the position of drone j on the y-axis, y2Projections of intersection points of two common tangent lines on one sides of the profiles of the unmanned aerial vehicle i and the unmanned aerial vehicle j close to the two fuselage on the y axis;
from the value of m, lambda is obtained1Maximum value of (d):
Figure FDA0003293890370000044
wherein alpha-theta is an included angle between a common tangent and an x axis;
based on this, λ is obtained1The range of (A) is as follows:
Figure FDA0003293890370000045
from the geometric relationship, λ is calculated3
Figure FDA0003293890370000046
3. The cooperative collision avoidance method of the distributed multi-unmanned aerial vehicle system based on the speed obstacle as claimed in claim 1, wherein the step 3 specifically comprises the steps of:
step 31, eliminating the path points which the unmanned aerial vehicle has passed through and the path points which are not passed through in the execution process but are smaller than the distance threshold from the current path point matrix;
step 32, redistributing the residual time to generate a new time point matrix matched with the path point matrix;
and step 33, solving the initial track generation frame to obtain a new track passing through the residual path points.
4. The cooperative collision avoidance method of the distributed multi-unmanned aerial vehicle system based on the speed obstacle as claimed in claim 2 or 3, wherein based on the initial task of each unmanned aerial vehicle, a path point sequence and a time sequence corresponding to the path point are generated, the task is mapped to a motion trajectory, and the motion trajectory is generated by adopting a 3-order B spline curve.
5. The cooperative collision avoidance method for the distributed multi-unmanned aerial vehicle system based on the speed obstacle as claimed in claim 2 or 3, wherein in the step 1, the generation of the motion trail is realized by using an optimization solver quadrprog of MATLAB.
CN202111172463.2A 2021-10-08 2021-10-08 A multi-UAV cooperative collision avoidance method based on speed obstacle perception constraints Active CN113885562B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111172463.2A CN113885562B (en) 2021-10-08 2021-10-08 A multi-UAV cooperative collision avoidance method based on speed obstacle perception constraints

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111172463.2A CN113885562B (en) 2021-10-08 2021-10-08 A multi-UAV cooperative collision avoidance method based on speed obstacle perception constraints

Publications (2)

Publication Number Publication Date
CN113885562A true CN113885562A (en) 2022-01-04
CN113885562B CN113885562B (en) 2023-01-10

Family

ID=79005607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111172463.2A Active CN113885562B (en) 2021-10-08 2021-10-08 A multi-UAV cooperative collision avoidance method based on speed obstacle perception constraints

Country Status (1)

Country Link
CN (1) CN113885562B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048120A (en) * 2023-01-10 2023-05-02 中国建筑一局(集团)有限公司 An autonomous navigation system and method for a small quadrotor UAV in an unknown dynamic environment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102759357A (en) * 2012-05-10 2012-10-31 西北工业大学 Cooperative real-time path planning method for multiple unmanned aerial vehicles (UAVs) in case of communication latency
CN106873628A (en) * 2017-04-12 2017-06-20 北京理工大学 A kind of multiple no-manned plane tracks the collaboration paths planning method of many maneuvering targets
CN108388270A (en) * 2018-03-21 2018-08-10 天津大学 Cluster unmanned plane track posture cooperative control method towards security domain
CN108958289A (en) * 2018-07-28 2018-12-07 天津大学 Cluster unmanned plane collision prevention method based on relative velocity obstacle
US20190253621A1 (en) * 2018-02-10 2019-08-15 Goodrich Corporation Distributed aperture systems for obstacle avoidance
CN110632941A (en) * 2019-09-25 2019-12-31 北京理工大学 A Trajectory Generation Method for UAV Target Tracking in Complex Environment
CN110825108A (en) * 2019-11-11 2020-02-21 浙江理工大学 A collaborative collision avoidance method for multiple tracking UAVs in the same airspace

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102759357A (en) * 2012-05-10 2012-10-31 西北工业大学 Cooperative real-time path planning method for multiple unmanned aerial vehicles (UAVs) in case of communication latency
CN106873628A (en) * 2017-04-12 2017-06-20 北京理工大学 A kind of multiple no-manned plane tracks the collaboration paths planning method of many maneuvering targets
US20190253621A1 (en) * 2018-02-10 2019-08-15 Goodrich Corporation Distributed aperture systems for obstacle avoidance
CN108388270A (en) * 2018-03-21 2018-08-10 天津大学 Cluster unmanned plane track posture cooperative control method towards security domain
CN108958289A (en) * 2018-07-28 2018-12-07 天津大学 Cluster unmanned plane collision prevention method based on relative velocity obstacle
CN110632941A (en) * 2019-09-25 2019-12-31 北京理工大学 A Trajectory Generation Method for UAV Target Tracking in Complex Environment
CN110825108A (en) * 2019-11-11 2020-02-21 浙江理工大学 A collaborative collision avoidance method for multiple tracking UAVs in the same airspace

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李樾: "基于改进的速度障碍法的有人/无人机", 《西北工业大学学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116048120A (en) * 2023-01-10 2023-05-02 中国建筑一局(集团)有限公司 An autonomous navigation system and method for a small quadrotor UAV in an unknown dynamic environment
CN116048120B (en) * 2023-01-10 2024-04-16 中国建筑一局(集团)有限公司 Autonomous navigation system and method for small four-rotor unmanned aerial vehicle in unknown dynamic environment

Also Published As

Publication number Publication date
CN113885562B (en) 2023-01-10

Similar Documents

Publication Publication Date Title
CN108445898B (en) Four-rotor unmanned aerial vehicle system motion planning method based on differential flatness characteristic
Zhang et al. Distributed control of coordinated path tracking for networked nonholonomic mobile vehicles
CN111880573B (en) A Quadrotor Autonomous Navigation Method Based on Visual Inertial Navigation Fusion
Yang et al. Stability analysis and implementation of a decentralized formation control strategy for unmanned vehicles
Pan et al. Multi-robot obstacle avoidance based on the improved artificial potential field and PID adaptive tracking control algorithm
Cichella et al. A Lyapunov-based approach for time-coordinated 3D path-following of multiple quadrotors
Váňa et al. Minimal 3d dubins path with bounded curvature and pitch angle
Spurny et al. Cooperative transport of large objects by a pair of unmanned aerial systems using sampling-based motion planning
Wang et al. Composite Astar and B-spline algorithm for path planning of autonomous underwater vehicle
CN110413005A (en) A Cooperative Track Planning Method for Multi-UAV Based on Inverse Method
CN110687917A (en) Distributed formation reconfiguration formation control method for multiple unmanned boats
Ali et al. Feature selection-based decision model for UAV path planning on rough terrains
Boeuf et al. Planning agile motions for quadrotors in constrained environments
Hua et al. A time-optimal trajectory planning strategy for an aircraft with a suspended payload via optimization and learning approaches
Wang et al. Theory and experiments on enclosing control of multi-agent systems
CN117170410A (en) Control method for unmanned aerial vehicle formation flight and related products
Park et al. Formation reconfiguration control with collision avoidance of nonholonomic mobile robots
CN113885562B (en) A multi-UAV cooperative collision avoidance method based on speed obstacle perception constraints
Deng et al. Multi-robot dynamic formation path planning with improved polyclonal artificial immune algorithm
Kanjanawanishkul Coordinated path following for mobile robots using a virtual structure strategy with model predictive control
Seghour et al. Consensus-based approach and reactive fuzzy navigation for multiple no-holonomic mobile robots
Guo et al. Online path planning for UAV navigation based on quantum particle swarm optimization
Gao et al. A survey on passing-through control of multi-robot systems in cluttered environments
He et al. Reinforcement learning based multi-robot formation control under separation bearing orientation scheme
Jamieson et al. Trajectory generation using sub-riemannian curves for quadrotor UAVs

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