[go: up one dir, main page]

CN116466752A - Unmanned aerial vehicle track rapid intelligent planning method in unknown complex environment - Google Patents

Unmanned aerial vehicle track rapid intelligent planning method in unknown complex environment Download PDF

Info

Publication number
CN116466752A
CN116466752A CN202310669654.2A CN202310669654A CN116466752A CN 116466752 A CN116466752 A CN 116466752A CN 202310669654 A CN202310669654 A CN 202310669654A CN 116466752 A CN116466752 A CN 116466752A
Authority
CN
China
Prior art keywords
trajectory
optimization
fast
control points
initial
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.)
Pending
Application number
CN202310669654.2A
Other languages
Chinese (zh)
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.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN202310669654.2A priority Critical patent/CN116466752A/en
Publication of CN116466752A publication Critical patent/CN116466752A/en
Pending legal-status Critical Current

Links

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
    • G05D1/106Change initiated in response to external conditions, e.g. avoidance of elevated terrain or of no-fly zones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

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

本发明公开了未知复杂环境中无人机航迹快速智能规划方法,包括如下步骤:1、前端搜索,分为最短安全路径搜索和满足动力学约束的控制点定向扩张两部分依次进行,高效获取初始的B样条曲线控制点和轨迹时空信息;2、后端优化,根据初始控制点所处阶段为局部轨迹分配相应的安全飞行走廊,通过最小体积基限制包含局部轨迹的最小体积的单纯形,在已知安全空间中,基于不同的优化策略高效地生成快速且安全的最终轨迹。该方法利用前端搜索获取到的轨迹时空信息将后端轨迹优化问题简化成二次规划,提高了生成快速安全轨迹的效率。

The invention discloses a fast intelligent planning method for a UAV trajectory in an unknown complex environment, which includes the following steps: 1. Front-end search, which is divided into two parts: the shortest safe path search and the directional expansion of control points satisfying dynamic constraints, which are sequentially performed to efficiently obtain initial B-spline curve control points and trajectory space-time information; 2. Back-end optimization, which assigns corresponding safe flight corridors to local trajectories according to the stage of the initial control points, limits the simplex containing the minimum volume of local trajectories through the minimum volume basis, and efficiently generates fast and safe final trajectories based on different optimization strategies in a known safe space. This method uses the trajectory spatio-temporal information obtained by the front-end search to simplify the back-end trajectory optimization problem into quadratic programming, which improves the efficiency of generating fast and safe trajectories.

Description

未知复杂环境中无人机航迹快速智能规划方法Fast intelligent planning method for UAV track in unknown complex environment

技术领域technical field

本发明属于运动规划自主导航技术领域,具体为未知复杂环境中无人机航迹快速智能规划方法。The invention belongs to the technical field of motion planning and autonomous navigation, and specifically relates to a fast and intelligent planning method for unmanned aerial vehicle track in an unknown complex environment.

背景技术Background technique

近年来,关于无人机自主导航的研究取得了很多成果,但在未知复杂环境里生成快速且安全的轨迹仍然是一个难题和挑战。除了环境的部分可观测性使获得快速轨迹变得具有挑战性之外,仅依赖机载有限的感知条件实时滚动时域规划出安全轨迹也让这项任务变得格外艰难。如图1所示,无人机所处的整个三维空间可以分成以无人机Lp为中心的滚动局部地图/>中的已知安全空间/>和已知占据空间/>以及局部地图之外或未感知到的未知空间/>即/>如何考虑未知空间的安全性对于权衡飞行安全和飞行速度至关重要,不同规划方法在这两方面的权衡策略如图2所示,图中Lp和E分别为规划的起点和终点,R是轨迹Lp→E上的一点,F是对应方法中安全轨迹的终点,■意味着终止条件(轨迹末尾的速度和加速度为零),/>表示无终止条件。In recent years, research on the autonomous navigation of UAVs has achieved many results, but generating fast and safe trajectories in unknown and complex environments is still a difficult problem and challenge. In addition to the partial observability of the environment that makes it challenging to obtain fast trajectories, it also makes this task extremely difficult to plan safe trajectories in real-time rolling time domain only relying on limited onboard perception conditions. As shown in Figure 1, the entire three-dimensional space where the UAV is located Can be split into scrolling local maps centered on UAV Lp /> Known Safe Spaces in /> and known to occupy space /> and unknown spaces outside the local map or not perceived /> i.e. /> How to consider the safety of unknown space is very important to balance flight safety and flight speed. The trade-off strategies of different planning methods in these two aspects are shown in Figure 2. In the figure, L p and E are the starting point and end point of planning respectively, R is a point on the trajectory L p → E, F is the end point of the safe trajectory in the corresponding method, ■ means the termination condition (the velocity and acceleration at the end of the trajectory are zero), /> Indicates no termination condition.

除上述因素外,在未知环境中生成快速轨迹还受到诸多条件的限制。首先在未知环境中,当无人机仅仅依靠机载传感器对周围有限范围内的环境进行感知规划时,由于缺少先验地图或全局轨迹的信息,仅依赖局部地图的规划器不能保证规划一定成功,所以轨迹被强制添加终止条件,这样即使在以后滚动时域规划失败的情况下,也可以保证无人机的飞行安全,这种策略在一定程度上损失了飞行速度。其次,对于轨迹参数化涉及到的时间分配问题(每个间隔分配多少时间)采取的不同策略也会对飞行速度造成影响,常见的通过运动方程闭式求解的策略虽然高效,但它提供的解过于保守。最后,不完备的求解空间也会限制快速轨迹的生成,尤其是硬约束轨迹优化方法中涉及到的区间分配问题(每段多项式在哪个多面体中)。如果限制局部轨迹在表示非凸自由空间的单一凸多面体内,必然会造成解空间的损失。为了解决这个问题,一种方法是引入二进制决策变量来允许优化器对局部轨迹所处的凸多面体进行自由选择,但求解混合整数的优化问题计算开销较大。In addition to the above factors, generating fast trajectories in an unknown environment is also limited by many conditions. First of all, in an unknown environment, when the UAV only relies on the airborne sensors to perceive and plan the surrounding environment within a limited range, due to the lack of prior map or global trajectory information, it only relies on the local map The planner cannot guarantee that the planning will be successful, so the trajectory is forced to add a termination condition, so that even if the rolling time domain planning fails in the future, the flight safety of the UAV can be guaranteed. This strategy loses the flight speed to a certain extent. Secondly, the different strategies adopted for the time allocation problem involved in trajectory parameterization (how much time is allocated for each interval) will also affect the flight speed. Although the common strategy of solving the equation of motion in a closed form is efficient, the solution it provides is too conservative. Finally, an incomplete solution space can also limit the generation of fast trajectories, especially the interval assignment problem (which polyhedron each segment of the polynomial is in) involved in hard-constrained trajectory optimization methods. If local trajectories are restricted to a single convex polyhedron representing non-convex free space, a loss of solution space is bound to result. To solve this problem, one way is to introduce binary decision variables to allow the optimizer to freely choose the convex polyhedron where the local trajectory is located, but solving the optimization problem with mixed integers is computationally expensive.

为了在确保轨迹安全的前提下兼顾速度,FASTER极具创造性地分别在已知安全空间和未知空间中进行轨迹优化。为了克服轨迹时间和区间分配的限制,FASTER引入多于对自由空间进行凸分解获得的多面体数量的间隔数,并为所有的区间分配为由启发式策略获得的相同时间,将轨迹生成表示为具有高空间自由度的混合整数二次规划(Mixed IntegerQuadratic Program,MIQP)来获得快速且具有安全保障的轨迹。尽管FASTER的想法和效果令人赞叹,但其依然存在诸多不足,最大的隐患就是效率问题以及为了效率进行妥协以至于FASTER趋于保守。由于MIQP问题的求解时间太过漫长,为了提高效率,不得不限制用于优化的最大多面体数量以达到减少整数决策变量缩短求解时间的目的。此外为了提高解空间的完备性,即表示自由空间的凸多面体的体积尽可能的大,用于凸分解的路径点被插值以限制两两之间的距离。在这两个因素的作用下,当凸多面体不包含未知空间时,FASTER也就退化成了图2中保守的方法。其次FASTER获得快速轨迹时,要在已知安全空间和未知空间进行两次优化,即需要针对不同的空间进行两次凸分解,这会带来额外的计算开销。以上这些不足在一定程度上影响了FASTER的规划效率。In order to take into account the speed while ensuring the safety of the trajectory, FASTER creatively optimizes the trajectory in the known safe space and the unknown space respectively. In order to overcome the limitation of trajectory time and interval allocation, FASTER introduces more intervals than the number of polyhedrons obtained by convex decomposition of free space, and allocates all intervals to the same time obtained by the heuristic strategy, and expresses trajectory generation as a Mixed Integer Quadratic Program (MIQP) with high spatial degrees of freedom to obtain fast and secure trajectories. Although FASTER's ideas and effects are amazing, it still has many shortcomings. The biggest hidden danger is the problem of efficiency and the compromise for efficiency that makes FASTER tend to be conservative. Since the solution time of MIQP problem is too long, in order to improve efficiency, the maximum number of polyhedrons used for optimization has to be limited to reduce the integer decision variables and shorten the solution time. In addition, in order to improve the completeness of the solution space, that is, the volume of the convex polyhedron representing the free space is as large as possible, the path points used for the convex decomposition are interpolated to limit the distance between each pair. Under the influence of these two factors, when the convex polyhedron does not contain the unknown space, FASTER degenerates into the conservative method in Figure 2. Secondly, when FASTER obtains a fast trajectory, it needs to perform two optimizations in a known safe space and an unknown space, that is, it needs to perform two convex decompositions for different spaces, which will bring additional computational overhead. The above deficiencies have affected the planning efficiency of FASTER to a certain extent.

发明内容Contents of the invention

针对目前先进方法FASTER中存在的效率问题,,本发明提供了一种以B样条曲线控制点为主体的高效的快速安全四旋翼无人机轨迹生成方法。在每次规划中,仅在已知安全空间内分别进行基于快速和安全策略的轨迹优化。在理想情况下,通过滚动时域规划,无人机能够在整个导航过程中永远执行快速且具有安全保证的轨迹(图2Lp→R)。Aiming at the efficiency problem existing in the current advanced method FASTER, the present invention provides an efficient, fast and safe quadrotor UAV trajectory generation method with B-spline curve control points as the main body. In each plan, only in the known safe space Trajectory optimization based on fast and safe strategies is carried out in the interior respectively. Ideally, with rolling time-domain planning, the UAV can always execute fast and safe trajectories throughout the navigation process (Fig. 2L p → R).

为实现上述目的,本发明采取的技术方案是:For realizing above-mentioned object, the technical scheme that the present invention takes is:

未知复杂环境中无人机航迹快速智能规划方法,其特征在于:包括前端搜索和后端优化两个部分:The method for fast and intelligent planning of UAV trajectory in an unknown complex environment is characterized in that it includes two parts: front-end search and back-end optimization:

前端搜索,为了保证轨迹的C2连续性以及计算简便,将使用三次其中p=3的B样条曲线,以B样条的控制点为主体进行搜索和优化,依赖以无人机当前位置Lp为中心构建的局部滑动地图并根据当前无人机的状态包括位置Lp,速度Lv,加速度La并进行重规划;For the front-end search, in order to ensure the C2 continuity of the trajectory and easy calculation, a cubic B-spline curve with p=3 will be used to search and optimize with the control points of the B-spline as the main body, relying on the local sliding map built around the current position L p of the drone And according to the current state of the UAV, it includes position L p , velocity L v , acceleration L a and performs re-planning;

包括如下步骤:Including the following steps:

步聚1:如果最终目标Gterm不在局部滑动地图内,那么将最终目标Gterm在/>方向上投影到地图/>上的点G;Step 1: If the final target G term is not in the local sliding map , then place the final target G term in /> Directions are projected onto the map /> point G on

步骤2:运行从Lp到G的跳点搜索算法,并仅保留其在已知安全空间内的部分 Step 2: Run the hop search algorithm from L p to G and only keep it in the known safe space inside part

步骤3:通过当前无人机的状态计算初始B样条曲线控制点;Step 3: Calculate the initial B-spline curve control points through the current state of the UAV;

步骤4:朝着的顶点依次扩展,根据已有控制点和动力学约束Vmax,Amax计算下一个控制点;Step 4: towards The vertices of are expanded sequentially, and the next control point is calculated according to the existing control points and dynamic constraints V max and A max ;

后端优化,通过基于JPS搜索结果反映出的方向信息进行扩张获得控制点,利用搜索结果反映出的有效信息进行轨迹优化来生成平滑、安全且动态可行的轨迹,固定B样条曲线的其余两个要素,仅优化剩余的唯一要素控制点,将分功能模块化展示各部分约束和目标函数,并在最后给出优化形式;Back-end optimization, by expanding the control points based on the direction information reflected in the JPS search results, using the effective information reflected in the search results to optimize the trajectory to generate a smooth, safe and dynamically feasible trajectory, fixing the remaining two elements of the B-spline curve, and only optimizing the control points of the remaining unique elements. The constraints and objective functions of each part will be displayed in functional modules, and the optimization form will be given at the end;

包括如下步骤:Including the following steps:

步聚1:对在已知安全空间内的进行已知安全空间的凸分解,获取个凸多面体/> Step 1: For those in a known safe space Perform a convex decomposition of the known safe space to obtain convex polyhedron />

步骤2:判断控制点的数量是否足够多,如果不满足,则意味所获得的轨迹较短,此时轨迹周围已知安全空间较少,没有必要进行快速优化,所以这种情况下进行保守的备用优化;Step 2: Determine whether the number of control points is sufficient. If not, it means that the obtained trajectory is short. At this time, the known safe space around the trajectory is small, and there is no need for quick optimization, so in this case, conservative backup optimization is performed;

步骤3:如果条件满足,则先进行快速优化获得快速轨迹,然后为其添加终止条件,而后对快速轨迹未固定的控制点进行安全优化获得具有终止条件的安全轨迹;Step 3: If the conditions are satisfied, perform fast optimization first to obtain a fast trajectory, then add termination conditions to it, and then perform safety optimization on the unfixed control points of the fast trajectory to obtain a safe trajectory with termination conditions;

最后,通过前端搜索和后端优化输出快速安全的最终轨迹。Finally, a fast and safe final trajectory is output through front-end search and back-end optimization.

作为本发明进一步改进,所述后端优化过程中:As a further improvement of the present invention, in the backend optimization process:

目标函数如下:The objective function is as follows:

光滑项fjerk:由轨迹的三阶导数计算,用于衡量轨迹的光滑程度,式中为3次B样条基函数的第i个基矩阵;Smooth term f jerk : calculated by the third derivative of the trajectory, used to measure the smoothness of the trajectory, where is the i-th basis matrix of the 3rd degree B-spline basis function;

距离项fgoal:由控制点与终点G间的欧氏距离表示,用于衡量轨迹接近终点的程度。Distance item f goal : represented by the Euclidean distance between the control point and the end point G, used to measure the degree to which the trajectory is close to the end point.

初始状态项fstart:由轨迹的初始速度和加速度和无人机相应的状态计算,这样做的目的是一方面保障重新规划轨迹连续,另一方面给予q0,q1,q2必要的优化空间,式中v0,v1,v2为速度曲线的控制点,a0,a1为加速度曲线的控制点;The initial state item f start : calculated from the initial velocity and acceleration of the trajectory and the corresponding state of the UAV. The purpose of this is to ensure the continuity of the re-planned trajectory on the one hand, and on the other hand to give q 0 , q 1 , q 2 the necessary optimization space, where v 0 , v 1 , v 2 are the control points of the velocity curve, and a 0 , a 1 are the control points of the acceleration curve;

作为本发明进一步改进,所述后端优化过程中:As a further improvement of the present invention, in the backend optimization process:

各部分约束如下:The constraints of each part are as follows:

动力学约束Cdynamics:对于速度约束,将速度曲线的控制点转化为最小单纯形的顶点进行约束,而对于加速度约束,因为加速度曲线次数为1,其本身控制点构成的单纯形已然是最小,所以无需转换,同时a0由初始加速度La决定,所以无需对它添加约束,式中为最小体积基的2次曲线基矩阵,Vmax和Amax分别为最大速度和加速度;Dynamics constraint C dynamics : For velocity constraints, the control point of the velocity curve is converted into the vertex of the minimum simplex to constrain. For the acceleration constraint, because the degree of acceleration curve is 1, the simplex formed by its own control points is already the smallest, so there is no need to convert it. At the same time, a 0 is determined by the initial acceleration L a , so there is no need to add constraints to it. is the quadratic curve basis matrix of the minimum volume basis, V max and A max are the maximum velocity and acceleration respectively;

无碰撞约束Ccolli-sio:根据对周围已知安全空间进行凸分解,获得个凸多面体{(Ap,cp)},p=1,2,...,P。然后基于B样条曲线性质,根据关键点所处的阶段为每段局部轨迹分配相应的凸多面体,朝V1扩张的控制点即处于第一阶段;Collision-free constraint C colli-sio : According to Convex decomposition of the known safe space around, get convex polyhedron {(A p , c p )}, p=1, 2, ..., P. Then, based on the properties of the B-spline curve, a corresponding convex polyhedron is assigned to each local trajectory according to the stage of the key point, and the control point expanding toward V 1 is in the first stage;

初始状态约束Cinitial:等式约束,用于保证轨迹的初始位置等于LpInitial state constraint C initial : an equality constraint, used to ensure that the initial position of the trajectory is equal to L p ;

最终状态约束Cfinal:强制轨迹结尾的速度和加速度为0,对于3次B样条曲线来说,只需确保后三个控制点相等;The final state constraint C final : the velocity and acceleration at the end of the mandatory trajectory are 0. For the third degree B-spline curve, only need to ensure that the last three control points are equal;

qn-2=qn-1=qn 7)q n-2 =q n-1 =q n 7)

控制点约束Ccp:用于固定指定的控制点,在安全优化时,保持相应的局部快速轨迹即Lp→R不变;Control point constraint C cp : it is used to fix the specified control point, and keep the corresponding local fast trajectory, that is, L p → R, unchanged during security optimization;

作为本发明进一步改进,所述后端优化过程中优化策略包括三种分别为快速优化,安全优化和备用优化;As a further improvement of the present invention, the optimization strategies in the back-end optimization process include three types, respectively fast optimization, safety optimization and standby optimization;

1)快速优化:目标函数为fjerk+fgoal+fstart,约束为Cdynamics,Ccollision-free,Cinitial,fixedseg为0;1) Fast optimization: the objective function is f jerk +f goal +f start , the constraints are C dynamics , C collision-free , C initial , and the fixed seg is 0;

2)安全优化:目标函数为fjerk+fgoal,约束为Cdynamics,Ccollision-free,Cinitial,Ccp,fixedseg为1;2) Security optimization: the objective function is f jerk +f goal , the constraints are C dynamics , C collision-free , C initial , C cp , and the fixed seg is 1;

3)备用优化:目标函数为fjerk+fgoal+fstart,约束为Cdynamics,Ccollision-free,Cinitial,Cfinal,fixedseg为0;3) Backup optimization: the objective function is f jerk +f goal +f start , the constraints are C dynamics , C collision-free , C initial , C final , and the fixed seg is 0;

其中fixedseg表示固定分段快速轨迹的数量,当fixedseg≠0时意味着从q0共fixedseg+3个控制点保持不变,不参与优化。Where fixed seg represents the number of fixed segment fast trajectories, when fixed seg ≠ 0 means from q 0 to A total of fixed seg +3 control points remain unchanged and do not participate in optimization.

有益效果:利用B样条曲线表示轨迹并以其控制点作为搜索和优化的主体,通过满足动力学约束的前端搜索获取到的轨迹时空信息消除用于区间分配的二进制整形决策变量,将后端轨迹优化问题简化为二次规划。在已知安全空间中,基于不同的优化策略高效地生成快速且具有安全保障的最终轨迹。与目前先进技术相比,该方法可以高效地生成快速安全的四旋翼无人机运动轨迹。Beneficial effects: the B-spline curve is used to represent the trajectory and its control points are used as the main body of search and optimization, the trajectory space-time information obtained through the front-end search that satisfies the dynamic constraints eliminates the binary plastic decision variable used for interval allocation, and the back-end trajectory optimization problem is simplified to quadratic programming. Efficiently generate fast and safe final trajectories based on different optimization strategies in a known safe space. Compared with the current advanced technology, this method can efficiently generate fast and safe quadrotor UAV trajectories.

附图说明Description of drawings

图1是空间划分及符号表示;Figure 1 is the space division and symbolic representation;

图2是各种规划算法的比较;Figure 2 is a comparison of various planning algorithms;

图3是本发明所公开方法的流程图;Fig. 3 is the flowchart of method disclosed in the present invention;

图4是方法示意图。Figure 4 is a schematic diagram of the method.

具体实施方式Detailed ways

下面结合具体实施例对本发明作更进一步的说明。The present invention will be further described below in conjunction with specific examples.

本发明公开了一种消除整形变量的未知复杂环境中高效的快速安全四旋翼无人机轨迹生成方法,包括如下步骤:The invention discloses an efficient, fast and safe four-rotor UAV trajectory generation method in an unknown complex environment that eliminates plastic variables, including the following steps:

