CN117406717A - Polar region ship dynamic path planning method with double-objective optimization of distance and risk - Google Patents
Polar region ship dynamic path planning method with double-objective optimization of distance and risk Download PDFInfo
- Publication number
- CN117406717A CN117406717A CN202311279499.XA CN202311279499A CN117406717A CN 117406717 A CN117406717 A CN 117406717A CN 202311279499 A CN202311279499 A CN 202311279499A CN 117406717 A CN117406717 A CN 117406717A
- Authority
- CN
- China
- Prior art keywords
- node
- grid
- risk
- value
- cost function
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 45
- 230000008569 process Effects 0.000 claims description 21
- 239000011159 matrix material Substances 0.000 claims description 13
- 238000005457 optimization Methods 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 9
- 230000006872 improvement Effects 0.000 claims description 7
- KDYFGRWQOYBRFD-UHFFFAOYSA-N succinic acid Chemical compound OC(=O)CCC(O)=O KDYFGRWQOYBRFD-UHFFFAOYSA-N 0.000 claims description 3
- 230000011218 segmentation Effects 0.000 claims description 2
- 239000004576 sand Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 9
- 230000009977 dual effect Effects 0.000 description 2
- 238000012502 risk assessment Methods 0.000 description 2
- 238000010845 search algorithm Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000003643 water by type Substances 0.000 description 1
Landscapes
- Navigation (AREA)
Abstract
Description
技术领域Technical field
本发明涉及极地海域船舶安全航行路径规划领域,具体为一种距离和风险双目标优化的极地船舶动态路径规划方法。The invention relates to the field of safe navigation path planning for ships in polar sea areas, and is specifically a dynamic path planning method for polar ships with dual-objective optimization of distance and risk.
背景技术Background technique
在极地航行中,由于海洋和自然地理环境特殊因素,使得船舶极地航行安全尤为重要,可靠的路径规划需求也变得越来越高。虽然已有大量关于船舶航线规划的研究,但是缺乏在极地海域的应用。In polar navigation, due to the special factors of the ocean and natural geographical environment, the safety of ships in polar navigation is particularly important, and the demand for reliable path planning is becoming higher and higher. Although there has been a lot of research on ship route planning, there is a lack of application in polar waters.
路径规划方法可以根据栅格的使用情况分为基于栅格地图和不基于栅格地图的方法。其中基于栅格地图的路径规划算法中A*和Dijkstra使用最为频繁,且均适用于静态环境,由于搜索方向的限制,不基于栅格地图的规划算法如遗传算法、RRT等被广泛的应用于船舶航线规划。极地船舶路径规划不同于其他海船路径规划,它需要综合考虑海冰密集度、海冰厚度等冰情以及船舶冰级信息。然而极地船舶所处的环境海冰数据时刻在变化,导致其通航指数发生变化,这就要求路径重新规划的速度足够快,以满足船舶航行实时性的要求,其中D*Lite动态路径规划算法原理简单,容易实现,满足实时航道下的船舶重新规划的要求。Path planning methods can be divided into raster map-based and non-raster map-based methods according to the use of rasters. Among the path planning algorithms based on raster maps, A* and Dijkstra are most frequently used, and both are suitable for static environments. Due to limitations in search directions, planning algorithms not based on raster maps, such as genetic algorithms and RRT, are widely used. Ship route planning. Polar ship path planning is different from other sea-going ship path planning in that it requires comprehensive consideration of ice conditions such as sea ice density, sea ice thickness, and ship ice class information. However, the environmental sea ice data of polar ships are changing all the time, causing their navigation index to change. This requires that the path re-planning speed is fast enough to meet the real-time requirements of ship navigation. Among them, the principle of D*Lite dynamic path planning algorithm Simple and easy to implement, it meets the requirements of ship re-planning in real-time waterways.
但是在栅格化环境中,如果直接将传统D*Lite算法应用于船舶路径规划中,利用四邻域或者八邻域的搜索方法搜索路径,这样生成的路径不仅不平滑,导致路径不具有实用性,且不符合极地海域情况。However, in a rasterized environment, if the traditional D*Lite algorithm is directly applied to ship path planning and the four-neighborhood or eight-neighborhood search method is used to search for the path, the path generated in this way will not only be unsmooth, but also make the path impractical. , and does not conform to the conditions in polar seas.
发明内容Contents of the invention
为解决传统路径规划算法中存在的考虑参数单一无法直接应用于极地船舶路径规划,节点扩展范围太大存在大量重复计算节点导致算法计算效率低,规划出来的路径有大量拐点、路径不平滑的问题,本发明公开了一种距离和风险双目标优化的极地船舶动态路径规划方法,实现了将影响极地航行安全的因素加入算法中,通过POLARI系统与改进的D*lite算法进行结合,实现安全和距离双目标优化的动态路径规划,在缩短路径长度的同时提高了路径安全性,可操作性强,提高了动态路径规划算法的适用性。In order to solve the problems in the traditional path planning algorithm, a single parameter cannot be directly applied to polar ship path planning. The node expansion range is too large and there are a large number of repeated calculation nodes, resulting in low computational efficiency of the algorithm. The planned path has a large number of inflection points and the path is not smooth. , the present invention discloses a polar ship dynamic path planning method with distance and risk dual-objective optimization, which realizes adding factors that affect polar navigation safety into the algorithm, and combines the POLARI system with the improved D*lite algorithm to achieve safety and security. The dynamic path planning of distance dual-objective optimization improves path safety while shortening the path length, has strong operability, and improves the applicability of the dynamic path planning algorithm.
具体方案如下所述:The specific plan is as follows:
一种距离和风险双目标优化的极地船舶动态路径规划方法,A dynamic path planning method for polar ships with dual-objective optimization of distance and risk,
S1:构建栅格环境地图并计算各栅格中航行的综合通航风险值RIOV:获取规划路径区域的的海冰经纬度数据、海冰类型数据和海冰密集度数据,利用所述海冰经纬度数据构建由大小相同的栅格构成的栅格环境地图,选定船舶V进行航行,利用所述海冰类型数据在POLARIS系统中查找船舶V在各类型海冰下的船舶航行风险指数RVV,T,将所述船舶航行风险指数RVV,T与所述海冰密集度数据的乘积之和进行加权计算得到复杂冰况下船舶V在各栅格中航行的综合通航风险值RIOV;S1: Construct a grid environment map and calculate the comprehensive navigation risk value of navigation in each grid. RIO V : Obtain the sea ice longitude and latitude data, sea ice type data and sea ice density data in the planned path area, and use the sea ice longitude and latitude The data constructs a grid environment map composed of grids of the same size, selects the ship V for navigation, and uses the sea ice type data to find the ship navigation risk index RV V of the ship V under various types of sea ice in the POLARIS system. T , the sum of the products of the ship navigation risk index RV V, T and the sea ice density data is weighted and calculated to obtain the comprehensive navigation risk value RIO V of the ship V sailing in each grid under complex ice conditions;
S2:进行栅格分类并引入安全系数ω:根据综合通航风险值RIOV将所述栅格环境地图中栅格分类成危险栅格、风险栅格、自由栅格;设定常数ω作为安全系数,根据所述栅格分类的类型和安全系数对所述综合通航风险值RIOV进行分段处理得到分类栅格通航风险值RIO’;S2: Carry out grid classification and introduce safety factor ω: classify the grids in the grid environment map into dangerous grids, risk grids and free grids according to the comprehensive navigation risk value RIO V ; set the constant ω as the safety factor , perform segmentation processing on the comprehensive navigation risk value RIO V according to the type and safety factor of the grid classification to obtain the classified grid navigation risk value RIO';
S3:将D*lite算法中的节点和节点变量引入所述栅格环境地图,所述节点包括起始节点、目标节点和中间节点,所述节点变量包括边缘代价函数c(s,s’)、代价函数rhs(s)、代价函数估计值g(s)和启发函数h(s,s’),对所述节点变量中的边缘代价函数c(s,s’)和代价函数rhs(s)进行改进;S3: Introduce the nodes and node variables in the D*lite algorithm into the grid environment map. The nodes include the starting node, the target node and the intermediate node. The node variables include the edge cost function c(s,s') , cost function rhs(s), cost function estimate g(s) and heuristic function h(s,s'), for the edge cost function c(s,s') and cost function rhs(s) in the node variables ) to make improvements;
S31:对边缘代价函数c(s,s’)进行改进:将D*lite算法中边缘代价函数c(s,s’)的自变量从节点连线距离改进为单位栅格距离,将沿栅格水平或垂直方向移动一个栅格产生的单位栅格距离定义为1,沿栅格对角线方向移动一个栅格产生单位栅格距离定义为将节点s和其相邻节点s’之间产生的单位栅格距离之和作为改进后的边缘代价函数c’(s,s’);S31: Improve the edge cost function c(s,s'): Improve the independent variable of the edge cost function c(s,s') in the D*lite algorithm from the node connection distance to the unit grid distance. The unit grid distance generated by moving one grid horizontally or vertically is defined as 1, and the unit grid distance generated by moving one grid diagonally along the grid is defined as The sum of the unit grid distances generated between node s and its adjacent node s' is used as the improved edge cost function c'(s,s');
S32:对代价函数rhs(s)进行改进:将所述D*lite算法中的代价函数rsh(s)作为路径代价,在所述路径代价中引入S2所述分类栅格通航风险值RIO’作为风险代价,利用路径代价权重I1和风险代价权重I2对所述路径代价和风险代价进行加权求和得到改进后的代价函数rhs’(s);S32: Improve the cost function rhs(s): use the cost function rsh(s) in the D*lite algorithm as the path cost, and introduce the classified grid navigation risk value RIO' in S2 into the path cost as Risk cost, use the path cost weight I 1 and the risk cost weight I 2 to perform a weighted sum of the path cost and risk cost to obtain the improved cost function rhs'(s);
S4:改进节点扩展邻域进行节点扩展:邻域基于D*lite算法中节点扩展过程创建优先队列U,将S3所述目标节点放入所述优先队列U中开始对周围节点进行节点扩展,将D*lite算法中节点扩展的范围从8邻域改进为32邻域,所述32邻域为所述栅格环境地图中各节点的周围节点中32个不同方向的节点区域;S4: Improve the node expansion neighborhood for node expansion: the neighborhood creates a priority queue U based on the node expansion process in the D*lite algorithm, puts the target node described in S3 into the priority queue U and starts node expansion of surrounding nodes. The range of node expansion in the D*lite algorithm is improved from 8 neighborhoods to 32 neighborhoods. The 32 neighborhoods are 32 node areas in different directions among the surrounding nodes of each node in the grid environment map;
S5:最小化代价函数rhs’(s)值得到最优路径:利用S32所述改进后的边缘代价函数c’(s,s’)和S33所述改进后的代价函数rhs’(s)依次对所述栅格环境地图中各中间节点和起始节点进行节点扩展并得到各节点的代价函数rhs’(s)值最小值,将所述起始节点和目标节点中各路径的节点代价函数rhs’(s)值之和最小的路径作为最优路径;S5: Minimize the value of the cost function rhs'(s) to obtain the optimal path: use the improved edge cost function c'(s,s') described in S32 and the improved cost function rhs'(s) described in S33 in sequence Perform node expansion on each intermediate node and starting node in the raster environment map and obtain the minimum value of the cost function rhs'(s) of each node, and add the node cost function of each path in the starting node and target node. The path with the smallest sum of rhs'(s) values is regarded as the optimal path;
S6:重新规划最优路径:所述船舶V从初始节点沿S5所述最优路径开始移动,每移动一个节点检查栅格环境地图中是否出现新的障碍物即是否出现新的危险栅格,如果出现新的危险栅格则更新危险栅格所在节点和受影响节点的所述节点变量,并重复S5步骤重新规划所述最优路径,直到船舶V航行到目标位置。S6: Replan the optimal path: The ship V starts to move from the initial node along the optimal path in S5. Each time a node is moved, it is checked whether new obstacles appear in the grid environment map, that is, whether new dangerous grids appear. If a new dangerous grid appears, update the node variables of the node where the dangerous grid is located and the affected nodes, and repeat step S5 to re-plan the optimal path until the ship V sails to the target location.
优选的,S1中船舶在各栅格航行过程中的所述综合通航风险值RIOV计算过程为:Preferably, the calculation process of the comprehensive navigation risk value RIO V of the ship in each grid navigation process in S1 is:
RIOV=∑CT×RVV,T RIO V =∑C T ×RV V,T
其中,V表示船舶类型,T表示海冰类型,CT是指栅格内T类型海冰的密集度,取值范围是[0,1];RVV,T是指船舶V在T类型海冰覆盖区域航行的船舶航行风险指数,RIOV为复杂冰况下船舶V在各栅格中航行的综合通航风险值。Among them, V represents the ship type, T represents the sea ice type, C T refers to the density of T type sea ice in the grid, and the value range is [0,1]; RV V, T refers to the situation of ship V in T type sea ice. The navigation risk index of ships sailing in ice-covered areas, RIO V is the comprehensive navigation risk value of ship V sailing in each grid under complex ice conditions.
优选的,S2中栅格分类的方法为:将S1所述综合通航风险值RIOV小于0的栅格标记为危险栅格,将所述危险栅格周围第一层的8个栅格标记为风险栅格,未标记的栅格则为自由栅格。Preferably, the grid classification method in S2 is: mark the grids whose comprehensive navigation risk value RIOV is less than 0 in S1 as dangerous grids, and mark the 8 grids on the first layer around the dangerous grids as risks. Grids, unlabeled grids are free grids.
优选的,S2中所述栅格通航风险值RIO’的表现形式为:Preferably, the grid navigation risk value RIO’ described in S2 is expressed in the following form:
其中,RIO风险是风险栅格对应的综合通航风险值,RIO自由是自由栅格对应的综合通航风险值,RIO危险是危险栅格对应的综合通航风险值。Among them, RIO risk is the comprehensive navigation risk value corresponding to the risk grid, RIO freedom is the comprehensive navigation risk value corresponding to the free grid, and RIO danger is the comprehensive navigation risk value corresponding to the danger grid.
优选的,S4所述32邻域中各节点之间的位置关系用7*7矩阵N32中各元素的不同取值来表示,所述矩阵N32的表现方式为:Preferably, the positional relationship between the nodes in the 32-neighborhood described in S4 is represented by different values of each element in the 7*7 matrix N 32. The expression of the matrix N 32 is:
其中,7*7矩阵N32中最中心的元素即第四行第四列的元素代表当前节点S,其他元素分别代表前节点S周围三层内对应元素位置的邻域,所述矩阵N32中元素值为1的元素对应的邻域为所述当前节点S的32个可扩展邻域。Among them, the most central element in the 7*7 matrix N 32 , that is, the element in the fourth row and fourth column represents the current node S, and the other elements respectively represent the neighborhood of the corresponding element position in the three layers around the previous node S. In the matrix N32 The neighborhood corresponding to the element with an element value of 1 is the 32 extendable neighborhoods of the current node S.
优选的,S31改进后得到的边缘代价函数c’(s,s’)为:Preferably, the edge cost function c’(s,s’) obtained after the improvement of S31 is:
其中,s和s’为互为相邻节点,节点s可以向节点s’的位置进行移动,xs和ys分别为节点s的横、纵坐标值,xs’和ys’分别为节点s’的横、纵坐标值。Among them, s and s' are adjacent nodes, and node s can move to the position of node s'. x s and y s are the abscissa and ordinate values of node s respectively. x s' and y s' are respectively The horizontal and vertical coordinate values of node s'.
优选的,S32所述的改进后的代价函数rhs’(s)为:Preferably, the improved cost function rhs’(s) described in S32 is:
其中,s为当前节点,RIO’为S2所述分类栅格通航风险值RIO’,Succ(s)为可以从当下节点s行进到的所有其它节点的集合,I1为路径代价权重,I2为海冰风险代价权重,c’(s,s’)为S31所述改进后的边缘函数,g(s’)为节点s’处的函数估计值。Among them, s is the current node, RIO' is the navigation risk value RIO' of the classified grid described in S2, Succ(s) is the set of all other nodes that can be traveled from the current node s, I 1 is the path cost weight, I 2 is the sea ice risk cost weight, c'(s,s') is the improved edge function described in S31, and g(s') is the function estimate at node s'.
优选的,S4所述节点扩展的实现过程为:Preferably, the implementation process of node expansion described in S4 is:
S41:创建优先队列U并设置键值k,选择所述优先队列U中键值K最小的节点作为扩展节点,将所述扩展节点周围32邻域内的节点作为待扩展节点;S41: Create a priority queue U and set the key value k, select the node with the smallest key value K in the priority queue U as the expansion node, and use the nodes in the 32-neighborhood around the expansion node as the node to be expanded;
S42:以目标节点为起始点,将目标节点的代价函数值rhs’(s)初始化为0,将除目标节点之外其他节点的代价函数rhs’(s)初始化为∞,将所有节点的键值K和代价函数值g(s)初始值为∞,将所述目标节点放入优先队列U,对所述优先队列U中的扩展节点进行赋值并对其待扩展节点的代价函数值rhs’(s)和键值K进行更新,将更新后rhs’(s)值和g(s)值不相等的待扩展节点放入优先队列U,继续进行扩展,直至待扩展节点为起始节点。S42: Taking the target node as the starting point, initialize the cost function value rhs'(s) of the target node to 0, initialize the cost function rhs'(s) of other nodes except the target node to ∞, and set the keys of all nodes to ∞. The initial value of the value K and the cost function value g(s) is ∞. Put the target node into the priority queue U, assign a value to the expansion node in the priority queue U and assign the cost function value rhs' of the node to be expanded. (s) and key value K are updated, and the nodes to be expanded whose updated rhs'(s) value and g(s) value are not equal are put into the priority queue U, and the expansion continues until the node to be expanded becomes the starting node.
优选的,S42所述对扩展节点进行赋值过程为:将所述扩展节点的自身的代价函数值rhs’(s)赋值给其自身的代价函数值估计值g(s);Preferably, the process of assigning values to the extension node in S42 is: assigning the extension node's own cost function value rhs'(s) to its own cost function value estimate g(s);
优选的,S42所述对待扩展节点的代价函数值rhs’(s)和键值K进行更新的过程为:利用所述扩展节点的函数值估计值g(s)和所述改进后的边缘代价函数c’(s,s’)的和计算所述扩展节点的代价函数值rhs’(s),利用所述扩展节点的代价函数值rhs’(s)和启发函数h(s,s’)计算所述扩展节点的K值。Preferably, the process of updating the cost function value rhs'(s) and key value K of the node to be extended in S42 is: using the function value estimate g(s) of the extended node and the improved edge cost The sum of functions c'(s,s') calculates the cost function value rhs'(s) of the expansion node, using the cost function value rhs'(s) of the expansion node and the heuristic function h(s,s') Calculate the K value of the extended node.
本发明具有如下有益效果:The invention has the following beneficial effects:
本发明提出了一种改进型D*Lite极地船舶动态路径规划方法,结合POLARIS在传统D*lite算法中引入船舶在复杂冰况下航行的综合通航风险值RIOV,并结合路径代价权重I1和风险代价权重I2构建风险、距离双目标优化的路径规划算法,从而得到更加平滑、安全性更高、且更具可实施性的风险、距离双优化路径。具体S1根据获取的海冰数据建立栅格环境地图,利用POLARIS系统对各个栅格的通航风险值进行量化,并根据量化结果对栅格做初步分类。能够更精准的对环境内的危险栅格进行判断和定位,并在环境出现变化时及时对路径及时作出优化;S2:对S1所述的栅格环境地图进行栅格分类引入安全系数W:通过将与危险栅格相邻的8个栅格标记为风险栅格,同时在风险栅格引入安全系数ω将所述风险栅格的综合航行风险值扩大ω倍,降低了所述风险栅格被选为最优路径的概率,从而避免了船舶斜穿过障碍物顶点的危险情况发生,大大提高了船舶在实际航行中的安全性;S3:扩展搜索邻域:在栅格环境中,利用N32矩阵的形式将目标点的邻域搜索方向从8邻域扩展至32邻域,使得船舶在航行过程中能够沿32个不同的方向进行移动,将船舶航行方向夹角缩小,从而大大提高了路径平滑度。32邻域搜索算法与48邻域和56邻域算法的路径平滑度、路径长度时间长度表现相当的情况下32邻域搜索算法实现复杂度更低,效率更高;最大化的提高了单次邻域的搜索范围,减少了整个航行过程中的搜索次数,缩短了路径的长度和航行时间。S4:构建海冰风险下各相邻节点之间的边缘函数c’(N,Nm),利用栅格环境地图中的沿栅格水平垂直移动和沿栅格对角线移动的距离不同,将沿32邻域对应的不同方向移动所产生的实际距离代价进行区分,避免了在进行节点扩展时出现多个路径代价相等的扩展节点而导致的搜索效率降低的情况发生,同时也更接近实际航行中的路径代价值,大大提高了计算效率和精度;S5:构建海冰风险环境下各节点的综合代价函数rhs1(N):通过引入海冰综合航行风险值,将高纬度、天气、海冰等对船舶实际航行影响较大的因素加入到D*lite算法中,在原始D*lite算法原来的距离代价作为路径代价,将海冰风险环境下各栅格的分类通航风险值RIO’作为风险代价,并引入路径代价权重I1和风险代价权重I2构建综合代价函数rhs1(s),将原始D*算法中仅仅考虑距离代价改进为将距离和风险产生的代价同时进行考量,达到距离和风险双优化的目的,使得预规划的路径在实际航行能规避大多数高风险海冰区域,大大提高了极地海域航行的安全性。S6:利用D*lite算法和S4、S5构建的边缘函数c’(N,Nm)和综合代价函数rhs1(N)对上所述栅格环境地图中所有节点的综合代价函数值进行相邻节点迭代,在每一次相邻节点迭代中选择综合代价函数值最小的节点作为下一次迭代的迭代起点,使得传递给下一次迭代的前继节点的综合代价函数值尽可能的小,从而得到距离和风险双目标优化的最优路径,并在环境改变时及时更新各节点参数信息快速对路径进行重新规划,能够在兼顾航行效率的同时降低航行风险。The present invention proposes an improved D*Lite polar ship dynamic path planning method. Combined with POLARIS, the comprehensive navigation risk value RIO V of ships sailing under complex ice conditions is introduced into the traditional D*lite algorithm, and combined with the path cost weights I1 and The risk cost weight I2 constructs a path planning algorithm for dual-objective optimization of risk and distance, thereby obtaining a smoother, safer, and more implementable dual-optimization path of risk and distance. Specifically, S1 builds a grid environment map based on the acquired sea ice data, uses the POLARIS system to quantify the navigation risk value of each grid, and makes a preliminary classification of the grids based on the quantification results. It can more accurately judge and locate dangerous grids in the environment, and optimize the path in time when the environment changes; S2: Grid classification of the grid environment map described in S1 introduces a safety factor W: Passed The eight grids adjacent to the danger grid are marked as risk grids, and a safety factor ω is introduced in the risk grid to expand the comprehensive navigation risk value of the risk grid by ω times, reducing the risk of the risk grid being The probability of selecting the optimal path avoids the dangerous situation of the ship passing through the obstacle vertex diagonally, which greatly improves the safety of the ship in actual navigation; S3: Expand the search neighborhood: In the grid environment, use N32 The matrix form expands the neighborhood search direction of the target point from 8 neighborhoods to 32 neighborhoods, allowing the ship to move in 32 different directions during navigation, reducing the angle between the ship's sailing directions, thus greatly improving the path Smoothness. When the path smoothness, path length and time performance of the 32-neighborhood search algorithm and the 48-neighborhood and 56-neighborhood algorithms are equivalent, the 32-neighborhood search algorithm achieves lower complexity and higher efficiency; maximizing the single-time improvement The search range of the neighborhood reduces the number of searches during the entire voyage, shortening the length of the path and the voyage time. S4: Construct the edge function c'(N,N m ) between adjacent nodes under sea ice risk, using the different distances between horizontal and vertical movement along the grid and diagonal movement along the grid in the grid environment map, Distinguishing the actual distance costs generated by moving in different directions corresponding to the 32 neighborhoods avoids the reduction in search efficiency caused by multiple expansion nodes with equal path costs during node expansion, and is also closer to reality. The path cost value during navigation greatly improves the calculation efficiency and accuracy; S5: Construct the comprehensive cost function rhs 1 (N) of each node under the sea ice risk environment: By introducing the sea ice comprehensive navigation risk value, high latitude, weather, Sea ice and other factors that have a greater impact on the actual navigation of ships are added to the D*lite algorithm. The original distance cost of the original D*lite algorithm is used as the path cost, and the classified navigation risk value RIO' of each grid under the sea ice risk environment is As the risk cost, the path cost weight I1 and the risk cost weight I2 are introduced to construct the comprehensive cost function rhs 1 (s). The original D* algorithm only considers the distance cost and improves it to consider the cost of distance and risk at the same time to achieve the distance With the purpose of dual optimization of risk and risk, the pre-planned route can avoid most high-risk sea ice areas in actual navigation, greatly improving the safety of navigation in polar seas. S6: Use the D*lite algorithm and the edge function c'(N,N m ) and comprehensive cost function rhs 1 (N) constructed by S4 and S5 to compare the comprehensive cost function values of all nodes in the raster environment map mentioned above. Neighbor node iteration, in each adjacent node iteration, select the node with the smallest comprehensive cost function value as the iteration starting point of the next iteration, so that the comprehensive cost function value passed to the predecessor node of the next iteration is as small as possible, thus obtaining The optimal path is optimized with the dual objectives of distance and risk, and when the environment changes, the parameter information of each node is updated in a timely manner to quickly re-plan the path, which can reduce navigation risks while taking into account navigation efficiency.
附图说明Description of the drawings
图1一种改进型D*Lite极地船舶动态路径规划方法流程图。Figure 1. Flowchart of an improved D*Lite polar ship dynamic path planning method.
图2POLARIS系统各类型船舶冰区航行风险评估RV值查找表。Figure 2 POLARIS system’s RV value lookup table for ice navigation risk assessment of various types of ships.
图3风险栅格与危险栅格的位置关系图。Figure 3 Position relationship diagram between risk grid and hazard grid.
图4传统D*lite算法边缘路径计算过程图。Figure 4 Traditional D*lite algorithm edge path calculation process diagram.
图5对边缘代价函数进行改进后的边缘路径计算过程图。Figure 5 is a diagram of the edge path calculation process after improving the edge cost function.
图6传统4邻域D*Lite算法路径图。Figure 6 Traditional 4-neighbor D*Lite algorithm path diagram.
图7改进后的32邻域D*Lite算法路径图。Figure 7. Improved 32-neighborhood D*Lite algorithm path diagram.
图8采用不同算法进行路径规划的路径长度对比图。Figure 8 Comparison of path lengths using different algorithms for path planning.
图9采用不同算法进行路径规划的路径拐点数对比图。Figure 9 Comparison of the number of path inflection points using different algorithms for path planning.
图10采用不同算法进行路径规划的海冰风险数对比图。Figure 10 Comparison of sea ice risk numbers using different algorithms for path planning.
具体实施方式Detailed ways
下面结合附图和实施例对本发明做进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and examples.
一种距离和风险双目标优化的极地船舶动态路径规划方法,具体方法的整体流程图如图1所示,具体步骤如下:A dynamic path planning method for polar ships with dual-objective optimization of distance and risk. The overall flow chart of the specific method is shown in Figure 1. The specific steps are as follows:
S1:构建栅格环境地图并计算各栅格中航行的综合通航风险值RIOV:获取规划路径区域的的海冰经纬度数据、海冰类型数据和海冰密集度数据,利用所述海冰经纬度数据构建由大小相同的栅格构成的栅格环境地图,选定船舶V进行航行,利用所述海冰类型数据在POLARIS系统中查找船舶V在各类型海冰下的船舶航行风险指数RVV,T,POLARIS系统中各类型船舶冰区航行风险评估RV表如图2所示,将所述船舶航行风险指数RVV,T与所述海冰密集度数据的乘积之和进行加权计算得到复杂冰况下船舶V在各栅格中航行的综合通航风险值RIOV;S1: Construct a grid environment map and calculate the comprehensive navigation risk value of navigation in each grid. RIO V : Obtain the sea ice longitude and latitude data, sea ice type data and sea ice density data in the planned path area, and use the sea ice longitude and latitude The data constructs a grid environment map composed of grids of the same size, selects the ship V for navigation, and uses the sea ice type data to find the ship navigation risk index RV V of the ship V under various types of sea ice in the POLARIS system. T , the RV table of ice navigation risk assessment for various types of ships in the POLARIS system is shown in Figure 2. The complex ice is calculated by weighting the sum of the products of the ship navigation risk index RV V, T and the sea ice density data. The comprehensive navigation risk value RIO V of ship V sailing in each grid under the conditions;
S2:进行栅格分类并引入安全系数ω:根据综合通航风险值RIOV将所述栅格环境地图中栅格分类成危险栅格、风险栅格、自由栅格;风险栅格和危险栅格的位置关系图如图3所述,设定常数ω作为安全系数,根据所述栅格分类的类型和安全系数对所述综合通航风险值RIOV进行分段处理得到分类栅格通航风险值RIO’;S2: Carry out grid classification and introduce safety factor ω: classify the grids in the grid environment map into dangerous grids, risk grids, and free grids according to the comprehensive navigation risk value RIO V ; risk grids and dangerous grids The position relationship diagram of is shown in Figure 3. The constant ω is set as the safety factor. The comprehensive navigation risk value RIO V is processed segmentally according to the type and safety factor of the grid classification to obtain the classified grid navigation risk value RIO. ';
S3:将D*lite算法中的节点和节点变量引入所述栅格环境地图,所述节点包括起始节点、目标节点和中间节点,所述节点变量包括边缘代价函数c(s,s’)、代价函数rhs(s)、代价函数估计值g(s)和启发函数h(s,s’),对所述节点变量中的边缘代价函数c(s,s’)和代价函数rhs(s)进行改进;S3: Introduce the nodes and node variables in the D*lite algorithm into the grid environment map. The nodes include the starting node, the target node and the intermediate node. The node variables include the edge cost function c(s,s') , cost function rhs(s), cost function estimate g(s) and heuristic function h(s,s'), for the edge cost function c(s,s') and cost function rhs(s) in the node variables ) to make improvements;
S31:对边缘代价函数c(s,s’)进行改进:传统D*lite算法边缘路径计算过程如图4所示,将D*lite算法中边缘代价函数c(s,s’)的自变量从节点连线距离改进为单位栅格距离,将沿栅格水平或垂直方向移动一个栅格产生的单位栅格距离定义为1,沿栅格对角线方向移动一个栅格产生单位栅格距离定义为将节点s和其相邻节点s’之间产生的单位栅格距离之和作为改进后的边缘代价函数c’(s,s’),对边缘代价函数进行改进后的边缘路径计算过程图,如图5所示;S31: Improve the edge cost function c(s,s'): The traditional D*lite algorithm edge path calculation process is shown in Figure 4. The independent variables of the edge cost function c(s,s') in the D*lite algorithm are The distance from the node connection is improved to the unit grid distance. The unit grid distance generated by moving one grid along the horizontal or vertical direction of the grid is defined as 1, and the unit grid distance generated by moving one grid along the diagonal direction of the grid. defined as The sum of the unit grid distances generated between node s and its adjacent node s' is used as the improved edge cost function c'(s,s'), and the improved edge path calculation process diagram of the edge cost function is: As shown in Figure 5;
S32:对代价函数rhs(s)进行改进:将所述D*lite算法中的代价函数rsh(s)作为路径代价,在所述路径代价中引入S2所述分类栅格通航风险值RIO’作为风险代价,利用路径代价权重I1和风险代价权重I2对所述路径代价和风险代价进行加权求和得到改进后的代价函数rhs’(s);S32: Improve the cost function rhs(s): use the cost function rsh(s) in the D*lite algorithm as the path cost, and introduce the classified grid navigation risk value RIO' in S2 into the path cost as Risk cost, use the path cost weight I 1 and the risk cost weight I 2 to perform a weighted sum of the path cost and risk cost to obtain the improved cost function rhs'(s);
S4:改进节点扩展邻域进行节点扩展:邻域基于D*lite算法中节点扩展过程创建优先队列U,将S3所述目标节点放入所述优先队列U中开始对周围节点进行节点扩展,将D*lite算法中节点扩展的范围从8邻域改进为32邻域,所述32邻域为所述栅格环境地图中各节点的周围节点中32个不同方向的节点区域,图6为传统D*lite算法邻域图,图7为将邻域范围邻域改进为32邻域后的路径图;S4: Improve the node expansion neighborhood for node expansion: the neighborhood creates a priority queue U based on the node expansion process in the D*lite algorithm, puts the target node described in S3 into the priority queue U and starts node expansion of surrounding nodes. The range of node expansion in the D*lite algorithm is improved from 8 neighborhoods to 32 neighborhoods. The 32 neighborhoods are 32 node areas in different directions among the surrounding nodes of each node in the raster environment map. Figure 6 shows the traditional D*lite algorithm neighborhood diagram, Figure 7 is the path diagram after improving the neighborhood range neighborhood to 32 neighbors;
S5:最小化代价函数rhs’(s)值得到最优路径:利用S32所述改进后的边缘代价函数c’(s,s’)和S33所述改进后的代价函数rhs’(s)依次对所述栅格环境地图中各中间节点和起始节点进行节点扩展并得到各节点的代价函数rhs’(s)值最小值,将所述起始节点和目标节点中各路径的节点代价函数rhs’(s)值之和最小的路径作为最优路径;S5: Minimize the value of the cost function rhs'(s) to obtain the optimal path: use the improved edge cost function c'(s,s') described in S32 and the improved cost function rhs'(s) described in S33 in sequence Perform node expansion on each intermediate node and starting node in the raster environment map and obtain the minimum value of the cost function rhs'(s) of each node, and add the node cost function of each path in the starting node and target node. The path with the smallest sum of rhs'(s) values is regarded as the optimal path;
S6:重新规划最优路径:所述船舶V从初始节点沿S5所述最优路径开始移动,每移动一个节点检查栅格环境地图中是否出现新的障碍物即是否出现新的危险栅格,如果出现新的危险栅格则更新危险栅格所在节点和受影响节点的所述节点变量,并重复S5步骤重新规划所述最优路径,直到船舶V航行到目标位置,采用不同算法进行路径规划的路径长度对比情况、路径拐点数对比情况以及海冰风险数对比情况分别如图8,9,10所示。S6: Replan the optimal path: The ship V starts to move from the initial node along the optimal path in S5. Each time a node is moved, it is checked whether new obstacles appear in the grid environment map, that is, whether new dangerous grids appear. If a new dangerous grid appears, update the node variables of the node where the dangerous grid is located and the affected node, and repeat step S5 to re-plan the optimal path until the ship V sails to the target location, using different algorithms for path planning. The comparison of path length, path inflection point number and sea ice risk number are shown in Figures 8, 9 and 10 respectively.
优选的,S1中船舶在各栅格航行过程中的所述综合通航风险值RIOV计算过程为:Preferably, the calculation process of the comprehensive navigation risk value RIO V of the ship in each grid navigation process in S1 is:
RIOV=∑CT×RVV,T RIO V =∑C T ×RV V,T
其中,V表示船舶类型,T表示海冰类型,CT是指栅格内T类型海冰的密集度,取值范围是[0,1];RVV,T是指船舶V在T类型海冰覆盖区域航行的船舶航行风险指数,RIOV为复杂冰况下船舶V在各栅格中航行的综合通航风险值。Among them, V represents the ship type, T represents the sea ice type, C T refers to the density of T type sea ice in the grid, and the value range is [0,1]; RV V, T refers to the situation of ship V in T type sea ice. The navigation risk index of ships sailing in ice-covered areas, RIO V is the comprehensive navigation risk value of ship V sailing in each grid under complex ice conditions.
优选的,S2中栅格分类的方法为:将S1所述综合通航风险值RIOV小于0的栅格标记为危险栅格,将所述危险栅格周围第一层的8个栅格标记为风险栅格,未标记的栅格则为自由栅格。Preferably, the grid classification method in S2 is: mark the grids whose comprehensive navigation risk value RIOV is less than 0 in S1 as dangerous grids, and mark the 8 grids on the first layer around the dangerous grids as risks. Grids, unlabeled grids are free grids.
优选的,S2中所述栅格通航风险值RIO’的表现形式为:Preferably, the grid navigation risk value RIO’ described in S2 is expressed in the following form:
其中,RIO风险是风险栅格对应的综合通航风险值,RIO自由是自由栅格对应的综合通航风险值,RIO危险是危险栅格对应的综合通航风险值。Among them, RIO risk is the comprehensive navigation risk value corresponding to the risk grid, RIO freedom is the comprehensive navigation risk value corresponding to the free grid, and RIO danger is the comprehensive navigation risk value corresponding to the danger grid.
优选的,S4所述32邻域中各节点之间的位置关系用7*7矩阵N32中各元素的不同取值来表示,所述矩阵N32的表现方式为:Preferably, the positional relationship between the nodes in the 32-neighborhood described in S4 is represented by different values of each element in the 7*7 matrix N 32. The expression of the matrix N 32 is:
其中,7*7矩阵N32中最中心的元素即第四行第四列的元素代表当前节点S,其他元素分别代表前节点S周围三层内对应元素位置的邻域,所述矩阵N32中元素值为1的元素对应的邻域为所述当前节点S的32个可扩展邻域。Among them, the most central element in the 7*7 matrix N 32 , that is, the element in the fourth row and fourth column represents the current node S, and the other elements respectively represent the neighborhood of the corresponding element position in the three layers around the previous node S. In the matrix N32 The neighborhood corresponding to the element with an element value of 1 is the 32 extendable neighborhoods of the current node S.
优选的,S31改进后得到的边缘代价函数c’(s,s’)为:Preferably, the edge cost function c’(s,s’) obtained after the improvement of S31 is:
其中,s和s’为互为相邻节点,节点s可以向节点s’的位置进行移动,xs和ys分别为节点s的横、纵坐标值,xs’和ys’分别为节点s’的横、纵坐标值。Among them, s and s' are adjacent nodes, and node s can move to the position of node s'. x s and y s are the abscissa and ordinate values of node s respectively. x s' and y s' are respectively The horizontal and vertical coordinate values of node s'.
优选的,S32所述的改进后的代价函数rhs’(s)为:Preferably, the improved cost function rhs’(s) described in S32 is:
其中,s为当前节点,RIO’为S2所述分类栅格通航风险值RIO’,Succ(s)为可以从当下节点s行进到的所有其它节点的集合,I1为路径代价权重,I2为海冰风险代价权重,c’(s,s’)为S31所述改进后的边缘函数,g(s’)为节点s’处的函数估计值。Among them, s is the current node, RIO' is the navigation risk value RIO' of the classified grid described in S2, Succ(s) is the set of all other nodes that can be traveled from the current node s, I 1 is the path cost weight, I 2 is the sea ice risk cost weight, c'(s,s') is the improved edge function described in S31, and g(s') is the function estimate at node s'.
优选的,S4所述节点扩展的实现过程为:Preferably, the implementation process of node expansion described in S4 is:
S41:创建优先队列U并设置键值k,选择所述优先队列U中键值K最小的节点作为扩展节点,将所述扩展节点周围32邻域内的节点作为待扩展节点;S41: Create a priority queue U and set the key value k, select the node with the smallest key value K in the priority queue U as the expansion node, and use the nodes in the 32-neighborhood around the expansion node as the node to be expanded;
S42:以目标节点为起始点,将目标节点的代价函数值rhs’(s)初始化为0,将除目标节点之外其他节点的代价函数rhs’(s)初始化为∞,将所有节点的键值K和代价函数值g(s)初始值为∞,将所述目标节点放入优先队列U,对所述优先队列U中的扩展节点进行赋值并对其待扩展节点的代价函数值rhs’(s)和键值K进行更新,将更新后rhs’(s)值和g(s)值不相等的待扩展节点放入优先队列U,继续进行扩展,直至待扩展节点为起始节点。S42: Taking the target node as the starting point, initialize the cost function value rhs'(s) of the target node to 0, initialize the cost function rhs'(s) of other nodes except the target node to ∞, and set the keys of all nodes to ∞. The initial value of the value K and the cost function value g(s) is ∞. Put the target node into the priority queue U, assign a value to the expansion node in the priority queue U and assign the cost function value rhs' of the node to be expanded. (s) and key value K are updated, and the nodes to be expanded whose updated rhs'(s) value and g(s) value are not equal are put into the priority queue U, and the expansion continues until the node to be expanded becomes the starting node.
优选的,S42所述对扩展节点进行赋值过程为:将所述扩展节点的自身的代价函数值rhs’(s)赋值给其自身的代价函数值估计值g(s);Preferably, the process of assigning values to the extension node in S42 is: assigning the extension node's own cost function value rhs'(s) to its own cost function value estimate g(s);
优选的,S42所述对待扩展节点的代价函数值rhs’(s)和键值K进行更新的过程为:利用所述扩展节点的函数值估计值g(s)和所述改进后的边缘代价函数c’(s,s’)的和计算所述扩展节点的代价函数值rhs’(s),利用所述扩展节点的代价函数值rhs’(s)和启发函数h(s,s’)计算所述扩展节点的K值。Preferably, the process of updating the cost function value rhs'(s) and key value K of the node to be extended in S42 is: using the function value estimate g(s) of the extended node and the improved edge cost The sum of functions c'(s,s') calculates the cost function value rhs'(s) of the expansion node, using the cost function value rhs'(s) of the expansion node and the heuristic function h(s,s') Calculate the K value of the extended node.
应当指出,以上所述具体实施方式可以使本领域的技术人员更全面地理解本发明创造,但不以任何方式限制本发明创造。因此,尽管本说明书参照附图和实施例对本发明创造已进行了详细的说明,但是,本领域技术人员应当理解,仍然可以对本发明创造进行修改或者等同替换,总之,一切不脱离本发明创造的精神和范围的技术方案及其改进,其均应涵盖在本发明创造专利的保护范围当中。It should be noted that the above-described specific embodiments can enable those skilled in the art to understand the present invention more comprehensively, but do not limit the present invention in any way. Therefore, although the present invention has been described in detail with reference to the accompanying drawings and examples, those skilled in the art will understand that the present invention can still be modified or equivalently substituted, and in short, nothing departs from the scope of the present invention. Technical solutions and improvements within the spirit and scope of the invention shall be covered by the protection scope of the invention patent.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311279499.XA CN117406717A (en) | 2023-09-28 | 2023-09-28 | Polar region ship dynamic path planning method with double-objective optimization of distance and risk |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202311279499.XA CN117406717A (en) | 2023-09-28 | 2023-09-28 | Polar region ship dynamic path planning method with double-objective optimization of distance and risk |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN117406717A true CN117406717A (en) | 2024-01-16 |
Family
ID=89491751
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202311279499.XA Pending CN117406717A (en) | 2023-09-28 | 2023-09-28 | Polar region ship dynamic path planning method with double-objective optimization of distance and risk |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN117406717A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118730123A (en) * | 2024-09-02 | 2024-10-01 | 上海海事大学 | A dynamic route planning method for polar ships |
| CN119043333A (en) * | 2024-09-05 | 2024-11-29 | 北京师范大学珠海校区 | Method, device and equipment for planning route of sea area with ice at high latitude |
| CN119085657A (en) * | 2024-09-13 | 2024-12-06 | 大连海事大学 | A method for intelligent ship route planning based on improved D-star lite algorithm |
| CN119845265A (en) * | 2024-12-19 | 2025-04-18 | 广东海洋大学 | Unmanned ship path planning method for anchor area based on risk perception |
| CN119984292A (en) * | 2025-04-15 | 2025-05-13 | 中国电子科技集团公司第二十八研究所 | A path planning method based on information grid division |
| CN121026150A (en) * | 2025-10-28 | 2025-11-28 | 齐鲁空天信息研究院 | Unmanned aerial vehicle path planning method apparatus, device and medium |
-
2023
- 2023-09-28 CN CN202311279499.XA patent/CN117406717A/en active Pending
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118730123A (en) * | 2024-09-02 | 2024-10-01 | 上海海事大学 | A dynamic route planning method for polar ships |
| CN118730123B (en) * | 2024-09-02 | 2025-01-28 | 上海海事大学 | A dynamic route planning method suitable for polar ships |
| CN119043333A (en) * | 2024-09-05 | 2024-11-29 | 北京师范大学珠海校区 | Method, device and equipment for planning route of sea area with ice at high latitude |
| CN119085657A (en) * | 2024-09-13 | 2024-12-06 | 大连海事大学 | A method for intelligent ship route planning based on improved D-star lite algorithm |
| CN119845265A (en) * | 2024-12-19 | 2025-04-18 | 广东海洋大学 | Unmanned ship path planning method for anchor area based on risk perception |
| CN119984292A (en) * | 2025-04-15 | 2025-05-13 | 中国电子科技集团公司第二十八研究所 | A path planning method based on information grid division |
| CN119984292B (en) * | 2025-04-15 | 2025-07-04 | 中国电子科技集团公司第二十八研究所 | A path planning method based on information grid division |
| CN121026150A (en) * | 2025-10-28 | 2025-11-28 | 齐鲁空天信息研究院 | Unmanned aerial vehicle path planning method apparatus, device and medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN117406717A (en) | Polar region ship dynamic path planning method with double-objective optimization of distance and risk | |
| CN111060109B (en) | Unmanned ship global path planning method based on improved A-star algorithm | |
| Wang et al. | Application of real-coded genetic algorithm in ship weather routing | |
| CN111026126A (en) | A Multi-objective Planning Method for Unmanned Vehicle Global Path Based on Improved Ant Colony Algorithm | |
| CN113961004A (en) | Pirate area ship route planning method and system, electronic equipment and storage medium | |
| CN112819255B (en) | Multi-criteria ship route determination method, device, computer equipment and readable storage medium | |
| CN114610046B (en) | A dynamic safety trajectory planning method for unmanned vehicles considering dynamic water depth | |
| CN113325867B (en) | Path planning method and device for searching of unmanned aircraft and unmanned aircraft | |
| CN112033413A (en) | Improved A-algorithm combined with environmental information | |
| CN108489491A (en) | A kind of Three-dimensional Track Intelligent planning method of autonomous underwater vehicle | |
| CN118153791A (en) | A route planning method based on genetic algorithm | |
| CN109886499A (en) | A drift ensemble prediction method for marine distress targets considering feedback information | |
| CN114967696B (en) | Unmanned ship global path planning method | |
| CN113050684A (en) | Emergency threat-oriented unmanned aerial vehicle track planning algorithm | |
| CN115146836B (en) | Dynamic optimization method of weather routes based on A-star algorithm | |
| CN109931943A (en) | Unmanned ship global path planning method and electronic equipment | |
| Ou et al. | Hybrid path planning based on adaptive visibility graph initialization and edge computing for mobile robots | |
| CN119642831B (en) | A dynamic planning method for ship paths based on collision risk field | |
| Luo et al. | An energy-efficient path planning method for unmanned surface vehicle in a time-variant maritime environment | |
| Peng et al. | Design of constrained dynamic path planning algorithms in large-scale 3D point cloud maps for UAVs | |
| Mu et al. | Global path planning for unmanned surface vehicles in complex maritime environments considering environmental interference | |
| CN112000126B (en) | A Whale Algorithm-Based Method for Multi-UAV Cooperative Search for Multi-dynamic Targets | |
| Shan | Study on submarine path planning based on modified ant colony optimization algorithm | |
| Tsou | Integration of a geographic information system and evolutionary computation for automatic routing in coastal navigation | |
| Yang et al. | An improved A-star algorithm coupled with graph division and AIS data for ship path planning |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |