CN109933067A - A Collision Avoidance Method for Unmanned Vehicles Based on Genetic Algorithm and Particle Swarm Optimization - Google Patents

A Collision Avoidance Method for Unmanned Vehicles Based on Genetic Algorithm and Particle Swarm Optimization Download PDF

Info

Publication number
CN109933067A
CN109933067A CN201910185335.8A CN201910185335A CN109933067A CN 109933067 A CN109933067 A CN 109933067A CN 201910185335 A CN201910185335 A CN 201910185335A CN 109933067 A CN109933067 A CN 109933067A
Authority
CN
China
Prior art keywords
path
obstacle
collision avoidance
dynamic
genetic algorithm
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.)
Granted
Application number
CN201910185335.8A
Other languages
Chinese (zh)
Other versions
CN109933067B (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.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN201910185335.8A priority Critical patent/CN109933067B/en
Publication of CN109933067A publication Critical patent/CN109933067A/en
Application granted granted Critical
Publication of CN109933067B publication Critical patent/CN109933067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

本发明涉及海事智能交通技术无人艇避碰领域,具体涉及一种基于遗传算法和粒子群算法的无人艇避碰方法。首先进行无人艇避碰路径规划中相关参数及避碰约束规则的研究,然后进行基于遗传算法的水面无人艇规避静态障碍物的路径规划,最后进行基于遗传算法与粒子群算法相结合的动态避碰路径规划,完成路径优化,输出可行的避碰路径并复航;相对于传统的无人艇避碰技术,本发明能够得到最优的路径规划,精准地避免碰撞,确保无人艇安全到达目标点。

The invention relates to the field of collision avoidance of unmanned boats of maritime intelligent transportation technology, in particular to a collision avoidance method of unmanned boats based on genetic algorithm and particle swarm algorithm. Firstly, the relevant parameters and collision avoidance constraint rules in the collision avoidance path planning of the unmanned vehicle are studied, then the path planning of the surface unmanned vehicle to avoid static obstacles based on the genetic algorithm is carried out, and finally the combination of the genetic algorithm and the particle swarm algorithm is carried out. Dynamic collision avoidance path planning, completes path optimization, outputs a feasible collision avoidance path and resumes sailing; compared with the traditional collision avoidance technology for unmanned boats, the present invention can obtain optimal path planning, accurately avoid collisions, and ensure unmanned boats Reach the target point safely.

Description

一种基于遗传算法和粒子群算法的无人艇避碰方法A Collision Avoidance Method for Unmanned Vehicles Based on Genetic Algorithm and Particle Swarm Optimization

技术领域technical field

本发明涉及海事智能交通技术无人艇避碰领域,具体涉及一种基于遗传算法和粒子群算法的无人艇避碰方法。The invention relates to the field of collision avoidance of unmanned boats of maritime intelligent transportation technology, in particular to a collision avoidance method of unmanned boats based on genetic algorithm and particle swarm algorithm.

背景技术Background technique

无人艇(USV)是一种集自主规划,自主航行,自主完成环境感知,目标探测等功能为一体的小型水面运动平台,已成为探索海洋资源必不可少的设备。Unmanned boat (USV) is a small surface motion platform that integrates functions such as autonomous planning, autonomous navigation, autonomous environmental perception, and target detection. It has become an indispensable device for exploring marine resources.

由于路径规划和避碰则是无人艇自主航行的关键所在。因此在无人艇进入水域执行任务之前,需要根据已知的海域的水文资料,规划出一条全程航行路径。由于海洋环境复杂多变,无法预知在航行过程中会出现什么状况,比如遭遇大风大浪、过往船只等。无人艇需要时刻检测周围状况,获取环境信息,准确快速调整航行状态,避开障碍物,按照任务需求到达指定的目标点,执行任务并复航。Because path planning and collision avoidance are the keys to autonomous navigation of unmanned boats. Therefore, before the unmanned boat enters the water area to perform the task, it is necessary to plan a full navigation path according to the known hydrological data of the sea area. Due to the complex and changeable marine environment, it is impossible to predict what will happen during the voyage, such as encountering strong winds and waves, passing ships, etc. The unmanned boat needs to detect the surrounding conditions at all times, obtain environmental information, accurately and quickly adjust the navigation state, avoid obstacles, reach the designated target point according to the mission requirements, perform the mission and resume the voyage.

无人艇的避碰技术从一定程度上反映了海事无人艇智能化水平的高低,是无人艇关键技术领域的重要研究内容之一。申请号为CN201610942213.5的专利,一种基于改进蚁群算法的无人艇避碰方法,利用改进蚁群算法对无人艇的安全航线进行规划,此方法有一定局限性,并且没有分别针对静态障碍物和动态障碍物的规避路径规划计算。The collision avoidance technology of unmanned boats reflects the intelligence level of maritime unmanned boats to a certain extent, and is one of the important research contents in the key technology field of unmanned boats. The patent application number is CN201610942213.5, a collision avoidance method for unmanned boats based on improved ant colony algorithm. The improved ant colony algorithm is used to plan the safe route of unmanned boats. This method has certain limitations and does not separately target Avoidance path planning calculation for static obstacles and dynamic obstacles.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种基于遗传算法和粒子群算法的无人艇避碰方法,以得到最优的路径规划,精准地避免碰撞,确保无人艇安全到达目标点。The purpose of the present invention is to provide a collision avoidance method for the unmanned boat based on genetic algorithm and particle swarm algorithm, so as to obtain the optimal path planning, accurately avoid collision, and ensure that the unmanned boat reaches the target point safely.

本发明实施例提供一种基于遗传算法和粒子群算法的无人艇避碰方法,包括:An embodiment of the present invention provides a method for collision avoidance of an unmanned boat based on a genetic algorithm and a particle swarm algorithm, including:

步骤一:无人艇避碰路径规划中相关参数及避碰约束规则的研究:根据无人艇航行的数学模型参数所涉及的无人艇位置、速度以及障碍物位置、速度,得到两者之间相对速度、相对位置、相对方位运动参数,通过总结无人艇与障碍物正面避障、追越避障、右弦交叉和左弦交叉避障四种不同碰撞情况,得到无人艇海上避碰约束规则以及空间碰撞危险度和时间碰撞危险度;Step 1: Research on the relevant parameters and collision avoidance constraint rules in the planning of the collision avoidance path of the unmanned boat: According to the position and speed of the unmanned boat and the position and speed of the obstacles involved in the parameters of the mathematical model of the unmanned boat navigation, get the difference between the two. The relative velocity, relative position, and relative azimuth motion parameters between the UAV and the obstacle are summed up in four different collision situations: frontal obstacle avoidance, overtaking obstacle avoidance, right chord crossing and left chord crossing obstacle avoidance. Collision constraint rules and spatial and temporal collision risk;

步骤二:基于遗传算法的水面无人艇规避静态障碍物的路径规划:通过上述的无人艇航行水域环境相关参数信息,对遗传算法的相关参数进行初始化,生成路径的最初种群,并进入遗传算法的迭代循环,计算适应度函数;根据得到的适应度函数值,通过“轮盘赌”方法选出下一代的染色体进行交叉、变异、修复操作优化种群,迭代完成后得到能够规避静态障碍物的最优路径;Step 2: Path planning for the surface unmanned vehicle to avoid static obstacles based on the genetic algorithm: through the above-mentioned parameter information related to the navigation water environment of the unmanned vehicle, initialize the relevant parameters of the genetic algorithm, generate the initial population of the path, and enter the genetic algorithm. The iterative loop of the algorithm calculates the fitness function; according to the obtained fitness function value, the next generation of chromosomes are selected through the "roulette" method to perform crossover, mutation, and repair operations to optimize the population, and after the iteration is completed, it can avoid static obstacles. the optimal path;

步骤三:基于遗传算法与粒子群算法相结合的动态避碰路径规划:实时监测海洋环境周围是否存在动态障碍物,如果存在动态障碍物,判断无人艇与动态障碍物间的距离,计算出碰撞危险度,如果可能产生碰撞,判断动态障碍物的运动状态是否可测;如果可测,采用遗传算法中的常规避碰;如果不可测,则采用粒子群算法进行动态障碍物的规避;最后完成路径优化,输出可行的避碰路径复航;Step 3: Dynamic collision avoidance path planning based on the combination of genetic algorithm and particle swarm algorithm: real-time monitoring of whether there are dynamic obstacles around the marine environment, if there are dynamic obstacles, determine the distance between the UAV and the dynamic obstacles, and calculate Collision risk, if a collision is possible, determine whether the motion state of the dynamic obstacle is measurable; if it is measurable, the conventional collision avoidance in the genetic algorithm is used; if it is not measurable, the particle swarm algorithm is used to avoid the dynamic obstacle; finally Complete path optimization and output a feasible collision avoidance path for re-navigation;

所述步骤一,包括:The first step includes:

对无人艇避碰路径规划中相关参数及避碰约束规则进行研究:根据无人艇航行的数学模型参数所涉及的无人艇位置、速度以及障碍物位置、速度,得到两者之间相对速度、相对位置、相对方位运动参数,通过总结无人艇与障碍物正面避障、追越避障、右弦交叉和左弦交叉避障四种不同碰撞情况,得到无人艇海上避碰约束规则以及空间碰撞危险度和时间碰撞危险度;Research on the relevant parameters and collision avoidance constraint rules in the planning of the collision avoidance path of the unmanned boat: According to the position and speed of the unmanned boat and the position and speed of the obstacles involved in the mathematical model parameters of the unmanned boat navigation, the relative relationship between the two is obtained. Speed, relative position, and relative azimuth motion parameters. By summarizing four different collision situations between the UAV and the obstacle: frontal obstacle avoidance, overtaking obstacle avoidance, right chord crossing and left chord crossing obstacle avoidance, the maritime collision avoidance constraints of the unmanned vehicle are obtained. Rules and spatial and temporal collision risk;

其中,令DCPA代表无人艇与障碍物最短相遇距离,TCPA代表最短相遇时间,所述空间碰撞危险度的计算方法为:Among them, let DCPA represent the shortest encounter distance between the unmanned boat and the obstacle, and TCPA represent the shortest encounter time, and the calculation method of the space collision risk is:

上式中,RTαT表示无人艇与障碍物的相对距离、相对速度方向和障碍物的航向,In the above formula, RT , α T represents the relative distance between the UAV and the obstacle, the relative speed direction and the course of the obstacle,

上式中,θT表示无人艇与障碍物航向的相对角度,d2=2×d1In the above formula, θ T represents the relative angle between the UAV and the obstacle course, d 2 =2×d 1 ;

所述时间碰撞危险度的计算方法为:The calculation method of the time collision risk is:

上式中,且当TCPA>0时utT第二项取负号,反之取正号;In the above formula, And when TCPA>0, the second item of u tT takes the negative sign, otherwise takes the positive sign;

对DCPA和TCPA的计算结果进行分析研究,得出无人艇和移动物体间发生碰撞事故可能性的综合评价指标:The calculation results of DCPA and TCPA are analyzed and studied, and the comprehensive evaluation index of the possibility of collision between unmanned boats and moving objects is obtained:

所述步骤二,包括:The second step includes:

基于遗传算法的水面无人艇规避静态障碍物的路径规划:通过上述的无人艇航行水域环境相关参数信息,对遗传算法的相关参数进行初始化,生成路径的最初种群,并进入遗传算法的迭代循环,计算适应度函数;根据得到的适应度函数值,通过“轮盘赌”方法选出下一代的染色体进行交叉、变异、修复操作优化种群,迭代完成后得到能够规避静态障碍物的最优路径;Path planning for UAV to avoid static obstacles based on genetic algorithm: through the above-mentioned parameter information related to the navigation water environment of the UAV, initialize the relevant parameters of the genetic algorithm, generate the initial population of the path, and enter the iteration of the genetic algorithm Loop, calculate the fitness function; according to the obtained fitness function value, select the next generation of chromosomes through the "roulette" method to perform crossover, mutation, and repair operations to optimize the population, and after the iteration is completed, the optimal population that can avoid static obstacles is obtained. path;

其中,所述路径的最初种群为:where the initial population of the path is:

按照任务的需求以及无人艇的初始位置和目标点的相关信息生成原始的运动路径即每条染色体:According to the requirements of the task and the relevant information of the initial position and target point of the UAV, the original motion path is generated, that is, each chromosome:

(xi1,yi1)→(xi2,yi2)→…→(xili,yili)(x i1 , y i1 )→(x i2 , y i2 )→…→(x ili , y ili )

上式中,i(1=0,1,2...n)代表无人艇航行的一条路径,n表示初始种群个数,并将染色体编码成实数类型,其中如果在无人艇初始位置和目标点之间并不存在障碍物体,则得出的原始路径一条光滑的最短路径,如果在无人艇初始位置和目标点之间存在障碍物体,这会在原始路径的基础上进行迭代更新产生多条新的路径,针对每条路径可以将其分为多段部分,分别对该条路径不同段部分进行计算分析,得出该条路径的相关信息,用delta表示任意条路径的划分段的长度值,kδ作为一个正的比例参数值,dnum表示该条路径被划分出的段的总数:In the above formula, i (1=0, 1, 2...n) represents a path of the unmanned boat, n represents the initial population number, and encodes the chromosome into a real number type, where if the unmanned boat is at the initial position There is no obstacle between the target point and the original path, and the original path is a smooth shortest path. If there is an obstacle between the initial position of the UAV and the target point, it will be iteratively updated based on the original path. Generate multiple new paths. For each path, it can be divided into multiple sections, and calculate and analyze the different sections of the path to obtain the relevant information of the path, and use delta to represent the division of any path. The length value, k δ is used as a positive proportional parameter value, and d num represents the total number of segments that the path is divided into:

上式中,(xmax,ymax)和(xmin,ymin)是仿真窗口的坐标范围,s(xs,ys)和e(xe,ye)为无人艇的初始位置和目标点;In the above formula, (x max , y max ) and (x min , y min ) are the coordinate ranges of the simulation window, s(x s , y s ) and e(x e , y e ) are the initial positions of the UAV and target point;

在经过上面的路径段数的计算划分后,将通过启发式遗传群体初始化的方法进行种群初始化,生成相应的染色基因,设最初的原始路径总共有n条,将第i条路径表示为Pi,设dnum=3,然后在第j(j=1,2,3)段上随机任取两个点pi(2j-1)和pi(2j),则在这两个点的范围内任意生成点此点横坐标被局限在范围内,纵坐标局限于路径初始位置s( xs,ys)和目标点e(xe,ye)之间的,即然后按顺序地将pi(2j-1),,pi(2j)相连,最终生成路径PiAfter the calculation and division of the number of path segments above, the population will be initialized by the method of heuristic genetic population initialization to generate the corresponding dyed genes. Assuming that there are n total original paths, the i-th path is denoted as P i , Let d num = 3, and then randomly select two points p i(2j-1) and p i(2j) on the jth (j=1, 2, 3) segment, then within the range of these two points Arbitrary spawn point The abscissa of this point is limited to Within the range, the ordinate is limited to the initial position of the path s ( x s , y s ) and the target point e (x e , y e ), that is Then p i(2j-1) , in order, p i(2j) are connected, and finally the path P i is generated:

得出可行路径集 get the set of feasible paths

其中,所述适应度函数为:Wherein, the fitness function is:

将个体适应度函数设置为Value(P*)=min[f1(P),f2(P),f3(P)]:Set the individual fitness function as Value(P * )=min[f 1 (P),f 2 (P),f 3 (P)]:

(1)代表路径的长度,第i条染色体的路径长度为:(1) represents the length of the path, and the path length of the i-th chromosome is:

上式中,mi是Pi路径里不可行的路径数目,C1为一合适的正数;In the above formula, m i is the number of infeasible paths in the P i path, and C 1 is a suitable positive number;

(2)表示路径的光滑性,当染色体的路径划分基因位点的个数大于2,水面无人艇的Pi路径平均拐角值:(2) Represents the smoothness of the path. When the number of loci divided by the path of the chromosome is greater than 2, the average corner value of the Pi path of the surface drone is:

其中,aij(j=2,…,li-1)为pi(j-1)pij与pijpi(j+1)间的夹角(0≤aij≤π),mi和ki是aij里不小于的数目,即如果某一个拐角不小于时,则要对目标值进行惩罚计算,C2是一合适的正数,当li=2时,路径Pi为初始点至目标点的连线,Turning(Pi)=mi×C2Among them, a ij (j=2,...,li -1) is the angle between p i (j-1) p ij and p ij p i(j+1) (0≤a ij ≤π),m i and ki are not less than a ij , that is, if a corner is not less than When , the penalty calculation should be performed on the target value. C 2 is a suitable positive number. When li = 2, the path P i is the connection from the initial point to the target point, Turning(P i )=m i ×C 2 ;

(3)表示路径的安全性,如果路径Pi是可行的,danger(di)= 1/di,其中di>0表示无人艇的航行路线距离静态障碍物的最小值;如果路径Pi是不可行的, danger(Pi)=mi×C3,mi为该路径个体的路径段与障碍物之间的距离小于安全距离的数量, C3则为一适当的正数;(3) Represents the safety of the path, if the path Pi is feasible, danger(di) = 1/di, where di>0 represents the minimum distance between the sailing route of the unmanned boat and the static obstacle; if the path Pi is infeasible, danger(P i )=m i ×C 3 , where m i is the number that the distance between the path segment of the individual path and the obstacle is less than the safety distance, and C 3 is an appropriate positive number;

所述步骤三,包括:The third step includes:

基于遗传算法与粒子群算法相结合的动态避碰路径规划:实时监测海洋环境周围是否存在动态障碍物,如果存在动态障碍物,判断无人艇与动态障碍物间的距离,计算出碰撞危险度,如果可能产生碰撞,判断动态障碍物的运动状态是否可测;如果可测,采用遗传算法中的常规避碰;如果不可测,则采用粒子群算法进行动态障碍物的规避;最后完成路径优化,输出可行的避碰路径复航;Dynamic collision avoidance path planning based on the combination of genetic algorithm and particle swarm algorithm: real-time monitoring of whether there are dynamic obstacles around the marine environment, if there are dynamic obstacles, determine the distance between the UAV and the dynamic obstacles, and calculate the collision risk , if a collision may occur, judge whether the motion state of the dynamic obstacle is measurable; if it is measurable, use the conventional collision avoidance in the genetic algorithm; if it is not measurable, use the particle swarm algorithm to avoid the dynamic obstacle; finally complete the path optimization , output a feasible collision avoidance path for re-navigation;

其中,所述基于遗传算法与粒子群算法相结合的动态避碰方法为:Wherein, the dynamic collision avoidance method based on the combination of genetic algorithm and particle swarm algorithm is:

将Δv分解成Δvo和Δvr Decomposing Δv into Δv o and Δv r ,

假设在较短的时间内动态移动物体的速度vobs及方向变化不大,可不予考虑,即Assuming that the speed v obs and direction of the dynamic moving object do not change much in a short period of time, it can be ignored, that is,

dvobs=0,dβ=0dv obs = 0, dβ = 0

上式中,为vUSV、vobs间的夹角,Δγ必须满足下面条件限制: In the above formula, is the angle between v USV and v obs , Δγ must satisfy the following conditions:

通过相关的设备监测周围海洋环境的动态信息,如果发现动态的障碍物,判断动态障碍物的运动状态是否可测;如果可测,由于遗传算法适应于求解复杂的优化问题,能够求出优化问题的全局最优解,则进行基于遗传算法的动态避碰;如果不可测,由于粒子群算法具有相当快的逼近最优解的速度,可以有效的对系统的参数进行优化;则进行基于粒子群算法的动态避碰;The dynamic information of the surrounding marine environment is monitored by relevant equipment. If a dynamic obstacle is found, it can be judged whether the motion state of the dynamic obstacle can be measured; If the global optimal solution is obtained, the dynamic collision avoidance based on the genetic algorithm is carried out; if it is unmeasurable, the parameters of the system can be effectively optimized because the particle swarm algorithm has a relatively fast speed of approaching the optimal solution; Algorithmic dynamic collision avoidance;

基于遗传算法的的避碰可以看成一个多条件下的目标优化问题:Collision avoidance based on genetic algorithm can be regarded as an objective optimization problem under multiple conditions:

f(ΔvUSV,Δα)是遗传算法中的适应度函数,求出的最优解既不会与已知静态障碍物碰撞,还需要符合无人艇海上避碰规则的约束,根据无人艇和动态障碍物的信息,算出它们之间的距离,DCPA和TCPA值,如果会发生碰撞的危险,则进行避碰处理,避碰处理可以通过改变航行方向实现:f(Δv USV ,Δα) is the fitness function in the genetic algorithm. The optimal solution obtained will not collide with known static obstacles, but also needs to comply with the constraints of the unmanned ship collision avoidance rules at sea. According to the unmanned ship and dynamic obstacle information, calculate the distance between them, DCPA and TCPA values, if there is a danger of collision, perform collision avoidance processing, which can be achieved by changing the navigation direction:

上式中RT为无人艇与动态障碍物间的距离;θT为动态障碍物的相对方位;β为相对运动线的转角;为动态障碍物与水面无人艇的航速比;ΔC为避让的角度;In the above formula, R T is the distance between the UAV and the dynamic obstacle; θ T is the relative orientation of the dynamic obstacle; β is the rotation angle of the relative motion line; is the speed ratio between the dynamic obstacle and the surface UAV; ΔC is the avoidance angle;

通过迭代法求得转向角ΔC:The steering angle ΔC is obtained by an iterative method:

通过相关的AIS雷达等设备时刻监测周围动态障碍物的运动状态,预测其运动走向,然后将目前无人艇所处的位置设为新的初始位置,以safeD的长度为路径段的距离得出一个子目标点,通过遗传算法的迭代优化,规划出一条能规避附近障碍物到达子目标点的路径,然后再以该子目标为新的初始位置,重复上述过程,成功到达指定的目标点完成任务;Through the relevant AIS radar and other equipment to monitor the movement state of the surrounding dynamic obstacles at all times, predict their movement direction, and then set the current position of the unmanned boat as the new initial position, and take the length of safeD as the distance of the path segment. For a sub-target point, through the iterative optimization of the genetic algorithm, plan a path that can avoid nearby obstacles to reach the sub-target point, and then take the sub-target as the new initial position, repeat the above process, and successfully reach the specified target point. Task;

在不可预测动态障碍物运动状态的避碰过程中,无人艇的每一次前进,都要有预判,利用极坐标,描述无人艇和动态障碍物的位置,无人艇的长度为r,移动半径为ρ,当前所在位置为(A1,B1),下一步目标点为(A2,B2),动态障碍物此时的位置为(C1,D1);当 表示有障碍物在无人艇安全移动的范围内,此时需要进行基于粒子群算法避碰处理;In the collision avoidance process of the unpredictable dynamic obstacle motion state, every advance of the unmanned boat must be pre-judged, and the polar coordinates are used to describe the position of the unmanned boat and the dynamic obstacle. The length of the unmanned boat is r , the moving radius is ρ, the current position is (A 1 , B 1 ), the next target point is (A 2 , B 2 ), and the current position of the dynamic obstacle is (C 1 , D 1 ); when Indicates that there are obstacles within the safe movement range of the unmanned boat, and collision avoidance processing based on particle swarm algorithm is required at this time;

设定惯性权重最大值为ωmax,最小值为ωmin,学习因子分别为C1,C2,群体为D,最大迭代次数为Dmax。以当前点为原点,ρ为半径作极坐标,进行n等份。m个粒子,随机生成 m×n的粒子群,以及位置X和速度V,设置当前最优位置形成初始种群t0;使Pbesti代表第i个粒子搜索到的最优值,Gbesti代表整个集群搜索到的最优值,计算初始种群的适应度值,对全局最优值Gbesti更新,其中适应度函数包括路径长度和安全度,最短路径长度的目标函数:The maximum value of inertia weight is ω max , the minimum value is ω min , the learning factors are C 1 and C 2 , the population is D, and the maximum number of iterations is D max . Take the current point as the origin, ρ as the radius as the polar coordinate, and make n equal parts. m particles, randomly generate m×n particle swarm, and position X and velocity V, set the current optimal position Form the initial population t 0 ; let Pbest i represent the optimal value searched by the ith particle, Gbest i represent the optimal value searched by the entire cluster, calculate the fitness value of the initial population, and update the global optimal value Gbest i , The fitness function includes the path length and security, and the objective function of the shortest path length:

上式中,(xji,yji)为路径j上的i点坐标,(xji-1,yji-1)为路径j上(xji,yji)的一个点坐标,此时,无人艇路径规划预测的下一个点坐标(xjn,yjn),需要把此点和目标点(g1,g2)连接起来计算路径,整个路径长度函数为:In the above formula, (x ji , y ji ) is the coordinate of point i on the path j, (x ji-1 , y ji-1 ) is the coordinate of a point (x ji , y ji ) on the path j, at this time, The coordinates of the next point (x jn , y jn ) predicted by the path planning of the unmanned boat need to be connected with the target point (g 1 , g 2 ) to calculate the path. The entire path length function is:

Y=Yfit1+Yfit2 Y=Y fit1 +Y fit2

安全度函数:Safety function:

上式中,xk为障碍物的位置坐标;In the above formula, x k is the position coordinate of the obstacle;

综合以上,适应度函数:F=A×Y+B×OB(i),其中A,B两函数的加权因子,为大于等于零的任意实数,为了完全避碰,B<A,根据速度,位置迭代公式更新,生成新的粒子群t1,粒子群速度迭代公式为:Based on the above, the fitness function: F=A×Y+B×OB(i), where the weighting factors of the A and B functions are any real numbers greater than or equal to zero. In order to completely avoid collisions, B<A, according to the speed, position The iteration formula is updated to generate a new particle swarm t 1 , and the iteration formula of particle swarm velocity is:

Vi,j(t+1)=ωVi,j(t)+c1r1(Pi,j(t)-xi,j(t))+c2r2(Pg,j(t)-xi,j(t))V i,j (t+1)=ωV i,j (t)+c 1 r 1 (P i,j (t)-x i,j (t))+c 2 r 2 (P g,j ( t)-x i,j (t))

ωk+1=ωmin+(ωkmin)×((Kmax-k)/Kmax)n ω k+1min +(ω kmin )×((K max -k)/K max ) n

上式中,r1,r2大于0小于1的随机实数,Pi,j是粒子i迄今为止搜到的最优位置,Pg,i是全局最优位置,ωk为当前迭代所得的值,其初始值为ωmax,k表示当前迭代次数;Kmax代表最大迭代次数;In the above formula, r 1 , r 2 are random real numbers greater than 0 and less than 1, P i,j is the optimal position searched by particle i so far, P g,i is the global optimal position, ω k is the result obtained by the current iteration value, its initial value is ω max , k represents the current number of iterations; K max represents the maximum number of iterations;

计算新种群t1的适应度值,若优于上一代则生成新种群t2,否则转换成直角坐标,循环迭代生成新的种群,直到找到最优的避碰路径;Calculate the fitness value of the new population t 1 , if it is better than the previous generation, generate a new population t 2 , otherwise convert it to Cartesian coordinates, and iteratively generate a new population until the optimal collision avoidance path is found;

本发明的有益效果在于:The beneficial effects of the present invention are:

1.本发明引入了遗传算法,针对在复杂多变的海洋环境中航行的无人艇,规划出一条最优的路径,从而节省各种资源,按任务需求到达指定的目标点;1. The present invention introduces a genetic algorithm to plan an optimal path for the unmanned boat navigating in the complex and changeable marine environment, thereby saving various resources and reaching the designated target point according to the task requirements;

2.本发明在引入遗传算法的同时,对其进行改进,为了兼顾海上风浪流的影响,将加入删除、修复和平滑算子,使得无人艇能够在遗传算法下规划出最优的运动路径;2. In the present invention, while introducing the genetic algorithm, it is improved. In order to take into account the influence of wind and waves at sea, deletion, repair and smoothing operators will be added, so that the unmanned boat can plan the optimal motion path under the genetic algorithm. ;

3.本发明引入遗传算法和粒子群算法相结合的算法,针对海洋中突然出现的动态障碍物,无人艇能快速准确做出反应,规划出最优的避碰路径,确保无人艇安全到达目标点。3. The present invention introduces an algorithm combining genetic algorithm and particle swarm algorithm, and for dynamic obstacles that suddenly appear in the ocean, the unmanned boat can respond quickly and accurately, plan the optimal collision avoidance path, and ensure the safety of the unmanned boat reach the target point.

附图说明Description of drawings

图1为本发明无人艇路径规划避碰流程图;Fig. 1 is the unmanned boat path planning collision avoidance flow chart of the present invention;

图2为本发明无人艇静态全局路径规划流程图;Fig. 2 is the flow chart of unmanned boat static global path planning of the present invention;

图3为本发明障碍物到路径距离示意图;3 is a schematic diagram of the distance from an obstacle to a path of the present invention;

图4为本发明避障模型示意图;4 is a schematic diagram of an obstacle avoidance model of the present invention;

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明做进一步描述:In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention will be further described below in conjunction with the accompanying drawings:

本发明的技术方案是这样实现的:The technical scheme of the present invention is realized as follows:

1、对无人艇路径规划和避碰中相关参数及避碰约束规则进行研究:1. Research on relevant parameters and collision avoidance constraint rules in UAV path planning and collision avoidance:

无人艇运动的数学模型参数涉及无人艇的位置、速度以及障碍物的位置、速度。由此引出的两者相对速度、相对位置、相对方位运动参数。总结出无人艇与障碍物正面避障、追越避障、右弦交叉和左弦交叉避障四种不同的碰撞情况。引出无人艇海上避碰约束规则,并从时间和空间两个角度,引出危险度的概念,其中DCPA代表无人艇与障碍物最短相遇距离, TCPA代表最短相遇时间。The mathematical model parameters of the motion of the unmanned boat involve the position and speed of the unmanned boat and the position and speed of the obstacle. The relative velocity, relative position and relative azimuth motion parameters of the two are derived from this. Four different collision situations between the UAV and the obstacle are summarized: frontal obstacle avoidance, overtaking obstacle avoidance, right chord crossing and left chord crossing obstacle avoidance. The constraint rules for collision avoidance of unmanned boats at sea are introduced, and the concept of danger is introduced from the perspectives of time and space, where DCPA represents the shortest encounter distance between the unmanned boat and obstacles, and TCPA represents the shortest encounter time.

(1)空间碰撞危险度(1) Space collision risk

式中RTαT表示无人艇与障碍物的相对距离、相对速 度方向和障碍物的航向;in the formula RT , α T represents the relative distance between the UAV and the obstacle, the relative speed direction and the course of the obstacle;

其中θT表示无人艇与障碍物航向的相对角度,d2=2×d1where θ T represents the relative angle between the UAV and the course of the obstacle, d 2 =2×d 1 .

(2)时间碰撞危险度(2) Time collision risk

其中且当TCPA>0时utT第二项取负号,反之取正号。in And when TCPA>0, the second item of u tT takes the negative sign, otherwise takes the positive sign.

对DCPA和TCPA的计算结果进行分析研究,得出无人艇和移动物体间发生碰撞事故可能性的综合评价指标:The calculation results of DCPA and TCPA are analyzed and studied, and the comprehensive evaluation index of the possibility of collision between unmanned boats and moving objects is obtained:

2、基于遗传算法的水面无人艇路径规划2. Path Planning of Surface Unmanned Vehicle Based on Genetic Algorithm

无人艇路径规划的算法过程为首先获取无人艇航行水域环境参数,主要为障碍物信息、风浪等级等。然后定义种群个体的适应度函数,设定遗传算法迭代次数、染色体数量、交叉和变异的概率,最后通过选择算法进行遗传操作得出无人艇航行的全局路径。The algorithm process of the unmanned boat path planning is to first obtain the environmental parameters of the unmanned boat navigation waters, mainly obstacle information, wind and wave level, etc. Then define the fitness function of the individual population, set the iteration times of the genetic algorithm, the number of chromosomes, the probability of crossover and mutation, and finally obtain the global path of unmanned boat navigation through the genetic operation of the selection algorithm.

首先按照任务的需求以及无人艇的初始位置和目标点的相关信息生成原始的运动路径即每条染色体:First, according to the requirements of the task and the relevant information of the initial position and target point of the UAV, the original motion path is generated, that is, each chromosome:

(xi1,yi1)→(xi2,yi2)→…→(xili,yili)(x i1 ,y i1 )→(x i2 ,y i2 )→…→(x ili ,y ili )

其中i(1=0,1,2...n)代表无人艇航行的一条路径,n表示初始种群个数,并将染色体编码成实数类型。where i (1=0, 1, 2...n) represents a path for the unmanned boat to navigate, n represents the initial population number, and encodes the chromosome as a real number type.

其中如果在无人艇初始位置和目标点之间并不存在障碍物体,则得出的原始路径一条光滑的最短路径。如果在无人艇初始位置和目标点之间存在障碍物体,这会在原始路径的基础上进行迭代更新产生多条新的路径。针对每条路径可以将其分为多段部分,分别对该条路径不同段部分进行计算分析,得出该条路径的相关信息。用delta表示任意条路径的划分段的长度值,kδ作为一个正的比例参数值,dnum表示该条路径被划分出的段的总数。Among them, if there is no obstacle between the initial position of the UAV and the target point, the original path obtained is a smooth shortest path. If there are obstacles between the initial position of the drone and the target point, this will iteratively update the original path to generate multiple new paths. For each path, it can be divided into multiple sections, and different sections of the path can be calculated and analyzed to obtain the relevant information of the path. Use delta to represent the length of the segment of any path, k δ as a positive proportional parameter value, and d num to represent the total number of segments that the path is divided into.

其中,(xmax,ymax)和(xmin,ymin)是仿真窗口的坐标范围,s(xs,ys)和e(xe,ye)为无人艇的初始位置和目标点。Among them, (x max , y max ) and (x min , y min ) are the coordinate range of the simulation window, s(x s , y s ) and e(x e , y e ) are the initial position and target of the UAV point.

在经过上面的路径段数的计算划分后,将通过启发式遗传群体初始化的方法进行种群初始化,生成相应的染色基因。设最初的原始路径总共有n条,将第i条路径表示为Pi,设dnum=3,然后在第j(j=1,2,3)段上随机任取两个点pi(2j-1)和pi(2j-1),则在这两个点的范围内任意生成点此点横坐.标被局限在范围内,纵坐标局限于路径初始位置s(xs,ys)和目标点e(xe,ye)之间的,即然后按顺序地将pi(2j-1),,pi(2j)相连,最终生成路径PiAfter the above calculation and division of the number of path segments, the population initialization will be performed by the method of heuristic genetic population initialization, and the corresponding dyeing genes will be generated. Suppose there are n total original paths, denote the i-th path as P i , set d num =3, and then randomly select two points p i ( 2j-1) and p i(2j-1) , then any point is generated within the range of these two points The abscissa of this point. The coordinate is limited to Within the range, the ordinate is limited to the initial position of the path s (x s , y s ) and the target point e (x e , y e ), that is Then p i(2j-1) , in order, p i(2j) are connected, and finally the path P i is generated:

得出可行路径集 get the set of feasible paths

初始种群设置好以后,将个体适应度函数设置为Value(P*)=min[f1(P),f2(P),f3(P)]。After the initial population is set, set the individual fitness function as Value(P * )=min[f 1 (P), f 2 (P), f 3 (P)].

其中:in:

(1)代表路径的长度。第i条染色体的路径长度为(1) Represents the length of the path. The path length of the i-th chromosome is

其中,mi是Pi路径里不可行的路径数目,C1为一合适的正数。where m i is the number of infeasible paths in the P i path, and C 1 is a suitable positive number.

(2)表示路径的光滑性。当染色体的路径划分基因位点的个数大于2,水面无人艇的Pi路径平均拐角值:(2) Indicates the smoothness of the path. When the number of loci for the path division of the chromosome is greater than 2, the average corner value of the Pi path of the surface drone is:

其中,aij(j=2,…,li-1)为pi(j-1)pij与pijpi(j+1)间的夹角(0≤aij≤π),mi和ki是aij里不小于π/2的数目,即如果某一个拐角不小于π/2时,则要对目标值进行惩罚计算,C2是一合适的正数,当li=2时,路径Pi为初始点至目标点的连线,Turning(Pi)=mi×C2 Among them, a ij (j=2,...,li-1) is the angle between p i(j-1) p ij and p ij p i(j+1) (0≤a ij ≤π),m i and k i is a number not less than π/2 in a ij , that is, if a certain corner is not less than π/2, the penalty calculation should be performed on the target value, C 2 is a suitable positive number, when li = 2 , the path P i is the connection from the initial point to the target point, Turning(P i )=mi×C 2

(3)表示路径的安全性(3) Indicates the security of the path

如果路径Pi是可行的,danger(di)=1/di,其中di>0表示无人艇的航行路线距离静态障碍物的最小值;如果路径Pi是不可行的,danger(Pi)=mi×C3,mi为该路径个体的路径段与障碍物之间的距离小于安全距离的数量,C3则为一适当的正数。根据适应度函数的值,通过比例算法选出下一代的染色体进行交叉、变异、修复等遗传操作,从而优化种群。最后,通过迭代优化,规划出一条无障碍物的全局路径。If the path P i is feasible, danger(d i )=1/d i , where d i > 0 represents the minimum distance between the sailing route of the UAV and the static obstacle; if the path P i is infeasible, danger( P i )=mi×C 3 , mi is the number that the distance between the path segment of the individual path and the obstacle is less than the safety distance, and C 3 is a suitable positive number. According to the value of the fitness function, the next generation of chromosomes is selected by the proportional algorithm to perform genetic operations such as crossover, mutation, and repair, so as to optimize the population. Finally, through iterative optimization, a global path without obstacles is planned.

3、进行基于遗传算法与粒子群算法相结合的动态避碰,主要步骤如下:3. To carry out dynamic collision avoidance based on the combination of genetic algorithm and particle swarm algorithm, the main steps are as follows:

如附图4避障模型示意图所示,将Δv分解成Δvo和ΔvrAs shown in the schematic diagram of the obstacle avoidance model in Fig. 4, Δv is decomposed into Δv o and Δv r .

假设在较短的时间内动态移动物体的速度vobs及方向变化不大,可不予考虑,即Assuming that the speed v obs and direction of the dynamic moving object do not change much in a short period of time, it can be ignored, that is,

dvObs=0,dβ=0dv Obs = 0, dβ = 0

其中为vUSV、vobs间的夹角。Δγ必须满足下面条件限制: in is the angle between v USV and v obs . Δγ must satisfy the following conditions:

通过相关的设备监测周围海洋环境的动态信息。如果发现动态的障碍物,判断动态障碍物的运动状态是否可测;如果可测,由于遗传算法适应于求解复杂的优化问题,能够求出优化问题的全局最优解,则进行基于遗传算法的动态避碰;如果不可测,由于粒子群算法具有相当快的逼近最优解的速度,可以有效的对系统的参数进行优化;则进行基于粒子群算法的动态避碰。Monitor the dynamic information of the surrounding marine environment through related equipment. If a dynamic obstacle is found, determine whether the motion state of the dynamic obstacle is measurable; if it is measurable, since the genetic algorithm is suitable for solving complex optimization problems, the global optimal solution of the optimization problem can be obtained, and then the genetic algorithm-based method can be carried out. Dynamic collision avoidance; if it is unmeasurable, because the particle swarm algorithm has a fairly fast speed of approaching the optimal solution, the parameters of the system can be effectively optimized; then the dynamic collision avoidance based on the particle swarm algorithm is carried out.

基于遗传算法的的避碰可以看成一个多条件下的目标优化问题:Collision avoidance based on genetic algorithm can be regarded as an objective optimization problem under multiple conditions:

f(ΔvUSV,Δα)是遗传算法中的适应度函数,求出的最优解既不会与已知静态障碍物碰撞,还需要符合无人艇海上避碰规则的约束。根据无人艇和动态障碍物的信息,算出它们之间的距离,DCPA,TCPA值,如果会发生碰撞的危险,则进行避碰处理。避碰处理可以通过改变航行方向实现。f(Δv USV ,Δα) is the fitness function in the genetic algorithm, and the optimal solution obtained will not collide with known static obstacles, but also needs to comply with the constraints of the unmanned ship collision avoidance rules at sea. According to the information of the unmanned boat and dynamic obstacles, calculate the distance, DCPA, TCPA value between them, and if there is a danger of collision, perform collision avoidance processing. Collision avoidance processing can be achieved by changing the sailing direction.

式中RT为无人艇与动态障碍物间的距离;rwhere R T is the distance between the UAV and the dynamic obstacle; r

θT为动态障碍物的相对方位;θ T is the relative orientation of the dynamic obstacle;

β为相对运动线的转角;β is the rotation angle of the relative motion line;

为动态障碍物与水面无人艇的航速比; is the speed ratio of the dynamic obstacle to the surface UAV;

ΔC为避让的角度。ΔC is the avoidance angle.

通过迭代法求得转向角ΔC:The steering angle ΔC is obtained by an iterative method:

通过相关的AIS雷达等设备时刻监测周围动态障碍物的运动状态,预测其运动走向,然后将目前无人艇所处的位置设为新的初始位置,以safeD的长度为路径段的距离得出一个子目标点,通过遗传算法的迭代优化,规划出一条能规避附近障碍物到达子目标点的路径,然后再以该子目标为新的初始位置,重复上述过程,成功到达指定的目标点完成任务。Through the relevant AIS radar and other equipment to monitor the movement state of the surrounding dynamic obstacles at all times, predict their movement direction, and then set the current position of the unmanned boat as the new initial position, and take the length of safeD as the distance of the path segment. For a sub-target point, through the iterative optimization of the genetic algorithm, plan a path that can avoid nearby obstacles to reach the sub-target point, and then take the sub-target as the new initial position, repeat the above process, and successfully reach the specified target point. Task.

在不可预测动态障碍物运动状态的避碰过程中,无人艇的每一次前进,都要有预判。利用极坐标,描述无人艇和动态障碍物的位置。无人艇的长度为r,移动半径为ρ,当前所在位置为(A1,B1),下一步目标点为(A2,B2),动态障碍物此时的位置为(C1,D1);当表示有障碍物在无人艇安全移动的范围内,此时需要进行基于粒子群算法避碰处理。In the collision avoidance process of the unpredictable dynamic obstacle motion state, every advance of the unmanned boat must be pre-judged. Using polar coordinates, describe the position of the UAV and dynamic obstacles. The length of the unmanned boat is r, the moving radius is ρ, the current position is (A 1 , B 1 ), the next target point is (A 2 , B 2 ), and the current position of the dynamic obstacle is (C 1 , D 1 ); when Indicates that there are obstacles within the safe movement range of the unmanned boat, and collision avoidance processing based on particle swarm algorithm is required at this time.

设定惯性权重最大值为ωmax,最小值为ωmin,学习因子分别为C1,C2,群体为D,最大迭代次数为Dmax。以当前点为原点,ρ为半径作极坐标,进行n等份。m个粒子,随机生成m×n的粒子群,以及位置X和速度V,设置当前最优位置Pi=(pi1,p2...piD),形成初始种群t0。使Pbesti代表第i个粒子搜索到的最优值,Gbesti代表整个集群搜索到的最优值。计算初始种群的适应度值,对全局最优值Gbesti更新。The maximum value of inertia weight is ω max , the minimum value is ω min , the learning factors are C 1 , C 2 respectively, the population is D, and the maximum number of iterations is D max . Take the current point as the origin, ρ as the radius as the polar coordinate, and make n equal parts. m particles, randomly generate m×n particle swarm, as well as position X and velocity V, set the current optimal position P i =(p i1 ,p 2 ... p iD ) to form an initial population t 0 . Let Pbest i represent the optimal value searched by the ith particle, and Gbest i represent the optimal value searched by the entire cluster. Calculate the fitness value of the initial population and update the global optimal value Gbest i .

其中适应度函数包括路径长度和安全度。The fitness function includes path length and security.

最短路径长度的目标函数: The objective function for the shortest path length:

其中(xji,yji)为路径j上的i点坐标,(xji-1,yji-1)为路径j上(xji,yji)的一个点坐标。此时,无人艇路径规划预测的下一个点坐标(xjn,yjn),需要把此点和目标点(g1,g2)连接起来计算路径,整个路径长度函数为:where (x ji , y ji ) is the coordinate of point i on the path j, and (x ji-1 , y ji-1 ) is the coordinate of a point (x ji , y ji ) on the path j. At this point, the next point coordinates (x jn , y jn ) predicted by the path planning of the unmanned boat need to be connected with the target point (g 1 , g 2 ) to calculate the path. The entire path length function is:

Y=Yfit1+Yfit2 Y=Y fit1 +Y fit2

安全度函数: Safety function:

其中xk为障碍物的位置坐标。where x k is the position coordinate of the obstacle.

综合以上,适应度函数:F=A×Y+B×OB(i)Combining the above, the fitness function: F=A×Y+B×OB(i)

其中A,B两函数的加权因子,为大于等于零的任意实数,为了完全避碰,B<A。Among them, the weighting factors of the two functions A and B are any real numbers greater than or equal to zero. In order to avoid collision completely, B<A.

根据速度,位置迭代公式更新,生成新的粒子群t1According to the velocity, the position iterative formula is updated to generate a new particle swarm t 1 .

粒子群速度迭代公式为:The iterative formula of particle swarm velocity is:

Vi,j(t+1)=ωVi,j(t)+c1r1(Pi,j(t)-xi,j(t))+c2r2(Pg,j(t)-xi,j(t))V i,j (t+1)=ωV i,j (t)+c 1 r 1 (P i,j (t)-x i,j (t))+c 2 r 2 (P g,j ( t)-x i,j (t))

ωk+1=ωmin+(ωkmin)×((Kmax-k)/Kmax)n ω k+1min +(ω kmin )×((K max -k)/K max ) n

其中r1,r2大于0小于1的随机实数,Pi,j是粒子i迄今为止搜到的最优位置,Pg,i是全局最优位置。ωk为当前迭代所得的值,其初始值为ωmax;k表示当前迭代次数;Kmax代表最大迭代次数Among them, r 1 , r 2 are random real numbers greater than 0 and less than 1, P i,j is the optimal position searched by particle i so far, and P g,i is the global optimal position. ω k is the value obtained from the current iteration, and its initial value is ω max ; k represents the current number of iterations; K max represents the maximum number of iterations

计算新种群t1的适应度值,若优于上一代则生成新种群t2,否则转换成直角坐标。循环迭代生成新的种群,直到找到最优的避碰路径。Calculate the fitness value of the new population t 1 , if it is better than the previous generation, generate a new population t 2 , otherwise convert it to Cartesian coordinates. The loop iteratively generates new populations until the optimal collision avoidance path is found.

Claims (4)

1.一种基于遗传算法和粒子群算法的无人艇避碰方法,其特征在于,包括:1. an unmanned boat collision avoidance method based on genetic algorithm and particle swarm algorithm, is characterized in that, comprises: 步骤一:无人艇避碰路径规划中相关参数及避碰约束规则的研究:根据无人艇航行的数学模型参数所涉及的无人艇位置、速度以及障碍物位置、速度,得到两者之间相对速度、相对位置、相对方位运动参数,通过总结无人艇与障碍物正面避障、追越避障、右弦交叉和左弦交叉避障四种不同碰撞情况,得到无人艇海上避碰约束规则以及空间碰撞危险度和时间碰撞危险度;Step 1: Research on the relevant parameters and collision avoidance constraint rules in the planning of the collision avoidance path of the unmanned boat: According to the position and speed of the unmanned boat and the position and speed of the obstacles involved in the parameters of the mathematical model of the unmanned boat navigation, get the difference between the two. The relative velocity, relative position, and relative azimuth motion parameters between the UAV and the obstacle are summed up in four different collision situations: frontal obstacle avoidance, overtaking obstacle avoidance, right chord crossing and left chord crossing obstacle avoidance. Collision constraint rules and spatial and temporal collision risk; 步骤二:基于遗传算法的水面无人艇规避静态障碍物的路径规划:通过上述的无人艇航行水域环境相关参数信息,对遗传算法的相关参数进行初始化,生成路径的最初种群,并进入遗传算法的迭代循环,计算适应度函数;根据得到的适应度函数值,通过“轮盘赌”方法选出下一代的染色体进行交叉、变异、修复操作优化种群,迭代完成后得到能够规避静态障碍物的最优路径;Step 2: Path planning for the surface unmanned vehicle to avoid static obstacles based on the genetic algorithm: through the above-mentioned parameter information related to the navigation water environment of the unmanned vehicle, initialize the relevant parameters of the genetic algorithm, generate the initial population of the path, and enter the genetic algorithm. The iterative loop of the algorithm calculates the fitness function; according to the obtained fitness function value, the next generation of chromosomes are selected through the "roulette" method to perform crossover, mutation, and repair operations to optimize the population, and after the iteration is completed, it can avoid static obstacles. the optimal path; 步骤三:基于遗传算法与粒子群算法相结合的动态避碰路径规划:实时监测海洋环境周围是否存在动态障碍物,如果存在动态障碍物,判断无人艇与动态障碍物间的距离,计算出碰撞危险度,如果可能产生碰撞,判断动态障碍物的运动状态是否可测;如果可测,采用遗传算法中的常规避碰;如果不可测,则采用粒子群算法进行动态障碍物的规避;最后完成路径优化,输出可行的避碰路径复航。Step 3: Dynamic collision avoidance path planning based on the combination of genetic algorithm and particle swarm algorithm: real-time monitoring of whether there are dynamic obstacles around the marine environment, if there are dynamic obstacles, determine the distance between the UAV and the dynamic obstacles, and calculate Collision risk, if a collision is possible, determine whether the motion state of the dynamic obstacle is measurable; if it is measurable, the conventional collision avoidance in the genetic algorithm is used; if it is not measurable, the particle swarm algorithm is used to avoid the dynamic obstacle; finally Complete path optimization and output a feasible collision avoidance path for re-navigation. 2.根据权利要求1所述的一种基于遗传算法和粒子群算法的无人艇避碰方法,其特征在于,所述步骤一,包括:2. a kind of unmanned boat collision avoidance method based on genetic algorithm and particle swarm algorithm according to claim 1, is characterized in that, described step 1, comprises: 对无人艇避碰路径规划中相关参数及避碰约束规则进行研究:根据无人艇航行的数学模型参数所涉及的无人艇位置、速度以及障碍物位置、速度,得到两者之间相对速度、相对位置、相对方位运动参数,通过总结无人艇与障碍物正面避障、追越避障、右弦交叉和左弦交叉避障四种不同碰撞情况,得到无人艇海上避碰约束规则以及空间碰撞危险度和时间碰撞危险度;Research on the relevant parameters and collision avoidance constraint rules in the planning of the collision avoidance path of the unmanned boat: According to the position and speed of the unmanned boat and the position and speed of the obstacles involved in the mathematical model parameters of the unmanned boat navigation, the relative relationship between the two is obtained. Speed, relative position, and relative azimuth motion parameters. By summarizing four different collision situations between the UAV and the obstacle: frontal obstacle avoidance, overtaking obstacle avoidance, right chord crossing and left chord crossing obstacle avoidance, the maritime collision avoidance constraints of the unmanned vehicle are obtained. Rules and spatial and temporal collision risk; 其中,令DCPA代表无人艇与障碍物最短相遇距离,TCPA代表最短相遇时间,所述空间碰撞危险度的计算方法为:Among them, let DCPA represent the shortest encounter distance between the unmanned boat and the obstacle, and TCPA represent the shortest encounter time, and the calculation method of the space collision risk is: 上式中,RTαT表示无人艇与障碍物的相对距离、相对速度方向和障碍物的航向,In the above formula, RT , α T represents the relative distance between the UAV and the obstacle, the relative speed direction and the course of the obstacle, 上式中,θT表示无人艇与障碍物航向的相对角度,d2=2×d1In the above formula, θ T represents the relative angle between the UAV and the obstacle course, d 2 =2×d 1 ; 所述时间碰撞危险度的计算方法为:The calculation method of the time collision risk is: 上式中,且当TCPA>0时utT第二项取负号,反之取正号;In the above formula, And when TCPA>0, the second item of u tT takes the negative sign, otherwise takes the positive sign; 对DCPA和TCPA的计算结果进行分析研究,得出无人艇和移动物体间发生碰撞事故可能性的综合评价指标:The calculation results of DCPA and TCPA are analyzed and studied, and the comprehensive evaluation index of the possibility of collision between unmanned boats and moving objects is obtained: 3.根据权利要求1所述的一种基于遗传算法和粒子群算法的无人艇避碰方法,其特征在于:所述步骤二,包括:3. a kind of unmanned boat collision avoidance method based on genetic algorithm and particle swarm algorithm according to claim 1, is characterized in that: described step 2, comprises: 基于遗传算法的水面无人艇规避静态障碍物的路径规划:通过上述的无人艇航行水域环境相关参数信息,对遗传算法的相关参数进行初始化,生成路径的最初种群,并进入遗传算法的迭代循环,计算适应度函数;根据得到的适应度函数值,通过“轮盘赌”方法选出下一代的染色体进行交叉、变异、修复操作优化种群,迭代完成后得到能够规避静态障碍物的最优路径;Path planning for UAV to avoid static obstacles based on genetic algorithm: through the above-mentioned parameter information related to the navigation water environment of the UAV, initialize the relevant parameters of the genetic algorithm, generate the initial population of the path, and enter the iteration of the genetic algorithm Loop, calculate the fitness function; according to the obtained fitness function value, select the next generation of chromosomes through the "roulette" method to perform crossover, mutation, and repair operations to optimize the population, and after the iteration is completed, the optimal population that can avoid static obstacles is obtained. path; 其中,所述路径的最初种群为:where the initial population of the path is: 按照任务的需求以及无人艇的初始位置和目标点的相关信息生成原始的运动路径即每条染色体:According to the requirements of the task and the relevant information of the initial position and target point of the UAV, the original motion path is generated, that is, each chromosome: (xi1,yi1)→(xi2,yi2)→…→(xili,yili)(x i1 , y i1 )→(x i2 , y i2 )→…→(x ili , y ili ) 上式中,i(1=0,1,2...n)代表无人艇航行的一条路径,n表示初始种群个数,并将染色体编码成实数类型,其中如果在无人艇初始位置和目标点之间并不存在障碍物体,则得出的原始路径一条光滑的最短路径,如果在无人艇初始位置和目标点之间存在障碍物体,这会在原始路径的基础上进行迭代更新产生多条新的路径,针对每条路径可以将其分为多段部分,分别对该条路径不同段部分进行计算分析,得出该条路径的相关信息,用delta表示任意条路径的划分段的长度值,kδ作为一个正的比例参数值,dnum表示该条路径被划分出的段的总数:In the above formula, i(1=0, 1, 2...n) represents a path of the unmanned boat, n represents the initial population number, and encodes the chromosome into a real number type, where if the unmanned boat is at the initial position There is no obstacle between the target point and the original path, and the original path is a smooth shortest path. If there is an obstacle between the initial position of the UAV and the target point, it will be iteratively updated based on the original path. Generate multiple new paths. For each path, it can be divided into multiple sections, and calculate and analyze the different sections of the path to obtain the relevant information of the path, and use delta to represent the division of any path. The length value, k δ is used as a positive proportional parameter value, and d num represents the total number of segments that the path is divided into: 上式中,(xmax,ymax)和(xmin,ymin)是仿真窗口的坐标范围,s(xs,ys)和e(xe,ye)为无人艇的初始位置和目标点;In the above formula, (x max , y max ) and (x min , y min ) are the coordinate ranges of the simulation window, s(x s , y s ) and e(x e , y e ) are the initial positions of the UAV and target point; 在经过上面的路径段数的计算划分后,将通过启发式遗传群体初始化的方法进行种群初始化,生成相应的染色基因,设最初的原始路径总共有n条,将第i条路径表示为Pi,设dnum=3,然后在第j(j=1,2,3)段上随机任取两个点pi(2j-1)和pi(2j),则在这两个点的范围内任意生成点此点横坐标被局限在范围内,纵坐标局限于路径初始位置s(xs,ys)和目标点e(xe,ye)之间的,即然后按顺序地将pi(2j-1),,pi(2j)相连,最终生成路径PiAfter the calculation and division of the number of path segments above, the population will be initialized by the method of heuristic genetic population initialization to generate the corresponding dyed genes. Assuming that there are n total original paths, the i-th path is denoted as P i , Let d num = 3, and then randomly select two points p i(2j-1) and p i(2j) on the jth (j=1, 2, 3) segment, then within the range of these two points Arbitrary spawn point The abscissa of this point is limited to Within the range, the ordinate is limited to the initial position of the path s (x s , y s ) and the target point e (x e , y e ), that is Then p i(2j-1) , in order, p i(2j) are connected, and finally the path P i is generated: 得出可行路径集 get the set of feasible paths 其中,所述适应度函数为:Wherein, the fitness function is: 将个体适应度函数设置为Value(P*)=min[f1(P),f2(P),f3(P)]:Set the individual fitness function as Value(P * )=min[f 1 (P), f 2 (P), f 3 (P)]: (1)代表路径的长度,第i条染色体的路径长度为:(1) represents the length of the path, the path length of the i-th chromosome is: 上式中,mi是Pi路径里不可行的路径数目,C1为一合适的正数;In the above formula, m i is the number of infeasible paths in the P i path, and C 1 is a suitable positive number; (2)表示路径的光滑性,当染色体的路径划分基因位点的个数大于2,水面无人艇的Pi路径平均拐角值:(2) Represents the smoothness of the path. When the number of loci divided by the path of the chromosome is greater than 2, the average corner value of the Pi path of the surface drone is: 其中,aij(j=2,…,li-1)为pi(j-1)pij与pijpi(j+1)间的夹角(0≤aij≤π),mi和ki是aij里不小于的数目,即如果某一个拐角不小于时,则要对目标值进行惩罚计算,C2是一合适的正数,当li=2时,路径Pi为初始点至目标点的连线,Turning(Pi)=mi×C2Among them, a ij (j=2, ..., li -1) is the angle between p i (j-1) p ij and p ij p i(j+1) (0≤a ij ≤π),m i and ki are not less than a ij , that is, if a corner is not less than When , the penalty calculation should be performed on the target value, C 2 is a suitable positive number, when li = 2, the path P i is the connection between the initial point and the target point, Turning(P i )=m i ×C 2 ; (3)表示路径的安全性,如果路径Pi是可行的,danger(di)=1/di,其中di>0表示无人艇的航行路线距离静态障碍物的最小值;如果路径Pi是不可行的,danger(Pi)=mi×C3,mi为该路径个体的路径段与障碍物之间的距离小于安全距离的数量,C3则为一适当的正数。(3) Represents the safety of the path, if the path Pi is feasible, danger(di)=1/di, where di>0 represents the minimum distance between the navigation route of the unmanned boat and the static obstacle; if the path Pi is infeasible , danger(P i )=m i ×C 3 , m i is the number that the distance between the path segment of the individual path and the obstacle is less than the safety distance, and C 3 is an appropriate positive number. 4.根据权利要求1所述的一种基于遗传算法和粒子群算法的无人艇避碰方法,其特征在于:所述步骤三,包括:4. a kind of unmanned boat collision avoidance method based on genetic algorithm and particle swarm algorithm according to claim 1, is characterized in that: described step 3, comprises: 基于遗传算法与粒子群算法相结合的动态避碰路径规划:实时监测海洋环境周围是否存在动态障碍物,如果存在动态障碍物,判断无人艇与动态障碍物间的距离,计算出碰撞危险度,如果可能产生碰撞,判断动态障碍物的运动状态是否可测;如果可测,采用遗传算法中的常规避碰;如果不可测,则采用粒子群算法进行动态障碍物的规避;最后完成路径优化,输出可行的避碰路径复航;Dynamic collision avoidance path planning based on the combination of genetic algorithm and particle swarm algorithm: real-time monitoring of whether there are dynamic obstacles around the marine environment, if there are dynamic obstacles, determine the distance between the UAV and the dynamic obstacles, and calculate the collision risk , if a collision may occur, judge whether the motion state of the dynamic obstacle is measurable; if it is measurable, use the conventional collision avoidance in the genetic algorithm; if it is not measurable, use the particle swarm algorithm to avoid the dynamic obstacle; finally complete the path optimization , output a feasible collision avoidance path for re-navigation; 其中,所述基于遗传算法与粒子群算法相结合的动态避碰方法为:Wherein, the dynamic collision avoidance method based on the combination of genetic algorithm and particle swarm algorithm is: 将Δv分解成Δvo和Δvr Decomposing Δv into Δv o and Δv r , 假设在较短的时间内动态移动物体的速度vobs及方向变化不大,可不予考虑,即Assuming that the speed v obs and direction of the dynamic moving object do not change much in a short period of time, it can be ignored, that is, dvobs=0,dβ=0dv obs = 0, dβ = 0 上式中,为vUSV、vobs间的夹角,Δγ必须满足下面条件限制: In the above formula, is the angle between v USV and v obs , Δγ must satisfy the following conditions: 通过相关的设备监测周围海洋环境的动态信息,如果发现动态的障碍物,判断动态障碍物的运动状态是否可测;如果可测,由于遗传算法适应于求解复杂的优化问题,能够求出优化问题的全局最优解,则进行基于遗传算法的动态避碰;如果不可测,由于粒子群算法具有相当快的逼近最优解的速度,可以有效的对系统的参数进行优化;则进行基于粒子群算法的动态避碰;The dynamic information of the surrounding marine environment is monitored by relevant equipment. If a dynamic obstacle is found, it can be judged whether the motion state of the dynamic obstacle can be measured; If the global optimal solution is obtained, the dynamic collision avoidance based on the genetic algorithm is carried out; if it is unmeasurable, the parameters of the system can be effectively optimized because the particle swarm algorithm has a relatively fast speed of approaching the optimal solution; Algorithmic dynamic collision avoidance; 基于遗传算法的的避碰可以看成一个多条件下的目标优化问题:Collision avoidance based on genetic algorithm can be regarded as an objective optimization problem under multiple conditions: f(ΔvUSV,Δα)是遗传算法中的适应度函数,求出的最优解既不会与已知静态障碍物碰撞,还需要符合无人艇海上避碰规则的约束,根据无人艇和动态障碍物的信息,算出它们之间的距离,DCPA和TCPA值,如果会发生碰撞的危险,则进行避碰处理,避碰处理可以通过改变航行方向实现:f(Δv USV , Δα) is the fitness function in the genetic algorithm. The optimal solution obtained will not collide with known static obstacles, but also needs to comply with the constraints of the unmanned ship collision avoidance rules at sea. According to the unmanned ship and dynamic obstacle information, calculate the distance between them, DCPA and TCPA values, if there is a danger of collision, perform collision avoidance processing, which can be achieved by changing the navigation direction: 上式中RT为无人艇与动态障碍物间的距离;θT为动态障碍物的相对方位;β为相对运动线的转角;为动态障碍物与水面无人艇的航速比;ΔC为避让的角度;In the above formula, R T is the distance between the UAV and the dynamic obstacle; θ T is the relative orientation of the dynamic obstacle; β is the rotation angle of the relative motion line; is the speed ratio between the dynamic obstacle and the surface UAV; ΔC is the avoidance angle; 通过迭代法求得转向角ΔC:The steering angle ΔC is obtained by an iterative method: 通过相关的AIS雷达等设备时刻监测周围动态障碍物的运动状态,预测其运动走向,然后将目前无人艇所处的位置设为新的初始位置,以safeD的长度为路径段的距离得出一个子目标点,通过遗传算法的迭代优化,规划出一条能规避附近障碍物到达子目标点的路径,然后再以该子目标为新的初始位置,重复上述过程,成功到达指定的目标点完成任务;Through the relevant AIS radar and other equipment to monitor the movement state of the surrounding dynamic obstacles at all times, predict their movement direction, and then set the current position of the unmanned boat as the new initial position, and take the length of safeD as the distance of the path segment. For a sub-target point, through the iterative optimization of the genetic algorithm, plan a path that can avoid nearby obstacles to reach the sub-target point, and then take the sub-target as the new initial position, repeat the above process, and successfully reach the specified target point. Task; 在不可预测动态障碍物运动状态的避碰过程中,无人艇的每一次前进,都要有预判,利用极坐标,描述无人艇和动态障碍物的位置,无人艇的长度为r,移动半径为ρ,当前所在位置为(A1,B1),下一步目标点为(A2,B2),动态障碍物此时的位置为(C1,D1);当表示有障碍物在无人艇安全移动的范围内,此时需要进行基于粒子群算法避碰处理;In the collision avoidance process of the unpredictable dynamic obstacle motion state, every advance of the unmanned boat must be pre-judged, and the polar coordinates are used to describe the position of the unmanned boat and the dynamic obstacle. The length of the unmanned boat is r , the moving radius is ρ, the current position is (A 1 , B 1 ), the next target point is (A 2 , B 2 ), and the current position of the dynamic obstacle is (C 1 , D 1 ); when Indicates that there are obstacles within the safe movement range of the unmanned boat, and collision avoidance processing based on particle swarm algorithm is required at this time; 设定惯性权重最大值为ωmax,最小值为ωmin,学习因子分别为C1,C2,群体为D,最大迭代次数为Dmax,以当前点为原点,ρ为半径作极坐标,进行n等份,m个粒子,随机生成m×n的粒子群,以及位置X和速度V,设置当前最优位置形成初始种群t0;使Pbesti代表第i个粒子搜索到的最优值,Gbesti代表整个集群搜索到的最优值,计算初始种群的适应度值,对全局最优值Gbesti更新,其中适应度函数包括路径长度和安全度,最短路径长度的目标函数:Set the maximum value of inertia weight as ω max , the minimum value as ω min , the learning factors as C 1 , C 2 , the population as D, the maximum number of iterations as D max , the current point as the origin, ρ as the radius as the polar coordinate, Carry out n equal parts, m particles, randomly generate m×n particle swarm, and position X and speed V, set the current optimal position Form the initial population t 0 ; let Pbest i represent the optimal value searched by the ith particle, Gbest i represent the optimal value searched by the entire cluster, calculate the fitness value of the initial population, and update the global optimal value Gbest i , The fitness function includes the path length and security, and the objective function of the shortest path length: 上式中,(xji,yji)为路径j上的i点坐标,(xji-1,yji-1)为路径j上(xji,yji)的一个点坐标,此时,无人艇路径规划预测的下一个点坐标(xjn,yjn),需要把此点和目标点(g1,g2)连接起来计算路径,整个路径长度函数为:In the above formula, (x ji , y ji ) is the coordinate of point i on the path j, (x ji-1 , y ji-1 ) is the coordinate of a point on the path j (x ji , y ji ), at this time, The next point coordinates (x jn , y jn ) predicted by the path planning of the unmanned boat need to be connected with the target point (g 1 , g 2 ) to calculate the path. The entire path length function is: Y=Yfit1+Yfit2 Y=Y fit1 +Y fit2 安全度函数:Safety function: 上式中,xk为障碍物的位置坐标;In the above formula, x k is the position coordinate of the obstacle; 综合以上,适应度函数:F=A×Y+B×OB(i),其中A,B两函数的加权因子,为大于等于零的任意实数,为了完全避碰,B<A,根据速度,位置迭代公式更新,生成新的粒子群t1,粒子群速度迭代公式为:Based on the above, the fitness function: F=A×Y+B×OB(i), where the weighting factors of the A and B functions are any real numbers greater than or equal to zero. In order to completely avoid collisions, B<A, according to the speed, position The iteration formula is updated to generate a new particle swarm t 1 , and the iteration formula of particle swarm velocity is: Vi,j(t+1)=ωVi,j(t)+c1r1(Pi,j(t)-xi,j(t))+c2r2(Pg,j(t)-xi,j(t))Vi ,j (t+1)=ωVi ,j (t)+c 1 r 1 (P i,j (t)-xi ,j (t))+c 2 r 2 (P g,j ( t)-xi ,j (t)) ωk+1=ωmin+(ωkmin)×((Kmax-k)/Kmax)n ω k+1min +(ω kmin )×((K max -k)/K max ) n 上式中,r1,r2大于0小于1的随机实数,Pi,j是粒子i迄今为止搜到的最优位置,Pg,i是全局最优位置,ωk为当前迭代所得的值,其初始值为ωmax,k表示当前迭代次数;Kmax代表最大迭代次数;In the above formula, r 1 , r 2 are random real numbers greater than 0 and less than 1, P i, j is the optimal position searched by particle i so far, P g, i is the global optimal position, ω k is the current iteration obtained value, its initial value is ω max , k represents the current number of iterations; K max represents the maximum number of iterations; 计算新种群t1的适应度值,若优于上一代则生成新种群t2,否则转换成直角坐标,循环迭代生成新的种群,直到找到最优的避碰路径。Calculate the fitness value of the new population t 1 , if it is better than the previous generation, generate a new population t 2 , otherwise convert it to Cartesian coordinates, and iteratively generate a new population until the optimal collision avoidance path is found.
CN201910185335.8A 2019-03-12 2019-03-12 Unmanned ship collision avoidance method based on genetic algorithm and particle swarm algorithm Active CN109933067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910185335.8A CN109933067B (en) 2019-03-12 2019-03-12 Unmanned ship collision avoidance method based on genetic algorithm and particle swarm algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910185335.8A CN109933067B (en) 2019-03-12 2019-03-12 Unmanned ship collision avoidance method based on genetic algorithm and particle swarm algorithm

Publications (2)

Publication Number Publication Date
CN109933067A true CN109933067A (en) 2019-06-25
CN109933067B CN109933067B (en) 2022-07-15

Family

ID=66987032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910185335.8A Active CN109933067B (en) 2019-03-12 2019-03-12 Unmanned ship collision avoidance method based on genetic algorithm and particle swarm algorithm

Country Status (1)

Country Link
CN (1) CN109933067B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362089A (en) * 2019-08-02 2019-10-22 大连海事大学 A method of the unmanned boat independent navigation based on deeply study and genetic algorithm
CN110703752A (en) * 2019-10-15 2020-01-17 哈尔滨工程大学 Double-layer path planning method for unmanned aerial vehicle based on immune genetics-artificial potential field method
CN111813128A (en) * 2020-07-29 2020-10-23 浙江北鲲智能科技有限公司 Unmanned ship autonomous navigation performance evaluation method
CN112542064A (en) * 2019-09-23 2021-03-23 廖秉军 Dynamic collision avoidance method for fast moving object and slow moving object
CN113419522A (en) * 2021-05-21 2021-09-21 北京航天控制仪器研究所 Simulation method and system for unmanned ship path planning algorithm
CN113721620A (en) * 2021-08-30 2021-11-30 山东交通学院 Particle swarm-genetic hybrid algorithm-based vehicle transverse PID control method
CN113917929A (en) * 2021-11-11 2022-01-11 中国船舶重工集团公司第七一九研究所 Unmanned ship path optimization method and system based on hybrid particle swarm algorithm
CN114169628A (en) * 2021-12-14 2022-03-11 西南交通大学 Shipboard aircraft scheduling optimization method and system based on A-star algorithm and genetic algorithm
CN114911240A (en) * 2022-05-27 2022-08-16 哈尔滨工程大学 A UAV-assisted UAV dynamic obstacle avoidance path planning method
CN115079693A (en) * 2022-06-08 2022-09-20 江苏师范大学 Unmanned vehicle path planning method based on improved genetic algorithm and B spline fitting
CN115167445A (en) * 2022-07-28 2022-10-11 中国矿业大学 Particle swarm optimization-based maritime intelligent search and rescue method
US20220371709A1 (en) * 2021-05-21 2022-11-24 Wuhan University Of Technology Path planning system and method for sea-aerial cooperative underwater target tracking
CN115420289A (en) * 2022-08-17 2022-12-02 中国电子科技集团公司第二十八研究所 Unmanned ship route planning method based on particle swarm improved artificial potential field method
CN116107328A (en) * 2023-02-09 2023-05-12 陕西科技大学 Optimal automatic obstacle avoidance method for ornithopter based on improved genetic algorithm
CN116126032A (en) * 2023-04-17 2023-05-16 华南农业大学 Unmanned aerial vehicle group path planning method based on improved multi-objective evolutionary algorithm
CN116386389A (en) * 2023-03-21 2023-07-04 中国南方航空股份有限公司 Civil aviation route planning method with limit
CN117742323A (en) * 2023-12-06 2024-03-22 江苏大学 A target allocation and route planning method for multi-agent unmanned boats
CN117968689A (en) * 2023-12-25 2024-05-03 荆楚理工学院 UAV path planning method and system based on genetic particle hybrid algorithm

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768536A (en) * 2012-07-20 2012-11-07 哈尔滨工程大学 A Path Planning Method Based on Multi-objective Firefly Algorithm
CN106444755A (en) * 2016-09-22 2017-02-22 江苏理工学院 Mobile robot path planning method and system based on improved genetic algorithm
CN108564202A (en) * 2018-03-18 2018-09-21 哈尔滨工程大学 A kind of unmanned boat Route optimization method based on environmental forecasting information
CN108983789A (en) * 2018-08-20 2018-12-11 广东华中科技大学工业技术研究院 A path planning and deployment scheduling method for unmanned boats
CN109375625A (en) * 2018-11-12 2019-02-22 智慧航海(青岛)科技有限公司 A kind of intelligent ship paths planning method based on fast search genetic algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768536A (en) * 2012-07-20 2012-11-07 哈尔滨工程大学 A Path Planning Method Based on Multi-objective Firefly Algorithm
CN106444755A (en) * 2016-09-22 2017-02-22 江苏理工学院 Mobile robot path planning method and system based on improved genetic algorithm
CN108564202A (en) * 2018-03-18 2018-09-21 哈尔滨工程大学 A kind of unmanned boat Route optimization method based on environmental forecasting information
CN108983789A (en) * 2018-08-20 2018-12-11 广东华中科技大学工业技术研究院 A path planning and deployment scheduling method for unmanned boats
CN109375625A (en) * 2018-11-12 2019-02-22 智慧航海(青岛)科技有限公司 A kind of intelligent ship paths planning method based on fast search genetic algorithm

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
GUANGYU LI等: ""Fractional-Order PID Controller of USV Course-Keeping Using Hybrid GA-PSOAlgorithm"", 《2015 8TH INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND DESIGN (ISCID)》 *
XIAOGONG LIN等: ""Research of USV obstacle avoidance strategy based on dynamic window"", 《2017 IEEE INTERNATIONAL CONFERENCE ON MECHATRONICS AND AUTOMATION (ICMA)》 *
付杨: ""水面无人艇的路径规划及避碰方法研究"", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》 *
杜开君等: ""基于海事规则的水面无人艇动态障碍规避方法"", 《船海工程》 *

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362089A (en) * 2019-08-02 2019-10-22 大连海事大学 A method of the unmanned boat independent navigation based on deeply study and genetic algorithm
CN112542064A (en) * 2019-09-23 2021-03-23 廖秉军 Dynamic collision avoidance method for fast moving object and slow moving object
CN112542064B (en) * 2019-09-23 2024-03-26 廖秉军 Dynamic collision prevention method for fast moving object and slow moving object
CN110703752A (en) * 2019-10-15 2020-01-17 哈尔滨工程大学 Double-layer path planning method for unmanned aerial vehicle based on immune genetics-artificial potential field method
CN110703752B (en) * 2019-10-15 2023-01-03 哈尔滨工程大学 Unmanned ship double-layer path planning method based on immune heredity-artificial potential field method
CN111813128A (en) * 2020-07-29 2020-10-23 浙江北鲲智能科技有限公司 Unmanned ship autonomous navigation performance evaluation method
CN111813128B (en) * 2020-07-29 2023-01-13 浙江北鲲智能科技有限公司 Unmanned ship autonomous navigation performance evaluation method
US12172739B2 (en) * 2021-05-21 2024-12-24 Wuhan University Of Technology Path planning system and method for sea-aerial cooperative underwater target tracking
CN113419522B (en) * 2021-05-21 2022-08-12 航天时代(青岛)海洋装备科技发展有限公司 Simulation method and system for unmanned ship path planning algorithm
CN113419522A (en) * 2021-05-21 2021-09-21 北京航天控制仪器研究所 Simulation method and system for unmanned ship path planning algorithm
US20220371709A1 (en) * 2021-05-21 2022-11-24 Wuhan University Of Technology Path planning system and method for sea-aerial cooperative underwater target tracking
CN113721620A (en) * 2021-08-30 2021-11-30 山东交通学院 Particle swarm-genetic hybrid algorithm-based vehicle transverse PID control method
CN113917929A (en) * 2021-11-11 2022-01-11 中国船舶重工集团公司第七一九研究所 Unmanned ship path optimization method and system based on hybrid particle swarm algorithm
CN114169628A (en) * 2021-12-14 2022-03-11 西南交通大学 Shipboard aircraft scheduling optimization method and system based on A-star algorithm and genetic algorithm
CN114169628B (en) * 2021-12-14 2023-04-07 西南交通大学 Shipboard aircraft scheduling optimization method and system based on A-star algorithm and genetic algorithm
CN114911240A (en) * 2022-05-27 2022-08-16 哈尔滨工程大学 A UAV-assisted UAV dynamic obstacle avoidance path planning method
CN115079693A (en) * 2022-06-08 2022-09-20 江苏师范大学 Unmanned vehicle path planning method based on improved genetic algorithm and B spline fitting
CN115167445A (en) * 2022-07-28 2022-10-11 中国矿业大学 Particle swarm optimization-based maritime intelligent search and rescue method
CN115167445B (en) * 2022-07-28 2024-10-29 中国矿业大学 Particle swarm optimization-based offshore intelligent search and rescue method
CN115420289A (en) * 2022-08-17 2022-12-02 中国电子科技集团公司第二十八研究所 Unmanned ship route planning method based on particle swarm improved artificial potential field method
CN115420289B (en) * 2022-08-17 2024-05-21 中国电子科技集团公司第二十八研究所 Unmanned ship route planning method based on particle swarm improvement artificial potential field method
CN116107328A (en) * 2023-02-09 2023-05-12 陕西科技大学 Optimal automatic obstacle avoidance method for ornithopter based on improved genetic algorithm
CN116386389B (en) * 2023-03-21 2023-12-29 中国南方航空股份有限公司 Civil aviation route planning method with limit
CN116386389A (en) * 2023-03-21 2023-07-04 中国南方航空股份有限公司 Civil aviation route planning method with limit
CN116126032A (en) * 2023-04-17 2023-05-16 华南农业大学 Unmanned aerial vehicle group path planning method based on improved multi-objective evolutionary algorithm
CN117742323A (en) * 2023-12-06 2024-03-22 江苏大学 A target allocation and route planning method for multi-agent unmanned boats
CN117742323B (en) * 2023-12-06 2024-07-12 江苏大学 Target distribution and route planning method for multi-agent unmanned ship
CN117968689A (en) * 2023-12-25 2024-05-03 荆楚理工学院 UAV path planning method and system based on genetic particle hybrid algorithm

Also Published As

Publication number Publication date
CN109933067B (en) 2022-07-15

Similar Documents

Publication Publication Date Title
CN109933067B (en) Unmanned ship collision avoidance method based on genetic algorithm and particle swarm algorithm
Liu et al. Self-adaptive dynamic obstacle avoidance and path planning for USV under complex maritime environment
Li et al. A path planning strategy unified with a COLREGS collision avoidance function based on deep reinforcement learning and artificial potential field
Kang et al. Collision avoidance path planning for ships by particle swarm optimization
Chen et al. A hybrid path planning algorithm for unmanned surface vehicles in complex environment with dynamic obstacles
Han et al. A dynamically hybrid path planning for unmanned surface vehicles based on non-uniform Theta* and improved dynamic windows approach
CN105807769B (en) UAV navigation IVFH collision prevention methods
CN109597417B (en) A collaborative collision avoidance planning method for multiple USV groups based on collision avoidance criteria
Wu et al. Deep reinforcement learning with dynamic window approach based collision avoidance path planning for maritime autonomous surface ships
Zheng et al. A Decision‐Making Method for Ship Collision Avoidance Based on Improved Cultural Particle Swarm
CN111880549A (en) Deep reinforcement learning reward function optimization method for unmanned ship path planning
Li et al. Distributed multi-objective algorithm for preventing multi-ship collisions at sea
CN113538973B (en) Automatic ship collision avoidance method based on improved particle swarm optimization
Bai et al. USV path planning algorithm based on plant growth
CN111338356A (en) Improved distributed genetic algorithm for multi-objective unmanned ship collision avoidance path planning method
Du et al. An optimized path planning method for coastal ships based on improved DDPG and DP
Xinchi et al. A research on intelligent obstacle avoidance for unmanned surface vehicles
Xu et al. Hybrid path planning method for USV using bidirectional A* and improved DWA considering the manoeuvrability and COLREGs
CN116954232A (en) Multi-ship collision avoidance decision-making method and system for unmanned ships based on reinforcement learning
Liu et al. AUV path planning under ocean current based on reinforcement learning in electronic chart
Yang et al. Improved reinforcement learning for collision-free local path planning of dynamic obstacle
CN116300906A (en) Obstacle avoidance path planning method and system for intelligent ship
Gu et al. Vessel intrusion interception utilising unmanned surface vehicles for offshore wind farm asset protection
CN116414123A (en) Water surface unmanned ship path planning method based on improved rapid travelling method
Gao et al. An optimized path planning method for container ships in Bohai bay based on improved deep Q-learning

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