1、前端搜索,为了保证轨迹的C2连续性以及计算简便,将使用三次其中p=3的B样条曲线,以B样条的控制点为主体进行搜索和优化,依赖以无人机当前位置Lp为中心构建的局部滑动地图并根据当前无人机的状态包括位置Lp,速度Lv,加速度La并进行重规划;1. Front-end search, in order to ensure the C2 continuity of the trajectory and easy calculation, a three-time B-spline curve with p=3 will be used to search and optimize with the control points of the B-spline as the main body, relying on the local sliding map built around the current position L p of the drone And according to the current state of the UAV, it includes position L p , velocity L v , acceleration L a and performs re-planning;

包括如下步骤:Including the following steps:

步聚1:如果最终目标Gterm不在局部滑动地图内,那么将最终目标Gterm在/>方向上投影到地图/>上的点G;Step 1: If the final target G term is not in the local sliding map , then place the final target G term in /> Directions are projected onto the map /> point G on

步骤2:运行从Lp到G的跳点搜索算法(Jump Point Search,JPS),并仅保留其在已知安全空间内的部分/> Step 2: Run the jump point search algorithm (Jump Point Search, JPS) from L p to G, and only keep it in the known safe space part inside />

步骤3:通过当前无人机的状态计算初始B样条曲线控制点;Step 3: Calculate the initial B-spline curve control points through the current state of the UAV;

步骤4:朝着的顶点依次扩展,根据已有控制点和动力学约束Vmax,Amax计算下一个控制点。Step 4: towards The vertices of are expanded sequentially, and the next control point is calculated according to the existing control points and dynamic constraints V max and A max .

2、后端优化,通过前端搜索,在一定程度上获取了轨迹的时间和空间信息。通过基于JPS搜索结果反映出的方向信息进行扩张获得控制点,这种做法虽然高效但理论上是不安全的,所以需要利用搜索结果反映出的有效信息进行轨迹优化来生成平滑、安全且动态可行的高质量轨迹。优化的方法同样是固定B样条曲线的其余两个要素,仅优化剩余的唯一要素控制点。为了获取最终快速且具有安全保障的轨迹,需要对满足条件的轨迹依次进行快速和安全的轨迹优化,否则进行属于保守方法的备用优化,它们原理相同,但在形式上依然有所差异,本文将分功能模块化展示各部分约束和目标函数,并在最后给出它们的优化形式。2. Back-end optimization, through the front-end search, the time and space information of the trajectory is obtained to a certain extent. Obtaining control points by expanding based on the direction information reflected in the JPS search results is efficient but theoretically unsafe. Therefore, it is necessary to use the effective information reflected in the search results for trajectory optimization to generate smooth, safe and dynamically feasible high-quality trajectories. The optimization method is also to fix the remaining two elements of the B-spline curve, and only optimize the control point of the remaining unique element. In order to obtain the final fast and safe trajectory, it is necessary to perform fast and safe trajectory optimization on the trajectories that meet the conditions in turn. Otherwise, the backup optimization that belongs to the conservative method is carried out. Their principles are the same, but there are still differences in form. This article will demonstrate the constraints and objective functions of each part in functional modules, and finally give their optimization forms.

包括如下步骤:Including the following steps:

(2-1)目标函数;(2-1) Objective function;

光滑项fjerk:由轨迹的三阶导数计算,用于衡量轨迹的光滑程度,式中为3次B样条基函数的第i个基矩阵。Smooth term f jerk : calculated by the third derivative of the trajectory, used to measure the smoothness of the trajectory, where is the i-th basis matrix of the 3rd degree B-spline basis function.

距离项fgoal:由控制点与终点G间的欧氏距离表示,用于衡量轨迹接近终点的程度。Distance item f goal : represented by the Euclidean distance between the control point and the end point G, used to measure the degree to which the trajectory is close to the end point.

初始状态项fstart:由轨迹的初始速度和加速度和无人机相应的状态计算,这样做的目的是一方面保障重新规划轨迹连续,另一方面给予q0,q1,q2必要的优化空间以提高优化问题求解的成功率,式中v0,v1,v2为速度曲线的控制点,a0,a1为加速度曲线的控制点。Initial state item f start : Calculated from the initial velocity and acceleration of the trajectory and the corresponding state of the UAV. The purpose of this is to ensure the continuity of the replanned trajectory on the one hand, and on the other hand to give q 0 , q 1 , and q 2 the necessary optimization space to improve the success rate of solving the optimization problem. In the formula, v 0 , v 1 , and v 2 are the control points of the velocity curve, and a 0 , a 1 are the control points of the acceleration curve.

(2-2)约束;(2-2) constraints;

动力学约束Cdynamics:对于速度约束,将速度曲线的控制点转化为最小单纯形的顶点进行约束,这能有效地提高解空间的完备性。而对于加速度约束,因为加速度曲线次数为1,其本身控制点构成的单纯形已然是最小,所以无需转换,同时a0由初始加速度La决定,所以无需对它添加约束,式中为最小体积基的2次曲线基矩阵,Vmax和Amax分别为最大速度和加速度。Dynamic constraints C dynamics : For speed constraints, the control points of the speed curve are converted into the vertices of the minimum simplex for constraints, which can effectively improve the completeness of the solution space. As for the acceleration constraint, because the degree of the acceleration curve is 1, the simplex formed by its own control points is already the smallest, so there is no need to convert, and a 0 is determined by the initial acceleration L a , so there is no need to add constraints to it, where is the quadratic curve basis matrix of the minimum volume basis, and V max and A max are the maximum velocity and acceleration respectively.

无碰撞约束Ccolli-sio:根据对周围已知安全空间进行凸分解,获得个凸多面体{(Ap,cp)},p=1,2,...,P。然后基于B样条曲线性质,根据关键点所处的阶段为每段局部轨迹分配相应的凸多面体,如图4中朝V1扩张的控制点即处于第一阶段。Collision-free constraint C colli-sio : According to Convex decomposition of the known safe space around, get convex polyhedron {(A p , c p )}, p=1, 2, ..., P. Then, based on the properties of the B-spline curve, a corresponding convex polyhedron is assigned to each segment of the local trajectory according to the stage of the key point. As shown in Figure 4, the control point expanding toward V 1 is in the first stage.

初始状态约束Cinitial:等式约束,用于保证轨迹的初始位置等于LpInitial state constraint C initial : an equality constraint, used to ensure that the initial position of the trajectory is equal to L p .

最终状态约束Cfinal:强制轨迹结尾的速度和加速度为0,用于保证无人机的安全。对于3次B样条曲线来说,只需确保后三个控制点相等。Final state constraint C final : the velocity and acceleration at the end of the trajectory are forced to be 0, which is used to ensure the safety of the UAV. For degree 3 B-splines, just make sure the last three control points are equal.

qn-2=qn-1=qn 7)q n-2 =q n-1 =q n 7)

控制点约束Ccp:用于固定指定的控制点,在安全优化时,保持相应的局部快速轨迹(图2中Lp→R)不变。Control point constraint C cp : used to fix the specified control point, and keep the corresponding local fast trajectory (L p → R in Figure 2) unchanged during security optimization.

表1轨迹优化策略Table 1 Trajectory optimization strategy

快速优化,安全优化和备用优化策略的形式如表1所示,fixedseg表示固定分段快速轨迹的数量,当fixedseg≠0时意味着从q0共fixedseg+3个控制点保持不变,不参与优化。The forms of fast optimization, safety optimization and backup optimization strategies are shown in Table 1, fixed seg represents the number of fixed segment fast trajectories, when fixed seg ≠ 0 means from q 0 to A total of fixed seg +3 control points remain unchanged and do not participate in optimization.

包括如下步骤:Including the following steps:

步聚1:对在已知安全空间内的进行已知安全空间的凸分解,获取个凸多面体/> Step 1: For those in a known safe space Perform a convex decomposition of the known safe space to obtain convex polyhedron />

步骤2:判断控制点的数量是否足够多,如果不满足,则意味所获得的轨迹较短,此时轨迹周围已知安全空间较少,没有必要进行快速优化,所以这种情况下进行保守的备用优化;Step 2: Determine whether the number of control points is sufficient. If not, it means that the obtained trajectory is short. At this time, the known safe space around the trajectory is small, and there is no need for quick optimization, so in this case, conservative backup optimization is performed;

步骤3:如果条件满足,则先进行快速优化获得快速轨迹,然后为其添加终止条件。而后对快速轨迹未固定的控制点进行安全优化获得具有终止条件的安全轨迹。Step 3: If the conditions are satisfied, perform fast optimization to obtain a fast trajectory, and then add termination conditions to it. Then, safety optimization is performed on the unfixed control points of the fast trajectory to obtain a safe trajectory with termination conditions.

最后,输出快速安全的最终轨迹。Finally, a fast and safe final trajectory is output.

以上所述,仅是本发明的较佳实施例而已,并非是对本发明作任何其他形式的限制,而依据本发明的技术实质所作的任何修改或等同变化,仍属于本发明所要求保护的范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention in any other form, and any modifications or equivalent changes made according to the technical essence of the present invention still belong to the scope of protection claimed by the present invention.

Claims (4)

