CN111307159B - Multi-AUV three-dimensional collaborative route planning method - Google Patents
Multi-AUV three-dimensional collaborative route planning method Download PDFInfo
- Publication number
- CN111307159B CN111307159B CN202010197447.8A CN202010197447A CN111307159B CN 111307159 B CN111307159 B CN 111307159B CN 202010197447 A CN202010197447 A CN 202010197447A CN 111307159 B CN111307159 B CN 111307159B
- Authority
- CN
- China
- Prior art keywords
- route
- auv
- level set
- area
- navigation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000005265 energy consumption Methods 0.000 claims description 21
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 15
- 230000005484 gravity Effects 0.000 claims description 12
- 238000013178 mathematical model Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 6
- 239000011159 matrix material Substances 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 5
- 238000010521 absorption reaction Methods 0.000 claims description 3
- 238000012886 linear function Methods 0.000 claims description 3
- 238000005457 optimization Methods 0.000 claims description 3
- 230000001413 cellular effect Effects 0.000 claims 1
- 231100001261 hazardous Toxicity 0.000 claims 1
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/20—Instruments for performing navigational calculations
- G01C21/203—Instruments for performing navigational calculations specially adapted for water-borne vessels
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
Description
技术领域technical field
本发明属于水下潜器三维路径规划技术领域,涉及一种多AUV三维协同航路规划方法,具体涉及一种考虑海洋环境影响的多AUV三维协同航路规划方法。The invention belongs to the technical field of three-dimensional path planning of underwater submersibles, and relates to a multi-AUV three-dimensional collaborative route planning method, in particular to a multi-AUV three-dimensional collaborative route planning method considering the influence of the marine environment.
背景技术Background technique
目前,大部分的研究都局限于单一AUV的航路规划问题,缺乏考虑海洋环境影响下的多起点到多终点的多航路协同规划问题研究。在实际情况中,为提高任务的完成率,需要所有的AUV同时达到多任务点。此时,如何为每一AUV生成有效的航路,并协同各AUV的到达时间,是完成任务的前提条件之一。由于实际应用的需要,产生了多AUV的概念,即在单个AUV的应用基础上,通过相互协调多个AUV来共同完成某些复杂的水下目标任务。这不但弥补了单个AUV的执行任务的不足之处,而且提高了工作效率,还节省了研究更加复杂的AUV的成本,并且多AUV展示了在执行多协同任务时的优越性。另外,多AUV可实现的复杂功能,是单个AUV所不能具备的。因此,多AUV的研究日益受到了世界各国学者们的高度关注。At present, most of the research is limited to the route planning problem of a single AUV, and there is a lack of research on the multi-route collaborative planning problem from multiple origins to multi-destinations under the influence of the marine environment. In the actual situation, in order to improve the completion rate of the task, all AUVs need to reach the multi-task point at the same time. At this time, how to generate an effective route for each AUV and coordinate the arrival time of each AUV is one of the prerequisites for completing the task. Due to the needs of practical applications, the concept of multi-AUV has emerged, that is, on the basis of the application of a single AUV, some complex underwater target tasks can be completed by coordinating multiple AUVs with each other. This not only makes up for the shortcomings of a single AUV in performing tasks, but also improves work efficiency and saves the cost of researching more complex AUVs, and multi-AUVs demonstrate the superiority in performing multi-cooperative tasks. In addition, the complex functions that can be realized by multiple AUVs cannot be possessed by a single AUV. Therefore, the research on multiple AUVs has increasingly attracted great attention from scholars all over the world.
水平集方法(Level Set Method)是由美国数学家Stanley Osher和JamesSethian提出,从模拟界面演化的研究领域中发展起来的,是处理界面演化过程中几何拓扑的一种有效的计算工具。本发明改进的水平集算法的核心为利用海流、隐蔽场的引力和AUV自身速度作为水平集函数演化的动力,零水平集曲线的梯度方向为最优解。目前水平集算法有完备的数学理论基础,其概念较为简单,易于编程实现,对计算机硬件的速度和存储要求不高。作为一种新兴的优化算法已在诸多领域展现了良好的应用前景。专利CN201810519546.6公开了一种复杂海洋环境影响下基于能耗和采样量多目标优化的UUV路径规划方法,考虑的海洋环境信息仅仅是海流,没有对温度,盐度等海洋环境信息进行考虑。专利CN201610887874.2公开了一种基于水平集算法的时间最优航路规划方法,只是设计了在海洋环境中海流的影响下的单艘AUV的单条航路规划算法,没有考虑多艘AUV进行协同航路研究,目前还没有公开的文献将水平集算法应用于考虑海洋环境影响的三维协同航路规划研究中。The Level Set Method (Level Set Method) was proposed by American mathematicians Stanley Osher and James Sethian and developed from the research field of simulating interface evolution. It is an effective calculation tool for geometric topology in the process of interface evolution. The core of the improved level set algorithm of the present invention is to use the ocean current, the gravity of the concealed field and the speed of the AUV itself as the driving force for the evolution of the level set function, and the gradient direction of the zero level set curve is the optimal solution. At present, the level set algorithm has a complete mathematical theoretical basis, its concept is relatively simple, easy to program and realize, and it does not have high requirements for the speed and storage of computer hardware. As an emerging optimization algorithm, it has shown good application prospects in many fields. Patent CN201810519546.6 discloses a UUV path planning method based on multi-objective optimization of energy consumption and sampling volume under the influence of complex marine environments. The marine environmental information considered is only ocean currents, and marine environmental information such as temperature and salinity are not considered. Patent CN201610887874.2 discloses a time-optimal route planning method based on level set algorithm. It only designs a single route planning algorithm for a single AUV under the influence of ocean currents in the ocean environment, and does not consider multiple AUVs for collaborative route research. , there is no published literature that applies the level set algorithm to the study of 3D collaborative route planning considering the influence of the marine environment.
发明内容Contents of the invention
针对上述现有技术,本发明要解决的技术问题是提供一种能够在一次迭代循环过程中同时规划出多条最优航路,并且加入海流以及声速的影响的多AUV三维协同航路规划方法。In view of the above-mentioned prior art, the technical problem to be solved by the present invention is to provide a multi-AUV three-dimensional collaborative route planning method that can simultaneously plan multiple optimal routes in an iterative cycle process and incorporate the influence of ocean current and sound velocity.
为解决上述技术问题,本发明的一种多AUV三维协同航路规划方法,包括以下步骤:In order to solve the above technical problems, a multi-AUV three-dimensional collaborative route planning method of the present invention includes the following steps:
步骤1:根据电子海图和海流、温度、盐度以及深度信息进行三维环境建模,建立地形场、海流场以及隐蔽场;进行水平集函数初始化,将水平集函数初始化为一个以起点为圆心,r为半径的圆形函数,设置合适的窄带宽度d,使水平集函数在窄带内进行演化;Step 1: Carry out three-dimensional environment modeling according to the electronic chart and ocean current, temperature, salinity and depth information, and establish terrain field, ocean current field and concealment field; perform level set function initialization, and initialize the level set function as a starting point The center of the circle, r is the circular function of the radius, and the appropriate narrow band width d is set to make the level set function evolve in the narrow band;
步骤2:水平集函数演化:水平集函数考虑AUV自身速度、海流速度以及隐蔽场得到改进的水平集函数演化数学模型,根据改进的水平集函数演化数学模型进行演化,到达窄带边缘时,重构水平集函数和窄带宽度,将水平集函数重新初始化为一个新的距离函数,并且计算新的窄带宽度,判断是否到达每个终点,每到达一个终点就保存到达此终点前的所有零水平集曲线;Step 2: Level set function evolution: The level set function considers the AUV's own speed, ocean current speed and concealed field to get an improved level set function evolution mathematical model, evolves according to the improved level set function evolution mathematical model, and reconstructs when it reaches the edge of the narrow band Level set function and narrow band width, reinitialize the level set function to a new distance function, and calculate the new narrow band width, judge whether to reach each end point, and save all zero level set curves before reaching this end point every time an end point is reached ;
步骤3:最优航路点选择:从每个零水平集曲线的终点处进行前向迭代找出每条零水平集曲线的梯度方向点,直到起点,顺序连接所有的梯度方向点,即可得到所有的最优航路;Step 3: Optimal waypoint selection: From the end point of each zero level set curve, perform forward iterations to find the gradient direction point of each zero level set curve until the starting point, and sequentially connect all gradient direction points to obtain all optimal routes;
步骤4:协同航路分配方案设计:利用步骤2得到的改进的水平集函数演化数学模型同时规划出m个起点到m个终点的所有的m×m条航路,规划出的m×m条航路一共存在n条航路组合,其中需要从n种航路组合中选出m个AUV到达m个任务点的m条航路,设定所有航路为H={H1,1,H1,2,…,H1,m;H2,1,H2,2,…,H2,m;…;Hn,1,Hn,2,…,Hn,m},其中Hn,m代表第n种方案中第m艘AUV的航行路线,因此H表示n个方案中的所有AUV的航行路线;Step 4: Design of collaborative route allocation scheme: use the improved level set function evolution mathematical model obtained in step 2 to simultaneously plan all m×m routes from m origins to m destinations, and the planned m×m routes total There are n route combinations, among which It is necessary to select m routes for m AUVs to reach m mission points from n route combinations, and set all routes as H={H 1,1 ,H 1,2 ,...,H 1,m ; H 2, 1 ,H 2,2 ,…,H 2,m ;…;H n,1 ,H n,2 ,…,H n,m }, where H n,m represents the mth AUV in the nth scheme Navigation route, so H represents the navigation routes of all AUVs in n schemes;
AUV航行能耗设为:AUV navigation energy consumption is set as:
其中k为能耗系数,Vax代表AUV自身速度中的X方向分量;Vay代表AUV自身速度中的Y方向分量;Lx=|Lxi+1-Lxi|代表航路的X方向分量的航路长度;Ly=|Lyi+1-Lyi|代表航路的Y方向分量的航路长度;Where k is the energy consumption coefficient, V ax represents the X direction component in the AUV's own speed; V ay represents the Y direction component in the AUV's own speed; L x =|L xi+1 -L xi | represents the X direction component of the route Route length; L y =|L yi+1 -L yi |represents the route length of the Y direction component of the route;
因此得到代表每个组合中所有航路的能量损耗N:The energy loss N representing all routes in each combination is thus obtained:
N={N1,1,N1,2,…,N1,m;N2,1,N2,2,…,N2,m;…;Nn,1,Nn,2,…,Nn,m};N={N 1,1 ,N 1,2 ,...,N 1,m ; N 2,1 ,N 2,2 ,...,N 2,m ;...;N n,1 ,N n,2 ,... ,N n,m };
假设选择航路为Hi={Hi,1,Hi,2,…Hi,m},其中航行时间Ti={Ti,1,Ti,2,…Ti,m},航行能耗Ni={Ni,1,Ni,2,…Ni,m},航路隐蔽性大小,即航路节点上的所有引力大小之和,为:Mi={Mi,1,Mi,2,…Mi,m},航路交点Di={Di,1,Di,2,…Di,m};Assuming that the selected route is H i ={H i,1 ,H i,2 ,…H i,m }, where the sailing time T i ={T i,1 ,T i,2 ,…T i,m }, the voyage Energy consumption N i ={N i,1 ,N i,2 ,…N i,m }, the concealment of the route, that is, the sum of all gravitational forces on the route nodes, is: M i ={M i,1 , M i,2 ,...M i,m }, route intersection D i ={D i,1 ,D i,2 ,...D i,m };
约束条件(1):Constraints (1):
Max{Ni}≤Nmax Max{N i }≤N max
约束条件(1)表明:Nmax代表每个AUV自身所携带的最大能量,即选择的航路中所有航路的能耗都不得超过AUV自身所携带的最大能量;Constraint condition (1) shows that: N max represents the maximum energy carried by each AUV itself, that is, the energy consumption of all routes in the selected route must not exceed the maximum energy carried by the AUV itself;
约束条件(2):Constraints (2):
约束条件(2)表明:不同AUV到达航路相交点的时间不能相同,即不同航路之间不存在时间冲突点;Constraint condition (2) shows that: the arrival time of different AUVs at the intersection point of the route cannot be the same, that is, there is no time conflict point between different routes;
约束条件(3):每个任务只能被分配或执行一次,即任务具有唯一性;Constraint (3): Each task can only be assigned or executed once, that is, the task is unique;
把所有的航路放入一个m×m的元胞数组A中,根据约束条件(3)可知AUV不能到达相同的任务点,因此组合出n(其中)条协同航路规划方案,然后计算出n中每个方案的时间最优矩阵Ta={Ta1,Ta2,…,Tan}以及隐蔽性最优矩阵Ma={Ma1,Ma2,…,Man},利用公式C=p·Ta+q·Ma计算每个方案的协同目标函数值C,其中p为设定的时间影响因子,q为设定的隐蔽性影响因子,并且根据目标函数值进行从小到大排列所有的航路方案,并存入数组S中,其中目标函数值最小值对应的航路方案为最优的路线方案;Put all the routes into a cell array A of m×m. According to the constraint condition (3), it can be seen that the AUV cannot reach the same mission point, so the combination of n (where ) collaborative route planning schemes, and then calculate the time optimal matrix Ta={Ta 1 ,Ta 2 ,…,Ta n } and concealment optimal matrix Ma={Ma 1 ,Ma 2 ,… ,Ma n }, use the formula C=p·Ta+q·Ma to calculate the collaborative objective function value C of each scheme, where p is the set time influence factor, q is the set concealment influence factor, and according to the target Arrange all the route schemes from small to large according to the function value, and store them in the array S, wherein the route scheme corresponding to the minimum value of the objective function value is the optimal route scheme;
步骤5:从数组S中选择最优的路线方案进行航路冲突判定,包括碰撞冲突判定和能量冲突判定,当存在碰撞冲突或能量冲突时,执行步骤6,否则输出当前路线方案,多AUV三维协同航路规划结束;Step 5: Select the optimal route plan from the array S for route conflict determination, including collision conflict determination and energy conflict determination. When there is a collision conflict or energy conflict, perform step 6, otherwise output the current route plan, multi-AUV three-dimensional coordination Route planning is completed;
其中,碰撞冲突判定具体为:Among them, the collision conflict judgment is specifically as follows:
(1)将所有航路Hi中各条航路用线段的方式进行表示,将Hi,1表示为第i条航路中所有的离散线段,Hi,1=(X1,1,X1,2,…,X1,n1),其中X1,1表示为此航路中的两个相邻离散点组成的线段,n1代表航路是由n1条线段组合而成的,因此航路重新表示为Hi={(X1,1,X1,2,…,X1,n1),(X,2,1,,X2,2,…,X2,n2)…(Xm,1,Xm,2,…,Xm,nm)};(1) Express all routes H i in the form of line segments, express H i,1 as all discrete line segments in the i-th route, H i,1 = (X 1,1 ,X 1, 2 ,…,X 1,n1 ), where X 1,1 represents a line segment composed of two adjacent discrete points in this route, and n1 means that the route is composed of n1 line segments, so the route is re-expressed as H i = {(X 1,1 ,X 1,2 ,…,X 1,n1 ), (X, 2,1 ,,X 2,2 ,…,X 2,n2 )…(X m,1 ,X m,2 ,...,X m,nm )};
(2)已知航路中相邻离散点组成的线段的线性函数表达式为y=kx+b,因此将航路重新表示为Hi={(K1,1,K1,2,…,K1,n1),(K2,1,K2,2,…,K2,n2),…,(Km,1,Km,2,…,Km,nm)},其中Km,nm表示Xm,nm这条线段的函数表达式;(2) The linear function expression of the line segment composed of adjacent discrete points in the known route is y=kx+b, so the route is re-expressed as H i ={(K 1,1 ,K 1,2 ,…,K 1,n1 ),(K 2,1 ,K 2,2 ,…,K 2,n2 ),…,(K m,1 ,K m,2 ,…,K m,nm )}, where K m, nm represents the function expression of the line segment X m,nm ;
(3)然后将每条航路中的每一条线段与其他航路中的每一条线段进行比较,求出在线段范围内的所有交点,即航路交点Di={Di,1,Di,2,…Di,m};计算两艘AUV到达交点处的时间差,当到达交点处的时间差小于设定的安全时间差,则存在碰撞冲突;(3) Then compare each line segment in each route with each line segment in other routes, and find all intersection points within the range of the line segment, that is, route intersection D i ={D i,1 ,D i,2 ,...D i,m }; Calculate the time difference between two AUVs arriving at the intersection point. When the time difference between arriving at the intersection point is less than the set safety time difference, there is a collision conflict;
能量冲突判定具体为:设航行能耗Ni={Ni,1,Ni,2,…Ni,m},判断方案中最大的航路能耗Max(Ni)与AUV所携带的额定能量P之间的关系,当Max(Ni)>P,则存在能量冲突;The determination of energy conflict is specifically as follows: set navigation energy consumption N i ={N i,1 ,N i,2 ,…N i,m }, determine the maximum route energy consumption Max(N i ) in the scheme and the rated energy consumption carried by the AUV The relationship between energy P, when Max(N i )>P, there is an energy conflict;
步骤6:进行航路重规划,将存在碰撞冲突或能量冲突的路线方案从数组S中去除,并执行步骤5。Step 6: Carry out route re-planning, remove route schemes with collision conflicts or energy conflicts from the array S, and perform step 5.
本发明还包括:The present invention also includes:
1.步骤1中进行三维环境建模具体为:1. The 3D environment modeling in step 1 is specifically as follows:
首先将进行AUV航路规划的真实海洋环境空间划分为lon×lat×depth个网格,网格划分原则为:经度方向和纬度方向的网格间距与航行区域网格水深数据文件的分辨率保持一致,深度方向的网格间距不应超过航行区域最大深度值的1/10;First, divide the real ocean environment space for AUV route planning into lon×lat×depth grids. The grid division principle is: the grid spacing in the longitude direction and latitude direction is consistent with the resolution of the navigation area grid water depth data file , the grid spacing in the depth direction should not exceed 1/10 of the maximum depth value of the navigation area;
进行AUV航行区域的地形场建模:是通过读取航行区域的网格水深数据文件来实现的,将航行空间中从文件中读取的水深值以下的区域设为禁航区,禁航区的网格中所包含的AUV速度数据、海流数据以及隐蔽场引力数据设为0,用于约束AUV的航行深度;Modeling the terrain field of the AUV navigation area: it is realized by reading the grid water depth data file of the navigation area, and the area below the water depth value read from the file in the navigation space is set as a no-go area, no-go area The AUV speed data, ocean current data, and concealed field gravity data contained in the grid are set to 0, which is used to constrain the AUV's navigation depth;
进行AUV航行区域的海流场建模:是通过读取航行区域的网格海流数据文件来实现的,如果海流数据文件的分辨率低于水深数据文件的分辨率,则对海流数据文件进行线性插值处理,反之,对海流数据文件进行稀疏化处理,直至海流数据文件的分辨率与水深数据文件的分辨率相同,使得每个网格都包含当前位置的海流信息;深度方向的海流大小设为0;The current field modeling of the AUV navigation area is realized by reading the grid current data file of the navigation area. If the resolution of the current data file is lower than the resolution of the water depth data file, the current data file is linearly Interpolation processing, on the contrary, the ocean current data file is sparsely processed until the resolution of the ocean current data file is the same as that of the water depth data file, so that each grid contains the ocean current information of the current position; the ocean current size in the depth direction is set to 0;
进行AUV航行区域的隐蔽场建模:首先读取航行区域的网格温度、盐度以及深度数据文件,进行和海流数据文件相同的处理,然后依据AUV航行区域内的温度、盐度以及深度信息计算出航行区域不同网格点的声速信息c,已知探测声呐所处的位置,计算出在AUV航行区域的声速影响下的声传播损失,所述声传播损失的计算具体为:Carry out concealed field modeling in the AUV navigation area: first read the grid temperature, salinity, and depth data files of the navigation area, perform the same processing as the ocean current data file, and then use the temperature, salinity, and depth information in the AUV navigation area Calculate the sound velocity information c of different grid points in the navigation area, know the position of the detection sonar, and calculate the sound propagation loss under the influence of the sound velocity in the AUV navigation area, and the calculation of the sound propagation loss is specifically:
AUV航行区域的声传播损失TL为:The sound transmission loss TL in the AUV navigation area is:
TL=20logR+α·RTL=20logR+α·R
其中R为距离,α为吸收系数,β为设定的声速影响系数;where R is the distance, α is the absorption coefficient, β is the set sound velocity influence coefficient;
已知探测声纳的优质因数为FOM,根据声传播损失与声呐品质因数的关系将航行空间划分为暴露区、危险区以及隐蔽区,具体为:It is known that the figure of merit of the detection sonar is FOM, and according to the relationship between the sound propagation loss and the sonar figure of merit, the navigation space is divided into exposed areas, dangerous areas and concealed areas, specifically:
当TL>FOM,该区域为隐蔽区;When TL>FOM, the area is a hidden area;
当时,该区域为暴露区;when , this area is the exposure area;
当该区域为危险区;when This area is a danger zone;
通过计算航行区域的不同区域网格点对AUV的引力值进行航行区域的隐蔽场建模,具体为:The hidden field modeling of the navigation area is carried out by calculating the gravitational value of the AUV in different regional grid points of the navigation area, specifically:
在航行空间中,用引力场来表示隐蔽场,划分的隐蔽区、危险区以及暴露区对AUV的引力大小不同,隐蔽区的引力设定为固定值F=f,其中f为隐蔽性对AUV航路规划算法影响的因子,设定为航行区域最大海流值的2倍,暴露区的引力为0,危险区的引力设为:In the navigation space, the concealed field is represented by a gravitational field. The divided concealed area, dangerous area, and exposed area have different gravitational forces on the AUV. The gravitational force of the concealed area is set to a fixed value F=f, where f is the concealment effect on the AUV. The factor affected by the route planning algorithm is set to be twice the maximum current value in the navigation area, the gravity of the exposed area is 0, and the gravity of the dangerous area is set as:
其中R为AUV的当前位置与声呐位置的距离,RTL为TL=FOM时的位置距离。Where R is the distance between the current position of the AUV and the sonar position, and R TL is the position distance when TL=FOM.
2.步骤1中水平集函数初始化具体为:2. The initialization of the level set function in step 1 is specifically:
设水平集函数为φ(X,t),其中X代表一条光滑的封闭的曲线,在t时刻时,用演化曲线X(t)来代表当前时刻的零水平集曲线φ(X,t)=0,将零水平集曲线初始化为以起点为圆心,r为半径的圆,设置d设为窄带宽度,其中d>r,水平集函数为一个距离函数,在零水平集曲线内的水平集函数值为负值,在零水平集曲线外的水平集函数值为正值,为保证零水平集曲线能够到达终点,水平集函数只向水平集函数值为正值的方向进行演化,水平集函数初始化为:Let the level set function be φ(X,t), where X represents a smooth closed curve, and at time t, use the evolution curve X(t) to represent the zero level set curve at the current moment φ(X,t)= 0, initialize the zero level set curve as a circle with the starting point as the center and r as the radius, set d as the narrow band width, where d>r, the level set function is a distance function, and the level set function in the zero level set curve The value of the level set function is negative, and the value of the level set function outside the zero level set curve is positive. In order to ensure that the zero level set curve can reach the end point, the level set function only evolves in the direction where the value of the level set function is positive. The level set function Initialized as:
φ(X,t)=0:(x-X1)2+(y-Y1)2+(z-Z1)2=r2 φ(X,t)=0:(xX 1 ) 2 +(yY 1 ) 2 +(zZ 1 ) 2 =r 2
其中x,y,z为网格点坐标,(X1,Y1,Z1)为起点坐标。Wherein x, y, z are grid point coordinates, (X 1 , Y 1 , Z 1 ) are starting point coordinates.
3.步骤2中水平集函数演化数学模型具体为:3. The mathematical model of level set function evolution in step 2 is specifically:
其中,V(H,t)为海流、U为AUV自身速度,M为隐蔽场大小,H代表航行空间中的一个位置向量;为航行方向,为吸引力的方向。Among them, V(H,t) is the ocean current, U is the speed of the AUV itself, M is the size of the concealment field, and H represents a position vector in the navigation space; is the sailing direction, the direction of attraction.
本发明的有益效果:本发明提出的多AUV三维协同航路规划方法中,把水平集算法进行改进处理应用到其中,设计的协同方案首先要求所有的AUV能够充分利用海流最快地到达终点,并且在航路规划中能够躲避声呐探测,规划出隐蔽性最优的协同航路,相比传统的水平集算法更加灵活,能够在一次迭代循环过程中同时规划出多条最优航路,并且加入海流以及声速的影响,设计考虑隐蔽性环节,提高在实际海洋环境中实用性,并且实现了AUV三维协同航路在遇到冲突的情况下可以进行航路重规划环节。Beneficial effects of the present invention: In the multi-AUV three-dimensional collaborative route planning method proposed by the present invention, the level set algorithm is improved and applied to it, and the designed collaborative scheme first requires that all AUVs can make full use of the ocean current to reach the destination as quickly as possible, and In route planning, it can avoid sonar detection and plan a cooperative route with the best concealment. Compared with the traditional level set algorithm, it is more flexible. It can plan multiple optimal routes in an iterative cycle at the same time, and add ocean currents and sound speeds. The design considers the concealment link, improves the practicability in the actual marine environment, and realizes that the AUV three-dimensional collaborative route can carry out route re-planning in case of conflict.
附图说明Description of drawings
图1是本发明提出的考虑海洋环境影响的多AUV三维协同航路规划方法流程图。Fig. 1 is a flow chart of the multi-AUV three-dimensional cooperative route planning method considering the influence of the marine environment proposed by the present invention.
图2是本发明采用的改进水平集算法流程图。Fig. 2 is a flow chart of the improved level set algorithm used in the present invention.
图3是本发明中协同规划方案流程图。Fig. 3 is a flowchart of the collaborative planning solution in the present invention.
具体实施方式Detailed ways
下面结合附图对本发明具体实施方式做进一步说明。The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
本发明的一种多AUV三维协同航路规划方法,步骤主要包括:A multi-AUV three-dimensional collaborative route planning method of the present invention, the steps mainly include:
步骤1:基于电子海图和海流、温度、盐度以及深度信息构建三维航路规划环境空间,建立地形场、海流场以及隐蔽场;进行三维环境抽象建模和水平集函数初始化,将水平集函数初始化为一个以起点为圆心,r为半径的圆形函数,设置合适的窄带宽度d,使水平集函数在窄带内进行演化。Step 1: Construct the 3D route planning environment space based on the electronic chart and current, temperature, salinity and depth information, and establish the terrain field, current field and concealment field; carry out the abstract modeling of the 3D environment and the initialization of the level set function, and the level set The function is initialized as a circular function with the starting point as the center and r as the radius, and an appropriate narrow band width d is set to make the level set function evolve within the narrow band.
步骤2:水平集函数演化。水平集函数在AUV自身速度、海流速度以及隐蔽场共同影响下进行演化,根据改进的水平集函数演化方程进行演化,到达窄带边缘时,重构水平集函数和窄带宽度,将水平集函数重新初始化为一个新的距离函数,并且计算新的窄带宽度,判断是否到达每个终点,每到达一个终点就保存到达此终点前的所有零水平集曲线。Step 2: Level set function evolution. The level set function evolves under the joint influence of the AUV's own speed, ocean current speed and concealment field, and evolves according to the improved level set function evolution equation. When reaching the edge of the narrow band, the level set function and narrow band width are reconstructed, and the level set function is reinitialized It is a new distance function, and calculate the new narrow band width, judge whether to reach each end point, and save all zero level set curves before reaching this end point every time an end point is reached.
步骤3:最优航路点选择。从每个零水平集曲线的终点处进行前向迭代找出每条零水平集曲线的梯度方向点,直到起点,顺序连接所有的梯度方向点,即可得到所有的最优航路。Step 3: Optimal waypoint selection. From the end point of each zero level set curve, forward iterations are performed to find the gradient direction point of each zero level set curve until the starting point, and all the gradient direction points are sequentially connected to obtain all the optimal routes.
步骤4:协同航路分配方案设计。在本发明中,协同航路方案考虑AUV航行时间和隐蔽性融合最优的情况。因此方案设计时需要选择出所有AUV协同航路方案中航行时间以及隐蔽性最优的航路组合方案,为了进一步考虑隐蔽性的问题,要求所有AUV需要同时到达终点,因此每艘AUV出发时间不相同。Step 4: Coordinate route allocation scheme design. In the present invention, the cooperative route scheme considers the optimal fusion of AUV flight time and concealment. Therefore, when designing the scheme, it is necessary to select the route combination scheme with the best sailing time and concealment among all AUV cooperative route schemes. In order to further consider the concealment issue, all AUVs are required to arrive at the destination at the same time, so the departure time of each AUV is different.
步骤5:航路冲突判定和重规划。航路冲突判定包括AUV航路过程中发生相撞以及AUV由于能量问题无法到达目标点的情况。相撞问题主要是多艘AUV在位置以及时间上同时出现交集的情况,能量问题主要是AUV所携带的能量无法支持AUV到达目标点,出现两种情况中的任意一种,此协同组合作废,进行航路重规划,重规划主要是选择方案中次优的航路组合,然后再次进行冲突判定。Step 5: Route conflict determination and re-planning. The route conflict determination includes the collision during the AUV route and the situation that the AUV cannot reach the target point due to energy problems. The collision problem is mainly caused by the simultaneous intersection of multiple AUVs in terms of position and time. The energy problem is mainly caused by the fact that the energy carried by the AUV cannot support the AUV to reach the target point. If any of the two situations occurs, this synergy combination will be invalid. Carry out route re-planning, re-planning is mainly to select the suboptimal route combination in the plan, and then perform conflict determination again.
步骤6:当满足算法选择出不发生冲突的航路组合方案时输出当前选择的协同航路,多AUV三维协同航路规划结束。Step 6: Output the currently selected collaborative route when the algorithm is satisfied to select a non-conflicting route combination plan, and the multi-AUV three-dimensional collaborative route planning ends.
结合附图1至附图3,本发明具体步骤如下:In conjunction with accompanying drawing 1 to accompanying drawing 3, the concrete steps of the present invention are as follows:
步骤1:三维环境建模和水平集函数初始化。Step 1: 3D environment modeling and level set function initialization.
步骤1.1基于电子海图和海洋环境信息构建三维航路规划环境空间Step 1.1 Construct three-dimensional route planning environment space based on electronic chart and marine environment information
首先将进行AUV航路规划的真实海洋环境空间划分为lon×lat×depth个网格。网格划分原则为:经度方向和纬度方向的网格间距与航行区域网格水深数据文件的分辨率保持一致,深度方向的网格间距不应超过航行区域最大深度值的1/10,其次进行AUV航行区域的地形场、海流场以及隐蔽场的建模。Firstly, the real marine environment space for AUV route planning is divided into lon×lat×depth grids. The principle of grid division is: the grid spacing in the longitude direction and latitude direction is consistent with the resolution of the grid water depth data file in the navigation area, and the grid spacing in the depth direction should not exceed 1/10 of the maximum depth value in the navigation area. Modeling of terrain field, current field and concealment field in AUV navigation area.
AUV航行区域的地形场的建模是通过读取航行区域的网格水深数据文件来实现的,将航行空间中从文件中读取的水深值以下的区域设为禁航区,禁航区的网格中所包含的AUV速度数据、海流数据以及隐蔽场引力数据设为0,用于约束AUV的航行深度,保障AUV的安全性。The modeling of the terrain field in the AUV navigation area is realized by reading the grid water depth data file of the navigation area. The area below the water depth value read from the file in the navigation space is set as a no-navigation area. The AUV speed data, ocean current data and concealed field gravity data contained in the grid are set to 0, which is used to constrain the AUV's navigation depth and ensure the safety of the AUV.
AUV航行区域的海流场建模是通过读取航行区域的网格海流数据文件来实现的,如果海流数据文件的分辨率低于水深数据文件的分辨率,则对海流数据文件进行线性插值处理,反之,对海流数据文件进行稀疏化处理,直至海流数据文件的分辨率与水深数据文件的分辨率相同,使得每个网格都包含当前位置的海流信息;深度方向的海流大小设为0。The ocean current field modeling in the AUV navigation area is realized by reading the grid ocean current data file in the navigation area. If the resolution of the ocean current data file is lower than the resolution of the water depth data file, linear interpolation is performed on the ocean current data file , on the contrary, the current data file is sparsely processed until the resolution of the current data file is the same as that of the water depth data file, so that each grid contains the current information of the current position; the size of the current in the depth direction is set to 0.
AUV航行区域的隐蔽场建模:首先读取航行区域的网格温度、盐度以及深度数据文件,进行和海流数据文件相同的处理,然后依据AUV航行区域内的温度、盐度以及深度信息计算出航行区域的声速信息,已知探测声呐所处的位置,计算出在AUV航行区域的声速影响下的声传播损失,已知探测声纳的优质因数为FOM,根据声传播损失与声呐品质因数的关系将航行空间划分为暴露区、危险区以及隐蔽区,通过计算航行区域的不同区域网格点对AUV的引力值进行航行区域的隐蔽场建模。Concealed field modeling in the AUV navigation area: first read the grid temperature, salinity, and depth data files in the navigation area, perform the same processing as the current data file, and then calculate based on the temperature, salinity, and depth information in the AUV navigation area The sound velocity information of the navigation area, the position of the detection sonar is known, and the sound propagation loss under the influence of the sound velocity of the AUV navigation area is calculated. It is known that the figure of merit of the detection sonar is FOM. The relationship between the navigation space is divided into exposed area, dangerous area and hidden area, and the hidden field modeling of the navigation area is carried out by calculating the gravitational value of the AUV in different areas of the navigation area.
(1)声速计算(1) Sound velocity calculation
根据AUV航行区域的温度、盐度、以及深度数据,依据常规的声速公式得到AUV航行区域的不同网格点的声速c的大小。According to the temperature, salinity, and depth data of the AUV navigation area, the sound velocity c of different grid points in the AUV navigation area is obtained according to the conventional sound velocity formula.
(2)声传播损失以及航行区域隐蔽场引力的计算(2) Calculation of sound propagation loss and concealed field gravity in navigation area
AUV航行区域的声传播损失TL为:The sound transmission loss TL in the AUV navigation area is:
TL=20logR+α·RTL=20logR+α·R
其中R为距离,α为吸收系数,β为声速影响系数设为0.5。where R is the distance, α is the absorption coefficient, β is the speed of sound influence coefficient set to 0.5.
当TL>FOM,该区域为隐蔽区;When TL>FOM, the area is a hidden area;
当时,该区域为暴露区;when , this area is the exposure area;
当该区域为危险区;when This area is a danger zone;
在航行空间中,用引力场来表示隐蔽场,划分的隐蔽区、危险区以及暴露区对AUV的引力大小不同。隐蔽区的引力设定为固定值F=f,其中f为隐蔽性对AUV航路规划算法影响的因子,设定为航行区域最大海流值的2倍,暴露区的引力为0,危险区的引力设为:In the navigation space, the gravitational field is used to represent the hidden field, and the divided hidden area, dangerous area and exposed area have different gravitational forces on AUV. The gravity of the hidden area is set to a fixed value F=f, where f is the factor that the concealment affects the AUV route planning algorithm, which is set to be twice the maximum current value in the navigation area, the gravity of the exposed area is 0, and the gravity of the dangerous area is 0. Set to:
其中R为AUV的当前位置与声呐位置的距离,RTL为TL=FOM时的位置距离。Where R is the distance between the current position of the AUV and the sonar position, and R TL is the position distance when TL=FOM.
隐蔽区对AUV的引力最大,AUV规划航路时最容易选择进入隐蔽区;危险区的引力随着AUV与声呐的距离的增大而增加;暴露区对AUV的引力为0,AUV在规划航路时,一般不选择进入暴露区,除非起始点在暴露区。The hidden area has the largest gravitational force on the AUV, and the AUV is the easiest to choose to enter the hidden area when planning the route; the gravitational force in the dangerous area increases with the increase of the distance between the AUV and the sonar; , generally do not choose to enter the exposed area, unless the starting point is in the exposed area.
步骤1.2水平集函数初始化Step 1.2 Level set function initialization
设水平集函数为φ(X,t),其中X代表一条光滑的封闭的曲线,在t时刻时,用演化曲线X(t)来代表当前时刻的零水平集曲线φ(X,t)=0。将零水平集曲线初始化为以起点为圆心,r为半径的圆,设置d设为窄带宽度,其中d>r。水平集函数为一个距离函数,在零水平集曲线内的水平集函数值为负值,在零水平集曲线外的水平集函数值为正值,为保证零水平集曲线能够到达终点,水平集函数只向水平集函数值为正值的方向进行演化。水平集函数初始化为:Let the level set function be φ(X,t), where X represents a smooth closed curve, and at time t, use the evolution curve X(t) to represent the zero level set curve at the current moment φ(X,t)= 0. Initialize the zero-level-set curve as a circle centered at the starting point and radius r, and set d to the width of the narrow band, where d>r. The level set function is a distance function, the value of the level set function inside the zero level set curve is negative, and the value of the level set function outside the zero level set curve is positive, in order to ensure that the zero level set curve can reach the end point, the level set The function evolves only in the direction where the level set function value is positive. The level set function is initialized as:
φ(X,t)=0:(x-X1)2+(y-Y1)2+(z-Z1)2=r2 φ(X,t)=0:(xX 1 ) 2 +(yY 1 ) 2 +(zZ 1 ) 2 =r 2
其中x,y,z为网格点坐标,X1,Y1,Z1为起点坐标。Among them, x, y, z are grid point coordinates, and X 1 , Y 1 , Z 1 are starting point coordinates.
步骤二:水平集函数演化。Step 2: Level set function evolution.
水平集函数值的演化主要受到海流V(H,t)、AUV自身速度U以及隐蔽场M的影响,其中H代表航行空间中的一个位置向量,在AUV自身速度U影响下的水平集演化函数为:The evolution of the level set function value is mainly affected by the ocean current V(H,t), the AUV's own velocity U, and the concealment field M, where H represents a position vector in the navigation space, and the level set evolution function under the influence of the AUV's own velocity U for:
在海流影响下,水平集演化函数为:Under the influence of ocean currents, the level set evolution function is:
加入隐蔽场的影响,本发明采用人工势场法与水平集算法相结合的方法对隐蔽场在零水平集曲线演化时产生的影响进行处理,即隐蔽性强的区域对零水平集曲线的吸引力更大,隐蔽场大小为M,吸引力的方向为引力方向为零水平集曲线指向航行空间内的不同隐蔽区以及危险区的和方向,因此在隐蔽场作用下的水平集演化函数为:Adding the influence of the hidden field, the present invention adopts the method of combining the artificial potential field method and the level set algorithm to deal with the influence of the hidden field when the zero level set curve evolves, that is, the attraction of the area with strong concealment to the zero level set curve The force is greater, the size of the hidden field is M, and the direction of attraction is The gravitational direction is the sum direction of the zero level set curve pointing to different hidden areas and dangerous areas in the navigation space, so the level set evolution function under the action of the hidden field is:
此外航行方向为综合可得,水平集函数演化数学模型为:In addition, the direction of travel is Comprehensively, the mathematical model of level set function evolution is:
水平集函数依据上述方程在窄带内进行演化,演化的曲线是由多点集合组成的。当水平集曲线演化到窄带边缘时,因为窄带外的水平集函数值没有进行更新,因此需要周期性的通过计算窄带外的点与当前零水平集曲线的距离来计算窄带外的水平集函数值。The level set function evolves in a narrow band according to the above equation, and the evolution curve is composed of multi-point sets. When the level set curve evolves to the edge of the narrow band, because the value of the level set function outside the narrow band is not updated, it is necessary to periodically calculate the value of the level set function outside the narrow band by calculating the distance between the points outside the narrow band and the current zero level set curve .
本发明中提出的改进的水平集算法在进行水平集函数演化时,每当零水平集曲线到达一个终点时,就保存当前终点到起点的所有零水平集曲线,当所有终点处的水平集函数值为零或为负值时,水平集函数演化完成。When the improved level set algorithm proposed in the present invention is performing level set function evolution, whenever the zero level set curve reaches an end point, it saves all zero level set curves from the current end point to the starting point, when the level set function at all end points When the value is zero or negative, the evolution of the level set function is complete.
步骤三:最优航路点选择。Step 3: Optimal waypoint selection.
为了得到时间以及隐蔽性最优航路,AUV在航行过程中的和速度是由AUV的自身速度U、海流速度以及隐蔽场的引力组成。当AUV的航行方向垂直于水平集函数的梯度方向并以速度U航行时,AUV始终位于演化的零水平集曲线上,由于水平集函数梯度方向的任意性,因此如果从起点沿着零水平集曲线的梯度方向进行最优航路求解,会存在多条航路,因此需要从终点处向起点方向找到每一条零水平集曲线上的梯度方向点作为最优航路点。In order to obtain the optimal route of time and concealment, the sum speed of AUV during navigation is composed of AUV's own speed U, ocean current speed and the gravity of concealment field. When the AUV's sailing direction is perpendicular to the gradient direction of the level set function and sails at the speed U, the AUV is always on the evolution zero level set curve. Due to the arbitrariness of the gradient direction of the level set function, if from the starting point along the zero level set The gradient direction of the curve is used to solve the optimal route, and there will be multiple routes, so it is necessary to find the gradient direction point on each zero level set curve from the end point to the starting point as the optimal route point.
步骤四:协同航路方案设计。Step 4: Collaborative route scheme design.
利用改进的水平集算法可以同时规划出m个起点到m个终点的所有的m×m条航路,于是需要从m×m条航路中选择出m条协同航路。规划出的m×m条航路一共存在n条航路组合,其中需要从n种航路组合中选出m个AUV到达m个任务点的m条航路。设定所有航路为H={H1,1,H1,2,…,H1,m;H2,1,H2,2,…,H2,m;…;Hn,1,Hn,2,…,Hn,m},其中Hn,m代表第n种方案中第m艘AUV的航行路线,因此H表示n个方案中的所有AUV的航行路线。Using the improved level set algorithm, all m×m routes from m origins to m destinations can be planned at the same time, so it is necessary to select m cooperative routes from m×m routes. There are n route combinations in the planned m×m routes, among which It is necessary to select m routes for m AUVs to reach m mission points from n route combinations. Set all routes as H={H 1,1 ,H 1,2 ,…,H 1,m ; H 2,1 ,H 2,2 ,…,H 2,m ;…;H n,1 ,H n,2 ,...,H n,m }, where H n,m represents the navigation route of the m-th AUV in the n-th scheme, so H represents the navigation routes of all AUVs in the n-th scheme.
AUV的能耗与AUV自身速度以及航路的长度有关,因此AUV航行能耗设为:The energy consumption of AUV is related to the speed of AUV itself and the length of the route, so the energy consumption of AUV navigation is set as:
其中k代表能耗系数,由AUV自身参数决定的常量,Vax代表AUV自身速度中的X方向分量;Vay代表AUV自身速度中的Y方向分量;Lx=|Lxi+1-Lxi|代表航路的X方向分量的航路长度;Ly=|Lyi+1-Lyi|代表航路的Y方向分量的航路长度。Among them, k represents the energy consumption coefficient, a constant determined by the AUV's own parameters, V ax represents the X-direction component of the AUV's own speed; V ay represents the Y-direction component of the AUV's own speed; L x =|L xi+1 -L xi |represents the route length of the X-direction component of the route; L y =|L yi+1 -L yi |represents the route length of the Y-direction component of the route.
因此得到代表每个组合中所有航路的能量损耗N。The energy loss N representing all routes in each combination is thus obtained.
N={N1,1,N1,2,…,N1,m;N2,1,N2,2,…,N2,m;…;Nn,1,Nn,2,…,Nn,m}。N={N 1,1 ,N 1,2 ,...,N 1,m ; N 2,1 ,N 2,2 ,...,N 2,m ;...;N n,1 ,N n,2 ,... ,N n,m }.
假设选择航路为Hi={Hi,1,Hi,2,…Hi,m},其中航行时间Ti={Ti,1,Ti,2,…Ti,m},航行能耗Ni={Ni,1,Ni,2,…Ni,m},航路隐蔽性大小(航路节点上的所有引力大小之和)为Mi={Mi,1,Mi,2,…Mi,m},航路交点Di={Di,1,Di,2,…Di,m}。Assuming that the selected route is H i ={H i,1 ,H i,2 ,…H i,m }, where the sailing time T i ={T i,1 ,T i,2 ,…T i,m }, the voyage Energy consumption N i ={N i,1 ,N i,2 ,…N i,m }, the concealment of the route (the sum of all gravitational forces on the route nodes) is M i ={M i,1 ,M i ,2 ,...M i,m }, route intersection D i ={D i,1 ,D i,2 ,...D i,m }.
约束条件(1):Constraints (1):
Max{Ni}≤Nmax Max{N i }≤N max
约束条件(1)表明:Nmax代表每个AUV自身所携带的最大能量,说明选择的航路中所有航路的能耗都不得超过AUV自身所携带的最大能量。Constraint condition (1) shows that: N max represents the maximum energy carried by each AUV itself, indicating that the energy consumption of all routes in the selected route must not exceed the maximum energy carried by the AUV itself.
约束条件(2):Constraints (2):
约束条件(2)表明:不同AUV到达航路相交点的时间不能相同,说明不同航路之间不存在时间冲突点[7]。Constraint condition (2) shows that the arrival time of different AUVs at the intersection of routes cannot be the same, indicating that there is no time conflict between different routes [7] .
约束条件(3):每个任务只能被分配或执行一次,说明任务具有唯一性。Constraint (3): Each task can only be assigned or executed once, indicating that the task is unique.
把所有的航路放入一个m×m的元胞数组A中,根据约束条件(3)可知AUV不能到达相同的任务点,因此组合出n(其中)条协同航路规划方案,然后计算出n中每个方案的时间最优矩阵Ta={Ta1,Ta2,…,Tan}以及隐蔽性最优矩阵Ma={Ma1,Ma2,…,Man},利用公式C=p·Ta+q·Ma计算每个方案的协同目标函数值C,其中p为时间影响因子设为0.4,q为隐蔽性影响因子设为0.6,并且根据目标函数值进行从小到大排列所有的航路方案,并存入数组S中,从数组S中选择最优的方案进行冲突判定,其中目标函数值最小值对应的航路方案为最优的路线方案。Put all the routes into a cell array A of m×m. According to the constraint condition (3), it can be seen that the AUV cannot reach the same mission point, so the combination of n (where ) collaborative route planning schemes, and then calculate the time optimal matrix Ta={Ta 1 ,Ta 2 ,…,Ta n } and concealment optimal matrix Ma={Ma 1 ,Ma 2 ,… ,Ma n }, use the formula C=p·Ta+q·Ma to calculate the collaborative objective function value C of each scheme, where p is the time influence factor and is set to 0.4, q is the concealment influence factor and is set to 0.6, and according to the objective Arrange all the route plans from small to large according to the function value, and store them in the array S, select the optimal plan from the array S for conflict determination, and the route plan corresponding to the minimum value of the objective function value is the optimal route plan.
步骤五:航路冲突判定和重规划。Step 5: Route conflict determination and re-planning.
步骤5.1航路冲突Step 5.1 Airway Conflicts
由于改进水平集算法规划出的航路是由不等个离散点组成的,航线是由所有相邻的离散点的连线组成的,所以本发明在判断航路相交点的问题上可采用逐段比较法。Since the air route planned by the improved level set algorithm is composed of unequal discrete points, and the air route is composed of the connection lines of all adjacent discrete points, so the present invention can adopt section-by-section comparison on the problem of judging the intersecting points of air routes Law.
(1)将所有航路Hi中各条航路用线段的方式进行表示,将Hi,1表示为第i条航路中所有的离散线段,Hi,1=(X1,1,X1,2,…,X1,n1),其中X1,1表示为此航路中的两个相邻离散点组成的线段,n1代表航路是由n1条线段组合而成的,因此航路重新表示为Hi={(X1,1,X1,2,…,X1,n1),(X,2,1,,X2,2,…,X2,n2)…(Xm,1,Xm,2,…,Xm,nm)}。(1) Express all routes H i in the form of line segments, express H i,1 as all discrete line segments in the i-th route, H i,1 = (X 1,1 ,X 1, 2 ,…,X 1,n1 ), where X 1,1 represents a line segment composed of two adjacent discrete points in this route, and n1 means that the route is composed of n1 line segments, so the route is re-expressed as H i = {(X 1,1 ,X 1,2 ,…,X 1,n1 ), (X, 2,1 ,,X 2,2 ,…,X 2,n2 )…(X m,1 ,X m,2 ,...,X m,nm )}.
(2)已知航路中相邻离散点组成的线段的线性函数表达式为y=kx+b,因此将航路重新表示为Hi={(K1,1,K1,2,…,K1,n1),(K2,1,K2,2,…,K2,n2),…,(Km,1,Km,2,…,Km,nm)},其中K1,1表示X1,1这条线段的函数表达式;(2) The linear function expression of the line segment composed of adjacent discrete points in the known route is y=kx+b, so the route is re-expressed as H i ={(K 1,1 ,K 1,2 ,…,K 1,n1 ),(K 2,1 ,K 2,2 ,…,K 2,n2 ),…,(K m,1 ,K m,2 ,…,K m,nm )}, where K 1, 1 represents the function expression of the line segment X 1,1 ;
(3)然后将每条航路中的每一条线段与其他航路中的每一条线段进行比较,求出在线段范围内的所有交点,即航路交点Di={Di,1,Di,2,…Di,m};此外,设航行能耗Ni={Ni,1,Ni,2,…Ni,m},只需要判断方案中最大的航路能耗Max(Ni)小于AUV所携带的额定能量P即可。(3) Then compare each line segment in each route with each line segment in other routes, and find all intersection points within the range of the line segment, that is, route intersection D i ={D i,1 ,D i,2 ,...D i,m }; In addition, assuming navigation energy consumption N i ={N i,1 ,N i,2 ,...N i,m }, it is only necessary to determine the maximum route energy consumption Max(N i ) It should be less than the rated energy P carried by the AUV.
步骤5.2航路重规划Step 5.2 Route re-planning
计算在交点处两艘AUV是否在时间上产生交集;如果存在则两艘AUV在此处发生相撞的概率极大,选择方案中的次优方案,再进行冲突判断,直至选择出AUV不发生冲突的方案;此外,出现能耗冲突问题时,即出现AUV所携带的能量无法支持AUV到达目标点的情况,同样选择方案中的次优方案,再进行冲突判断,直至选择出AUV不发生冲突的方案。Calculate whether the two AUVs intersect in time at the intersection point; if there is, the probability of the two AUVs colliding here is extremely high, choose the suboptimal plan in the plan, and then judge the conflict until the AUV is selected not to happen Conflicting schemes; in addition, when there is an energy conflict problem, that is, the energy carried by the AUV cannot support the AUV to reach the target point, the suboptimal scheme in the scheme is also selected, and then the conflict judgment is made until the AUV is selected without conflict scheme.
步骤六:当满足算法选择出不发生冲突的航路组合方案时输出当前选择的协同航路,多AUV三维协同航路规划结束。Step 6: Output the currently selected collaborative route when the route combination scheme that does not conflict with the algorithm is selected, and the multi-AUV three-dimensional collaborative route planning ends.
本发明通过改进水平集算法,使其可以在航行空间同时规划出多条航路,提高算法的规划效率。同时,提出AUV三维协同航路规划方案,把改进水平集算法应用到其中,并在协同方案设计时要求所有AUV同时到达终点,每艘AUV需要依据延迟时间逐一出发,此外在考虑快速性以及隐蔽性的情况下,设计出隐蔽性与航行时间相融最优的协同规划方案。步骤主要包括:三维环境抽象建模和水平集函数的初始化、水平集函数演化、最优航路点选择、协同航路方案设计、航路冲突判定与重规划、输出规划结果。相比于传统水平集算法,本专利提出的协同航路规划方法考虑了海流以及声速因素的影响,加入冲突判定以及重规划环节,使得协同航路更加安全;同时,三维航路规划的实现相比于二维航路规划更加具有实用性,能够更好的满足实际航行需要。The invention improves the level set algorithm so that multiple air routes can be planned simultaneously in the navigation space, thereby improving the planning efficiency of the algorithm. At the same time, the AUV three-dimensional collaborative route planning scheme is proposed, and the improved level set algorithm is applied to it, and all AUVs are required to arrive at the destination at the same time when designing the collaborative scheme. Each AUV needs to start one by one according to the delay time. In addition, considering the speed and concealment In the case of , a collaborative planning scheme with the optimal combination of concealment and navigation time is designed. The steps mainly include: three-dimensional environment abstract modeling and level set function initialization, level set function evolution, optimal waypoint selection, collaborative route scheme design, route conflict determination and re-planning, and output planning results. Compared with the traditional level set algorithm, the collaborative route planning method proposed in this patent takes into account the influence of ocean currents and sound velocity factors, and adds conflict determination and re-planning links, making the collaborative route safer; at the same time, the realization of three-dimensional route planning is compared to two The dimensional route planning is more practical and can better meet the actual navigation needs.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010197447.8A CN111307159B (en) | 2020-03-19 | 2020-03-19 | Multi-AUV three-dimensional collaborative route planning method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010197447.8A CN111307159B (en) | 2020-03-19 | 2020-03-19 | Multi-AUV three-dimensional collaborative route planning method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111307159A CN111307159A (en) | 2020-06-19 |
CN111307159B true CN111307159B (en) | 2022-11-18 |
Family
ID=71157398
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010197447.8A Active CN111307159B (en) | 2020-03-19 | 2020-03-19 | Multi-AUV three-dimensional collaborative route planning method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111307159B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112097773B (en) * | 2020-08-26 | 2022-09-02 | 中国人民解放军军事科学院国防科技创新研究院 | Collaborative route planning device for autonomous underwater vehicle formation |
CN115493591B (en) * | 2022-06-13 | 2025-02-14 | 中国人民解放军海军航空大学 | A multi-route planning method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014200959A2 (en) * | 2013-06-10 | 2014-12-18 | Honda Motor Co., Ltd. | Improved method and system for tank refilling using active fueling speed control |
CN108829134A (en) * | 2018-07-03 | 2018-11-16 | 中国船舶重工集团公司第七〇九研究所 | A kind of real-time automatic obstacle avoiding method of deepwater robot |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2002334708A1 (en) * | 2001-10-01 | 2003-04-14 | Kline And Walker, Llc | Pfn/trac system faa upgrades for accountable remote and robotics control |
US20070276600A1 (en) * | 2006-03-06 | 2007-11-29 | King Timothy I | Intersection collision warning system |
US9031779B2 (en) * | 2012-05-30 | 2015-05-12 | Toyota Motor Engineering & Manufacturing North America, Inc. | System and method for hazard detection and sharing |
CN104777092A (en) * | 2015-04-14 | 2015-07-15 | 电子科技大学 | Printed circuit board service life assessment method based on salt-spray environment test |
US9761000B2 (en) * | 2015-09-18 | 2017-09-12 | Qualcomm Incorporated | Systems and methods for non-obstacle area detection |
CN118884405A (en) * | 2016-09-20 | 2024-11-01 | 应诺维思科技有限公司 | Laser radar system and method for detecting objects using the same |
US10191493B2 (en) * | 2016-09-27 | 2019-01-29 | Baidu Usa Llc | Vehicle position point forwarding method for autonomous vehicles |
CN106503837B (en) * | 2016-10-11 | 2019-09-27 | 哈尔滨工程大学 | A kind of time optimal Route planner based on improvement level set algorithm |
KR102386960B1 (en) * | 2017-01-10 | 2022-04-15 | 씨에이브이에이치 엘엘씨 | Connected Automated Vehicle Road Systems and Methods |
CN106970648B (en) * | 2017-04-19 | 2019-05-14 | 北京航空航天大学 | Unmanned plane multi-goal path plans combined method for searching under the environment of city low latitude |
US10466707B2 (en) * | 2017-12-22 | 2019-11-05 | X Development Llc | Planning robot stopping points to avoid collisions |
CN108680168A (en) * | 2018-04-19 | 2018-10-19 | 哈尔滨工程大学 | A kind of hidden paths planning method of underwater hiding-machine based on transparency and spring layer data |
KR20200010654A (en) * | 2018-06-29 | 2020-01-31 | 현대엠엔소프트 주식회사 | Apparatus for controlling autonomous vehicle and method thereof |
CN110207709B (en) * | 2019-06-25 | 2021-04-20 | 西安交通大学 | Mobile robot path planning method based on parameterized level set |
-
2020
- 2020-03-19 CN CN202010197447.8A patent/CN111307159B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014200959A2 (en) * | 2013-06-10 | 2014-12-18 | Honda Motor Co., Ltd. | Improved method and system for tank refilling using active fueling speed control |
CN108829134A (en) * | 2018-07-03 | 2018-11-16 | 中国船舶重工集团公司第七〇九研究所 | A kind of real-time automatic obstacle avoiding method of deepwater robot |
Also Published As
Publication number | Publication date |
---|---|
CN111307159A (en) | 2020-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112241176B (en) | Path planning and obstacle avoidance control method of underwater autonomous vehicle in large-scale continuous obstacle environment | |
Alam et al. | Design and construction of an autonomous underwater vehicle | |
Liu et al. | Intelligent multi-task allocation and planning for multiple unmanned surface vehicles (USVs) using self-organising maps and fast marching method | |
Li et al. | Path planning technologies for autonomous underwater vehicles-a review | |
CN108319293B (en) | UUV real-time collision avoidance planning method based on LSTM network | |
CN109765929B (en) | UUV real-time obstacle avoidance planning method based on improved RNN | |
Geisbert | Hydrodynamic modeling for autonomous underwater vehicles using computational and semi-empirical methods | |
CN112612290B (en) | Underwater vehicle three-dimensional multi-task path planning method considering ocean currents | |
CN109737970B (en) | A Path Planning Method for Surface Unmanned Vehicle Based on Improved RRT Algorithm | |
CN112462792B (en) | Actor-Critic algorithm-based underwater robot motion control method | |
CN111307159B (en) | Multi-AUV three-dimensional collaborative route planning method | |
CN111307158B (en) | AUV three-dimensional route planning method | |
CN112819255A (en) | Particle swarm-genetic algorithm-based multi-criterion ship route determining method and device, computer equipment and storage medium | |
CN109765890B (en) | A Multi-USV Group Collaborative Collision Avoidance Planning Method Based on Genetic Algorithm | |
CN116578102B (en) | Obstacle avoidance method and device for autonomous underwater vehicle, computer equipment and storage medium | |
CN113124873A (en) | UUV multi-index constraint three-dimensional route planning method based on marine environment information | |
Sun et al. | A novel path planning method for multiple USVs to collect seabed-based data | |
CN115248591A (en) | UUV path planning method based on hybrid initialization gray wolf particle swarm algorithm | |
Maisonneuve et al. | Towards optimal design of ship hull shapes | |
CN115951682B (en) | A global path planning method for AUV with four targets under the condition of ocean currents | |
Wang et al. | Route planning and tracking for ships based on the ECDIS platform | |
Guo et al. | Mission-driven path planning and design of submersible unmanned ship with multiple navigation states | |
Gao et al. | An improved genetic algorithm for island route planning | |
CN115143970A (en) | An obstacle avoidance method and system for underwater vehicle based on threat assessment | |
Gong et al. | A mutation operator self-adaptive differential evolution particle swarm optimization algorithm for USV navigation |
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 |