CN118036849A - An improved swarm algorithm for UAV trajectory planning - Google Patents
An improved swarm algorithm for UAV trajectory planning Download PDFInfo
- Publication number
- CN118036849A CN118036849A CN202410206519.9A CN202410206519A CN118036849A CN 118036849 A CN118036849 A CN 118036849A CN 202410206519 A CN202410206519 A CN 202410206519A CN 118036849 A CN118036849 A CN 118036849A
- Authority
- CN
- China
- Prior art keywords
- bee
- bees
- honey source
- honey
- search
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/01—Probabilistic graphical models, e.g. probabilistic networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N7/00—Computing arrangements based on specific mathematical models
- G06N7/08—Computing arrangements based on specific mathematical models using chaos models or non-linear system models
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/047—Optimisation of routes or paths, e.g. travelling salesman problem
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Human Resources & Organizations (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- Strategic Management (AREA)
- Pure & Applied Mathematics (AREA)
- Algebra (AREA)
- Computational Mathematics (AREA)
- Economics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Computational Linguistics (AREA)
- Entrepreneurship & Innovation (AREA)
- Molecular Biology (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Development Economics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Game Theory and Decision Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Nonlinear Science (AREA)
- Probability & Statistics with Applications (AREA)
- Automation & Control Theory (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及无人机航迹规划技术领域,具体为一种改进蜂群算法的无人机航迹规划方法。The present invention relates to the technical field of unmanned aerial vehicle (UAV) trajectory planning, and in particular to an unmanned aerial vehicle (UAV) trajectory planning method using an improved bee colony algorithm.
背景技术Background technique
航迹规划作为无人机自主飞行的关键技术之一,一直是国内外学者们研究的热点。航迹规划是一个多约束组合的高维优化问题。As one of the key technologies for autonomous flight of UAVs, trajectory planning has always been a hot topic for scholars at home and abroad. Trajectory planning is a high-dimensional optimization problem with multiple constraints.
目前多采用ABC算法来解决无人机的三维航迹规划和面对突发威胁时的局部航迹再规划问题,而目前ABC算法存在一些固有缺陷,如:导致无人机被发现的概率较高以及鲁棒性底等问题。Currently, the ABC algorithm is mostly used to solve the three-dimensional trajectory planning of drones and the local trajectory replanning problems when facing sudden threats. However, the current ABC algorithm has some inherent defects, such as: a high probability of drones being discovered and low robustness.
发明内容Summary of the invention
本部分的目的在于概述本发明的实施方式的一些方面以及简要介绍一些较佳实施方式。在本部分以及本申请的说明书摘要和发明名称中可能会做些简化或省略以避免使本部分、说明书摘要和发明名称的目的模糊,而这种简化或省略不能用于限制本发明的范围。The purpose of this section is to summarize some aspects of the embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.
因此,本发明的目的是提供一种改进蜂群算法的无人机航迹规划方法,引入自适应搜索策略、新型概率选择策略与Logistic混沌搜索算子来加强原算法一种改进的ABC算法,使得无人机被发现的概率降低并提高鲁棒性。Therefore, the purpose of the present invention is to provide a UAV trajectory planning method based on an improved swarm algorithm, which introduces an adaptive search strategy, a new probability selection strategy and a Logistic chaos search operator to strengthen the original algorithm, an improved ABC algorithm, so that the probability of the UAV being discovered is reduced and the robustness is improved.
为解决上述技术问题,根据本发明的一个方面,本发明提供了如下技术方案:To solve the above technical problems, according to one aspect of the present invention, the present invention provides the following technical solutions:
一种改进蜂群算法的无人机航迹规划方法,其包括:A UAV trajectory planning method based on an improved bee swarm algorithm, comprising:
S1、种群初始化-随机派出N只蜜蜂寻找到蜜源xij;S1, population initialization - randomly send N bees to find the nectar source x ij ;
S2、蜜源收益度评价-获得蜜源收益度值,并根据蜜源收益度值大小去除蜜源质量较差的后N/2组解;S2, nectar source benefit evaluation - obtain the nectar source benefit value, and remove the last N/2 groups of solutions with poor nectar source quality according to the nectar source benefit value;
其中,Si是由蜜源对应的目标函数值;Among them, Si is the objective function value corresponding to the honey source;
S3、雇佣蜂搜索-采用自适应搜索策略进行搜索,即:S3, hired bee search - uses an adaptive search strategy to search, namely:
其中,为当前第T代蜜源/>邻域内的新蜜源,Φij为-1到1内的随机变量,Tmax为最大迭代次数ω为权重因子,ωmax和ωmin分别为最大和最小权重值;in, For the current T generation honey source/> New nectar source in the neighborhood, Φ ij is a random variable between -1 and 1, T max is the maximum number of iterations, ω is the weight factor, ω max and ω min are the maximum and minimum weight values respectively;
S4、跟随蜂搜索-采用概率选择策略,使相对较差蜜源含有的信息能够得到充分利用,以保持种群多样性,即:S4, follow the bee search - adopt a probabilistic selection strategy to make full use of the information contained in relatively poor nectar sources to maintain population diversity, that is:
S5、侦察蜂搜索-当雇佣蜂转变成侦察蜂时,产生一个D维的随机向量y0=[y01,y02,…,y0D](y0∈[0,1]),向量y0作为迭代的初始值,由Logistic方程进行混沌迭代,得到序列ynj;根据公式开采出局部最优值附近的潜在未知解,再经混沌算子处理后,添加到待搜索个体xij中,从而产生新的个体;S5. Scout bee search - When an employed bee transforms into a scout bee, a D-dimensional random vector y 0 = [y 01 , y 02 , …, y 0D ] (y 0 ∈ [0, 1]) is generated. The vector y 0 is used as the initial value of the iteration. The Logistic equation is used for chaotic iteration to obtain the sequence y nj ; according to the formula The potential unknown solutions near the local optimal value are mined, processed by the chaos operator, and added to the individuals to be searched x ij , thereby generating new individuals;
S6、记录当前最优解,将当前迭代获得的最优解记录下来,并返回至步骤S3中,使种群进化到下一代并循环搜索,直至遇到终止条件。S6. Record the current optimal solution. Record the optimal solution obtained in the current iteration and return to step S3 to allow the population to evolve to the next generation and search in a loop until a termination condition is encountered.
作为本发明所述的一种改进蜂群算法的无人机航迹规划方法的一种优选方案,其中,所述蜜蜂的种类分为雇佣蜂、跟随蜂和侦察蜂三种;As a preferred solution of the unmanned aerial vehicle trajectory planning method of the improved bee colony algorithm described in the present invention, the types of bees are divided into three types: employed bees, follower bees and scout bees;
其中,蜂群种群总数为N,雇佣蜂和跟随蜂的数量各占种群总数的一半;每个蜜源均为一个D维向量,其中D表示需要被优化的解个数。The total population of the bee colony is N, and the number of employed bees and follower bees each accounts for half of the total population; each nectar source is a D-dimensional vector, where D represents the number of solutions that need to be optimized.
作为本发明所述的一种改进蜂群算法的无人机航迹规划方法的一种优选方案,其中,所述步骤S2中,ωmax=0.9和ωmin=0.2。As a preferred solution of the unmanned aerial vehicle trajectory planning method of the improved bee swarm algorithm described in the present invention, in the step S2, ω max =0.9 and ω min =0.2.
作为本发明所述的一种改进蜂群算法的无人机航迹规划方法的一种优选方案,其中,所述步骤S1中,As a preferred solution of the unmanned aerial vehicle trajectory planning method of the improved bee swarm algorithm described in the present invention, in step S1,
其中,和/>分别为xij取值的下限和上限,i=1,2,…,N,j=1,2,…,D。in, and/> are the lower limit and upper limit of the value of x ij , i=1,2,…,N, j=1,2,…,D.
与现有技术相比,本发明具有的有益效果是:本发明引入自适应搜索策略、新型概率选择策略与Logistic混沌搜索算子来加强原算法一种改进的ABC算法,使得无人机被发现的概率降低并提高鲁棒性。Compared with the prior art, the present invention has the following beneficial effects: the present invention introduces an adaptive search strategy, a new probability selection strategy and a Logistic chaos search operator to strengthen the original algorithm, an improved ABC algorithm, so that the probability of the drone being discovered is reduced and the robustness is improved.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施方式的技术方案,下面将将结合附图和详细实施方式对本发明进行详细说明,显而易见地,下面描述中的附图仅仅是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。其中:In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the present invention will be described in detail below in combination with the accompanying drawings and detailed embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:
图1为本发明实施例算法以及对比例算法:ABC算法和GA算法的获得的无人机航迹示意图;FIG1 is a schematic diagram of the UAV track obtained by the algorithm of the embodiment of the present invention and the comparative algorithms: the ABC algorithm and the GA algorithm;
图2为本发明实施例算法以及对比例算法:ABC算法和GA算法的获得的迭代曲线示意图;FIG2 is a schematic diagram of iterative curves obtained by the algorithm of the embodiment of the present invention and the comparative algorithms: the ABC algorithm and the GA algorithm;
图3为本发明不同维数下的航迹规划结果示意图;FIG3 is a schematic diagram of the trajectory planning results under different dimensions of the present invention;
图4为本发明应对突发威胁的航迹重规划结果示意图。FIG4 is a schematic diagram of the trajectory re-planning result of the present invention in response to sudden threats.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明的具体实施方式做详细的说明。In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
其次,本发明结合示意图进行详细描述,在详述本发明实施方式时,为便于说明,表示器件结构的剖面图会不依一般比例作局部放大,而且所述示意图只是示例,其在此不应限制本发明保护的范围。此外,在实际制作中应包含长度、宽度及深度的三维空间尺寸。Secondly, the present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention in detail, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
在军事应用中,飞行空间中隐藏着各式各样的敌方威胁物,这些威胁物也会不断变化,故预先很难获得规划空间中威胁物的准确信息。另一个方面,无人机的油耗与发动机的耗油率、螺旋桨转速和发动机输出功率有关,而且呈非线性关系。为了简化航迹规划问题,提出以下几点假设:(1)规划空间内所有威胁物信息和地形信息已知;(2)无人机油耗仅与航程有关;(3)忽略无人机机体动力学与空气动力学特性;(4)忽略大气干扰、阵风干扰等;(5)无人机飞行速度保持不变。In military applications, there are various enemy threats hidden in the flight space, and these threats will also change constantly, so it is difficult to obtain accurate information about the threats in the planning space in advance. On the other hand, the fuel consumption of the UAV is related to the fuel consumption rate of the engine, the propeller speed and the engine output power, and the relationship is nonlinear. In order to simplify the trajectory planning problem, the following assumptions are made: (1) All threat information and terrain information in the planning space are known; (2) The fuel consumption of the UAV is only related to the range; (3) The dynamics and aerodynamic characteristics of the UAV body are ignored; (4) Atmospheric interference, gust interference, etc. are ignored; (5) The flight speed of the UAV remains unchanged.
设(xα,yα,zα)为规划空间内一点,xα、yα为经、纬度信息,zα为海拔高度信息,故航迹规划的三维空间可描述成[8]:Assume (x α , y α , z α ) is a point in the planning space, x α and y α are the longitude and latitude information, and z α is the altitude information. Therefore, the three-dimensional space of trajectory planning can be described as [8] :
其中,xmax、ymax分别是无人机战场地形的最大经纬度;h、H分别是地图的最小与最大海拔高度;zmin、zmax分别是无人机离地面的最小与最大安全距离。Among them, x max and y max are the maximum longitude and latitude of the drone battlefield terrain; h and H are the minimum and maximum altitudes of the map; z min and z max are the minimum and maximum safe distances of the drone from the ground.
地形模型可由中心位置不同的山体叠加构成,故可采用以e为底的指数函数来描述,即:The terrain model can be composed of the superposition of mountains with different central positions, so it can be described by an exponential function with e as the base, that is:
其中,(x,y)表示山体坐标,(ak,bk)为山体中心对称轴坐标,hk为山体的最高点。Among them, (x, y) represents the coordinates of the mountain, ( ak , bk ) is the coordinates of the central symmetry axis of the mountain, and hk is the highest point of the mountain.
航迹代价模型Track cost model
航迹代价模型由威胁代价模型和油耗代价模型组成。其中,威胁代价主要考虑高射炮威胁和雷达威胁[9]。The track cost model consists of a threat cost model and a fuel consumption cost model. The threat cost mainly considers the anti-aircraft gun threat and radar threat [9] .
(1)雷达威胁。通常雷达的探测范围为圆形,故设雷达对无人机的威胁概率为:(1) Radar threat. Usually the detection range of radar is circular, so the threat probability of radar to UAV is:
PR=1/d2,d≤dmax (3) PR = 1/ d2 , d≤dmax (3)
其中,d为雷达中心到无人机的距离;dmax为雷达探测区域的最大半径。Where d is the distance from the radar center to the UAV; d max is the maximum radius of the radar detection area.
(2)高射炮威胁。和雷达威胁类似,高射炮威胁的范围也为圆形,故设高射炮对无人机的威胁概率为:(2) Anti-aircraft gun threat. Similar to radar threat, the range of anti-aircraft gun threat is also circular, so the threat probability of anti-aircraft gun to UAV is:
Pg=1/d2,d≤dmax (4)P g =1/d 2 ,d≤d max (4)
(3)油耗代价。油耗与航程有关,故认为油耗代价就是总航程。(3) Fuel consumption cost. Fuel consumption is related to the voyage, so the fuel consumption cost is considered to be the total voyage.
另外,还需考虑其他约束条件,即:In addition, other constraints need to be considered, namely:
(1)最大拐弯角。无人机飞行航向的改变是通过控制偏航通道来实现的。由于惯性作用,改变航向需要拐弯半径与拐弯时间。记航迹段li在水平面投影为mi=(xi-xi-1,yi-yi-1),设无人机最大允许的拐弯角为θt,则该约束可被描述成:(1) Maximum turning angle. The change of the UAV's flight heading is achieved by controlling the yaw channel. Due to inertia, changing the heading requires a turning radius and a turning time. Let the projection of the track segment l i on the horizontal plane be mi = ( xi -xi -1 , yi -yi -1 ), and let the maximum allowable turning angle of the UAV be θt , then the constraint can be described as:
(2)最大俯冲角/爬升角。无人机的俯冲角和爬升角是由无人机的机动性决定的,这限制了规划航迹在高度方向(z方向)上俯冲与爬升的最大角度。设无人机最大俯冲角/爬升角为θp,则该约束可表示为:(2) Maximum dive angle/climb angle. The dive angle and climb angle of the UAV are determined by the maneuverability of the UAV, which limits the maximum dive and climb angle of the planned trajectory in the height direction (z direction). Assuming the maximum dive angle/climb angle of the UAV is θ p , the constraint can be expressed as:
(3)最短航迹段长度。在实际飞行中,无人机必须依靠保持飞行一段距离才能改变当前飞行姿态,这一限制不仅由其机动性能的决定,也往往与其导航要求有关。在长距离飞行时,如果无人机频繁转弯或迂回飞行,就会增加导航误差,所以要尽可能地减小航迹段长度。设无人机的最短航迹段长度为lmin,则该约束的数学描述为:(3) Shortest track length. In actual flight, the UAV must maintain a certain distance in order to change its current flight attitude. This limitation is not only determined by its maneuverability, but is also often related to its navigation requirements. During long-distance flight, if the UAV frequently turns or flies in a roundabout way, it will increase the navigation error, so the track length should be reduced as much as possible. Assuming that the shortest track length of the UAV is l min , the mathematical description of this constraint is:
li≥lmin (7)l i ≥l min (7)
综上所述,航迹代价模型主要由上述因素构成,故无人机三维航迹代价模型可表示为:In summary, the track cost model is mainly composed of the above factors, so the three-dimensional track cost model of the UAV can be expressed as:
式中,J1~J5分别表示无人机航迹的威胁代价、油耗代价、拐弯代价、俯冲角/爬升角代价与最短航迹段长度代价,wk为对应的权重因子。In the formula, J 1 ~ J 5 represent the threat cost, fuel consumption cost, turning cost, dive angle/climb angle cost and shortest track segment length cost of the UAV track, respectively, and w k is the corresponding weight factor.
本发明提供一种改进蜂群算法的无人机航迹规划方法,引入自适应搜索策略、新型概率选择策略与Logistic混沌搜索算子来加强原算法一种改进的ABC算法,使得无人机被发现的概率降低并提高鲁棒性。The present invention provides a UAV trajectory planning method based on an improved bee swarm algorithm, which introduces an adaptive search strategy, a new probability selection strategy and a Logistic chaos search operator to strengthen the original algorithm, an improved ABC algorithm, so that the probability of the UAV being discovered is reduced and the robustness is improved.
该种改进蜂群算法的无人机航迹规划方法,具体步骤如下:The specific steps of the UAV trajectory planning method based on the improved bee swarm algorithm are as follows:
(1)种群初始化。随机派出N只蜜蜂寻找到xij(i=1,2,…,N,j=1,2,…,D)蜜源,即可行解。蜜源由式(9)产生:(1) Population initialization. Randomly send N bees to find the nectar source x ij (i = 1, 2, ..., N, j = 1, 2, ..., D), and the solution is feasible. The nectar source is generated by formula (9):
其中,和/>分别为xij取值的下限和上限。in, and/> are the lower and upper limits of the value of x ij respectively.
(2)蜜源收益度评价。收益度fi由公式(10)来获得,并根据蜜源收益度值大小去除蜜源质量较差的后N/2组解。(2) Evaluation of nectar source profitability. The profitability fi is obtained by formula (10), and the last N/2 groups of solutions with poor nectar source quality are removed according to the value of the nectar source profitability.
其中,Si是由蜜源对应的目标函数值。Among them, Si is the objective function value corresponding to the nectar source.
(3)雇佣蜂搜索阶段。传统的ABC算法在雇佣蜂搜索时会由于过分开采蜜源而导致算法的收敛速度变慢[11],本文采用一个自适应搜索策略来改进原搜索方式,即:(3) Hired bee search stage. The traditional ABC algorithm will slow down the convergence speed of the algorithm due to excessive exploitation of nectar sources during hired bee search [11] . This paper adopts an adaptive search strategy to improve the original search method, namely:
其中,为当前第T代蜜源/>邻域内的新蜜源,Φij为-1到1内的随机变量,Tmax为最大迭代次数ω为权重因子,ω越大表明算法初期需尽可能挖掘潜在解;ω越小表明算法后期需提高解的质量。ωmax和ωmin分别为最大和最小权重值。在本问题中,通过反复尝试,当ωmax=0.9和ωmin=0.2时能够取得最佳效果。in, For the current T generation honey source/> New honey sources in the neighborhood, Φ ij is a random variable between -1 and 1, T max is the maximum number of iterations, and ω is a weight factor. The larger the ω is, the more potential solutions should be explored in the early stage of the algorithm; the smaller the ω is, the better the solution quality should be in the later stage of the algorithm. ω max and ω min are the maximum and minimum weight values, respectively. In this problem, through repeated attempts, the best results can be achieved when ω max = 0.9 and ω min = 0.2.
(4)跟随蜂搜索阶段。随着算法迭代次数的增加,种群间的个体会由于种群多样性的衰减而不断向同一方向进化,收敛过早的现象就容易发生。而保持种群多样性是提高ABC算法性能的重要指标之一。通过分析发现,多次迭代循环后,当前被剔除的蜜源同样也包含着有用的信息[12]。因此,本文采用一个新颖的概率选择策略,使相对较差蜜源含有的信息能够得到充分利用,以保持种群多样性,即:(4) Follow-the-bee search phase. As the number of algorithm iterations increases, individuals in the population will continue to evolve in the same direction due to the attenuation of population diversity, and premature convergence is likely to occur. Maintaining population diversity is one of the important indicators for improving the performance of the ABC algorithm. Through analysis, it is found that after multiple iterations, the currently eliminated nectar sources also contain useful information [12] . Therefore, this paper adopts a novel probabilistic selection strategy to make full use of the information contained in relatively poor nectar sources to maintain population diversity, namely:
(5)侦察蜂搜索阶段。当搜索次数trial超过某个阈值limit时,若尚未找到最优解,则放弃当前食物源相应的雇佣蜂也变成侦察蜂重新去寻找蜜源。传统的ABC算法在此阶段容易陷入局部最优[13],而本文采用Logistic混沌搜索算子来完成侦查蜂的初始化,即当雇佣蜂转变成侦察蜂时,产生一个D维的随机向量y0=[y01,y02,…,y0D](y0∈[0,1])。向量y0作为迭代的初始值,由Logistic方程进行混沌迭代,得到序列ynj。根据式(13)可以开采出局部最优值附近的潜在未知解,再经混沌算子处理后,添加到待搜索个体xij中,从而产生新的个体:(5) Scout bee search phase. When the number of trials exceeds a certain threshold limit, if the optimal solution has not been found, the current food source is abandoned. The corresponding employed bees also become scout bees to search for nectar sources again. The traditional ABC algorithm is prone to fall into the local optimum at this stage [13] . This paper uses the Logistic chaotic search operator to complete the initialization of the scout bees, that is, when the employed bees are transformed into scout bees, a D-dimensional random vector y 0 = [y 01 , y 02 , …, y 0D ] (y 0 ∈ [0,1]) is generated. The vector y 0 is used as the initial value of the iteration, and the Logistic equation is used for chaotic iteration to obtain the sequence y nj . According to formula (13), potential unknown solutions near the local optimum can be mined, and then added to the individuals to be searched x ij after being processed by the chaotic operator, thereby generating new individuals:
(6)记录当前最优解。将当前迭代获得的最优解记录下来,并返回至第(3)步,使种群进化到下一代并循环搜索,直至遇到终止条件。(6) Record the current optimal solution. Record the optimal solution obtained in the current iteration and return to step (3) to allow the population to evolve to the next generation and search repeatedly until the termination condition is met.
为了验证本发明的效果,以本发明的方法作为实施例,以ABC算法和GA算法作为对比例进行分析,具体如下:In order to verify the effect of the present invention, the method of the present invention is used as an example, and the ABC algorithm and the GA algorithm are used as comparative examples for analysis, as follows:
无人机航迹规划的起始点为(0,0,0),目标点为(90,80,0),规划的维数D=10。采用PAC-ABC算法、ABC算法和GA算法同时去搜索最优航迹。前两种算法的初始条件设置为:N=20,limit=15。而GA算法的条件设置为:抗体个数M=20,交叉因子与变异因子分别为0.8与0.2。三种算法各运行10次,每次迭代500次,然后记录下其中的最好解。航迹规划的结果如图1所示。从图中可以看出,三种算法均能生成可飞航迹,但是ABC算法与GA算法获得航迹均要翻越山脊,这会导致无人机被发现的概率增加。而PAC-ABC算法获得航迹则沿着山谷飞行,并较其他两种算法缩短了航程,利于规避威胁,实现低空突防。The starting point of the drone trajectory planning is (0,0,0), the target point is (90,80,0), and the planning dimension D=10. The PAC-ABC algorithm, ABC algorithm and GA algorithm are used to search for the optimal trajectory at the same time. The initial conditions of the first two algorithms are set to: N=20, limit=15. The conditions of the GA algorithm are set to: the number of antibodies M=20, the crossover factor and the mutation factor are 0.8 and 0.2 respectively. The three algorithms are run 10 times each, 500 iterations each time, and then the best solution is recorded. The results of trajectory planning are shown in Figure 1. As can be seen from the figure, all three algorithms can generate flyable trajectories, but the ABC algorithm and the GA algorithm have to cross the ridge to obtain the trajectory, which will increase the probability of the drone being discovered. The trajectory obtained by the PAC-ABC algorithm flies along the valley and shortens the range compared with the other two algorithms, which is conducive to avoiding threats and achieving low-altitude penetration.
图2给出了三种算法的迭代曲线,从图中可以看出本文所提算法的收敛速度最快,在100代左右就能收敛到极值,且航迹代价为51.2312,而ABC算法和GA算法的航迹代价分别为54.9980和60.6214。在改进策略的作用下,PAC-ABC算法能够较好地避免局部最优值,迅速地寻找到最优解。Figure 2 shows the iteration curves of the three algorithms. It can be seen from the figure that the proposed algorithm has the fastest convergence speed, which can converge to the extreme value in about 100 generations, and the track cost is 51.2312, while the track costs of the ABC algorithm and the GA algorithm are 54.9980 and 60.6214 respectively. Under the effect of the improved strategy, the PAC-ABC algorithm can better avoid local optimal values and quickly find the optimal solution.
为了进一步验证PAC-ABC算法的鲁棒性,分别取D为20和30时,评价此算法求解无人机航迹规划问题的效果,仿真结果如图3所示。从图中可以看出,随着维数的增加,PAC-ABC算法依旧能够寻找到较好的航迹。这说明本文所提算法具有较好的鲁棒性。In order to further verify the robustness of the PAC-ABC algorithm, the effect of this algorithm on solving the UAV trajectory planning problem is evaluated when D is 20 and 30 respectively. The simulation results are shown in Figure 3. As can be seen from the figure, with the increase of the dimension, the PAC-ABC algorithm can still find a better trajectory. This shows that the algorithm proposed in this paper has good robustness.
有时,在规划空间中隐藏着未被发现的突发威胁。当无人机遇到这些突发威胁时,需要算法具有重规划能力,来规避这些威胁。设无人机从起始点(0,0,0)到目标点(90,80,0)中,在(40,40,13)坐标位置突然侦测到有高射炮,如图4(a)所示,若按照原航迹进行飞行,无人机被击毁的概率很大。因此需要进行局部航迹重规划,无人机需要通过PAC-ABC算法重新规划航迹以规避突发威胁,图4(b)为重新规划的局部航迹,规划时间为1.254s,修正后的航迹能够快速有效地躲避突发威胁,从而保证了无人机的飞行安全。Sometimes, there are undetected sudden threats hidden in the planning space. When the UAV encounters these sudden threats, the algorithm needs to have the ability to re-plan to avoid these threats. Suppose the UAV suddenly detects an anti-aircraft gun at the coordinate position (40,40,13) from the starting point (0,0,0) to the target point (90,80,0), as shown in Figure 4(a). If the UAV flies according to the original track, the probability of being destroyed is very high. Therefore, local track re-planning is required. The UAV needs to re-plan the track through the PAC-ABC algorithm to avoid sudden threats. Figure 4(b) shows the re-planned local track with a planning time of 1.254s. The corrected track can quickly and effectively avoid sudden threats, thereby ensuring the flight safety of the UAV.
虽然在上文中已经参考实施方式对本发明进行了描述,然而在不脱离本发明的范围的情况下,可以对其进行各种改进并且可以用等效物替换其中的部件。尤其是,只要不存在结构冲突,本发明所披露的实施方式中的各项特征均可通过任意方式相互结合起来使用,在本说明书中未对这些组合的情况进行穷举性的描述仅仅是出于省略篇幅和节约资源的考虑。因此,本发明并不局限于文中公开的特定实施方式,而是包括落入权利要求的范围内的所有技术方案。Although the present invention has been described above with reference to the embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present invention. In particular, as long as there is no structural conflict, the various features in the embodiments disclosed in the present invention may be used in combination with each other in any manner, and the fact that these combinations are not exhaustively described in this specification is only for the sake of omitting space and saving resources. Therefore, the present invention is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410206519.9A CN118036849A (en) | 2024-02-26 | 2024-02-26 | An improved swarm algorithm for UAV trajectory planning |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410206519.9A CN118036849A (en) | 2024-02-26 | 2024-02-26 | An improved swarm algorithm for UAV trajectory planning |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN118036849A true CN118036849A (en) | 2024-05-14 |
Family
ID=90987387
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202410206519.9A Withdrawn CN118036849A (en) | 2024-02-26 | 2024-02-26 | An improved swarm algorithm for UAV trajectory planning |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118036849A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119555086A (en) * | 2025-01-23 | 2025-03-04 | 河北科技大学 | Three-dimensional trajectory planning method based on bidirectional APF-RRT*-CPO algorithm |
-
2024
- 2024-02-26 CN CN202410206519.9A patent/CN118036849A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119555086A (en) * | 2025-01-23 | 2025-03-04 | 河北科技大学 | Three-dimensional trajectory planning method based on bidirectional APF-RRT*-CPO algorithm |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11727812B2 (en) | Airplane flight path planning method and device based on the pigeon-inspired optimization | |
| CN108563243B (en) | A UAV track planning method based on improved RRT algorithm | |
| CN110031004B (en) | Static and dynamic path planning method for unmanned aerial vehicle based on digital map | |
| CN112666981B (en) | UAV swarm dynamic route planning method based on original pigeon swarm dynamic group learning | |
| CN109871032B (en) | Multi-unmanned aerial vehicle formation cooperative control method based on model predictive control | |
| CN111678524B (en) | A method and system for path planning of rescue aircraft based on flight safety | |
| CN112130581A (en) | A coordinated mission planning method for UAV swarms for air maneuver operations | |
| CN107608372A (en) | 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 | |
| CN107063255A (en) | A kind of three-dimensional Route planner based on improvement drosophila optimized algorithm | |
| CN108459616B (en) | A route planning method for UAV swarm cooperative coverage based on artificial bee colony algorithm | |
| CN113093787B (en) | Unmanned aerial vehicle trajectory planning method based on velocity field | |
| CN113758485A (en) | Unmanned aerial vehicle cluster collaborative dynamic track planning method based on preset track points | |
| CN112733251A (en) | Multi-unmanned aerial vehicle collaborative track planning method | |
| CN110673488A (en) | Double DQN unmanned aerial vehicle concealed access method based on priority random sampling strategy | |
| CN117289301A (en) | Air-ground unmanned platform collaborative path planning method under unknown off-road scene | |
| CN112947531A (en) | Control method, device and equipment of unmanned aerial vehicle and storage medium | |
| CN114879716A (en) | Law enforcement unmanned aerial vehicle path planning method for countering low-altitude airspace aircraft | |
| CN113625767A (en) | Fixed-wing unmanned aerial vehicle cluster collaborative path planning method based on preferred pheromone gray wolf algorithm | |
| CN116360475A (en) | Unmanned aerial vehicle path planning method under threat influence | |
| Chen et al. | An improved spherical vector and truncated mean stabilization based bat algorithm for UAV path planning | |
| CN117553792A (en) | Unmanned platform submarine road searching optimization method based on ant colony algorithm | |
| CN118036849A (en) | An improved swarm algorithm for UAV trajectory planning | |
| CN112925317A (en) | AUV path planning method based on improved brainstorming optimization algorithm | |
| CN115930962A (en) | UAV swarm route planning method based on Voronoi diagram of threat field | |
| CN111381605A (en) | An underwater multi-target collaborative search method applied to multi-unmanned aerial vehicles in large-scale sea areas |
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 | ||
| WW01 | Invention patent application withdrawn after publication | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20240514 |