1.未知复杂环境中无人机航迹快速智能规划方法,其特征在于:包括前端搜索和后端优化两个部分:1. A fast and intelligent planning method for UAV track in an unknown complex environment, characterized in that it includes two parts: front-end search and back-end optimization: 前端搜索,为了保证轨迹的C2连续性以及计算简便,将使用三次其中p=3的B样条曲线,以B样条的控制点为主体进行搜索和优化,依赖以无人机当前位置Lp为中心构建的局部滑动地图并根据当前无人机的状态包括位置Lp,速度Lv,加速度La并进行重规划;For the front-end search, in order to ensure the C2 continuity of the trajectory and easy calculation, a cubic B-spline curve with p=3 will be used to search and optimize with the control points of the B-spline as the main body, relying on the local sliding map built around the current position L p of the drone And according to the current state of the UAV, it includes position L p , velocity L v , acceleration L a and performs re-planning; 包括如下步骤:Including the following steps: 步聚1:如果最终目标Gterm不在局部滑动地图内,那么将最终目标Gterm在/>方向上投影到地图/>上的点G;Step 1: If the final target G term is not in the local sliding map , then place the final target G term in /> Directions are projected onto the map /> point G on 步骤2:运行从Lp到G的跳点搜索算法,并仅保留其在已知安全空间内的部分/> Step 2: Run the hop search algorithm from L p to G and only keep it in the known safe space part inside /> 步骤3:通过当前无人机的状态计算初始B样条曲线控制点;Step 3: Calculate the initial B-spline curve control points through the current state of the UAV; 步骤4:朝着的顶点依次扩展,根据已有控制点和动力学约束Vmax,Amax计算下一个控制点;Step 4: towards The vertices of are expanded sequentially, and the next control point is calculated according to the existing control points and dynamic constraints V max and A max ; 后端优化,通过基于JPS搜索结果反映出的方向信息进行扩张获得控制点,利用搜索结果反映出的有效信息进行轨迹优化来生成平滑、安全且动态可行的轨迹,固定B样条曲线的其余两个要素,仅优化剩余的唯一要素控制点,将分功能模块化展示各部分约束和目标函数,并在最后给出优化形式;Back-end optimization, by expanding the control points based on the direction information reflected in the JPS search results, using the effective information reflected in the search results to optimize the trajectory to generate a smooth, safe and dynamically feasible trajectory, fixing the remaining two elements of the B-spline curve, and only optimizing the control points of the remaining unique elements. The constraints and objective functions of each part will be displayed in functional modules, and the optimization form will be given at the end; 包括如下步骤:Including the following steps: 步聚1:对在已知安全空间内的进行已知安全空间的凸分解,获取个凸多面体/> Step 1: For those in a known safe space Perform a convex decomposition of the known safe space to obtain convex polyhedron /> 步骤2:判断控制点的数量是否足够多,如果不满足,则意味所获得的轨迹较短,此时轨迹周围已知安全空间较少,没有必要进行快速优化,所以这种情况下进行保守的备用优化;Step 2: Determine whether the number of control points is sufficient. If not, it means that the obtained trajectory is short. At this time, the known safe space around the trajectory is small, and there is no need for quick optimization, so in this case, conservative backup optimization is performed; 步骤3:如果条件满足,则先进行快速优化获得快速轨迹,然后为其添加终止条件,而后对快速轨迹未固定的控制点进行安全优化获得具有终止条件的安全轨迹;Step 3: If the conditions are satisfied, perform fast optimization first to obtain a fast trajectory, then add termination conditions to it, and then perform safety optimization on the unfixed control points of the fast trajectory to obtain a safe trajectory with termination conditions; 最后,通过前端搜索和后端优化输出快速安全的最终轨迹。Finally, a fast and safe final trajectory is output through front-end search and back-end optimization. 2.根据权利要求1所述的未知复杂环境中无人机航迹快速智能规划方法,其特征在于:2. in the unknown complex environment according to claim 1, the fast intelligent planning method for the track of the unmanned aerial vehicle is characterized in that: 所述后端优化过程中:During the backend optimization process: 目标函数如下:The objective function is as follows: 光滑项fjerk:由轨迹的三阶导数计算,用于衡量轨迹的光滑程度,式中为3次B样条基函数的第i个基矩阵;Smooth term f jerk : calculated by the third derivative of the trajectory, used to measure the smoothness of the trajectory, where is the i-th basis matrix of the 3rd degree B-spline basis function; 距离项fgoal:由控制点与终点G间的欧氏距离表示,用于衡量轨迹接近终点的程度。Distance item f goal : represented by the Euclidean distance between the control point and the end point G, used to measure the degree to which the trajectory is close to the end point. 初始状态项fstart:由轨迹的初始速度和加速度和无人机相应的状态计算,这样做的目的是一方面保障重新规划轨迹连续,另一方面给予q0,q1,q2必要的优化空间,式中v0,v1,v2为速度曲线的控制点,a0,a1为加速度曲线的控制点;The initial state item f start : calculated from the initial velocity and acceleration of the trajectory and the corresponding state of the UAV. The purpose of this is to ensure the continuity of the re-planned trajectory on the one hand, and on the other hand to give q 0 , q 1 , q 2 the necessary optimization space, where v 0 , v 1 , v 2 are the control points of the velocity curve, and a 0 , a 1 are the control points of the acceleration curve; 3.根据权利要求1所述的未知复杂环境中无人机航迹快速智能规划方法,其特征在于:3. in the unknown complex environment according to claim 1, the fast intelligent planning method for the track of the unmanned aerial vehicle is characterized in that: 所述后端优化过程中:During the backend optimization process: 各部分约束如下:The constraints of each part are as follows: 动力学约束Cdynamics:对于速度约束,将速度曲线的控制点转化为最小单纯形的顶点进行约束,而对于加速度约束,因为加速度曲线次数为1,其本身控制点构成的单纯形已然是最小,所以无需转换,同时a0由初始加速度La决定,所以无需对它添加约束,式中为最小体积基的2次曲线基矩阵,Vmax和Amax分别为最大速度和加速度;Dynamics constraint C dynamics : For velocity constraints, the control point of the velocity curve is converted into the vertex of the minimum simplex to constrain. For the acceleration constraint, because the degree of acceleration curve is 1, the simplex formed by its own control points is already the smallest, so there is no need to convert it. At the same time, a 0 is determined by the initial acceleration L a , so there is no need to add constraints to it. is the quadratic curve basis matrix of the minimum volume basis, V max and A max are the maximum velocity and acceleration respectively; 无碰撞约束Ccolli-sio:根据对周围已知安全空间进行凸分解,获得个凸多面体{(Ap,cp)},p=1,2,...,P。然后基于B样条曲线性质,根据关键点所处的阶段为每段局部轨迹分配相应的凸多面体,朝V1扩张的控制点即处于第一阶段;Collision-free constraint C colli-sio : According to Convex decomposition of the known safe space around, get A convex polyhedron {(A p , c p )}, p=1, 2, ..., P. Then, based on the properties of the B-spline curve, a corresponding convex polyhedron is assigned to each local trajectory according to the stage of the key point, and the control point expanding toward V 1 is in the first stage; 初始状态约束Cinitial:等式约束,用于保证轨迹的初始位置等于LpInitial state constraint C initial : an equality constraint, used to ensure that the initial position of the trajectory is equal to L p ; 最终状态约束Cfinal:强制轨迹结尾的速度和加速度为0,对于3次B样条曲线来说,只需确保后三个控制点相等;The final state constraint C final : the velocity and acceleration at the end of the mandatory trajectory are 0. For the third degree B-spline curve, only need to ensure that the last three control points are equal; qn-2=qn-1=qn 7)q n-2 =q n-1 =q n 7) 控制点约束Ccp:用于固定指定的控制点,在安全优化时,保持相应的局部快速轨迹即Lp→R不变;Control point constraint C cp : it is used to fix the specified control point, and keep the corresponding local fast trajectory, that is, L p → R, unchanged during security optimization; 4.根据权利要求1所述的未知复杂环境中无人机航迹快速智能规划方法,其特征在于:4. in the unknown complex environment according to claim 1, the fast intelligent planning method for the track of the unmanned aerial vehicle is characterized in that: 所述后端优化过程中优化策略包括三种分别为快速优化,安全优化和备用优化;The optimization strategies in the back-end optimization process include three types of fast optimization, safety optimization and backup optimization; 1)快速优化:目标函数为fjerk+fgoal+fstart,约束为Cdynamics,Ccollision-free,Cinitial,fixedseg为0;1) Fast optimization: the objective function is f jerk +f goal +f start , the constraints are C dynamics , C collision-free , C initial , and the fixed seg is 0; 2)安全优化:目标函数为fjerk+fgoal,约束为Cdynamics,Ccollision-free,Cinitial,Ccp,fixedseg为1;2) Security optimization: the objective function is f jerk +f goal , the constraints are C dynamics , C collision-free , C initial , C cp , and the fixed seg is 1; 3)备用优化:目标函数为fjerk+fgoal+fstart,约束为Cdynamics,Ccollision-free,Cinitial,Cfinal,fixedseg为0;3) Backup optimization: the objective function is f jerk +f goal +f start , the constraints are C dynamics , C collision-free , C initial , C final , and the fixed seg is 0; 其中表示固定分段快速轨迹的数量,当fixedseg≠0时意味着从q0到/>共fixedseg+3个控制点保持不变,不参与优化。in Indicates the number of fixed segment fast trajectories, when fixed seg ≠ 0 means from q 0 to /> A total of fixed seg +3 control points remain unchanged and do not participate in optimization.
CN202310669654.2A 2023-06-07 2023-06-07 Unmanned aerial vehicle track rapid intelligent planning method in unknown complex environment Pending CN116466752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310669654.2A CN116466752A (en) 2023-06-07 2023-06-07 Unmanned aerial vehicle track rapid intelligent planning method in unknown complex environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310669654.2A CN116466752A (en) 2023-06-07 2023-06-07 Unmanned aerial vehicle track rapid intelligent planning method in unknown complex environment

Publications (1)

Publication Number Publication Date
CN116466752A true CN116466752A (en) 2023-07-21

Family

ID=87173911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310669654.2A Pending CN116466752A (en) 2023-06-07 2023-06-07 Unmanned aerial vehicle track rapid intelligent planning method in unknown complex environment

Country Status (1)

Country Link
CN (1) CN116466752A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119088064A (en) * 2024-11-07 2024-12-06 北京航空航天大学杭州创新研究院 An integrated method for high energy efficiency planning and management based on hydrogen-powered drones

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119088064A (en) * 2024-11-07 2024-12-06 北京航空航天大学杭州创新研究院 An integrated method for high energy efficiency planning and management based on hydrogen-powered drones

Similar Documents

Publication Publication Date Title
Tordesillas et al. Faster: Fast and safe trajectory planner for flights in unknown environments
CN110926477B (en) A UAV route planning and obstacle avoidance method
Wu et al. Guaranteed infinite horizon avoidance of unpredictable, dynamically constrained obstacles
CN107608372B (en) A multi-UAV cooperative trajectory planning method based on the combination of improved RRT algorithm and improved PH curve
CN108958285B (en) An efficient multi-UAV cooperative trajectory planning method based on decomposition idea
Forsmo et al. Optimal search mission with unmanned aerial vehicles using mixed integer linear programming
Liu et al. Towards search-based motion planning for micro aerial vehicles
Choi et al. Two-layer obstacle collision avoidance with machine learning for more energy-efficient unmanned aircraft trajectories
Anderson et al. Optimal feedback guidance of a small aerial vehicle in a stochastic wind
Xia et al. Multi-UAV trajectory planning using gradient-based sequence minimal optimization
CN104407619A (en) Method enabling multiple unmanned aerial vehicles to reach multiple targets simultaneously under uncertain environments
Yao et al. Online trajectory generation with rendezvous for UAVs using multistage path prediction
Tang et al. Path planning and tracking control for parking via soft actor-critic under non-ideal scenarios
US20120206473A1 (en) Robotic texture
CN109613921A (en) Based on the unmanned ship local paths planning method for fast moving glowworm swarm algorithm
Boeuf et al. Planning agile motions for quadrotors in constrained environments
CN116466752A (en) Unmanned aerial vehicle track rapid intelligent planning method in unknown complex environment
Park et al. Boundary-RRT* algorithm for drone collision avoidance and interleaved path re-planning
CN104536442A (en) Underwater vehicle path planning method based on dynamic planning
CN111723983A (en) Time parameterization route planning method and system for unmanned aerial vehicle in unknown environment
CN112214930A (en) Multi-machine collaborative route planning method and system based on collaborative particle swarm optimization algorithm
Klein et al. Cooperative target tracking using oscillator models in three dimensions
Kahn et al. Formation flying control via elliptical virtual structure
Cheng et al. 3-D path planning for UAV based on chaos particle swarm optimization
CN116501089A (en) Unmanned aerial vehicle three-dimensional path planning method based on improved snake optimization algorithm

Legal Events

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