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 PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 230000008447 perception Effects 0.000 title abstract description 8
- 239000013598 vector Substances 0.000 claims description 17
- 239000011159 matrix material Substances 0.000 claims description 13
- 230000008569 process Effects 0.000 claims description 12
- 238000005457 optimization Methods 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 7
- 230000008859 change Effects 0.000 claims description 5
- 230000001133 acceleration Effects 0.000 claims description 3
- 230000002457 bidirectional effect Effects 0.000 claims description 2
- 238000004422 calculation algorithm Methods 0.000 abstract description 11
- 238000004891 communication Methods 0.000 abstract description 3
- 230000002452 interceptive effect Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 21
- 238000004088 simulation Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 4
- 238000005096 rolling process Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 241000283283 Orcinus orca Species 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
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/10—Simultaneous control of position or course in three dimensions
- G05D1/101—Simultaneous 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
Description
技术领域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、针对无人机系统中各个无人机,生成初始运动轨迹;
步骤2、基于观测信息的实时协同避碰,具体包括:
步骤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:
当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:
其中,为无人机i在机身坐标系中x轴方向的单位向量,是观测速度vj的转置,是无人机j的位置信息pj在无人机i机身坐标系x轴上的分量,h(pj),c(pj)是始终大于0的标量函数;当VVF返回的函数值大于0时,无人机i和无人机j存在潜在的碰撞风险;当函数值小于或等于0时,两个无人机无碰撞风险;in, is the unit vector of the drone i in the x-axis direction of the fuselage coordinate system, is the transpose of the observed velocity v j , 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、基于观测信息生成相对速度障碍集,当观测模式为双向观测时,相对速度障碍集计算如下表达式: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 Evaluate the following expression:
其中,u为向无人机输出的控制量,即速度改变量;argmin表示取函数的最小值,为不可行速度集合的边界,||·||表示取模运算;相对速度障碍集为基于控制量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, is the boundary of the infeasible velocity set, ||·|| represents the modulo operation; the relative velocity obstacle set 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),相对速度障碍集计算如下表达式为:When the observation mode is one-way observation, if the return value of VVF is c(p j ), the relative velocity obstacle set Calculate the following expression as:
vi=vi-λ1vi-λ2vj v i = vi -λ 1 v i -λ 2 v j
如果VVF返回值为则相对速度障碍集计算如下表达式为:If the VVF return value is then the relative velocity obstacle set Calculate the following expression as:
u=-λ3vi u=-λ 3 v i
其中λ1,λ2,λ3为正实数;where λ 1 , λ 2 , λ 3 are positive real numbers;
步骤232、生成安全速度集合其中vmax为最大容许速度,∩表示取交集;Step 232, generate a safe speed set 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:
步骤234、根据选择的最优速度生成连续的两条光滑轨迹序列定义为:Step 234: Generate two consecutive smooth trajectory sequences according to the selected optimal speed defined as:
其中δ1,δ2是满足δ1+δ2<1的常数;Wherein δ 1 , δ 2 are constants satisfying δ 1 +δ 2 <1;
的光滑轨迹序列计算如下: The smooth trajectory sequence of is calculated as follows:
s.t.ζ(0)=pi stζ (0)=pi
其中,ζ表示实时生成的轨迹,是轨迹的二阶导数,是轨迹的三阶导数,表示初始时刻的位置和速度,表示δ1τ时刻的速度,amax表示飞机的最大加速度;where ζ represents the real-time generated trajectory, is the second derivative of the trajectory, is the third derivative of the trajectory, represents the position and velocity at the initial moment, Represents the speed at time δ 1 τ, a max represents the maximum acceleration of the aircraft;
的光滑序列计算如下: The smooth sequence of is calculated as follows:
其中ζnew为新生成的光滑轨迹序列,为上一段轨迹序列的末位置;where ζ new is the newly generated smooth trajectory sequence, is the previous track sequence the end position of ;
步骤3、执行完两段连续的两段轨迹后,使无人机回归初始运动轨迹。
较佳的,λ1,λ2,λ3计算过程如下:Preferably, the calculation process of λ 1 , λ 2 , λ 3 is as follows:
首先令first order
其中,是无人机j的位置信息pj在无人机i机身坐标系x轴上的分量,是无人机j的位置信息pj在无人机i机身坐标系y轴上的分量,为无人机i自身机体坐标系的位置,其数值都始终为0;in, is the component of the position information p j of UAV j on the x-axis of UAV i body coordinate system, is the component of position information p j of UAV j on the y-axis of UAV i body coordinate system, is the position of the coordinate system of the drone i itself, and its value is always 0;
由kij得到:Obtained from k ij :
其中,x1为无人机i,j的相对速度在机体x轴上的分量,x2为无人机j的位置在x轴上的投影。分别为无人机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. are the components of the velocities of the drones i and j on the x and y axes, respectively;
令make
其中为无人机i,j位置连线中点的x、y轴坐标;in is the x and y-axis coordinates of the midpoint of the line connecting the positions of UAV i and j;
得到:get:
其中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:
其中α-θ为公切线与x轴的夹角;where α-θ is the angle between the common tangent and the x-axis;
基于此,得到λ1的范围为:Based on this, the range of λ 1 is obtained as:
根据几何关系,计算λ3:According to the geometric relationship, calculate λ 3 :
较佳的,所述步骤3具体包括如下步骤:Preferably, the
步骤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
本发明具有如下有益效果: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、生成面向子任务的运动轨迹
考虑由n(n≥6)个无人机组成的多无人机系统。对于系统中的每个无人机 其初始任务为给定的路径点序列和与路径点对应的时间序列将任务映射为运动轨迹,并采用3阶B样条曲线生成运动轨迹,即Consider a multi-UAV system consisting of n (n ≥ 6) UAVs. For each drone in the system Its initial task is a given sequence of waypoints and the time series corresponding to the waypoints The task is mapped to the motion trajectory, and the third-order B-spline curve is used to generate the motion trajectory, namely
其中cj∈C=[c0,c1,...,cM-1]T是B样条的控制点,是3阶B样条的基函数。任务初始目标是生成一条通过所有给定路径点的轨迹,同时要求轨迹要光滑,其优化框架定义为:where c j ∈ C = [c 0 , c 1 , ..., c M-1 ] T is the control point of the B-spline, is the basis function of a B-spline of
min JS+JW min J S +J W
其中JS是使轨迹光滑的代价函数,JW是使轨迹通过给定路径点的代价函数,是初始和终止状态的约束,是满足无人机性能的运动学约束,是控制点矩阵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, are the constraints of the initial and final states, is the kinematic constraint that satisfies the performance of the UAV, 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.
在这里α是一个常数, where α is a constant,
是一个半正定矩阵。is a positive semi-definite matrix.
给定a=s/t,JW定义为:Given a = s/t, J W is defined as:
这里矩阵H定义为Here the matrix H is defined as
约束项定义为:The constraints are defined as:
其中Λ,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、基于观测信息的实时协同避碰
步骤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
当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
其中为无人机i在机身x轴方向的单位向量,是观测速度vj的转置,是无人机j的位置信息pj在无人机i机身坐标系x轴上的分量,h(pj),c(pj)是始终大于0的标量函数。当VVF返回的函数值大于0时,观测无人机和目标无人机存在潜在的碰撞风险;当函数值小于或等于0时,两个无人机无碰撞风险。in is the unit vector of the drone i in the x-axis direction of the fuselage, is the transpose of the observed velocity v j , 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:
其中,u为速度改变量,其计算方法为求解无人机i,j的相对速度到不可行速度集合边界的最小值。通过求解u可以得到从当前速度到期望速度的最小变化量。其中,argmin表示取函数的最小值,为不可行速度集合的边界,||·||表示取模运算。为基于控制量u构造的无碰撞速度集合,其几何形状为一个半平面。的计算方法为找到所有与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, is the boundary of the infeasible velocity set, and ||·|| represents the modulo operation. is a collision-free velocity set constructed based on the control quantity u, and its geometric shape is a half-plane. 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=vi-λ1vi-λ2vj v i = vi -λ 1 v i -λ 2 v j
如果VVF返回值为则If the VVF return value is but
u=-λ3vi u=-λ 3 v i
其中λ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
其中,是无人机j的位置信息pj在无人机i机身坐标系x轴上的分量,是无人机j的位置信息pj在无人机i机身坐标系y轴上的分量,为无人机i自身机体坐标系的位置,其数值都始终为0。in, is the component of position information p j of UAV j on the x-axis of UAV i fuselage coordinate system, is the component of the position information p j of UAV j on the y-axis of UAV i body coordinate system, 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
其中,x1为无人机i,j的相对速度在机体x轴上的分量,x2为无人机j的位置在x轴上的投影。分别为无人机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. are the components of the velocities of the drones i and j on the x and y axes, respectively.
令make
其中为无人机i,j位置连线中点的x、y轴坐标。in is the x and y-axis coordinates of the midpoint of the line connecting the positions of UAV i and j.
可以得到can get
其中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
其中α-θ为公切线与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
根据几何关系,采用计算λ3的步骤,可以得到According to the geometric relationship, using the steps of calculating λ 3 , we can get
步骤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:
步骤234、根据选择的最优速度生成连续的两条光滑轨迹序列定义为Step 234: Generate two consecutive smooth trajectory sequences according to the selected optimal speed defined as
其中δ1,δ2是满足δ1+δ2<1的常数;Wherein δ 1 , δ 2 are constants satisfying δ 1 +δ 2 <1;
的光滑轨迹序列计算如下: The smooth trajectory sequence of is calculated as follows:
s.t.ζ(0)=pi stζ (0)=pi
其中,ζ表示实时生成的轨迹,是轨迹的二阶导数,是轨迹的三阶导数,表示初始时刻的位置和速度,表示δ1τ时刻的速度,amax表示飞机的最大加速度;where ζ represents the real-time generated trajectory, is the second derivative of the trajectory, is the third derivative of the trajectory, represents the position and velocity at the initial moment, Represents the speed at time δ 1 τ, a max represents the maximum acceleration of the aircraft;
的光滑序列计算如下: The smooth sequence of is calculated as follows:
其中ζnew为新生成的光滑轨迹序列,为上一段轨迹序列的末位置;where ζ new is the newly generated smooth trajectory sequence, is the previous track sequence the end position of ;
步骤3、在上述步骤实施完成后,无人机在当前交互过程中,即时间τ内,可以避免碰撞。在这之后,实施如下步骤,使无人机回归初始轨迹:
步骤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)
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)
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)
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 |
-
2021
- 2021-10-08 CN CN202111172463.2A patent/CN113885562B/en active Active
Patent Citations (7)
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)
Title |
---|
李樾: "基于改进的速度障碍法的有人/无人机", 《西北工业大学学报》 * |
Cited By (2)
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 |