CN116560408A - A sequential convex optimization method and system for time-optimal trajectory of UAV - Google Patents

A sequential convex optimization method and system for time-optimal trajectory of UAV Download PDF

Info

Publication number
CN116560408A
CN116560408A CN202310641901.8A CN202310641901A CN116560408A CN 116560408 A CN116560408 A CN 116560408A CN 202310641901 A CN202310641901 A CN 202310641901A CN 116560408 A CN116560408 A CN 116560408A
Authority
CN
China
Prior art keywords
trajectory
path
uav
convex optimization
point
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
CN202310641901.8A
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.)
North China Electric Power University
Original Assignee
North China Electric Power 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 North China Electric Power University filed Critical North China Electric Power University
Priority to CN202310641901.8A priority Critical patent/CN116560408A/en
Publication of CN116560408A publication Critical patent/CN116560408A/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
    • 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

The invention discloses a sequence convex optimization method and a system for an unmanned aerial vehicle time optimal track, which relate to the technical field of unmanned aerial vehicle path planning and comprise the following steps: acquiring unmanned plane parameter information, path constraint information, task environment information and algorithm parameter information; obtaining barrier information in an actual environment, constructing a grid chart of the actual environment, and uniformly dividing the map into grids with equal proportion; obtaining an unmanned aerial vehicle track optimization configuration space according to the real environment grid diagram; searching in the unmanned aerial vehicle track optimization configuration space by adopting a path planning algorithm based on A to obtain a feasible unmanned aerial vehicle navigation path; and obtaining a safe flight track with optimal time based on the SFC-SCP algorithm. The invention has the advantages of short navigation time, strong obstacle avoidance capability and short algorithm time consumption.

Description

一种用于无人机时间最优轨迹的序列凸优化方法及系统A sequential convex optimization method and system for time-optimal trajectory of UAV

技术领域technical field

本发明涉及无人机路径规划技术领域,具体而言,涉及一种用于无人机时间最优轨迹的序列凸优化方法及系统。The present invention relates to the technical field of UAV path planning, in particular to a sequential convex optimization method and system for UAV time optimal trajectory.

背景技术Background technique

随着科技迅速发展,无人机被应用到多种领域,如探索、侦察、搜救。但由于真实环境的复杂性和无人机自身的局限性,传统的轨迹规划难以确保无人机的安全和成功率;为使无人机能快速安全到达目标点执行任务,需要规划出一条无避碰且使得特定性能指标最优的可行路径。With the rapid development of science and technology, UAVs are applied to various fields, such as exploration, reconnaissance, search and rescue. However, due to the complexity of the real environment and the limitations of the UAV itself, traditional trajectory planning is difficult to ensure the safety and success rate of the UAV; A feasible path that meets and optimizes a specific performance index.

针对无人机时间最优轨迹优化问题,现有技术中通常将非凸问题转化为凸问题后,再应用序列凸优化方法实现快速求解。然而,在障碍多的密集复杂环境下难以快速获得可行解,且序列凸优化对初值较为敏感,在复杂环境下可能陷入局部最小值,导致轨迹迭代无法收敛;因此,急需设计一种新的无人机时间最优轨迹优化方法,以解决上述存在的技术问题。For the UAV time optimal trajectory optimization problem, in the prior art, the non-convex problem is usually transformed into a convex problem, and then the sequential convex optimization method is applied to achieve a fast solution. However, it is difficult to quickly obtain a feasible solution in a dense and complex environment with many obstacles, and sequential convex optimization is sensitive to the initial value, and may fall into a local minimum in a complex environment, resulting in the failure of trajectory iteration to converge; therefore, it is urgent to design a new UAV time optimal trajectory optimization method to solve the above technical problems.

发明内容Contents of the invention

为了解决上述问题,本发明提供了一种用于无人机时间最优轨迹的序列凸优化方法,包括以下步骤:In order to solve the above problems, the present invention provides a sequential convex optimization method for the time optimal trajectory of the UAV, comprising the following steps:

获取无人机在实际环境中的障碍物信息,构建真实环境栅格图,通过A*算法进行路径规划,生成无人机的路径规划构型空间;Obtain the obstacle information of the UAV in the actual environment, construct the real environment grid map, perform path planning through the A* algorithm, and generate the path planning configuration space of the UAV;

采用基于SFC-SCP的轨迹序列凸优化算法,以轨迹点间飞行时间作为优化变量,在路径规划构型空间进行搜索,获得一条时间最优的安全飞行轨迹。The trajectory sequence convex optimization algorithm based on SFC-SCP is used, and the flight time between trajectory points is used as the optimization variable to search in the path planning configuration space to obtain a time-optimal safe flight trajectory.

优选地,响应于真实环境栅格图的构建过程,通过获取无人机初始状态与终端状态,状态与控制约束边界,威胁位置信息,路径离散点,安全飞行走廊边界约束,初始信赖域半径,收敛阈值,建立针对无人机时间最优轨迹优化问题的环境地图,并在环境地图中随机生成障碍物;Preferably, in response to the construction process of the real environment grid map, by obtaining the initial state and terminal state of the UAV, state and control constraint boundaries, threat location information, path discrete points, safe flight corridor boundary constraints, initial trust region radius, Convergence threshold, establish an environment map for the UAV time optimal trajectory optimization problem, and randomly generate obstacles in the environment map;

基于环境地图,根据障碍物信息,构建真实环境栅格图,将地图均匀分成等比例大小的栅格。Based on the environment map and obstacle information, the real environment grid map is constructed, and the map is evenly divided into grids of equal size.

优选地,响应于通过A*算法进行路径规划的过程,基于环境地图,通过A*算法,获得一条从起点到终点的最短路径,并生成无人机的初始基准轨迹,其中,初始基准轨迹表示为:Preferably, in response to the path planning process through the A* algorithm, based on the environment map, through the A* algorithm, obtain a shortest path from the starting point to the end point, and generate an initial reference trajectory of the UAV, wherein the initial reference trajectory represents for:

其中,X0代表利用A*算法的避障路径作为基准轨迹,后续迭代中的基准轨迹Xq为前一次迭代的求解结果;q表示序列凸优化中第q次迭代,Xq表示第q次序列迭代的求解结果;Among them, X 0 represents the obstacle avoidance path using the A* algorithm as the reference trajectory, and the reference trajectory X q in subsequent iterations is the solution result of the previous iteration; q represents the qth iteration in sequential convex optimization, and X q represents the qth The solution result of sequence iteration;

根据初始基准轨迹,依据障碍物信息,构建路径规划构型空间。According to the initial reference trajectory and obstacle information, the path planning configuration space is constructed.

优选地,响应于路径规划构型空间的构建过程,基于初始基准轨迹,结合周围障碍物,求取每个路径点对应的半平面约束集合,并分配给每个轨迹点,其中,半平面约束集合表示为:Preferably, in response to the construction process of the path planning configuration space, based on the initial reference trajectory, combined with surrounding obstacles, a set of half-plane constraints corresponding to each path point is obtained and assigned to each trajectory point, wherein the half-plane constraint Collections are represented as:

l(i,m)=-H(i,m)×J(i,m),i=1,2,...,N;m=1,2,...,Ml(i, m)=-H(i, m)×J(i, m), i=1, 2,..., N; m=1, 2,..., M

式中,H(i,m)为第i个路径点与第m个圆柱障碍生成的半平面单位法向量,J(i,m)为第m个圆形障碍上到第i个路径点最近的一个点坐标,和/>表示第m个圆柱水平面圆心中心点位置和半径;In the formula, H(i, m) is the semi-plane unit normal vector generated between the i-th path point and the m-th cylindrical obstacle, and J(i, m) is the nearest path point on the m-th circular obstacle to the i-th path point A point coordinate of and /> Indicates the position and radius of the center point and radius of the horizontal plane of the mth cylinder;

由A*算法生成的规划路径上的所有路径点的半平面约束集合构成一个凸域集合,构建路径规划构型空间。The semi-plane constraint set of all path points on the planned path generated by the A* algorithm constitutes a convex domain set, and the path planning configuration space is constructed.

优选地,响应于障碍物的获取过程,采用圆柱形威胁和棱柱形威胁作为障碍物,并设置高度为无限高,障碍物表示为:Preferably, in response to the obstacle acquisition process, the cylindrical threat and the prismatic threat are used as obstacles, and the height is set to be infinitely high. The obstacle is expressed as:

其中,||·||2为2-范数,和/>表示圆柱形威胁和菱柱形威胁,pxy表示无人机当前位置,/>和/>表示第m个圆柱水平面圆心中心点位置和半径,/>和bm,i表示第m个菱形威胁第i个边的半空间系数,/>表示第m个菱形威胁的边数。Among them, ||·|| 2 is the 2-norm, and /> Indicates a cylindrical threat and a diamond-shaped threat, p xy indicates the current position of the drone, /> and /> Indicates the position and radius of the center point and radius of the horizontal plane of the mth cylinder, /> and b m, i represent the half-space coefficient of the m-th rhombus threatening the i-th side, /> Indicates the number of sides of the mth rhombus threat.

优选地,响应于凸域集合的构建过程,结合正方体信赖域约束与半平面约束构造出一个凸的多边形区域,作为一个轨迹点的约束区域,根据约束区域,构建凸域集合,其中,约束区域表示为:Preferably, in response to the construction process of the convex domain set, a convex polygonal area is constructed by combining the cube trust region constraint and the half-plane constraint as a constraint area of a trajectory point, and the convex domain set is constructed according to the constraint area, wherein the constraint area Expressed as:

其中,B(pi)表示一个固定大小的正方体信赖域约束;表示路径点pi与圆柱形威胁/>的半空间;/>表示路径点pi与棱柱形威胁pm的半空间;Among them, B(p i ) represents a fixed-size cube trust region constraint; Denotes waypoint p i with cylindrical threat /> half-space; /> represents the half-space of waypoint p i and prismatic threat p m ;

凸域集合表示为:Γ={SFC1∪SFC2∪...∪SFCN}。The set of convex fields is expressed as: Γ={SFC 1 ∪SFC 2 ∪...∪SFC N }.

优选地,响应于安全飞行轨迹的获取过程,使用梯形积分方法,对无人机运动学模型进行离散化处理,依据基准状态轨迹,对离散化后的无人机运动学模型的右端项进行线性化,分别得到位置和速度的线性约束,通过基于SFC-SCP的轨迹序列凸优化算法,获取安全飞行轨迹,其中,线性约束表示为:Preferably, in response to the acquisition process of the safe flight trajectory, the trapezoidal integration method is used to discretize the kinematics model of the UAV, and the right-hand term of the kinematics model of the discretized UAV is linearly processed according to the reference state trajectory. The linear constraints of position and velocity are obtained respectively, and the safe flight trajectory is obtained through the trajectory sequence convex optimization algorithm based on SFC-SCP, where the linear constraints are expressed as:

其中,p=[px,py,pz]为三维空间位置,v=[vx,vy,vz]为速度,a=[ax,ay,az]为加速度,Δt为第k个点到第k+1个点的时间间隔。Among them, p=[p x , p y , p z ] is the three-dimensional space position, v=[v x , v y , v z ] is the velocity, a=[a x , a y , a z ] is the acceleration, Δt is the time interval from the kth point to the k+1th point.

优选地,响应于构建基于SFC-SCP的轨迹序列凸优化算法,通过前端构建SFC缓解SCP求解轨迹时对初值敏感和结果不收敛问题,生成基于SFC-SCP的轨迹序列凸优化算法。Preferably, in response to constructing a trajectory sequence convex optimization algorithm based on SFC-SCP, the front-end construction of SFC alleviates the problem of initial value sensitivity and result non-convergence when solving the trajectory of SCP, and generates a trajectory sequence convex optimization algorithm based on SFC-SCP.

优选地,响应于通过基于SFC-SCP的轨迹序列凸优化算法获取安全飞行轨迹的过程,判断获取过程是否满足收敛条件,若满足,则输出当前的轨迹规划结果;若不满足,更新基准轨迹,继续迭代求解,其中,收敛条件:满足所有约束条件,且连续两次迭代的轨迹结果在一定误差范围内相同,表示为:Preferably, in response to the process of obtaining the safe flight trajectory through the trajectory sequence convex optimization algorithm based on SFC-SCP, it is judged whether the acquisition process satisfies the convergence condition, and if so, the current trajectory planning result is output; if not satisfied, the reference trajectory is updated, Continue to iteratively solve, where the convergence condition: all constraints are satisfied, and the trajectory results of two consecutive iterations are the same within a certain error range, expressed as:

其中,q表示序列凸优化中第q次迭代,Xq表示第q次迭代的求解结果。Among them, q represents the qth iteration in sequential convex optimization, and X q represents the solution result of the qth iteration.

