WO2022056770A1 - Path planning method and path planning apparatus - Google Patents

Path planning method and path planning apparatus Download PDF

Info

Publication number
WO2022056770A1
WO2022056770A1 PCT/CN2020/115825 CN2020115825W WO2022056770A1 WO 2022056770 A1 WO2022056770 A1 WO 2022056770A1 CN 2020115825 W CN2020115825 W CN 2020115825W WO 2022056770 A1 WO2022056770 A1 WO 2022056770A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
search area
moving target
search
path
Prior art date
Application number
PCT/CN2020/115825
Other languages
French (fr)
Chinese (zh)
Inventor
陈可际
刘亚林
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN202080006453.9A priority Critical patent/CN113286985A/en
Priority to PCT/CN2020/115825 priority patent/WO2022056770A1/en
Publication of WO2022056770A1 publication Critical patent/WO2022056770A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3446Details of route searching algorithms, e.g. Dijkstra, A*, arc-flags, using precalculated routes

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

Embodiments of the present application provide a path planning method, used in the field of intelligent driving. By means of an improved A* algorithm, a smooth path which is not constrained by a grid is planned. Specifically, the method is: determining a subsequent node search area by means of a current node in a path; determining a plurality of sampling points by means of sampling in the search area, then determining the location of the subsequent node from among the plurality of sampling points. The method provided by the present application can be applied to smart vehicles, new-energy vehicles, and self-driving vehicles. The sampling points in the present method are not limited by a grid, therefore the target path obtained by planning satisfies the dynamic constraints of the target, and in comparison with the prior art, the path is smoother.

Description

