CN110501020A - A multi-objective 3D path planning method - Google Patents
A multi-objective 3D path planning method Download PDFInfo
- Publication number
- CN110501020A CN110501020A CN201910803728.0A CN201910803728A CN110501020A CN 110501020 A CN110501020 A CN 110501020A CN 201910803728 A CN201910803728 A CN 201910803728A CN 110501020 A CN110501020 A CN 110501020A
- Authority
- CN
- China
- Prior art keywords
- energy consumption
- distance
- point
- function
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000005265 energy consumption Methods 0.000 claims abstract description 132
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 29
- 238000005457 optimization Methods 0.000 claims abstract description 20
- 230000000739 chaotic effect Effects 0.000 claims description 22
- 238000004364 calculation method Methods 0.000 claims description 15
- 230000035772 mutation Effects 0.000 claims description 5
- 230000008717 functional decline Effects 0.000 claims 1
- 238000004088 simulation Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 4
- 125000004122 cyclic group Chemical group 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 239000000523 sample Substances 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000009022 nonlinear effect Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
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/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3446—Details of route searching algorithms, e.g. Dijkstra, A*, arc-flags, using precalculated routes
-
- 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/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3453—Special cost functions, i.e. other than distance or default speed limit of road segments
- G01C21/3469—Fuel consumption; Energy use; Emission aspects
-
- 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
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种多目标三维路径规划方法,通过建立总估计代价函数F(n),F(n)由当前点到邻点的估计代价函数G(n)和邻点到终点的估计代价函数H(n)求和构成,其中:G(n)用于计算三维空间中当前点到邻点的能耗及路程代价;H(n)包含总能耗和路程,总能耗通过计算邻点到目标节点间的能耗得到,路程通过计算邻点到目标之间的直线距离和曲线距离得到;最后,采用多目标混沌优化算法来解决所述路径规划方法的多目标优化求解问题,能实现兼顾能耗及路程的三维规划,在山地形中找到降低能耗的优化路径,提高智能移动设备的续航里程。
The invention discloses a multi-objective three-dimensional path planning method. By establishing a total estimated cost function F(n), F(n) is an estimated cost function G(n) from a current point to an adjacent point and an estimated cost from an adjacent point to an end point. The function H(n) is summed to form, wherein: G(n) is used to calculate the energy consumption and distance cost from the current point to the neighboring point in the three-dimensional space; H(n) includes the total energy consumption and the distance, and the total energy consumption is calculated by calculating the The energy consumption between the point and the target node is obtained, and the distance is obtained by calculating the straight-line distance and the curved distance between the adjacent point and the target; finally, the multi-objective chaos optimization algorithm is used to solve the multi-objective optimization problem of the path planning method, which can Realize three-dimensional planning that takes into account both energy consumption and distance, find an optimized path to reduce energy consumption in mountainous terrain, and improve the cruising range of smart mobile devices.
Description
技术领域technical field
本发明属于路径规划领域,涉及一种多目标三维路径规划方法,该方法可用于智能导航,无人驾驶等领域的路径规划。The invention belongs to the field of path planning and relates to a multi-objective three-dimensional path planning method, which can be used for path planning in fields such as intelligent navigation and unmanned driving.
背景技术Background technique
目前电池储能十分有限,提高电池的续航能力是重要的研究课题。相关研究主要包含两方面:提高电池的储电能力;降低电池工作的单位能耗。由于上坡能耗系数显著大于平路上的能耗系数,这对于多山的城市来说,一条平而适度远的路可能远比相对短却上下坡较多的路要节省能量,且并没有显著多耗费时间成本。At present, battery energy storage is very limited, and improving battery life is an important research topic. Relevant research mainly includes two aspects: improving the storage capacity of the battery and reducing the unit energy consumption of the battery. Since the energy consumption coefficient of uphill is significantly greater than that of flat roads, for a mountainous city, a flat and moderately long road may save energy much more than a relatively short road with many ups and downs, and there is no Significantly more time-consuming costs.
目前提出了诸多的路径规划方法:如人工势力场算法、神经网络方法、遗传算法、随机树法、A星算法。它们在多种障碍条件下能取得较好的规划效果。然而它们几乎都是基于二维地图展开研究,对三维地图下的路径规划方法进行研究不多。相对来说,不管是机器人、太空探测器或是电动汽车在能耗有限的情形下,研究考虑能量损耗的路径规划方法将是十分有价值的。At present, many path planning methods have been proposed: such as artificial force field algorithm, neural network method, genetic algorithm, random tree method, A-star algorithm. They can achieve better planning results under various obstacle conditions. However, almost all of them are based on two-dimensional maps, and there are not many researches on path planning methods under three-dimensional maps. Relatively speaking, whether it is a robot, a space probe or an electric vehicle with limited energy consumption, it will be very valuable to study a path planning method that considers energy loss.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于在兼顾能耗与路程两个目标的基础上提出一中多目标三维路径规划方法,用以实现在山地形中找到降低能耗的优化路径,提高智能移动设备的续航里程。In view of this, the main purpose of the present invention is to propose a multi-objective three-dimensional path planning method on the basis of taking into account the two goals of energy consumption and distance, so as to find an optimal path for reducing energy consumption in mountainous terrain and improve intelligent mobility. The battery life of the device.
一方面,本发明提供一种多目标三维路径规划方法,包括如下步骤:On the one hand, the present invention provides a multi-objective three-dimensional path planning method, comprising the following steps:
步骤1,构建多目标三维路径规划模型,并建立总估计代价函数F(n):Step 1, construct a multi-objective 3D path planning model, and establish a total estimated cost function F(n):
F(n)=G(n)+H(n) (1)F(n)=G(n)+H(n) (1)
式中,G(n)为当前点到邻点的估计代价函数,H(n)为邻点到终点的估计代价函数,其中:In the formula, G(n) is the estimated cost function from the current point to the neighboring point, and H(n) is the estimated cost function from the neighboring point to the end point, where:
G(n)通过当前点和邻点之间的能耗和直线距离得到;G(n) is obtained by the energy consumption and straight-line distance between the current point and the neighboring point;
H(n)包括总能耗和路程,总能耗通过计算邻点与目标节点之间的能耗得到,路程通过计算邻点与目标节点之间的直线距离和曲线距离得到;H(n) includes the total energy consumption and the distance, the total energy consumption is obtained by calculating the energy consumption between the adjacent point and the target node, and the distance is obtained by calculating the straight-line distance and the curved distance between the adjacent point and the target node;
步骤2,计算总估计代价函数F(n)的值,找到邻点中总估计代价函数F(n)最小的值,存入路径列表Lane中;Step 2, calculate the value of the total estimated cost function F(n), find the minimum value of the total estimated cost function F(n) among the adjacent points, and store it in the path list Lane;
步骤3,将步骤2中找到的总估计代价函数F(n)最小的节点作为当前点,重复进行路径规划;Step 3, taking the node with the smallest total estimated cost function F(n) found in step 2 as the current point, and repeating path planning;
步骤4,当路径规划到当前点为终点时,停止规划,此时,Lane中存放的即为多目标三维路径规划模型规划出来的路径。Step 4: When the path planning ends at the current point, the planning is stopped. At this time, the path stored in the Lane is the path planned by the multi-objective 3D path planning model.
优选地,所述步骤1具体表现为:Preferably, the step 1 is specifically expressed as:
步骤1.1,初始化地图高程数据:获取每个可行节点的(x,y,z)坐标数据,并存入可行节点列表Path中,其中,坐标(x,y)是经纬度,将坐标(x,y)映射为实际距离坐标;Step 1.1, initialize the map elevation data: obtain the (x, y, z) coordinate data of each feasible node, and store it in the feasible node list Path, where the coordinates (x, y) are latitude and longitude, and the coordinates (x, y ) is mapped to the actual distance coordinates;
步骤1.2,初始化路径规划参数:定义规划起点和终点位置,设定搜索半径为factor,用于搜索当前节点周围的邻点,将起点作为当前点进行规划;Step 1.2, initialize the path planning parameters: define the starting point and end point of the plan, set the search radius as factor, which is used to search the neighbors around the current node, and use the starting point as the current point for planning;
步骤1.3,利用搜索半径factor找到当前点周围的所有邻点,并计算当前点到邻点的估计代价函数G(n)和邻点到终点的估计代价函数H(n)的值,其中:Step 1.3, use the search radius factor to find all the neighboring points around the current point, and calculate the estimated cost function G(n) from the current point to the neighboring point and the value of the estimated cost function H(n) from the neighboring point to the end point, where:
G(n)=D(Pn,Pn+1)+EG(Pn,Pn+1) (2)G(n)=D(P n ,P n+1 )+E G (P n ,P n+1 ) (2)
式中,EG(Pn,Pn+1)为当前点和邻点之间的能耗,D(Pn,Pn+1)为当前点和邻点之间的欧几里得距离,Pn为当前点,Pn+1为邻点;In the formula, E G (P n ,P n+1 ) is the energy consumption between the current point and its neighbors, D(P n ,P n+1 ) is the Euclidean distance between the current point and its neighbors , P n is the current point, P n+1 is the neighbor point;
H(n)=η1*EH+η2*D′H+η3*D″H (3)H(n)=η 1 *E H +η 2 *D′ H +η 3 *D″ H (3)
式中,EH是邻点到目标节点的总能耗,D′H为邻点与目标节点之间的直线距离,D″H为邻点与目标节点之间的曲线距离,η1、η2和η3分别为总能耗EH、直线距离D′H和曲线距离D″H的权重。In the formula, E H is the total energy consumption from the adjacent point to the target node, D′ H is the straight-line distance between the adjacent point and the target node, D″ H is the curved distance between the adjacent point and the target node, η 1 , η 2 and η 3 are the weights of the total energy consumption E H , the straight line distance D′ H and the curve distance D″ H respectively.
优选地,所述G(n)中当前点和邻点之间的能耗通过建立坡度能耗模型得到,所述坡度能耗模型建立如下:Preferably, the energy consumption between the current point and neighboring points in the G(n) is obtained by establishing a slope energy consumption model, and the slope energy consumption model is established as follows:
式中,g1(Pn,Pn+1)和g2(Pn,Pn+1)分别为在坡度为时的单位距离下坡能耗函数和单位距离上坡能耗函数,其中:In the formula, g 1 (P n ,P n+1 ) and g 2 (P n ,P n+1 ) are respectively Downhill energy consumption function per unit distance and uphill energy consumption function per unit distance when , where:
式中,(xn,yn,zn)分别为当前点Pn的坐标数据,(xn+1,yn+1,zn+1)分别为邻点Pn+1(的坐标数据;In the formula, (x n , y n , z n ) are the coordinate data of the current point P n respectively, and (x n+1 , y n+1 , z n+1 ) are the coordinates of the adjacent point P n+1 ( data;
优选地,所述单位距离下坡能耗函数g1(Pn,Pn+1)通过如下方法建立:Preferably, the unit distance downhill energy consumption function g 1 (P n , P n+1 ) is established by the following method:
选取一段平路和多段坡度不同的下坡道路;Select a flat road and multiple downhill roads with different slopes;
分别测量同一型号的机器人或汽车行驶相同距离的平路和多段下坡道路所产生的能耗;Measure the energy consumption generated by the same type of robot or car traveling the same distance on flat roads and multi-section downhill roads;
多次测试分别求得平路和每段下坡道路的能耗平均值;The average energy consumption of the flat road and each section of the downhill road was obtained through multiple tests;
求出不同坡度下坡道路平均能耗与平路平均能耗的比值;Calculate the ratio of the average energy consumption of downhill roads with different slopes to the average energy consumption of flat roads;
采用三次多项式拟合的方式,得到单位距离下坡能耗函数g1(Pn,Pn+1):Using cubic polynomial fitting, the downhill energy consumption function g 1 (P n ,P n+1 ) per unit distance is obtained:
式中,a1,b1和c1均为待定系数。In the formula, a 1 , b 1 and c 1 are undetermined coefficients.
优选地,所述单位距离上坡能耗函数g2(Pn,Pn+1)通过如下方法建立:Preferably, the uphill energy consumption function g 2 (P n , P n+1 ) per unit distance is established by the following method:
选取一段平路和多段坡度不同的上坡道路;Select a flat road and multiple uphill roads with different slopes;
分别测量同一型号的机器人或汽车行驶相同距离的平路和多段上坡道路所产生的能耗;Measure the energy consumption of the same type of robot or car traveling the same distance on flat roads and multi-segment uphill roads;
多次测试分别求得平路和每段上坡道路的能耗平均值;The average energy consumption of the flat road and each section of the uphill road was obtained through multiple tests;
求出不同坡度上坡道路平均能耗与平路平均能耗的比值;Calculate the ratio of the average energy consumption of uphill roads with different slopes to the average energy consumption of flat roads;
采用三次多项式拟合的方式,得到单位距离上坡能耗函数g2(Pn,Pn+1):Using cubic polynomial fitting, the uphill energy consumption function g 2 (P n ,P n+1 ) per unit distance is obtained:
式中,a2,b2和c2均为待定系数。In the formula, a 2 , b 2 and c 2 are undetermined coefficients.
优选地,通过相邻节点的能耗相加,使算法模拟出山地的地形,并估计出高山低谷的位置,得到所述相邻节点的能耗通过坡度能耗模型计算得到,如下所示:Preferably, by adding the energy consumption of adjacent nodes, the algorithm simulates the terrain of mountains and estimates the positions of high mountains and valleys, and the energy consumption of the adjacent nodes is calculated through the slope energy consumption model, as follows:
其中,EH是邻点到目标节点的总能耗,Pi和Pi+1为节点到目标节点的中间节点,ωi为第i个节点到第i+1个节点的权重,且ωi由sigmoid函数下降的曲线求得,Among them, E H is the total energy consumption from the adjacent node to the target node, P i and P i+1 are the intermediate nodes from the node to the target node, ω i is the weight from the i-th node to the i+1-th node, and ω i is obtained from the descending curve of the sigmoid function,
其中,b为曲线倾斜度,c为偏置值,exp(-b*x(i))为e的-b*x(i)次方,x(i)为第i个节点到当前点的距离。Among them, b is the slope of the curve, c is the offset value, exp(-b*x(i)) is the power of -b*x(i) of e, and x(i) is the distance from the i-th node to the current point distance.
优选地,所述H(n)中路程通过计算邻点与目标节点之间的直线距离和曲线距离得到,公式如下:Preferably, the distance in the H(n) is obtained by calculating the straight-line distance and the curve distance between the adjacent point and the target node, and the formula is as follows:
D=D′H+D″H (11)D=D′ H +D″ H (11)
式中,D为路程,其中,D′H通过如下公式计算:In the formula, D is the distance, and D′ H is calculated by the following formula:
式中,Pgoal为目标节点,(xgoal,ygoal,zgoal)为Pgoal的坐标数据;In the formula, P goal is the target node, (x goal , y goal , z goal ) is the coordinate data of P goal ;
D″H通过如下公式计算:D″ H is calculated by the following formula:
式中,D(Pi,Pi+1)为第i个节点到第i+1个节点的直线距离。In the formula, D(P i ,P i+1 ) is the straight-line distance from the i-th node to the i+1-th node.
优选地,通过多目标混沌优化算法对H(n)中总能耗和路程两个目标进行优化,求解满足总能耗最低和路程最短两个目标的解,并对其中参数η1、η2、η3和c进行优化求解,得到每个参数的最优值。Preferably, the two objectives of total energy consumption and distance in H(n) are optimized by a multi-objective chaotic optimization algorithm, and the solution that satisfies the two objectives of the lowest total energy consumption and the shortest distance is solved, and the parameters η 1 , η 2 , η 3 and c are optimized and solved to obtain the optimal value of each parameter.
优选地,所述多目标混沌优化算法的具体步骤如下:Preferably, the specific steps of the multi-objective chaos optimization algorithm are as follows:
A)初始化种群:对于上述4个优化变量η1、η2、η3和c,分别赋予微小差异的初值,得到4个混沌变量,并将混沌变量的范围分别放大到相应的优化变量取值范围,同时,对于种群中的pop个解分别用混沌序列的方式进行初始化;A) Initializing the population: For the above four optimization variables η 1 , η 2 , η 3 and c, assign slightly different initial values to obtain 4 chaotic variables, and enlarge the scope of the chaotic variables to the corresponding optimal variables to take Value range, at the same time, the pop solutions in the population are initialized in the way of chaotic sequence;
B)选定种群规模;B) selected population size;
C)目标函数的计算:通过多目标三维路径规划模型得到路径Lane,得到种群中每个解的目标函数值;C) Calculation of the objective function: obtain the path Lane through the multi-objective three-dimensional path planning model, and obtain the objective function value of each solution in the population;
D)非支配关系与拥挤度排序:对目标函数的解进行非支配关系排序,仅保留第一非支配前沿的解,并对第一支配前沿的解,进行拥挤度排序,选取拥挤度较低的解;D) Non-dominated relationship and congestion degree sorting: sort the solutions of the objective function by non-dominated relationship, keep only the solution of the first non-dominated frontier, and sort the crowding degree of the solution of the first dominant frontier, and select a lower degree of crowding solution;
E)混沌变异生成子代:通过混沌序列的方法对父代进行变异,计算公式为:E) Generation of offspring by chaotic mutation: the parent generation is mutated by the method of chaotic sequence, and the calculation formula is:
Coffspring=4*Cparent*(1-Cparent) (18)C offspring =4*C parent *(1-C parent ) (18)
其中,Cparent是父代种群的解集,Coffspring是子代种群的解集;Among them, C parent is the solution set of the parent population, and C offspring is the solution set of the offspring population;
F)循环迭代:将得到的子代种群继续进行步骤C中目标函数的计算,得到子代种群每个解的目标函数值,进行循环迭代;F) cyclic iteration: continue the calculation of the objective function in step C with the obtained offspring population, obtain the objective function value of each solution of the offspring population, and carry out loop iteration;
G)终止准则:当算法执行到最大代数或者群体中的目标函数值稳定时,算法终止,其中,第一支配前沿的所有解都是所求的解,且得到参数[η1,η2,η3,c]的解。G) Termination criterion: When the algorithm is executed to the maximum number of generations or the value of the objective function in the population is stable, the algorithm terminates, wherein all the solutions of the first dominant front are the solutions sought, and the parameters [η 1 , η 2 , η 3 ,c] solution.
综上所述,本发明首先,建立总估计代价函数F(n),F(n)由当前点到邻点的估计代价函数G(n)和邻点到终点的估计代价函数H(n)求和构成,其中:G(n)通过当前点和邻点之间的能耗和直线距离得到;H(n)包含总能耗和路程,总能耗通过计算邻点到目标节点间的能耗得到,路程通过计算邻点到目标之间的直线距离和曲线距离得到;接着,通过计算总估计代价函数F(n)的最小值找到当前点;然后,重复进行路径规划直至当前点为终点时停止,这些使总估计代价函数F(n)最小的节点最终形成规划的路径。上述方法相比现有技术,能实现兼顾能耗及路程的三维规划,在山地形中找到降低能耗的优化路径,提高智能移动设备的续航里程。In summary, the present invention first establishes the total estimated cost function F(n), F(n) from the current point to the estimated cost function G(n) of the adjacent point and the estimated cost function H(n) of the adjacent point to the end point The summation structure, in which: G(n) is obtained by the energy consumption and the straight-line distance between the current point and the neighboring point; H(n) contains the total energy consumption and the distance, and the total energy consumption is obtained by calculating the energy The distance is obtained by calculating the straight-line distance and the curve distance between the adjacent point and the target; then, find the current point by calculating the minimum value of the total estimated cost function F(n); then, repeat the path planning until the current point is the end point When stop, these nodes that minimize the total estimated cost function F(n) finally form the planned path. Compared with the existing technology, the above method can realize three-dimensional planning that takes energy consumption and distance into account, finds an optimized path to reduce energy consumption in mountainous terrain, and improves the cruising range of smart mobile devices.
在进一步的技术方案中,采用多目标混沌优化算法对H(n)中总能耗和路程两个目标进行优化,求解满足总能耗最低和路程最短两个目标的解,并对其中参数η1、η2、η3和c进行优化求解,得到每个参数的最优值,用以解决所述路径规划方法的多目标优化求解问题。In a further technical solution, the multi-objective chaotic optimization algorithm is used to optimize the total energy consumption and the distance in H(n), and the solution that satisfies the two objectives of the lowest total energy consumption and the shortest distance is solved, and the parameter η 1 , η 2 , η 3 and c are optimized and solved to obtain the optimal value of each parameter, which is used to solve the multi-objective optimization solution problem of the path planning method.
附图说明Description of drawings
图1为本发明一种多目标三维路径规划方法的流程图;Fig. 1 is the flowchart of a kind of multi-target three-dimensional path planning method of the present invention;
图2为本发明一种多目标三维路径规划模型图;Fig. 2 is a kind of multi-objective three-dimensional path planning model figure of the present invention;
图3为本发明多目标混沌优化算法的流程图;Fig. 3 is the flowchart of multi-objective chaos optimization algorithm of the present invention;
图4为本发明一实施例某山地城市的路网图;Fig. 4 is a road network diagram of a certain mountainous city according to an embodiment of the present invention;
图5为本发明基于图4中路网规划出的路径主视图;Fig. 5 is the front view of the route planned by the present invention based on the road network in Fig. 4;
图6为本发明基于图4中路网规划出的路径俯视图。FIG. 6 is a top view of the route planned based on the road network in FIG. 4 according to the present invention.
具体实施方式Detailed ways
需要说明的是,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.
本发明的主要目的在于从路径规划的角度提供一种节省能量的方案。由于电动汽车上坡能耗系数显著大于平路上的能耗系数,这对于多山的城市来说,一条平而适度远的路可能远比相对短却上下坡较多的路要节省能量,且并没有显著多耗费时间成本。不同于传统单一考虑路程最短的角度设计路径规划方法,本发明在兼顾能耗与路程两个目标的基础上提出了一种多目标三维路径规划方法。The main purpose of the present invention is to provide an energy-saving solution from the perspective of path planning. Since the energy consumption coefficient of electric vehicles uphill is significantly greater than that of flat roads, for a mountainous city, a flat and moderately long road may save energy far more than a relatively short road with many uphill and downhill roads, and There is no significant time-consuming cost. Different from the traditional path planning method that only considers the shortest distance, the present invention proposes a multi-objective three-dimensional path planning method on the basis of taking energy consumption and distance into consideration.
参见图1,图1为一种多目标三维路径规划方法的流程图,具体包括如下步骤:Referring to Fig. 1, Fig. 1 is a flow chart of a multi-objective three-dimensional path planning method, which specifically includes the following steps:
步骤1.1,初始化地图高程数据:获取每个可行节点的(x,y,z)坐标数据,并存入可行节点列表Path中,其中,坐标(x,y)是经纬度,将坐标(x,y)映射为实际距离坐标;Step 1.1, initialize the map elevation data: obtain the (x, y, z) coordinate data of each feasible node, and store it in the feasible node list Path, where the coordinates (x, y) are latitude and longitude, and the coordinates (x, y ) is mapped to the actual distance coordinates;
步骤1.2,初始化路径规划参数:定义规划起点和终点位置,设定搜索半径为factor,用于搜索当前节点周围的邻点,将起点作为当前点进行规划;Step 1.2, initialize the path planning parameters: define the starting point and end point of the plan, set the search radius as factor, which is used to search the neighbors around the current node, and use the starting point as the current point for planning;
需要说明的是,邻点定义为在当前点周围一定半径的点;It should be noted that an adjacent point is defined as a point with a certain radius around the current point;
步骤1.3,利用搜索半径factor找到当前点周围的所有邻点,并计算当前点到邻点的估计代价函数G(n)和邻点到终点的估计代价函数H(n)的值,其中:Step 1.3, use the search radius factor to find all the neighboring points around the current point, and calculate the estimated cost function G(n) from the current point to the neighboring point and the value of the estimated cost function H(n) from the neighboring point to the end point, where:
由于上坡能耗系数显著大于平路上的能耗系数,并且下坡能耗系数也不同于上坡能耗系数,采用能耗模型的方式规划路径更具备合理性,此规划出来的路径可以避免连续上坡下坡,又因为电动机在上坡时处于半堵转状态,让电动机工作电流增大,使电动机大量发热,危害电动机的寿命,由此,上述当前点到邻点的估计代价函数G(n)的计算方式如下:Since the uphill energy consumption coefficient is significantly greater than the energy consumption coefficient on flat roads, and the downhill energy consumption coefficient is also different from the uphill energy consumption coefficient, it is more reasonable to use the energy consumption model to plan the path, and the planned path can avoid Continuous uphill and downhill, and because the motor is in a semi-stall state when going uphill, the operating current of the motor increases, causing the motor to heat up a lot and endangering the life of the motor. Therefore, the estimated cost function G from the current point to the adjacent point is (n) is calculated as follows:
G(n)=D(Pn,Pn+1)+EG(Pn,Pn+1) (2)G(n)=D(P n ,P n+1 )+E G (P n ,P n+1 ) (2)
式中,EG(Pn,Pn+1)为当前点和邻点之间的能耗且单位为千焦(kJ),D(Pn,Pn+1)为当前点和邻点之间的欧几里得距离,Pn(为当前点,Pn+1为邻点;In the formula, E G (P n ,P n+1 ) is the energy consumption between the current point and its neighbors in kilojoules (kJ), D(P n ,P n+1 ) is the energy consumption between the current point and its neighbors The Euclidean distance between , P n ( is the current point, P n+1 is the neighbor point;
同时,本发明中邻点到终点的估计代价函数H(n)建立需考虑能耗及路程两个方面,即估计代价函数H(n)包括总能耗EH和路程D,其中,总能耗EH通过计算邻点与目标节点之间的能耗得到,路程D通过计算邻点与目标节点之间的直线距离D′H和曲线距离D″H得到。这种方法使电动汽车或机器人等在山地地形行驶中在保证路径较短的同时并且节省能量,一般H(n)函数只考虑路程的影响,在复杂山地中规划路径时,会使算法分辨不出山地地形,造成反复的上下坡,使能耗增加,降低电池的续航里程,由此,H(n)函数的建立通过下式建立:At the same time, the establishment of the estimated cost function H(n) from the adjacent point to the end point in the present invention needs to consider two aspects of energy consumption and distance, that is, the estimated cost function H(n) includes the total energy consumption E H and the distance D, where the total energy The energy consumption E H is obtained by calculating the energy consumption between the adjacent point and the target node, and the distance D is obtained by calculating the straight-line distance D′ H and the curved distance D″ H between the adjacent point and the target node. This method makes electric vehicles or robots When driving in mountainous terrain, while keeping the path short and saving energy, the general H(n) function only considers the influence of the distance. When planning a path in complex mountainous terrain, the algorithm will not be able to distinguish the mountainous terrain, resulting in repeated up and down The slope increases the energy consumption and reduces the cruising range of the battery. Therefore, the establishment of the H(n) function is established by the following formula:
H(n)H=η1*EH+η2*D′H+η3*D″H (3)H(n)H=η 1 *E H +η 2 *D′ H +η 3 *D″ H (3)
式中,EH是邻点到目标节点的总能耗,D′H为邻点与目标节点之间的直线距离,D″H为邻点与目标节点之间的曲线距离,η1、η2和η3分别为总能耗EH、直线距离D′H和曲线距离D″H的权重。In the formula, E H is the total energy consumption from the adjacent point to the target node, D′ H is the straight-line distance between the adjacent point and the target node, D″ H is the curved distance between the adjacent point and the target node, η 1 , η 2 and η 3 are the weights of the total energy consumption E H , the straight line distance D′ H and the curve distance D″ H respectively.
步骤2,计算总估计代价函数F(n)的值,找到邻点中总估计代价函数F(n)最小的值,存入路径列表Lane中,F(n)的计算公式如下:Step 2. Calculate the value of the total estimated cost function F(n), find the minimum value of the total estimated cost function F(n) among the adjacent points, and store it in the path list Lane. The calculation formula of F(n) is as follows:
F(n)=G(n)+H(n) (1);F(n)=G(n)+H(n) (1);
图2为一种多目标三维路径规划模型图。从图2亦可看出,总估计代价函数F(n)包括当前点到邻点的估计代价函数G(n)和邻点到终点的估计代价函数H(n),且估计代价函数G(n)和估计代价函数H(n)分开建模,这是由于当前点到邻点的估计代价是确定的,而邻点到终点的路径不确定,只能估计邻点到终点的代价。FIG. 2 is a diagram of a multi-objective three-dimensional path planning model. It can also be seen from Figure 2 that the total estimated cost function F(n) includes the estimated cost function G(n) from the current point to the adjacent point and the estimated cost function H(n) from the adjacent point to the end point, and the estimated cost function G( n) and the estimated cost function H(n) are modeled separately. This is because the estimated cost from the current point to the neighboring point is certain, but the path from the neighboring point to the destination is uncertain, and only the cost from the neighboring point to the destination can be estimated.
步骤3,将步骤2中找到的总估计代价函数F(n)最小的节点作为当前点,重复进行路径规划。Step 3, take the node with the smallest total estimated cost function F(n) found in step 2 as the current point, and repeat path planning.
步骤4,当路径规划到当前点为终点时,停止规划,此时,Lane中存放的即为多目标三维路径规划模型规划出来的路径。Step 4: When the path planning ends at the current point, the planning is stopped. At this time, the path stored in the Lane is the path planned by the multi-objective 3D path planning model.
需要说明的是,上述流程图中步骤1.1至步骤1.4可认为用于构建多目标三维路径规划模型,并建立总估计代价函数F(n)。It should be noted that steps 1.1 to 1.4 in the above flow chart can be considered to be used to construct a multi-objective 3D path planning model and establish a total estimated cost function F(n).
进一步地,当前点到邻点的估计代价函数G(n)是由坡度能耗模型的计算得到,前述坡度能耗模型建立如下:Further, the estimated cost function G(n) from the current point to the neighboring point is obtained by calculating the slope energy consumption model, and the aforementioned slope energy consumption model is established as follows:
式中,g1(Pn,Pn+1)和g2(Pn,Pn+1)分别为在坡度为时的单位距离下坡能耗函数和单位距离上坡能耗函数,其中,当前点和邻点之间的欧几里得距离D(Pn,Pn+1)的计算公式如下:In the formula, g 1 (P n ,P n+1 ) and g 2 (P n ,P n+1 ) are respectively The downhill energy consumption function per unit distance and the uphill energy consumption function per unit distance, where the Euclidean distance D(P n ,P n+1 ) between the current point and the neighboring point is calculated as follows:
式中,(xn,yn,zn)分别为当前点Pn的坐标数据,(xn+1,yn+1,zn+1)分别为邻点Pn+1(的坐标数据;In the formula, (x n , y n , z n ) are the coordinate data of the current point P n respectively, and (x n+1 , y n+1 , z n+1 ) are the coordinates of the adjacent point P n+1 ( data;
同时,坡度的计算方法如下式所示:At the same time, the calculation method of the slope is as follows:
此外,在进一步的技术方案中,上述单位距离下坡能耗函数g1(Pn,Pn+1)通过如下方法建立:In addition, in a further technical solution, the above unit distance downhill energy consumption function g 1 (P n ,P n+1 ) is established by the following method:
选取一段平路和多段坡度不同的下坡道路;Select a flat road and multiple downhill roads with different slopes;
分别测量同一型号的机器人或汽车行驶相同距离的平路和多段下坡道路所产生的能耗;Measure the energy consumption generated by the same type of robot or car traveling the same distance on flat roads and multi-section downhill roads;
多次测试分别求得平路和每段下坡道路的能耗平均值;The average energy consumption of the flat road and each section of the downhill road was obtained through multiple tests;
求出不同坡度下坡道路平均能耗与平路平均能耗的比值;Calculate the ratio of the average energy consumption of downhill roads with different slopes to the average energy consumption of flat roads;
采用三次多项式拟合的方式,得到单位距离下坡能耗函数g1(Pn,Pn+1):Using cubic polynomial fitting, the downhill energy consumption function g 1 (P n ,P n+1 ) per unit distance is obtained:
式中,a1,b1和c1均为待定系数。In the formula, a 1 , b 1 and c 1 are undetermined coefficients.
以某一种型号的机器人或汽车的汽车为例,分别在坡度α=[0°,-5°,-10°,-15°,-20°,-25°,-30°,-35°,-40°]下,测量其行驶100米所产生的能耗,通过多次实验求得能耗的平均值[E1,E2,E3,E4,E5,E6,E7,E8,E9],求出不同坡度能耗与平路能耗的比值通过实验数据分析得出坡度是能耗变化的主要因素,采用三次多项式拟合的方式,通过上面的实验数据求出待定系数a1,b1和c1的值,即可得到上述单位距离下坡能耗函数。Taking a certain type of robot or car as an example, at slope α=[0°,-5°,-10°,-15°,-20°,-25°,-30°,-35° ,-40°], measure the energy consumption generated by driving 100 meters, and obtain the average energy consumption [E 1 , E 2 , E 3 , E 4 , E 5 , E 6 , E 7 through multiple experiments , E 8 , E 9 ], calculate the ratio of energy consumption of different slopes to energy consumption of flat roads Through the analysis of the experimental data, it is found that the slope is the main factor for the change of energy consumption. Using the cubic polynomial fitting method, the values of the undetermined coefficients a 1 , b 1 and c 1 can be obtained from the above experimental data, and the above-mentioned unit distance can be obtained slope energy function.
同理,单位距离上坡能耗函数g2(Pn,Pn+1)的建立方法与上述单位距离下坡能耗函数g1(Pn,Pn+1)建立方法类似:Similarly, the establishment method of the unit distance uphill energy consumption function g 2 (P n ,P n+1 ) is similar to the establishment method of the unit distance downhill energy consumption function g 1 (P n ,P n+1 ):
选取一段平路和多段坡度不同的下坡道路;Select a flat road and multiple downhill roads with different slopes;
分别测量同一型号的机器人或汽车行驶相同距离的平路和多段下坡道路所产生的能耗;Measure the energy consumption generated by the same type of robot or car traveling the same distance on flat roads and multi-section downhill roads;
多次测试分别求得平路和每段下坡道路的能耗平均值;The average energy consumption of the flat road and each section of the downhill road was obtained through multiple tests;
求出不同坡度下坡道路平均能耗与平路平均能耗的比值;Calculate the ratio of the average energy consumption of downhill roads with different slopes to the average energy consumption of flat roads;
采用三次多项式拟合的方式,得到单位距离下坡能耗函数g1(Pn,Pn+1):Using cubic polynomial fitting, the downhill energy consumption function g 1 (P n ,P n+1 ) per unit distance is obtained:
式中,a1,b1和c1均为待定系数。In the formula, a 1 , b 1 and c 1 are undetermined coefficients.
同样,以某一种型号的机器人或汽车为例,分别在坡度α=[0°,5°,10°,15°,20°,25°,30°,35°,40°]下,测量其行驶100米所产生的能耗,通过多次实验求得能耗的平均值[E1′,E2′,E3′,E4′,E5′,E6′,E7′,E8′,E9′],并求出不同坡度能耗与平路能耗的比值通过实验数据分析得出坡度是能耗变化的主要因素,采用三次多项式拟合的方式,通过上面的实验数据求出待定系数a2,b2和c2的值,即可得到上述单位距离上坡能耗函数。Similarly, taking a certain type of robot or car as an example, measure The energy consumption generated by driving 100 meters, the average energy consumption [E 1 ′, E 2 ′, E 3 ′, E 4 ′, E 5 ′, E 6 ′, E 7 ′, E 8 ′,E 9 ′], and calculate the ratio of energy consumption of different slopes to energy consumption of flat roads Through the analysis of the experimental data, it is found that the slope is the main factor of the change of energy consumption. Using the method of cubic polynomial fitting, the values of the undetermined coefficients a 2 , b 2 and c 2 can be obtained through the above experimental data, and the above-mentioned unit distance can be obtained slope energy function.
进一步地,总能耗EH通过坡度能耗模型计算得到,如下所示:Further, the total energy consumption E H is calculated through the slope energy consumption model, as follows:
式中,能耗估计模型EH,通过相邻节点的能耗相加,可以使算法模拟出山地的地形,并估计出高山低谷的位置,让算法更具智能性;Pi和Pi+1为节点到目标节点的中间节点,ωi为第i个节点到第i+1个节点的权重,由于人们的习惯是更在意近处的山峰,在对电动汽车或者山地机器人等进行路径规划时,先考虑近处山峰对路径的影响,于是此权重ωi设置为近处权重大,随着距离的增加,权重逐渐减少,故此,权重ωi可由sigmoid函数(神经元的非线性作用函数)下降的曲线求得,In the formula, the energy consumption estimation model E H , by adding the energy consumption of adjacent nodes, the algorithm can simulate the terrain of the mountain and estimate the position of the mountain and the valley, making the algorithm more intelligent; P i and P i+ 1 is the intermediate node from the node to the target node, and ω i is the weight from the i-th node to the i+1-th node. Since people are used to paying more attention to nearby mountain peaks, when planning paths for electric vehicles or mountain robots, etc. , first consider the influence of the nearby mountain peaks on the path, so the weight ω i is set to be larger near the weight, and as the distance increases, the weight gradually decreases. Therefore, the weight ω i can be determined by the sigmoid function (the nonlinear action function of ) descending curve is obtained,
其中,b为曲线倾斜度,c为偏置值,exp(-b*x(i))为e的-b*x(i)次方,x(i)为第i个节点到当前点的距离。Among them, b is the slope of the curve, c is the offset value, exp(-b*x(i)) is the power of -b*x(i) of e, and x(i) is the distance from the i-th node to the current point distance.
此外,路程估计模型D用于路径长度估计,由曲线路程估计模型D″H及直线距离模型D′H构成,即:In addition, the distance estimation model D is used for path length estimation, which is composed of a curved distance estimation model D″ H and a straight line distance model D′ H , namely:
D=D′H+D″H (11)D=D′ H +D″ H (11)
由于直线距离模型D′H加入H(n)函数,使本规划算法更具方向性,不会出现路径迂回的状态。直线距离D′H采用欧几里得计算公式得到,单位为米(m),即Since the straight-line distance model D′ H is added with the H(n) function, the planning algorithm is more directional, and there will be no circuitous paths. The straight-line distance D′ H is obtained by using Euclid’s calculation formula, and the unit is meter (m), that is
式中,Pgoal为目标节点,xgoal,ygoal,zgoal为Pgoal的坐标数据;In the formula, P goal is the target node, x goal , y goal , z goal is the coordinate data of P goal ;
曲线距离估计模型采用下式计算得到,即The curve distance estimation model is calculated by the following formula, namely
其中,D(Pi,Pi+1)为第i个节点到第i+1个节点的直线距离。这里用权重ωi对曲线距离进行加权,使规划路径不会因为远处的山影响权重过大导致直接跨过近处的山。Among them, D(P i ,P i+1 ) is the straight-line distance from the i-th node to the i+1-th node. Here, the weight ω i is used to weight the curve distance, so that the planned path will not directly cross the nearby mountain due to the excessive weight of the distant mountain.
此外,如前文所述邻点到终点的估计代价函数H(n)的建立,包括能耗估计、直线距离和曲线距离的权重η1、η2和η3,同时所述能耗模型的建立,包括偏置值c的计算;采用多目标的方法对能耗最少和路程最短两个目标进行优化,并上述系数进行优化求解。In addition, as mentioned above, the establishment of the estimated cost function H(n) from the adjacent point to the end point includes the energy consumption estimation, the weights η 1 , η 2 and η 3 of the straight-line distance and the curve distance, and the establishment of the energy consumption model , including the calculation of the offset value c; using a multi-objective method to optimize the two objectives of the least energy consumption and the shortest distance, and optimize and solve the above coefficients.
具体地,能耗和路程两个目标的计算方法,采用A星算法规划出来的路径Lane,计算路径中各个相邻点之间的能耗和路程数值,计算公式如下所示:Specifically, the calculation method for the two goals of energy consumption and distance uses the path Lane planned by the A-star algorithm to calculate the energy consumption and distance values between adjacent points in the path. The calculation formula is as follows:
其中,n为规划路径的总节点数。Among them, n is the total number of nodes in the planned path.
所述混沌优化的方法,借助混沌的伪随机全局不重复遍历性,相较于遗传、PSO等优化方法更加能够克服收敛于局部的问题,同时,混沌优化的方法包括两个步骤:The method of described chaos optimization, with the help of the pseudo-random global non-repetitive ergodicity of chaos, is more able to overcome the problem of convergence in the locality compared with optimization methods such as genetics and PSO. At the same time, the method of chaos optimization includes two steps:
a、依次考察整个空间中的混沌变量,找到满足性能指标的当前最优点,混沌变量的计算方法为:a. Investigate the chaotic variables in the whole space in turn, and find the current optimal point that meets the performance index. The calculation method of the chaotic variables is:
x(k+1)=η*x(k)*(1-x(k)) (16)x (k+1) = η*x (k) *(1-x (k) ) (16)
其中,η是控制参数,当η=1时,系统处于混沌状态,输出相当于[0,1]之间的随机数,并且在[0,1]具有遍历性,其中的任何状态都不会重复出现;Among them, η is the control parameter. When η=1, the system is in a chaotic state, and the output is equivalent to a random number between [0,1], and it has ergodicity in [0,1], and any state in it will not repeated;
b、在经过若干次搜索后当前最优点的没有变化,则定义当前最优点附近的子空间,再考察整个空间中的混沌变量,找到满足性能指标的最优点。b. If there is no change in the current optimal point after several searches, define a subspace near the current optimal point, and then examine the chaotic variables in the entire space to find the optimal point that meets the performance index.
优选地,本发明通过多目标混沌优化算法对总能耗EH和路程D两个目标进行优化求解,采用多目标优化算法,能够使邻点到终点的估计代价函数H(n)的建立更精确,得到所需的期望路径,并同时对优化变量η1、η2、η3和c求解最优值。所述优化方法的约束条件是使以下目标函数的值最小:Preferably, the present invention optimizes and solves the two objectives of the total energy consumption E H and the distance D through a multi-objective chaotic optimization algorithm, and adopts the multi-objective optimization algorithm, which can make the establishment of the estimated cost function H(n) from the adjacent point to the terminal more accurate. Exactly, the desired desired path is obtained, and the optimum values are simultaneously solved for the optimization variables η 1 , η 2 , η 3 and c. The constraint of the optimization method is to minimize the value of the following objective function:
具体地,上述多目标混沌优化算法的详细步骤如下:Specifically, the detailed steps of the above multi-objective chaos optimization algorithm are as follows:
A)初始化种群:对于上述4个优化变量η1、η2、η3和c,分别赋予微小差异的初值,得到4个混沌变量,并将混沌变量的范围分别放大到相应的优化变量取值范围,同时,对于种群中的pop个解分别用混沌序列的方式进行初始化;A) Initializing the population: For the above four optimization variables η 1 , η 2 , η 3 and c, assign slightly different initial values to obtain 4 chaotic variables, and enlarge the scope of the chaotic variables to the corresponding optimal variables to take Value range, at the same time, the pop solutions in the population are initialized in the way of chaotic sequence;
B)选定种群规模;B) selected population size;
优选地,本实施例设定种群规模为pop=50,最大迭代次数g=200;Preferably, in this embodiment, the population size is set to pop=50, and the maximum number of iterations g=200;
C)目标函数的计算:通过多目标三维路径规划模型得到路径Lane,得到种群中每个解的目标函数值ELane和DLane;C) calculation of objective function: obtain path Lane by multi-objective three-dimensional path planning model, obtain the objective function value E Lane and D Lane of each solution in the population;
D)非支配关系与拥挤度排序:对目标函数的解进行非支配关系排序,仅保留第一非支配前沿的解,即该前沿的解不被其它任何解支配,并对第一支配前沿的解,进行拥挤度排序,选取拥挤度较低的解,从而使获得的解尽可能的分布均匀且具有多样性;D) Sorting of non-dominated relationship and congestion degree: sort the solutions of the objective function by non-dominated relationship, and only keep the solution of the first non-dominated front, that is, the solution of this front is not dominated by any other solutions, and the first dominated front The solution is sorted by the degree of congestion, and the solution with a lower degree of congestion is selected, so that the obtained solutions are distributed as evenly as possible and have diversity;
E)混沌变异生成子代:通过混沌序列的方法对父代进行变异,计算公式为:E) Generation of offspring by chaotic mutation: the parent generation is mutated by the method of chaotic sequence, and the calculation formula is:
Coffspring=4*Cparent*(1-Cparent) (18)C offspring =4*C parent *(1-C parent ) (18)
其中,Cparent是父代种群的解集,Coffspring是子代种群的解集;Among them, C parent is the solution set of the parent population, and C offspring is the solution set of the offspring population;
F)循环迭代:将得到的子代种群继续进行步骤C中目标函数的计算,得到子代种群每个解的目标函数值,进行循环迭代;F) cyclic iteration: continue the calculation of the objective function in step C with the obtained offspring population, obtain the objective function value of each solution of the offspring population, and carry out loop iteration;
G)终止准则:当算法执行到最大代数或者群体中的目标函数值稳定时,算法终止,其中,第一支配前沿的所有解都是所求的解,且得到参数[η1,η2,η3,c]的解。G) Termination criterion: When the algorithm is executed to the maximum number of generations or the value of the objective function in the population is stable, the algorithm terminates, wherein all the solutions of the first dominant front are the solutions sought, and the parameters [η 1 , η 2 , η 3 ,c] solution.
进一步地,如图3所示,步骤F循环迭代具体表现为:进入下一代数后,混沌变异生成子代且需父子代整合后,再进入步骤C目标函数的计算,接着进入步骤D非支配关系与拥挤度排序,然后,混沌变异生成子代选择新的种群父代,直至进入步骤G。Further, as shown in Figure 3, the cyclic iteration of step F is specifically manifested as: after entering the next generation, chaotic mutation generates offspring and requires the integration of the parent and offspring, and then enters the calculation of the objective function in step C, and then enters step D non-dominated Sort the relationship and degree of crowding, and then, chaotic mutation generates offspring to select a new population parent until step G is entered.
同时,参见图4至图6,图4为某城市的路网图,图5为本发明基于路网规划出的路径主视图,图6为本发明基于路网规划出的路径俯视图。At the same time, referring to Fig. 4 to Fig. 6, Fig. 4 is a road network diagram of a certain city, Fig. 5 is a front view of the route planned based on the road network of the present invention, and Fig. 6 is a top view of the route planned based on the road network of the present invention.
使用某城市的路网图,从中得到高程信息和路网信息,建立适用于本发明的地图模型,在matlab(矩阵实验室)中进行路径规划,得到的路径规划效果如图5所示,可以看出本发明提出的算法可以在山地地形中快速获得规划路径,并且路径可以避开高山和低谷进行规划,符合人们的驾驶习惯。Use the road network diagram of certain city, obtain elevation information and road network information therefrom, set up the map model applicable to the present invention, carry out path planning in matlab (matrix laboratory), the path planning effect that obtains is as shown in Figure 5, can It can be seen that the algorithm proposed by the present invention can quickly obtain the planned path in mountainous terrain, and the path can avoid high mountains and valleys for planning, which is in line with people's driving habits.
故此,为了获得节省电能能量,提出了一种考虑能量损耗及路程的多目标三维路径规划方法,该方法通过建立总估计代价函数F(n),F(n)由当前点到邻点的估计代价函数G(n)和邻点到终点的估计代价函数H(n)求和构成,其中:估计代价函数G(n),通过当前点和邻点之间的能耗和直线距离得到;估计代价函数H(n),包含总能耗和路程,总能耗通过计算邻点到目标节点间的能耗得到,路程通过计算邻点到目标之间的直线距离和曲线距离得到;最后,采用多目标混沌优化算法来解决所述路径规划方法的多目标优化求解问题,以某城市为例进行实验,证明算法能够求得兼顾能量损耗及时间成本的路径。基于实验及原理可推论,该方法可适用于所有三维地形,可为电动汽车、军用山地侦察机器人、太空星体探测器(玉兔号、火星探测器)等考虑能量损耗的设备提供路径规划方案。Therefore, in order to save energy, a multi-objective three-dimensional path planning method considering energy loss and distance is proposed. This method establishes a total estimated cost function F(n), and F(n) is estimated from the current point to the neighboring point The cost function G(n) and the estimated cost function H(n) from the adjacent point to the end point are summed to form, where: the estimated cost function G(n) is obtained by the energy consumption and the straight-line distance between the current point and the adjacent point; the estimated The cost function H(n) includes the total energy consumption and the distance. The total energy consumption is obtained by calculating the energy consumption between the adjacent point and the target node, and the distance is obtained by calculating the straight-line distance and the curved distance between the adjacent point and the target node; finally, using A multi-objective chaos optimization algorithm is used to solve the multi-objective optimization problem of the path planning method. Taking a city as an example to conduct experiments, it is proved that the algorithm can obtain a path that takes into account both energy loss and time cost. Based on experiments and principles, it can be deduced that this method can be applied to all three-dimensional terrains, and can provide path planning solutions for electric vehicles, military mountain reconnaissance robots, space star probes (Yutu, Mars probes) and other devices that consider energy consumption.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910803728.0A CN110501020B (en) | 2019-08-28 | 2019-08-28 | A multi-objective 3D path planning method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910803728.0A CN110501020B (en) | 2019-08-28 | 2019-08-28 | A multi-objective 3D path planning method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110501020A true CN110501020A (en) | 2019-11-26 |
CN110501020B CN110501020B (en) | 2022-12-02 |
Family
ID=68590156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910803728.0A Active CN110501020B (en) | 2019-08-28 | 2019-08-28 | A multi-objective 3D path planning method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110501020B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111174793A (en) * | 2020-01-17 | 2020-05-19 | 北京市商汤科技开发有限公司 | Path planning method and device, and storage medium |
CN112082558A (en) * | 2020-09-14 | 2020-12-15 | 哈尔滨工程大学 | A rolling generation method of UUV submarine terrain tracking path based on polynomial fitting |
CN114491755A (en) * | 2022-01-24 | 2022-05-13 | 阳光新能源开发股份有限公司 | Mountain land photovoltaic power station road planning method, device, equipment and storage medium |
CN116105741A (en) * | 2023-04-07 | 2023-05-12 | 南京航天宏图信息技术有限公司 | Multi-target three-dimensional dynamic path planning method and device |
CN116125995A (en) * | 2023-04-04 | 2023-05-16 | 华东交通大学 | A path planning method and system for a high-speed rail inspection robot |
CN118366334A (en) * | 2024-06-17 | 2024-07-19 | 天津华慧智能科技有限公司 | Accurate parking method and system under visual synchronous guidance |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004100148A (en) * | 2002-09-04 | 2004-04-02 | Mitsubishi Research Institute Inc | Road alignment design method, apparatus and program |
JP2004326363A (en) * | 2003-04-23 | 2004-11-18 | Mitsubishi Heavy Ind Ltd | Four-dimensional navigation object, four-dimensional navigation device, and four-dimensional control method of navigation object |
CN106444835A (en) * | 2016-10-11 | 2017-02-22 | 哈尔滨工程大学 | Underwater vehicle three-dimensional path planning method based on Lazy Theta satellite and particle swarm hybrid algorithm |
-
2019
- 2019-08-28 CN CN201910803728.0A patent/CN110501020B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004100148A (en) * | 2002-09-04 | 2004-04-02 | Mitsubishi Research Institute Inc | Road alignment design method, apparatus and program |
JP2004326363A (en) * | 2003-04-23 | 2004-11-18 | Mitsubishi Heavy Ind Ltd | Four-dimensional navigation object, four-dimensional navigation device, and four-dimensional control method of navigation object |
CN106444835A (en) * | 2016-10-11 | 2017-02-22 | 哈尔滨工程大学 | Underwater vehicle three-dimensional path planning method based on Lazy Theta satellite and particle swarm hybrid algorithm |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111174793A (en) * | 2020-01-17 | 2020-05-19 | 北京市商汤科技开发有限公司 | Path planning method and device, and storage medium |
CN111174793B (en) * | 2020-01-17 | 2021-11-30 | 北京市商汤科技开发有限公司 | Path planning method and device and storage medium |
CN112082558A (en) * | 2020-09-14 | 2020-12-15 | 哈尔滨工程大学 | A rolling generation method of UUV submarine terrain tracking path based on polynomial fitting |
CN114491755A (en) * | 2022-01-24 | 2022-05-13 | 阳光新能源开发股份有限公司 | Mountain land photovoltaic power station road planning method, device, equipment and storage medium |
CN116125995A (en) * | 2023-04-04 | 2023-05-16 | 华东交通大学 | A path planning method and system for a high-speed rail inspection robot |
CN116105741A (en) * | 2023-04-07 | 2023-05-12 | 南京航天宏图信息技术有限公司 | Multi-target three-dimensional dynamic path planning method and device |
CN118366334A (en) * | 2024-06-17 | 2024-07-19 | 天津华慧智能科技有限公司 | Accurate parking method and system under visual synchronous guidance |
Also Published As
Publication number | Publication date |
---|---|
CN110501020B (en) | 2022-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110501020B (en) | A multi-objective 3D path planning method | |
CN104331743B (en) | Electric vehicle travel planning method based on multi-target optimization | |
Yi et al. | Optimal stochastic eco-routing solutions for electric vehicles | |
CN110530388B (en) | Multi-AGV path planning method and system | |
CN103116865B (en) | A kind of various dimensions work in coordination with the method for Electric Power Network Planning | |
CN111582428B (en) | Multi-mode and multi-target optimization method based on gray prediction evolution algorithm | |
CN113393690B (en) | A balanced distribution method for mixed traffic considering dedicated lanes for autonomous driving | |
ES2950156T3 (en) | Computer-implemented method to predict energy use for a route | |
CN102081658B (en) | Hierarchical road network-based path search method and device | |
CN109102124B (en) | Decomposition-based dynamic multi-target multi-path induction method, system and storage medium | |
CN110929464B (en) | Storage battery parameter identification method based on improved dragonfly algorithm | |
CN112325892A (en) | Similar three-dimensional path planning method based on improved A-x algorithm | |
CN109035767A (en) | A kind of tide lane optimization method considering Traffic Control and Guidance collaboration | |
CN108827842A (en) | A kind of air quality optimum path planning method and system based on PM2.5 | |
CN111552185A (en) | An energy management method for model predictive control of plug-in hybrid electric vehicles based on PMP | |
CN114840984A (en) | A spatiotemporal prediction method for electric vehicle charging load considering travel route decision | |
CN112418514B (en) | Method for optimizing campus bus route planning by using ant colony system | |
Garcia et al. | Development of an energy-efficient routing algorithm for electric vehicles | |
CN110929950B (en) | Electric automobile load prediction method and system | |
CN115048576A (en) | Flexible recommendation method for airport passenger group travel mode | |
CN106651010B (en) | Shortest path-based wire network dividing method | |
Meng et al. | Optimization and application of artificial intelligence routing algorithm | |
Fuchs et al. | Improved method for integrating renewable energy sources into the power system of Northern Europe: Transmission expansion planning for wind power integration | |
Silver et al. | Tuned communicability metrics in networks. The case of alternative routes for urban traffic | |
CN118261295A (en) | Electric vehicle charging load prediction method and system considering real-time traffic energy consumption |
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 |