本发明公开了一种用于无人机时间最优轨迹的序列凸优化系统,包括:The invention discloses a sequential convex optimization system for the time-optimized trajectory of an unmanned aerial vehicle, comprising:

数据采集模块,用于获取无人机在实际环境中的障碍物信息;The data collection module is used to obtain the obstacle information of the UAV in the actual environment;

数据处理模块,用于根据障碍物信息,构建真实环境栅格图,通过A*算法进行路径规划,生成无人机的路径规划构型空间;The data processing module is used to construct the real environment grid map according to the obstacle information, perform path planning through the A* algorithm, and generate the path planning configuration space of the UAV;

飞行轨迹规划模块,用于采用基于SFC-SCP的轨迹序列凸优化算法,以轨迹点间飞行时间作为优化变量,在路径规划构型空间进行搜索,获得一条时间最优的安全飞行轨迹。The flight trajectory planning module is used to adopt the trajectory sequence convex optimization algorithm based on SFC-SCP, and use the flight time between trajectory points as the optimization variable to search in the path planning configuration space to obtain a safe flight trajectory with optimal time.

本发明公开了以下技术效果:The invention discloses the following technical effects:

本发明能够根据无人机抵达给定目标点的任务需求,利用安全飞行走廊的强鲁棒性和收敛性,生成一条满足要求的无人机可行路径,具有航行时间短、避障能力强、算法耗时短的优点。The invention can generate a feasible path for the UAV that meets the requirements by using the strong robustness and convergence of the safe flight corridor according to the mission requirements of the UAV to reach a given target point, and has the advantages of short flight time, strong obstacle avoidance ability, The advantage of the algorithm is that it takes a short time.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为本发明实施例提供的无人机时间最优轨迹优化方法流程图;Fig. 1 is the flowchart of the UAV time optimal trajectory optimization method provided by the embodiment of the present invention;

图2为本发明实施例所提供的圆柱形威胁半平面示意图;Fig. 2 is a schematic diagram of a half-plane of a cylindrical threat provided by an embodiment of the present invention;

图3为本发明实施例所提供的棱柱形威胁半平面示意图;FIG. 3 is a schematic diagram of a half-plane of a prismatic threat provided by an embodiment of the present invention;

图4为本发明实施例所提供的单轨迹点的多平面安全飞行走廊示意图;4 is a schematic diagram of a multi-plane safe flight corridor of a single track point provided by an embodiment of the present invention;

图5为本发明实施例所提供的轨迹点集合的多平面安全飞行走廊示意图;FIG. 5 is a schematic diagram of a multi-plane safe flight corridor of a track point set provided by an embodiment of the present invention;

图6为本发明实施例所提供的l=7离散点走廊约束示意图;FIG. 6 is a schematic diagram of corridor constraints of 1=7 discrete points provided by an embodiment of the present invention;

图7为本发明实施例所提供的场景一算法规划结果对比二维图;Fig. 7 is a two-dimensional diagram of comparison of scene-algorithm planning results provided by the embodiment of the present invention;

图8为本发明实施例所提供的场景一算法规划结果对比三维图;Fig. 8 is a three-dimensional diagram of comparison of scene-algorithm planning results provided by the embodiment of the present invention;

图9为本发明实施例所提供的场景二规划结果对比二维图;Fig. 9 is a two-dimensional diagram of comparison of planning results of scene two provided by the embodiment of the present invention;

图10为本发明实施例所提供的场景二规划结果对比三维图;Fig. 10 is a three-dimensional diagram of comparison of planning results of scene two provided by the embodiment of the present invention;

图11为本发明实施例所提供的100次随机场景算法轨迹时间图;Fig. 11 is the trajectory time diagram of 100 random scene algorithms provided by the embodiment of the present invention;

图12为本发明实施例所提供的100次随机场景算法求解耗时图。Fig. 12 is a time-consuming diagram for solving 100 random scene algorithms provided by the embodiment of the present invention.

具体实施方式Detailed ways

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of the present application.

如图1-12所示,本发明提供了一种安全飞行走廊约束的无人机时间最优轨迹序列凸优化方法,时间最优轨迹序列凸优化方法包括:As shown in Figure 1-12, the present invention provides a time-optimal trajectory sequence convex optimization method for UAVs constrained by a safe flight corridor. The time-optimal trajectory sequence convex optimization method includes:

获取无人机初始状态与终端状态,状态与控制约束边界,威胁位置信息,路径离散点,安全飞行走廊边界约束,初始信赖域半径,收敛阈值;Obtain the UAV's initial state and terminal state, state and control constraint boundaries, threat location information, path discrete points, safe flight corridor boundary constraints, initial trust region radius, and convergence threshold;

获取实际环境中的障碍物信息,并构建真实环境栅格图,将地图均匀分成等比例大小的栅格;Obtain obstacle information in the actual environment, construct a real environment grid map, and evenly divide the map into grids of equal proportions;

无人机参数信息包括无人机的尺寸,路径约束信息包括无人机的起点位置和目标点位置,任务环境信息包括地图尺寸、障碍物数量和障碍物位置。The UAV parameter information includes the size of the UAV, the path constraint information includes the starting position and the target point location of the UAV, and the mission environment information includes the map size, the number of obstacles, and the location of obstacles.

根据真实环境栅格图构建无人机时间最优轨迹序列凸优化具体包括:Convex optimization of UAV time-optimal trajectory sequence construction based on the real environment grid map specifically includes:

在真实环境栅格图中,通过A*等路径规划算法获得一条从起点到终点的最短安全路径;In the real environment grid map, a shortest safe path from the starting point to the ending point is obtained through path planning algorithms such as A*;

对真实环境栅格图中的威胁区和路径点构建轨迹点的凸多面体约束;Convex polyhedron constraints for constructing trajectory points for threat areas and waypoints in the real environment raster map;

构建安全飞行走廊约束的无人机轨迹优化模型,以轨迹点间飞行时间作为优化变量,使用序列凸优化方法进行求解。The UAV trajectory optimization model constrained by the safe flight corridor is constructed, and the flight time between trajectory points is used as the optimization variable, and the sequential convex optimization method is used to solve the problem.

可选的,采用基于A*算法的路径规划算法在无人机时间最优轨迹序列凸优化构型空间中进行搜索,获得可行的无人机飞行路径。Optionally, a path planning algorithm based on the A* algorithm is used to search in the convex optimization configuration space of the time-optimal trajectory sequence of the UAV to obtain a feasible flight path of the UAV.

