CN114815853B - A path planning method and system considering road obstacle characteristics - Google Patents
A path planning method and system considering road obstacle characteristics Download PDFInfo
- Publication number
- CN114815853B CN114815853B CN202210703943.5A CN202210703943A CN114815853B CN 114815853 B CN114815853 B CN 114815853B CN 202210703943 A CN202210703943 A CN 202210703943A CN 114815853 B CN114815853 B CN 114815853B
- Authority
- CN
- China
- Prior art keywords
- obstacle
- vehicle
- information
- track
- grid
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004364 calculation method Methods 0.000 claims abstract description 18
- 230000004044 response Effects 0.000 claims description 27
- 238000013507 mapping Methods 0.000 claims description 20
- 230000008447 perception Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 12
- 239000000725 suspension Substances 0.000 claims description 10
- 238000004088 simulation Methods 0.000 claims description 7
- 238000011156 evaluation Methods 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims description 2
- 230000004888 barrier function Effects 0.000 claims 17
- 230000009191 jumping Effects 0.000 claims 2
- 230000001687 destabilization Effects 0.000 claims 1
- 230000009466 transformation Effects 0.000 claims 1
- 238000012216 screening Methods 0.000 abstract description 2
- 238000005070 sampling Methods 0.000 description 15
- 239000006096 absorbing agent Substances 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000035939 shock Effects 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000001186 cumulative effect Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000001131 transforming effect Effects 0.000 description 2
- 241000251468 Actinopterygii Species 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 235000001968 nicotinic acid Nutrition 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0238—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors
- G05D1/024—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors in combination with a laser
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0223—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0246—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0257—Control of position or course in two dimensions specially adapted to land vehicles using a radar
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0276—Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0276—Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle
- G05D1/0278—Control of position or course in two dimensions specially adapted to land vehicles using signals provided by a source external to the vehicle using satellite positioning signals, e.g. GPS
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Aviation & Aerospace Engineering (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Electromagnetism (AREA)
- Optics & Photonics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及路径规划技术领域,特别是涉及一种考虑路面障碍特征的路径规划方法和系统。The present invention relates to the technical field of path planning, and in particular to a path planning method and system that takes road obstacle characteristics into consideration.
背景技术Background technique
智能交通系统的发展核心是无人驾驶车辆,其通过多种传感器来感知车辆周围环境信息,并根据获得的信息,控制车辆的转向和速度,最终实现安全、可靠地自主驾驶功能。无人驾驶车辆的关键技术包括环境感知、导航定位、路径规划和决策控制。其中路径规划是无人驾驶车辆信息感知和智能控制的桥梁,是实现自主驾驶的基础。其任务是根据一定的路径规划算法在有障碍物的环境内按照一定的评价标准,搜索一条最优路径,路径规划结果直接决定了智能车能否安全、高效、顺畅地完成各种驾驶行为,到达目标终点。The core of the development of intelligent transportation systems is unmanned vehicles, which use a variety of sensors to perceive the environment around the vehicle, and control the steering and speed of the vehicle based on the information obtained, ultimately achieving safe and reliable autonomous driving functions. The key technologies of unmanned vehicles include environmental perception, navigation positioning, path planning, and decision control. Among them, path planning is the bridge between information perception and intelligent control of unmanned vehicles, and is the basis for achieving autonomous driving. Its task is to search for an optimal path in an environment with obstacles according to certain evaluation criteria based on a certain path planning algorithm. The path planning result directly determines whether the smart car can complete various driving behaviors safely, efficiently, and smoothly and reach the target destination.
近年来智能车的路径规划技术飞速发展,大体可分为5类:基于随机采样的方法(如快速搜索随机树RRT、概率图PRM等),基于图搜索的方法(如A*、D*及其变种方法等)、基于几何曲线的方法(如B样条、贝塞尔曲线、五次多项式曲线等)、基于最优化的方法(如人工势场法、模型预测方法等)、基于仿生学的智能算法(如基因算法、蚁群算法、鱼群算法等)。In recent years, the path planning technology of intelligent vehicles has developed rapidly and can be roughly divided into five categories: methods based on random sampling (such as fast search random tree RRT, probability graph PRM, etc.), methods based on graph search (such as A*, D* and its variants, etc.), methods based on geometric curves (such as B-spline, Bezier curve, quintic polynomial curve, etc.), methods based on optimization (such as artificial potential field method, model prediction method, etc.), and intelligent algorithms based on bionics (such as genetic algorithm, ant colony algorithm, fish school algorithm, etc.).
上述五种常用路径规划方法中对障碍物多做避障处理,即在路径规划过程对其进行绕行,而未考虑到车辆直接通过小尺寸路面障碍物对车辆动力学响应的影响,规划出的路径会存在不必要的绕行,既增加了路径距离,降低了经济型与实时性,又会增加非必要的转向操作,增加了车辆失稳的风险。The above five commonly used path planning methods mostly perform obstacle avoidance processing, that is, bypass them during the path planning process, but do not take into account the impact of the vehicle's direct passage through small-sized road obstacles on the vehicle's dynamic response. The planned path will have unnecessary detours, which not only increases the path distance, reduces economy and real-time performance, but also increases unnecessary steering operations and increases the risk of vehicle instability.
发明内容Summary of the invention
为解决现有技术存在的上述问题,本发明提供了一种考虑路面障碍特征的路径规划方法和系统。In order to solve the above problems existing in the prior art, the present invention provides a path planning method and system taking into account the characteristics of road obstacles.
为实现上述目的,本发明提供了如下方案:To achieve the above object, the present invention provides the following solutions:
一种考虑路面障碍特征的路径规划方法,包括:A path planning method considering road obstacle characteristics, comprising:
获取当前车道信息、当前车辆的位置信息、当前车辆的位姿信息、当前车辆的车速信息以及当前车道中障碍物的位置信息和障碍物的尺寸信息;所述车道信息包括:车道的边界信息和车道线信息;Acquire current lane information, current vehicle position information, current vehicle posture information, current vehicle speed information, and obstacle position information and obstacle size information in the current lane; the lane information includes lane boundary information and lane line information;
根据局部S-L坐标系对所述当前车辆的位置信息和所述当前车辆的位姿信息进行投影转化得到初始态;所述局部S-L坐标系为基于车道中心参考线建立的纵向距离和侧向偏移量间的坐标系;所述纵向距离为沿所述车道中心参考线前进的纵向距离;所述侧向偏移量为相对于所述车道中心参考线的侧向偏移量;The initial state is obtained by projecting and transforming the position information and the posture information of the current vehicle according to the local S-L coordinate system; the local S-L coordinate system is a coordinate system between the longitudinal distance and the lateral offset established based on the lane center reference line; the longitudinal distance is the longitudinal distance along the lane center reference line; the lateral offset is the lateral offset relative to the lane center reference line;
根据所述车道线信息和所述当前车辆的车速信息确定规划时域内的规划末态;Determining a planning final state within a planning time domain according to the lane line information and the speed information of the current vehicle;
基于所述初始态和所述规划末态生成待选轨迹组;所述待选轨迹组包括多条由所述初始态至所述规划末态的平滑轨迹;Generate a candidate trajectory group based on the initial state and the planned final state; the candidate trajectory group includes a plurality of smooth trajectories from the initial state to the planned final state;
基于离线车辆障碍失稳边界和所述障碍物的尺寸信息对平滑轨迹内的障碍物进行分类,得到可跨越障碍物和不可跨越障碍物;Classifying obstacles in the smooth trajectory based on the instability boundary of the offline vehicle obstacle and the size information of the obstacle to obtain traversable obstacles and non-traversable obstacles;
根据可跨越障碍物的位置信息和可跨越障碍物的尺寸信息生成可跨越障碍物栅格地图,根据不可跨越障碍物的位置信息和不可跨越障碍物的尺寸信息生成不可跨越障碍物栅格地图;所述可跨越障碍物栅格地图中存在可跨越障碍物的栅格值设置为可跨越障碍物的高度值,不存在可跨越障碍物的栅格值设置为0;所述不可跨越障碍物栅格地图中的存在不可跨越障碍物的栅格值设置为1,不存在不可跨越障碍物的栅格值设置为0;Generate a surmountable obstacle grid map according to the position information of the surmountable obstacles and the size information of the surmountable obstacles, and generate an unsurmountable obstacle grid map according to the position information of the unsurmountable obstacles and the size information of the unsurmountable obstacles; the grid value of the surmountable obstacle grid map where there is a surmountable obstacle is set to the height value of the surmountable obstacle, and the grid value of the unsurmountable obstacle is set to 0; the grid value of the unsurmountable obstacle grid map where there is an unsurmountable obstacle is set to 1, and the grid value of the unsurmountable obstacle is set to 0;
基于车辆的轮胎宽度确定平滑轨迹内的轮迹包络域;determining a wheel track envelope domain within the smooth trajectory based on a tire width of the vehicle;
在不可跨越障碍物栅格地图中查询当前平滑轨迹的轮迹包络域内的栅格值,当栅格值均不为0时,跳转至下一平滑轨迹中进行轮迹包络域内栅格值的查询;In the grid map of the insurmountable obstacle, the grid value in the wheel track envelope domain of the current smooth track is queried. When the grid values are not 0, the grid value in the wheel track envelope domain is jumped to the next smooth track to be queried.
当栅格值均为0时,在可跨越障碍物栅格地图中查询当前平滑轨迹的轮迹包络域内的栅格值,并计算当前平滑轨迹的相对侧倾角得到当前平滑轨迹的路径代价;When the grid values are all 0, the grid values in the wheel track envelope domain of the current smooth trajectory are queried in the obstacle-crossable grid map, and the relative roll angle of the current smooth trajectory is calculated to obtain the path cost of the current smooth trajectory;
当所述待选轨迹组中的所有平滑轨迹全部完成查询后,将所述路径代价最小的平滑轨迹作为车辆行驶轨迹。When all smooth trajectories in the candidate trajectory group have been queried, the smooth trajectory with the minimum path cost is used as the vehicle driving trajectory.
优选地,所述基于所述初始态和所述规划末态生成待选轨迹组;所述待选轨迹组包括多条由所述初始态至所述规划末态的平滑轨迹,具体包括:Preferably, the generating of a candidate trajectory group based on the initial state and the planned final state; the candidate trajectory group includes a plurality of smooth trajectories from the initial state to the planned final state, specifically including:
采用五项多项式对所述初始态和所述规划末态进行描述,并将描述后的所述初始态和所述规划末态转化到全局坐标系下,得到待选轨迹组;所述全局坐标系为基于车辆位置与航向信息建立的坐标系。The initial state and the planned final state are described by using a five-term polynomial, and the described initial state and the planned final state are transformed into a global coordinate system to obtain a trajectory group to be selected; the global coordinate system is a coordinate system established based on the vehicle position and heading information.
优选地,所述离线车辆障碍失稳边界的确定过程为:Preferably, the process of determining the offline vehicle obstacle instability boundary is:
基于车辆动力学模型,采用仿真引擎模拟得到不同工况下车辆的悬架减振器变形量和轮胎变形量响应;Based on the vehicle dynamics model, the simulation engine is used to simulate the vehicle's suspension shock absorber deformation and tire deformation response under different working conditions;
基于先验知识的车辆垂向平顺性评价方法,以所述悬架减振器变形量为标准,划分所述轮胎变形量响应得到用于表征车辆垂向障碍失稳的响应边界;A vehicle vertical smoothness evaluation method based on prior knowledge, taking the suspension shock absorber deformation as a standard, dividing the tire deformation response to obtain a response boundary for characterizing the vehicle vertical obstacle instability;
基于车辆垂向障碍失稳的响应边界,以查找表模式构建车速和障碍物尺寸与车辆是否存在垂向失稳间的映射;当障碍物的高度大于预设阈值时,确定车辆存在垂向障碍失稳。Based on the response boundary of the vehicle's vertical obstacle instability, a mapping between the vehicle speed and obstacle size and whether the vehicle has vertical instability is constructed in a lookup table mode; when the height of the obstacle is greater than a preset threshold, it is determined that the vehicle has vertical obstacle instability.
优选地,所述根据可跨越障碍物的位置信息和可跨越障碍物的尺寸信息生成可跨越障碍物栅格地图,根据不可跨越障碍物的位置信息和不可跨越障碍物的尺寸信息生成不可跨越障碍物栅格地图,具体包括:Preferably, generating a surmountable obstacle grid map according to the position information of surmountable obstacles and the size information of surmountable obstacles, and generating an unsurmountable obstacle grid map according to the position information of unsurmountable obstacles and the size information of unsurmountable obstacles, specifically includes:
以当前车辆的位置为原点,以车辆的当前航向为x轴的正方向,基于车辆障碍物的感知范围构建栅格地图坐标系;Taking the current vehicle position as the origin and the current heading of the vehicle as the positive direction of the x-axis, a grid map coordinate system is constructed based on the perception range of the vehicle's obstacles.
将可跨越障碍物的位置信息和可跨越障碍物的尺寸信息映射至所述栅格地图坐标系得到可跨越障碍物栅格地图;Mapping the position information and size information of the traversable obstacles to the grid map coordinate system to obtain a traversable obstacle grid map;
将不可跨越障碍物的位置信息和不可跨越障碍物的尺寸信息映射至所述栅格地图坐标系得到不可跨越障碍物栅格地图。The position information of the insurmountable obstacle and the size information of the insurmountable obstacle are mapped to the grid map coordinate system to obtain the insurmountable obstacle grid map.
根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
本发明提供的考虑路面障碍特征的路径规划方法,能够根据获取的道路信息、本车行驶信息与环境障碍物信息,结合离线车辆障碍失稳边界,对障碍物是否会造成车辆失稳进行分类,分别构建描述可跨障碍的栅格地图与不可跨障碍的栅格地图,并基于两栅格地图对拟合生成的一系列多项式轨迹组进行路径碰撞筛选,进而考虑通行可跨障碍造成的侧倾代价计算,最终生成一条平滑、无碰撞失稳、且满足侧向与侧倾稳定性的可行轨迹,以解决现有技术存在的不必要绕行的问题,进而能够减少路径距离,提高经济型与实时性,同时减少了非必要的转向操作,进而能够降低车辆失稳的风险。The path planning method considering the characteristics of road obstacles provided by the present invention can classify whether obstacles will cause vehicle instability according to the acquired road information, vehicle driving information and environmental obstacle information, combined with the offline vehicle obstacle instability boundary, and respectively construct a grid map describing crossable obstacles and a grid map describing non-crossable obstacles, and perform path collision screening on a series of polynomial trajectory groups generated by fitting based on the two grid maps, and then consider the roll cost calculation caused by passing the crossable obstacles, and finally generate a smooth, collision-free and instability-free feasible trajectory that meets lateral and roll stability, so as to solve the problem of unnecessary detours in the prior art, thereby reducing the path distance, improving economy and real-time performance, and reducing unnecessary steering operations, thereby reducing the risk of vehicle instability.
对应于上述提供的考虑路面障碍特征的路径规划方法,本发明还提供了一种考虑路面障碍特征的路径规划系统,该系统包括:Corresponding to the path planning method considering road obstacle characteristics provided above, the present invention also provides a path planning system considering road obstacle characteristics, the system comprising:
车辆感知模块,用于获取当前车道信息、当前车辆的位置信息、当前车辆的位姿信息、当前车辆的车速信息以及当前车道中障碍物的位置信息和障碍物的尺寸信息;所述车道信息包括:车道的边界信息和车道线信息;The vehicle perception module is used to obtain the current lane information, the current vehicle position information, the current vehicle posture information, the current vehicle speed information, and the position information and size information of obstacles in the current lane; the lane information includes: lane boundary information and lane line information;
待选轨迹组生成模块,用于根据局部S-L坐标系对所述当前车辆的位置信息和所述当前车辆的位姿信息进行投影转化得到初始态,用于根据所述车道线信息和所述当前车辆的车速信息确定规划时域内的规划末态,并用于基于所述初始态和所述规划末态生成待选轨迹组;所述局部S-L坐标系为基于车道中心参考线建立的纵向距离和侧向偏移量间的坐标系;所述纵向距离为沿所述车道中心参考线前进的纵向距离;所述侧向偏移量为相对于所述车道中心参考线的侧向偏移量;所述待选轨迹组包括多条由所述初始态至所述规划末态的平滑轨迹;A module for generating a group of selected trajectories, for projecting and transforming the position information of the current vehicle and the posture information of the current vehicle according to a local S-L coordinate system to obtain an initial state, for determining a final state of planning in a planning time domain according to the lane line information and the speed information of the current vehicle, and for generating a group of selected trajectories based on the initial state and the final state of planning; the local S-L coordinate system is a coordinate system between a longitudinal distance and a lateral offset established based on a lane center reference line; the longitudinal distance is a longitudinal distance along the lane center reference line; the lateral offset is a lateral offset relative to the lane center reference line; the group of selected trajectories includes a plurality of smooth trajectories from the initial state to the final state of planning;
离线障碍失稳判断模块,用于基于离线车辆障碍失稳边界和所述障碍物的尺寸信息对平滑轨迹内的障碍物进行分类,得到可跨越障碍物和不可跨越障碍物;An offline obstacle instability judgment module is used to classify obstacles in the smooth trajectory based on the offline vehicle obstacle instability boundary and the size information of the obstacle to obtain crossable obstacles and non-crossable obstacles;
分类障碍地图生成模块,用于根据可跨越障碍物的位置信息和可跨越障碍物的尺寸信息生成可跨越障碍物栅格地图,根据不可跨越障碍物的位置信息和不可跨越障碍物的尺寸信息生成不可跨越障碍物栅格地图;所述可跨越障碍物栅格地图中存在可跨越障碍物的栅格值设置为可跨越障碍物的高度值,不存在可跨越障碍物的栅格值设置为0;所述不可跨越障碍物栅格地图中的存在不可跨越障碍物的栅格值设置为1,不存在不可跨越障碍物的栅格值设置为0;A classification obstacle map generation module is used to generate a surmountable obstacle grid map according to the position information of surmountable obstacles and the size information of surmountable obstacles, and to generate an unsurmountable obstacle grid map according to the position information of unsurmountable obstacles and the size information of unsurmountable obstacles; the grid value of the surmountable obstacle grid map where there is a surmountable obstacle is set to the height value of the surmountable obstacle, and the grid value of the non-surmountable obstacle is set to 0; the grid value of the non-surmountable obstacle grid map where there is an unsurmountable obstacle is set to 1, and the grid value of the non-surmountable obstacle is set to 0;
轮迹拓展生成模块,用于基于车辆的轮胎宽度确定平滑轨迹内的轮迹包络域;A wheel track extension generation module, for determining a wheel track envelope domain within a smooth track based on a tire width of the vehicle;
碰撞检测模块,用于在不可跨越障碍物栅格地图中查询当前平滑轨迹的轮迹包络域内的栅格值,当栅格值均不为0时,跳转至下一平滑轨迹中进行轮迹包络域内栅格值的查询;The collision detection module is used to query the grid value in the wheel track envelope domain of the current smooth track in the grid map of the insurmountable obstacle. When the grid values are not 0, it jumps to the next smooth track to query the grid value in the wheel track envelope domain.
代价计算模块,用于当栅格值均为0时,在可跨越障碍物栅格地图中查询当前平滑轨迹的轮迹包络域内的栅格值,并计算当前平滑轨迹的相对侧倾角得到当前平滑轨迹的路径代价;The cost calculation module is used to query the grid values in the wheel track envelope domain of the current smooth track in the obstacle-crossable grid map when the grid values are all 0, and calculate the relative roll angle of the current smooth track to obtain the path cost of the current smooth track;
车辆行驶轨迹输出模块,用于当所述待选轨迹组中的所有平滑轨迹全部完成查询后,将所述路径代价最小的平滑轨迹作为车辆行驶轨迹。The vehicle driving trajectory output module is used to take the smooth trajectory with the minimum path cost as the vehicle driving trajectory after all smooth trajectories in the candidate trajectory group have been queried.
优选地,所述待选轨迹组生成模块包括:Preferably, the candidate trajectory group generation module includes:
待选轨迹组生成单元,用于采用五项多项式对所述初始态和所述规划末态进行描述,并将描述后的所述初始态和所述规划末态转化到全局坐标系下,得到待选轨迹组;所述全局坐标系为基于车辆位置与航向信息建立的坐标系。The candidate trajectory group generating unit is used to describe the initial state and the planned final state by using a five-term polynomial, and transform the described initial state and the planned final state into a global coordinate system to obtain a candidate trajectory group; the global coordinate system is a coordinate system established based on the vehicle position and heading information.
优选地,所述离线障碍失稳判断模块包括:Preferably, the offline obstacle instability judgment module includes:
模拟单元,用于基于车辆动力学模型,采用仿真引擎模拟得到不同工况下车辆的悬架减振器变形量和轮胎变形量响应;A simulation unit is used to simulate the deformation of the suspension shock absorber and tire deformation of the vehicle under different working conditions using a simulation engine based on a vehicle dynamics model;
划分单元,用于基于先验知识的车辆垂向平顺性评价方法,以所述悬架减振器变形量为标准,划分所述轮胎变形量响应得到用于表征车辆垂向障碍失稳的响应边界;A division unit is used for a method for evaluating the vertical ride comfort of a vehicle based on prior knowledge, taking the deformation of the suspension shock absorber as a standard, dividing the tire deformation response to obtain a response boundary for characterizing the vertical obstacle instability of the vehicle;
第一映射单元,用于基于车辆垂向障碍失稳的响应边界,以查找表模式构建车速和障碍物尺寸与车辆是否存在垂向失稳间的映射;当障碍物的高度大于预设阈值时,确定车辆存在垂向障碍失稳。The first mapping unit is used to construct a mapping between the vehicle speed and the obstacle size and whether the vehicle has vertical instability based on the response boundary of the vehicle's vertical obstacle instability in a lookup table mode; when the height of the obstacle is greater than a preset threshold, it is determined that the vehicle has vertical obstacle instability.
优选地,所述分类障碍地图生成模块包括:Preferably, the classification obstacle map generation module includes:
坐标系构建单元,用于以当前车辆的位置为原点,以车辆的当前航向为x轴的正方向,基于车辆障碍物的感知范围构建栅格地图坐标系;A coordinate system construction unit, used to construct a grid map coordinate system based on the perception range of the vehicle obstacles, taking the current vehicle position as the origin and the current heading of the vehicle as the positive direction of the x-axis;
第二映射单元,用于将可跨越障碍物的位置信息和可跨越障碍物的尺寸信息映射至所述栅格地图坐标系得到可跨越障碍物栅格地图;A second mapping unit, used for mapping the position information of the traversable obstacle and the size information of the traversable obstacle to the grid map coordinate system to obtain a traversable obstacle grid map;
第三映射单元,用于将不可跨越障碍物的位置信息和不可跨越障碍物的尺寸信息映射至所述栅格地图坐标系得到不可跨越障碍物栅格地图。The third mapping unit is used to map the position information of the insurmountable obstacle and the size information of the insurmountable obstacle to the grid map coordinate system to obtain the insurmountable obstacle grid map.
因本发明提供的考虑路面障碍特征的路径规划系统达到的技术效果与上述提供的考虑路面障碍特征的路径规划方法达到的技术效果相同,故在此不再进行赘述。Since the technical effect achieved by the path planning system considering road obstacle characteristics provided by the present invention is the same as the technical effect achieved by the path planning method considering road obstacle characteristics provided above, it will not be described in detail here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本发明提供的考虑路面障碍特征的路径规划方法的流程图;FIG1 is a flow chart of a path planning method considering road obstacle characteristics provided by the present invention;
图2为本发明实施例提供的考虑路面障碍特征的路径规划系统的实施框架图;FIG2 is a diagram showing an implementation framework of a path planning system taking into account road obstacle characteristics provided by an embodiment of the present invention;
图3为本发明实施例提供的离线障碍失稳边界判断流程示意图;FIG3 is a schematic diagram of an offline obstacle instability boundary judgment process according to an embodiment of the present invention;
图4为本发明实施例提供的全局坐标系状态示意图;FIG4 is a schematic diagram of a global coordinate system state provided by an embodiment of the present invention;
图5为本发明实施例提供的局部坐标系状态示意图;FIG5 is a schematic diagram of a local coordinate system state provided by an embodiment of the present invention;
图6为本发明实施例提供的可跨越障碍栅格地图;FIG6 is a crossable obstacle grid map provided by an embodiment of the present invention;
图7为本发明实施例提供的不可跨越障碍栅格地图;FIG7 is a grid map of insurmountable obstacles provided by an embodiment of the present invention;
图8为本发明实施例提供的轮迹拓展生成示意图;FIG8 is a schematic diagram of wheel track expansion generation according to an embodiment of the present invention;
图9为本发明实施例提供的路面相对侧倾角计算示意图;FIG9 is a schematic diagram of calculating the relative roll angle of a road surface provided by an embodiment of the present invention;
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
本发明的目的是提供一种考虑路面障碍特征的路径规划方法和系统,以解决现有技术存在的不必要绕行的问题,进而能够减少路径距离,提高经济型与实时性,同时减少了非必要的转向操作,进而能够降低车辆失稳的风险。The purpose of the present invention is to provide a path planning method and system that takes into account the characteristics of road obstacles, so as to solve the problem of unnecessary detours in the prior art, thereby reducing the path distance, improving economy and real-time performance, and reducing unnecessary steering operations, thereby reducing the risk of vehicle instability.
术语解释:Terminology explanation:
车辆非障碍失稳:车辆在行驶中由于受到驾驶员转向以及外部横向风、坡道等输入因素作用,发生的侧滑或者侧翻等现象。Vehicle non-obstacle instability: The vehicle may skid or roll over due to the influence of input factors such as the driver's steering and external lateral wind and ramps while driving.
车辆障碍失稳:车辆在行驶中由于受到路面障碍的激励作用(凹坑鼓包等),发生的车轮离地或绊倒侧翻等现象。Vehicle obstacle instability: When a vehicle is driving, it is stimulated by road obstacles (pots, bumps, etc.), causing the wheels to leave the ground or the vehicle to trip and overturn.
障碍失稳边界判定:基于数据驱动方法建立的路面障碍尺寸、车辆纵向车速与车辆垂向动力学响应间的映射;该映射能够以路面障碍尺寸、车辆纵向车速作为输入,判断车辆在当前环境工况下是否会发生障碍失稳。Obstacle instability boundary determination: A mapping between road obstacle size, vehicle longitudinal speed and vehicle vertical dynamic response established based on a data-driven approach; this mapping can use road obstacle size and vehicle longitudinal speed as input to determine whether the vehicle will experience obstacle instability under the current environmental conditions.
可跨越及不可跨越障碍:基于障碍物是否会引起当前车辆障碍失稳分类为可跨越障碍与不可跨越障碍。Crossable and non-crossable obstacles: obstacles are classified into crossable obstacles and non-crossable obstacles based on whether the obstacles will cause the current vehicle to become unstable.
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
如图1所示,本发明提供的考虑路面障碍特征的路径规划方法,包括:As shown in FIG1 , the path planning method considering road obstacle characteristics provided by the present invention includes:
步骤100:获取当前车道信息、当前车辆的位置信息、当前车辆的位姿信息、当前车辆的车速信息以及当前车道中障碍物的位置信息和障碍物的尺寸信息。车道信息包括:车道的边界信息和车道线信息。Step 100: Obtain current lane information, current vehicle position information, current vehicle posture information, current vehicle speed information, and obstacle position information and obstacle size information in the current lane. Lane information includes lane boundary information and lane line information.
步骤101:根据局部S-L坐标系对当前车辆的位置信息和当前车辆的位姿信息进行投影转化得到初始态。局部S-L坐标系为基于车道中心参考线建立的纵向距离和侧向偏移量间的坐标系,如图5所示。纵向距离为沿车道中心参考线前进的纵向距离。侧向偏移量为相对于车道中心参考线的侧向偏移量。Step 101: Project the current vehicle position information and the current vehicle posture information according to the local S-L coordinate system to obtain the initial state. The local S-L coordinate system is a coordinate system between the longitudinal distance and the lateral offset based on the lane center reference line, as shown in Figure 5. The longitudinal distance is the longitudinal distance along the lane center reference line. The lateral offset is the lateral offset relative to the lane center reference line.
步骤102:根据车道线信息和当前车辆的车速信息确定规划时域内的规划末态。例如,基于当前车速vx和车道线信息Lleft和Lright,确定一系列规划时域tp内可能的规划末态,其中Lleft和Lright分别为当前车道允许的最大向左/向右横向偏移量。终点S-L坐标系状态,如表1所示。Step 102: Determine the final planning state in the planning time domain according to the lane line information and the current vehicle speed information. For example, based on the current vehicle speed v x and the lane line information L left and L right , determine a series of possible final planning states in the planning time domain t p , where L left and L right are the maximum left/right lateral offsets allowed by the current lane. The end point SL coordinate system state is shown in Table 1.
表1预设规划末态表Table 1 Preset planning final state table
步骤103:基于初始态和规划末态生成待选轨迹组。待选轨迹组包括多条由初始态至规划末态的平滑轨迹。Step 103: Generate a candidate trajectory group based on the initial state and the planned final state. The candidate trajectory group includes multiple smooth trajectories from the initial state to the planned final state.
基于上述描述,已知局部坐标系下初始态与规划末态的与/>即两组已知6个未知数的方程,可用5次多项式分别描述车辆在局部坐标系下沿s和L方向的运动,并将其转化至全局坐标系(如图4所示)下,得到一组自规划初始态至末态的平滑轨迹,其各时刻状态包括:全局坐标系下的纵、横向位置x,y,全局坐标系下的航向角θ,轨迹曲率κ,沿参考线前进的纵向距离s以及相对参考线的侧向偏移量L。Based on the above description, it is known that the initial state and the final state of the planning in the local coordinate system With/> That is, two sets of equations with 6 known unknowns can be used to describe the movement of the vehicle in the s and L directions in the local coordinate system using fifth-order polynomials, and then transformed into the global coordinate system (as shown in Figure 4), to obtain a set of smooth trajectories from the initial state to the final state of the planning. The states at each moment include: the longitudinal and lateral positions x, y in the global coordinate system, the heading angle θ in the global coordinate system, the trajectory curvature κ, the longitudinal distance s along the reference line, and the lateral offset L relative to the reference line.
步骤104:基于离线车辆障碍失稳边界和障碍物的尺寸信息对平滑轨迹内的障碍物进行分类,得到可跨越障碍物和不可跨越障碍物。Step 104: Classify obstacles in the smooth trajectory based on the offline vehicle obstacle instability boundary and obstacle size information to obtain crossable obstacles and non-crossable obstacles.
其中,本实施例可以通过以下方式确定离线车辆障碍失稳边界:Among them, this embodiment can determine the offline vehicle obstacle instability boundary in the following way:
1)、建立所规划车辆的动力学模型,通过在高精物理引擎的仿真环境下模拟其以不同速度行驶通过不同尺寸(长、宽、高)路面障碍物的工况,得到车辆的悬架减振器变形量及轮胎变形量响应。1) Establish a dynamic model of the planned vehicle, and simulate its driving conditions at different speeds through road obstacles of different sizes (length, width, height) in the simulation environment of a high-precision physics engine to obtain the vehicle's suspension shock absorber deformation and tire deformation response.
2)、通过基于先验知识的车辆垂向平顺性评价方法,以悬架减振器变形量为标准,划分出一表征车辆垂向障碍失稳的响应边界,即在该工况下,若车辆响应表征车辆存在离地情况,则认为该工况会导致车辆障碍失稳。2) Through the vehicle vertical smoothness evaluation method based on prior knowledge, a response boundary representing the vertical obstacle instability of the vehicle is divided with the deformation of the suspension shock absorber as the standard. That is, under this working condition, if the vehicle response represents that the vehicle is off the ground, it is considered that this working condition will cause the vehicle obstacle instability.
3)、基于查找表(lookup-table)模式构建车速、障碍物尺寸与车辆是否垂向失稳之间的映射,其输入应为车辆纵向速度与障碍物尺寸,输出为该障碍物是否会造成当前车速下的车辆障碍失稳(如图3所示),这里将车辆的通过角所对应障碍物高度hthreshold作为额外阈值,若障碍高度尺寸高于该阈值,则无条件认为该障碍会导致失稳。3) Based on the lookup-table mode, a mapping between vehicle speed, obstacle size and whether the vehicle is vertically unstable is constructed. The input should be the longitudinal speed of the vehicle and the obstacle size, and the output is whether the obstacle will cause the vehicle obstacle instability at the current speed (as shown in Figure 3). Here, the obstacle height h threshold corresponding to the vehicle's passing angle is used as an additional threshold. If the obstacle height is higher than the threshold, it is unconditionally considered that the obstacle will cause instability.
步骤105:根据可跨越障碍物的位置信息和可跨越障碍物的尺寸信息生成可跨越障碍物栅格地图,根据不可跨越障碍物的位置信息和不可跨越障碍物的尺寸信息生成不可跨越障碍物栅格地图。可跨越障碍物栅格地图中存在可跨越障碍物的栅格值设置为可跨越障碍物的高度值,不存在可跨越障碍物的栅格值设置为0。不可跨越障碍物栅格地图中的存在不可跨越障碍物的栅格值设置为1,不存在不可跨越障碍物的栅格值设置为0。其中,图6和图7中的栅格的颜色越深表示栅格值越大。该步骤的实施过程可以如下:Step 105: Generate a surmountable obstacle grid map based on the location information of the surmountable obstacles and the size information of the surmountable obstacles, and generate an unsurmountable obstacle grid map based on the location information of the unsurmountable obstacles and the size information of the unsurmountable obstacles. The grid value of the surmountable obstacle in the surmountable obstacle grid map is set to the height value of the surmountable obstacle, and the grid value of the unsurmountable obstacle is set to 0. The grid value of the unsurmountable obstacle in the unsurmountable obstacle grid map is set to 1, and the grid value of the unsurmountable obstacle is set to 0. The darker the color of the grid in Figures 6 and 7, the larger the grid value. The implementation process of this step can be as follows:
步骤1050:以当前车辆位置作为原点,当前航向为x轴正方向,建立栅格地图坐标系,并基于感知范围构建一定长、宽及分辨率的矩形栅格地图,其各个栅格点中可储存二值(0和1)信息或障碍物高度(标量)信息。Step 1050: With the current vehicle position as the origin and the current heading as the positive direction of the x-axis, a grid map coordinate system is established, and a rectangular grid map of a certain length, width and resolution is constructed based on the perception range. Each grid point can store binary (0 and 1) information or obstacle height (scalar) information.
步骤1051:基于获取障碍物信息的不确定度,对障碍物尺寸信息进行一定比例的膨胀。Step 1051: Based on the uncertainty of the obstacle information obtained, the obstacle size information is expanded by a certain proportion.
步骤1052:对于可跨越障碍栅格地图,将可跨越障碍的位置与尺寸信息投射至栅格地图坐标系中,栅格值为其高度尺寸,不存在可跨障碍的栅格值设为0,如图6所示。Step 1052: For the crossable obstacle grid map, the position and size information of the crossable obstacle is projected into the grid map coordinate system, and the grid value is its height size. The grid value of the non-crossable obstacle is set to 0, as shown in FIG6 .
步骤1053:对于不可跨越障碍栅格地图,将不可跨越障碍的位置与尺寸信息投射至栅格地图坐标系中,将存在不可跨障碍的栅格值设为1,其余设为0,如图7所示。Step 1053: For the grid map of insurmountable obstacles, the location and size information of the insurmountable obstacles are projected into the grid map coordinate system, and the grid values where the insurmountable obstacles exist are set to 1, and the rest are set to 0, as shown in FIG. 7 .
步骤106:基于车辆的轮胎宽度确定平滑轨迹内的轮迹包络域。例如,对当前循环内轨迹,基于公式(1)计算其各点轮胎宽度位置,从而得到车辆在轨迹上的轮迹,其中X、Xleft和Xright分别为轨迹、轨迹上左轮和轨迹上右轮的横轴位置,Y、Yleft和Yright分别为轨迹、轨迹上左轮和轨迹上右轮的纵轴位置,如图8所示。Step 106: Determine the wheel track envelope domain within the smooth trajectory based on the tire width of the vehicle. For example, for the trajectory within the current cycle, the tire width position of each point is calculated based on formula (1), thereby obtaining the wheel track of the vehicle on the trajectory, where X, Xleft and Xright are the horizontal axis positions of the trajectory, the left wheel on the trajectory and the right wheel on the trajectory, respectively, and Y, Yleft and Yright are the vertical axis positions of the trajectory, the left wheel on the trajectory and the right wheel on the trajectory, respectively, as shown in FIG8 .
步骤107:在不可跨越障碍物栅格地图中查询当前平滑轨迹的轮迹包络域内的栅格值,当栅格值均不为0时,跳转至下一平滑轨迹中进行轮迹包络域内栅格值的查询。Step 107: query the grid value in the wheel track envelope domain of the current smooth track in the grid map of the insurmountable obstacle. When all the grid values are not 0, jump to the next smooth track to query the grid value in the wheel track envelope domain.
步骤108:当栅格值均为0时,在可跨越障碍物栅格地图中查询当前平滑轨迹的轮迹包络域内的栅格值,并计算当前平滑轨迹的相对侧倾角得到当前平滑轨迹的路径代价。Step 108: When the grid values are all 0, query the grid values in the wheel track envelope domain of the current smooth trajectory in the obstacle-crossable grid map, and calculate the relative roll angle of the current smooth trajectory to obtain the path cost of the current smooth trajectory.
路径代价为侧向响应代价、侧向偏移误差代价与侧倾风险代价三项代价加权计算之和。侧向响应代价为每一条待选轨迹上各采样点的曲率之和,表征车辆跟随该轨迹时转向的剧烈程度。侧向偏移误差为每一条待选轨迹上各采样点的s-l坐标状态中侧向位移之和,表征车辆轨迹相对参考车道线的偏移程度。侧倾风险代价为基于每一条待选轨迹的左右轮迹上各采样点在可跨障碍栅格地图中的高度信息计算出的各采样点相对侧倾角之和,表征车辆轨迹上因接触可跨障碍物而产生的侧翻风险。The path cost is the weighted sum of the lateral response cost, lateral offset error cost and roll risk cost. The lateral response cost is the sum of the curvatures of the sampling points on each candidate trajectory, which represents the severity of the vehicle's steering when following the trajectory. The lateral offset error is the sum of the lateral displacements in the s-l coordinate state of the sampling points on each candidate trajectory, which represents the degree of deviation of the vehicle trajectory relative to the reference lane line. The roll risk cost is the sum of the relative roll angles of the sampling points calculated based on the height information of the sampling points on the left and right wheel tracks of each candidate trajectory in the crossable obstacle grid map, which represents the rollover risk caused by contact with crossable obstacles on the vehicle trajectory.
其中,路径代价的计算过程为:The calculation process of the path cost is:
步骤1080:基于当前轨迹信息中的侧向偏移量与曲率,计算该轨迹的累计加权侧向偏移代价与累计加权曲率代价。Step 1080: Based on the lateral offset and curvature in the current trajectory information, calculate the cumulative weighted lateral offset cost and the cumulative weighted curvature cost of the trajectory.
步骤1081:基于轨迹的轮迹信息,在可跨越障碍栅格地图中查询轮迹各点所对应的障碍物高度,并计算该轨迹的相对侧倾角(如图9所示),从而得到该轨迹的累计加权侧倾风险代价。Step 1081: Based on the wheel track information of the trajectory, query the obstacle height corresponding to each point of the wheel track in the surmountable obstacle grid map, and calculate the relative roll angle of the trajectory (as shown in FIG. 9 ), thereby obtaining the cumulative weighted roll risk cost of the trajectory.
statetrajectory,i=[x y θ κ s L] (2)state trajectory,i = [xy θ κ s L] (2)
式中,x,y,θ,κ,s,L分别为轨迹上各点的全局横、纵坐标,全局航向角,曲率,局部坐标系下弧长,局部坐标系下横向偏移。为轨迹上各点的车辆相对侧倾角,由轮迹上各点路面高度和车辆轮距计算得出,/>为轨迹上第i点的车辆相对侧倾角,Q1、Q2和Q3分别为代价函数中侧向偏移、相对侧倾和曲率的权重系数,hleft为左车轮距离地面的高度,hright为有车轮距离地面的高度,wheeltraji为轨迹上第i个采样点的轮迹,T为车辆轮距宽度,statetrajectory,i为轨迹上第i个采样点包含的状态,cost为当前轨迹的代价函数,Li为轨迹上第i个采样点的局部坐标系下横向偏移,N为轨迹上的采样点总数,κi为轨迹上第i个采样点的曲率。Where x, y, θ, κ, s, and L are the global horizontal and vertical coordinates of each point on the trajectory, the global heading angle, the curvature, the arc length in the local coordinate system, and the lateral offset in the local coordinate system. is the relative roll angle of the vehicle at each point on the track, which is calculated from the road surface height at each point on the wheel track and the vehicle wheelbase, /> is the relative roll angle of the vehicle at the i-th point on the trajectory, Q 1 , Q 2 and Q 3 are the weight coefficients of lateral offset, relative roll and curvature in the cost function, respectively, h left is the height of the left wheel from the ground, h right is the height of the right wheel from the ground, wheeltraj i is the wheel track of the i-th sampling point on the trajectory, T is the vehicle wheel width, state trajectory,i is the state contained in the i-th sampling point on the trajectory, cost is the cost function of the current trajectory, Li is the lateral offset of the i-th sampling point on the trajectory in the local coordinate system, N is the total number of sampling points on the trajectory, and κ i is the curvature of the i-th sampling point on the trajectory.
步骤109:当待选轨迹组中的所有平滑轨迹全部完成查询后,将路径代价最小的平滑轨迹作为车辆行驶轨迹。得到的车辆行驶轨迹能满足避障与车辆稳定性要求,且路径光滑可微,便于控制部分的跟踪。Step 109: When all smooth trajectories in the candidate trajectory group have been queried, the smooth trajectory with the minimum path cost is used as the vehicle driving trajectory. The obtained vehicle driving trajectory can meet the requirements of obstacle avoidance and vehicle stability, and the path is smooth and differentiable, which is convenient for tracking the control part.
本实施例考虑到路面障碍特征对车辆稳定性的影响程度,采用数据驱动障碍失稳边界模型对车辆通行路径上障碍的动力学响应进行预测,并且作为障碍失稳判据对感知障碍物进行分类,分别构建可跨越与不可跨障碍栅格地图,并基于两地图进行轨迹的碰撞检测和代价计算,最终规划出一条满足避障要求和稳定性要求的可行路径。实施上述路径规划方法的系统主要由六部分组成:离线障碍失稳判断模块、分类障碍地图生成模块、待选轨迹组生成模块、轮迹拓展生成模块、碰撞检测模块与代价计算模块。下面基于这一架构对该系统进行详细说明。This embodiment takes into account the degree of influence of road obstacle characteristics on vehicle stability, and adopts a data-driven obstacle instability boundary model to predict the dynamic response of obstacles on the vehicle's path, and classifies the perceived obstacles as a criterion for obstacle instability, respectively constructing grid maps of crossable and non-crossable obstacles, and performing collision detection and cost calculation of trajectories based on the two maps, and finally planning a feasible path that meets the obstacle avoidance and stability requirements. The system for implementing the above-mentioned path planning method mainly consists of six parts: an offline obstacle instability judgment module, a classified obstacle map generation module, a candidate trajectory group generation module, a wheel track expansion generation module, a collision detection module and a cost calculation module. The following is a detailed description of the system based on this architecture.
具体的,如图2所示,本发明提供的考虑路面障碍特征的路径规划系统包括:车辆感知模块、待选轨迹组生成模块、离线障碍失稳判断模块、分类障碍地图生成模块、轮迹拓展生成模块、碰撞检测模块、代价计算模块和车辆行驶轨迹输出模块。Specifically, as shown in Figure 2, the path planning system considering road obstacle characteristics provided by the present invention includes: a vehicle perception module, a selected trajectory group generation module, an offline obstacle instability judgment module, a classified obstacle map generation module, a wheel track expansion generation module, a collision detection module, a cost calculation module and a vehicle driving trajectory output module.
车辆感知模块用于获取当前车道信息、当前车辆的位置信息、当前车辆的位姿信息、当前车辆的车速信息以及当前车道中障碍物的位置信息和障碍物的尺寸信息。车道信息包括:车道的边界信息和车道线信息。The vehicle perception module is used to obtain the current lane information, the current vehicle position information, the current vehicle posture information, the current vehicle speed information, and the position information and size information of obstacles in the current lane. The lane information includes: lane boundary information and lane line information.
待选轨迹组生成模块用于根据局部S-L坐标系对当前车辆的位置信息和当前车辆的位姿信息进行投影转化得到初始态,用于根据车道线信息和当前车辆的车速信息确定规划时域内的规划末态,并用于基于初始态和规划末态生成待选轨迹组。局部S-L坐标系为基于车道中心参考线建立的纵向距离和侧向偏移量间的坐标系。纵向距离为沿车道中心参考线前进的纵向距离。侧向偏移量为相对于车道中心参考线的侧向偏移量。待选轨迹组包括多条由初始态至规划末态的平滑轨迹。The module for generating the candidate trajectory group is used to project and transform the position information and posture information of the current vehicle according to the local S-L coordinate system to obtain the initial state, to determine the final state of planning in the planning time domain according to the lane line information and the speed information of the current vehicle, and to generate the candidate trajectory group based on the initial state and the final state of planning. The local S-L coordinate system is a coordinate system between the longitudinal distance and the lateral offset established based on the lane center reference line. The longitudinal distance is the longitudinal distance along the lane center reference line. The lateral offset is the lateral offset relative to the lane center reference line. The candidate trajectory group includes multiple smooth trajectories from the initial state to the final state of planning.
具体的,待选轨迹组生成模块包括全局-局部坐标转换、规划终态定义及多项式拟合轨迹生成。模块输入为感知层获取的车速信息及参考车道线信息,全局-局部坐标转换将车辆当前全局x-y坐标系下的位置及航向信息转化至基于参考车道中心线生成的局部s-l坐标系下,规划终态基于轨迹预测时长,当前车辆状态与道路信息定义了规划末端一系列车辆可能的s-l坐标系状态,并基于4/5次多项式拟合,生成满足规划初/终态s-l坐标系状态约束的多项式轨迹组。Specifically, the module for generating the selected trajectory group includes global-local coordinate conversion, planning final state definition and polynomial fitting trajectory generation. The module input is the vehicle speed information and reference lane line information obtained by the perception layer. The global-local coordinate conversion converts the vehicle's current position and heading information in the global x-y coordinate system to the local s-l coordinate system generated based on the reference lane centerline. The planning final state is based on the trajectory prediction duration, the current vehicle state and the road information to define a series of possible s-l coordinate system states of the vehicle at the end of the planning, and based on 4/5-order polynomial fitting, a polynomial trajectory group that meets the planning initial/final state s-l coordinate system state constraints is generated.
离线障碍失稳判断模块用于基于离线车辆障碍失稳边界和障碍物的尺寸信息对平滑轨迹内的障碍物进行分类,得到可跨越障碍物和不可跨越障碍物。The offline obstacle instability judgment module is used to classify obstacles in the smooth trajectory based on the offline vehicle obstacle instability boundary and the obstacle size information to obtain crossable obstacles and non-crossable obstacles.
具体的,离线障碍失稳判断模块包括数据驱动障碍物尺寸特征(包括但不限于长度、宽度、高度及障碍曲率、斜率特征等)-车辆动力学响应映射模型与车辆动力学响应-车辆障碍失稳边界映射模型,其可利用高精度物理引擎下仿真得到的车辆行驶通过不同障碍下的动力学响应,结合专家或经验设计的车辆失稳边界,表达感知获取的障碍物尺寸信息与车辆失稳程度之间的映射关系,从而将感知获取的障碍物信息分类为不可跨越障碍与可跨越障碍,输出至分类障碍地图生成模块。Specifically, the offline obstacle instability judgment module includes a data-driven obstacle size feature (including but not limited to length, width, height, obstacle curvature, slope features, etc.)-vehicle dynamic response mapping model and a vehicle dynamic response-vehicle obstacle instability boundary mapping model, which can use the dynamic response of the vehicle passing through different obstacles simulated under a high-precision physics engine, combined with the vehicle instability boundary designed by experts or experience, to express the mapping relationship between the perceived obstacle size information and the degree of vehicle instability, thereby classifying the perceived obstacle information into insurmountable obstacles and surmountable obstacles, and outputting them to the classified obstacle map generation module.
分类障碍地图生成模块用于根据可跨越障碍物的位置信息和可跨越障碍物的尺寸信息生成可跨越障碍物栅格地图,根据不可跨越障碍物的位置信息和不可跨越障碍物的尺寸信息生成不可跨越障碍物栅格地图。可跨越障碍物栅格地图中存在可跨越障碍物的栅格值设置为可跨越障碍物的高度值,不存在可跨越障碍物的栅格值设置为0。不可跨越障碍物栅格地图中的存在不可跨越障碍物的栅格值设置为1,不存在不可跨越障碍物的栅格值设置为0。The classification obstacle map generation module is used to generate a surmountable obstacle grid map according to the location information of surmountable obstacles and the size information of surmountable obstacles, and to generate an insurmountable obstacle grid map according to the location information of insurmountable obstacles and the size information of insurmountable obstacles. The grid value of the surmountable obstacle in the surmountable obstacle grid map is set to the height value of the surmountable obstacle, and the grid value of the non-surmountable obstacle is set to 0. The grid value of the non-surmountable obstacle in the insurmountable obstacle grid map is set to 1, and the grid value of the non-surmountable obstacle is set to 0.
具体的,分类障碍地图生成模块包括不可跨越障碍栅格地图生成及可跨越障碍栅格地图生成,基于上一模块得到的障碍物分类结果,结合感知模块的视角,视距与不确定度信息,分别生成相同长与宽的矩形栅格地图(见下文步骤五)。其中前者仅包含不可跨越障碍的位置及尺寸(不含高度)信息,用于后续流程中的碰撞检测。后者仅包含可跨越障碍的位置及尺寸(含高度)信息,用于后续流程中的轨迹代价计算。Specifically, the classification obstacle map generation module includes the generation of the grid map of non-crossable obstacles and the generation of the grid map of crossable obstacles. Based on the obstacle classification results obtained in the previous module, combined with the perspective, viewing distance and uncertainty information of the perception module, rectangular grid maps of the same length and width are generated respectively (see step 5 below). The former only contains the position and size (excluding height) information of the non-crossable obstacles, which is used for collision detection in the subsequent process. The latter only contains the position and size (including height) information of the crossable obstacles, which is used for trajectory cost calculation in the subsequent process.
轮迹拓展生成模块用于基于车辆的轮胎宽度确定平滑轨迹内的轮迹包络域。The wheel track extension generation module is used to determine the wheel track envelope domain within the smooth track based on the tire width of the vehicle.
具体的,轮迹拓展生成模块对输入的多项式轨迹组进行循环采样,获取每一条待选轨迹的位置及航向信息,并基于车辆轮距尺寸进行拓展(见下文步骤六),从而生成该条待选轨迹上的轮迹包络域,该包络域将用于下一步的碰撞检测,包络域边界将用于轨迹代价计算中的侧倾风险代价计算。Specifically, the wheel track extension generation module performs cyclic sampling on the input polynomial trajectory group, obtains the position and heading information of each candidate trajectory, and expands it based on the vehicle wheelbase size (see step six below), thereby generating the wheel track envelope domain on the candidate trajectory. The envelope domain will be used for the next step of collision detection, and the envelope domain boundary will be used for the roll risk cost calculation in the trajectory cost calculation.
碰撞检测模块用于在不可跨越障碍物栅格地图中查询当前平滑轨迹的轮迹包络域内的栅格值,当栅格值均不为0时,跳转至下一平滑轨迹中进行轮迹包络域内栅格值的查询。The collision detection module is used to query the grid value in the wheel track envelope domain of the current smooth track in the grid map of the insurmountable obstacle. When the grid values are not 0, it jumps to the next smooth track to query the grid value in the wheel track envelope domain.
具体的,碰撞检测模块基于不可跨障碍栅格地图信息,查询每一条待选轨迹所对应的轮迹包络域内是否存在不可跨障碍,若存在,则跳过该轨迹的代价计算,进入到下一条待选轨迹的碰撞检测。若不存在,则转至代价计算模块进行该轨迹的代价计算。碰撞检测模块的主要作用为筛选出无障碍失稳与碰撞的轨迹。Specifically, the collision detection module queries whether there is an uncrossable obstacle in the wheel track envelope corresponding to each selected track based on the uncrossable obstacle grid map information. If there is, the cost calculation of the track is skipped and the collision detection of the next selected track is entered. If not, the cost calculation module is transferred to perform the cost calculation of the track. The main function of the collision detection module is to filter out the tracks of barrier-free instability and collision.
代价计算模块用于当栅格值均为0时,在可跨越障碍物栅格地图中查询当前平滑轨迹的轮迹包络域内的栅格值,并计算当前平滑轨迹的相对侧倾角得到当前平滑轨迹的路径代价。The cost calculation module is used to query the grid values within the wheel track envelope domain of the current smooth trajectory in the obstacle-crossable grid map when the grid values are all 0, and calculate the relative roll angle of the current smooth trajectory to obtain the path cost of the current smooth trajectory.
具体的,路径代价计算模块包括侧向响应代价、侧向偏移误差代价与侧倾风险代价。侧向响应代价为每一条待选轨迹上各采样点的曲率之和,表征车辆跟随该轨迹时转向的剧烈程度。侧向偏移误差为每一条待选轨迹上各采样点的s-l坐标状态中侧向位移之和,表征车辆轨迹相对参考车道线的偏移程度。侧倾风险代价为基于每一条待选轨迹的左右轮迹上各采样点在可跨障碍栅格地图中的高度信息计算出的各采样点相对侧倾角之和,表征车辆轨迹上因接触可跨障碍物而产生的侧翻风险。路径代价为三项代价加权计算之和,最终输出一条代价最低的路径,其能满足避障与车辆稳定性要求,且路径光滑可微,便于控制部分的跟踪。Specifically, the path cost calculation module includes lateral response cost, lateral offset error cost and roll risk cost. The lateral response cost is the sum of the curvatures of each sampling point on each selected trajectory, which characterizes the severity of the steering when the vehicle follows the trajectory. The lateral offset error is the sum of the lateral displacements in the s-l coordinate state of each sampling point on each selected trajectory, which characterizes the degree of deviation of the vehicle trajectory relative to the reference lane line. The roll risk cost is the sum of the relative roll angles of each sampling point calculated based on the height information of each sampling point on the left and right wheel tracks of each selected trajectory in the crossable obstacle grid map, which characterizes the rollover risk caused by contact with crossable obstacles on the vehicle trajectory. The path cost is the sum of the weighted calculation of the three costs, and finally outputs a path with the lowest cost, which can meet the requirements of obstacle avoidance and vehicle stability, and the path is smooth and differentiable, which is convenient for tracking the control part.
车辆行驶轨迹输出模块用于当待选轨迹组中的所有平滑轨迹全部完成查询后,将路径代价最小的平滑轨迹作为当前的最优轨迹进行输出,传至跟踪控制层。The vehicle driving trajectory output module is used to output the smooth trajectory with the minimum path cost as the current optimal trajectory after all smooth trajectories in the candidate trajectory group have been queried, and transmit it to the tracking control layer.
基于上述提供的系统结构,驾驶员启动车辆行驶后,车辆感知模块进行道路环境信息获取经处理后送至规划层(即待选轨迹组生成模块、离线障碍失稳判断模块、分类障碍地图生成模块、轮迹拓展生成模块、碰撞检测模块和代价计算模块)。Based on the system structure provided above, after the driver starts the vehicle, the vehicle perception module obtains the road environment information and sends it to the planning layer (i.e., the candidate trajectory group generation module, the offline obstacle instability judgment module, the classified obstacle map generation module, the wheel track expansion generation module, the collision detection module and the cost calculation module) after processing.
其中,IMU(惯性测量单元)获取当前纵向车速vx,分别发送至离线障碍失稳判断模块和待选轨迹组生成模块。The IMU (Inertial Measurement Unit) obtains the current longitudinal vehicle speed v x and sends it to the offline obstacle instability judgment module and the candidate trajectory group generation module respectively.
GPS模块获取当前车辆的位置与位姿信息(X,Y,θ),发送至待选轨迹组生成模块。The GPS module obtains the current vehicle position and posture information (X, Y, θ) and sends it to the trajectory group generation module.
V2X/车联网模块及摄像头/激光雷达模块获取车道边界信息,包括:左、右侧车道数目nLaneleft,nLaneright,车道宽度(假定所有车道等宽度)Wlane,参考车道中心线位置、航向与曲率信息(Xref,Yref,θref,κref),发送至待选轨迹组生成模块。The V2X/Internet of Vehicles module and the camera/lidar module obtain lane boundary information, including: the number of left and right lanes nLane left , nLane right , lane width (assuming all lanes are of equal width) W lane , reference lane centerline position, heading and curvature information (X ref , Y ref , θ ref , κ ref ), and send it to the candidate trajectory group generation module.
摄像头/激光雷达模块获取当前障碍物的位置与尺寸信息(Xobs,Yobs,lengthobs,widthobs,heightobs),发送至离线障碍失稳判断模块。The camera/lidar module obtains the position and size information (X obs , Y obs , length obs , width obs , height obs ) of the current obstacle and sends it to the offline obstacle instability judgment module.
在采用离线障碍失稳判断模块对感知障碍物进行分类的过程中,将障碍物尺寸信息输入离线障碍失稳边界,根据输出的失稳与否,将障碍物进行分类。In the process of classifying perceived obstacles using the offline obstacle instability judgment module, obstacle size information is input into the offline obstacle instability boundary, and the obstacles are classified according to whether the output is unstable or not.
其中,对于可跨越障碍,保留其所有位置与尺寸信息,发送至分类障碍地图生成模块。对于不可跨越障碍,仅保留其位置与长宽尺寸信息,发送至分类障碍地图生成模块。Among them, for surmountable obstacles, all their position and size information are retained and sent to the classification obstacle map generation module. For insurmountable obstacles, only their position and length and width size information are retained and sent to the classification obstacle map generation module.
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only used to help understand the method and core ideas of the present invention. At the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210703943.5A CN114815853B (en) | 2022-06-21 | 2022-06-21 | A path planning method and system considering road obstacle characteristics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210703943.5A CN114815853B (en) | 2022-06-21 | 2022-06-21 | A path planning method and system considering road obstacle characteristics |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114815853A CN114815853A (en) | 2022-07-29 |
CN114815853B true CN114815853B (en) | 2024-05-31 |
Family
ID=82521532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210703943.5A Active CN114815853B (en) | 2022-06-21 | 2022-06-21 | A path planning method and system considering road obstacle characteristics |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114815853B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117146845B (en) * | 2023-08-28 | 2024-06-25 | 北京理工大学 | Safety behavior detection method for unmanned off-road vehicle passing through obstacle terrain |
CN118246249B (en) * | 2024-05-27 | 2024-08-13 | 北京理工大学前沿技术研究院 | Method and system for constructing collision risk assessment model in unstructured environment |
CN118494468B (en) * | 2024-07-17 | 2024-11-08 | 罗普特科技集团股份有限公司 | Vehicle control method and system based on artificial intelligence |
CN119063756A (en) * | 2024-11-05 | 2024-12-03 | 湖南行必达网联科技有限公司 | A local path obstacle-crossing planning method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168305A (en) * | 2017-04-01 | 2017-09-15 | 西安交通大学 | Unmanned vehicle method for planning track based on Bezier and VFH under the scene of crossing |
KR20200084938A (en) * | 2018-12-21 | 2020-07-14 | 충북대학교 산학협력단 | Method and Apparatus for Planning Car Motion |
CN112148002A (en) * | 2020-08-31 | 2020-12-29 | 西安交通大学 | Local trajectory planning method, system and device |
CN113267199A (en) * | 2021-06-24 | 2021-08-17 | 上海欧菲智能车联科技有限公司 | Driving track planning method and device |
CN113932823A (en) * | 2021-09-23 | 2022-01-14 | 同济大学 | Unmanned multi-target-point track parallel planning method based on semantic road map |
CN114610016A (en) * | 2022-01-25 | 2022-06-10 | 合肥工业大学 | A collision avoidance path planning method for intelligent vehicles based on dynamic virtual expansion of obstacles |
-
2022
- 2022-06-21 CN CN202210703943.5A patent/CN114815853B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168305A (en) * | 2017-04-01 | 2017-09-15 | 西安交通大学 | Unmanned vehicle method for planning track based on Bezier and VFH under the scene of crossing |
KR20200084938A (en) * | 2018-12-21 | 2020-07-14 | 충북대학교 산학협력단 | Method and Apparatus for Planning Car Motion |
CN112148002A (en) * | 2020-08-31 | 2020-12-29 | 西安交通大学 | Local trajectory planning method, system and device |
CN113267199A (en) * | 2021-06-24 | 2021-08-17 | 上海欧菲智能车联科技有限公司 | Driving track planning method and device |
CN113932823A (en) * | 2021-09-23 | 2022-01-14 | 同济大学 | Unmanned multi-target-point track parallel planning method based on semantic road map |
CN114610016A (en) * | 2022-01-25 | 2022-06-10 | 合肥工业大学 | A collision avoidance path planning method for intelligent vehicles based on dynamic virtual expansion of obstacles |
Non-Patent Citations (1)
Title |
---|
A Novel Local Motion Planning Framework for Autonomous Vehicles Based on Resistance Network and Model Predictive Control;Huang, YJ (Huang, Yanjun) 等;《IEEE TRANSACTIONS ON VEHICULAR TECHNOLOGY》;20200131;第69卷(第1期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114815853A (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114815853B (en) | A path planning method and system considering road obstacle characteristics | |
CN113359757B (en) | A method for path planning and trajectory tracking of unmanned vehicles | |
CN107702716B (en) | Unmanned driving path planning method, system and device | |
CN107063280B (en) | A system and method for intelligent vehicle path planning based on control sampling | |
Gehrig et al. | Collision avoidance for vehicle-following systems | |
CN113942524B (en) | Vehicle running control method, system and computer readable storage medium | |
CN114237256B (en) | Three-dimensional path planning and navigation method suitable for under-actuated robot | |
CN114488185B (en) | Robot navigation system method and system based on multi-line laser radar | |
CN111596668B (en) | Mobile robot anthropomorphic path planning method based on reverse reinforcement learning | |
CN114644016A (en) | Vehicle automatic driving decision-making method, device, vehicle terminal and storage medium | |
Zhang et al. | Structured road-oriented motion planning and tracking framework for active collision avoidance of autonomous vehicles | |
Huang et al. | Trajectory planning in frenet frame via multi-objective optimization | |
CN117885764B (en) | Vehicle track planning method and device, vehicle and storage medium | |
CN114879687A (en) | Intelligent control method for unmanned logistics vehicle | |
Chen et al. | Emergency obstacle avoidance trajectory planning method of intelligent vehicles based on improved hybrid A | |
CN115077553A (en) | Grid-based search trajectory planning method, system, vehicle, equipment and medium | |
Jiang et al. | A dynamic motion planning framework for autonomous driving in urban environments | |
Chen et al. | Automatic overtaking on two-way roads with vehicle interactions based on proximal policy optimization | |
Li et al. | Adaptive sampling-based motion planning with a non-conservatively defensive strategy for autonomous driving | |
CN117571011A (en) | A motion planning method for autonomous vehicles based on rule-enhanced trajectory prediction | |
Changhao et al. | An autonomous vehicle motion planning method based on dynamic programming | |
CN113341999A (en) | Forklift path planning method and device based on optimized D-x algorithm | |
CN116136417B (en) | Unmanned vehicle local path planning method facing off-road environment | |
CN117193308A (en) | Smart vehicle obstacle avoidance path planning method based on improved RRT and back-end optimization strategy | |
CN117950395A (en) | Track planning method and device, moving tool and storage medium |
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 |