一种路径规划方法和路径规划装置Path planning method and path planning device 技术领域technical field
本申请涉及智能驾驶领域,尤其涉及一种路径规划方法和路径规划装置。The present application relates to the field of intelligent driving, and in particular, to a path planning method and a path planning device.
背景技术Background technique
智能驾驶技术是未来汽车产业升级的重点。智能驾驶系统大致可以分为三个主要模块,分别是感知识别、决策规划和控制执行。智能汽车通过雷达、摄像头等传感器对外部环境进行感知识别。在多信息融合的基础上,智能驾驶系统进行相应的决策规划,包括驾驶任务决策、轨迹规划、异常处理等。决策规划的结果将传给下层控制执行来实现。在大部分的智能驾驶系统中,决策规划都是一个核心模块,其中路径规划又是决策规划中的重要一环。Intelligent driving technology is the focus of future automotive industry upgrading. The intelligent driving system can be roughly divided into three main modules, namely perception recognition, decision planning and control execution. Smart cars perceive and identify the external environment through sensors such as radar and cameras. On the basis of multi-information fusion, the intelligent driving system performs corresponding decision-making planning, including driving task decision-making, trajectory planning, and exception handling. The result of the decision planning will be passed to the lower level control execution to realize. In most intelligent driving systems, decision planning is a core module, and path planning is an important part of decision planning.
基于搜索的路径规划方法多用于全局路径规划或者驾驶导航,常见算法有迪杰斯特拉(Dijkstra)算法、A星(A-Star,A*)算法、快速扩展随机树(rapid-exploration random tree,RRT)算法等等。A*搜索算法是一种广泛流行的启发式搜索算法,它以地图栅格为节点,在Dijkstra算法的基础上引入代价函数,能够快速高效地搜索出从起点到终点的最短路径。Search-based path planning methods are mostly used for global path planning or driving navigation. Common algorithms include Dijkstra algorithm, A-Star (A*) algorithm, rapid-exploration random tree (rapid-exploration random tree) , RRT) algorithm and so on. The A* search algorithm is a widely popular heuristic search algorithm. It uses the map grid as a node and introduces a cost function based on the Dijkstra algorithm, which can quickly and efficiently search for the shortest path from the start point to the end point.
如图1a和图1b所示,传统A*搜索算法需要遍历考察当前节点周围相邻的节点,且车辆的移动受到栅格制约。智能车辆在每一步的路径规划中只能从一个栅格中心移动到另一个栅格中心,且移动距离和转向角度较为固定。As shown in Figure 1a and Figure 1b, the traditional A* search algorithm needs to traverse the adjacent nodes around the current node, and the movement of the vehicle is restricted by the grid. In the path planning of each step, the intelligent vehicle can only move from one grid center to another grid center, and the moving distance and steering angle are relatively fixed.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种路径规划方法,用于获取不受栅格限制的平滑的路径。The embodiment of the present application provides a path planning method, which is used to obtain a smooth path that is not restricted by a grid.
本申请实施例的第一方面提供了一种路径规划方法,包括:获取地图中移动目标的终点的位置;根据所述第一节点的位置确定在所述地图中的搜索区域;在所述搜索区域中获取多个采样点;从所述多个采样点中获取使得代价函数最小的采样点为第二节点,所述第二节点为目标路径中所述第一节点的下一个节点;根据所述终点的位置、所述第一节点的位置和所述第二节点的位置确定所述目标路径。A first aspect of the embodiments of the present application provides a path planning method, including: acquiring a location of an end point of a moving target in a map; determining a search area in the map according to the location of the first node; Obtain multiple sampling points from the multiple sampling points; obtain the sampling point that minimizes the cost function from the multiple sampling points as the second node, and the second node is the next node of the first node in the target path; according to the The location of the end point, the location of the first node, and the location of the second node determine the target path.
在一种可能的实现方式中,所述第一节点为所述目标路径的起点。In a possible implementation manner, the first node is the starting point of the target path.
在另一种可能的实现方式中,所述第一节点为所述目标路径的中间节点;所述方法还包括:获取所述地图中所述移动目标的起点的位置,所述起点的位置用于确定所述目标路径。In another possible implementation manner, the first node is an intermediate node of the target path; the method further includes: acquiring the position of the starting point of the moving target in the map, and the position of the starting point is determined by to determine the target path.
本申请实施例提供的路径规划方法,先基于第一节点即当前节点的位置确定下一节点即第二节点的搜索区域,然后从搜索区域的多个采样点中确定下一节点,由此,可以使得目标路径中下一节点的位置不受传统A星算法中栅格的限制,避免了路径出现瞬时的大转角拐点,根据本方法获取的路径中路径节点之间的距离与航向角灵活可变,目标路径较为平滑,路径质量高,提高了路径规划算法的实用性。In the path planning method provided by the embodiment of the present application, firstly, based on the position of the first node, that is, the current node, the search area of the next node, that is, the second node is determined, and then the next node is determined from a plurality of sampling points in the search area. Thus, It can make the position of the next node in the target path not limited by the grid in the traditional A-star algorithm, and avoid the instantaneous large turning point of the path. The distance and heading angle between the path nodes in the path obtained according to this method can be flexibly The target path is smoother and the path quality is high, which improves the practicability of the path planning algorithm.
在第一方面一种可能的实现方式中,所述根据所述第一节点的位置确定在所述地图中的搜索区域具体包括:根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角确定所述搜索区域。In a possible implementation manner of the first aspect, the determining the search area in the map according to the position of the first node specifically includes: according to the position of the first node and the moving target in the The heading angle of the location of the first node determines the search area.
本申请实施例提供的路径规划方法,还可以限定搜索区域基于当前节点的位置以及在该 当前位置时移动目标的航向角确定,由于在车辆的正常行驶过程中,车辆无法瞬时掉头或者侧移,因此当前节点的位置附近的部分区域并不符合车辆动力学约束,本方法基于移动目标在当前位置的航向角确定搜索区域,获取的下一节点符合动力学约束,此外还可以减少计算量。The path planning method provided by the embodiment of the present application can also limit the search area to be determined based on the position of the current node and the heading angle of the moving target at the current position. Since the vehicle cannot turn around or move sideways instantaneously during the normal driving process of the vehicle, Therefore, part of the area near the position of the current node does not conform to the vehicle dynamics constraints. This method determines the search area based on the heading angle of the moving target at the current position, and the acquired next node conforms to the dynamic constraints. In addition, the calculation amount can be reduced.
在第一方面一种可能的实现方式中,所述方法还包括:获取所述移动目标在所述第一节点的位置时的动力学约束信息和/或所述第一节点的位置的周边的道路信息;所述动力学约束信息包括以下至少一项:所述移动目标在所述第一节点的位置的速度、所述移动目标在所述第一节点的位置的航向角变化率;所述道路信息包括以下至少一项:所述第一节点的位置周边的障碍物的位置、道路边界的位置;所述根据所述第一节点的位置确定在所述地图中的搜索区域具体包括:根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角,及以下至少一项:所述动力学约束信息、所述道路信息,确定所述搜索区域。In a possible implementation manner of the first aspect, the method further includes: acquiring dynamic constraint information of the moving target at the position of the first node and/or information about the periphery of the position of the first node road information; the dynamic constraint information includes at least one of the following: the speed of the moving target at the position of the first node, the heading angle change rate of the moving target at the position of the first node; the The road information includes at least one of the following: the location of obstacles around the location of the first node and the location of the road boundary; the determining the search area in the map according to the location of the first node specifically includes: according to the location of the first node. The position of the first node and the heading angle of the moving target at the position of the first node, and at least one of the following: the dynamic constraint information and the road information, determine the search area.
本申请实施例提供的路径规划方法,在确定下一节点的搜索区域时,处理考虑当前节点的位置和在当前节点位置时移动目标的航向角,还可以考虑动力学约束信息,以及道路信息,由此规划的搜索区域更符合动力学约束,还可以排除障碍物或道路区域外的部分区域,减少计算量。In the path planning method provided by the embodiment of the present application, when determining the search area of the next node, the process considers the position of the current node and the heading angle of the moving target at the current node position, and can also consider dynamic constraint information and road information, The planned search area is more in line with the dynamic constraints, and can also exclude obstacles or some areas outside the road area, reducing the amount of calculation.
在第一方面一种可能的实现方式中,所述搜索区域在沿所述移动目标的航向角的方向上延伸的长度,与所述移动目标当前的速度正相关。In a possible implementation manner of the first aspect, the length of the search area extending in the direction of the heading angle of the moving target is positively related to the current speed of the moving target.
本申请实施例提供的路径规划方法,搜索区域在所述移动目标的航向角的方向上延伸的长度,可以根据移动目标当前的速度确定,移动目标的速度越快,单位时间移动的距离越远,通过提高搜索区域在沿航向角方向上延伸的长度,可以使得搜索区域符合实际需求。In the path planning method provided by the embodiment of the present application, the length of the search area extending in the direction of the heading angle of the moving target can be determined according to the current speed of the moving target. The faster the speed of the moving target, the farther the moving distance per unit time. , by increasing the length of the search area extending in the direction of the heading angle, the search area can be made to meet the actual requirements.
在第一方面一种可能的实现方式中,所述搜索区域为以所述第一节点的位置为边界点的区域。In a possible implementation manner of the first aspect, the search area is an area with the position of the first node as a boundary point.
本申请实施例提供的路径规划方法,搜索区域可以为扇形或三角形,基于预设的搜索区域形状可以更便捷地获取所述区域,减少算法的计算量,提高路径规划效率。In the path planning method provided by the embodiments of the present application, the search area may be a sector or a triangle, and the area can be more conveniently obtained based on the preset search area shape, reducing the computational complexity of the algorithm and improving the path planning efficiency.
在第一方面一种可能的实现方式中,所述搜索区域的搜索角度小于或等于180度,所述搜索区域的搜索角度为过所述第一节点的两条切线构成的夹角,所述夹角包含所述移动目标在所述第一节点的位置的航向角的方向。In a possible implementation manner of the first aspect, a search angle of the search area is less than or equal to 180 degrees, the search angle of the search area is an angle formed by two tangents passing through the first node, and the The included angle includes the direction of the heading angle of the moving target at the position of the first node.
本申请实施例提供的路径规划方法,对搜索区域的形状进行了进一步限定,考虑到在正常行驶过程中车辆无法瞬时掉头或者侧移,因此限定搜索区域的搜索角度,可以排除当前节点的位置附近的并不符合车辆动力学约束的部分区域,可以减少计算量,提高算法性能。The path planning method provided by the embodiment of the present application further limits the shape of the search area. Considering that the vehicle cannot turn around or move sideways in an instant during normal driving, the search angle of the search area is limited so that the location near the current node can be excluded. It can reduce the amount of calculation and improve the performance of the algorithm.
在第一方面一种可能的实现方式中,所述搜索区域的搜索角度的大小与所述移动目标在所述第一节点的位置的航向角变化率正相关。In a possible implementation manner of the first aspect, the size of the search angle of the search area is positively correlated with the heading angle change rate of the position of the moving target at the first node.
本申请实施例提供的路径规划方法,搜索区域搜索角度的大小可以根据移动目标当前的航向角变化率确定,对于航向角变化率较大的情况,例如拐弯时,通过提高搜索角度大小可以满足目标路径的搜索需求。In the path planning method provided by the embodiment of the present application, the size of the search angle of the search area can be determined according to the current rate of change of the heading angle of the moving target. For a situation where the rate of change of the heading angle is relatively large, such as when turning, the size of the search angle can be increased to satisfy the target. Path search requirements.
在第一方面一种可能的实现方式中,所述在所述搜索区域中获取多个采样点具体包括:在所述搜索区域中通过随机采样获取所述多个采样点;或者,对所述搜索区域通过系统抽样的方式获取多个采样点。In a possible implementation manner of the first aspect, the acquiring multiple sampling points in the search area specifically includes: acquiring the multiple sampling points through random sampling in the search area; The search area obtains multiple sampling points through systematic sampling.
本申请实施例提供的路径规划方法,在搜索区域中选取采样点的方法有多种,例如随机采样或者通过系统抽样的方式均匀选取采样点,由此确定的路径中下一节点的位置可以摆脱传统A星算法中栅格的限制,使得规划的目标路径更平滑,提升路径质量。In the path planning method provided by the embodiment of the present application, there are many methods for selecting sampling points in the search area, such as random sampling or uniform sampling of sampling points through systematic sampling, so that the position of the next node in the path determined by this method can be freed from The limitation of the grid in the traditional A-star algorithm makes the planned target path smoother and improves the path quality.
本申请实施例的第二方面提供了一种路径规划装置,包括:获取单元,用于获取地图中移动目标的终点的位置;确定单元,用于根据所述第一节点的位置确定在所述地图中的搜索区域;所述获取单元还用于:在所述搜索区域中获取多个采样点;所述获取单元还用于:从所述多个采样点中获取使得代价函数最小的采样点为第二节点,所述第二节点为目标路径中所述第一节点的下一个节点;所述确定单元还用于,根据所述终点的位置、所述第一节点的位置和所述第二节点的位置确定所述目标路径。A second aspect of the embodiments of the present application provides a path planning device, including: an acquiring unit, configured to acquire the position of the end point of a moving target in a map; a determining unit, configured to determine the location on the map according to the position of the first node The search area in a second node, where the second node is the next node of the first node in the target path; the determining unit is further configured to, according to the position of the end point, the position of the first node and the second node The location of the node determines the target path.
在第二方面一种可能的实现方式中,根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角确定所述搜索区域。In a possible implementation manner of the second aspect, the search area is determined according to the position of the first node and the heading angle of the moving target at the position of the first node.
在第二方面一种可能的实现方式中,所述获取单元还用于:获取所述移动目标在所述第一节点的位置的动力学约束信息和/或所述第一节点的位置的周边的道路信息;所述动力学约束信息包括以下至少一项:所述移动目标在所述第一节点的位置的速度、所述移动目标在所述第一节点的位置的航向角变化率;所述道路信息包括以下至少一项:所述第一节点的位置周边的障碍物的位置、道路边界的位置;所述确定单元,具体用于:根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角,及以下至少一项:所述动力学约束信息、所述道路信息,确定所述搜索区域。In a possible implementation manner of the second aspect, the obtaining unit is further configured to: obtain the dynamic constraint information of the position of the moving target at the first node and/or the periphery of the position of the first node The dynamic constraint information includes at least one of the following: the speed of the moving target at the position of the first node, the heading angle change rate of the moving target at the position of the first node; the The road information includes at least one of the following: the position of obstacles around the position of the first node and the position of the road boundary; the determining unit is specifically configured to: according to the position of the first node and the moving target The heading angle at the position of the first node, and at least one of the following: the dynamic constraint information, the road information, determine the search area.
在第二方面一种可能的实现方式中,所述搜索区域在沿所述移动目标的航向角的方向上延伸的长度,与所述移动目标当前的速度正相关。In a possible implementation manner of the second aspect, the length of the search area extending in the direction of the heading angle of the moving target is positively related to the current speed of the moving target.
在第二方面一种可能的实现方式中,所述搜索区域为扇形或者三角形。In a possible implementation manner of the second aspect, the search area is fan-shaped or triangular.
在第二方面一种可能的实现方式中,所述搜索区域为以所述第一节点的位置为边界点的区域。In a possible implementation manner of the second aspect, the search area is an area with the position of the first node as a boundary point.
在第二方面一种可能的实现方式中,所述搜索区域的搜索角度小于或等于180度,所述搜索区域的搜索角度为过所述第一节点的两条切线构成的夹角,所述夹角包含所述移动目标在所述第一节点的位置的航向角的方向。In a possible implementation manner of the second aspect, a search angle of the search area is less than or equal to 180 degrees, and the search angle of the search area is an angle formed by two tangents passing through the first node, and the The included angle includes the direction of the heading angle of the moving target at the position of the first node.
在第二方面一种可能的实现方式中,所述搜索区域的搜索角度的大小与所述移动目标在所述第一节点的位置的航向角变化率正相关。In a possible implementation manner of the second aspect, the size of the search angle of the search area is positively correlated with the heading angle change rate of the position of the moving target at the first node.
在第二方面一种可能的实现方式中,所述获取单元具体用于:在所述搜索区域中通过随机采样获取所述多个采样点;或者,对所述搜索区域通过系统抽样的方式获取多个采样点。In a possible implementation manner of the second aspect, the acquiring unit is specifically configured to: acquire the plurality of sampling points by random sampling in the search area; or acquire the search area by systematic sampling multiple sampling points.
本申请实施例的第三方面提供了一种路径规划装置,包括:一个或多个处理器和存储器;其中,所述存储器中存储有计算机可读指令;所述一个或多个处理器读取所述计算机可读指令以使所述终端实现如上述第一方面以及各种可能的实现方式中任一项所述的方法。A third aspect of the embodiments of the present application provides a path planning apparatus, including: one or more processors and a memory; wherein, the memory stores computer-readable instructions; the one or more processors read The computer readable instructions cause the terminal to implement the method as described in any of the above first aspect and various possible implementations.
本申请实施例第四方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行如上述第一方面以及各种可能的实现方式中任一项所述的方法。A fourth aspect of the embodiments of the present application provides a computer program product including instructions, which, when run on a computer, enables the computer to execute the first aspect and any one of various possible implementation manners. method.
本申请实施例第五方面提供了一种计算机可读存储介质,包括指令,当所述指令在计算机上运行时,使得计算机执行如上述第一方面以及各种可能的实现方式中任一项所述的方法。A fifth aspect of the embodiments of the present application provides a computer-readable storage medium, including instructions, when the instructions are executed on a computer, the computer is made to execute the above-mentioned first aspect and any one of various possible implementation manners. method described.
本申请实施例第六方面提供了一种车辆,包括如上述第二方面或第三方面以及各种可能 的实现方式中任一项所述的路径规划装置。A sixth aspect of the embodiments of the present application provides a vehicle, including the path planning device described in any one of the foregoing second aspect or the third aspect and various possible implementation manners.
本申请实施例第七方面提供了一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行上述任一方面任意可能的实现方式中的方法。可选地,该芯片该包括存储器,该存储器与该处理器通过电路或电线与存储器连接。进一步可选地,该芯片还包括通信接口,处理器与该通信接口连接。通信接口用于接收需要处理的数据和/或信息,处理器从该通信接口获取该数据和/或信息,并对该数据和/或信息进行处理,并通过该通信接口输出处理结果。该通信接口可以是输入输出接口。A seventh aspect of an embodiment of the present application provides a chip, including a processor. The processor is configured to read and execute the computer program stored in the memory to perform the method in any possible implementation manner of any of the above aspects. Optionally, the chip includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire. Further optionally, the chip further includes a communication interface, and the processor is connected to the communication interface. The communication interface is used for receiving data and/or information to be processed, the processor obtains the data and/or information from the communication interface, processes the data and/or information, and outputs the processing result through the communication interface. The communication interface may be an input-output interface.
其中,第二方面、第三方面、第四方面、第五方面、第六方面或第七方面中任一种实现方式所带来的技术效果可参见第一方面中相应实现方式所带来的技术效果,此处不再赘述。Wherein, for the technical effect brought by any one of the second aspect, the third aspect, the fourth aspect, the fifth aspect, the sixth aspect or the seventh aspect, reference may be made to the technical effect brought by the corresponding implementation manner in the first aspect The technical effect will not be repeated here.
从以上技术方案可以看出,本申请实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present application have the following advantages:
本申请实施例提供的路径规划方法,通过路径中的当前节点确定搜索区域,通过在搜索区域中采样确定多个采样点,然后从多个采样点中确定下一节点的位置,由于采样点并不受栅格限制,因此,规划得到的目标路径能满足目标的动力学约束,且相较现有技术的路径更平滑。In the path planning method provided by the embodiments of the present application, the search area is determined by the current node in the path, multiple sampling points are determined by sampling in the search area, and then the position of the next node is determined from the multiple sampling points. Not limited by the grid, therefore, the planned target path can satisfy the dynamic constraints of the target, and is smoother than the path in the prior art.
附图说明Description of drawings
图1a为传统A星算法的一个示意图;Fig. 1a is a schematic diagram of the traditional A-star algorithm;
图1b为传统A星算法的另一个示意图;Figure 1b is another schematic diagram of the traditional A-star algorithm;
图2为本申请实施例中路径规划方法的应用场景的架构图;FIG. 2 is an architectural diagram of an application scenario of the path planning method in the embodiment of the present application;
图3a为本申请实施例中路径规划方法的一个实施例示意图;3a is a schematic diagram of an embodiment of a path planning method in an embodiment of the present application;
图3b为本申请实施例中路径规划方法的算法流程图;3b is an algorithm flow chart of the path planning method in the embodiment of the present application;
图4a为本申请实施例中搜索区域的一个实施例示意图;4a is a schematic diagram of an embodiment of a search area in an embodiment of the present application;
图4b为本申请实施例提供的路径规划方法的路径规划仿真效果的一个示意图;4b is a schematic diagram of a path planning simulation effect of the path planning method provided by the embodiment of the application;
图4c为基于传统的A*搜索算法得到的路径规划仿真效果的示意图;Fig. 4c is a schematic diagram of the simulation effect of path planning obtained based on the traditional A* search algorithm;
图5a为本申请实施例中搜索区域的另一个实施例示意图;FIG. 5a is a schematic diagram of another embodiment of the search area in the embodiment of the present application;
图5b为本申请实施例提供的路径规划方法的路径规划仿真效果的另一个示意图;FIG. 5b is another schematic diagram of the path planning simulation effect of the path planning method provided by the embodiment of the application;
图6为本申请实施例中路径规划装置的一个实施例示意图;FIG. 6 is a schematic diagram of an embodiment of a path planning apparatus in an embodiment of the present application;
图7为本申请实施例中路径规划装置的另一个实施例示意图。FIG. 7 is a schematic diagram of another embodiment of the path planning apparatus in the embodiment of the present application.
具体实施方式detailed description
本申请实施例提供了一种路径规划方法,用于获取不受栅格限制的平滑的路径。The embodiment of the present application provides a path planning method, which is used to obtain a smooth path that is not restricted by a grid.
为了便于理解,下面对本申请实施例涉及的部分技术术语进行简要介绍:For ease of understanding, some technical terms involved in the embodiments of the present application are briefly introduced below:
1、开启列表(Open list):用于保存所有已生成而未考察的节点;1. Open list: used to save all nodes that have been generated but not investigated;
2、关闭列表(Close list):用于记录已访问过的节点;2. Close list: used to record the nodes that have been visited;
3、代价函数F(n)是计算搜索代价的函数,求得的F(n)数值的大小,表示当前节点的重要性,F(n)越小,表示经过该节点到达终点所要付出的代价越小(距离越短),则该节点的重要性越强。A星算法的代价函数的表达式为:F(n)=G(n)+H(n)。3. The cost function F(n) is a function to calculate the search cost. The value of F(n) obtained indicates the importance of the current node. The smaller F(n) is, the cost to reach the end point after passing through the node. The smaller (the shorter the distance), the stronger the importance of the node. The expression of the cost function of the A-star algorithm is: F(n)=G(n)+H(n).
其中,G(n):用于表示指自起始节点至当前节点n已付出的代价,例如:起点到节点n 的最短路径值;H(n):用于表示指自当前节点n至终点所要付出的代价。例如:节点n到终点的最短路经值。Among them, G(n): used to indicate the cost that has been paid from the starting node to the current node n, for example: the shortest path value from the starting point to the node n; H(n): used to indicate the cost from the current node n to the end point the price to pay. For example: the shortest path value from node n to the end point.
本申请实施例中代价函数的表达式也可以表示为:F=G+H。The expression of the cost function in the embodiment of the present application may also be expressed as: F=G+H.
可选地,其中,G代表采样点到上一节点的距离以及航向角变化;H是采样点到终点的最短路径。Optionally, where G represents the distance from the sampling point to the previous node and the change in heading angle; H is the shortest path from the sampling point to the end point.
4、系统抽样:依据一定的抽样距离,从总体中抽取样本。具体的,是将总体分成均衡的若干部分,然后按照预先规定的规则,从每一部分抽取一个个体,得到所需要的样本的抽样方法。4. Systematic sampling: According to a certain sampling distance, samples are drawn from the population. Specifically, it is a sampling method that divides the population into balanced parts, and then selects an individual from each part according to predetermined rules to obtain the required sample.
下面首先对A*算法进行简要介绍,请参阅图1a-图1b:The A* algorithm is briefly introduced below, please refer to Figure 1a-Figure 1b:
A*搜索算法是一种广泛流行的启发式搜索算法,它以地图栅格为节点,在Dijkstra算法的基础上引入代价函数,能够快速高效地搜索出从起点到终点的最短路径。The A* search algorithm is a widely popular heuristic search algorithm. It uses the map grid as a node and introduces a cost function based on the Dijkstra algorithm, which can quickly and efficiently search for the shortest path from the start point to the end point.
传统的A*搜索算法的基本步骤如下:The basic steps of the traditional A* search algorithm are as follows:
1、将起点加入Open list,Close list初始化为空。1. Add the starting point to the Open list, and the Close list is initialized to be empty.
2、判断Open list是否为空。若是,则算法结束,路径规划失败;若否,则进行下一步。2. Determine whether the Open list is empty. If so, the algorithm ends and the path planning fails; if not, proceed to the next step.
3、从Open list中将代价函数值最小的节点作为下一个探索节点P,并移入Close list。3. Take the node with the smallest cost function value from the Open list as the next exploration node P, and move it into the Close list.
4、判断节点P是否为目标点(即终点)。若是,则直接到第8步结束;若否,则进行下一步。4. Determine whether the node P is the target point (ie the end point). If yes, go to step 8 directly; if no, go to the next step.
5、搜索节点P周围的相邻节点Pi,执行第6步。5. Search for adjacent nodes Pi around node P, and perform step 6.
6、若Pi不在Close list中,则计算Pi节点的代价函数值,并添加至Open list中。如果Pi节点已经在Open list中,且Open list记录的代价函数值比当前计算值大,那么更新该Pi节点在Open list中所记录的信息。6. If Pi is not in the Close list, calculate the cost function value of the Pi node and add it to the Open list. If the Pi node is already in the Open list, and the cost function value recorded by the Open list is greater than the current calculated value, then update the information recorded by the Pi node in the Open list.
7、遍历所有Pi节点之后,返回第2步。7. After traversing all Pi nodes, go back to step 2.
8、逆序搜索Close list中的父节点信息,得到从起点到终点的全局路径。8. Search the parent node information in the Close list in reverse order to get the global path from the start point to the end point.
如图1a所示,A*算法不仅能搜索从起点到终点的最短距离,而且在已知障碍物信息的情况下,还能规划出最短的避障路径。As shown in Figure 1a, the A* algorithm can not only search for the shortest distance from the starting point to the ending point, but also plan the shortest obstacle avoidance path when the obstacle information is known.
如图1b所示,传统A*算法在地图中构建栅格,规划路径中的节点都为栅格中心点。搜索路径终端的节点时,将从当前节点位置遍历考察当前节点位置周围相邻的8个节点(图1b中的1-8),未考虑车辆的行驶状态,例如,图1b中,车辆当前行驶方向为车头正向指向节点5,在正常行驶过程中,由于车辆无法瞬时掉头或者侧移,节点1,2,4,6和7显然不符合车辆动力学约束,对这些节点进行一一考察将浪费计算资源,搜索效率低。此外,由于路径中的节点均为栅格的中心点,由此规划得到的路径,在图1b所示位置限制了车辆只能笔直向前节点5行驶,或者,向左前方偏转45度向节点3行驶,或者,向右前方偏转45度向节点8行驶。不难理解,由此得到的路径,轨迹机械,可能出现瞬时大转角拐点。As shown in Figure 1b, the traditional A* algorithm builds a grid in the map, and the nodes in the planned path are all grid centers. When searching for the node at the end of the path, the current node position will be traversed to investigate the adjacent 8 nodes around the current node position (1-8 in Figure 1b), regardless of the driving state of the vehicle. For example, in Figure 1b, the vehicle is currently driving The direction is that the front of the vehicle points to node 5. During normal driving, since the vehicle cannot turn around or move sideways, nodes 1, 2, 4, 6 and 7 obviously do not meet the vehicle dynamics constraints. It wastes computing resources and has low search efficiency. In addition, since the nodes in the path are all the center points of the grid, the planned path, in the position shown in Figure 1b, restricts the vehicle to only drive straight forward to node 5, or to deflect 45 degrees to the left and forward to the node 3 Drive, or, yaw 45 degrees ahead to the right toward node 8. It is not difficult to understand that the resulting path, the trajectory machine, may have an instantaneous large turning point.
一些基于搜索的路径规划方法中,结合了车辆动力学模型对搜索算法进行了改进,例如混合A星算法(hybrid A*)、快速扩展随机树(RRT)算法的变种等等。这些方法在算法流程中添加了动力学模型的计算,能够有效地筛选出符合车辆动力学约束的搜索节点,避免车辆行驶路径出现瞬时的大转角拐点。但是,在结合了车辆动力学模型的路径搜索算法中,增加了模型迭代运算的步骤,计算复杂,降低了搜索效率。In some search-based path planning methods, the vehicle dynamics model is combined to improve the search algorithm, such as the hybrid A-star algorithm (hybrid A*), the variant of the rapidly expanding random tree (RRT) algorithm, and so on. These methods add the calculation of the dynamic model to the algorithm process, which can effectively screen out the search nodes that meet the vehicle dynamic constraints, and avoid the instantaneous large turning point in the vehicle driving path. However, in the path search algorithm combined with the vehicle dynamics model, the steps of iterative operation of the model are added, the calculation is complicated, and the search efficiency is reduced.
本申请实施例提供的路径规划方法可应用于各种移动目标(包括机动车、非机动车、船、艇、行人或机器人等)在各种形式的路径(包括高速公路、城市道路、乡村道路或室内路径等)上的运动,例如无人轮船、无人快艇的航线规划等。后续实施例以车辆在道路上的路径规划为例进行描述,但本领域技术人员可以将其扩展至其他目标的路径规划领域,具体此处不做限定。The path planning method provided by the embodiments of the present application can be applied to various moving targets (including motor vehicles, non-motor vehicles, boats, boats, pedestrians or robots, etc.) in various forms of paths (including highways, urban roads, and rural roads). or indoor paths, etc.), such as the route planning of unmanned ships and unmanned speedboats. Subsequent embodiments are described by taking the path planning of the vehicle on the road as an example, but those skilled in the art can extend it to the field of path planning for other targets, which is not specifically limited here.
下面结合图2,本申请实施例中路径规划方法的应用场景的架构图,对本申请涉及的网元进行简要介绍:2, the architecture diagram of the application scenario of the path planning method in the embodiment of the present application, the network elements involved in the present application are briefly introduced:
(1)定位与感知传感器,如摄像头、激光雷达等;(1) Positioning and perception sensors, such as cameras, lidars, etc.;
(2)车辆位姿传感器,如惯性测量单元(inertial measurement unit,IMU)、全球卫星定位系统(global positioning system,GPS)等;(2) Vehicle position and attitude sensors, such as inertial measurement unit (IMU), global positioning system (global positioning system, GPS), etc.;
(3)车载网关,如前装车机(telematics box,T-Box)等T-BOX主要用于和后台系统/手机APP通信,实现手机APP的车辆信息显示与控制;(3) In-vehicle gateway, T-BOX such as front loader (telematics box, T-Box) is mainly used to communicate with background system/mobile APP to realize vehicle information display and control of mobile APP;
(4)车载数据运算单元,如移动数据中心(mobile data center,MDC)等;(4) In-vehicle data computing unit, such as mobile data center (MDC), etc.;
(5)云端数据运算单元,例如云端服务器等。(5) Cloud data computing units, such as cloud servers, etc.
本申请提出的路径规划方法通过路径规划装置实现,路径规划装置可以是车载数据运算单元,还可以是云端数据运算单元,具体此处不做限定。可选地,当车辆中车载数据运算单元运算资源紧张或者出现故障时,本申请的路径规划算法就可以切换至云端数据运算单元中进行,从而不影响智能车辆的正常行驶。The path planning method proposed in the present application is implemented by a path planning device, and the path planning device may be an on-board data computing unit or a cloud data computing unit, which is not specifically limited here. Optionally, when the computing resources of the on-board data computing unit in the vehicle are tight or malfunction occurs, the path planning algorithm of the present application can be switched to the cloud data computing unit for execution, so as not to affect the normal driving of the intelligent vehicle.
下面对本申请实施例提供的路径规划方法进行介绍,请参阅图3a,该方法包括:The path planning method provided by the embodiment of the present application is introduced below, please refer to FIG. 3a, the method includes:
3011、路径规划装置获取在地图中移动目标的终点的位置;3011. The path planning device acquires the position of the end point of the moving target in the map;
路径规划装置中可以预置地图,或者根据移动目标的实时位置在线获取相应地理位置区域的地图。该地图的具体类型不做限定,可以是普通地图或高精地图。可以理解的是,移动目标当前所在位置、终点的位置以及待规划的目标路径均位于地图涵盖的区域。进行路径规划之前,还需要获取移动目标的终点的位置,以及第一节点的位置。目标路径为路径规划装置期望获取的路径,第一节点可以是目标路径中的任意一个中间节点,或者是目标路径的起点。本实施例中以第一节点为目标路径的起点为例进行介绍。A map can be preset in the path planning device, or a map of a corresponding geographic location area can be obtained online according to the real-time position of the moving target. The specific type of the map is not limited, and it can be a normal map or a high-precision map. It can be understood that the current position of the moving target, the position of the end point and the target path to be planned are all located in the area covered by the map. Before performing path planning, it is also necessary to obtain the position of the end point of the moving target and the position of the first node. The target path is a path expected to be obtained by the path planning apparatus, and the first node may be any intermediate node in the target path, or the starting point of the target path. In this embodiment, the first node is taken as the starting point of the target path as an example for introduction.
3012、根据第一节点的位置确定地图中的搜索区域;3012. Determine a search area in the map according to the position of the first node;
本申请实施例的路径规划方法中需要确定路径的中间节点的位置,然后根据起点的位置、中间节点的位置以及终点的位置确定目标路径,基于路径中的多个节点确定路径的方法例如差值法等为已有技术,具体此处不做限定。需要说明的是,除了已知的起点的位置和终点的位置之外,路径规划装置还需要获取目标路径中的至少一个中间节点,可以理解的是,通常为确定目标路径,需要搜索起点与终点之间的多个中间节点,为描述方便,本实施例中,根据在目标路径中的顺序,从起点开始的各个节点依次称为第一节点、第二节点……第N节点,根据第一节点的位置可以确定第二节点的第二搜索区域,以此类推,直至确定第N节点的第N搜索区域中包含终点的位置时,即可结束搜索。第节点至第N节点的搜索区域的确定方法与第一节点的搜索区域的确定方法类似,此处不再一一赘述。下面以第二节点的搜索过程为例进行介绍。In the path planning method of the embodiment of the present application, the position of the intermediate node of the path needs to be determined, and then the target path is determined according to the position of the starting point, the position of the intermediate node, and the position of the end point, and the method for determining the path based on multiple nodes in the path, such as the difference value The method and the like are the prior art, which is not specifically limited here. It should be noted that in addition to the known position of the starting point and the position of the ending point, the path planning device also needs to obtain at least one intermediate node in the target path. It can be understood that, in order to determine the target path, it is usually necessary to search for the starting point and the ending point. For the convenience of description, in this embodiment, according to the order in the target path, each node starting from the starting point is sequentially called the first node, the second node...the Nth node, according to the first node. The position of the node can determine the second search area of the second node, and so on, until the position of the end point in the Nth search area of the Nth node is determined, and the search can be ended. The method for determining the search area from the first node to the Nth node is similar to the method for determining the search area for the first node, and details are not repeated here. The following takes the search process of the second node as an example for introduction.
路径规划装置根据第一节点的位置,确定路径中下一个节点即第二节点的位置,首先, 根据第一节点的位置确定搜索区域,下面介绍搜索区域的确定方法。The path planning device determines the position of the next node in the path, ie, the second node, according to the position of the first node. First, the search area is determined according to the position of the first node. The following describes the determination method of the search area.
搜索区域的确定方法有多种,可选地,路径规划装置根据第一节点的位置(x 0,y 0)和移动目标在该第一节点的位置时的航向角(θ 0)确定搜索区域。这里,移动目标在起点位置时的航向角可以为预设值,具体方向不做限定。目标车辆在中间节点的位置的航向角可以根据上一节点的位置和当前节点的位置进行计算。 There are many methods for determining the search area. Optionally, the path planning device determines the search area according to the position (x 0 , y 0 ) of the first node and the heading angle (θ 0 ) of the moving target at the position of the first node . Here, the heading angle of the moving target at the starting point may be a preset value, and the specific direction is not limited. The heading angle of the target vehicle at the position of the intermediate node can be calculated according to the position of the previous node and the position of the current node.
可选地,除了第一节点的位置(x 0,y 0)和目标车辆在第一节点的位置时的航向角(θ 0),路径规划装置还根据目标车辆在当前第一节点处的动力学约束信息确定搜索区域,动力学约束信息包括速度、航向角变化率等,反映目标车辆的运动状态。可选地,目标车辆的速度或航向角变化率可以为预设值。 Optionally, in addition to the position of the first node (x 0 , y 0 ) and the heading angle (θ 0 ) of the target vehicle when the target vehicle is at the position of the first node, the path planning device also bases on the power of the target vehicle at the current first node The search area is determined by the learning constraint information, and the dynamic constraint information includes the speed, the rate of change of the heading angle, etc., which reflects the motion state of the target vehicle. Optionally, the speed or heading angle change rate of the target vehicle may be a preset value.
可选地,路径规划装置还获取道路环境信息,例如障碍物位置或道路边界的位置等,可以用于确定搜索区域。Optionally, the path planning device also acquires road environment information, such as the location of obstacles or the location of road boundaries, which can be used to determine the search area.
搜索区域的形状不做限定,可选地,该搜索区域为以该第一节点的位置为边界点的区域,该搜索区域的搜索角度小于或等于180度,该搜索区域的搜索角度为过所述第一节点的两条切线构成的包含所述航向角方向的夹角。可选地,该搜索区域为预设的形状,例如扇形或者三角形。The shape of the search area is not limited, optionally, the search area is an area with the position of the first node as the boundary point, the search angle of the search area is less than or equal to 180 degrees, and the search angle of the search area is over The included angle formed by the two tangents of the first node and including the heading angle direction. Optionally, the search area is a preset shape, such as a fan shape or a triangle shape.
搜索区域的大小可以为预设大小,或者根据目标车辆的运动状态确定,此处不做限定。可选地,该搜索区域在沿所述航向角方向上延伸的长度,与所述目标车辆当前的速度正相关。可选地,该搜索区域的搜索角度的大小与所述目标车辆当前的航向角变化率正相关,该搜索区域的搜索角度为过所述第一节点的两条切线构成的包含所述航向角方向的夹角。The size of the search area may be a preset size, or determined according to the motion state of the target vehicle, which is not limited here. Optionally, the length of the search area extending in the direction of the heading angle is positively correlated with the current speed of the target vehicle. Optionally, the size of the search angle of the search area is positively correlated with the current rate of change of the heading angle of the target vehicle, and the search angle of the search area is the heading angle formed by the two tangents passing through the first node. angle of direction.
3013、在该搜索区域中确定多个采样点;3013. Determine multiple sampling points in the search area;
路径规划装置在该搜索区域中确定多个采样点。采样点的数量至少为两个,具体数值与搜索区域和搜索精度有关,具体数量此处不做限定。The path planning device determines a plurality of sampling points in the search area. The number of sampling points is at least two, and the specific value is related to the search area and search accuracy, and the specific number is not limited here.
采样点的选取方法有多种,可选地,路径规划装置在搜索区域中通过随机采样确定所述多个采样点;或者,所述路径规划装置对该搜索区域通过系统抽样的方式确定多个采样点。选取采样点的具体方法此处不做限定。There are various methods for selecting sampling points. Optionally, the path planning device determines the plurality of sampling points by random sampling in the search area; or, the path planning device determines the plurality of sampling points in the search area by systematic sampling. Sampling point. The specific method for selecting sampling points is not limited here.
3014、从该多个采样点中确定使得代价函数最小的采样点为第一节点;3014. Determine, from the plurality of sampling points, the sampling point that minimizes the cost function as the first node;
路径规划装置对该多个采样点Pi进行遍历,确定使得代价函数最小的中心点为第一中间节点,本申请实施例中对代价函数的具体计算公式不做限定。可选地,本申请实施例中代价函数的表达式也可以表示为:F=G+H。其中,G代表采样点到上一节点的距离以及航向角变化;H是采样点到终点的最短路径。The path planning apparatus traverses the plurality of sampling points Pi, and determines that the center point that minimizes the cost function is the first intermediate node, and the specific calculation formula of the cost function is not limited in this embodiment of the present application. Optionally, the expression of the cost function in the embodiment of the present application may also be expressed as: F=G+H. Among them, G represents the distance from the sampling point to the previous node and the change of the heading angle; H is the shortest path from the sampling point to the end point.
3015、根据第一节点的位置、第二节点的位置和终点的位置确定目标路径;3015. Determine the target path according to the position of the first node, the position of the second node, and the position of the end point;
路径规划装置根据第一节点的位置、第二节点的位置和终点的位置确定目标路径,可以理解的是第一节点的数量不做限定,可以为一个或多个。The path planning device determines the target path according to the position of the first node, the position of the second node and the position of the end point. It can be understood that the number of the first nodes is not limited and can be one or more.
本申请实施例提供的路径规划方法,具体包括通过路径中的当前节点确定下一节点搜索区域,通过在搜索区域中采样确定多个采样点,然后从多个采样点中确定下一节点的位置,由于本方法中的采样点并不受栅格限制,因此,规划得到的目标路径能满足目标的动力学约束,且相较现有技术的路径更平滑。The path planning method provided by the embodiment of the present application specifically includes determining a search area for the next node by using a current node in the path, determining multiple sampling points by sampling in the search area, and then determining the position of the next node from the multiple sampling points , since the sampling points in this method are not limited by the grid, the planned target path can satisfy the dynamic constraints of the target, and is smoother than the path in the prior art.
需要说明的是,本申请实施例提供的路径规划方法,在传统的A星算法基础上进行了改进。如图3b所示,本申请实施例中路径规划方法的算法流程步骤如下:It should be noted that, the path planning method provided by the embodiment of the present application is improved on the basis of the traditional A-star algorithm. As shown in FIG. 3b, the algorithm flow steps of the path planning method in the embodiment of the present application are as follows:
3021、将起点加入Open list。3021. Add the starting point to the Open list.
3022、判断Open list是否为空,若是,则执行步骤3023;若否,则执行步骤30243022. Determine whether the Open list is empty, if so, go to step 3023; if not, go to step 3024
3023、若Open list为空,则路径规划失败,退出程序;3023. If the Open list is empty, the path planning fails and the program exits;
3024、若Open list不为空,则从Open list中找到代价函数值最小的节点作为下一个探索节点P。3024. If the Open list is not empty, find the node with the smallest cost function value from the Open list as the next exploration node P.
3025、判断节点P是否为终点,若是,则执行步骤3026;若否,则执行步骤3027。3025. Determine whether the node P is the end point, if yes, go to step 3026; if not, go to step 3027.
3026、若节点P为终点,则在Close list中逆序搜索父节点信息,得到从起点到终点的全局路径。3026. If the node P is the end point, search the parent node information in the Close list in reverse order to obtain the global path from the start point to the end point.
3027、若节点P不为终点,则确定下一节点的搜索区域,在该区域内确定多个采样点Pi进行遍历。3027. If the node P is not the end point, determine the search area of the next node, and determine multiple sampling points Pi within the area to traverse.
需要说明的是,若下一节点的搜索区域覆盖终点所在的位置,则可以直接将终点作为唯一的采样点,即确定为下一节点。It should be noted that, if the search area of the next node covers the location of the end point, the end point can be directly used as the only sampling point, that is, the next node is determined.
3028、若Pi在Close list中,则跳过该采样点;计算Pi的代价函数值,将该采样点信息添加到Open list中。3028. If Pi is in the Close list, skip the sampling point; calculate the cost function value of Pi, and add the sampling point information to the Open list.
可选地,在本申请实施例的算法流程中还可以基于栅格进行辅助计算,Open list与Close list中所包含的信息有:采样点所占栅格的横纵坐标(x g,y g)、采样点本身的横纵坐标(x s,y s)以及航向角θ s、父节点所占栅格的横纵坐标(x gp,y gp)、父节点本身的横纵坐标(x sp,y sp)以及航向角θ sp、代价函数值F。在3028步骤中,若待考察的采样点所占的栅格已经在Open list中,且Open list中记录的代价函数值大于当前值,那么更新相应的采样点信息以及代价函数值。 Optionally, in the algorithm flow of the embodiment of the present application, auxiliary calculation may also be performed based on grids, and the information contained in the Open list and the Close list include: the horizontal and vertical coordinates of the grid occupied by the sampling points (x g , y g ) ), the horizontal and vertical coordinates of the sampling point itself (x s , y s ) and the heading angle θ s , the horizontal and vertical coordinates of the grid occupied by the parent node (x gp , y gp ), the horizontal and vertical coordinates of the parent node itself (x sp , y sp ) and the heading angle θ sp , the cost function value F. In step 3028, if the grid occupied by the sampling point to be investigated is already in the Open list, and the cost function value recorded in the Open list is greater than the current value, then update the corresponding sampling point information and the cost function value.
重复执行步骤3022至3028,直至获取从起点到终点的全局路径。 Steps 3022 to 3028 are repeated until the global path from the start point to the end point is obtained.
本申请实施例的路径规划方法中搜索区域的形状可以有多种类型,下面分别以扇形和三角形为例进行说明。The shape of the search area in the path planning method according to the embodiment of the present application may be of various types, and the following description is given by taking a sector shape and a triangle shape as examples.
请参阅图4a,图4a示出了本申请实施例中的扇形搜索区域;Please refer to Fig. 4a, Fig. 4a shows a sector search area in an embodiment of the present application;
本实施例以扇形为搜索区域,扇形的圆心与车辆当前坐标重合,半径L与圆心角θ max跟车辆位姿、车辆动力学约束以及道路环境信息有关。 In this embodiment, a sector is used as the search area, the center of the sector coincides with the current coordinates of the vehicle, and the radius L and the center angle θ max are related to the vehicle pose, vehicle dynamics constraints, and road environment information.
1)确定搜索区域;1) Determine the search area;
示例性的,若只考虑车速,可以根据以下公式计算扇形区域的位置。Exemplarily, if only the vehicle speed is considered, the position of the fan-shaped area can be calculated according to the following formula.
当需要加强车辆动力学约束的时候,例如车速大于或等于预设阈值时,可以增大L,减小θ max。当道路环境较为复杂时,例如障碍物较多、道路曲率较大时,可以减小L,增大θ maxWhen the vehicle dynamics constraints need to be strengthened, for example, when the vehicle speed is greater than or equal to a preset threshold, L can be increased and θ max can be decreased. When the road environment is complex, for example, when there are many obstacles and the road curvature is large, L can be decreased and θ max can be increased.
L=L 0+α*V L=L 0 +α*V
θ max=θ max0-V/β*π θ max = θ max0 -V/β*π
其中,V为车速(m/s);L 0为预设值,取值范围例如为3到5(米);θ max0可取π;α为预设系数,取值范围为[0,1],例如0.5;β也为预设系数,具体数值不做限定,例如为50。 Among them, V is the vehicle speed (m/s); L 0 is a preset value, and the value range is, for example, 3 to 5 (meters); θ max0 can be π; α is a preset coefficient, and the value range is [0, 1] , such as 0.5; β is also a preset coefficient, and the specific value is not limited, such as 50.
2)在搜索区域中采样,获取多个采样点;2) Sampling in the search area to obtain multiple sampling points;
本实施例在扇形搜索区域内进行定量采样,也就是把扇形的半径和圆心角进行定量分割。在已知当前节点坐标(x 0,y 0)和航向角θ 0的基础上,可以利用以下公式得到采样点的坐标(x s,y s)和航向角θ sIn this embodiment, quantitative sampling is performed in the sector search area, that is, the radius and the central angle of the sector are quantitatively divided. On the basis of knowing the current node coordinates (x 0 , y 0 ) and the heading angle θ 0 , the following formulas can be used to obtain the coordinates (x s , y s ) of the sampling point and the heading angle θ s .
θ s=θ 0+Δθ θ s = θ 0 +Δθ
x s=x 0+l*cosθ s x s = x 0 +l*cosθ s
y s=y 0+l*sinθ s y s =y 0 +l*sinθ s
其中,Δθ=-θ max/2,...,-θ max/N 1,0,θ max/N 1,...,θ max/2; Wherein, Δθ=-θ max /2,...,-θ max /N 1 , 0, θ max /N 1 ,..., θ max /2;
l=L/N 2,2L/N 2,3L/N 2,...L;l代表当前节点到采样点的距离。 l=L/N 2 , 2L/N 2 , 3L/N 2 , ...L; l represents the distance from the current node to the sampling point.
N 1为扇形圆心角分割数,N 2为扇形的半径分割数。 N 1 is the number of divisions of the central angle of the sector, and N 2 is the number of divisions of the radius of the sector.
3)计算多个采样点的代价函数;3) Calculate the cost function of multiple sampling points;
本实施例中的代价函数值F由以下公式计算。The cost function value F in this embodiment is calculated by the following formula.
F=G+HF=G+H
G=k 1*l+k 2*|Δθ| G=k 1 *l+k 2 *|Δθ|
Figure PCTCN2020115825-appb-000001
Figure PCTCN2020115825-appb-000001
其中,k 1和k 2为权重系数,均为非负数且通常k 1<k 2;(x d,y d)为终点坐标。 Wherein, k 1 and k 2 are weight coefficients, both of which are non-negative and usually k 1 <k 2 ; (x d , y d ) are the coordinates of the end point.
图4b示出了根据本申请实施例提供的路径规划方法获取的路径规划仿真效果,图4c示出了基于传统的A*搜索算法得到的路径规划仿真效果;Fig. 4b shows the simulation effect of path planning obtained according to the path planning method provided in the embodiment of the present application, and Fig. 4c shows the simulation effect of path planning obtained based on the traditional A* search algorithm;
路径规划方法使得智能汽车从起点顺利移动到终点,既没有超出道路边界也没有与障碍物发生接触。而且路径的航向角变化更加灵活,同时更加符合车辆动力学约束,没有出现像传统A*搜索算法结果中的许多90°折角。本方案实施例一结果中的路径节点是通过在扇形搜索区域内采样得到的,不再受到地图栅格的限制,所以比传统A*搜索的路径节点数要少很多。The path planning method enables the smart car to move smoothly from the starting point to the ending point, neither exceeding the road boundary nor coming into contact with obstacles. In addition, the heading angle of the path changes more flexibly, and at the same time, it is more in line with the vehicle dynamics constraints, and there are no 90° bends like many 90° bends in the results of the traditional A* search algorithm. The path nodes in the result of Example 1 of this solution are obtained by sampling in the fan-shaped search area, and are no longer limited by the map grid, so the number of path nodes in the traditional A* search is much less.
请参阅图5a,图5a示出了本申请实施例中的三角形搜索区域;Please refer to Fig. 5a, Fig. 5a shows the triangular search area in the embodiment of the present application;
本申请实施例中以搜索区域为等腰三角形为例进行说明,等腰三角形顶角对应的顶点与车辆当前坐标重合,过顶点的高L与顶角角度θ max跟车辆位姿、车辆动力学约束以及道路环境信息有关。当需要加强车辆动力学约束的时候,例如车速较高时,可以增大L,减小θ max。当道路环境较为复杂时,例如障碍物较多、道路曲率较大时,可以减小L,增大θ maxIn the embodiment of this application, the search area is an isosceles triangle as an example for illustration. The vertex corresponding to the vertex angle of the isosceles triangle coincides with the current coordinates of the vehicle. constraints and road environment information. When the vehicle dynamic constraints need to be strengthened, such as when the vehicle speed is high, L can be increased and θ max can be decreased. When the road environment is complex, for example, when there are many obstacles and the road curvature is large, L can be decreased and θ max can be increased.
如图5a所示,本实施例在三角形搜索区域内进行随机采样,并假设采样点在三角形搜索区域内服从均匀分布。在已知当前节点坐标(x 0,y 0)和航向角θ 0的基础上,可以利用以下公式得到采样点的坐标(x s,y s)和航向角θ sAs shown in Fig. 5a, this embodiment performs random sampling in the triangular search area, and assumes that the sampling points are uniformly distributed in the triangular search area. On the basis of knowing the current node coordinates (x 0 , y 0 ) and the heading angle θ 0 , the following formulas can be used to obtain the coordinates (x s , y s ) of the sampling point and the heading angle θ s .
θ s=θ 0+acrtan(d/l) θ s = θ 0 +acrtan(d/l)
x s=x 0+l*cosθ s x s = x 0 +l*cosθ s
y s=y 0+l*sinθ s y s =y 0 +l*sinθ s
其中,l在[0,L]上服从均匀分布;d在[-l*tan(θ max/2),l*tan(θ max/2)]上服从均匀分布。 Among them, l obeys a uniform distribution on [0,L]; d obeys a uniform distribution on [-l*tan(θ max /2),l*tan(θ max /2)].
然后,根据采样点坐标(x s,y s)就可以在地图中得到相应的栅格坐标(x g,y g)。 Then, according to the sampling point coordinates (x s , y s ), the corresponding grid coordinates (x g , y g ) can be obtained in the map.
本实施例中的代价函数值F由以下公式计算。The cost function value F in this embodiment is calculated by the following formula.
F=G+HF=G+H
G=k 1*l+k 2*|d| G=k 1 *l+k 2 *|d|
Figure PCTCN2020115825-appb-000002
Figure PCTCN2020115825-appb-000002
其中,k 1和k 2为权重系数,均为非负数且通常k 1<k 2;(x d,y d)为终点坐标。 Wherein, k 1 and k 2 are weight coefficients, both of which are non-negative and usually k 1 <k 2 ; (x d , y d ) are the coordinates of the end point.
如图5b示出了根据本申请实施例提供的路径规划方法获取的路径规划仿真效果,相比于传统A*搜索算法,根据本实施例的路径规划方法获取的路径更为平滑,更加符合车辆动力学规律。因为路径节点是通过在三角形搜索区域内随机采样得到的,所以路径节点不再受到地图栅格的限制,提高了路径搜索的随机性。Figure 5b shows the path planning simulation effect obtained according to the path planning method provided by the embodiment of the present application. Compared with the traditional A* search algorithm, the path obtained according to the path planning method of this embodiment is smoother and more suitable for the vehicle kinetic laws. Because the path nodes are obtained by random sampling in the triangle search area, the path nodes are no longer restricted by the map grid, which improves the randomness of the path search.
上面介绍了本申请实施例中的路径规划方法,下面对实现该方法的路径规划装置进行介绍。The path planning method in the embodiments of the present application has been described above, and a path planning apparatus for implementing the method is introduced below.
请参阅图6,为本申请实施例中路径规划装置的一个实施例示意图。Please refer to FIG. 6 , which is a schematic diagram of an embodiment of a path planning apparatus in an embodiment of the present application.
图6中的各个模块的只一个或多个可以软件、硬件、固件或其结合实现。所述软件或固件包括但不限于计算机程序指令或代码,并可以被硬件处理器所执行。所述硬件包括但不限于各类集成电路,如中央处理单元(CPU)、数字信号处理器(DSP)、现场可编程门阵列(FPGA)或专用集成电路(ASIC)。Only one or more of the various modules in FIG. 6 may be implemented in software, hardware, firmware, or a combination thereof. The software or firmware includes, but is not limited to, computer program instructions or code, and can be executed by a hardware processor. The hardware includes, but is not limited to, various types of integrated circuits, such as a central processing unit (CPU), a digital signal processor (DSP), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC).
该路径规划装置,包括:The path planning device includes:
获取单元601,用于获取地图中移动目标的终点的位置;Obtaining unit 601, for obtaining the position of the end point of the moving target in the map;
确定单元602,用于根据所述第一节点的位置确定在所述地图中的搜索区域;a determining unit 602, configured to determine a search area in the map according to the position of the first node;
所述获取单元601还用于:在所述搜索区域中获取多个采样点;The obtaining unit 601 is further configured to: obtain a plurality of sampling points in the search area;
所述获取单元601还用于:从所述多个采样点中获取使得代价函数最小的采样点为第二节点,所述第二节点为目标路径中所述第一节点的下一个节点;The obtaining unit 601 is further configured to: obtain a sampling point from the plurality of sampling points that minimizes the cost function as a second node, and the second node is the next node of the first node in the target path;
所述确定单元602还用于,根据所述终点的位置、所述第一节点的位置和所述第二节点的位置确定所述目标路径。The determining unit 602 is further configured to determine the target path according to the position of the end point, the position of the first node and the position of the second node.
可选地,所述确定单元602,具体用于:根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角确定所述搜索区域。Optionally, the determining unit 602 is specifically configured to: determine the search area according to the position of the first node and the heading angle of the moving target at the position of the first node.
可选地,所述获取单元601还用于:获取所述移动目标在所述第一节点的位置的动力学约束信息和/或所述第一节点的位置的周边的道路信息;所述动力学约束信息包括以下至少一项:所述移动目标在所述第一节点的位置的速度、所述移动目标在所述第一节点的位置的航向角变化率;所述道路信息包括以下至少一项:所述第一节点的位置周边的障碍物的位置、道路边界的位置;所述确定单元602,具体用于:根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角,及以下至少一项:所述动力学约束信息、所述道路信息,确定所述搜索区域。Optionally, the obtaining unit 601 is further configured to: obtain dynamic constraint information of the moving target at the position of the first node and/or road information around the position of the first node; the dynamic The learning constraint information includes at least one of the following: the speed of the moving target at the position of the first node, the heading angle change rate of the moving target at the position of the first node; the road information includes at least one of the following Item: the position of the obstacle around the position of the first node, the position of the road boundary; the determining unit 602 is specifically configured to: according to the position of the first node and the moving target at the first node The heading angle of the location, and at least one of the following: the dynamic constraint information, the road information, to determine the search area.
可选地,所述搜索区域在沿所述移动目标的航向角的方向上延伸的长度,与所述移动目标当前的速度正相关。Optionally, the length of the search area extending in the direction of the heading angle of the moving target is positively correlated with the current speed of the moving target.
可选地,所述搜索区域为扇形或者三角形。Optionally, the search area is fan-shaped or triangular.
可选地,所述搜索区域为以所述第一节点的位置为边界点的区域。Optionally, the search area is an area with the position of the first node as a boundary point.
可选地,所述搜索区域的搜索角度小于或等于180度,所述搜索区域的搜索角度为过所述第一节点的两条切线构成的夹角,所述夹角包含所述移动目标在所述第一节点的位置的航向角的方向。Optionally, the search angle of the search area is less than or equal to 180 degrees, the search angle of the search area is an angle formed by two tangents passing through the first node, and the angle includes the moving target at The direction of the heading angle of the position of the first node.
可选地,所述搜索区域的搜索角度的大小与所述移动目标在所述第一节点的位置的航向 角变化率正相关。Optionally, the size of the search angle of the search area is positively correlated with the rate of change of the heading angle of the moving target at the position of the first node.
可选地,所述获取单元601具体用于:在所述搜索区域中通过随机采样获取所述多个采样点;或者,对所述搜索区域通过系统抽样的方式获取多个采样点。Optionally, the acquiring unit 601 is specifically configured to: acquire the multiple sampling points in the search area by random sampling; or acquire multiple sampling points in the search area by systematic sampling.
请参阅图7,为本申请实施例中路径规划装置的另一个实施例示意图;Please refer to FIG. 7 , which is a schematic diagram of another embodiment of the path planning apparatus in the embodiment of the present application;
本实施例提供的路径规划装置,可以为服务器或者终端等电子设备,本申请实施例中对其具体设备形态不做限定。The path planning apparatus provided in this embodiment may be an electronic device such as a server or a terminal, and the specific device form thereof is not limited in this embodiment of the present application.
该路径规划装置700可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器701和存储器702,该存储器702中存储有程序或数据。The path planning apparatus 700 may vary greatly due to different configurations or performances, and may include one or more processors 701 and a memory 702 in which programs or data are stored.
其中,存储器702可以是易失性存储或非易失性存储。可选地,处理器701是一个或多个中央处理器(CPU,Central Processing Unit,该CPU可以是单核CPU,也可以是多核CPU。处理器701可以与存储器702通信,在路径规划装置700上执行存储器702中的一系列指令。Wherein, the memory 702 may be volatile storage or non-volatile storage. Optionally, the processor 701 is one or more central processing units (CPU, Central Processing Unit, the CPU may be a single-core CPU, or a multi-core CPU. The processor 701 may communicate with the memory 702, and the path planning device 700 executes a series of instructions in memory 702.
该路径规划装置700还包括一个或一个以上有线或无线网络接口703,例如以太网接口。The path planning apparatus 700 also includes one or more wired or wireless network interfaces 703, such as Ethernet interfaces.
可选地,尽管图7中未示出,路径规划装置700还可以包括一个或一个以上电源;一个或一个以上输入输出接口,输入输出接口可以用于连接显示器、鼠标、键盘、触摸屏设备或传感设备等,输入输出接口为可选部件,可以存在也可以不存在,此处不做限定。Optionally, although not shown in FIG. 7 , the path planning apparatus 700 may also include one or more power supplies; one or more input and output interfaces, and the input and output interfaces may be used to connect a display, a mouse, a keyboard, a touch screen device or a transmission device. Sensor devices, etc., the input and output interfaces are optional components, which may or may not exist, and are not limited here.
本实施例中路径规划装置700中的处理器701所执行的流程可以参考前述方法实施例中描述的方法流程,此处不加赘述。For the process performed by the processor 701 in the path planning apparatus 700 in this embodiment, reference may be made to the method process described in the foregoing method embodiments, and details are not repeated here.

Claims (22)

  1. 一种路径规划方法,其特征在于,包括:A path planning method, comprising:
    获取地图中移动目标的终点的位置;Get the location of the end point of the moving target in the map;
    根据所述第一节点的位置确定在所述地图中的搜索区域;determining a search area in the map according to the position of the first node;
    在所述搜索区域中获取多个采样点;acquiring a plurality of sampling points in the search area;
    从所述多个采样点中获取使得代价函数最小的采样点为第二节点,所述第二节点为目标路径中所述第一节点的下一个节点;The sampling point obtained from the plurality of sampling points that minimizes the cost function is the second node, and the second node is the next node of the first node in the target path;
    根据所述终点的位置、所述第一节点的位置和所述第二节点的位置确定所述目标路径。The target path is determined according to the position of the end point, the position of the first node and the position of the second node.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1, wherein:
    所述根据所述第一节点的位置确定在所述地图中的搜索区域具体包括:The determining of the search area in the map according to the position of the first node specifically includes:
    根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角确定所述搜索区域。The search area is determined according to the position of the first node and the heading angle of the moving target at the position of the first node.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    获取所述移动目标在所述第一节点的位置时的动力学约束信息和/或所述第一节点的位置的周边的道路信息;acquiring dynamic constraint information when the moving target is at the position of the first node and/or road information around the position of the first node;
    所述动力学约束信息包括以下至少一项:所述移动目标在所述第一节点的位置的速度、所述移动目标在所述第一节点的位置的航向角变化率;The dynamic constraint information includes at least one of the following: the speed of the moving target at the position of the first node, and the heading angle change rate of the moving target at the position of the first node;
    所述道路信息包括以下至少一项:所述第一节点的位置周边的障碍物的位置、道路边界的位置;The road information includes at least one of the following: the location of obstacles around the location of the first node, and the location of a road boundary;
    所述根据所述第一节点的位置确定在所述地图中的搜索区域具体包括:The determining of the search area in the map according to the position of the first node specifically includes:
    根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角,及以下至少一项:所述动力学约束信息、所述道路信息,确定所述搜索区域。The search area is determined according to the position of the first node and the heading angle of the moving target at the position of the first node, and at least one of the following: the dynamic constraint information and the road information.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述搜索区域在沿所述移动目标的航向角的方向上延伸的长度,与所述移动目标当前的速度正相关。The method according to any one of claims 1 to 3, wherein the length of the search area extending in the direction of the heading angle of the moving target is positively correlated with the current speed of the moving target.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述搜索区域为扇形或者三角形。The method according to any one of claims 1 to 4, wherein the search area is a sector or a triangle.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述搜索区域为以所述第一节点的位置为边界点的区域。The method according to any one of claims 1 to 5, wherein the search area is an area with the position of the first node as a boundary point.
  7. 根据权利要求6所述的方法,其特征在于,所述搜索区域的搜索角度小于或等于180度,所述搜索区域的搜索角度为过所述第一节点的两条切线构成的夹角,所述夹角包含所述移动目标在所述第一节点的位置的航向角的方向。The method according to claim 6, wherein the search angle of the search area is less than or equal to 180 degrees, and the search angle of the search area is an angle formed by two tangents passing through the first node, so The included angle includes the direction of the heading angle of the moving target at the position of the first node.
  8. 根据权利要求7所述的方法,其特征在于,所述搜索区域的搜索角度的大小与所述移动目标在所述第一节点的位置的航向角变化率正相关。The method according to claim 7, wherein the size of the search angle of the search area is positively correlated with the heading angle change rate of the position of the moving target at the first node.
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,The method according to any one of claims 1 to 8, wherein,
    所述在所述搜索区域中获取多个采样点具体包括:The acquiring a plurality of sampling points in the search area specifically includes:
    在所述搜索区域中通过随机采样获取所述多个采样点;或者,acquiring the plurality of sampling points by random sampling in the search area; or,
    对所述搜索区域通过系统抽样的方式获取多个采样点。A plurality of sampling points are acquired for the search area by means of systematic sampling.
  10. 一种路径规划装置,其特征在于,包括:A path planning device, comprising:
    获取单元,用于获取地图中移动目标的终点的位置;an acquisition unit, used to acquire the position of the end point of the moving target in the map;
    确定单元,用于根据所述第一节点的位置确定在所述地图中的搜索区域;a determining unit, configured to determine a search area in the map according to the position of the first node;
    所述获取单元还用于:在所述搜索区域中获取多个采样点;The obtaining unit is further configured to: obtain a plurality of sampling points in the search area;
    所述获取单元还用于:从所述多个采样点中获取使得代价函数最小的采样点为第二节点,所述第二节点为目标路径中所述第一节点的下一个节点;The obtaining unit is further configured to: obtain a sampling point from the plurality of sampling points that minimizes the cost function as a second node, and the second node is the next node of the first node in the target path;
    所述确定单元还用于,根据所述终点的位置、所述第一节点的位置和所述第二节点的位置确定所述目标路径。The determining unit is further configured to determine the target path according to the position of the end point, the position of the first node and the position of the second node.
  11. 根据权利要求10所述的装置,其特征在于,所述确定单元,具体用于:The device according to claim 10, wherein the determining unit is specifically configured to:
    根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角确定所述搜索区域。The search area is determined according to the position of the first node and the heading angle of the moving target at the position of the first node.
  12. 根据权利要求11所述的装置,其特征在于,所述获取单元还用于:The device according to claim 11, wherein the acquiring unit is further configured to:
    获取所述移动目标在所述第一节点的位置的动力学约束信息和/或所述第一节点的位置的周边的道路信息;acquiring dynamic constraint information of the moving target at the position of the first node and/or road information around the position of the first node;
    所述动力学约束信息包括以下至少一项:所述移动目标在所述第一节点的位置的速度、所述移动目标在所述第一节点的位置的航向角变化率;The dynamic constraint information includes at least one of the following: the speed of the moving target at the position of the first node, and the heading angle change rate of the moving target at the position of the first node;
    所述道路信息包括以下至少一项:所述第一节点的位置周边的障碍物的位置、道路边界的位置;The road information includes at least one of the following: the location of obstacles around the location of the first node, and the location of a road boundary;
    所述确定单元,具体用于:根据所述第一节点的位置和所述移动目标在所述第一节点的位置的航向角,及以下至少一项:所述动力学约束信息、所述道路信息,确定所述搜索区域。The determining unit is specifically configured to: according to the position of the first node and the heading angle of the moving target at the position of the first node, and at least one of the following: the dynamic constraint information, the road information to determine the search area.
  13. 根据权利要求10至12中任一项所述的装置,其特征在于,所述搜索区域在沿所述移动目标的航向角的方向上延伸的长度,与所述移动目标当前的速度正相关。The device according to any one of claims 10 to 12, wherein the length of the search area extending in the direction of the heading angle of the moving target is positively correlated with the current speed of the moving target.
  14. 根据权利要求10至13中任一项所述的装置,其特征在于,所述搜索区域为扇形或者三角形。The apparatus according to any one of claims 10 to 13, wherein the search area is a sector or a triangle.
  15. 根据权利要求10至14中任一项所述的装置,其特征在于,所述搜索区域为以所述第一节点的位置为边界点的区域。The apparatus according to any one of claims 10 to 14, wherein the search area is an area with the position of the first node as a boundary point.
  16. 根据权利要求15所述的装置,其特征在于,所述搜索区域的搜索角度小于或等于180度,所述搜索区域的搜索角度为过所述第一节点的两条切线构成的夹角,所述夹角包含所述移动目标在所述第一节点的位置的航向角的方向。The device according to claim 15, wherein the search angle of the search area is less than or equal to 180 degrees, and the search angle of the search area is an angle formed by two tangents passing through the first node, so The included angle includes the direction of the heading angle of the moving target at the position of the first node.
  17. 根据权利要求16所述的装置,其特征在于,所述搜索区域的搜索角度的大小与所述移动目标在所述第一节点的位置的航向角变化率正相关。The device according to claim 16, wherein the size of the search angle of the search area is positively correlated with the heading angle change rate of the position of the moving target at the first node.
  18. 根据权利要求10至17中任一项所述的装置,其特征在于,The device according to any one of claims 10 to 17, characterized in that:
    所述获取单元具体用于:The obtaining unit is specifically used for:
    在所述搜索区域中通过随机采样获取所述多个采样点;或者,acquiring the plurality of sampling points by random sampling in the search area; or,
    对所述搜索区域通过系统抽样的方式获取多个采样点。A plurality of sampling points are acquired for the search area by means of systematic sampling.
  19. 一种路径规划装置,其特征在于,包括:一个或多个处理器和存储器;其中,A path planning device, comprising: one or more processors and a memory; wherein,
    所述存储器中存储有计算机可读指令;computer-readable instructions are stored in the memory;
    所述一个或多个处理器读取所述计算机可读指令以使所述终端实现如权利要求1至9中 任一项所述的方法。The computer readable instructions are read by the one or more processors to cause the terminal to implement the method of any of claims 1 to 9.
  20. 一种计算机程序产品,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算机上运行时,使得所述计算机执行如权利要求1至9任一项所述的方法。A computer program product, characterized by comprising computer-readable instructions, which, when executed on a computer, cause the computer to perform the method according to any one of claims 1 to 9.
  21. 一种计算机可读存储介质,其特征在于,包括计算机可读指令,当所述计算机可读指令在计算机上运行时,使得所述计算机执行如权利要求1至9中任一项所述的方法。A computer-readable storage medium, characterized by comprising computer-readable instructions, which, when the computer-readable instructions are executed on a computer, cause the computer to execute the method according to any one of claims 1 to 9 .
  22. 一种车辆,其特征在于,包括如权利要求10至18中任一项所述的路径规划装置,或者如权利要求19所述的路径规划装置。A vehicle, characterized by comprising the route planning device according to any one of claims 10 to 18 , or the route planning device according to claim 19 .
PCT/CN2020/115825 2020-09-17 2020-09-17 Path planning method and path planning apparatus WO2022056770A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080006453.9A CN113286985A (en) 2020-09-17 2020-09-17 Path planning method and path planning device
PCT/CN2020/115825 WO2022056770A1 (en) 2020-09-17 2020-09-17 Path planning method and path planning apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/115825 WO2022056770A1 (en) 2020-09-17 2020-09-17 Path planning method and path planning apparatus

Publications (1)

Publication Number Publication Date
WO2022056770A1 true WO2022056770A1 (en) 2022-03-24

Family

ID=77275572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115825 WO2022056770A1 (en) 2020-09-17 2020-09-17 Path planning method and path planning apparatus

Country Status (2)

Country Link
CN (1) CN113286985A (en)
WO (1) WO2022056770A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115077534A (en) * 2022-08-11 2022-09-20 合肥井松智能科技股份有限公司 AGV path planning method based on B spline curve
CN115238525A (en) * 2022-09-16 2022-10-25 广东工业大学 Feasible path searching method for pedestrian simulation passenger flow organization
CN115719125A (en) * 2023-01-10 2023-02-28 武汉理工大学 Underground mining area single-vehicle task scheduling method and system based on decision-level high-precision map
CN116124162A (en) * 2022-12-28 2023-05-16 北京理工大学 Park trolley navigation method based on high-precision map
CN116484798A (en) * 2023-04-27 2023-07-25 北京容汇科技有限公司 PCB wiring acceleration optimization method based on segmentation parallel search
CN116520855A (en) * 2023-07-03 2023-08-01 华侨大学 Crawler type mobile engineering machine, and mobile control method, device and medium thereof
CN117601136A (en) * 2024-01-24 2024-02-27 济宁鲁鑫工程机械有限公司 Automatic welding robot path planning method and system
CN116484798B (en) * 2023-04-27 2024-05-03 苏州容汇科技有限公司 PCB wiring acceleration optimization method based on segmentation parallel search

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114111788A (en) * 2021-11-09 2022-03-01 武汉乐庭软件技术有限公司 Trajectory planning method and device based on multi-segment clothoid and storage device
CN114577217B (en) * 2022-05-05 2022-07-29 季华实验室 Route planning method, device, equipment and storage medium based on Von Lonouh graph

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5920172A (en) * 1994-05-03 1999-07-06 Siemens Aktiengesellschaft Path finding method for a self-propelled mobile unit
CN106989748A (en) * 2017-05-16 2017-07-28 南京农业大学 A kind of Agriculture Mobile Robot man-computer cooperation paths planning method based on cloud model
CN108073176A (en) * 2018-02-10 2018-05-25 西安交通大学 A kind of modified D*Lite vehicle dynamic path planing methods
CN108253976A (en) * 2018-01-04 2018-07-06 重庆大学 It is a kind of fully by the three stage Online Map matching algorithms in vehicle course
CN110426053A (en) * 2019-07-12 2019-11-08 深圳市银星智能科技股份有限公司 A kind of paths planning method and mobile robot
CN111369066A (en) * 2020-03-09 2020-07-03 广东南方数码科技股份有限公司 Path planning method and device, electronic equipment and readable storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844364A (en) * 2016-04-08 2016-08-10 上海派毅智能科技有限公司 Service robot optimal path program method based on heuristic function
CN105955280A (en) * 2016-07-19 2016-09-21 Tcl集团股份有限公司 Mobile robot path planning and obstacle avoidance method and system
CN107702716B (en) * 2017-08-31 2021-04-13 广州小鹏汽车科技有限公司 Unmanned driving path planning method, system and device
CN108444488B (en) * 2018-02-05 2021-09-28 天津大学 Unmanned local path planning method based on equal-step sampling A-x algorithm
CN108983781B (en) * 2018-07-25 2020-07-07 北京理工大学 Environment detection method in unmanned vehicle target search system
CN108896052A (en) * 2018-09-20 2018-11-27 鲁东大学 A kind of mobile robot smooth paths planing method under the environment based on DYNAMIC COMPLEX
US20200241541A1 (en) * 2019-01-28 2020-07-30 GM Global Technology Operations LLC System and method of an algorithmic solution to generate a smooth vehicle velocity trajectory for an autonomous vehicle with spatial speed constraints
CN110081894B (en) * 2019-04-25 2023-05-12 同济大学 Unmanned vehicle track real-time planning method based on road structure weight fusion
CN111422741B (en) * 2020-03-24 2022-02-11 苏州西弗智能科技有限公司 Method for planning movement path of bridge crane
CN111504325B (en) * 2020-04-29 2023-09-26 南京大学 Global path planning method based on weighted A-algorithm of enlarged search neighborhood

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5920172A (en) * 1994-05-03 1999-07-06 Siemens Aktiengesellschaft Path finding method for a self-propelled mobile unit
CN106989748A (en) * 2017-05-16 2017-07-28 南京农业大学 A kind of Agriculture Mobile Robot man-computer cooperation paths planning method based on cloud model
CN108253976A (en) * 2018-01-04 2018-07-06 重庆大学 It is a kind of fully by the three stage Online Map matching algorithms in vehicle course
CN108073176A (en) * 2018-02-10 2018-05-25 西安交通大学 A kind of modified D*Lite vehicle dynamic path planing methods
CN110426053A (en) * 2019-07-12 2019-11-08 深圳市银星智能科技股份有限公司 A kind of paths planning method and mobile robot
CN111369066A (en) * 2020-03-09 2020-07-03 广东南方数码科技股份有限公司 Path planning method and device, electronic equipment and readable storage medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115077534A (en) * 2022-08-11 2022-09-20 合肥井松智能科技股份有限公司 AGV path planning method based on B spline curve
CN115077534B (en) * 2022-08-11 2022-11-15 合肥井松智能科技股份有限公司 AGV path planning method based on B spline curve
CN115238525A (en) * 2022-09-16 2022-10-25 广东工业大学 Feasible path searching method for pedestrian simulation passenger flow organization
CN116124162A (en) * 2022-12-28 2023-05-16 北京理工大学 Park trolley navigation method based on high-precision map
CN116124162B (en) * 2022-12-28 2024-03-26 北京理工大学 Park trolley navigation method based on high-precision map
CN115719125A (en) * 2023-01-10 2023-02-28 武汉理工大学 Underground mining area single-vehicle task scheduling method and system based on decision-level high-precision map
CN116484798A (en) * 2023-04-27 2023-07-25 北京容汇科技有限公司 PCB wiring acceleration optimization method based on segmentation parallel search
CN116484798B (en) * 2023-04-27 2024-05-03 苏州容汇科技有限公司 PCB wiring acceleration optimization method based on segmentation parallel search
CN116520855A (en) * 2023-07-03 2023-08-01 华侨大学 Crawler type mobile engineering machine, and mobile control method, device and medium thereof
CN117601136A (en) * 2024-01-24 2024-02-27 济宁鲁鑫工程机械有限公司 Automatic welding robot path planning method and system
CN117601136B (en) * 2024-01-24 2024-04-02 济宁鲁鑫工程机械有限公司 Automatic welding robot path planning method and system

Also Published As

Publication number Publication date
CN113286985A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
WO2022056770A1 (en) Path planning method and path planning apparatus
US11320836B2 (en) Algorithm and infrastructure for robust and efficient vehicle localization
CN111771141B (en) LIDAR positioning for solution inference using 3D CNN network in autonomous vehicles
US11594011B2 (en) Deep learning-based feature extraction for LiDAR localization of autonomous driving vehicles
US11364931B2 (en) Lidar localization using RNN and LSTM for temporal smoothness in autonomous driving vehicles
US10816977B2 (en) Path and speed optimization fallback mechanism for autonomous vehicles
CN108519094B (en) Local path planning method and cloud processing terminal
US10054945B2 (en) Method for determining command delays of autonomous vehicles
CN111417871A (en) Iterative closest point processing for integrated motion estimation using high definition maps based on lidar
JP2020001678A (en) Reference line smoothing method using piecewise spiral curves with weighted geometry costs
CN110386142A (en) Pitch angle calibration method for automatic driving vehicle
CN110096053A (en) Driving locus generation method, system and machine readable media for automatic driving vehicle
CN111259712B (en) Representation of compression environment characteristics for vehicle behavior prediction
CN112146680B (en) Determining vanishing points based on feature maps
CN113819917A (en) Automatic driving path planning method, device, equipment and storage medium
JP2021514883A (en) Systems and methods for determining travel routes in autonomous driving
CN115061499A (en) Unmanned aerial vehicle control method and unmanned aerial vehicle control device
CN114777804A (en) Path planning method, device and equipment and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20953628

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20953628

Country of ref document: EP

Kind code of ref document: A1