CN111813144B - Multi-unmanned aerial vehicle collaborative route planning method based on improved flocks of sheep algorithm - Google Patents
Multi-unmanned aerial vehicle collaborative route planning method based on improved flocks of sheep algorithm Download PDFInfo
- Publication number
- CN111813144B CN111813144B CN202010528474.9A CN202010528474A CN111813144B CN 111813144 B CN111813144 B CN 111813144B CN 202010528474 A CN202010528474 A CN 202010528474A CN 111813144 B CN111813144 B CN 111813144B
- Authority
- CN
- China
- Prior art keywords
- flock
- route
- flight
- algorithm
- refers
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/10—Simultaneous control of position or course in three dimensions
- G05D1/101—Simultaneous control of position or course in three dimensions specially adapted for aircraft
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
技术领域technical field
本发明涉及无人机航路规划领域,尤其涉及一种基于改进羊群算法的多无人机协同航路规划方法。The invention relates to the field of UAV route planning, in particular to a multi-UAV cooperative route planning method based on an improved flock algorithm.
背景技术Background technique
随着无人机技术的发展和成熟以及情报水平的不断提高,无人机将成为未来天空的领导者和世界各国武装部队的主要装备,在未来的战场上具有巨大的作战潜力。在信息化、网络化和系统化的现代战争中,面对高速发展,依靠单个无人机执行情报侦察,战场打击和其它任务远远不能满足当前的任务要求,使用多个无人机来执行针对多个目标的作战任务已成为必然趋势。With the development and maturity of UAV technology and the continuous improvement of intelligence level, UAV will become the leader of the future sky and the main equipment of the armed forces of all countries in the world, and has huge combat potential in the future battlefield. In the modern war of informationization, networking and systemization, in the face of rapid development, relying on a single UAV to perform intelligence reconnaissance, battlefield strikes and other tasks are far from meeting the current mission requirements, and multiple UAVs are used to perform intelligence reconnaissance. Combat missions against multiple targets have become an inevitable trend.
多无人机协同航路规划是多架无人机实现协同作战的关键技术,多无人机协同航路规划问题具有高维、多约束和时空协调的特点,这是一个非常具有挑战性的问题。为了解决这个问题,研究人员提出了多种方法,包括一些航路规划算法,避障技术和航路调整策略。当前关于航路规划问题的研究方法可以分为几类:基于势能场的方法,如人工势能场方法(APF),原理简单,计算速度快,适合解决对实时性要求较高的航路规划问题,但是,在某些情况下很容易陷入停滞状态,从而导致计划失败;基于随机抽样的方法,在具有已知或动态未知的复杂环境中,可以快速搜索出一条航路,但是这种方法的代价较高,计划航路并非始终是最优航路;基于启发式信息的搜索算法,算法简单高效,但是容易陷入死循环,并且有许多计划的航路折叠点。Multi-UAV cooperative route planning is a key technology for multiple UAVs to achieve cooperative operations. The multi-UAV cooperative route planning problem has the characteristics of high-dimensional, multi-constraint and space-time coordination, which is a very challenging problem. To solve this problem, researchers have proposed a variety of methods, including some route planning algorithms, obstacle avoidance techniques, and route adjustment strategies. The current research methods on route planning problems can be divided into several categories: methods based on potential energy fields, such as artificial potential energy field method (APF), have simple principles and fast calculation speed, and are suitable for solving route planning problems with high real-time requirements, but , in some cases it is easy to fall into a stagnation state, resulting in the failure of the plan; the method based on random sampling can quickly search for a route in a complex environment with known or unknown dynamics, but this method is costly , the planned route is not always the optimal route; the search algorithm based on heuristic information is simple and efficient, but it is easy to fall into an infinite loop, and there are many planned route folding points.
发明内容SUMMARY OF THE INVENTION
本发明针对传统群智能算法最优解质量不可靠且收敛速度不理想的问题,根据多无人机协同航路规划的特点建立多约束条件的航路规划模型,提出一种基于改进羊群算法的多无人机协同航路规划方法,使其具有算法原理简单、规划速度快、不受空间尺寸和潜在的并行性限制的优点。Aiming at the problems of unreliable optimal solution quality and unsatisfactory convergence speed of the traditional swarm intelligence algorithm, the invention establishes a route planning model with multiple constraints according to the characteristics of multi-UAV cooperative route planning, and proposes a multi-constraint algorithm based on the improved herd algorithm. The UAV cooperative route planning method has the advantages of simple algorithm principle, fast planning speed, and no limitation of space size and potential parallelism.
本发明为了解决上述问题,现采用如下技术方案:In order to solve the above problems, the present invention now adopts the following technical solutions:
一种基于改进羊群算法的多无人机协同航路规划方法,该方法包括如下步骤:A multi-UAV cooperative route planning method based on an improved flock algorithm, the method includes the following steps:
步骤1:建立多无人机航路规划三维环境;Step 1: Establish a 3D environment for multi-UAV route planning;
在航迹规划中,必须根据飞行环境和任务要求建立适当的规划空间。在当前以山脉为背景的任务环境中,使用随机函数来建立数字模型,以模拟高峰和其他威胁障碍。山峰模型函数由原始数据和威胁等效地形模型组成。前者表示为:In trajectory planning, an appropriate planning space must be established according to the flight environment and mission requirements. In the current mission environment with mountains as the backdrop, random functions are used to build numerical models to simulate peaks and other threatening obstacles. The mountain model function consists of raw data and a threat-equivalent terrain model. The former is expressed as:
其中,x和y指的是水平投影平面上的点坐标;z1是指与水平面上的坐标点相对应的高度坐标;a,b,c,d,e,f,g是系数,可以通过更改参数来获得其它地形的地形模型。Among them, x and y refer to the point coordinates on the horizontal projection plane; z 1 refers to the height coordinates corresponding to the coordinate points on the horizontal plane; a, b, c, d, e, f, g are coefficients, which can be obtained by Change parameters to get terrain models for other terrains.
威胁等效地形模型为:The threat equivalent terrain model is:
其中x和y指的是水平投影平面上的点坐标;z2指峰高;h(i)指在基本地形上峰值i的最高点的高度;x0i and y0i指峰值i的最高点的坐标;xsi and ysi指与峰值i沿x,y轴的斜率相关的变量。如果xsi and ysi较大,则峰的斜率平坦且陡峭。where x and y refer to the point coordinates on the horizontal projection plane; z 2 refers to the peak height; h(i) refers to the height of the highest point of peak i on the basic terrain; x 0i and y 0i refer to the height of the highest point of peak i Coordinates; x si and y si refer to variables related to the slope of peak i along the x,y axis. If x si and y si are large, the slope of the peak is flat and steep.
通过将原始数字地形模型集成到威胁等效地形模型中来获得最终的山峰威胁模型:The final mountain threat model is obtained by integrating the original digital terrain model into the threat-equivalent terrain model:
z(x,y)=max(z1(x,y),z2(x,y)) (3)z( x ,y)= max (z1(x,y),z2(x,y)) (3)
可以通过更改函数中的参数来获得不同地形的模型。在规划空间中,无人机的飞行航路可以用许多航路点表示。因此,航路点被连接以形成多个飞行航路,这些航路与起点和目标点链接以形成飞行航路。我们将某无人机的起点设置为S(x0,y0,z0),将目标点设置为E(xe,ye,ze)。航路点的数量为n,搜索到的航路点可以用{S,P1,P2,...,Pn,E}表示;在这些变量中,轨迹节点的坐标为Pi=(xi,yi,zi)。Models for different terrains can be obtained by changing the parameters in the function. In the planning space, the flight path of the drone can be represented by many waypoints. Thus, waypoints are connected to form multiple flight paths, which are linked with origin and destination points to form flight paths. We set the starting point of a drone as S(x 0 , y 0 , z 0 ) and the target point as E(x e , y e , z e ). The number of waypoints is n, and the searched waypoints can be represented by {S, P 1 , P 2 ,...,P n ,E}; in these variables, the coordinates of the trajectory nodes are P i =(xi i , y i , z i ).
步骤2:建立多机协同航路规划模型,确定航路代价函数;Step 2: Establish a multi-machine collaborative route planning model and determine the route cost function;
多无人机协同航路规划的目的是,在满足安全飞行和时空合作要求的前提下,每架无人机都可以搜索相应的航路,而无人机机队的综合航路代价必须最小。因此,航路规划要求建立以航路代价函数作为评估航路质量的指标,需要通过在多无人机协同航路规划中考虑单个无人机的动力学和威胁约束来满足多无人机空间和时间协同约束。因此,给定规划目标,在当前工作中考虑以下代价指标:单个无人机的性能指标包括燃油消耗,最大爬升/滑角,飞行高度,高峰威胁和多无人机时间合作。空间协作体现在多无人机航路避免冲突中,设置每个无人机必须避免的不同飞行高度。综合代价函数建立为:The purpose of multi-UAV cooperative route planning is that under the premise of meeting the requirements of safe flight and space-time cooperation, each UAV can search for the corresponding route, and the comprehensive route cost of the UAV fleet must be minimized. Therefore, route planning requires the establishment of the route cost function as an indicator for evaluating the quality of the route. It is necessary to satisfy the multi-UAV space and time coordination constraints by considering the dynamics and threat constraints of a single UAV in the multi-UAV cooperative route planning. . Therefore, given the planning objective, the following cost metrics are considered in the current work: The performance metrics of a single UAV include fuel consumption, maximum climb/slip angle, flight altitude, peak threat and multi-UAV time cooperation. Space collaboration is embodied in multi-UAV route avoidance conflict, setting different flight altitudes that each UAV must avoid. The comprehensive cost function is established as:
其中,w1,w2,w3,w4和w5分别指代不同代价指标的权重,权重之和为1。可以通过调整权重来获得满足不同要求的航路。为了确保所有代价指标都包含在航路规划中,根据功能值的范围对功能进行归一化,然后执行加权求和。Among them, w 1 , w 2 , w 3 , w 4 and w 5 respectively refer to the weights of different cost indicators, and the sum of the weights is 1. Routes that meet different requirements can be obtained by adjusting the weights. To ensure that all cost metrics are included in the route planning, the functions are normalized according to the range of function values, and then a weighted summation is performed.
油耗代价与飞行航路的长度和飞行速度有关。假设无人机始终以一定速度飞行,则燃料代价可以由航路长度代替:The cost of fuel consumption is related to the length and speed of the flight path. Assuming the drone is always flying at a certain speed, the fuel cost can be replaced by the route length:
其中(xi+1,yi+1,zi+1)和(xi,yi,zi)对应于相邻航路点的坐标。where (x i+1 , y i+1 , z i+1 ) and ( xi , y i , z i ) correspond to the coordinates of adjacent waypoints.
Jangle指最大爬升/滑移角的代价,表示为:J angle refers to the cost of the maximum climb/slip angle, expressed as:
其中,θi是指某条航路相邻点的爬升/滑移角。Among them, θ i refers to the climb/slip angle of the adjacent point of a certain route.
为了满足飞行安全和隐蔽的要求,飞行高度不能过低或过高。高度代价可以表示为In order to meet the requirements of flight safety and concealment, the flight altitude cannot be too low or too high. The height cost can be expressed as
其中,hi是指某条航路上航路i的高度,safthi是指每架无人机的最小安全高度。Among them, hi refers to the height of route i on a certain route, and safth i refers to the minimum safe height of each UAV.
必须避免在无人机飞行过程中与山脉相撞。峰值模型由圆锥近似表示来表示,航路被分成m个相等的部分,并在中心获得m-1个采样点。整个航路的威胁代价表示为Collision with the mountains during the flight of the drone must be avoided. The peak model is represented by a conic approximation, the route is divided into m equal parts, and m-1 sampling points are obtained at the center. The threat cost of the entire route is expressed as
其中n表示航路点的数量,K表示峰值的数量,threat(j,k)是当前区间中采样点(xi,yi,zi)和某个峰值的威胁代价,表示为:where n represents the number of waypoints, K represents the number of peaks, threat(j,k) is the threat cost of sampling points (x i , y i , z i ) and a certain peak in the current interval, expressed as:
RT(h)=(H(k)-h)/tanθ (10)R T (h)=(H(k)-h)/tanθ(10)
其中,n指航路点的数量,K代表峰的数量,H(k)指峰k的高度,RT指最大延伸半径。此外,hj是当前无人机的飞行高度,dT是指从无人机到峰值对称轴的距离,dTmin表示在地形上允许的最小距离,θ并且是指地形的坡度。地形威胁如图2所示。Among them, n refers to the number of waypoints, K refers to the number of peaks, H (k) refers to the height of peak k, and RT refers to the maximum extension radius. In addition, h j is the current flying height of the drone, d T refers to the distance from the drone to the peak symmetry axis, d Tmin represents the minimum distance allowed on the terrain, and θ refers to the slope of the terrain. Terrain threats are shown in Figure 2.
合作代价函数意味着时间合作,要求所有无人机尽可能同时到达目标点。如果某条航路的路线不能满足时间协作约束,则必须对航路进行校正。假设无人机i的飞行速度在[vmin,vmax]范围内,且航向在Li范围内,其飞行时间为同样,假设无人机j的飞行时间在的范围内,如果两个无人机的飞行时间相交,则时间上的合作是可行的,即The cooperative cost function implies temporal cooperation, requiring all drones to reach the target point at the same time as possible. If the route of a route cannot satisfy the time coordination constraints, the route must be corrected. Assuming that the flight speed of UAV i is within the range of [v min ,v max ] and the heading is within the range of Li, its flight time is Similarly, suppose the flight time of drone j is Within the range of , if the flight times of the two UAVs intersect, the cooperation in time is feasible, that is,
根据航路之间的时间协作评价公式,在当前工作的规划模型的基础上获得了时间协作代价函数:According to the time cooperation evaluation formula between routes, the time cooperation cost function is obtained based on the planning model of the current work:
其中,Tmin是指飞行时间段中某个航路的飞行距离较小的时间段,Tinter表示两条航路的飞行时间的交点。Among them, T min refers to a time period in which the flight distance of a certain route is small in the flight time period, and T inter indicates the intersection of the flight times of two routes.
步骤3:提出改进羊群优化算法;Step 3: Propose an improved flock optimization algorithm;
羊群优化算法通过模拟领头羊来实现快速的全局探索,并使羊群快速接近已知的全局最优解。通过羊群互动来实现局部发展,进一步加快了收敛速度,并采用了羊群监督机制来判断是否进入了局部最优解和迅速跳出了局部最优解。The flock optimization algorithm achieves fast global exploration by simulating the leader, and makes the flock quickly approach the known global optimal solution. The local development is achieved through the interaction of the herd, which further accelerates the convergence speed, and the herd supervision mechanism is used to judge whether the local optimal solution has been entered and quickly jumped out of the local optimal solution.
3.1领头羊3.1 Leaders
领头羊是指羊群中具有最佳适应功能值的羊群,领头羊是指每只羊群向领头羊移动的行为。该算法相应的全局探索机制是确保搜索性能。仅当新羊群的适应度函数值优于旧羊群时,才更新新羊群的位置。图3是用于引导羊群的算法的流程图。The leader refers to the flock with the best fitness function value in the flock, and the leader refers to the behavior of each flock moving towards the leader. The corresponding global exploration mechanism of the algorithm is to ensure the search performance. The position of the new flock is updated only if the fitness function value of the new flock is better than that of the old flock. Figure 3 is a flowchart of an algorithm for guiding a flock.
当羊群移动到领头羊时,相应羊群的位置会更新:When the flock moves to the leader, the position of the corresponding flock is updated:
其中,代表第i个羊群的更新位置,代表第i个羊群尚未更新的位置,xbellwether代表领头羊。in, represents the updated position of the ith flock, Represents the position of the ith flock that has not been updated yet, and x bellwether represents the leader.
3.2羊群互动3.2 Herd interaction
羊群互动行为对应于算法的局部发展机制。羊群中的每只羊群xi都会随机选择另一只随机的羊群xj作为羊群互动策略。如果所选羊群xi的适应度值优于随机羊群xj的适应度值,则更新为远离xj的位置,更新为xi附近的位置,反之亦然:The herd interaction behavior corresponds to the local development mechanism of the algorithm. Each flock xi in the flock randomly selects another random flock x j as the flock interaction strategy. If the fitness value of the selected flock x i is better than that of the random flock x j , then update to a position far from x j , update to a position near x i , and vice versa:
式(14)表示xi更新到xj的位置,而式(15)表示xj更新到xi的位置。Equation (14) indicates that x i is updated to the position of x j , and Equation (15) indicates that x j is updated to the position of x i .
同样,为了确保搜索的性能,仅当新羊群的适应度函数值好于老羊群的适应度函数值时,才更新新羊群的位置。图4是羊群互动算法的流程图。Also, to ensure the performance of the search, the position of the new flock is updated only when the fitness function value of the new flock is better than that of the old flock. Figure 4 is a flow chart of the herd interaction algorithm.
3.3牧羊犬监督3.3 Sheepdog supervision
当前代与上一代之间的适应度函数差小于阈值ε时,引入牧羊人监督机制以跳出局部优化。牧羊犬将以一定的概率p将每只羊群放牧,也就是说,羊群将以一定的概率p重新初始化。图5是牧羊监督算法的流程图。When the fitness function difference between the previous generation and the previous generation is less than the threshold ε, a shepherd supervision mechanism is introduced to jump out of the local optimization. The shepherd will herd each flock with a certain probability p, that is, the flock will be reinitialized with a certain probability p. Figure 5 is a flow chart of the shepherd supervision algorithm.
3.4改进的羊群算法3.4 Improved flock algorithm
原始的羊群算法需要多次计算种群的适应度函数值,种群的运动方式过于简单,牧羊监督过于复杂,实际项目中的参数选择困难,要实现该项目并不容易。针对羊群算法的问题,提出了一种改进的羊群算法。The original flock algorithm needs to calculate the fitness function value of the population for many times. The movement mode of the population is too simple, the supervision of sheep herding is too complicated, and the parameter selection in the actual project is difficult, so it is not easy to realize this project. Aiming at the problem of flock algorithm, an improved flock algorithm is proposed.
在羊群算法中,当多次使用适应度函数更好时,可以更新位置。羊群的适应度函数的值需要多次计算。在实际工程问题中,适应度函数的复杂度可能会增加算法的计算时间,并且运算可能会使算法收敛太快而陷入局部优化。因此,本文提出的改进的羊群算法去除了适应度较好的位置更新操作,从而降低了算法复杂度。In the flock algorithm, the position can be updated when it is better to use the fitness function multiple times. The value of the fitness function of the flock needs to be calculated multiple times. In practical engineering problems, the complexity of the fitness function may increase the calculation time of the algorithm, and the operation may make the algorithm converge too fast and fall into local optimization. Therefore, the improved flock algorithm proposed in this paper removes the position update operation with better fitness, thereby reducing the complexity of the algorithm.
为了解决原始羊群算法中单一种群移动模式的问题,本发明改进了领头羊与羊群互动领导者的种群位置更新模式。式(16)(17)中显示了改进的羊算法中领头人领导者位置更新的数学模型:In order to solve the problem of the movement mode of a single population in the original flock algorithm, the present invention improves the population position update mode of the leader interacting with the flock. Equation (16) (17) shows the mathematical model of leader leader position update in the improved sheep algorithm:
其中t表示当前迭代,并且和是系数矢量,是领头羊的位置矢量,并且表示羊群的位置矢量。和向量和的计算如下:where t represents the current iteration, and and is the coefficient vector, is the position vector of the leader, and The position vector representing the flock. and The vector sum is calculated as follows:
其中的分量在迭代过程中从2线性减少到0,并且r1,r2是[0,1]中的随机向量。in The components of are linearly reduced from 2 to 0 during the iteration, and r 1 , r 2 are random vectors in [0, 1].
在羊群互动作用机制中,当随机选择的羊群的适应度值较好时,当前羊群向随机羊群迁移的更新模型如下:In the flock interaction mechanism, when the fitness value of the randomly selected flock is good, the update model of the current flock migration to the random flock is as follows:
其中,是第i个羊和随机羊之间的距离,l是[-1,1]中的随机值,b是用于定义对数螺旋形状的常数。是随机羊群的位置向量。相反,随机羊群向当前羊群移动的数学模型如下所示:in, is the distance between the ith sheep and a random sheep, l is a random value in [-1, 1], and b is a constant used to define the shape of the logarithmic spiral. is the position vector of random flocks. Instead, the mathematical model for the movement of a random flock to the current flock looks like this:
由于牧羊监管机制的复杂性,不同的阈值和概率对算法的性能影响很大,因此在实际项目中难以选择合适的参数。在本文中,简化了对牧羊人的监管,并用列维飞行策略代替了。数学模型如式(22)所示:Due to the complexity of the shepherd supervision mechanism, different thresholds and probabilities have a great impact on the performance of the algorithm, so it is difficult to select appropriate parameters in practical projects. In this article, the supervision of the shepherd is simplified and replaced with the Levi flight strategy. The mathematical model is shown in formula (22):
其中表示逐项相乘。式(20)本质上是一个随机游走方程,可以防止羊群算法陷入局部最优解,并确保算法在搜索空间中得到有效开发,分布方程如公式(23)所示:in Indicates item-by-item multiplication. Equation (20) is essentially a random walk equation, which can prevent the flock algorithm from falling into a local optimal solution and ensure that the algorithm is effectively developed in the search space. The distribution equation is shown in Equation (23):
Levy~u=t-λ,1<λ≤3 (23)Levy~u=t -λ , 1<λ≤3 (23)
列维飞行是一种特殊的随机飞行,其中步长具有重尾的概率分布。曼特纳算法通过生成具有与列维航班相同行为的随机步长s来模拟λ-稳定分布,如下所示:A Levi flight is a special kind of random flight in which the step size has a heavy-tailed probability distribution. Mantegna's algorithm simulates a λ-stable distribution by generating random step sizes s with the same behavior as Levi's flights, as follows:
其中s是列维飞行的步长,即Levy(λ),在等式中λ(21)服从以下公式:λ=1+β,β=1.5,和均为正态随机分布where s is the step size of the Levy flight, namely Levy(λ), in the equation λ(21) obeys the following formula: λ=1+β, β=1.5, and normal random distribution
改进的羊群算法一般步骤可以总结为表1中所示的伪代码。The general steps of the improved flock algorithm can be summarized as the pseudocode shown in Table 1.
表1改进羊群算法(ISO)算法步骤Table 1 Improved flock algorithm (ISO) algorithm steps
步骤4:多无人机协同航路规划流程;Step 4: Multi-UAV collaborative route planning process;
由于群体算法具有潜在的并行能力,本发明基于原始算法和多种群思想构造了无人机协同航路集合。无人机的所有路线都由多个亚群表示。亚种群的数量由无人机的数量决定,每个亚种群独立地进化,信息交换仅在航路评估期间进行。在评估亚种群的个体时,将从其它亚种群中选出的代表性个体与当前种群中的个体组合起来,形成一条协作航路,并使用航路代价函数作为该种群的适应度值进行评估。然后依次计算个体在其他亚人群中的适应度,在进化过程中具有小的协同功能的个体表明该航路具有良好的协同性质,每个亚群中的个体通过协同功能与其他亚群进行信息互动和航路评估,最终获得多条协作航路。Since the swarm algorithm has the potential parallel capability, the present invention constructs the UAV cooperative route set based on the original algorithm and multiple swarm ideas. All routes of the drone are represented by multiple subgroups. The number of subpopulations is determined by the number of drones, each subpopulation evolves independently, and the exchange of information occurs only during the en-route assessment. When evaluating the individuals of a subpopulation, the representative individuals selected from other subpopulations are combined with the individuals in the current population to form a cooperative route, and the route cost function is used as the fitness value of the population for evaluation. Then, the fitness of individuals in other subpopulations is calculated in turn. Individuals with small synergistic functions in the evolution process indicate that the route has good synergistic properties. Individuals in each subpopulation interact with other subpopulations through synergistic functions. and route assessment, and finally obtained multiple collaborative routes.
在航路规划中,每条航路的适应度值不仅包括其自身航路成本的信息,还包括与其他无人机协作互动的信息,换句话说,每个无人机在规划其航路时都将参考其他无人机的航路信息。通过选择综合成本较低的航路,可以在满足单机飞行代价指标的基础上,获得协调性更好的航路,计划的航路可以满足多个无人机之间的避免碰撞和时间限制。基于改进羊群算法的多无人机航路规划流程图如图5所示。In route planning, the fitness value of each route includes not only the information of its own route cost, but also the information of cooperative interaction with other UAVs. In other words, each UAV will refer to the information when planning its route. Route information for other drones. By choosing a route with a lower comprehensive cost, a more coordinated route can be obtained on the basis of satisfying the single-aircraft flight cost index, and the planned route can meet the collision avoidance and time constraints between multiple UAVs. The flow chart of multi-UAV route planning based on the improved flock algorithm is shown in Figure 5.
该算法与传统群智能算法和基本羊群算法相比,在多无人机协同航路规划中获得最优解的质量更加可靠,具备跳出局部最优解的能力,收敛速度更快且稳定性更高。Compared with the traditional swarm intelligence algorithm and the basic sheep flock algorithm, the quality of the optimal solution obtained in the multi-UAV cooperative route planning is more reliable, the algorithm has the ability to jump out of the local optimal solution, the convergence speed is faster and the stability is more stable. high.
附图说明Description of drawings
图1为基于改进羊群算法的多无人机航路规划流程图。Figure 1 is a flow chart of multi-UAV route planning based on the improved flock algorithm.
图2为地形威胁图。Figure 2 shows the terrain threat map.
图3为头羊引领算法流程图。Figure 3 is the flow chart of the leading sheep leading algorithm.
图4为羊群互动算法的流程图。Figure 4 is a flow chart of the herd interaction algorithm.
图5为牧羊犬监督算法流程图。Figure 5 is a flow chart of the sheepdog supervision algorithm.
图6为基于基准函数f1的收敛曲线。FIG. 6 is a convergence curve based on the reference function f1.
图7为基于基准函数f2的收敛曲线。FIG. 7 is a convergence curve based on the reference function f2.
图8为基于基准函数f3的收敛曲线。FIG. 8 is a convergence curve based on the reference function f3.
图9为基于基准函数f4的收敛曲线。FIG. 9 is a convergence curve based on the reference function f4.
图10为情况1中多维多无人机协同航路规划中的三维无人机协同航路图。Fig. 10 is a three-dimensional UAV cooperative route diagram in the multi-dimensional and multi-UAV cooperative route planning in case 1.
图11为情况1中协作航路的轮廓等高线图。FIG. 11 is a contour map of the cooperating route in case 1. FIG.
图12为情况1中基于ISO的每架无人机的航路成本收敛曲线。Figure 12 is the ISO-based route cost convergence curve for each UAV in Case 1.
图13为情况1中基于ISO的航路成本收敛曲线。Figure 13 is the ISO-based route cost convergence curve in Case 1.
图14为情况2中多维多无人机协同航路规划中的三维无人机协同航路图。Fig. 14 is a three-dimensional UAV cooperative route diagram in the multi-dimensional and multi-UAV cooperative route planning in
图15为情况2中协作航路的轮廓等高线图。FIG. 15 is a contour map of the cooperating route in
图16为情况2中基于ISO的每架无人机的航路成本收敛曲线。Figure 16 shows the ISO-based route cost convergence curve for each UAV in
图17为情况2中基于ISO的航路成本收敛曲线。Figure 17 is the ISO-based route cost convergence curve in
图18为情况3中多维多无人机协同航路规划中的三维无人机协同航路图Figure 18 is the 3D UAV cooperative route map in the multi-dimensional and multi-UAV cooperative route planning in case 3
图19为情况3中协作航路的轮廓等高线图。FIG. 19 is a contour map of the cooperating route in case 3. FIG.
图20为情况3中基于ISO的每架无人机的航路成本收敛曲线。Figure 20 is the ISO-based route cost convergence curve for each UAV in Case 3.
图21为情况3中基于ISO的航路成本收敛曲线。Figure 21 is the ISO-based route cost convergence curve in Case 3.
图22为平均航路代价收敛曲线(30次)。Figure 22 shows the average route cost convergence curve (30 times).
图23为最小航路代价值分布图。Figure 23 is a distribution diagram of the minimum route cost value.
具体实施方式Detailed ways
下面结合所附图表,对本发明的技术方案作详细说明。The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings.
如图1所示,一种基于改进羊群算法的多无人机协同航路规划方法,具体包含如下步骤:As shown in Figure 1, a multi-UAV cooperative route planning method based on the improved flock algorithm includes the following steps:
步骤1:建立多无人机航路规划三维环境;Step 1: Establish a 3D environment for multi-UAV route planning;
利用随机函数建立数字模型,以模拟山峰威胁模型函数;山峰威胁模型函数由原始数字地形模型和威胁等效地形模型组成;A digital model is established by using random functions to simulate the mountain peak threat model function; the mountain peak threat model function is composed of the original digital terrain model and the threat equivalent terrain model;
原始数字地形模型为:The original digital terrain model is:
其中,x和y指的是水平投影平面上的点坐标;z1是指与水平面上的坐标点相对应的高度坐标;a,b,c,d,e,f,g是地形模型系数;Among them, x and y refer to the point coordinates on the horizontal projection plane; z 1 refers to the height coordinates corresponding to the coordinate points on the horizontal plane; a, b, c, d, e, f, g are terrain model coefficients;
威胁等效地形模型为:The threat equivalent terrain model is:
其中x和y指的是水平投影平面上的点坐标;z2指峰高;h(i)指在基本地形上峰值i的最高点的高度;x0i and y0i指峰值i的最高点的坐标;xsi and ysi指与峰值i沿x,y轴的斜率相关的变量;where x and y refer to the point coordinates on the horizontal projection plane; z 2 refers to the peak height; h(i) refers to the height of the highest point of peak i on the basic terrain; x 0i and y 0i refer to the height of the highest point of peak i Coordinates; x si and y si refer to variables related to the slope of peak i along the x, y axis;
将原始数字地形模型集成到威胁等效地形模型中,获得的最终的山峰威胁模型为:Integrating the original digital terrain model into the threat equivalent terrain model, the final mountain threat model obtained is:
z(x,y)=max(z1(x,y),z2(x,y)) (3)z( x ,y)= max (z1(x,y),z2(x,y)) (3)
将某无人机的起点设置为S(x0,y0,z0),将目标点设置为E(xe,ye,ze);航路点的数量为n,搜索到的航路点可以用{S,P1,P2,...,Pn,E}表示;在这些变量中,轨迹节点的坐标为Pi=(xi,yi,zi);Set the starting point of a drone as S(x 0 , y 0 , z 0 ), and set the target point as E(x e , y e , z e ); the number of waypoints is n, the searched waypoint It can be represented by {S, P 1 , P 2 ,...,P n ,E}; in these variables, the coordinates of the trajectory nodes are P i =(x i ,y i ,z i );
步骤2:建立多机协同航路规划模型,确定航路代价函数;Step 2: Establish a multi-machine collaborative route planning model and determine the route cost function;
建立以航路代价函数作为评估航路质量的指标,考虑单个无人机的性能指标包括燃油消耗,最大爬升/滑角,飞行高度,高峰威胁和多无人机时间合作;设置每个无人机必须避免的不同飞行高度;Establish the route cost function as an index to evaluate the quality of the route, and consider the performance indicators of a single UAV including fuel consumption, maximum climb/slip angle, flight height, peak threat and multi-UAV time cooperation; set each UAV must different flight altitudes to be avoided;
建立综合代价函数:Build a comprehensive cost function:
其中,w1,w2,w3,w4和w5分别指代不同代价指标的权重,权重之和为1;Among them, w 1 , w 2 , w 3 , w 4 and w 5 respectively refer to the weights of different cost indicators, and the sum of the weights is 1;
假设无人机始终以一定速度飞行,则燃料代价Jfuel由航路长度代替,表示为:Assuming that the drone always flies at a certain speed, the fuel cost J fuel is replaced by the length of the route, which is expressed as:
其中(xi+1,yi+1,zi+1)和(xi,yi,zi)对应于相邻航路点的坐标;where (x i+1 , y i+1 , z i+1 ) and (x i , y i , z i ) correspond to the coordinates of adjacent waypoints;
Jangle指最大爬升/滑移角的代价,表示为:J angle refers to the cost of the maximum climb/slip angle, expressed as:
其中,θi是指某条航路相邻点的爬升/滑移角;Among them, θ i refers to the climb/slip angle of the adjacent point of a certain route;
高度代价表示为:The height cost is expressed as:
其中,hi是指某条航路上航路i的高度,safthi是指每架无人机的最小安全高度;Among them, hi refers to the height of route i on a certain route, and safth i refers to the minimum safe height of each UAV;
整个航路的威胁代价表示为:The threat cost of the entire route is expressed as:
其中n表示航路点的数量,K表示峰值的数量,threat(j,k)是当前区间中采样点(xi,yi,zi)和某个峰值的威胁代价,表示为:where n represents the number of waypoints, K represents the number of peaks, threat(j,k) is the threat cost of sampling points (x i , y i , z i ) and a certain peak in the current interval, expressed as:
RT(h)=(H(k)-h)/tanθ (10)R T (h)=(H(k)-h)/tanθ(10)
其中,n指航路点的数量,K代表峰的数量,H(k)指峰k的高度,RT指最大延伸半径;此外,hj是当前无人机的飞行高度,dT是指从无人机到峰值对称轴的距离,dTmin表示在地形上允许的最小距离,θ指地形的坡度;Among them, n refers to the number of waypoints, K refers to the number of peaks, H(k) refers to the height of peak k, and R T refers to the maximum extension radius; in addition, h j refers to the current flying height of the UAV, and d T refers to the distance from The distance from the drone to the peak symmetry axis, d Tmin represents the minimum distance allowed on the terrain, θ refers to the slope of the terrain;
假设无人机i的飞行速度在[vmin,vmax]范围内,且航向在Li范围内,其飞行时间为同样,假设无人机j的飞行时间在的范围内,如果两个无人机的飞行时间相交,则时间上的合作是可行的,即Assuming that the flight speed of UAV i is within the range of [v min ,v max ] and the heading is within the range of Li, its flight time is Similarly, suppose the flight time of drone j is Within the range of , if the flight times of the two UAVs intersect, the cooperation in time is feasible, that is,
根据航路之间的时间协作评价公式获得的时间协作代价函数为:The time cooperation cost function obtained according to the time cooperation evaluation formula between routes is:
其中,Tmin是指飞行时间段中某个航路的飞行距离较小的时间段,Tinter表示两条航路的飞行时间的交点;Among them, T min refers to the time period in which the flight distance of a certain route is small in the flight time period, and T inter indicates the intersection of the flight times of the two routes;
步骤3:提出改进羊群优化算法;Step 3: Propose an improved flock optimization algorithm;
羊群优化算法通过模拟领头羊来实现快速的全局探索,并使羊群快速接近已知的全局最优解;通过羊群互动来实现局部发展,进一步加快了收敛速度,并采用了羊群监督机制来判断是否进入了局部最优解和迅速跳出了局部最优解;The flock optimization algorithm realizes fast global exploration by simulating the leader, and makes the flock quickly approach the known global optimal solution; realizes local development through flock interaction, further accelerates the convergence speed, and adopts flock supervision Mechanism to judge whether it has entered the local optimal solution and quickly jumped out of the local optimal solution;
3.1领头羊3.1 Leaders
领头羊是指羊群中具有最佳适应功能值的羊群,领头羊是指每只羊群向领头羊移动的行为;该算法相应的全局探索机制是确保搜索性能;仅当新羊群的适应度函数值优于旧羊群时,才更新新羊群的位置;The leader refers to the flock with the best adaptive function value in the flock, and the leader refers to the behavior of each flock moving to the leader; the corresponding global exploration mechanism of the algorithm is to ensure the search performance; The position of the new flock is updated only when the fitness function value is better than that of the old flock;
当羊群移动到领头羊时,相应羊群的位置会更新为:When the flock moves to the leader, the position of the corresponding flock is updated to:
其中,代表第i个羊群的更新位置,代表第i个羊群尚未更新的位置,xbellwether代表领头羊;in, represents the updated position of the ith flock, Represents the position of the ith flock that has not been updated, and x bellwether represents the leader;
3.2羊群互动3.2 Herd interaction
羊群互动行为对应于算法的局部发展机制;羊群中的每只羊群xi都会随机选择另一只随机的羊群xj作为羊群互动策略;如果所选羊群xi的适应度值优于随机羊群xj的适应度值,则更新为远离xj的位置,更新为xi附近的位置,反之亦然:The flock interaction behavior corresponds to the local development mechanism of the algorithm; each flock xi in the flock will randomly select another random flock x j as the flock interaction strategy; if the fitness of the selected flock xi If the value is better than the fitness value of the random flock x j , it is updated to a position far from x j , updated to a position near x i , and vice versa:
式(14)表示xi更新到xj的位置,而式(15)表示xj更新到xi的位置;Equation (14) indicates that x i is updated to the position of x j , and Equation (15) indicates that x j is updated to the position of x i ;
同样,为了确保搜索的性能,仅当新羊群的适应度函数值好于老羊群的适应度函数值时,才更新新羊群的位置;Similarly, in order to ensure the performance of the search, the position of the new flock is updated only when the fitness function value of the new flock is better than that of the old flock;
3.3牧羊犬监督3.3 Sheepdog supervision
当前代与上一代之间的适应度函数差小于阈值ε时,引入牧羊人监督机制以跳出局部优化;牧羊犬将以一定的概率p将每只羊群放牧,即羊群将以一定的概率p重新初始化;When the fitness function difference between the previous generation and the previous generation is less than the threshold ε, the shepherd supervision mechanism is introduced to jump out of the local optimization; the shepherd will graze each sheep with a certain probability p, that is, the sheep will graze with a certain probability p reinitialize;
3.4改进的羊群算法3.4 Improved flock algorithm
提出一种改进的羊群算法,其中领头人位置更新的数学模型如下:An improved flock algorithm is proposed, in which the mathematical model of leader position update is as follows:
其中t表示当前迭代,并且和是系数矢量,是领头羊的位置矢量,并且表示羊群的位置矢量;where t represents the current iteration, and and is the coefficient vector, is the position vector of the leader, and represents the position vector of the flock;
和向量和的计算如下: and The vector sum is calculated as follows:
其中的分量在迭代过程中从2线性减少到0,并且r1,r2是[0,1]中的随机向量;in The components of is linearly reduced from 2 to 0 in the iterative process, and r 1 , r 2 are random vectors in [0, 1];
在羊群互动作用机制中,当随机选择的羊群的适应度值较好时,当前羊群向随机羊群迁移的更新模型如下:In the flock interaction mechanism, when the fitness value of the randomly selected flock is good, the update model of the current flock migration to the random flock is as follows:
其中,是第i个羊和随机羊之间的距离,l是[-1,1]中的随机值,b是用于定义对数螺旋形状的常数;是随机羊群的位置向量;相反,随机羊群向当前羊群移动的数学模型如下所示:in, is the distance between the ith sheep and a random sheep, l is a random value in [-1, 1], and b is a constant used to define the shape of the logarithmic spiral; is the position vector of the random flock; instead, the mathematical model for the movement of the random flock to the current flock is as follows:
简化并用列维飞行策略代替对牧羊人的监管;数学模型如下所示:Simplify and replace the supervision of the shepherd with the Levi flight strategy; the mathematical model looks like this:
其中表示逐项相乘;in means multiply item by item;
式(20)的分布方程如下:The distribution equation of formula (20) is as follows:
Levy~u=t-λ,1<λ≤3 (23)Levy~u=t -λ , 1<λ≤3 (23)
列维飞行是一种特殊的随机飞行,其中步长具有重尾的概率分布;曼特纳算法通过生成具有与列维航班相同行为的随机步长s来模拟λ-稳定分布,如下所示A Levi flight is a special kind of random flight in which the step size has a heavy-tailed probability distribution; Mantegna's algorithm simulates a λ-stable distribution by generating a random step size s with the same behavior as a Levi flight, as follows
其中s是列维飞行的步长,即Levy(λ),在等式中λ服从以下公式:λ=1+β,β=1.5,和均为正态随机分布where s is the step size of the Levy flight, namely Levy(λ), in the equation λ obeys the following formula: λ=1+β, β=1.5, and normal random distribution
步骤4:多无人机协同航路规划流程;Step 4: Multi-UAV collaborative route planning process;
本发明基于原始算法和多种群思想构造无人机协同航路集合;无人机的所有路线都由多个亚群表示;亚种群的数量由无人机的数量决定,每个亚种群独立地进化,信息交换仅在航路评估期间进行;在评估亚种群的个体时,将从其它亚种群中选出的代表性个体与当前种群中的个体组合起来,形成一条协作航路,并使用航路代价函数作为该种群的适应度值进行评估;然后依次计算个体在其他亚人群中的适应度,在进化过程中具有小的协同功能的个体表明该航路具有良好的协同性质,每个亚群中的个体通过协同功能与其他亚群进行信息互动和航路评估,最终获得多条协作航路;The invention constructs a set of UAV cooperative routes based on the original algorithm and the idea of multiple groups; all routes of the UAV are represented by multiple subgroups; the number of subgroups is determined by the number of UAVs, and each subgroup evolves independently , the information exchange is only carried out during the route evaluation; when evaluating the individuals of the subpopulation, the representative individuals selected from other subpopulations are combined with the individuals in the current population to form a cooperative route, and the route cost function is used as The fitness value of the population is evaluated; then the fitness of individuals in other subpopulations is calculated in turn. Individuals with small synergistic functions during the evolution process indicate that the route has good synergistic properties, and individuals in each subpopulation pass through The collaborative function conducts information interaction and route assessment with other subgroups, and finally obtains multiple collaborative routes;
在航路规划中,每条航路的适应度值不仅包括其自身航路成本的信息,还包括与其他无人机协作互动的信息,即每个无人机在规划其航路时都将参考其他无人机的航路信息;通过选择综合成本较低的航路,在满足单机飞行代价指标的基础上,获得协调性更好的航路,计划的航路满足多个无人机之间的避免碰撞和时间限制;In route planning, the fitness value of each route includes not only the information of its own route cost, but also the information of cooperation and interaction with other drones, that is, each drone will refer to other drones when planning its route. The route information of the aircraft; by selecting a route with a lower comprehensive cost, on the basis of satisfying the single aircraft flight cost index, a better coordinated route is obtained, and the planned route meets the collision avoidance and time constraints between multiple UAVs;
为了验证改进羊群算法的性能,本发明将基于四个经典基准函数进行测试。参考函数显示在表2中。In order to verify the performance of the improved flock algorithm, the present invention will be tested based on four classical benchmark functions. Reference functions are shown in Table 2.
表2基准函数Table 2 Benchmark functions
其中Dim代表函数的维数,Range代表函数搜索空间的边界,fmin代表函数的最小值。具有独特全局最优解的单峰测试函数(f1~f2)可以测试算法的全局搜索能力和收敛性,而具有多种不同局部最优解的多峰测试函数(f1~f2)可以避免测试算法的局部开发能力和局部优化。where Dim represents the dimension of the function, Range represents the boundary of the function search space, and f min represents the minimum value of the function. The unimodal test functions (f 1 ~ f 2 ) with unique global optimal solutions can test the global search ability and convergence of the algorithm, while the multimodal test functions (f 1 ~ f 2 ) with various local optimal solutions The ability to test the local development of the algorithm and local optimization can be avoided.
步骤一、性能分析与讨论;Step 1, performance analysis and discussion;
为了进一步测试算法的性能并避免意外情况,将改进的羊群算法与原始羊群优化算法(SO),粒子群优化算法(PSO)和灰狼优化算法(GWO)进行了比较。每个算法在每个基准函数上运行30次,每个实验总体的数量设置为30,最大迭代次数设置为500。为了进行公平的比较,不同算法的所有常用参数(例如总体)大小,尺寸和最大代数设置相同。这些算法的相关参数显示在表3中。To further test the performance of the algorithm and avoid unexpected situations, the improved flock algorithm is compared with the original flock optimization algorithm (SO), particle swarm optimization algorithm (PSO) and gray wolf optimization algorithm (GWO). Each algorithm was run 30 times on each benchmark function, the number of each experimental population was set to 30, and the maximum number of iterations was set to 500. For a fair comparison, all common parameters (e.g. population) size, dimensions and maximum algebra settings of the different algorithms are the same. The relevant parameters of these algorithms are shown in Table 3.
表3每种算法的参数值Table 3 Parameter values for each algorithm
测试结果(最大,最小,均值和标准偏差)显示在表4中。The test results (max, min, mean and standard deviation) are shown in Table 4.
表4每个基准功能测试的测试结果Table 4 Test results for each benchmark function test
收敛曲线如图6至9所示。The convergence curves are shown in Figures 6 to 9.
改进的羊群算法在基准函数上的测试结果明显优于其他算法,反映了改进的羊群算法在全局搜索和局部开发中的优势,在解决优化问题方面具有很大的潜力。The test results of the improved flock algorithm on the benchmark function are obviously better than other algorithms, which reflects the advantages of the improved flock algorithm in global search and local development, and has great potential in solving optimization problems.
步骤二、模拟环境设置与分析;
规划空间设置为100km×100km×500m,包括6个山峰。原始数字地形模型的参数设置为a=0.1,b=0.01,c=1,d=0.1,e=0.2,f=0.4和g=0.02。表5中列出了峰的高度,最高点的水平坐标和坡度参数。多无人机协同航路规划是在已知的任务分配方案下进行的。在模拟实验中,根据无人机的数量初始化航路子种群。种群,迭代和航路点中的个体数分别为50、100和10。所有代价函数的权重系数分别对应于0.4、0.2、0.1、0.2,和0.1,无人机的飞行速度范围为40–60m/s。The planning space is set to 100km×100km×500m, including 6 peaks. The parameters of the original digital terrain model were set as a=0.1, b=0.01, c=1, d=0.1, e=0.2, f=0.4 and g=0.02. The height of the peak, the horizontal coordinates of the highest point and the slope parameters are listed in Table 5. The multi-UAV cooperative route planning is carried out under the known task assignment scheme. In the simulation experiments, the route sub-population is initialized according to the number of UAVs. The number of individuals in the population, iteration and waypoint is 50, 100 and 10, respectively. The weight coefficients of all cost functions correspond to 0.4, 0.2, 0.1, 0.2, and 0.1, respectively, and the flight speed of the UAV is in the range of 40–60m/s.
表5峰的模型参数Table 5 Model parameters for peaks
情况1:3无人机从起点开始,到达指定的目标点以执行任务。起始点和目标点的坐标显示在表6中。Case 1: 3 The drone starts from the starting point and reaches the designated target point to perform the mission. The coordinates of the start and target points are shown in Table 6.
表6所有无人机起点和目标点的坐标Table 6 Coordinates of all UAV start and target points
每个无人机的三维航路规划和等高线图显示在图10和11中。每个无人机的代价和合成航路代价收敛曲线在图12和13中绘制。3D route planning and contour maps for each UAV are shown in Figures 10 and 11. The cost and composite route cost convergence curves for each UAV are plotted in Figures 12 and 13.
图10和11说明了所有无人机都可以有效地避免威胁并到达目标点。每个无人机的代价函数值随着迭代时间的增加逐渐收敛,从而验证了算法的有效性。通过模拟,每个无人机的飞行时间间隔(单位:s)和范围(单位:km)列于表7。时间交点为[1828.9454,2562.7885]。通过为所有无人机设置不同的飞行速度,可以满足时间协同需求。Figures 10 and 11 illustrate that all UAVs can effectively avoid threats and reach the target point. The cost function value of each UAV gradually converges with the increase of iteration time, which verifies the effectiveness of the algorithm. Through the simulation, the flight time interval (unit: s) and range (unit: km) of each UAV are listed in Table 7. The time intersection is [1828.9454, 2562.7885]. By setting different flight speeds for all drones, time coordination needs can be met.
表7每个无人机的飞行时间和范围Table 7 Flight time and range of each drone
情况2:4架无人机飞到2个目标点。表8列出了起点和目标点的坐标。Scenario 2: 4 drones fly to 2 target points. Table 8 lists the coordinates of the start and target points.
表8所有无人机的起点和目标点的坐标Table 8 Coordinates of the origin and destination points of all UAVs
如图14和15所示,获得了无人机的计划航路图。每个无人机的航路代价收敛和综合代价曲线如图16和17所示。As shown in Figures 14 and 15, the planned route map of the UAV was obtained. The en-route cost convergence and integrated cost curves for each UAV are shown in Figures 16 and 17.
通过仿真,每个无人机的飞行时间间隔(单位:s)和范围(单位:km)列于表9中。时间交点为[1936.2102,2443.9682]。计划的航路和航程很近,可以有效避免障碍。如果无人机彼此靠近,则可以通过设置不同的飞行高度来避免碰撞。Through simulation, the flight time interval (unit: s) and range (unit: km) of each UAV are listed in Table 9. The time intersection is [1936.2102, 2443.9682]. The planned routes and voyages are close enough to avoid obstacles effectively. If the drones are close to each other, collisions can be avoided by setting different flight heights.
表9每个无人机的飞行时间和范围Table 9 Flight time and range of each drone
情况3:6架无人机飞到6个目标点。表10中列出了起点和目标点的坐标。Scenario 3: 6 drones fly to 6 target points. The coordinates of the start and target points are listed in Table 10.
表10所有无人机的起点和目标点的坐标Table 10 Coordinates of the origin and destination points of all UAVs
如图18和19所示,获得了无人机的计划航路图。图20和21绘制了每种无人机的航路代价收敛和合成代价曲线。As shown in Figures 18 and 19, the planned route map of the UAV was obtained. Figures 20 and 21 plot the en-route cost convergence and composite cost curves for each UAV.
通过仿真,飞行时间间隔(单位:s)和航程(单位:s)表11列出了每个无人飞行器的公里数。时间交点为[1779.3519,2475.9175]。计划的航路和航程很近,可以有效避免障碍。如果无人机彼此靠近,则可以通过设置不同的飞行高度来避免碰撞。Through simulation, flight time interval (unit: s) and range (unit: s) Table 11 lists the kilometers of each UAV. The time intersection is [1779.3519, 2475.9175]. The planned route and range are close enough to avoid obstacles effectively. If the drones are close to each other, collisions can be avoided by setting different flight heights.
表11每个无人机的飞行时间和范围Table 11 Flight time and range of each drone
步骤三、比较验证;Step 3: Compare and verify;
基于情况3,灰狼优化算法(Grey Wolf Optimizer,GWO)、粒子群优化算法(Particle Swarm Optimization,PSO)、差分进化算法(Differential Evolution,DE)PSO,DE和GWO算法用于多无人机协同航路规划。另外,将改进的羊群算法与最新一种改进的灰狼算法(IGWO)和混合灰狼算法(HGWO)进行了比较。仿真结果与提出的算法进行比较,验证了改进策略的有效性。在这些因素中,PSO算法参数包括粒子数为50,学习因子c1=c2=2和惯性因子从0.96线性减小到0.2;DE算法参数包括50条染色体的数量,缩放因子的上限(0.6)和下限(0.2),突变率(0.5)和交叉概率(0.6)。GWO,IGWO和HGWO算法与SO算法一致,子种群中的个体数,迭代数和航路点数分别为50、150和10,该算法每次执行30次。如图22和图23所示,获得了每种算法进行100次迭代后的平均收敛曲线以及每次迭代后的最小代价结果的分布。Based on Case 3, Grey Wolf Optimizer (GWO), Particle Swarm Optimization (PSO), Differential Evolution (DE) PSO, DE and GWO algorithms are used for multi-UAV collaboration route planning. In addition, the improved flock algorithm is compared with the latest improved gray wolf algorithm (IGWO) and hybrid gray wolf algorithm (HGWO). The simulation results are compared with the proposed algorithm to verify the effectiveness of the improved strategy. Among these factors, the PSO algorithm parameters include the number of particles being 50, the learning factor c1=c2=2 and the inertia factor decreasing linearly from 0.96 to 0.2; the DE algorithm parameters include the number of
与PSO,DE,GWO,HGWO和IGWO算法相比,改进的羊群算法最终稳定值明显优于其他算法,并且收敛速度更快。结果表明,改进的羊群优化算法在收敛速度和收敛精度上优于其他算法,可以有效解决多无人机协同航路规划问题。Compared with PSO, DE, GWO, HGWO and IGWO algorithms, the final stable value of the improved flock algorithm is significantly better than other algorithms, and the convergence speed is faster. The results show that the improved flock optimization algorithm is superior to other algorithms in terms of convergence speed and convergence accuracy, and can effectively solve the multi-UAV cooperative route planning problem.
本发明具体应用途径很多,以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进,这些改进也应视为本发明的保护范围。There are many specific application ways of the present invention, the above are only the preferred embodiments of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present invention, several improvements can also be made, These improvements should also be regarded as the protection scope of the present invention.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010528474.9A CN111813144B (en) | 2020-06-11 | 2020-06-11 | Multi-unmanned aerial vehicle collaborative route planning method based on improved flocks of sheep algorithm |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010528474.9A CN111813144B (en) | 2020-06-11 | 2020-06-11 | Multi-unmanned aerial vehicle collaborative route planning method based on improved flocks of sheep algorithm |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111813144A CN111813144A (en) | 2020-10-23 |
| CN111813144B true CN111813144B (en) | 2022-02-18 |
Family
ID=72845792
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010528474.9A Active CN111813144B (en) | 2020-06-11 | 2020-06-11 | Multi-unmanned aerial vehicle collaborative route planning method based on improved flocks of sheep algorithm |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111813144B (en) |
Families Citing this family (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112527014B (en) * | 2020-12-02 | 2022-05-17 | 电子科技大学 | Unmanned aerial vehicle cluster grazing method based on packing algorithm |
| CN112683276B (en) * | 2020-12-30 | 2022-06-24 | 广东安恒电力科技有限公司 | Unmanned aerial vehicle routing inspection cable path planning method based on mixed discrete wolf algorithm |
| CN114969978B (en) * | 2022-06-08 | 2023-04-18 | 中国人民解放军海军航空大学 | Airplane offshore platform recovery scheduling method based on improved wolf optimization algorithm |
| CN116101532A (en) * | 2022-12-12 | 2023-05-12 | 中国石油大学(华东) | An evolutionary UAV landing structure and method based on origami principle |
| CN116088572A (en) * | 2023-01-31 | 2023-05-09 | 西北工业大学 | Unmanned plane collaborative attack multi-target task allocation method based on self-adaptive gray wolf optimization algorithm |
| CN116909316B (en) * | 2023-09-13 | 2023-11-17 | 北京航空航天大学 | Unmanned aerial vehicle three-dimensional cluster control method based on sheep crowd intelligence |
| CN118710178B (en) * | 2024-06-21 | 2025-07-04 | 中国人民解放军陆军航空兵学院 | A UAV spare parts configuration auxiliary decision system |
| CN119376402B (en) * | 2024-12-27 | 2025-04-29 | 中国海洋大学 | Unmanned ship encirclement and countermeasure method based on shepherding algorithm |
| CN119457629B (en) * | 2025-01-10 | 2025-04-01 | 湖南工商大学 | Welding robot welding path optimization method and system based on improved ant lion optimization algorithm |
| CN119987397A (en) * | 2025-01-16 | 2025-05-13 | 沈阳航空航天大学 | A collaborative trajectory planning method for multiple UAVs integrating collaborative evolution |
Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB201612306D0 (en) * | 2015-07-16 | 2016-08-31 | Ge Aviation Systems Llc | System and method of refining trajectories for aircraft |
| CN105929848A (en) * | 2016-06-28 | 2016-09-07 | 南京邮电大学 | Track planning method for multi-unmanned plane system in three-dimensional environment |
| CN106845629A (en) * | 2017-02-10 | 2017-06-13 | 南京农业大学 | Parameter row dimensionization particle cluster algorithm based on replacement of crossing the border |
| CN107608372A (en) * | 2017-08-14 | 2018-01-19 | 广西师范大学 | It is a kind of that path planning method is cooperateed with improving the multiple no-manned plane that PH curves are combined based on improvement RRT algorithms |
| CN108413959A (en) * | 2017-12-13 | 2018-08-17 | 南京航空航天大学 | Based on the Path Planning for UAV for improving Chaos Ant Colony Optimization |
| CN109144102A (en) * | 2018-09-19 | 2019-01-04 | 沈阳航空航天大学 | A kind of Path Planning for UAV based on improvement bat algorithm |
| CN109829420A (en) * | 2019-01-18 | 2019-05-31 | 湖北工业大学 | A kind of feature selection approach based on the high spectrum image for improving ant lion optimization algorithm |
| CN110264503A (en) * | 2019-06-18 | 2019-09-20 | 上海理工大学 | A kind of method for registering images based on CS search |
| CN110608743A (en) * | 2019-10-18 | 2019-12-24 | 南京航空航天大学 | Multi-UAV collaborative route planning method based on multi-population chaotic gray wolf algorithm |
| CN110986958A (en) * | 2019-12-24 | 2020-04-10 | 北京工业大学 | Multi-unmanned aerial vehicle collaborative path planning method based on multi-population collaborative drosophila optimization |
| CN111024086A (en) * | 2019-12-19 | 2020-04-17 | 哈尔滨工程大学 | A multi-UAV trajectory planning method based on flock optimization technology |
| CN111144308A (en) * | 2019-12-25 | 2020-05-12 | 中国冶金地质总局矿产资源研究院 | Kaolin mineral information extraction model and building method and application thereof |
| CN111191840A (en) * | 2019-12-30 | 2020-05-22 | 沈阳理工大学 | Task allocation method for multi-unmanned aerial vehicles based on discrete particle swarm optimization algorithm |
| CN111256681A (en) * | 2020-05-07 | 2020-06-09 | 北京航空航天大学 | Unmanned aerial vehicle group path planning method |
-
2020
- 2020-06-11 CN CN202010528474.9A patent/CN111813144B/en active Active
Patent Citations (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB201612306D0 (en) * | 2015-07-16 | 2016-08-31 | Ge Aviation Systems Llc | System and method of refining trajectories for aircraft |
| CN105929848A (en) * | 2016-06-28 | 2016-09-07 | 南京邮电大学 | Track planning method for multi-unmanned plane system in three-dimensional environment |
| CN106845629A (en) * | 2017-02-10 | 2017-06-13 | 南京农业大学 | Parameter row dimensionization particle cluster algorithm based on replacement of crossing the border |
| CN107608372A (en) * | 2017-08-14 | 2018-01-19 | 广西师范大学 | It is a kind of that path planning method is cooperateed with improving the multiple no-manned plane that PH curves are combined based on improvement RRT algorithms |
| CN108413959A (en) * | 2017-12-13 | 2018-08-17 | 南京航空航天大学 | Based on the Path Planning for UAV for improving Chaos Ant Colony Optimization |
| CN109144102A (en) * | 2018-09-19 | 2019-01-04 | 沈阳航空航天大学 | A kind of Path Planning for UAV based on improvement bat algorithm |
| CN109829420A (en) * | 2019-01-18 | 2019-05-31 | 湖北工业大学 | A kind of feature selection approach based on the high spectrum image for improving ant lion optimization algorithm |
| CN110264503A (en) * | 2019-06-18 | 2019-09-20 | 上海理工大学 | A kind of method for registering images based on CS search |
| CN110608743A (en) * | 2019-10-18 | 2019-12-24 | 南京航空航天大学 | Multi-UAV collaborative route planning method based on multi-population chaotic gray wolf algorithm |
| CN111024086A (en) * | 2019-12-19 | 2020-04-17 | 哈尔滨工程大学 | A multi-UAV trajectory planning method based on flock optimization technology |
| CN110986958A (en) * | 2019-12-24 | 2020-04-10 | 北京工业大学 | Multi-unmanned aerial vehicle collaborative path planning method based on multi-population collaborative drosophila optimization |
| CN111144308A (en) * | 2019-12-25 | 2020-05-12 | 中国冶金地质总局矿产资源研究院 | Kaolin mineral information extraction model and building method and application thereof |
| CN111191840A (en) * | 2019-12-30 | 2020-05-22 | 沈阳理工大学 | Task allocation method for multi-unmanned aerial vehicles based on discrete particle swarm optimization algorithm |
| CN111256681A (en) * | 2020-05-07 | 2020-06-09 | 北京航空航天大学 | Unmanned aerial vehicle group path planning method |
Non-Patent Citations (1)
| Title |
|---|
| 3-D path planning for uav based on chaos particle swarm optimization;CHENG Z等;《Applied Mechanics and Materials》;20121129;第232卷;第625-630页 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111813144A (en) | 2020-10-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111813144B (en) | Multi-unmanned aerial vehicle collaborative route planning method based on improved flocks of sheep algorithm | |
| CN110608743B (en) | Multi-unmanned aerial vehicle collaborative route planning method based on multi-population chaotic grayling algorithm | |
| CN109631900B (en) | Unmanned aerial vehicle three-dimensional flight path multi-target particle swarm global planning method | |
| CN101286071B (en) | Multiple no-manned plane three-dimensional formation reconfiguration method based on particle swarm optimization and genetic algorithm | |
| CN110926477B (en) | A UAV route planning and obstacle avoidance method | |
| Chen et al. | Path planning for multi-UAV formation | |
| CN112230678A (en) | Three-dimensional unmanned aerial vehicle path planning method and planning system based on particle swarm optimization | |
| CN106815443B (en) | Towards the three-dimensional more batches of Multiple routes planning methods of hedgehopping device of changing environment | |
| CN114330115B (en) | Neural network air combat maneuver decision-making method based on particle swarm search | |
| CN110544296A (en) | A method for intelligent planning of UAV's three-dimensional global track under the environment of uncertain enemy threat | |
| CN112130581A (en) | A coordinated mission planning method for UAV swarms for air maneuver operations | |
| CN113625569B (en) | Small unmanned aerial vehicle prevention and control decision method and system based on hybrid decision model | |
| CN114815891B (en) | A multi-UAV roundup tactical method based on PER-IDQN | |
| CN112733251B (en) | Collaborative flight path planning method for multiple unmanned aerial vehicles | |
| CN114489144B (en) | Unmanned aerial vehicle autonomous maneuver decision method and device and unmanned aerial vehicle | |
| CN112198892A (en) | Multi-unmanned aerial vehicle intelligent cooperative penetration countermeasure method | |
| CN111121784B (en) | Unmanned reconnaissance aircraft route planning method | |
| Chen et al. | An improved spherical vector and truncated mean stabilization based bat algorithm for UAV path planning | |
| CN119024692A (en) | Autonomous decision-making method for cooperative flight of UAV swarm based on improved particle swarm algorithm | |
| Yang et al. | Three-dimensional UAV cooperative path planning based on the MP-CGWO algorithm | |
| CN114372603A (en) | Pigeon-group-imitated multi-learning-intelligence unmanned target drone collaborative route dynamic planning method | |
| Lu et al. | Distributed multi-UAV cooperation for path planning by an NTVPSO-ADE algorithm | |
| CN120406564B (en) | A multi-UAV autonomous collaborative trajectory planning method based on improved FGO algorithm | |
| CN116414149A (en) | An online avoidance system of no-fly zone for aircraft based on deep reinforcement learning | |
| CN116257080A (en) | Unmanned aerial vehicle dynamic path planning method based on hybrid intelligent optimization |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |