[go: up one dir, main page]

CN107169608B - Distribution method and device for multiple unmanned aerial vehicles to execute multiple tasks - Google Patents

Distribution method and device for multiple unmanned aerial vehicles to execute multiple tasks Download PDF

Info

Publication number
CN107169608B
CN107169608B CN201710389675.3A CN201710389675A CN107169608B CN 107169608 B CN107169608 B CN 107169608B CN 201710389675 A CN201710389675 A CN 201710389675A CN 107169608 B CN107169608 B CN 107169608B
Authority
CN
China
Prior art keywords
unmanned aerial
chromosome
aerial vehicle
population
chromosomes
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
Application number
CN201710389675.3A
Other languages
Chinese (zh)
Other versions
CN107169608A (en
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.)
Hefei University of Technology
Original Assignee
Hefei University of Technology
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 Hefei University of Technology filed Critical Hefei University of Technology
Priority to CN201710389675.3A priority Critical patent/CN107169608B/en
Publication of CN107169608A publication Critical patent/CN107169608A/en
Application granted granted Critical
Publication of CN107169608B publication Critical patent/CN107169608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Biophysics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Biomedical Technology (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Physiology (AREA)
  • Genetics & Genomics (AREA)
  • Artificial Intelligence (AREA)
  • General Business, Economics & Management (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Other Investigation Or Analysis Of Materials By Electrical Means (AREA)
  • Traffic Control Systems (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

The embodiment of the invention discloses a method and a device for distributing multiple tasks executed by multiple unmanned aerial vehicles. The method comprises the following steps: acquiring position information of a plurality of unmanned aerial vehicles and target points and motion parameters of the unmanned aerial vehicles and a wind field; constructing an initial population according to the position information and a preset genetic algorithm, wherein each chromosome in the initial population comprises European flight paths of the number of the unmanned aerial vehicles; determining the flight state of the unmanned aerial vehicle and the flight time for completing the European-type path flight path segment according to the initial population and the motion parameters, and acquiring the task completion time of all unmanned aerial vehicles corresponding to each chromosome according to the flight time and an MUAV-VS-EVRP model; and (3) crossing and mutating chromosomes in the population based on a genetic algorithm, and selecting the chromosome with the shortest task completion time of the unmanned aerial vehicle as a task allocation scheme of the unmanned aerial vehicle after a preset iteration number is reached. The embodiment of the invention combines the unmanned aerial vehicle flight path planning problem with the actual flight environment of the unmanned aerial vehicle, so that the optimal flight path scheme obtained by planning is superior to the scheme of constant speed of the unmanned aerial vehicle.

Description

多无人机执行多任务的分配方法及装置Method and device for assigning multiple UAVs to perform multiple tasks

技术领域technical field

本发明实施例涉及无人机技术领域,具体涉及一种多无人机执行多任务的分配方法及装置。Embodiments of the present invention relate to the technical field of unmanned aerial vehicles, and in particular, to a method and device for assigning multiple unmanned aerial vehicles to perform multiple tasks.

背景技术Background technique

当前,无人机UAV(Unmanned Aerial Vehicle)在军民领域有着广泛的应用,可完成目标侦察、目标跟踪、情报收集、震后救援和地质勘探等多种类型任务。例如在多架UAV协同侦察目标时,既要最合理地为每架UAV分配其所需侦察的目标,还要为其规划最优的飞行航迹。该问题是一个受多因素约束的任务分配与航迹规划联合优化问题,也是非确定性问题。At present, UAV (Unmanned Aerial Vehicle) has a wide range of applications in the military and civilian fields, and can complete various types of tasks such as target reconnaissance, target tracking, intelligence collection, post-earthquake rescue and geological exploration. For example, when multiple UAVs cooperate to reconnaissance targets, it is necessary to allocate each UAV the target it needs to reconnaissance most reasonably, and to plan the optimal flight path for it. The problem is a joint optimization problem of task assignment and trajectory planning constrained by multiple factors, and it is also a non-deterministic problem.

随着UAV研究的深入,环境因素被逐渐纳入问题的研究,特别是UAV任务分配、航迹规划和飞行控制等问题中,在环境因素的影响下如何降低耗能、控制UAV的飞行状态从而使UAV消耗最少的燃料执行最多的任务、具备更好的任务执行状态和更高的安全性是当前UAV研究的主要工作。当前常用于解决UAV任务分配与任务规划问题的模型有:TSP模型,TOP模型和VRP模型,其中,TSP模型是在只有单一旅行者的条件下,使得旅行者通过所有给定的目标点之后,从而使其路径成本最小的模型;TOP模型是在存在多个成员的条件下,使得每个成员尽可能访问更多的目标点,从而使得所有成员的总收益最大的模型;VRP模型是在车辆数量固定的条件下,使得车辆访问一定数量目标点,且在此过程中每个目标点只能被访问一次,最终使得UAV航行的总距离或总时间最短的模型。With the deepening of UAV research, environmental factors have been gradually incorporated into the study of problems, especially in UAV task assignment, trajectory planning and flight control. Under the influence of environmental factors, how to reduce energy consumption and control the flight state of UAV so UAV consumes the least fuel to perform the most tasks, has better task execution status and higher safety is the main work of current UAV research. Currently, the models commonly used to solve UAV task assignment and task planning problems are: TSP model, TOP model and VRP model. Among them, the TSP model is to make the traveler pass all the given target points under the condition of only a single traveler. Therefore, the model with the smallest path cost; the TOP model is a model that makes each member visit as many target points as possible under the condition of multiple members, so that the total benefit of all members is maximized; the VRP model is a model in which the vehicle Under the condition of a fixed number, the vehicle can visit a certain number of target points, and each target point can only be visited once in the process, and finally the model with the shortest total distance or total time of UAV navigation.

在实现本发明实施例的过程中,发明人发现现有的技术方案在实际操作中,一般是假设模型中在恒定时间内无人机的速度是恒定的。然而这个假设显然是不现实的,导致模型无法精确模拟出无人机的实际运动状态,进而无法进行最优的航迹规划。In the process of implementing the embodiments of the present invention, the inventor finds that the existing technical solutions generally assume that the speed of the UAV in the model is constant in a constant time in actual operation. However, this assumption is obviously unrealistic, so that the model cannot accurately simulate the actual motion state of the UAV, and thus cannot perform optimal trajectory planning.

发明内容SUMMARY OF THE INVENTION

本发明实施例的一个目的是解决现有技术由于在进行航迹规划是设定无人机的速度是恒定的,导致模型无法精确模拟出无人机的实际运动状态,进而无法给出的最优的航迹规划。One purpose of the embodiments of the present invention is to solve the problem that in the prior art, since the speed of the UAV is set to be constant during the track planning, the model cannot accurately simulate the actual motion state of the UAV, and thus cannot provide the most Excellent track planning.

本发明实施例提出了一种多无人机执行多任务的分配方法,包括:An embodiment of the present invention provides a method for assigning multiple UAVs to perform multiple tasks, including:

S1、获取多个无人机和多个目标点的位置信息,以及所述多个无人机和风场的运动参数;S1. Obtain position information of multiple drones and multiple target points, and motion parameters of the multiple drones and wind farms;

S2、根据所述多个无人机和所述多个目标点的位置信息和预设遗传算法,构建初始种群,所述初始种群中的每个染色体均包括无人机数量的欧式飞行路径且各条欧式飞行路径均由不同无人机完成;S2. According to the position information of the multiple drones and the multiple target points and the preset genetic algorithm, construct an initial population, and each chromosome in the initial population includes the European flight path of the number of drones and Each European flight path is completed by different drones;

S3、根据所述初始种群、无人机和风场的运动参数确定无人机飞行状态和无人机完成欧式飞行路径的航迹段的航行时间,根据所述航迹段的航行时间和MUAV-VS-EVRP模型获取初始种群中染色体对应的所有无人机完成任务时间;S3, according to the motion parameters of the initial population, the UAV and the wind field, determine the UAV flight state and the flight time of the UAV to complete the track segment of the European flight path, according to the flight time of the track segment and the MUAV- The VS-EVRP model obtains the completion time of all UAVs corresponding to the chromosomes in the initial population;

S4、基于遗传算法,对初始种群中染色体进行交叉、变异处理,并在达到预定迭代次数后,选取所有无人机完成任务时间最短的染色体作为所述无人机的最优任务分配方案。S4. Based on the genetic algorithm, the chromosomes in the initial population are crossed and mutated, and after reaching a predetermined number of iterations, the chromosome with the shortest time to complete the task of all UAVs is selected as the optimal task allocation scheme of the UAV.

可选的,根据所述多个无人机和所述多个目标点的位置信息和预设遗传算法,构建初始种群包括:Optionally, according to the position information of the multiple unmanned aerial vehicles and the multiple target points and the preset genetic algorithm, constructing the initial population includes:

根据预设遗传算法的编码方式进行染色体编码生成预定规模的初始种群;所述染色体由目标点信息和无人机信息组成;其中所述目标点属于集合

Figure GDA0002390600170000021
T0表示UAVs的起点,NT表示目标点数量,无人机属于集合
Figure GDA0002390600170000022
NU表示无人机数量;Perform chromosome coding according to the coding method of the preset genetic algorithm to generate an initial population of a predetermined scale; the chromosome is composed of target point information and UAV information; wherein the target point belongs to the set
Figure GDA0002390600170000021
T 0 represents the starting point of UAVs, N T represents the number of target points, and the UAV belongs to the set
Figure GDA0002390600170000022
N U represents the number of drones;

所述染色体第一行为所述目标点的随机全排列,第二行为根据无人机集合为每个目标点随机选取对应的无人机,且需保证无人机集合中的无人机全部至少被选择一次。The first behavior of the chromosome is a random full arrangement of the target points, and the second behavior is to randomly select the corresponding UAV for each target point according to the UAV set, and it is necessary to ensure that all UAVs in the UAV set are at least is selected once.

可选的,根据所述初始种群、无人机和风场的运动参数确定无人机飞行状态和无人机完成欧式飞行路径的航迹段的航行时间,根据所述航迹段的航行时间和MUAV-VS-EVRP模型获取初始种群中染色体对应的所有无人机完成任务时间包括:Optionally, determine the flight state of the drone and the flight time of the track segment in which the drone completes the European flight path according to the motion parameters of the initial population, the drone and the wind field, and determine the flight time of the track segment and The MUAV-VS-EVRP model obtains the completion time of all UAVs corresponding to the chromosomes in the initial population, including:

每个染色体对应的欧式飞行路径根据其目标点被访问顺序将所述飞行路径分为多个航迹段;The Euclidean flight path corresponding to each chromosome divides the flight path into a plurality of track segments according to the order in which its target points are visited;

根据每个航迹段对应的起始点的坐标以及终止点的坐标,结合风场参数确定无人机飞行状态,进而获取所述无人机完成所述航迹段的所有无人机完成任务时间;According to the coordinates of the starting point and the coordinates of the ending point corresponding to each track segment, combined with the wind field parameters, the UAV flight status is determined, and then the task completion time of all UAVs in the track segment is obtained. ;

根据每个航迹段对应的航行时间获取所述染色体对应的所有无人机完成任务时间。According to the flight time corresponding to each track segment, the task completion time of all UAVs corresponding to the chromosome is obtained.

可选的,根据每个航迹段对应的起始点的坐标以及终止点的坐标,结合风场参数确定无人机飞行状态,进而获取所述无人机完成所述航迹段的航行时间包括:Optionally, according to the coordinates of the starting point and the coordinates of the ending point corresponding to each track segment, combined with the wind field parameters to determine the flying state of the drone, and then obtaining the flight time of the drone to complete the track segment includes: :

采用以下公式计算获取无人机Ui由目标点Tj出发飞至目标点Tk航迹段的航行时间:The following formula is used to calculate and obtain the flight time of the U i from the target point T j to the target point T k track segment:

Figure GDA0002390600170000031
Figure GDA0002390600170000031

其中,Ui表示执行上述任务的无人机,U表示无人机集合,Tj为起始点,Tk为终止点,T表示目标点的集合,Vg i为无人机Ui在上述两目标点间的地速;Among them, U i represents the unmanned aerial vehicle performing the above tasks, U represents the set of unmanned aerial vehicles, T j is the starting point, Tk is the ending point, T represents the set of target points, and V g i is the unmanned aerial vehicle U i in the above two ground speed between target points;

采用以下公式计算获取无人机Ui的地速:Use the following formula to calculate and obtain the ground speed of the UAV U i :

Figure GDA0002390600170000032
Figure GDA0002390600170000032

其中,Va i表示空速大小,βa i表示空速航向角,Vg i表示地速的大小,βg i表示地速航向角,

Figure GDA0002390600170000033
表示风速大小,
Figure GDA0002390600170000034
表示风向;Among them, V a i represents the airspeed, β a i represents the airspeed heading angle, V g i represents the ground speed, β g i represents the ground speed heading angle,
Figure GDA0002390600170000033
represents the wind speed,
Figure GDA0002390600170000034
indicates wind direction;

采用以下公式计算获取无人机Ui在Tj和Tk两点间的欧氏距离:The Euclidean distance between the two points T j and T k of the UAV U i is calculated and obtained by the following formula:

Figure GDA0002390600170000035
Figure GDA0002390600170000035

其中,X,Y分别表示对应目标点横、纵坐标。Among them, X and Y represent the horizontal and vertical coordinates of the corresponding target point, respectively.

可选的,根据所述航迹段的航行时间和MUAV-VS-EVRP模型获取初始种群中染色体对应的所有无人机完成任务时间包括:Optionally, according to the voyage time of the track segment and the MUAV-VS-EVRP model, the task completion times of all UAVs corresponding to chromosomes in the initial population are obtained, including:

根据MUAV-VS-EVRP模型获取航行时间:Get the sailing time according to the MUAV-VS-EVRP model:

Figure GDA0002390600170000041
Figure GDA0002390600170000041

其约束条件为:Its constraints are:

Figure GDA0002390600170000042
Figure GDA0002390600170000042

Figure GDA0002390600170000043
Figure GDA0002390600170000043

Figure GDA0002390600170000044
Figure GDA0002390600170000044

其中.

Figure GDA0002390600170000045
表示无人机由目标点Tj出发飞至目标点Tk的航行时间,
Figure GDA0002390600170000046
是一个二元决策变量,且
Figure GDA0002390600170000047
当UAVUi经Tj飞行至Tk时,则
Figure GDA0002390600170000048
的值为1,否则
Figure GDA0002390600170000049
的值为0,NT表示目标点的数量,NU表示无人机的数量。in.
Figure GDA0002390600170000045
represents the flight time of the UAV from the target point T j to the target point T k ,
Figure GDA0002390600170000046
is a binary decision variable, and
Figure GDA0002390600170000047
When UAVU i flies to T k via T j , then
Figure GDA0002390600170000048
is 1, otherwise
Figure GDA0002390600170000049
The value of is 0, N T represents the number of target points, and N U represents the number of UAVs.

可选的,基于遗传算法,对初始种群中染色体进行交叉、变异处理,并在达到预定迭代次数后,选取所有无人机完成任务时间最短的染色体作为所述无人机的最优任务分配方案包括:Optionally, based on a genetic algorithm, crossover and mutation processing is performed on the chromosomes in the initial population, and after reaching a predetermined number of iterations, the chromosome with the shortest time to complete the task of all UAVs is selected as the optimal task allocation scheme for the UAV. include:

步骤1、使用所述编码方式生成初始解,并生成预定规模的初始种群并根据种群中每个染色体对应的所有无人机完成任务时间计算其适应度;Step 1. Use the coding method to generate an initial solution, generate an initial population of a predetermined scale, and calculate its fitness according to the completion time of all UAVs corresponding to each chromosome in the population;

步骤2、使用轮盘赌方法选择父代种群中的两个个体(A,B)进行交叉,交叉规则为先随机选择个体A中交叉位置,然后查找个体B中与个体A交叉位置第一行相同的基因,将染色体A和B中交叉位置基因进行替换得到新的染色体C和D,判断染色体C和D是否满足MUAV-VS-EVRP模型的约束条件,若满足则利用染色体C和D替换种群中染色体A和B,否则对不满足约束条件的染色体进行约束校验,即检验染色体A和B中无人机数量不满足约束条件时,针对不满足条件的染色体,随机选取一个基因位并判断该基因位上的无人机编码是否存在两个及两个以上,若是则将缺失的无人机编码放入该基因位,否则重新选取基因位,生成满足约束条件的染色体替换种群中染色体A和B,然后不断迭代更新步骤1种群,得到新的子代种群;Step 2. Use the roulette method to select two individuals (A, B) in the parent population for crossover. The crossover rule is to randomly select the crossover position in individual A, and then find the first row of the crossover position between individual B and individual A. For the same genes, replace the genes at the crossover positions in chromosomes A and B to obtain new chromosomes C and D, and judge whether chromosomes C and D meet the constraints of the MUAV-VS-EVRP model. If so, use chromosomes C and D to replace the population If the number of drones in chromosomes A and B does not meet the constraints, randomly select a locus and judge the chromosomes that do not meet the constraints. Whether there are two or more UAV codes on the locus, if so, put the missing UAV codes into the locus, otherwise reselect the locus to generate chromosome A in the chromosome replacement population that satisfies the constraints and B, and then iteratively update the population in step 1 to obtain a new subpopulation;

步骤3、使用轮盘赌方法选择步骤2种群中一条染色体进行变异,对所述染色体进行变异的方式为下述变异方式中的至少一种,包括:对染色体第一行进行目标点变异;对染色体第二行进行无人机变异;Step 3. Use the roulette method to select a chromosome in the population of step 2 to mutate, and the method of mutating the chromosome is at least one of the following mutation methods, including: performing target point mutation on the first row of the chromosome; The second line of chromosomes is subjected to drone mutation;

整个染色体变异的步骤包括:首先,若染色体的第一行顺序变异,则随机选取当前染色体的两个基因位并交换对应基因位的目标点编码;再选择第二行是否变异及变异位置,若变异则随机生成变异的有异于当前位置无人机编码的值替换原值,并且在变异后判断染色体是否满足MUAV-VS-EVRP模型的约束条件,若满足则替换种群中染色体,否则对不满足约束条件的染色体进行约束校验,即检验染色体中无人机数量不满足约束条件时,针对不满足条件的染色体,随机选取一个基因位并判断该基因位上的无人机编码是否存在两个及两个以上,若是则将缺失的无人机编码放入该基因位,否则重新选取基因位,生成满足约束条件的染色体替换种群中的染色体并不断迭代更新步骤2种群,得到新的子代种群;The steps of the entire chromosome mutation include: first, if the first row of the chromosome mutates in sequence, randomly select two loci of the current chromosome and exchange the target code of the corresponding locus; then select whether the second row is mutated and the position of the mutation, if The mutation is randomly generated to replace the original value with the value coded by the UAV at the current position, and after the mutation, it is judged whether the chromosome satisfies the constraints of the MUAV-VS-EVRP model. If it is satisfied, the chromosome in the population is replaced. The chromosomes that meet the constraints are checked for constraints, that is, when the number of drones in the chromosome does not meet the constraints, randomly select a locus for the chromosomes that do not meet the constraints, and determine whether the drone code on the locus has two If there are two or more, if it is, put the missing drone code into the locus, otherwise reselect the locus, generate chromosomes that meet the constraints to replace the chromosomes in the population, and iteratively update the population in step 2 to obtain a new subpopulation. generation population;

步骤4、计算子代种群适应度并选取本次迭代中所有解中的最优解;Step 4. Calculate the fitness of the offspring population and select the optimal solution among all solutions in this iteration;

步骤5、判断当前的迭代次数是否达到预设值,若判断否,则对步骤3中的子代种群和父代种群按照一定比例组合形成新的父代种群返回步骤2;若判断为是,则结束迭代,将最终获得的最优解作为无人机的任务分配结果。Step 5. Determine whether the current number of iterations reaches the preset value. If it is determined to be no, then combine the child population and the parent population in step 3 according to a certain proportion to form a new parent population and return to step 2; if it is determined to be yes, Then the iteration ends, and the final optimal solution is used as the task assignment result of the UAV.

本发明实施例提出了一种多无人机执行多任务的分配装置,包括:The embodiment of the present invention proposes a multi-unmanned aerial vehicle to perform multi-task distribution device, including:

获取模块,用于获取多个无人机和多个目标点的位置信息,以及所述多个无人机和风场的运动参数;an acquisition module for acquiring the position information of multiple drones and multiple target points, as well as the motion parameters of the multiple drones and the wind farm;

第一处理模块,用于根据所述多个无人机和所述多个目标点的位置信息和预设遗传算法,构建初始种群,所述初始种群中的每个染色体均包括无人机数量的欧式飞行路径各条欧式飞行路径均由不同无人机完成;The first processing module is used for constructing an initial population according to the position information of the multiple drones and the multiple target points and a preset genetic algorithm, and each chromosome in the initial population includes the number of drones The European-style flight path of each European-style flight path is completed by different drones;

第二处理模块,用于根据所述初始种群、无人机和风场的运动参数确定无人机飞行状态和无人机完成欧式飞行路径的航迹段的航行时间,根据所述航迹段的航行时间和MUAV-VS-EVRP模型获取初始种群中染色体对应的所有无人机完成任务时间;The second processing module is used to determine the UAV flight state and the flight time of the UAV to complete the track segment of the European flight path according to the motion parameters of the initial population, the UAV and the wind field, and according to the Navigation time and MUAV-VS-EVRP model to obtain the completion time of all UAVs corresponding to chromosomes in the initial population;

第三处理模块,用于基于遗传算法,对初始种群中染色体进行交叉、变异处理,并在达到预定迭代次数后,选取所有无人机完成任务时间最短的染色体作为所述无人机的最优任务分配方案。The third processing module is used to perform crossover and mutation processing on the chromosomes in the initial population based on the genetic algorithm, and after reaching a predetermined number of iterations, select the chromosome with the shortest time to complete the task of all drones as the optimal number of the drones task assignment plan.

可选的,所述第一处理模块,用于根据预设遗传算法的编码方式进行染色体编码生成预定规模的初始种群;所述染色体由目标点信息和无人机信息组成;其中所述目标点属于集合

Figure GDA0002390600170000061
T0表示UAVs的起点,NT表示目标点数量,无人机属于集合
Figure GDA0002390600170000062
NU表示无人机数量;所述染色体第一行为所述目标点的随机全排列,第二行为根据无人机集合为每个目标点随机选取对应的无人机,且需保证无人机集合中的无人机全部至少被选择一次。Optionally, the first processing module is configured to perform chromosome encoding according to a preset genetic algorithm encoding method to generate an initial population of a predetermined scale; the chromosome is composed of target point information and UAV information; wherein the target point belong to the set
Figure GDA0002390600170000061
T 0 represents the starting point of UAVs, N T represents the number of target points, and the UAV belongs to the set
Figure GDA0002390600170000062
N U represents the number of UAVs; the first line of the chromosome is a random full arrangement of the target points, and the second line is to randomly select the corresponding UAV for each target point according to the UAV set, and it is necessary to ensure that the UAV All drones in the set are selected at least once.

可选的,所述第二处理模块,用于每个染色体对应的欧式飞行路径根据其目标点被访问顺序将所述飞行路径分为多个航迹段;根据每个航迹段对应的起始点的坐标以及终止点的坐标,结合风场参数确定无人机飞行状态,进而获取所述无人机完成所述航迹段的航行时间;根据每个航迹段对应的航行时间获取所述染色体对应的所有无人机任务完成时间。Optionally, the second processing module is used to divide the Euclidean flight path corresponding to each chromosome into multiple track segments according to the order in which the target points are accessed; The coordinates of the starting point and the coordinates of the ending point, combined with the wind field parameters, determine the flight state of the UAV, and then obtain the flight time of the UAV to complete the track segment; obtain the flight time corresponding to each track segment. The completion time of all drone missions corresponding to chromosomes.

可选的,所述第二处理模块,用于根据每个航迹段对应的起始点的坐标以及终止点的坐标,结合风场参数确定无人机飞行状态,进而获取所述无人机完成所述航迹段的航行时间包括:Optionally, the second processing module is used to determine the flying state of the UAV according to the coordinates of the starting point and the coordinates of the ending point corresponding to each track segment, combined with the wind field parameters, and then obtain the UAV completion. The sailing time of the track segment includes:

采用以下公式计算获取无人机Ui由目标点Tj出发飞至目标点Tk航迹段的航行时间:The following formula is used to calculate and obtain the flight time of the U i from the target point T j to the target point T k track segment:

Figure GDA0002390600170000063
Figure GDA0002390600170000063

其中,Ui表示执行上述任务的无人机,U表示无人机集合,Tj为起始点,Tk为终止点,T表示目标点的集合,Vg i为无人机Ui在上述两目标点间的地速;Among them, U i represents the unmanned aerial vehicle performing the above tasks, U represents the set of unmanned aerial vehicles, T j is the starting point, T k is the ending point, T represents the set of target points, and V g i is the unmanned aerial vehicle U i in the above Ground speed between two target points;

采用以下公式计算获取无人机Ui的地速:Use the following formula to calculate and obtain the ground speed of the UAV U i :

Figure GDA0002390600170000071
Figure GDA0002390600170000071

其中,Va i表示空速大小,βa i表示空速航向角,Vg i表示地速的大小,βg i表示地速航向角,

Figure GDA0002390600170000072
表示风速大小,
Figure GDA0002390600170000073
表示风向;Among them, V a i represents the airspeed, β a i represents the airspeed heading angle, V g i represents the ground speed, β g i represents the ground speed heading angle,
Figure GDA0002390600170000072
represents the wind speed,
Figure GDA0002390600170000073
indicates wind direction;

采用以下公式计算获取无人机Ui在Tj和Tk两点间的欧氏距离:The Euclidean distance between the two points T j and T k of the UAV U i is calculated and obtained by the following formula:

Figure GDA0002390600170000074
Figure GDA0002390600170000074

其中,X,Y分别表示对应目标点横、纵坐标。Among them, X and Y represent the horizontal and vertical coordinates of the corresponding target point, respectively.

由上述技术方案可知,本发明实施例提出的一种多无人机访问多目标点的航迹规划方法及装置首先通过对风场和无人机的运动参数进行分析,获取无人机在风场中的实际飞行状态,然后基于实际飞行状态进行飞行路径的规划,与现有技术中设定无人机速度恒定的方案相比,能根据不确定环境中风场的状态精确计算无人机在所有可能飞行路径上的航行时间,进而选择出最优的飞行路径。It can be seen from the above technical solutions that the method and device for trajectory planning for multiple UAVs visiting multiple target points proposed in the embodiment of the present invention first analyze the wind field and the motion parameters of the UAVs to obtain the UAVs in the wind. The actual flight state in the field, and then the flight path planning is carried out based on the actual flight state. Compared with the solution of setting the speed of the UAV to be constant in the prior art, it can accurately calculate the speed of the UAV according to the state of the wind field in the uncertain environment. Travel time on all possible flight paths, and then select the optimal flight path.

附图说明Description of drawings

通过参考附图会更加清楚的理解本发明的特征和优点,附图是示意性的而不应理解为对本发明进行任何限制,在附图中:The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are schematic and should not be construed as limiting the invention in any way, in which:

图1示出了本发明一实施例提供的一种多无人机执行多任务的分配方法的流程示意图;1 shows a schematic flowchart of a method for assigning multiple UAVs to perform multiple tasks according to an embodiment of the present invention;

图2示出了本发明一实施例提供的计算Dubins飞行路径的航行时间的流程示意图;FIG. 2 shows a schematic flowchart of calculating the flight time of the Dubins flight path provided by an embodiment of the present invention;

图3示出了本发明一实施例提供的遗传算法的流程示意图;3 shows a schematic flowchart of a genetic algorithm provided by an embodiment of the present invention;

图4a-图4c示出了本发明一实施例提供遗传算法中的算子的示意图;4a-4c show schematic diagrams of operators in a genetic algorithm provided by an embodiment of the present invention;

图5示出了本发明一实施例提供的风向示意图;FIG. 5 shows a schematic diagram of a wind direction provided by an embodiment of the present invention;

图6示出了本发明一实施例提供的速度矢量关系示意图;FIG. 6 shows a schematic diagram of a velocity vector relationship provided by an embodiment of the present invention;

图7示出了本发明一实施例提供的UAV由A飞往C点受风场影响的分析示意图;FIG. 7 shows a schematic diagram of the analysis provided by an embodiment of the present invention that the UAV travels from point A to point C and is affected by the wind field;

图8示出了本发明一实施例提供的对飞行路径进行分段的示意图;FIG. 8 shows a schematic diagram of segmenting a flight path according to an embodiment of the present invention;

图9示出了本发明一实施例提供的一种多无人机执行多任务的分配装置的结构示意图。FIG. 9 shows a schematic structural diagram of a distribution device for multi-UAVs to perform multi-tasking provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

图1示出了本发明一实施例提供的一种多无人机访问多目标点的航迹规划的流程示意图,参见图1,该方法可由处理器实现,具体包括如下步骤:FIG. 1 shows a schematic flowchart of a trajectory planning for multiple drones accessing multiple target points according to an embodiment of the present invention. Referring to FIG. 1 , the method can be implemented by a processor, and specifically includes the following steps:

110、获取多个无人机和多个目标点的位置信息,以及所述多个无人机和风场的运动参数;110. Acquire position information of multiple UAVs and multiple target points, and motion parameters of the multiple UAVs and wind farms;

需要说明的是,在进行任务分配和航迹规划之前,技术人员可设定或者根据实际情况测出无人机和多个目标点的位置信息,然后将其输入至处理器中。It should be noted that before task assignment and track planning, technicians can set or measure the position information of the UAV and multiple target points according to the actual situation, and then input it into the processor.

另外,无人机的运动参数可以是技术人员根据实际飞行需要设定的,风场的运动参数可以是技术人员测量得出或者是根据实际情况设定的。In addition, the motion parameters of the UAV can be set by the technicians according to the actual flight needs, and the motion parameters of the wind field can be measured by the technicians or set according to the actual situation.

120、根据所述多个无人机和所述多个目标点的位置信息和预设遗传算法,构建初始种群,所述初始种群中的每个染色体均包括无人机数量的欧式飞行路径且各条欧式飞行路径均由不同无人机完成;120. According to the position information and preset genetic algorithm of the plurality of UAVs and the plurality of target points, construct an initial population, each chromosome in the initial population includes the European flight path of the number of UAVs and Each European flight path is completed by different drones;

130、根据所述初始种群、无人机和风场的运动参数确定无人机飞行状态和无人机完成欧式飞行路径的航迹段的航行时间,根据所述航迹段的航行时间和MUAV-VS-EVRP模型获取初始种群中染色体对应的所有无人机完成任务时间;130. Determine the flight state of the drone and the flight time of the track segment where the drone completes the European flight path according to the initial population, the motion parameters of the drone and the wind field, and the flight time of the track segment and the MUAV- The VS-EVRP model obtains the completion time of all UAVs corresponding to the chromosomes in the initial population;

140、基于遗传算法,对初始种群中染色体进行交叉、变异处理,并在达到预定迭代次数后,选取所有无人机完成任务时间最短的染色体作为所述无人机的最优任务分配方案。140. Based on the genetic algorithm, perform crossover and mutation processing on the chromosomes in the initial population, and after reaching a predetermined number of iterations, select the chromosome with the shortest time to complete the task of all UAVs as the optimal task allocation scheme of the UAV.

不难理解的是,每次交叉、变异的迭代可能都有新的个体的出现,然后基于步骤130对新的染色体进行的航行时间的计算,因此,每个欧式飞行路径对应一个航行时间。It is not difficult to understand that new individuals may appear in each iteration of crossover and mutation, and then based on the calculation of the flight time for the new chromosome in step 130, each Euclidean flight path corresponds to a flight time.

可见,本实施例首先通过对风场和无人机的运动参数进行分析,获取无人机在风场中的实际飞行状态,然后基于实际飞行状态进行飞行路径的规划,与现有技术相比,本实施例将无人机航迹规划问题与无人机实际飞行环境相结合,使规划得到的最优飞行路径方案优于无人机速度恒定的方案,进而达到能精确计算无人机在所有可能飞行路径上的航行时间,进而选择出最优的飞行路径。It can be seen that in this embodiment, the actual flight state of the UAV in the wind field is obtained by analyzing the motion parameters of the wind field and the UAV, and then the flight path is planned based on the actual flight state. Compared with the prior art In this embodiment, the UAV trajectory planning problem is combined with the actual flight environment of the UAV, so that the optimal flight path scheme obtained by planning is better than the scheme with a constant speed of the UAV, so as to achieve accurate calculation of the UAV's flight path. Travel time on all possible flight paths, and then select the optimal flight path.

下面对本发明实施例中的各步骤进行详细说明:Each step in the embodiment of the present invention is described in detail below:

首先,对步骤120进行详细说明:First, step 120 is described in detail:

根据预设遗传算法的编码方式进行染色体编码生成预定规模的初始种群;所述染色体由目标点信息和无人机信息组成;其中所述目标点属于集合

Figure GDA0002390600170000092
T0表示UAVs的起点,NT表示目标点数量,无人机属于集合
Figure GDA0002390600170000091
NU表示无人机数量;Perform chromosome coding according to the coding method of the preset genetic algorithm to generate an initial population of a predetermined scale; the chromosome is composed of target point information and UAV information; wherein the target point belongs to the set
Figure GDA0002390600170000092
T 0 represents the starting point of UAVs, N T represents the number of target points, and the UAV belongs to the set
Figure GDA0002390600170000091
N U represents the number of drones;

所述染色体第一行为所述目标点的随机全排列,第二行为根据无人机集合为每个目标点随机选取对应的无人机,且需保证无人机集合中的无人机全部至少被选择一次。The first behavior of the chromosome is a random full arrangement of the target points, and the second behavior is to randomly select the corresponding UAV for each target point according to the UAV set, and it is necessary to ensure that all UAVs in the UAV set are at least is selected once.

然后,参见图2,下面对步骤130进行详细说明:Then, referring to FIG. 2 , step 130 will be described in detail below:

210、每个染色体对应的欧式飞行路径根据其目标点被访问顺序将所述飞行路径分为多个航迹段;210. The Euclidean flight path corresponding to each chromosome divides the flight path into a plurality of track segments according to the order in which its target points are accessed;

220、根据每个航迹段对应的起始点的坐标以及终止点的坐标,结合风场参数确定无人机飞行状态,进而获取所述无人机完成所述航迹段的航行时间;220. According to the coordinates of the starting point and the coordinates of the ending point corresponding to each track segment, combined with the wind field parameters, determine the flying state of the UAV, and then obtain the sailing time of the UAV to complete the track segment;

230、根据每个航迹段对应的航行时间获取所述染色体对应的所有无人机完成任务时间。230. Acquire the task completion time of all UAVs corresponding to the chromosome according to the flight time corresponding to each track segment.

其中,步骤220包括:Wherein, step 220 includes:

采用以下公式计算获取无人机Ui由目标点Tj出发飞至目标点Tk航迹段的航行时间:The following formula is used to calculate and obtain the flight time of the U i from the target point T j to the target point T k track segment:

Figure GDA0002390600170000101
Figure GDA0002390600170000101

其中,Ui表示执行上述任务的无人机,U表示无人机集合,Tj为起始点,Tk为终止点,T表示目标点的集合,Vg i为无人机Ui在上述两目标点间的地速;Among them, U i represents the unmanned aerial vehicle performing the above tasks, U represents the set of unmanned aerial vehicles, T j is the starting point, T k is the ending point, T represents the set of target points, and V g i is the unmanned aerial vehicle U i in the above Ground speed between two target points;

采用以下公式计算获取无人机Ui的地速:Use the following formula to calculate and obtain the ground speed of the UAV U i :

Figure GDA0002390600170000102
Figure GDA0002390600170000102

其中,Va i表示空速大小,

Figure GDA0002390600170000103
表示空速航向角,Vg i表示地速的大小,βg i表示地速航向角,
Figure GDA0002390600170000104
表示风速大小,
Figure GDA0002390600170000105
表示风向;where V a i represents the airspeed,
Figure GDA0002390600170000103
represents the airspeed heading angle, V g i represents the size of the ground speed, β g i represents the ground speed heading angle,
Figure GDA0002390600170000104
represents the wind speed,
Figure GDA0002390600170000105
indicates wind direction;

采用以下公式计算获取无人机Ui在Tj和Tk两点间的欧氏距离:The Euclidean distance between the two points T j and T k of the UAV U i is calculated and obtained by the following formula:

Figure GDA0002390600170000106
Figure GDA0002390600170000106

其中,X,Y分别表示对应目标点横、纵坐标。Among them, X and Y represent the horizontal and vertical coordinates of the corresponding target point, respectively.

另外,计算初始种群中染色体对应的无人机完成任务时间的步骤包括:In addition, the steps of calculating the task completion time of the drones corresponding to the chromosomes in the initial population include:

根据MUAV-VS-EVRP模型获取无人机完成任务时间:According to the MUAV-VS-EVRP model to obtain the completion time of the UAV mission:

Figure GDA0002390600170000107
Figure GDA0002390600170000107

其约束条件为:Its constraints are:

Figure GDA0002390600170000108
Figure GDA0002390600170000108

Figure GDA0002390600170000109
Figure GDA0002390600170000109

Figure GDA00023906001700001010
Figure GDA00023906001700001010

其中.

Figure GDA00023906001700001011
表示无人机由目标点Tj出发飞至目标点Tk的航行时间,
Figure GDA00023906001700001012
是一个二元决策变量,且
Figure GDA00023906001700001013
当UAVUi经Tj飞行至Tk时,则
Figure GDA00023906001700001014
的值为1,否则
Figure GDA00023906001700001015
的值为0,NT表示目标点的数量,NU表示无人机的数量。in.
Figure GDA00023906001700001011
represents the flight time of the UAV from the target point T j to the target point T k ,
Figure GDA00023906001700001012
is a binary decision variable, and
Figure GDA00023906001700001013
When UAVU i flies to T k via T j , then
Figure GDA00023906001700001014
is 1, otherwise
Figure GDA00023906001700001015
The value of is 0, N T represents the number of target points, and N U represents the number of UAVs.

下面对步骤140进行详细说明:Step 140 is described in detail below:

步骤1、使用所述编码方式生成初始解,并生成预定规模的初始种群并根据种群中每个染色体对应的无人机完成任务时间计算其适应度;Step 1. Use the coding method to generate an initial solution, generate an initial population of a predetermined scale, and calculate its fitness according to the completion time of the drone corresponding to each chromosome in the population;

步骤2、使用轮盘赌方法选择父代种群中的两个个体(A,B)进行交叉,交叉规则为先随机选择个体A中交叉位置,然后查找个体B中与个体A交叉位置第一行相同的基因,将染色体A和B中交叉位置基因进行替换得到新的染色体C和D,判断染色体C和D是否满足MUAV-VS-EVRP模型的约束条件,若满足则利用染色体C和D替换种群中染色体A和B,否则对不满足约束条件的染色体进行约束校验,生成满足约束条件的染色体替换种群中染色体A和B,然后不断迭代更新步骤1种群,得到新的子代种群;Step 2. Use the roulette method to select two individuals (A, B) in the parent population for crossover. The crossover rule is to randomly select the crossover position in individual A, and then find the first row of the crossover position between individual B and individual A. For the same genes, replace the genes at the crossover positions in chromosomes A and B to obtain new chromosomes C and D, and judge whether chromosomes C and D meet the constraints of the MUAV-VS-EVRP model. If so, use chromosomes C and D to replace the population Chromosomes A and B in the middle, otherwise, the constraint check is performed on the chromosomes that do not meet the constraints, and the chromosomes A and B in the chromosome replacement population that meet the constraints are generated, and then the population in step 1 is iteratively updated to obtain a new subpopulation;

步骤3、使用轮盘赌方法选择步骤2种群中一条染色体进行变异,对所述染色体进行变异的方式为下述变异方式中的至少一种,包括:对染色体第一行进行目标点变异;对染色体第二行进行无人机变异;Step 3. Use the roulette method to select a chromosome in the population of step 2 to mutate, and the method of mutating the chromosome is at least one of the following mutation methods, including: performing target point mutation on the first row of the chromosome; The second line of chromosomes is subjected to drone mutation;

整个染色体变异的步骤包括:首先,若染色体的第一行顺序变异,则随机选取当前染色体的两个基因位并交换对应基因位的目标点编码;再选择第二行是否变异及变异位置,若变异则随机生成变异的有异于当前位置无人机编码的值替换原值,并且在变异后判断染色体是否满足MUAV-VS-EVRP模型的约束条件,若满足则替换种群中染色体,否则对不满足约束条件的染色体进行约束校验,生成满足约束条件的染色体替换种群中的染色体并不断迭代更新步骤2种群,得到新的子代种群;The steps of the entire chromosome mutation include: first, if the first row of the chromosome mutates in sequence, randomly select two loci of the current chromosome and exchange the target code of the corresponding locus; then select whether the second row is mutated and the position of the mutation, if The mutation is randomly generated to replace the original value with the value coded by the UAV at the current position, and after the mutation, it is judged whether the chromosome satisfies the constraints of the MUAV-VS-EVRP model. If it is satisfied, the chromosome in the population is replaced. The chromosomes that meet the constraints are checked for constraints, the chromosomes in the chromosomes that meet the constraints are generated to replace the chromosomes in the population, and the population in step 2 is iteratively updated to obtain a new subpopulation;

步骤4、计算子代种群适应度并选取本次迭代中所有解中的最优解;Step 4. Calculate the fitness of the offspring population and select the optimal solution among all solutions in this iteration;

步骤5、判断当前的迭代次数是否达到预设值,若判断否,则对步骤3中的子代种群和父代种群按照一定比例组合形成新的父代种群返回步骤2;若判断为是,则结束迭代,将最终获得的最优解作为无人机的任务分配结果。Step 5. Determine whether the current number of iterations reaches the preset value. If it is determined to be no, then combine the child population and the parent population in step 3 according to a certain proportion to form a new parent population and return to step 2; if it is determined to be yes, Then the iteration ends, and the final optimal solution is used as the task assignment result of the UAV.

下面参见图3对本发明的采用的遗传算法的原理进行详细说明:Below with reference to Fig. 3, the principle of the genetic algorithm adopted in the present invention is described in detail:

1、开启;1. Turn on;

2、基于技术人员的设定,生成包括指定数量染色体的种群,指定数量可具体为100个;2. Based on the settings of technicians, generate a population including a specified number of chromosomes, and the specified number can be specifically 100;

如图4a所示,染色体A表示在稳定风场下两个无人机UAV访问三个目标点的一种可行方案,即一号UAV从起始点S(0,0)出发,依次访问目标点3和目标点1后返回,二号UAV从起始点S(0,0)出发,访问目标点2后返回。编码中第二行代表UAV访问对应目标点的编码。As shown in Figure 4a, chromosome A represents a feasible solution for two UAVs to visit three target points in a stable wind field, that is, UAV No. 1 starts from the starting point S(0,0) and visits the target points in turn 3 and target point 1 and return, UAV No. 2 starts from the starting point S(0,0), visits target point 2 and returns. The second line in the encoding represents the encoding of the UAV accessing the corresponding target point.

其中,染色体A包括两条欧式飞行路径且各条欧式飞行路径均由不同无人机一号和二号完成。Among them, chromosome A includes two European-style flight paths, and each European-style flight path is completed by different UAVs No. 1 and No. 2.

3、计算每个染色体的适应度;3. Calculate the fitness of each chromosome;

需要说明的是,采用图1对应实施例中的步骤140的计算方法,计算无人机完成每个欧式飞行路径的航行时间,并基于无人机完成任务时间计算染色体的适应度,例如:无人机完成任务时间与适应度成反比关系。It should be noted that the calculation method of step 140 in the corresponding embodiment of FIG. 1 is used to calculate the sailing time of the UAV to complete each European flight path, and the fitness of chromosomes is calculated based on the time when the UAV completes the task, for example: no Human-machine task completion time is inversely proportional to fitness.

不难理解的是,按照上述步骤2中的编码方式生成规定数量的种群后进行适应度的计算,本文发明中适应度的计算以目标函数为依据,其计算过程如下:It is not difficult to understand that after generating a predetermined number of populations according to the coding method in the above step 2, the fitness is calculated. The calculation of the fitness in this invention is based on the objective function, and the calculation process is as follows:

Figure GDA0002390600170000121
Figure GDA0002390600170000121

4、选择操作4. Select an action

根据J’通过轮盘赌的方法进行选择操作。According to J', the selection operation is performed by the method of roulette.

5、交叉操作5. Cross operation

通过对父代染色体进行交叉,可以继承父代中比较优良的基因,获得更优的子代。针对MUAV-VS-EVRP问题本文针对当前的编码方式采用单点映射的方法,即随机产生父代染色体A交叉的基因位,在父代染色体B中找到同一目标点对应的基因位,交叉产生子染色体A、B,并对子染色体A、B进行约束条件校验。By crossing over the chromosomes of the parent, the better genes in the parent can be inherited and better offspring can be obtained. Aiming at the problem of MUAV-VS-EVRP, this paper adopts a single-point mapping method for the current coding method, that is, randomly generating the locus of the crossover of parent chromosome A, finding the locus corresponding to the same target point in the parent chromosome B, and crossing over to generate offspring Chromosomes A and B, and check the constraints of the child chromosomes A and B.

参见图4b,有父代Parent A和Parent B,在Parent A上随机产生进行交叉的基因位为3,找到Parent B上对应相同目标点的基因位,经过交叉后产生子染色体OffSpring A和OffSpringB,对OffSpring A和OffSpringB进行约束校验,发现OffSpring A的无人机编码均表示同一无人机,不符合约束条件,因而再次对OffSpring A的无人机编码随机产生基因位与Parent A的第3基因位进行映射交叉,交叉后OffSpring A满足约束条件。Referring to Figure 4b, there are parents Parent A and Parent B, the gene locus that is randomly generated on Parent A for crossover is 3, and the locus corresponding to the same target point on Parent B is found, and after crossover, the offspring chromosomes OffSpring A and OffSpringB are generated, Constraints verification was performed on OffSpring A and OffSpringB, and it was found that OffSpring A’s drone code represented the same drone, which did not meet the constraints. Therefore, OffSpring A’s drone code was randomly generated again to generate the locus with the third of Parent A’s drone code. The loci are mapped and crossed, and OffSpring A satisfies the constraints after crossover.

6、变异操作6. Mutation operation

变异是为了防止遗传算法陷入局部最优。针对求解sUav-DVS-VRP模型的遗传算法,染色体变异存在两种情况:目标点编码变异和航向角编码变异。根据变异概率,染色体中可发生多次变异也可不发生变异。其中,目标点编码变异采用双基因位变异,即在染色体的第一行随机产生两个进行变异的基因位,并将两个基因位上的值互换,该方法满足了模型中每个目标点只被访问一次的约束,保证了子染色体的可行性,航向角编码采用均匀变异。Mutation is to prevent the genetic algorithm from falling into a local optimum. For the genetic algorithm to solve the sUav-DVS-VRP model, there are two cases of chromosome variation: target point coding variation and heading angle coding variation. Depending on the mutation probability, multiple mutations may or may not occur in a chromosome. Among them, the target point coding mutation adopts double locus mutation, that is, two mutated loci are randomly generated in the first row of the chromosome, and the values of the two loci are exchanged. This method satisfies each target in the model. The constraint that the point is visited only once ensures the feasibility of the daughter chromosome, and the heading angle encoding adopts uniform variation.

变异操作举例:Example of mutation operation:

如图4c所示,有父代Parent A,在Parent A上分别进行目标点变异和无人机变异,在进行变异前首先判断两种变异是否发生,在判断得到目标点变异发生时,随机选取进行编译的基因位,本例中选取的基因位是1和3,随后将被选取的基因位上的目标值进行交换,得到新的目标点访问顺序;在判断得到无人机变异发生时,随机选取进行变异的基因位,本例中选取的基因位是3,随机生成与当前无人机不同的无人机编码替换当前值,得到新的Parent A。对Parent A进行约束条件校验,发现Parent A的无人机编码均表示同一无人机,不符合约束条件,因而再次对Parent A的无人机编码进行变异操作,选取变异基因位是2,随机生成与当前无人机不同的无人机编码替换当前值,得到OffSpring A满足约束条件。As shown in Figure 4c, there is a parent parent A, and the target point mutation and UAV mutation are carried out on Parent A respectively. Before the mutation is performed, it is first judged whether the two kinds of mutations have occurred. When it is judged that the target point mutation has occurred, it is randomly selected. The loci to be compiled, the loci selected in this example are 1 and 3, and then the target values on the selected loci are exchanged to obtain a new target point access order; when it is judged that the UAV mutation occurs, Randomly select the locus for mutation, in this example, the selected locus is 3, and randomly generate a UAV code different from the current UAV to replace the current value to obtain a new Parent A. Check the constraints of Parent A and find that the UAV codes of Parent A all represent the same UAV, which does not meet the constraints. Therefore, the mutation operation is performed on the UAV code of Parent A again, and the mutation locus is selected as 2. Randomly generate a UAV code different from the current UAV to replace the current value, and get OffSpring A to satisfy the constraints.

7、更新操作7. Update operation

8、选取最优分配方案8. Select the optimal allocation plan

9、判断是否终止9. Determine whether to terminate

10、获得最优分配方案10. Obtain the optimal allocation plan

11、结束11. End

需要说明的是,上述步骤与图1对应实施例中的部分步骤相对应,故,相似之处此处不再赘述,具体请查看图1对应的实施例中的相关内容。It should be noted that the above steps correspond to some steps in the embodiment corresponding to FIG. 1 , so the similarities will not be repeated here. For details, please refer to the relevant content in the embodiment corresponding to FIG. 1 .

下面结合上述的遗传算法对本发明的设计原理进行详细说明:The design principle of the present invention is described in detail below in conjunction with the above-mentioned genetic algorithm:

步骤一,为避免问题过于复杂,本发明采用区域固定风场进行风场建模,即在规定区域内,其风场的风速和风向是不变的。Step 1, in order to avoid the problem being too complicated, the present invention adopts a regional fixed wind field for wind field modeling, that is, in a specified area, the wind speed and wind direction of the wind field are unchanged.

已知区域的风场状态可表示为:The state of the wind field in a known area can be expressed as:

Figure GDA0002390600170000141
Figure GDA0002390600170000141

其中,Vw表示风场中的风速,βw表示风向。Among them, V w represents the wind speed in the wind field, and β w represents the wind direction.

风速Vw是指风相对于地面单位时间内移动的距离,单位为m/s;风向βw是指风吹来的方向,风向的测量单位一般用方位来表示,如陆地上,一般用16个方位表示,海上多用36个方位表示,而在高空则用角度表示,即把圆周分成360度,本文规定西风(W)是0度(即360度),南风(S)是90度,东风(E)是180度,北风(N)是270度,如图5所示。Wind speed V w refers to the distance the wind moves relative to the ground in unit time, the unit is m/s; wind direction β w refers to the direction from which the wind blows, and the measurement unit of the wind direction is generally expressed by azimuth. 36 azimuths are used to represent the sea, and angles are used to represent the high altitude, that is, the circumference is divided into 360 degrees. This article stipulates that the west wind (W) is 0 degrees (ie 360 degrees), and the south wind (S) is 90 degrees. East wind (E) is 180 degrees and north wind (N) is 270 degrees, as shown in Figure 5.

步骤二,配置UAVStep 2, configure UAV

use

Figure GDA0002390600170000142
Figure GDA0002390600170000142

表示四旋翼mUAV,mUAV在空中的配置定义为:Indicates the quadrotor mUAV, the configuration of the mUAV in the air is defined as:

q=(x,y,βg) (4)q=(x, y, β g ) (4)

其中,in,

Figure GDA0002390600170000143
Figure GDA0002390600170000143

Figure GDA0002390600170000144
Figure GDA0002390600170000144

其中,

Figure GDA0002390600170000145
Figure GDA0002390600170000146
表示的是一架UAV在笛卡尔惯性参考系中的坐标;Vg表示UAV的地速βg是指mUAV的航向角。in,
Figure GDA0002390600170000145
and
Figure GDA0002390600170000146
Represents the coordinates of a UAV in the Cartesian inertial reference system; V g represents the ground speed of the UAV β g refers to the heading angle of the mUAV.

为使问题简化,本文提出以下关于UAV在执行任务过程中需满足的运动约束的假设:In order to simplify the problem, this paper proposes the following assumptions about the motion constraints that UAVs need to meet in the process of performing tasks:

(1)mUAV均为同构多旋翼UAV;(1) mUAVs are all isomorphic multi-rotor UAVs;

(2)不考虑mUAV的碰撞,认为mUAV具有避障功能;(2) The collision of the mUAV is not considered, and the mUAV is considered to have an obstacle avoidance function;

(3)考虑mUAV均在固定的高度飞行;(3) Consider that the mUAVs all fly at a fixed altitude;

(4)根据mUAV的飞行包线,mUAV在指定高度固定载荷下的飞行速度存在上下界,即

Figure GDA0002390600170000151
Va_min和Va_max分别表示在某高度下mUAV空速的最小值和最大值;(4) According to the flight envelope of the mUAV, there are upper and lower bounds for the flight speed of the mUAV under a fixed load at a specified altitude, namely
Figure GDA0002390600170000151
V a_min and V a_max represent the minimum and maximum values of the mUAV airspeed at a certain altitude, respectively;

(5)多架mUAV均有出发点出发并在执行完成任务后返回出发点。(5) Multiple mUAVs all start from the starting point and return to the starting point after completing the mission.

步骤三,计算UAV的实际飞行状态Step 3: Calculate the actual flight state of the UAV

考虑风影响的UAV实际速度定义为UAV的地速大小为Vg,此时UAV的航向角为βg,UAV地速矢量

Figure GDA0002390600170000152
将不考虑风影响的UAV理论速度定义为UAV的空速大小为Va,此时UAV的航向角为βa,UAV空速矢量
Figure GDA0002390600170000153
UAV空速
Figure GDA0002390600170000154
地速
Figure GDA0002390600170000155
与风场中风速
Figure GDA0002390600170000156
的矢量关系如图6所示。The actual speed of the UAV considering the influence of wind is defined as the ground speed of the UAV as V g , the heading angle of the UAV at this time is β g , and the UAV ground speed vector
Figure GDA0002390600170000152
The theoretical speed of the UAV without considering the influence of wind is defined as the airspeed of the UAV as V a , the heading angle of the UAV is β a at this time, and the UAV airspeed vector
Figure GDA0002390600170000153
UAV airspeed
Figure GDA0002390600170000154
ground speed
Figure GDA0002390600170000155
wind speed in wind field
Figure GDA0002390600170000156
The vector relationship is shown in Figure 6.

上述速度与角度关系为:The relationship between the above speed and angle is:

Figure GDA0002390600170000157
Figure GDA0002390600170000157

在无风时,

Figure GDA0002390600170000158
即UAV空速与地速相等。When there is no wind,
Figure GDA0002390600170000158
That is, the UAV airspeed is equal to the ground speed.

下面结合图7进行实例说明:An example is described below in conjunction with Figure 7:

UAV由S(0,0)飞往A(50,300),空速为8m/s,该UAV所处的环境是风速为5m/s、风向为南风(Vw=5m/s,βw=90°),根据式(7)可得到Uav在该过程中的空速和地速如表4-1所示。The UAV flies from S(0,0) to A(50,300) with an airspeed of 8m/s. The environment where the UAV is located is a wind speed of 5m/s and a southerly wind direction (Vw=5m/s, βw=90° ), according to formula (7), the airspeed and ground speed of Uav in this process can be obtained as shown in Table 4-1.

表4-1四旋翼Uav在无风与南风环境下空速、地速对比表Table 4-1 Airspeed and ground speed comparison table of quad-rotor Uav in no wind and south wind environment

空速airspeed 地速ground speed 南风环境south wind environment 28.80km/h,35.5°28.80km/h, 35.5° 23.49km/h,80.5°23.49km/h, 80.5° 无风环境windless environment 28.80km/h,80.5°28.80km/h, 80.5° 28.80km/h,80.5°28.80km/h, 80.5°

步骤四,目标点配置Step 4, target point configuration

NT个目标点的集合可表示为:The set of N T target points can be expressed as:

Figure GDA0002390600170000159
Figure GDA0002390600170000159

其中,集合中所有的目标点的位置和任务量均已知。在本发明中,每一个目标点上都可能有不同类型的任务需要被UAV执行,且在此过程中每架UAV只能执行一个目标点上的一个任务,即每个目标点都要被不同的UAV访问,每架UAV只能访问某个目标点一次。Among them, the positions and tasks of all target points in the set are known. In the present invention, there may be different types of tasks that need to be performed by the UAV on each target point, and during this process, each UAV can only perform one task on one target point, that is, each target point must be performed differently. UAV access, each UAV can only visit a certain target point once.

步骤五,计算航行时间Step 5, Calculate the sailing time

在以飞行时间作为目标的UAV任务分配与航迹规划问题中,UAV的任务分配方案决定UAV访问目标点的顺序,根据UAV目标点访问顺序进行航迹规划,由航迹规划的结果计算UAV飞行时间进而由UAV飞行时间决定当前UAV任务分配与航迹规划方案是否优于已知方案。In the problem of UAV task assignment and track planning with flight time as the goal, the UAV task assignment plan determines the sequence of UAV access to the target points, the track planning is performed according to the UAV target point access sequence, and the UAV flight is calculated based on the results of the track planning. The time in turn determines whether the current UAV task assignment and trajectory planning scheme is better than the known scheme by the UAV flight time.

由于Uav在两点间的航行轨迹是欧氏距离,因而Uav在两点间的航行方向固定,进而固定风场下Uav在两点间的地速是不变的,但固定风场下Uav由目标点出发在多个目标点场景中地速是变化的,其飞行时间计算如下:Since the navigation trajectory of Uav between two points is the Euclidean distance, the navigation direction of Uav between two points is fixed, and the ground speed of Uav between two points in a fixed wind field is unchanged, but in a fixed wind field Uav is determined by The ground speed of the target point departure varies in multiple target point scenarios, and its flight time is calculated as follows:

Figure GDA0002390600170000161
Figure GDA0002390600170000161

其中,in,

Figure GDA0002390600170000162
Figure GDA0002390600170000162

表示Uav在Tj和Tk两点间的欧氏距离,Uav在两点间的地速

Figure GDA0002390600170000163
由公式(7)求得。Represents the Euclidean distance of Uav between T j and T k , and the ground speed of Uav between the two points
Figure GDA0002390600170000163
It is obtained by formula (7).

从而,可根据公式(8)计算mUAV的任务完成时间。Thus, the task completion time of the mUAV can be calculated according to formula (8).

Figure GDA0002390600170000164
Figure GDA0002390600170000164

其中,

Figure GDA0002390600170000165
表示UAVUi在Tj、Tk两点的航行时间;in,
Figure GDA0002390600170000165
represents the sailing time of UAVU i at T j and T k ;

Figure GDA0002390600170000166
Figure GDA0002390600170000166

Figure GDA0002390600170000167
是一个二元决策变量,且
Figure GDA0002390600170000168
当UAVUi经Tj飞行至Tk时,则
Figure GDA0002390600170000169
的值为1,否则
Figure GDA00023906001700001610
的值为0;
Figure GDA0002390600170000167
is a binary decision variable, and
Figure GDA0002390600170000168
When UAVU i flies to T k via T j , then
Figure GDA0002390600170000169
is 1, otherwise
Figure GDA00023906001700001610
is 0;

J中j、k值取0表示UAV由起始点出发或路径末端指向起始点。The value of j and k in J is 0, indicating that the UAV starts from the starting point or the end of the path points to the starting point.

在求解过程中,还需满足以下几个约束条件:In the solution process, the following constraints need to be met:

Figure GDA0002390600170000171
Figure GDA0002390600170000171

上述条件保证所有的目标点都能被访问到且只能被访问一次。The above conditions guarantee that all target points can be visited and can only be visited once.

Figure GDA0002390600170000172
Figure GDA0002390600170000172

上述条件保证由起始点出发UAV数量的UAV路线,并有UAV数量的UAV路径指向同一点。The above conditions ensure that UAV routes with the number of UAVs start from the starting point, and UAV paths with the number of UAVs point to the same point.

Figure GDA0002390600170000173
Figure GDA0002390600170000173

上述条件在其它约束条件的基础上保证有UAV数量的路线且每一架UAV的路径是一条闭合的环,即UAV的航行轨迹是一条有序的路线,并最终回到起始点。The above conditions ensure that there are routes for the number of UAVs on the basis of other constraints, and the path of each UAV is a closed loop, that is, the navigation trajectory of the UAV is an orderly route and eventually returns to the starting point.

可见,基于上式可得到每个染色体对应的任务完成时间,进而从中选取出任务完成时间最短的任务分配方案。It can be seen that based on the above formula, the task completion time corresponding to each chromosome can be obtained, and then the task assignment scheme with the shortest task completion time can be selected from it.

下面对本发明进行具体实例的详细说明:The present invention is described in detail below with specific examples:

首先,所有的仿真实验均是在4G内存、3.4GHzCPU的硬件上、在MatlabR2014a的环境中运行的。具体说明如下:First of all, all simulation experiments are run on the hardware of 4G memory and 3.4GHz CPU, in the environment of MatlabR2014a. The specific instructions are as follows:

UAV模型基于UAV的数学模型,其空速为8米/秒,两架UAV均从出发点S(0,0)起飞,在完成访问任务后返回点S(0,0);风场环境是固定风场,即在一次实验过程中风速和风向都是不变的,并且为了保证UAV能够安全飞行,风速大小为5米/秒,风向取东,即180°,UAV需要访问的三个目标点坐标分别为:A(100,300)、B(200,150)、C(350,50)、D(500,150)、E(650,100)、F(400,200)、G(50,250)、H(250,350)和I(50,450)。The UAV model is based on the mathematical model of the UAV. Its airspeed is 8 m/s. Both UAVs take off from the starting point S(0,0) and return to the point S(0,0) after completing the visit task; the wind field environment is fixed The wind field, that is, the wind speed and wind direction are unchanged during an experiment, and in order to ensure that the UAV can fly safely, the wind speed is 5 m/s, and the wind direction is 180° to the east. The three target points that the UAV needs to visit The coordinates are: A(100,300), B(200,150), C(350,50), D(500,150), E(650,100), F(400,200), G(50,250), H(250 , 350) and I (50, 450).

根据上述本发明提出的模型和算法,本文在东风风场环境和试验场景下进行实验,并得到各风场环境下无人机任务完成时间最短的任务分配如表3-1所示(参见图8)。According to the model and algorithm proposed by the present invention, this paper conducts experiments under the Dongfeng wind farm environment and test scenario, and obtains the task assignment with the shortest UAV task completion time under each wind farm environment as shown in Table 3-1 (see Figure 3-1). 8).

Figure GDA0002390600170000181
Figure GDA0002390600170000181

对于方法实施方式,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施方式并不受所描述的动作顺序的限制,因为依据本发明实施方式,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施方式均属于优选实施方式,所涉及的动作并不一定是本发明实施方式所必须的。For the method implementation, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the implementation of the present invention is not limited by the described action sequence, because according to the implementation of the present invention , certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily necessary for the embodiments of the present invention.

图9示出了本发明一实施例提供的一种无人机访问多目标点的航迹规划装置的结构示意图,参见图9,该装置包括:获取模块101、第一处理模块102、第二处理模块103以及第三处理模块104,其中:FIG. 9 shows a schematic structural diagram of a trajectory planning device for a drone to access multiple target points according to an embodiment of the present invention. Referring to FIG. 9 , the device includes: an acquisition module 101 , a first processing module 102 , a second The processing module 103 and the third processing module 104, wherein:

获取模块101,用于获取多个无人机和多个目标点的位置信息,以及所述多个无人机和风场的运动参数;an acquisition module 101, configured to acquire the position information of multiple unmanned aerial vehicles and multiple target points, as well as the motion parameters of the multiple unmanned aerial vehicles and the wind farm;

第一处理模块102,用于根据所述多个无人机和所述多个目标点的位置信息和预设遗传算法,构建初始种群,所述初始种群中的每个染色体均包括无人及数量的欧式路径且各条欧式飞行路径均由不同无人机完成;The first processing module 102 is configured to construct an initial population according to the position information of the multiple unmanned aerial vehicles and the multiple target points and the preset genetic algorithm, and each chromosome in the initial population includes unmanned and unmanned aerial vehicles. A number of European-style paths and each European-style flight path is completed by different drones;

第二处理模块103,用于根据所述初始种群、无人机和风场的运动参数确定无人机飞行状态和无人机完成欧式飞行路径的航迹段的航行时间,根据所述航迹段的航行时间和MUAV-VS-EVRP模型获取初始种群中染色体对应的任务完成时间;The second processing module 103 is configured to determine, according to the initial population, the motion parameters of the UAV and the wind field, the flight state of the UAV and the voyage time of the UAV to complete the track segment of the European flight path, according to the track segment and the MUAV-VS-EVRP model to obtain the task completion time corresponding to the chromosomes in the initial population;

第三处理模块104,用于基于遗传算法,对初始种群中染色体进行交叉、变异处理,并在达到预定迭代次数后,选取任务完成时间最短的染色体作为所述无人机的最优任务分配方案。The third processing module 104 is configured to perform crossover and mutation processing on the chromosomes in the initial population based on the genetic algorithm, and after reaching a predetermined number of iterations, select the chromosome with the shortest task completion time as the optimal task allocation scheme of the UAV .

可见,本实施例首先通过对风场和无人机的运动参数进行分析,获取无人机在风场中的实际飞行状态,然后基于实际飞行状态进行飞行路径的规划,与现有技术相比,本实施例将无人机航迹规划问题与无人机实际飞行环境相结合,使规划得到的最优飞行路径方案优于无人机速度恒定的方案,进而达到能精确计算无人机在所有可能飞行路径上的航行时间,进而选择出最优的飞行路径。It can be seen that in this embodiment, the actual flight state of the UAV in the wind field is obtained by analyzing the motion parameters of the wind field and the UAV, and then the flight path is planned based on the actual flight state. Compared with the prior art In this embodiment, the UAV trajectory planning problem is combined with the actual flight environment of the UAV, so that the optimal flight path scheme obtained by planning is better than the scheme with a constant speed of the UAV, so as to achieve accurate calculation of the UAV's flight path. Travel time on all possible flight paths, and then select the optimal flight path.

下面对本装置的各功能模块进行详细说明:Each functional module of the device is described in detail below:

第一处理模块102,用于根据预设遗传算法的编码方式进行染色体编码生成预定规模的初始种群;所述染色体由目标点信息和无人机信息组成;其中所述目标点属于集合

Figure GDA0002390600170000191
T0表示UAVs的起点,NT表示目标点数量,无人机属于集合
Figure GDA0002390600170000192
NU表示无人机数量;所述染色体第一行为所述目标点的随机全排列,第二行为根据无人机集合为每个目标点随机选取对应的无人机,且需保证无人机集合中的无人机全部至少被选择一次。The first processing module 102 is configured to perform chromosome coding according to the coding method of the preset genetic algorithm to generate an initial population of a predetermined scale; the chromosome is composed of target point information and UAV information; wherein the target point belongs to a set
Figure GDA0002390600170000191
T 0 represents the starting point of UAVs, N T represents the number of target points, and the UAV belongs to the set
Figure GDA0002390600170000192
N U represents the number of UAVs; the first line of the chromosome is a random full arrangement of the target points, and the second line is to randomly select the corresponding UAV for each target point according to the UAV set, and it is necessary to ensure that the UAV All drones in the set are selected at least once.

第二处理模块103,用于每个染色体对应的欧式飞行路径根据其目标点被访问顺序将所述飞行路径分为多个航迹段;根据每个航迹段对应的起始点的坐标以及终止点的坐标,结合风场参数确定无人机飞行状态,进而获取所述无人机完成所述航迹段的航行时间;根据每个航迹段对应的航行时间获取所述染色体对应的任务完成时间。The second processing module 103 is used to divide the Euclidean flight path corresponding to each chromosome into a plurality of track segments according to the order in which the target points are accessed; according to the coordinates of the starting point corresponding to each track segment and the termination The coordinates of the point, combined with the wind field parameters to determine the flight state of the UAV, and then obtain the flight time of the UAV to complete the track segment; obtain the task completion corresponding to the chromosome according to the flight time corresponding to each track segment time.

进一步地,第二处理模块103,用于根据每个航迹段对应的起始点的坐标以及终止点的坐标,结合风场参数确定无人机飞行状态,进而获取所述无人机完成所述航迹段的航行时间包括:Further, the second processing module 103 is used to determine the flying state of the UAV according to the coordinates of the starting point and the coordinates of the ending point corresponding to each track segment, combined with the wind field parameters, and then obtain the UAV to complete the described process. The flight time of the track segment includes:

采用以下公式计算获取无人机Ui由目标点Tj出发飞至目标点Tk航迹段的航行时间:The following formula is used to calculate and obtain the flight time of the U i from the target point T j to the target point T k track segment:

Figure GDA0002390600170000193
Figure GDA0002390600170000193

其中,Ui表示执行上述任务的无人机,U表示无人机集合,Tj为起始点,Tk为终止点,T表示目标点的集合,Vg i为无人机Ui在上述两目标点间的地速;Among them, U i represents the unmanned aerial vehicle performing the above tasks, U represents the set of unmanned aerial vehicles, T j is the starting point, T k is the ending point, T represents the set of target points, and V g i is the unmanned aerial vehicle U i in the above Ground speed between two target points;

采用以下公式计算获取无人机Ui的地速:Use the following formula to calculate and obtain the ground speed of the UAV U i :

Figure GDA0002390600170000194
Figure GDA0002390600170000194

其中,Va i表示空速大小,βa i表示空速航向角,Vg i表示地速的大小,βg i表示地速航向角,

Figure GDA0002390600170000201
表示风速大小,
Figure GDA0002390600170000202
表示风向;Among them, V a i represents the airspeed, β a i represents the airspeed heading angle, V g i represents the ground speed, β g i represents the ground speed heading angle,
Figure GDA0002390600170000201
represents the wind speed,
Figure GDA0002390600170000202
indicates wind direction;

采用以下公式计算获取无人机Ui在Tj和Tk两点间的欧氏距离:The Euclidean distance between the two points T j and T k of the UAV U i is calculated and obtained by the following formula:

Figure GDA0002390600170000203
Figure GDA0002390600170000203

其中,X,Y分别表示对应目标点横、纵坐标。Among them, X and Y represent the horizontal and vertical coordinates of the corresponding target point, respectively.

另外,计算初始种群中染色体对应的无人机完成任务时间的步骤包括:In addition, the steps of calculating the task completion time of the drones corresponding to the chromosomes in the initial population include:

根据MUAV-VS-EVRP模型获取无人机完成任务时间:According to the MUAV-VS-EVRP model to obtain the completion time of the UAV mission:

Figure GDA0002390600170000204
Figure GDA0002390600170000204

其约束条件为:Its constraints are:

Figure GDA0002390600170000205
Figure GDA0002390600170000205

Figure GDA0002390600170000206
Figure GDA0002390600170000206

Figure GDA0002390600170000207
Figure GDA0002390600170000207

其中.

Figure GDA0002390600170000208
表示无人机由目标点Tj出发飞至目标点Tk的航行时间,
Figure GDA0002390600170000209
是一个二元决策变量,且
Figure GDA00023906001700002010
当UAVUi经Tj飞行至Tk时,则
Figure GDA00023906001700002011
的值为1,否则
Figure GDA00023906001700002012
的值为0,NT表示目标点的数量,NU表示无人机的数量。in.
Figure GDA0002390600170000208
represents the flight time of the UAV from the target point T j to the target point T k ,
Figure GDA0002390600170000209
is a binary decision variable, and
Figure GDA00023906001700002010
When UAVU i flies to T k via T j , then
Figure GDA00023906001700002011
is 1, otherwise
Figure GDA00023906001700002012
The value of is 0, N T represents the number of target points, and N U represents the number of UAVs.

第三处理模块104,用于执行以下步骤:步骤1、使用所述编码方式生成初始解,并生成预定规模的初始种群并根据种群中每个染色体对应的完成任务时间计算其适应度;步骤2、使用轮盘赌方法选择父代种群中的两个个体(A,B)进行交叉,交叉规则为先随机选择个体A中交叉位置,然后查找个体B中与个体A交叉位置第一行相同的基因,将染色体A和B中交叉位置基因进行替换得到新的染色体C和D,判断染色体C和D是否满足MUAV-VS-EVRP模型的约束条件,若满足则利用染色体C和D替换种群中染色体A和B,否则对不满足约束条件的染色体进行约束校验,即检验染色体A和B中无人机数量不满足约束条件时,针对不满足条件的染色体,随机选取一个基因位并判断该基因位上的无人机编码是否存在两个及两个以上,若是则将缺失的无人机编码放入该基因位,否则重新选取基因位,生成满足约束条件的染色体替换种群中染色体A和B,然后不断迭代更新步骤1种群,得到新的子代种群;步骤3、使用轮盘赌方法选择步骤2种群中一条染色体进行变异,对所述染色体进行变异的方式为下述变异方式中的至少一种,包括:对染色体第一行进行目标点变异;对染色体第二行进行无人机变异;整个染色体变异的步骤包括:首先,若染色体的第一行顺序变异,则随机选取当前染色体的两个基因位并交换对应基因位的目标点编码;再选择第二行是否变异及变异位置,若变异则随机生成变异的有异于当前位置无人机编码的值替换原值,并且在变异后判断染色体是否满足MUAV-VS-EVRP模型的约束条件,若满足则替换种群中染色体,否则对不满足约束条件的染色体进行约束校验,即检验染色体A和B中无人机数量不满足约束条件时,针对不满足条件的染色体,随机选取一个基因位并判断该基因位上的无人机编码是否存在两个及两个以上,若是则将缺失的无人机编码放入该基因位,否则重新选取基因位,生成满足约束条件的染色体替换种群中的染色体并不断迭代更新步骤2种群,得到新的子代种群;步骤4、计算子代种群适应度并选取本次迭代中所有解中的最优解;步骤5、判断当前的迭代次数是否达到预设值,若判断否,则对步骤3中的子代种群和父代种群按照一定比例组合形成新的父代种群返回步骤2;若判断为是,则结束迭代,将最终获得的最优解作为无人机的任务分配结果。The third processing module 104 is configured to perform the following steps: Step 1. Use the encoding method to generate an initial solution, generate an initial population of a predetermined scale, and calculate its fitness according to the task completion time corresponding to each chromosome in the population; Step 2 . Use the roulette method to select two individuals (A, B) in the parent population for crossover. The crossover rule is to randomly select the crossover position in individual A, and then find the same crossover position in individual B as the first row of individual A. Genes, replace the genes at the crossover positions in chromosomes A and B to obtain new chromosomes C and D, and judge whether chromosomes C and D meet the constraints of the MUAV-VS-EVRP model. If so, use chromosomes C and D to replace the chromosomes in the population. A and B, otherwise, the constraint check is performed on the chromosomes that do not meet the constraints, that is, when the number of drones in chromosomes A and B does not meet the constraints, randomly select a locus for the chromosomes that do not meet the constraints and judge the gene Whether there are two or more UAV codes on the locus, if so, put the missing UAV codes into the locus, otherwise re-select the locus to generate chromosomes A and B in the chromosome replacement population that meet the constraints , and then iteratively update the population in step 1 to obtain a new subpopulation; in step 3, use the roulette method to select a chromosome in the population in step 2 to mutate, and the method of mutating the chromosome is at least one of the following mutation methods One, including: performing target point mutation on the first row of the chromosome; performing drone mutation on the second row of the chromosome; the steps of the entire chromosome mutation include: first, if the first row of the chromosome mutates in sequence, randomly select the current chromosome Two gene loci and exchange the target point code of the corresponding locus; then select the second line whether to mutate and the mutated position, if mutated, the mutated value that is different from the current position of the drone code will be randomly generated to replace the original value, and in the mutated Then judge whether the chromosomes meet the constraints of the MUAV-VS-EVRP model. If so, replace the chromosomes in the population. Otherwise, check the chromosomes that do not meet the constraints, that is, check that the number of drones in chromosomes A and B does not meet the constraints. When conditions are met, for the chromosomes that do not meet the conditions, randomly select a locus and judge whether there are two or more drone codes on the locus, if so, put the missing drone codes into the locus, Otherwise, re-select the locus, generate the chromosomes in the chromosome replacement population that meet the constraints, and iteratively update the population in step 2 to obtain a new offspring population; step 4, calculate the fitness of the offspring population and select all solutions in this iteration. Step 5, judge whether the current iteration times reach the preset value, if judged no, then combine the child population and parent population in step 3 according to a certain proportion to form a new parent population and return to step 2; If it is judged to be yes, the iteration is ended, and the final optimal solution is used as the task assignment result of the UAV.

对于装置实施方式而言,由于其与方法实施方式基本相似,所以描述的比较简单,相关之处参见方法实施方式的部分说明即可。As for the apparatus implementation, since it is basically similar to the method implementation, the description is relatively simple, and for related parts, please refer to the partial description of the method implementation.

应当注意的是,在本发明的装置的各个部件中,根据其要实现的功能而对其中的部件进行了逻辑划分,但是,本发明不受限于此,可以根据需要对各个部件进行重新划分或者组合。It should be noted that, in each component of the device of the present invention, the components are logically divided according to the functions to be implemented, but the present invention is not limited to this, and each component can be re-divided as required or a combination.

本发明的各个部件实施方式可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本装置中,PC通过实现因特网对设备或者装置远程控制,精准的控制设备或者装置每个操作的步骤。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样实现本发明的程序可以存储在计算机可读介质上,并且程序产生的文件或文档具有可统计性,产生数据报告和cpk报告等,能对功放进行批量测试并统计。应该注意的是上述实施方式对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施方式。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. In this device, the PC controls the device or device remotely through the Internet, and precisely controls each operation step of the device or device. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. The program implementing the present invention in this way can be stored on a computer readable medium, and the files or documents generated by the program can be counted, generate data reports and cpk reports, etc., and can perform batch testing and statistics on power amplifiers. It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (6)

1. A multi-unmanned aerial vehicle multitask execution distribution method is characterized by comprising the following steps:
s1, acquiring position information of a plurality of unmanned aerial vehicles and a plurality of target points, and motion parameters of the unmanned aerial vehicles and a wind field;
s2, constructing an initial population according to the position information of the unmanned aerial vehicles and the target points and a preset genetic algorithm, wherein each chromosome in the initial population comprises European flight paths of the number of the unmanned aerial vehicles, and each European flight path is completed by different unmanned aerial vehicles;
s3, determining the flight state of the unmanned aerial vehicle and the flight time of the unmanned aerial vehicle for completing the track section of the European flight path according to the initial population, the unmanned aerial vehicle and the motion parameters of the wind field, and acquiring the task completion time of all the unmanned aerial vehicles corresponding to the chromosomes in the initial population according to the flight time of the track section and the MUAV-VS-EVRP model;
s4, carrying out crossover and mutation processing on chromosomes in the initial population based on a genetic algorithm, and selecting the chromosome with the shortest task completion time of all unmanned aerial vehicles as the optimal task allocation scheme of the unmanned aerial vehicles after the predetermined iteration times are reached;
wherein S3 includes:
dividing the European flight path corresponding to each chromosome into a plurality of flight path segments according to the target point visited sequence of the European flight path;
determining the flight state of the unmanned aerial vehicle by combining wind field parameters according to the coordinates of the starting point and the coordinates of the ending point corresponding to each track section, and further acquiring the flight time of the unmanned aerial vehicle for completing the track section;
determining the flight state of the unmanned aerial vehicle by combining wind field parameters according to the coordinates of the starting point and the coordinates of the ending point corresponding to each track section, and further acquiring the flight time of the unmanned aerial vehicle for completing the track section;
according to the coordinates of the starting point and the coordinates of the ending point corresponding to each track section, determining the flight state of the unmanned aerial vehicle by combining wind field parameters, and further acquiring the flight time of the unmanned aerial vehicle for completing the track section, the method comprises the following steps:
calculating and acquiring unmanned aerial vehicle U by adopting the following formulaiFrom target point TjFly to target point TkFlight time of the track segment:
Figure FDA0002471886910000021
wherein, UiRepresenting the unmanned aerial vehicle performing the above tasks, U representing the set of unmanned aerial vehicles, TjAs a starting point, TkTo end point, T represents the set of target points, Vg iFor unmanned plane UiThe ground speed between the two target points;
calculating and acquiring unmanned aerial vehicle U by adopting the following formulaiThe ground speed of (2):
Figure FDA0002471886910000022
wherein, Va iRepresenting the magnitude of space velocity, βa iRepresenting airspeed heading angle, Vg iIndicating the magnitude of the ground speed, βg iWhich represents the heading angle of the ground speed,
Figure FDA00024718869100000214
the size of the wind speed is shown,
Figure FDA00024718869100000213
represents the wind direction;
calculating and acquiring unmanned aerial vehicle U by adopting the following formulaiAt TjAnd TkEuclidean distance between two points:
Figure FDA0002471886910000023
wherein X and Y respectively represent the horizontal and vertical coordinates of the corresponding target point;
the step of obtaining task completion time of all unmanned aerial vehicles corresponding to chromosomes in the initial population according to the flight time of the flight path segment and the MUAV-VS-EVRP model comprises the following steps:
acquiring task completion time of all unmanned aerial vehicles according to the MUAV-VS-EVRP model:
Figure FDA0002471886910000024
the constraint conditions are as follows:
Figure FDA0002471886910000025
Figure FDA0002471886910000026
Figure FDA0002471886910000027
wherein T represents a set of drone target points,
Figure FDA00024718869100000215
T0indicating the start of the UAVs,
Figure FDA0002471886910000028
representing unmanned aerial vehicle by target point TjFly to target point TkThe time of flight of the vehicle,
Figure FDA0002471886910000029
is a binary decision variable, and
Figure FDA00024718869100000210
when in use
Figure FDA00024718869100000216
Warp beam TjFly to TkWhen it is, then
Figure FDA00024718869100000211
Is 1, otherwise
Figure FDA00024718869100000212
Has a value of 0, NTRepresenting the number of target points, NURepresenting the number of drones.
2. The method of claim 1, wherein constructing the initial population according to the location information of the plurality of drones and the plurality of target points and a preset genetic algorithm comprises:
carrying out chromosome coding according to a coding mode of a preset genetic algorithm to generate an initial population with a preset scale; the chromosome is composed of target point information and unmanned aerial vehicle information; wherein the target point belongs to a set
Figure FDA0002471886910000031
T0Denotes the start of UAVs, NTRepresenting the number of target points to which the drone belongs
Figure FDA0002471886910000032
NURepresenting the number of unmanned aerial vehicles;
the first behavior of the chromosome is the random full arrangement of the target points, the second behavior randomly selects the corresponding unmanned aerial vehicle for each target point according to the unmanned aerial vehicle set, and all the unmanned aerial vehicles in the unmanned aerial vehicle set are ensured to be selected at least once.
3. The method of claim 2, wherein the steps of performing crossover and mutation processing on chromosomes in the initial population based on a genetic algorithm, and selecting the chromosome with the shortest task completion time of all the unmanned aerial vehicles as the optimal task allocation scheme of the unmanned aerial vehicles after a predetermined number of iterations are achieved comprise:
step 1, generating an initial solution by using the coding mode, generating an initial population of a preset scale, and calculating the fitness of the initial population according to the task completion time of the unmanned aerial vehicle corresponding to each chromosome in the population;
step 2, selecting two individuals A and B in a parent population to intersect by using a roulette method, wherein the intersection rule is that the intersection position in the individual A is randomly selected, then the gene in the individual B, which is the same as the first line of the intersection position of the individual A, is searched, the gene at the intersection position in the chromosomes A and B is replaced to obtain new chromosomes C and D, whether the chromosomes C and D meet the constraint condition of the MUAV-VS-EVRP model is judged, if yes, the chromosomes A and B in the population are replaced by the chromosomes C and D, otherwise, the chromosomes which do not meet the constraint condition are subjected to constraint check, namely, when the number of unmanned aerial vehicles in the chromosomes A and B does not meet the constraint condition, one gene position is randomly selected, whether two or more unmanned aerial vehicle codes on the gene position exist is judged, if yes, the missing unmanned aerial vehicle codes are put into the gene position, otherwise, reselecting the gene position, generating chromosomes A and B in a chromosome replacement population meeting constraint conditions, and then continuously iteratively updating the population in the step 1 to obtain a new offspring population;
and 3, selecting one chromosome in the population in the step 2 for mutation by using a roulette method, wherein the method for mutating the chromosome is at least one of the following mutation methods, and the method comprises the following steps: performing target point variation on the first line of the chromosome; carrying out unmanned aerial vehicle variation on the second chromosome line;
the whole chromosome variation steps include: firstly, if the first line of the chromosome is mutated, randomly selecting two gene positions of the current chromosome and exchanging target point codes of the corresponding gene positions; selecting whether a second row is mutated or not and a mutation position, if so, randomly generating a value of the unmanned aerial vehicle code which is mutated and is different from the current position to replace an original value, judging whether the chromosome meets the constraint condition of the MUAV-VS-EVRP model or not, if so, replacing the chromosome in the population, otherwise, carrying out constraint check on the chromosome which does not meet the constraint condition, namely, randomly selecting a gene position and judging whether two or more unmanned aerial vehicle codes on the gene position exist or not aiming at the chromosome which does not meet the constraint condition when the number of the unmanned aerial vehicles in the chromosome is not met with the constraint condition, if so, putting the missing unmanned aerial vehicle code into the gene position, otherwise, reselecting the gene position, generating the chromosome which meets the constraint condition to replace the chromosome in the population, and continuously iterating and updating the population in the step 2 to obtain a new offspring population;
step 4, calculating the population fitness of the offspring and selecting the optimal solution of all solutions in the iteration;
step 5, judging whether the current iteration times reach a preset value or not, if not, combining the child population and the parent population in the step 3 according to a certain proportion to form a new parent population, and returning to the step 2; if so, ending the iteration, and taking the finally obtained optimal solution as a task allocation result of the unmanned aerial vehicle.
4. A multi-unmanned aerial vehicle carries out multitask distribution device which is characterized by comprising:
the acquisition module is used for acquiring the position information of a plurality of unmanned aerial vehicles and a plurality of target points, and the motion parameters of the unmanned aerial vehicles and the wind field;
the first processing module is used for constructing an initial population according to the position information of the unmanned aerial vehicles and the target points and a preset genetic algorithm, wherein each chromosome in the initial population comprises European flight paths of the number of the unmanned aerial vehicles, and each European flight path is completed by different unmanned aerial vehicles;
the second processing module is used for determining the flight state of the unmanned aerial vehicle and the flight time of a track section of a European flight path of the unmanned aerial vehicle according to the initial population, the unmanned aerial vehicle and the motion parameters of a wind field, acquiring the task completion time of all the unmanned aerial vehicles corresponding to chromosomes in the initial population according to the flight time of the track section and an MUAV-VS-EVRP model, and dividing the flight path into a plurality of track sections according to the target point visited sequence of the European flight path corresponding to each chromosome; performing the first step and the second step;
the first step comprises: calculating and acquiring unmanned aerial vehicle U by adopting the following formulaiFrom target point TjFly to target point TkFlight time of the track segment:
Figure FDA0002471886910000051
wherein, UiRepresenting the unmanned aerial vehicle performing the above tasks, U representing the set of unmanned aerial vehicles, TjAs a starting point, TkTo end point, T represents the set of target points, Vg iFor unmanned aerial vehiclesUiThe ground speed between the two target points;
calculating and acquiring unmanned aerial vehicle U by adopting the following formulaiThe ground speed of (2):
Figure FDA0002471886910000052
wherein, Va iRepresenting the magnitude of space velocity, βa iRepresenting airspeed heading angle, Vg iIndicating the magnitude of the ground speed, βg iWhich represents the heading angle of the ground speed,
Figure FDA00024718869100000514
the size of the wind speed is shown,
Figure FDA00024718869100000515
represents the wind direction;
calculating and acquiring unmanned aerial vehicle U by adopting the following formulaiAt TjAnd TkEuclidean distance between two points:
Figure FDA0002471886910000053
wherein X and Y respectively represent the horizontal and vertical coordinates of the corresponding target point;
the second step includes:
acquiring task completion time of all unmanned aerial vehicles according to the MUAV-VS-EVRP model:
Figure FDA0002471886910000054
the constraint conditions are as follows:
Figure FDA0002471886910000055
Figure FDA0002471886910000056
Figure FDA0002471886910000057
wherein T represents a set of drone target points,
Figure FDA0002471886910000058
T0indicating the start of the UAVs,
Figure FDA0002471886910000059
representing unmanned aerial vehicle by target point TjFly to target point TkThe time of flight of the vehicle,
Figure FDA00024718869100000510
is a binary decision variable, and
Figure FDA00024718869100000511
when in use
Figure FDA00024718869100000516
Warp beam TjFly to TkWhen it is, then
Figure FDA00024718869100000512
Is 1, otherwise
Figure FDA00024718869100000513
Has a value of 0, NTRepresenting the number of target points, NURepresenting the number of drones; and the third processing module is used for carrying out crossing and mutation processing on chromosomes in the initial population based on a genetic algorithm, and selecting the chromosome with the shortest task completion time of all the unmanned aerial vehicles as the optimal task allocation method of the unmanned aerial vehicles after the preset iteration times are reached.
5. The apparatus according to claim 4, characterized in that said first processing module is adapted to perform a predetermined genetic algorithmCarrying out chromosome coding in a coding mode to generate an initial population with a preset scale; the chromosome is composed of target point information and unmanned aerial vehicle information; wherein the target point belongs to a set
Figure FDA0002471886910000061
T0Denotes the start of UAVs, NTRepresenting the number of target points to which the drone belongs
Figure FDA0002471886910000062
NURepresenting the number of unmanned aerial vehicles; the first behavior of the chromosome is the random full arrangement of the target points, the second behavior randomly selects the corresponding unmanned aerial vehicle for each target point according to the unmanned aerial vehicle set, and all the unmanned aerial vehicles in the unmanned aerial vehicle set are ensured to be selected at least once.
6. The apparatus of claim 5, wherein the third processing module is configured to perform the following steps:
step 1, generating an initial solution by using the coding mode, generating an initial population of a preset scale, and calculating the fitness of the initial population according to the task completion time of the unmanned aerial vehicle corresponding to each chromosome in the population;
step 2, selecting two individuals A and B in a parent population to intersect by using a roulette method, wherein the intersection rule is that the intersection position in the individual A is randomly selected, then the gene in the individual B, which is the same as the first line of the intersection position of the individual A, is searched, the gene at the intersection position in the chromosomes A and B is replaced to obtain new chromosomes C and D, whether the chromosomes C and D meet the constraint condition of the MUAV-VS-EVRP model is judged, if yes, the chromosomes A and B in the population are replaced by the chromosomes C and D, otherwise, the chromosomes which do not meet the constraint condition are subjected to constraint check, namely, when the number of unmanned aerial vehicles in the chromosomes A and B does not meet the constraint condition, one gene position is randomly selected, whether two or more unmanned aerial vehicle codes on the gene position exist is judged, if yes, the missing unmanned aerial vehicle codes are put into the gene position, otherwise, reselecting the gene position, generating chromosomes A and B in a chromosome replacement population meeting constraint conditions, and then continuously iteratively updating the population in the step 1 to obtain a new offspring population;
and 3, selecting one chromosome in the population in the step 2 for mutation by using a roulette method, wherein the method for mutating the chromosome is at least one of the following mutation methods, and the method comprises the following steps: performing target point variation on the first line of the chromosome; carrying out unmanned aerial vehicle variation on the second chromosome line;
the whole chromosome variation steps include: firstly, if the first line of the chromosome is mutated, randomly selecting two gene positions of the current chromosome and exchanging target point codes of the corresponding gene positions; selecting whether a second row is mutated or not and a mutation position, if so, randomly generating a value of the unmanned aerial vehicle code which is mutated and is different from the current position to replace an original value, judging whether the chromosome meets the constraint condition of the MUAV-VS-EVRP model or not, if so, replacing the chromosome in the population, otherwise, carrying out constraint check on the chromosome which does not meet the constraint condition, namely, randomly selecting a gene position and judging whether two or more unmanned aerial vehicle codes on the gene position exist or not aiming at the chromosome which does not meet the constraint condition when the number of the unmanned aerial vehicles in the chromosome is not met with the constraint condition, if so, putting the missing unmanned aerial vehicle code into the gene position, otherwise, reselecting the gene position, generating the chromosome which meets the constraint condition to replace the chromosome in the population, and continuously iterating and updating the population in the step 2 to obtain a new offspring population;
step 4, calculating the population fitness of the offspring and selecting the optimal solution of all solutions in the iteration;
step 5, judging whether the current iteration times reach a preset value or not, if not, combining the child population and the parent population in the step 3 according to a certain proportion to form a new parent population, and returning to the step 2; if so, ending the iteration, and taking the finally obtained optimal solution as a task allocation result of the unmanned aerial vehicle.
CN201710389675.3A 2017-05-27 2017-05-27 Distribution method and device for multiple unmanned aerial vehicles to execute multiple tasks Active CN107169608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710389675.3A CN107169608B (en) 2017-05-27 2017-05-27 Distribution method and device for multiple unmanned aerial vehicles to execute multiple tasks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710389675.3A CN107169608B (en) 2017-05-27 2017-05-27 Distribution method and device for multiple unmanned aerial vehicles to execute multiple tasks

Publications (2)

Publication Number Publication Date
CN107169608A CN107169608A (en) 2017-09-15
CN107169608B true CN107169608B (en) 2020-07-07

Family

ID=59821998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710389675.3A Active CN107169608B (en) 2017-05-27 2017-05-27 Distribution method and device for multiple unmanned aerial vehicles to execute multiple tasks

Country Status (1)

Country Link
CN (1) CN107169608B (en)

Families Citing this family (55)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108388255A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 Unmanned aerial vehicle (UAV) control method and device based on earth station
CN108388260A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 The method and device that unmanned plane is controlled based on communication command vehicle
CN108363402A (en) * 2017-12-29 2018-08-03 易瓦特科技股份公司 It is directed to the method and device that default type controls unmanned plane by command car
CN108363296A (en) * 2017-12-29 2018-08-03 易瓦特科技股份公司 The control device and method of object
CN108287556A (en) * 2017-12-29 2018-07-17 易瓦特科技股份公司 The method and device that unmanned plane is controlled based on type
CN108388261A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 It is directed to the method and device that default type controls unmanned plane based on communication command vehicle
CN108319277A (en) * 2017-12-29 2018-07-24 易瓦特科技股份公司 Method and device for being controlled aircraft
CN108388258A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 Control method and device applied to unmanned plane
CN108268051A (en) * 2017-12-29 2018-07-10 易瓦特科技股份公司 The method and device controlled for type unmanned plane
CN108319279A (en) * 2017-12-29 2018-07-24 易瓦特科技股份公司 Control the method and device of aircraft in the target area based on earth station
CN108319278A (en) * 2017-12-29 2018-07-24 易瓦特科技股份公司 The method and device that aircraft is controlled for target area
CN108388110A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 The control device and method of object
CN108287559A (en) * 2017-12-29 2018-07-17 易瓦特科技股份公司 The method and device controlled for the unmanned plane in target area
CN108334105A (en) * 2017-12-29 2018-07-27 易瓦特科技股份公司 The method and device that unmanned plane is controlled based on communication command vehicle
CN108319280A (en) * 2017-12-29 2018-07-24 易瓦特科技股份公司 The method and device of aircraft is controlled based on communication command vehicle
CN108287558A (en) * 2017-12-29 2018-07-17 易瓦特科技股份公司 The method and device that unmanned plane is controlled based on target area
CN108196558A (en) * 2017-12-29 2018-06-22 易瓦特科技股份公司 Unmanned aerial vehicle (UAV) control method and device based on communication command vehicle
CN108227725A (en) * 2017-12-29 2018-06-29 易瓦特科技股份公司 The control method and device of unmanned plane
CN108196560A (en) * 2017-12-29 2018-06-22 易瓦特科技股份公司 The method and device of default type control unmanned plane is directed to based on earth station
CN108388259A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 The method and device that unmanned plane is controlled in the target area by communication command vehicle
CN108287561A (en) * 2017-12-29 2018-07-17 易瓦特科技股份公司 Control the method and device of aircraft in the target area based on communication command vehicle
CN108287560A (en) * 2017-12-29 2018-07-17 易瓦特科技股份公司 It is directed to the method and device that default type controls unmanned plane by earth station
CN108363297A (en) * 2017-12-29 2018-08-03 易瓦特科技股份公司 The control device and method of object
CN108287557A (en) * 2017-12-29 2018-07-17 易瓦特科技股份公司 Method and device based on ground station control aircraft
CN108388257A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 Control the method and device of unmanned plane in the target area based on earth station
CN108196559A (en) * 2017-12-29 2018-06-22 易瓦特科技股份公司 Unmanned aerial vehicle (UAV) control method and device based on communication command vehicle
CN108594835A (en) * 2017-12-29 2018-09-28 易瓦特科技股份公司 Unmanned aerial vehicle (UAV) control method and device based on earth station
CN108388262A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 It is directed to the method and device that default type controls aircraft based on communication command vehicle
CN108388256A (en) * 2017-12-29 2018-08-10 易瓦特科技股份公司 The method and device that unmanned plane is controlled in the target area by earth station
CN108415425B (en) * 2018-02-08 2020-10-30 东华大学 A Distributed Swarm Robot Collaborative Swarm Algorithm Based on Improved Gene Regulation Network
CN109598443B (en) * 2018-12-04 2023-01-06 合肥工业大学 Mission planning method and machine-readable storage medium for vehicle in dynamic environment
CN111832725B (en) * 2019-04-15 2023-05-26 电子科技大学 A method and device for multi-robot multi-task assignment based on improved genetic algorithm
CN110119159B (en) * 2019-05-28 2022-03-08 中国人民解放军海军航空大学 Single-parameter determination method and path planning method for double-arc path of unmanned aerial vehicle
CN110308740B (en) * 2019-06-28 2022-02-22 天津大学 Unmanned aerial vehicle cluster dynamic task allocation method for tracking moving target
CN110516913A (en) * 2019-07-31 2019-11-29 智久(厦门)机器人科技有限公司 A task allocation method, device and memory for multiple automatic guidance devices
CN111007874B (en) * 2019-09-18 2022-07-19 合肥工业大学 Electric power inspection method and device coordinated by drone and vehicle
CN111080073A (en) * 2019-11-20 2020-04-28 国网上海市电力公司 Intelligent distribution method for outage tasks
CN111199360B (en) * 2020-01-13 2023-05-05 西安电子科技大学 UAV task assignment planning method
CN111984031B (en) * 2020-07-20 2023-09-26 鹏城实验室 Unmanned aerial vehicle path planning method, unmanned aerial vehicle and storage medium
CN112629539B (en) * 2020-12-15 2022-08-12 西安电子科技大学 A Multi-UAV Path Planning Method
CN112580893B (en) * 2020-12-29 2023-01-24 众芯汉创(北京)科技有限公司 Multi-unmanned aerial vehicle atmosphere monitoring path planning method based on improved genetic algorithm
CN112966361B (en) * 2020-12-29 2023-07-18 中国计量大学 A Multi-UAV Monitoring Path Optimization Method for Elevated and Non-elevated Point Sources
CN112783210B (en) * 2021-01-04 2022-03-25 中国人民解放军国防科技大学 Multi-target control parameter optimization method of unmanned aerial vehicle cluster control system
CN112784497B (en) * 2021-02-05 2022-09-27 中国人民解放军93534部队 Ground radar networking startup optimization method based on genetic algorithm
CN113050688B (en) * 2021-03-22 2022-03-29 中国人民解放军国防科技大学 Planning method for multi-unmanned aerial vehicle collaborative search path in key target sealing control
CN113487031A (en) * 2021-07-21 2021-10-08 河北科技大学 Multi-unmanned aerial vehicle task allocation method based on improved simulated annealing fusion genetic algorithm
CN113762593B (en) * 2021-07-23 2023-06-09 合肥工业大学 Unmanned aerial vehicle emergency material distribution method and device after earthquake disaster
CN113536689B (en) * 2021-07-26 2023-08-18 南京邮电大学 Multi-UAV task assignment and execution control method based on hybrid genetic intelligence algorithm
CN113971502A (en) * 2021-09-07 2022-01-25 西北工业大学 Heterogeneous multi-unmanned aerial vehicle task allocation method based on state transition strategy genetic algorithm
CN114020022B (en) * 2021-11-04 2023-08-18 中国人民解放军陆军工程大学 Heterogeneous unmanned aerial vehicle collaborative hit task planning method and device
CN114118845B (en) * 2021-12-03 2023-06-30 国网江苏省电力有限公司泰州供电分公司 Unmanned aerial vehicle task matching method and device and intelligent cabinet
CN114489135B (en) * 2022-01-28 2023-10-13 北京航空航天大学东营研究院 Multitasking route design method
CN114518771B (en) * 2022-02-23 2022-09-20 深圳大漠大智控技术有限公司 Multi-unmanned aerial vehicle path planning method and device and related components
CN115730700B (en) * 2022-09-29 2024-08-20 中国人民解放军海军航空大学 Self-adaptive multi-target task planning method, system and equipment based on reference points
CN119356402A (en) * 2024-12-26 2025-01-24 四川腾盾科技有限公司 A collaborative mission planning and allocation method for multiple fixed-wing long-flight UAVs to multiple targets

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622653A (en) * 2012-02-27 2012-08-01 北京航空航天大学 Multi-resolution path planning method for micro unmanned aerial vehicle under influence of wind field

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9881108B2 (en) * 2015-05-29 2018-01-30 One Energy Enterprises Llc Method of evaluation wind flow based on conservation of momentum and variation in terrain

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622653A (en) * 2012-02-27 2012-08-01 北京航空航天大学 Multi-resolution path planning method for micro unmanned aerial vehicle under influence of wind field

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"城市风场环境中的无人机快速航迹规划方法";李俨等;《航空学报》;20160325(第03期);全文 *
"小型无人机航迹规划及组合导航关键技术研究";屈耀红;《中国优秀博硕士学位论文全文数据库(博士)工程科技Ⅱ辑》;20070415(第04期);全文 *

Also Published As

Publication number Publication date
CN107169608A (en) 2017-09-15

Similar Documents

Publication Publication Date Title
CN107169608B (en) Distribution method and device for multiple unmanned aerial vehicles to execute multiple tasks
CN107145161B (en) Track planning method and device for UAV visiting multiple target points
CN107103164B (en) Method and device for allocating multi-tasking of unmanned aerial vehicles
CN107238388B (en) Multiple no-manned plane task is distributed and trajectory planning combined optimization method and device
Jones et al. Path-planning for unmanned aerial vehicles with environment complexity considerations: A survey
Dong et al. A review of mobile robot motion planning methods: from classical motion planning workflows to reinforcement learning-based architectures
Edison et al. Integrated task assignment and path optimization for cooperating uninhabited aerial vehicles using genetic algorithms
CN110926477A (en) A UAV Route Planning and Obstacle Avoidance Method
CN102880186A (en) Flight path planning method based on sparse A* algorithm and genetic algorithm
CN106842963A (en) Multiple no-manned plane detection mission is distributed and trajectory planning combined optimization method and device
CN106197426A (en) A kind of unmanned plane emergency communication paths planning method and system
CN110132282B (en) UAV path planning method and device
Geng et al. UAV surveillance mission planning with gimbaled sensors
Wang et al. UAV online path planning based on improved genetic algorithm
Zu et al. Research on UAV path planning method based on improved HPO algorithm in multitask environment
Smith Iii et al. Autonomous and cooperative robotic behavior based on fuzzy logic and genetic programming
CN107037826B (en) Method and device for assigning unmanned aerial vehicle detection tasks
Heidari et al. Improved black hole algorithm for efficient low observable UCAV path planning in constrained aerospace
CN110749325B (en) Flight path planning method and device
Ye et al. Three-dimensional unmanned aerial vehicle path planning utilizing artificial gorilla troops optimizer incorporating combined mutation and quadratic interpolation operators
Thoma et al. Prioritising paths: An improved cost function for local path planning for UAV in medical applications
Ghambari et al. A hybrid evolutionary algorithm for offline UAV path planning
Zhang et al. Shrinking POMCP: A Framework for Real-Time UAV Search and Rescue
Liu et al. Research on a Multi-Strategy Improved Sand Cat Swarm Optimization Algorithm for Three-Dimensional UAV Trajectory Path Planning
Moon et al. IA-TIGRIS: An Incremental and Adaptive Sampling-Based Planner for Online Informative Path Planning

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