威胁分为圆柱形威胁和棱柱形威胁,分别对两个威胁求取半平面集合,获得每个路径点的规划凸域。圆柱形威胁半平面可表示为:Threats are divided into cylindrical threats and prismatic threats, and the half-plane sets are obtained for the two threats respectively, and the planning convex domain of each path point is obtained. The cylindrical threat half-plane can be expressed as:

l(i,m)=-Η(i,m)×J(i,m),i=1,2,...,N;m=1,2,...,M (3)l(i,m)=-H(i,m)×J(i,m), i=1,2,...,N; m=1,2,...,M (3)

其中,H(i,m)为第i个路径点与第m个圆柱障碍生成的半平面单位法向量,J(i,m)为第m个圆形障碍上到第i个路径点最近的一个点坐标,l(i,m)为第i个路径点与第m个圆柱障碍之间的距离约束,使用式(4)描述圆柱障碍的半平面空间:Among them, H(i,m) is the semi-plane unit normal vector generated by the i-th path point and the m-th cylindrical obstacle, and J(i,m) is the nearest path point on the m-th circular obstacle to the i-th path point A point coordinate, l(i,m) is the distance constraint between the i-th path point and the m-th cylindrical obstacle, using formula (4) to describe the half-plane space of the cylindrical obstacle:

Η(i,m)×pi≥J(i,m) (4)Η(i,m)×p i ≥ J(i,m) (4)

棱柱形威胁半平面首先求取棱柱形威胁水平中心点,根据该点与各个顶点形成多条射线,判断路径点位于哪两个射线中间区域,如式(8)所示,使用两个顶点所在的边作为半平面,如式(5)所示。The prismatic threat half-plane first calculates the horizontal center point of the prismatic threat. According to the formation of multiple rays from this point and each vertex, it is judged which two rays the path point is located in. As shown in formula (8), the two vertices are used The edge of is used as a half-plane, as shown in formula (5).

其中,bm,j分别为第m个棱柱形威胁的第j个顶点与中心点形成的半平面空间系数。in, b m and j are the half-plane space coefficients formed by the jth vertex and the central point of the mth prismatic threat, respectively.

其中,a_pm和b_pm分别为路径点所在侧的半平面的空间系数,使用表示路径点pi与棱柱形威胁pm的半空间。Among them, a_p m and b_p m are the space coefficients of the half-plane on the side where the path point is located, respectively, using represents the half-space of waypoint p i and prismatic threat p m .

为增加飞行走廊的计算效率,在获取半平面时只取当前路径点一定范围内障碍的半平面,即给每个路径点增加一个固定大小的正方体信赖域约束,可表述为式(7),η为正方形边长的一半。In order to increase the calculation efficiency of the flight corridor, when obtaining the half-plane, only the half-plane of obstacles within a certain range of the current waypoint is taken, that is, a fixed-size cube trust region constraint is added to each waypoint, which can be expressed as formula (7), η is half the side length of the square.

结合正方体信赖域约束与半平面约束可以构造出一个凸的多边形区域,该区域为优化算法中一个轨迹点的约束区域,可表述为:Combining cube trust region constraints and half-plane constraints can construct a convex polygonal area, which is the constraint area of a trajectory point in the optimization algorithm, which can be expressed as:

其中,B(pi)表示一个固定大小的正方体信赖域约束;表示路径点pi与圆柱形威胁/>的半空间;/>表示路径点pi与棱柱形威胁pm的半空间。Among them, B(p i ) represents a fixed-size cube trust region constraint; Denotes waypoint p i with cylindrical threat /> half-space; /> represents the half-space of waypoint p i and prismatic threat p m .

根据上述方法,一个路径点pi可生成一个凸域SFCi,遍历A*规划出的路径点即可获得一个凸域集合,该集合可表示为式(9):According to the above method, a path point p i can generate a convex field SFC i , and a set of convex fields can be obtained by traversing the path points planned by A*, which can be expressed as formula (9):

Γ={SFC1∪SFC2∪...∪SFCN} (9)Γ={SFC 1 ∪SFC 2 ∪...∪SFC N } (9)

基于安全走廊的障碍规避约束,在无人机运动方程离散化和线性化后如式(10)和式(11),将轨迹点间飞行时间作为优化变量,使用序列凸优化方法进行逐次求解,获得一条时间最优的安全飞行轨迹。Based on the obstacle avoidance constraints of the safety corridor, after the UAV motion equations are discretized and linearized, such as formula (10) and formula (11), the flight time between trajectory points is used as the optimization variable, and the sequential convex optimization method is used to solve successively. Obtain a safe flight trajectory with optimal time.

其中,p=[px,py,pz]为三维空间位置,v=[vx,vy,vz]为速度,a=[ax,ay,az]为加速度,Δt为第k个点到第k+1个点的时间间隔。Among them, p=[p x , p y , p z ] is the three-dimensional space position, v=[v x , v y , v z ] is the velocity, a=[a x , a y , a z ] is the acceleration, Δt is the time interval from the kth point to the k+1th point.

通过离散和线性化后,无人机时间最优轨迹规划建模为下述最优化问题:After discretization and linearization, the UAV time-optimal trajectory planning is modeled as the following optimization problem:

本发明提供的一种基于安全飞行走廊约束的无人机时间最优轨迹序列凸优化方法,路径规划方法包括:获取无人机参数信息、路径约束信息、任务环境信息和算法参数信息;获取实际环境中的障碍物信息,并构建真实环境栅格图,将地图均匀分成等比例大小的栅格;根据真实环境栅格图获得无人机轨迹优化构型空间;采用基于A*的路径规划算法在无人机轨迹优化构型空间中进行搜索,获得可行的无人机航行路径;基于SFC-SCP算法获得一条时间最优的安全飞行轨迹。The present invention provides a time-optimal trajectory sequence convex optimization method for UAVs based on the constraints of safe flight corridors. The path planning method includes: obtaining UAV parameter information, path constraint information, task environment information and algorithm parameter information; obtaining actual Obstacle information in the environment, and build a real environment grid map, and evenly divide the map into grids of equal proportions; obtain UAV trajectory optimization configuration space according to the real environment grid map; use A*-based path planning algorithm Search in the UAV trajectory optimization configuration space to obtain a feasible UAV flight path; based on the SFC-SCP algorithm, a time-optimal safe flight trajectory is obtained.

实施例1:本实施例所提供的一种基于安全飞行走廊约束的无人机时间最优轨迹序列凸优化方法具体实现步骤如下:Embodiment 1: The specific implementation steps of a time-optimal trajectory sequence convex optimization method for UAVs based on the constraints of the safe flight corridor provided by this embodiment are as follows:

步骤一:问题信息输入,包括无人机初始状态与终端状态,状态与控制约束边界,威胁位置信息,路径离散点,安全飞行走廊边界约束,初始信赖域半径,收敛阈值。Step 1: Input the problem information, including the initial state and terminal state of the UAV, state and control constraint boundary, threat location information, path discrete points, safe flight corridor boundary constraints, initial trust region radius, and convergence threshold.

步骤二:根据上述具体实例的参数输入,建立针对无人机时间最优轨迹优化问题的环境地图。环境地图规模为100*100*20,分别率为0.1m,包含50个障碍,其中包括30个圆柱形障碍(径在3-6m之间)、20个多边形障碍,障碍高度无限高。为体现本算法在复杂环境下的规划效率,所述障碍均随机生成。Step 2: According to the parameter input of the above specific example, establish an environment map for the UAV time optimal trajectory optimization problem. The scale of the environment map is 100*100*20, the resolution is 0.1m, and it contains 50 obstacles, including 30 cylindrical obstacles (with a diameter between 3-6m), 20 polygonal obstacles, and the obstacle height is infinitely high. In order to reflect the planning efficiency of this algorithm in complex environments, the obstacles are randomly generated.

步骤三:采用A*算法,获得一条从起点到终点的最短路径,根据下式获得初始基准轨迹。Step 3: Use the A* algorithm to obtain a shortest path from the start point to the end point, and obtain the initial reference trajectory according to the following formula.

式中,X0代表利用A*算法的避障路径作为基准轨迹,后续迭代中的基准轨迹Xq为前一次迭代的求解结果;q表示序列凸优化中第q次迭代,Xq表示第q次序列迭代的求解结果。In the formula, X 0 represents the obstacle avoidance path using the A* algorithm as the reference trajectory, and the reference trajectory X q in subsequent iterations is the solution result of the previous iteration; q represents the qth iteration in sequential convex optimization, and X q represents the qth iteration The solution result of the subsequence iteration.

步骤四:结合周围障碍,求取每个路径点对应的半平面约束集合,并分配给每个轨迹点,半平面约束集合由式(4)所示;由A*算法生成的规划路径上的所有路径点的半平面约束集合构成一个凸域集合,该集合可表示为式(10)。Step 4: Combining the surrounding obstacles, obtain the semi-plane constraint set corresponding to each path point and assign it to each trajectory point. The semi-plane constraint set is shown in formula (4); the planning path generated by the A* algorithm The set of half-plane constraints of all path points constitutes a set of convex domains, which can be expressed as formula (10).

图2所示是圆柱形威胁半平面示意图,使用式(5)描述圆柱障碍的半平面空间;Figure 2 is a schematic diagram of a half-plane of a cylindrical threat, using formula (5) to describe the half-plane space of a cylindrical obstacle;

图3所示是棱柱形威胁半平面示意图,首先求取棱柱形威胁水平中心点,根据该点与各个顶点形成多条射线,判断路径点位于哪两个射线中间区域,如式(6)所示,使用两个顶点所在的边作为半平面,如式(7)所示;Figure 3 is a schematic diagram of the half-plane of the prismatic threat. Firstly, the horizontal center point of the prismatic threat is obtained. According to the formation of multiple rays between this point and each vertex, it is judged which two rays the path point is located in, as shown in formula (6). , use the edge where the two vertices are located as the half-plane, as shown in formula (7);

结合正方体信赖域约束与半平面约束可以构造出一个凸的多边形区域,该区域为优化算法中一个轨迹点的约束区域,如图4所示,其中绿色区域为正方体边界约束,红色区域为构造的安全飞行走廊,可以表述为式(9),红色点是路径点;Combining cube trust region constraints and half-plane constraints can construct a convex polygonal area, which is the constraint area of a trajectory point in the optimization algorithm, as shown in Figure 4, where the green area is the cube boundary constraint, and the red area is the constructed The safe flight corridor can be expressed as formula (9), and the red point is the way point;

一个路径点pi可生成一个凸域SFCi,遍历A*规划出的路径点即可获得一个凸域集合,该集合可表示为式(10),如图5中红色区域所示。A path point p i can generate a convex field SFC i , and a convex field set can be obtained by traversing the path points planned by A*, which can be expressed as formula (10), as shown in the red area in Figure 5.

步骤五:根据基准轨迹,构建时间最优轨迹优化问题的凸优化模型。Step 5: Construct a convex optimization model for the time-optimal trajectory optimization problem based on the benchmark trajectory.

步骤六:利用凸优化算法求解,获得当前迭代的最优控制序列。Step 6: Solve using convex optimization algorithm to obtain the optimal control sequence of the current iteration.

根据凸集属性,一个凸集中任意两点连线,直线上所有点都在该凸集中,即两个路径点位于一个凸集中,规划出的结果均满足路径约束要求。但当两个路径点分别位于不同凸集中时,两个路径点满足约束条件,但两点之间连线上的点不一定满足凸集要求,如图6中黑色直线所示。故使用l个差值点描述两个路径点之间的轨迹,如图中绿色点所示,将绿色菱形点约束在两个凸集的交集,以确保整条轨迹满足避障约束。图中红色三角点为路径点,蓝色填充的多边形为安全飞行走廊,绿色点为差值轨迹点,加入差值点后,红色轨迹能够满足走廊约束。According to the properties of convex sets, if any two points in a convex set are connected by a line, all points on the line are in the convex set, that is, two path points are in a convex set, and the planned results all meet the path constraint requirements. However, when the two path points are located in different convex sets, the two path points meet the constraint conditions, but the points on the line between the two points do not necessarily meet the requirements of the convex set, as shown by the black straight line in Figure 6. Therefore, l difference points are used to describe the trajectory between two path points, as shown in the green point in the figure, and the green diamond point is constrained at the intersection of two convex sets to ensure that the entire trajectory meets the obstacle avoidance constraint. The red triangle point in the figure is the path point, the blue filled polygon is the safe flight corridor, and the green point is the difference trajectory point. After adding the difference point, the red trajectory can satisfy the corridor constraint.

步骤六:判断是否满足收敛条件,若满足,则输出当前的轨迹规划结果;若不满足,更新基准轨迹,并返回步骤四。收敛条件:满足所有约束条件,且连续两次迭代的轨迹结果在一定误差范围内相同,可表示为:Step 6: Determine whether the convergence condition is satisfied, if so, output the current trajectory planning result; if not, update the reference trajectory, and return to step 4. Convergence condition: All constraints are satisfied, and the trajectory results of two consecutive iterations are the same within a certain error range, which can be expressed as:

其中,q表示序列凸优化中第q次迭代,Xq表示第q次迭代的求解结果。Among them, q represents the qth iteration in sequential convex optimization, and X q represents the solution result of the qth iteration.

针对上述具体实例,利用本实施例所述的一种基于安全飞行走廊约束的无人机时间最优轨迹序列凸优化方法得到的路径结果与其他算法的对比如图7-图10路径所示。For the specific examples above, the path results obtained by using the UAV time-optimal trajectory sequence convex optimization method based on the safe flight corridor constraints described in this embodiment are compared with other algorithms as shown in Figures 7-10.

采用A*算法或SCP算法得到的路径结果如图7-图10中的路径所示。尽管传统方法得到的路径结果能够规避障碍并引导机器人编导到达目标位置,但是其规划出的路径需要绕行或紧贴障碍实现障碍规避,而本专利提出的路径规划方法能够通过轨迹序列凸优化更好地实现障碍规避,并能够以最优的时间抵达目标点。The path results obtained by using the A* algorithm or the SCP algorithm are shown in the paths in Figures 7-10. Although the path result obtained by the traditional method can avoid obstacles and guide the robot to reach the target position, the planned path needs to go around or stick to obstacles to avoid obstacles, and the path planning method proposed in this patent can be more accurate through trajectory sequence convex optimization. Achieve obstacle avoidance well, and be able to reach the target point with optimal time.

如图11和图12的100次随机场景算法轨迹时间和求解耗时可知,三种算法对比结果表明,通过前端构建SFC缓解了SCP求解轨迹时对初值敏感和结果不收敛问题。在损失10.48%飞行时间的基础上,成功率提升了10%,算法求解耗时减少56%,表明提出的SFC-SCP方法具有更好的鲁棒性和计算效率。As shown in Figure 11 and Figure 12, the trajectory time and solution time of 100 random scene algorithms can be seen. The comparison results of the three algorithms show that the construction of SFC through the front-end alleviates the sensitivity to the initial value and the non-convergence of the result when SCP solves the trajectory. On the basis of losing 10.48% of flight time, the success rate is increased by 10%, and the algorithm solution time is reduced by 56%, which shows that the proposed SFC-SCP method has better robustness and computational efficiency.

根据前述的无人机时间最优轨迹优化仿真结果与分析可见,本实施例所述的一种基于安全飞行走廊约束的无人机时间最优轨迹序列凸优化方法能够为无人机提供满足实际复杂约束的可行路径,且路径结果与传统方法相比,具有时间最优,避障能力强的优点,因此本发明具有工程实用性,能够实现预期的发明目的。According to the above simulation results and analysis of UAV time-optimal trajectory optimization, it can be seen that a UAV time-optimal trajectory sequence convex optimization method based on safe flight corridor constraints described in this embodiment can provide UAVs that meet the actual A feasible path with complex constraints, and compared with the traditional method, the path result has the advantages of optimal time and strong obstacle avoidance ability. Therefore, the present invention has engineering practicability and can achieve the expected purpose of the invention.

本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

在本发明的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "first" and "second" are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (10)

1.一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于,包括以下步骤:1. a sequential convex optimization method for unmanned aerial vehicle time optimal trajectory, is characterized in that, comprises the following steps: 获取无人机在实际环境中的障碍物信息,构建真实环境栅格图,通过A*算法进行路径规划,生成所述无人机的路径规划构型空间;Obtaining the obstacle information of the UAV in the actual environment, constructing a real environment grid map, performing path planning through the A* algorithm, and generating the path planning configuration space of the UAV; 采用基于SFC-SCP的轨迹序列凸优化算法,以轨迹点间飞行时间作为优化变量,在所述路径规划构型空间进行搜索,获得一条时间最优的安全飞行轨迹。A trajectory sequence convex optimization algorithm based on SFC-SCP is used, and the flight time between trajectory points is used as an optimization variable to search in the path planning configuration space to obtain a time-optimal safe flight trajectory. 2.根据权利要求1所述一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于:2. according to claim 1, a kind of sequential convex optimization method for unmanned aerial vehicle time optimal track, it is characterized in that: 响应于真实环境栅格图的构建过程,通过获取无人机初始状态与终端状态,状态与控制约束边界,威胁位置信息,路径离散点,安全飞行走廊边界约束,初始信赖域半径,收敛阈值,建立针对无人机时间最优轨迹优化问题的环境地图,并在所述环境地图中随机生成障碍物;In response to the construction process of the real environment grid map, by obtaining the initial state and terminal state of the UAV, state and control constraint boundaries, threat location information, path discrete points, safe flight corridor boundary constraints, initial trust region radius, and convergence threshold, Establish an environment map for the UAV time optimal trajectory optimization problem, and randomly generate obstacles in the environment map; 基于所述环境地图,根据所述障碍物信息,构建所述真实环境栅格图,将地图均匀分成等比例大小的栅格。Based on the environment map and according to the obstacle information, the real environment grid map is constructed, and the map is evenly divided into grids of equal proportions. 3.根据权利要求2所述一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于:3. according to claim 2, a kind of sequential convex optimization method for unmanned aerial vehicle time optimal track, it is characterized in that: 响应于通过A*算法进行路径规划的过程,基于所述环境地图,通过所述A*算法,获得一条从起点到终点的最短路径,并生成所述无人机的初始基准轨迹。其中,所述初始基准轨迹表示为:In response to the process of path planning through the A* algorithm, based on the environment map, a shortest path from the starting point to the destination is obtained through the A* algorithm, and an initial reference trajectory of the UAV is generated. Wherein, the initial reference trajectory is expressed as: 其中,X0代表利用A*算法的避障路径作为基准轨迹,后续迭代中的基准轨迹Xq为前一次迭代的求解结果;q表示序列凸优化中第q次迭代,Xq表示第q次序列迭代的求解结果;Among them, X 0 represents the obstacle avoidance path using the A* algorithm as the reference trajectory, and the reference trajectory X q in subsequent iterations is the solution result of the previous iteration; q represents the qth iteration in sequential convex optimization, and X q represents the qth The solution result of sequence iteration; 根据所述初始基准轨迹,依据所述障碍物信息,构建所述路径规划构型空间。Constructing the path planning configuration space according to the initial reference trajectory and according to the obstacle information. 4.根据权利要求3所述一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于:4. according to claim 3, a kind of sequential convex optimization method for UAV time optimal trajectory, is characterized in that: 响应于路径规划构型空间的构建过程,基于所述初始基准轨迹,结合周围障碍物,求取每个路径点对应的半平面约束集合,并分配给每个轨迹点,其中,所述半平面约束集合表示为:In response to the construction process of the path planning configuration space, based on the initial reference trajectory, combined with surrounding obstacles, obtain a half-plane constraint set corresponding to each path point, and assign it to each trajectory point, wherein the half-plane A set of constraints is expressed as: l(i,m)=-Η(i,m)×J(i,m),i=1,2,...,N;m=1,2,...,Ml(i,m)=-H(i,m)×J(i,m), i=1,2,...,N; m=1,2,...,M 式中,H(i,m)为第i个路径点与第m个圆柱障碍生成的半平面单位法向量,J(i,m)为第m个圆形障碍上到第i个路径点最近的一个点坐标,和/>表示第m个圆柱水平面圆心中心点位置和半径;In the formula, H(i,m) is the semi-plane unit normal vector generated by the i-th path point and the m-th cylindrical obstacle, and J(i,m) is the nearest path point on the m-th circular obstacle to the i-th path point A point coordinate of and /> Indicates the position and radius of the center point and radius of the horizontal plane of the mth cylinder; 由A*算法生成的规划路径上的所有路径点的半平面约束集合构成一个凸域集合,构建所述路径规划构型空间。The semi-plane constraint set of all path points on the planned path generated by the A* algorithm forms a convex domain set, and the path planning configuration space is constructed. 5.根据权利要求4所述一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于:5. according to claim 4, a kind of sequential convex optimization method for unmanned aerial vehicle time optimal track, it is characterized in that: 响应于障碍物的获取过程,采用圆柱形威胁和棱柱形威胁作为所述障碍物,并设置高度为无限高,所述障碍物表示为:In response to the obstacle acquisition process, the cylindrical threat and the prismatic threat are used as the obstacle, and the height is set to be infinitely high, and the obstacle is expressed as: 其中,||·||2为2-范数,和/>表示圆柱形威胁和菱柱形威胁,pxy表示无人机当前位置,/>和/>表示第m个圆柱水平面圆心中心点位置和半径,/>和bm,i表示第m个菱形威胁第i个边的半空间系数,/>表示第m个菱形威胁的边数。Among them, ||·|| 2 is the 2-norm, and /> Indicates a cylindrical threat and a diamond-shaped threat, p xy indicates the current position of the drone, /> and /> Indicates the position and radius of the center point and radius of the horizontal plane of the mth cylinder, /> and b m,i represent the half-space coefficient of the m-th rhombus threatening the i-th side, /> Indicates the number of sides of the mth rhombus threat. 6.根据权利要求5所述一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于:6. according to claim 5, a kind of sequential convex optimization method for unmanned aerial vehicle time optimal track, it is characterized in that: 响应于凸域集合的构建过程,结合正方体信赖域约束与半平面约束构造出一个凸的多边形区域,作为一个轨迹点的约束区域,根据所述约束区域,构建所述凸域集合,其中,所述约束区域表示为:In response to the construction process of the convex domain set, a convex polygonal area is constructed by combining the cube trust region constraint and the half-plane constraint, as a constraint area of a trajectory point, and the convex domain set is constructed according to the constraint area, wherein the The above constraint area is expressed as: B(pi)表示一个固定大小的正方体信赖域约束;表示路径点pi与圆柱形威胁/>的半空间;/>表示路径点pi与棱柱形威胁pm的半空间;B(p i ) represents a fixed-size cube trust region constraint; Denotes waypoint p i with cylindrical threat /> half-space; /> represents the half-space of waypoint p i and prismatic threat p m ; 所述凸域集合表示为:The set of convex domains is expressed as: r={SFC1∪SFC2∪...∪SFCN}。r={SFC 1 ∪SFC 2 ∪...∪SFC N }. 7.根据权利要求6所述一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于:7. according to claim 6, a kind of sequential convex optimization method for UAV time optimal trajectory, is characterized in that: 响应于安全飞行轨迹的获取过程,使用梯形积分方法,对无人机运动学模型进行离散化处理,依据基准状态轨迹,对离散化后的所述无人机运动学模型的右端项进行线性化,分别得到位置和速度的线性约束,通过基于SFC-SCP的所述轨迹序列凸优化算法,获取所述安全飞行轨迹,其中,所述线性约束表示为:In response to the acquisition process of the safe flight trajectory, using the trapezoidal integration method, the kinematics model of the UAV is discretized, and the right-hand term of the kinematics model of the UAV after discretization is linearized according to the reference state trajectory , respectively obtain the linear constraints of position and velocity, and obtain the safe flight trajectory through the trajectory sequence convex optimization algorithm based on SFC-SCP, wherein the linear constraints are expressed as: 其中,p=[px,py,pz]为三维空间位置,v=[vx,vy,vz]为速度,a=[ax,ay,az]为加速度,Δt为第k个点到第k+1个点的时间间隔。Among them, p=[p x , p y , p z ] is the three-dimensional space position, v=[v x , v y , v z ] is the velocity, a=[a x , a y , a z ] is the acceleration, Δt is the time interval from the kth point to the k+1th point. 8.根据权利要求7所述一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于:8. according to claim 7, a kind of sequential convex optimization method for unmanned aerial vehicle time optimal track, it is characterized in that: 响应于构建基于SFC-SCP的轨迹序列凸优化算法,通过前端构建SFC缓解SCP求解轨迹时对初值敏感和结果不收敛问题,生成基于SFC-SCP的所述轨迹序列凸优化算法。In response to the construction of a trajectory sequence convex optimization algorithm based on SFC-SCP, the front-end construction of SFC alleviates the problem of initial value sensitivity and result non-convergence when solving the trajectory of SCP, and generates the trajectory sequence convex optimization algorithm based on SFC-SCP. 9.根据权利要求8所述一种用于无人机时间最优轨迹的序列凸优化方法,其特征在于:9. according to claim 8 a kind of sequential convex optimization method for unmanned aerial vehicle time optimal track, it is characterized in that: 响应于通过基于SFC-SCP的轨迹序列凸优化算法获取安全飞行轨迹的过程,判断获取过程是否满足收敛条件,若满足,则输出当前的轨迹规划结果;若不满足,更新基准轨迹,继续迭代求解,其中,收敛条件:满足所有约束条件,且连续两次迭代的轨迹结果在一定误差范围内相同,表示为:In response to the process of obtaining the safe flight trajectory through the trajectory sequence convex optimization algorithm based on SFC-SCP, judge whether the acquisition process satisfies the convergence condition, if so, output the current trajectory planning result; if not, update the reference trajectory, and continue to iteratively solve , where the convergence condition: all constraints are satisfied, and the trajectory results of two consecutive iterations are the same within a certain error range, expressed as: 其中,q表示序列凸优化中第q次迭代,Xq表示第q次迭代的求解结果。Among them, q represents the qth iteration in sequential convex optimization, and X q represents the solution result of the qth iteration. 10.一种用于无人机时间最优轨迹的序列凸优化系统,其特征在于,包括:10. A sequential convex optimization system for the optimal trajectory of unmanned aerial vehicle, it is characterized in that, comprising: 数据采集模块,用于获取无人机在实际环境中的障碍物信息;The data collection module is used to obtain the obstacle information of the UAV in the actual environment; 数据处理模块,用于根据所述障碍物信息,构建真实环境栅格图,通过A*算法进行路径规划,生成所述无人机的路径规划构型空间;The data processing module is used to construct a real environment grid map according to the obstacle information, and perform path planning through the A* algorithm to generate the path planning configuration space of the UAV; 飞行轨迹规划模块,用于采用基于SFC-SCP的轨迹序列凸优化算法,以轨迹点间飞行时间作为优化变量,在所述路径规划构型空间进行搜索,获得一条时间最优的安全飞行轨迹。The flight trajectory planning module is used to adopt the trajectory sequence convex optimization algorithm based on SFC-SCP, and use the flight time between trajectory points as an optimization variable to search in the path planning configuration space to obtain a time-optimal safe flight trajectory.
CN202310641901.8A 2023-06-01 2023-06-01 A sequential convex optimization method and system for time-optimal trajectory of UAV Pending CN116560408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310641901.8A CN116560408A (en) 2023-06-01 2023-06-01 A sequential convex optimization method and system for time-optimal trajectory of UAV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310641901.8A CN116560408A (en) 2023-06-01 2023-06-01 A sequential convex optimization method and system for time-optimal trajectory of UAV

Publications (1)

Publication Number Publication Date
CN116560408A true CN116560408A (en) 2023-08-08

Family

ID=87496483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310641901.8A Pending CN116560408A (en) 2023-06-01 2023-06-01 A sequential convex optimization method and system for time-optimal trajectory of UAV

Country Status (1)

Country Link
CN (1) CN116560408A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117668495A (en) * 2024-01-30 2024-03-08 中国人民解放军军事科学院国防科技创新研究院 Unmanned aerial vehicle air hover state identification method and device
CN118605569A (en) * 2024-06-24 2024-09-06 南京航空航天大学 Unmanned aerial vehicle obstacle avoidance system based on multi-device interconnection
CN119558506A (en) * 2025-01-26 2025-03-04 新石器慧通(北京)科技有限公司 A control point sequence optimization method and system for path planning

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117668495A (en) * 2024-01-30 2024-03-08 中国人民解放军军事科学院国防科技创新研究院 Unmanned aerial vehicle air hover state identification method and device
CN117668495B (en) * 2024-01-30 2024-05-10 中国人民解放军军事科学院国防科技创新研究院 Unmanned aerial vehicle air hover state identification method and device
CN118605569A (en) * 2024-06-24 2024-09-06 南京航空航天大学 Unmanned aerial vehicle obstacle avoidance system based on multi-device interconnection
CN119558506A (en) * 2025-01-26 2025-03-04 新石器慧通(北京)科技有限公司 A control point sequence optimization method and system for path planning

Similar Documents

Publication Publication Date Title
US10794704B2 (en) Systems and methods for continuous replanning of vehicle trajectories
Liu et al. An autonomous path planning method for unmanned aerial vehicle based on a tangent intersection and target guidance strategy
CN116560408A (en) A sequential convex optimization method and system for time-optimal trajectory of UAV
CN107504972B (en) A kind of aircraft's flight track method and device for planning based on dove group's algorithm
US8082102B2 (en) Computing flight plans for UAVs while routing around obstacles having spatial and temporal dimensions
CN103528586B (en) Path Planning based on fault grid designs
US9513125B2 (en) Computing route plans for routing around obstacles having spatial and temporal dimensions
WO2018176596A1 (en) Unmanned bicycle path planning method based on weight-improved particle swarm optimization algorithm
US10183398B2 (en) Enhanced system and method for control of robotic devices
CN106054920A (en) Unmanned aerial vehicle flight path planning method and device
CN107632616B (en) A Cooperative Path Planning Method for Unmanned Aerial Vehicle Based on 3D Space Curve
Chen et al. Dynamic obstacle avoidance for UAVs using a fast trajectory planning approach
CN104216289A (en) Multiple aircraft fleet control method and device based on distributed evolutionary algorithm
Sànchez et al. A darwinian swarm robotics strategy applied to underwater exploration
Huang et al. A novel route planning method of fixed-wing unmanned aerial vehicle based on improved QPSO
Kang et al. Coverage flight path planning for multi-rotor UAV in convex polygon area
Zollars et al. Optimal SUAS path planning in three-dimensional constrained environments
Wu et al. A non-rigid hierarchical discrete grid structure and its application to UAVs conflict detection and path planning
Ma et al. Volcanic Ash Region Path Planning Based on Improved A‐Star Algorithm
Jung et al. Enabling operational autonomy for unmanned aerial vehicles with scalability
CN109977455B (en) Ant colony optimization path construction method suitable for three-dimensional space with terrain obstacles
Zheng et al. BTO-RRT: A rapid, optimal, smooth and point cloud-based path planning algorithm
Chu et al. Track planning of multi-rotor unmanned aerial vehicle in the complex environment space
RU2700157C1 (en) Aircraft control method
Du et al. Interactive Sensing and Planning for a Quadrotor Vehicle in Partially Known Environments

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