WO2022016941A1 - 行驶装置的避障路径的规划方法和装置 - Google Patents
行驶装置的避障路径的规划方法和装置 Download PDFInfo
- Publication number
- WO2022016941A1 WO2022016941A1 PCT/CN2021/090523 CN2021090523W WO2022016941A1 WO 2022016941 A1 WO2022016941 A1 WO 2022016941A1 CN 2021090523 W CN2021090523 W CN 2021090523W WO 2022016941 A1 WO2022016941 A1 WO 2022016941A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- path
- cost
- obstacle avoidance
- lateral
- distance
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 135
- 238000005070 sampling Methods 0.000 claims description 53
- 238000012545 processing Methods 0.000 claims description 41
- 239000013598 vector Substances 0.000 claims description 32
- 230000008569 process Effects 0.000 claims description 23
- 238000012216 screening Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 45
- 238000009499 grossing Methods 0.000 description 32
- 230000006870 function Effects 0.000 description 18
- 238000004891 communication Methods 0.000 description 9
- 238000011156 evaluation Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 8
- 238000004422 calculation algorithm Methods 0.000 description 7
- 230000009191 jumping Effects 0.000 description 7
- 230000003068 static effect Effects 0.000 description 7
- 238000011144 upstream manufacturing Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000001914 filtration Methods 0.000 description 5
- 230000007613 environmental effect Effects 0.000 description 4
- 238000005457 optimization Methods 0.000 description 4
- 238000010276 construction Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000008447 perception Effects 0.000 description 3
- PCTMTFRHKVHKIS-BMFZQQSSSA-N (1s,3r,4e,6e,8e,10e,12e,14e,16e,18s,19r,20r,21s,25r,27r,30r,31r,33s,35r,37s,38r)-3-[(2r,3s,4s,5s,6r)-4-amino-3,5-dihydroxy-6-methyloxan-2-yl]oxy-19,25,27,30,31,33,35,37-octahydroxy-18,20,21-trimethyl-23-oxo-22,39-dioxabicyclo[33.3.1]nonatriaconta-4,6,8,10 Chemical compound C1C=C2C[C@@H](OS(O)(=O)=O)CC[C@]2(C)[C@@H]2[C@@H]1[C@@H]1CC[C@H]([C@H](C)CCCC(C)C)[C@@]1(C)CC2.O[C@H]1[C@@H](N)[C@H](O)[C@@H](C)O[C@H]1O[C@H]1/C=C/C=C/C=C/C=C/C=C/C=C/C=C/[C@H](C)[C@@H](O)[C@@H](C)[C@H](C)OC(=O)C[C@H](O)C[C@H](O)CC[C@@H](O)[C@H](O)C[C@H](O)C[C@](O)(C[C@H](O)[C@H]2C(O)=O)O[C@H]2C1 PCTMTFRHKVHKIS-BMFZQQSSSA-N 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 238000005452 bending Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000012854 evaluation process Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000037361 pathway Effects 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W60/00—Drive control systems specially adapted for autonomous road vehicles
- B60W60/001—Planning or execution of driving tasks
- B60W60/0011—Planning or execution of driving tasks involving control alternatives for a single driving scenario, e.g. planning several paths to avoid obstacles
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3446—Details of route searching algorithms, e.g. Dijkstra, A*, arc-flags, using precalculated routes
-
- G—PHYSICS
- 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
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W30/00—Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units
- B60W30/08—Active safety systems predicting or avoiding probable or impending collision or attempting to minimise its consequences
- B60W30/095—Predicting travel path or likelihood of collision
- B60W30/0956—Predicting travel path or likelihood of collision the prediction being responsive to traffic or environmental parameters
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W50/0098—Details of control systems ensuring comfort, safety or stability not otherwise provided for
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/3453—Special cost functions, i.e. other than distance or default speed limit of road segments
- G01C21/3461—Preferred or disfavoured areas, e.g. dangerous zones, toll or emission zones, intersections, manoeuvre types, segments such as motorways, toll roads, ferries
-
- 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/0214—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with safety or protection criteria, e.g. avoiding hazardous areas
-
- 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/0221—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
-
- 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
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0001—Details of the control system
- B60W2050/0043—Signal treatments, identification of variables or parameters, parameter estimation or state estimation
- B60W2050/0052—Filtering, filters
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2554/00—Input parameters relating to objects
- B60W2554/80—Spatial relation or speed relative to objects
- B60W2554/802—Longitudinal distance
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2556/00—Input parameters relating to data
- B60W2556/10—Historical data
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2754/00—Output or target parameters relating to objects
- B60W2754/10—Spatial relation or speed relative to objects
- B60W2754/20—Lateral distance
Definitions
- the present application relates to the technical field of automatic driving, and more particularly, to a method and device for planning an obstacle avoidance path of a traveling device.
- Autonomous driving technology uses maps and positioning modules to obtain navigation information, uses sensing devices to perceive the surrounding environment, and combines decision-making, planning, and control modules to achieve autonomous vehicle navigation.
- the path planning module is responsible for outputting the correct and effective driving path according to the upper-level navigation information, decision-making instructions and environmental perception results, so as to guide the correct driving of the automatic driving device.
- the path planning module can further realize the planning of the obstacle avoidance path in combination with the obstacle information, so that the automatic driving device can drive safely in the dynamic environment, which is also the focus of path planning.
- the existing obstacle avoidance path planning methods mainly include: sampling, optimization, search, potential field and feature points, etc. These obstacle avoidance methods usually have good planning effects in simple scenarios, but for real dynamic traffic scenarios, especially In complex and narrow scenes, the path is prone to shaking, and the safe and smooth driving of the vehicle cannot be guaranteed.
- the present application provides a method and device for planning an obstacle avoidance path of a traveling device, so that the traveling device can avoid obstacles safely and stably in complex and narrow traffic scenarios.
- a method for planning an obstacle avoidance path of a traveling device includes: acquiring a distance map, where the distance map includes a plurality of first grids, and each of the plurality of first grids has a first The grid is used to record the distance between the first grid and the first grid occupied by the nearest obstacle; according to the distance map, determine the first lateral background cost potential field in the near field range, the near field range is the same as that of the driving device.
- the longitudinal distance is less than or equal to the range of the first threshold value
- the first lateral background cost potential field is the first repulsive force field formed by the obstacle in the lateral position to the traveling device
- the first lateral background cost potential field includes the target extremely small value point
- the background cost on both lateral sides of the target minimum point is monotonic
- the background cost represents the near-field lateral collision cost to the traveling device caused by obstacles in the lateral position within the near-field range; according to the first lateral
- the background cost potential field determines the current obstacle avoidance path.
- the above-mentioned driving device may be an autonomous vehicle, a robot, or other autonomous driving devices.
- the repulsive force field is formed by the obstacles in the lateral position to the traveling device, which can represent the collision tendency of the obstacle to the traveling device, and guide the traveling device to avoid the obstacle, which can also be called a collision field or a risk field.
- the first horizontal background cost potential field includes a target minimum point, and the background cost on both sides of the target minimum point is monotonic, which means that the background on both sides of the target minimum point in the first repulsion field is monotonic. The cost is monotonic.
- the background cost on both sides of the target minimum point is monotonic, specifically, the potential field on the left side of the target minimum value point is monotonically decreasing, and the potential field on the right side of the target minimum value point is monotonically increasing.
- the background costs on the lateral sides of the target minimum point are monotonic, which means that the background costs on both lateral sides of the target minimum point are larger than the background costs at the target minimum point.
- the first lateral background cost potential field may be V-shaped.
- determining the current obstacle avoidance path according to the first lateral background cost potential field may be determining the current obstacle avoidance path according to the lateral position of the target minimum point in the first lateral background cost potential field.
- a distance map is first obtained, and then a first horizontal background cost potential field within the near field is constructed according to the distance map, and the first horizontal background cost potential field includes a target minimum value point, and the target minimum value is The background cost on both lateral sides of the value point is monotonic; then the current obstacle avoidance path is determined according to the first lateral background cost potential field.
- the information of near-field obstacles is fully considered to avoid the influence of distant obstacles on the planned path;
- the obstacle avoidance path planned based on the lateral collision trend of the obstacle can make the driving device maintain the best lateral distance from the obstacle in a complex and narrow environment, thereby improving the stability of the obstacle avoidance path.
- determining a first lateral background cost potential field within the near-field range according to the distance map includes: determining a second lateral background within the near-field range according to the distance map a cost potential field, the second lateral background cost potential field is a second repulsive force field formed by the obstacles in the lateral position to the traveling device, and the second lateral background cost potential field includes at least one minimum value point; from the at least one Determine the target minimum point in the minimum value point; perform monotonicity processing on the background costs on both lateral sides of the target minimum value point to generate the first horizontal background cost potential field, and the slope of the monotonicity processing is greater than or equal to second threshold.
- the second repulsive force field can represent the collision tendency of the obstacle to the traveling device before the monotonicity treatment. That is, monotonic processing of the second repulsion field results in the first repulsion field.
- a second lateral background cost potential field within the near field is constructed according to the distance map, and then a target minimum value point is determined in at least one minimum value point in the second lateral background cost potential field , and perform monotonicity processing on the background costs on both lateral sides of the target minimum point to generate the first lateral background cost potential field, and the slope of the monotonic processing is greater than or equal to the second threshold. Therefore, the background cost potential field of the lateral position where the target minimum point is located is significantly lower than the background cost potential field at other lateral positions. The background cost potential field will increase significantly, so as to avoid slowly and smoothly and run to the horizontal position where the background cost potential field is the lowest to ensure a safe distance from the obstacle.
- the target minimum value point may be the smallest minimum value point among all the minimum value points in which there is no obstacle in the near field range between the target minimum value point and the traveling device.
- the self-vehicle can run smoothly to the lateral position where the target minimum point is located, avoiding the possibility of the traveling device and the target extreme Obstacles exist between the lateral positions of the minimum point, so that the ego vehicle cannot run to the lateral position of the target minimum point, thereby improving the stability of the path.
- the method before acquiring the distance map, further includes: acquiring an occupancy map, where the occupancy map includes a plurality of second grids, among the plurality of second grids Each second grid of is used to record the probability of the existence of obstacles in the second grid; obtaining the distance map includes: obtaining the distance map according to the occupation map.
- the probability of existing obstacles in the second grid is greater than or equal to a certain threshold, it can be considered that there are obstacles in the second grid; when the probability of existing obstacles in the second grid is less than a certain threshold, It can be considered that there are no obstacles in the second grid.
- each second grid in the plurality of second grids may also be directly used to record whether there is an obstacle in the second grid.
- obtaining the distance map according to the occupation map includes: filtering out the second grid located in the first area in the occupation map, the first area Located in front of the traveling device, if there is an obstacle in the first area, the traveling device cannot avoid the obstacle in the first area; the distance map is obtained according to the screened occupancy map.
- the traveling device cannot avoid the obstacle in the first area. It can also be described as, if there is an obstacle in the first area, no matter which one the traveling device chooses None of the obstacle avoidance paths can avoid the obstacles in the first area.
- the obstacle avoidance path planning is based on the occupancy map information provided by the upstream module, and the obstacle information provided by the upstream module not only includes the actual pose of the dynamic and static obstacles and the predicted trajectory projection of the obstacles, but also may include the self-vehicle.
- the occupancy situation of obstacles caused by the false detection of the front part of the vehicle, or the obstacle information appears in the area on the occupied map due to the uneven ground. At this time, if the obstacles in this area are also considered, it will affect the path planning, so that the obstacles in this area must be avoided during the driving process, which will cause the path to oscillate greatly.
- the grids that occupy the area in the map may be screened out.
- the erroneous avoidance of the traveling device due to the erroneous detection of the obstacle is effectively avoided. It is ensured that the remaining occupied grids only contain the necessary information required by the obstacle avoidance algorithm, which improves the stability of the obstacle avoidance path.
- the method before determining the second lateral background cost potential field within the near-field range according to the distance map, the method further includes: generating a feature vector, where the feature vector includes Path starting point and sampling target point; generating multiple candidate paths according to the reference path, the historical path and the feature vector; determining the second lateral background cost potential field within the near field range according to the distance map includes: according to the sampling The target point, the reference path is laterally offset to generate a plurality of virtual parallel line paths; the distance of each waypoint within the near field range of each virtual parallel line path in the multiple virtual parallel line paths is calculated according to the distance map.
- the distance of the nearest obstacle to the waypoint calculate the background cost of the virtual parallel line according to the minimum value of the distance on each virtual parallel line path; calculate the background cost of the virtual parallel line path within the near field range according to the multiple virtual parallel line paths A second lateral background cost potential field within the near-field range is generated.
- the method before determining the current obstacle avoidance path according to the first lateral background cost potential field, the method further includes: calculating the multiple candidate paths according to the distance map One or more of the collision cost, constraint cost, switching cost, lateral offset cost, or smoothness cost on each alternative path in Whether a collision will occur when driving up, the constraint cost is used to evaluate whether each waypoint on the alternative path is within the obstacle avoidance range, and the switching cost is used to evaluate the deviation between the alternative path and the historical path, The lateral offset cost is used to evaluate the degree of lateral deviation of the candidate path from the road centerline, and the smoothness cost is used to evaluate the smoothness of the candidate path; according to the first lateral background cost potential field, determine the current avoidance
- the obstacle path includes: according to the background cost in the first lateral background cost potential field, or according to the background cost in the first lateral background cost potential field and the collision cost, constraint cost, switching cost, lateral offset cost or smoothness One or more of the costs, calculate
- one or more of the collision cost, constraint cost, switching cost, lateral offset cost, or smoothness cost may also be considered, so that all The determined obstacle avoidance path can integrate more factors, so that the stability and safety of the obstacle avoidance path can be further improved.
- the method further includes: determining a final obstacle avoidance path according to an arbitration result of the historical path and the current obstacle avoidance path.
- the final obstacle avoidance path is determined according to the difference between the current obstacle avoidance path and the historical path. It avoids the situation that the obstacle avoidance path obtained purely based on the cost function or pure logic will produce inter-frame jumping when running in a complex and narrow environment, effectively reducing the planning method's dependence on the cost function, thereby ensuring the stability of the path.
- determining the final obstacle avoidance path according to the arbitration result of the historical path and the current obstacle avoidance path includes: if the historical path has a collision, but the current obstacle avoidance path does not If there is a collision, the current obstacle avoidance path is used as the final obstacle avoidance path; or, if there is a collision between the historical path and the current obstacle avoidance path, and the collision distance of the current obstacle avoidance path and the collision distance of the historical path are combined If the absolute value of the difference is greater than or equal to the third threshold, the current obstacle avoidance path and the historical path with the larger collision distance are used as the final obstacle avoidance path; or, if both the historical path and the current obstacle avoidance path have collisions , and the absolute value of the difference between the collision distance of the current obstacle avoidance path and the collision distance of the historical path is less than the third threshold, then the historical path is used as the final obstacle avoidance path; or, if there is no collision on the historical path, and The ratio of the final cost
- the current obstacle avoidance path is obviously better than the historical path, the current obstacle avoidance path is switched; if the current obstacle avoidance path is not obviously better than the historical path, the historical path is used. It avoids the situation that the obstacle avoidance path obtained purely based on the cost function or pure logic will generate inter-frame jumping when running in a complex and narrow environment, thereby ensuring the stability of the path.
- the method further includes: performing temporal smoothing according to the historical path and the final obstacle avoidance path.
- time domain smoothing may also be performed according to the historical path and the final obstacle avoidance path.
- the final obstacle avoidance path follows the historical path, the obstacle avoidance path after time domain smoothing is still the historical path; if the final obstacle avoidance path is the current obstacle avoidance path, the time domain smoothing is performed according to the current obstacle avoidance path and the historical path. .
- the method further includes: outputting the final obstacle avoidance path to a speed planner, where the speed planner is used for determining the obstacles on the final obstacle avoidance path according to the final obstacle avoidance path and the obstacles on the final obstacle avoidance path. information for speed planning.
- the speed planner after outputting the final obstacle avoidance path, the speed planner will perform speed planning according to the obstacle information on the final obstacle avoidance path, and will perform deceleration planning if an obstacle that may collide is found on the path. . Thereby improving the security of the path.
- a device for planning an obstacle avoidance path of a traveling device includes: an acquisition module and a processing module; the acquisition module is used to acquire a distance map, the distance map includes a plurality of first grids, the plurality of Each of the first grids is used to record the distance between the first grid and the first grid occupied by the nearest obstacle; the processing module is used to determine the distance in the near field according to the distance map.
- a first lateral background cost potential field, the near-field range is a range in which the longitudinal distance from the traveling device is less than or equal to a first threshold, and the first lateral background cost potential field is the obstacle formed by the lateral position of the traveling device.
- the first repulsion field, the first horizontal background cost potential field includes the target minimum point, the background cost on both sides of the target minimum point is monotonic, and the background cost represents the pair of obstacles in the horizontal position within the near field.
- the near-field lateral collision cost formed by the traveling device; and the current obstacle avoidance path is determined according to the first lateral background cost potential field.
- determining a first lateral background cost potential field within a near field range according to the distance map includes: determining a second lateral background cost within a near field range according to the distance map potential field, the second lateral background cost potential field is a second repulsive force field formed by the obstacle in the lateral position to the traveling device, and the second lateral background cost potential field includes at least one minimum value point; Determine the target minimum value point in the minimum value point; perform monotonicity processing on the background costs on both sides of the target minimum value point to generate the first horizontal background cost potential field, and the slope of the monotonicity processing is greater than or equal to the second threshold.
- the acquiring module before acquiring the distance map, is further configured to: acquire an occupation map, where the occupation map includes a plurality of second grids, the plurality of second grids Each second grid in the grid is used to record the probability of the existence of an obstacle in the second grid; the processing module is further configured to obtain a distance map according to the occupation map.
- the obtaining the distance map according to the occupancy map includes: filtering out a second grid located in a first area in the occupancy map, where the first area is located in the driving area In front of the device, if there is an obstacle in the first area, the traveling device cannot avoid the obstacle in the first area; the distance map is obtained according to the filtered occupancy map.
- the processing module is further configured to: generate a feature vector, the feature vector Including a path starting point and a sampling target point; generating a plurality of candidate paths according to the reference path, the historical path and the feature vector; determining the second lateral background cost potential field within the near field range according to the distance map includes: According to the sampling target point, the reference path is laterally offset to generate a plurality of virtual parallel line paths; according to the distance map, each virtual parallel line path of the plurality of virtual parallel line paths within the near field range is calculated.
- the distance between the waypoint and the nearest obstacle to the waypoint calculate the background cost of the virtual parallel line according to the minimum value of the distance on the path of each virtual parallel line; according to the multiple virtual parallel line paths within the near field range
- the background cost of generates a second lateral background cost potential field within the near-field range.
- the processing module before determining the current obstacle avoidance path according to the first lateral background cost potential field, is further configured to: calculate the distance map according to the distance map.
- One or more of the collision cost, constraint cost, switching cost, lateral offset cost, or smoothness cost on each of the alternative paths wherein the collision cost is used to evaluate the running Whether a collision will occur when driving on the alternative route, the constraint cost is used to evaluate whether each waypoint on the alternative route is within the obstacle avoidance range, and the switching cost is used to evaluate the difference between the alternative route and the historical route.
- the lateral deviation cost is used to evaluate the degree of lateral deviation of the candidate path from the road centerline, and the smoothness cost is used to evaluate the smoothness of the candidate path; according to the first lateral background cost potential field, Determining the current obstacle avoidance path includes: according to the background cost in the first lateral background cost potential field, or according to the background cost in the first lateral background cost potential field and the collision cost, constraint cost, switching cost, and lateral offset cost or one or more of smoothness costs, calculate the final cost on each alternative path; determine the current obstacle avoidance path according to the final cost.
- the processing module is further configured to: determine the final obstacle avoidance path according to the arbitration result of the historical path and the current obstacle avoidance path.
- determining the final obstacle avoidance path according to the arbitration result of the historical path and the current obstacle avoidance path includes: if the historical path collides, but the current obstacle avoidance path If the path does not collide, the current obstacle avoidance path is used as the final obstacle avoidance path; or, if both the historical path and the current obstacle avoidance path collide, and the collision distance of the current obstacle avoidance path collides with the historical path
- the absolute value of the difference between the distances is greater than or equal to the third threshold, then the current obstacle avoidance path and the historical path with the larger collision distance are used as the final obstacle avoidance path; or, if both the historical path and the current obstacle avoidance path are If there is a collision, and the absolute value of the difference between the collision distance of the current obstacle avoidance path and the collision distance of the historical path is less than the third threshold, the historical path is used as the final obstacle avoidance path; or, if there is no collision on the historical path , and the ratio of the final cost of the current
- the processing module is further configured to: perform time domain smoothing according to the historical path and the final obstacle avoidance path.
- the apparatus may further include an output module for outputting the final obstacle avoidance path to the speed planner, where the speed planner is used for calculating the final obstacle avoidance path and the final avoidance path according to the The obstacle information on the obstacle path is used for speed planning.
- a planning device comprising an input and output interface, a processor and a memory
- the processor is used for controlling the input and output interface to send and receive signals or information
- the memory is used for storing a computer program
- the processor is used for calling from the memory And run the computer program, so that the planning apparatus executes the method in the above-mentioned first aspect.
- a vehicle comprising various modules for performing the method described in the first aspect above.
- a computer-readable medium stores a program code, which, when the computer program code is executed on a computer, causes the computer to execute the method in the above-mentioned first aspect .
- a chip in a sixth aspect, includes a processor and a data interface, the processor reads an instruction stored in a memory through the data interface, and executes the method in the first aspect.
- the chip may further include a memory, in which instructions are stored, the processor is configured to execute the instructions stored in the memory, and when the instructions are executed, the The processor is configured to perform the method in the first aspect above.
- the above chip may specifically be a field programmable gate array FPGA or an application specific integrated circuit ASIC.
- the method of the first aspect may specifically refer to the method in the first aspect and any one of the various implementation manners of the first aspect.
- FIG. 1 is an example diagram of a Frenet coordinate system provided by an embodiment of the present application.
- FIG. 2 is an example diagram of a complex and narrow urban road scene provided by an embodiment of the present application.
- FIG. 3 is an example diagram of a system architecture for obstacle avoidance path planning provided by an embodiment of the present application.
- FIG. 4 is an example diagram of a method for planning an obstacle avoidance path of a traveling device provided by an embodiment of the present application
- FIG. 5 is an exemplary diagram of a core flow of a method for planning an obstacle avoidance path provided by an embodiment of the present application
- FIG. 6 is an example diagram of a scenario for generating an alternative path provided by an embodiment of the present application.
- FIG. 7 is an example diagram of another alternative path generation scenario provided by an embodiment of the present application.
- FIG. 8 is an exemplary diagram of an invalid occupied grid provided by an embodiment of the present application.
- FIG. 9 is an exemplary diagram of a full collision triangle provided by an embodiment of the present application.
- FIG. 10 is an example diagram of converting an occupation map into a distance map provided by an embodiment of the present application.
- FIG. 11 is an exemplary diagram of a method for generating a V-shaped near-field lateral background cost potential field provided by an embodiment of the present application
- FIG. 12 is an example diagram of generation of a background virtual line provided by an embodiment of the present application.
- FIG. 13 is an example diagram of a near-field lateral background cost potential field monotonicity processing principle provided by an embodiment of the present application.
- FIG. 14 is an example diagram of a vehicle body multi-circle collision model provided by an embodiment of the present application.
- 15 is a schematic diagram of a precise obstacle distance calculation provided by an embodiment of the present application.
- 16 is an example diagram of a horizontal partition provided by an embodiment of the present application.
- 17 is an example diagram of an arbitration method for outputting an obstacle avoidance path provided by an embodiment of the present application.
- FIG. 18 is an example diagram of a scenario in which a historical path is used when an alternative path is fully collided according to an embodiment of the present application
- FIG. 19 is an example diagram of a scenario of switching to the current optimal path when an alternative path is fully collided, provided by an embodiment of the present application.
- FIG. 20 is an example diagram of a time-domain smoothing provided by an embodiment of the present application.
- 21 is an example diagram of an obstacle avoidance path generation result in a complex and narrow scene provided by an embodiment of the present application.
- 22 is an example diagram of a simple urban road scene provided by an embodiment of the present application.
- FIG. 23 is an example diagram of another alternative path generation scenario provided by an embodiment of the present application.
- FIG. 24 is an example diagram of an obstacle avoidance path generation result in a simple urban road scene provided by an embodiment of the present application.
- 25 is an example diagram of a device for planning an obstacle avoidance path of a traveling device according to an embodiment of the present application.
- FIG. 26 is an exemplary block diagram of the hardware structure of an apparatus for planning an obstacle avoidance path provided by an embodiment of the present application.
- Path planning In the process of autonomous driving, the automatic driving device outputs a correct and effective driving path according to the upper-layer navigation information, decision-making instructions and environmental perception results, which is used as the main input of the lower-layer controller to guide the correct driving of the vehicle, and completes lane keeping, lane changing, Obstacle avoidance and other actions.
- the process of generating this path is called path planning. It should be understood that, in the embodiments of the present application, for the convenience of description, the self-vehicle is used to represent the automatic driving device.
- Occupation map It is composed of grids, also known as the occupancy grid map.
- the occupancy map contains obstacle information in a given area near the vehicle.
- the grid values can be expressed as occupied, unoccupied, unknown and other states.
- Reference path the reference datum used by the ego vehicle for path planning, such as the centerline of the current road.
- the path mainly reflects the real map information, which can guide the driving direction of the vehicle, but has no obstacle avoidance function.
- Obstacle avoidance range The driving range of the self-vehicle around the reference path that can be used for obstacle avoidance, providing spatial constraints for obstacle avoidance path planning.
- Avoidance path On the basis of the reference path and avoidable obstacle range, the self-vehicle performs path planning according to the obstacle information, and obtains a path that can avoid obstacles.
- FIG. 1 is an example diagram of a Frenet coordinate system provided by the embodiment of the present application. As shown in FIG. 1 , the midpoint of the rear axle of the vehicle is used as the origin of the SL system, and the direction along the reference path is called The longitudinal direction (S direction), the direction perpendicular to the path is called the lateral direction (L direction). The reference path is the centerline of the road.
- S direction The longitudinal direction
- L direction the direction perpendicular to the path
- the reference path is the centerline of the road.
- Autonomous driving technology uses maps and positioning modules to obtain navigation information, uses sensing devices to perceive the surrounding environment, and combines decision-making, planning, and control modules to achieve autonomous vehicle navigation.
- autonomous driving technology has made great progress and has been widely used in military and civilian fields.
- the planning module is responsible for outputting the correct and effective driving path according to the navigation information, decision-making instructions and environmental perception results, so as to realize the vehicle's lane keeping, lane changing, obstacle avoidance and other actions.
- the path planning module there is usually a reference path, which can be generated based on the current road centerline, or obtained through manual collection, mainly to provide a baseline for path planning for autonomous vehicles.
- a reference path which can be generated based on the current road centerline, or obtained through manual collection, mainly to provide a baseline for path planning for autonomous vehicles.
- the reference path On the basis of the reference path, combined with the obstacle information, it is necessary to further realize the obstacle avoidance path planning of the vehicle and realize the safe driving of the vehicle in the dynamic environment, which is also the focus of the path planning.
- the commonly used obstacle avoidance path planning methods are: sampling, optimization, search, potential field and feature points, etc.
- the main characteristics of each method are as follows:
- the sampling-based obstacle avoidance method has high computational efficiency and is convenient for engineering transformation, but usually cannot obtain the most Optimal solution, jitter may occur in complex scenes;
- the optimization-based method can fully consider the input information, and can obtain an approximate theoretical optimal solution, but it consumes computing resources and is easily affected by the environment, such as obstacles in the distance from the vehicle The change of the distance will directly affect the near path of the vehicle, thus causing the vehicle to vibrate or oscillate when driving in a dynamic environment;
- the search-based method can deal with complex scenes, but it will consume a lot of computing resources, and it is easy to produce uneven Path planning is usually only suitable for low-speed scenarios, and the support for dynamic scenarios is not good enough;
- the method based on potential field can comprehensively consider the obstacle information in the environment, but it will cause local bending and vibration;
- the existing obstacle avoidance path planning methods usually have good planning effects in simple scenarios, but for real dynamic traffic scenarios, especially in complex and narrow scenarios, path shaking is easy to occur, and the safety and stability of vehicles cannot be guaranteed. drive.
- the embodiment of the present application constructs a first lateral background cost potential field in the near field range, and the background costs on both lateral sides of the target minimum point of the first lateral background cost potential field are monotonic . It effectively reflects the lateral collision trend between the self-vehicle and the obstacle, and the obstacle avoidance path planned based on this can make the driving device maintain the best lateral distance from the obstacle in the complex and narrow environment, and avoid the planned obstacle avoidance. The path is affected by changes in the distant environment, which can improve the stability of the obstacle avoidance path.
- FIG. 2 is an example diagram of a complex and narrow urban road scene provided by an embodiment of the present application.
- FIG. 2 when the self-vehicle is driving on the road, there are a large number of dynamic obstacles (number 1-5) and/or static obstacles (number 6) in the avoidable range, forming a narrow and crowded traffic scene.
- static obstacles can be vehicles parked on both sides of the road or other obstacles, or other obstacles temporarily placed on the road; dynamic obstacles can be other vehicles running within the obstacle avoidance range of the own vehicle.
- the space for the vehicle to travel is narrow and the travel path is complicated.
- the reference path and lateral obstacle avoidance range, as well as the occupancy map of all obstacle sizes, positions, velocities and predicted trajectory projections are known.
- FIG. 3 is an example diagram of a system architecture for obstacle avoidance path planning provided by an embodiment of the present application.
- the system architecture 300 includes a reference path planner 310 , an obstacle decision maker 320 , an obstacle avoidance path planner 330 and a speed planner 340 .
- the reference path planner 310 is used to provide the reference path and the lateral obstacle avoidance range to the obstacle avoidance path planner 330 .
- the reference path refers to the center line of the road. It should be understood that the reference path may also have other representations, which are not limited herein.
- the lateral obstacle avoidance range refers to the range within which the vehicle can avoid obstacles in the direction perpendicular to the path during the driving process.
- the lateral obstacle avoidance range can be the width of the current road.
- the obstacle decider 320 is used to provide the obstacle avoidance path planner 330 with an occupancy map including the obstacle and the projection of the predicted trajectory of the obstacle. It should be understood that the present application does not limit the manner in which the obstacle decision maker 320 obtains the obstacle and the occupancy map projected by the predicted trajectory of the obstacle.
- the obstacle avoidance path planner 330 is used to plan the obstacle avoidance path according to the reference path provided by the reference path planner 310 and the obstacle decision maker 320 , the lateral obstacle avoidance range, and the occupancy map of the obstacle and the projected obstacle prediction trajectory.
- the obstacle avoidance path planner 330 includes an alternative path generation module 331 and an alternative path evaluation module 332 .
- the alternative path generation module 331 is used to generate a cluster of alternative paths according to the reference path and the lateral obstacle avoidance range. The generation method of the alternative paths will be described in detail below, and will not be repeated here; Based on the evaluation of the alternative path according to the alternative path itself and the occupancy information of obstacles, the optimal path of the current frame is selected as the current obstacle avoidance path.
- the optimal path of the current frame selected by the alternative path evaluation module 332 may be used as the currently output obstacle avoidance path.
- the obstacle avoidance path planner 330 may further include an output path arbitration module 433 for determining the final output obstacle avoidance path according to the optimal path of the current frame and the historical (previous frame) path.
- the obstacle avoidance path planner 330 may further include a path time-domain smoothing module 334 for performing time-domain smoothing on the final output obstacle avoidance path.
- the obstacle avoidance path planner 330 outputs the planned obstacle avoidance path to the back-end speed planner 340 . If there is a possibility of collision between the vehicle and the obstacle on the obstacle avoidance path, the speed planner will decelerate according to the relative position and speed of the collision obstacle and the vehicle.
- FIG. 4 is an example diagram of a method for planning an obstacle avoidance path of a traveling device according to an embodiment of the present application. It should be understood that the method 400 can be applied in the above-mentioned scenario 200, and can also be applied in the above-mentioned system architecture 300. As shown in FIG. 4, the method 400 includes steps S410-S430. These steps are described in detail below.
- the distance map includes a plurality of first grids, and each first grid in the plurality of first grids is used to record the distance of the first grid from the first grid that is most recently occupied by the obstacle.
- the method 400 further includes: acquiring an occupancy map, where the occupancy map includes a plurality of second grids, and each second grid in the plurality of second grids is used to record the second grid The probability that there is an obstacle in the grid. And according to the occupation map, get the distance map.
- the probability of existing obstacles in the second grid is greater than or equal to a certain threshold, it can be considered that there are obstacles in the second grid; when the probability of existing obstacles in the second grid is less than a certain threshold, It can be considered that there are no obstacles in the second grid.
- each second grid in the plurality of second grids may also be directly used to record whether there is an obstacle in the second grid.
- the value recorded in the second grid is 1, it indicates that there is an obstacle; when the value recorded in the second grid is 0, it indicates that there is no obstacle.
- the occupancy map is provided by an upstream module, such as the obstacle decider 320 described above.
- the occupancy map contains information about obstacles in a given area near the ego vehicle.
- the obstacle information refers to the information of the obstacle or the predicted trajectory of the obstacle
- the grid occupied by the obstacle refers to the grid occupied by the obstacle or the projection of the predicted trajectory of the obstacle.
- the occupation map needs to be converted into a distance map.
- the conversion method will be described in detail in the following specific implementation manner, and will not be repeated here.
- the obstacle avoidance path planning is based on the occupancy map information provided by the upstream module, and the obstacle information provided by the upstream module not only includes the actual pose of the dynamic and static obstacles and the predicted trajectory projection of the obstacles, but also may include the self-vehicle.
- the occupancy situation of obstacles caused by the false detection of the front part of the vehicle, or the obstacle information appears in the area on the occupied map due to the uneven ground. At this time, if the obstacles in this area are also considered, it will affect the path planning, so that the obstacles in this area must be avoided during the driving process, which will cause the path to oscillate greatly.
- the second grid located in the first area in the occupied map may be filtered out.
- the first area is located in front of the traveling device, and if there is an obstacle in the first area, the traveling device cannot avoid the obstacle in the first area; and then the distance map is obtained according to the filtered occupancy map.
- the erroneous avoidance of the traveling device due to the erroneous detection of the obstacle is effectively avoided. It is ensured that the remaining occupied grids only contain the necessary information required by the obstacle avoidance algorithm, which improves the stability of the obstacle avoidance path.
- the grid screening method will be described in detail in the following specific implementation manner, and will not be repeated here.
- S420 Determine a first lateral background cost potential field within a near field range according to the distance map.
- the near field range is the range in which the longitudinal distance from the traveling device is less than or equal to the first threshold value
- the first lateral background cost potential field is the first repulsive force field formed by the obstacles in the lateral position to the traveling device
- the first lateral The background cost potential field includes the target minimum point.
- the background cost on the lateral sides of the target minimum point is monotonic, and the background cost represents the near-field lateral collision to the traveling device caused by the obstacles at the lateral position within the near-field range. cost.
- the above-mentioned driving device may be an autonomous driving vehicle, a robot, or other autonomous driving device, which is not limited in this application.
- the present application is represented by a self-vehicle.
- the near field range may be a range extending 5m longitudinally along the path direction from the origin of the Frenet coordinate system.
- the origin may be the center of the rear axle of the vehicle.
- the length of the ego vehicle may be 3-6m, so the obstacles in the lateral position within the near field range can be understood as obstacles on the lateral sides of the ego car.
- the near-field range may be determined according to the length of the vehicle, the driving speed, and the complexity of the scene, which is not limited in this application.
- the first lateral background cost potential field is the first repulsive force field formed by the obstacle in the lateral position to the ego vehicle.
- the repulsive force field is formed by the obstacles in the lateral position to the traveling device, which can represent the collision tendency of the obstacle to the traveling device, and guide the traveling device to avoid the obstacle, which can also be called the collision field or the risk field.
- the first repulsive force field can represent the collision tendency of the traveling device formed by the obstacle after the monotonicity treatment.
- the first lateral background cost potential field can indicate the collision tendency between the ego vehicle and the obstacle in the lateral position.
- the larger the background cost the smaller the distance between the ego vehicle and the obstacle, and the easier it is to collide; the smaller the background cost, the greater the distance between the ego car and the obstacle.
- the background cost on the lateral sides of the target minimum point is monotonic, specifically, the potential field on the left side of the target minimum point decreases monotonically, and the potential field on the right side of the target minimum point increases monotonically. It means that the background cost on both sides of the target minimum point is larger than the background cost at the target minimum point. That is to say, the potential field at the lateral position where the target minimum point is located is the lowest, and the ego vehicle can travel stably along the path where the lateral position is located.
- the first lateral background cost potential field may be in a "V" shape, a "/" shape, or a " ⁇ " shape.
- the slope of the monotonic function may be a constant value, or may be a value that changes continuously with the lateral position, which is not limited in this application.
- a V-shaped first lateral background cost potential field is used.
- determining the current obstacle avoidance path according to the first lateral background cost potential field may be determining the current obstacle avoidance path according to the lateral position of the target minimum point in the first lateral background cost potential field. That is to say, the current obstacle avoidance path is determined according to the lateral position with the lowest potential field, so that the ego vehicle can drive stably along the position with the lowest potential field.
- the horizontal background cost potential field in the near field is considered when planning the current obstacle avoidance path.
- the change of the distant obstacle will cause the path near the vehicle to change, thus making the driving unstable;
- the first horizontal background cost potential field in the near field which effectively reflects the lateral collision trend between the vehicle and the obstacle.
- the obstacle avoidance path planned based on this can make the vehicle maintain the best lateral distance from the obstacle in a complex and narrow environment, thereby improving the stability of the obstacle avoidance path. .
- a second lateral background cost potential field within the near field range may be determined first according to the distance map, where the second lateral background cost potential field is a second repulsive force field formed by the obstacle in the lateral position to the traveling device, the The second horizontal background cost potential field includes at least one minimum value point; the target minimum value point is determined from the at least one minimum value point; the background cost on both sides of the target minimum value point is monotonically processed to generate the first Horizontal background cost potential field, the slope of the monotonicity process is greater than or equal to the second threshold. For example, any value whose slope is greater than or equal to 10/1m can be taken, and the specific value needs to be determined in combination with the actual situation, which is not limited here.
- the second repulsive force field can represent the collision tendency of the obstacle to the traveling device before the monotonicity treatment. That is, monotonic processing of the second repulsion field results in the first repulsion field.
- the construction method of the first lateral background cost potential field may be: firstly constructing the second lateral background cost potential field within the near field range according to the distance map, and then constructing at least the second lateral background cost potential field in the second lateral background cost potential field.
- a target minimum point is determined from a minimum value point, and the background cost on the lateral sides of the target minimum value point is monotonically processed to generate the first horizontal background cost potential field.
- the slope of the monotonicity process to be greater than or equal to the second threshold, the background cost potential field at the lateral position where the target minimum point is located is significantly lower than the background cost potential field at other lateral positions, so that the self-vehicle can be guaranteed. Drive steadily on the path with the lowest potential field.
- the target minimum value point may be the smallest minimum value point among all the minimum value points in which there is no obstacle in the near field range between the target minimum value point and the traveling device.
- the minimum minimum point among these minimum points can be used as the target minimum point; one of them can also be selected as the target minimum point according to the actual situation, for example, the minimum minimum point and the second minimum point
- the background cost of the minimum point is very close, and the lateral position where the second minimum minimum point is located is closer to the ego vehicle.
- the second minimum minimum value point can be used as the target minimum value point.
- the minimum minimum point among all minimum points with no obstacles in the near field range from the lateral position where the traveling device is located is used as the target minimum. value points.
- the target minimum value point can be the minimum minimum value point among all the minimum value points where there is no obstacle in the near-field range between the target minimum value point and the lateral position where the traveling device is located, the running process of the ego vehicle can be enabled. Keep the best safe distance from obstacles.
- the method 400 may further include: generating a feature vector, the feature vector including a path start point and a sampling target point; according to the reference path, The historical path and the feature vector generate multiple alternative paths.
- multiple alternative paths may be generated according to the position of the self-vehicle, and then the multiple alternative paths may be evaluated to select the optimal alternative path as the current avoidance path. obstacle path.
- the generation method of the alternative path will be described in detail in the following embodiments, and will not be repeated here.
- the reference path can be laterally offset to generate a plurality of virtual parallel line paths; according to the distance map, the distance of each virtual parallel line path in the near field range of the plurality of virtual parallel line paths is calculated.
- the distance between each waypoint and the nearest obstacle to the waypoint; calculate the background cost of the virtual parallel line according to the minimum distance on the path of each virtual parallel line; according to the background of multiple virtual parallel line paths in the near field The cost generates a second lateral background cost potential field in the near field.
- one of the collision cost, the constraint cost, the switching cost, the lateral offset cost, or the smoothness cost may also be combined. More factors can be integrated into the determined obstacle avoidance path, so that the stability and safety of the obstacle avoidance path can be further improved.
- the collision cost and constraints on each of the multiple candidate paths may also be calculated according to the distance map.
- the collision cost is used to evaluate whether the driving device will collide when driving on the alternative path
- the constraint cost is used to evaluate whether each waypoint on the alternative path is within the obstacle avoidance range
- the switching cost is used to evaluate the alternative path
- the deviation from the historical path the lateral offset cost is used to evaluate the degree of lateral deviation of the candidate path from the road centerline
- the smoothness cost is used to evaluate the smoothness of the candidate path.
- the background cost in the first lateral background cost potential field or the background cost in the first lateral background cost potential field and the collision cost, constraint cost, switching cost, and lateral offset cost can be used.
- the smoothness costs calculate the final cost on each alternative path; then determine the current obstacle avoidance path according to the final cost.
- the final cost may be calculated according to the weighted summation of various costs. It should be understood that in order to enable the ego vehicle to maintain a safe distance from the obstacle, the weights of the background cost and the collision cost can be made larger. It should be understood that the acquisition of the above various costs and the specific evaluation methods will be described in detail in the following specific implementation manner, and will not be repeated here.
- the method 400 further includes: determining a final obstacle avoidance path according to the arbitration result of the historical path and the current obstacle avoidance path.
- the historical path refers to the path traveled by the vehicle in the previous frame
- the current obstacle avoidance path refers to the currently planned path.
- the final obstacle avoidance path is determined, that is, a path is selected from the historical path and the current obstacle avoidance path as the final output obstacle avoidance path.
- the final obstacle avoidance path is determined according to the difference between the current obstacle avoidance path and the historical path. It avoids the situation that the obstacle avoidance path obtained purely based on the cost function or pure logic will produce inter-frame jumping when running in a complex and narrow environment, effectively reducing the planning method's dependence on the cost function, thereby ensuring the stability of the path.
- the current obstacle avoidance path is significantly better than the historical path, switch to the current obstacle avoidance path; if the current obstacle avoidance path is not significantly better than the historical path, the historical path is used. It avoids the situation that the obstacle avoidance path obtained purely based on the cost function or pure logic will generate inter-frame jumping when running in a complex and narrow environment, thereby ensuring the stability of the path.
- the specific arbitration conditions will be described in detail in the following specific implementation manner, and will not be repeated here.
- the method 400 may further include: performing temporal smoothing according to the historical path and the final obstacle avoidance path.
- time domain smoothing may also be performed according to the historical path and the final obstacle avoidance path.
- the obstacle avoidance path after time domain smoothing is still the historical path; if the final obstacle avoidance path is the current obstacle avoidance path, the time domain smoothing is performed according to the current obstacle avoidance path and the historical path. .
- the method 400 may further include: outputting the final obstacle avoidance path to a speed planner, where the speed planner is configured to perform speed planning according to the final obstacle avoidance path and information on obstacles on the final obstacle avoidance path.
- the speed planner after outputting the final obstacle avoidance path, the speed planner will perform speed planning according to the obstacle information on the final obstacle avoidance path, and will perform deceleration planning if an obstacle that may collide is found on the path. . Thereby improving the security of the path.
- FIG. 5 is an example diagram of a core flow of an obstacle avoidance path planning method provided by an embodiment of the present application. It should be understood that the planning method shown in FIG. 5 can be applied to the complex and narrow scene shown in FIG. 2 .
- the core process 500 includes steps S510 , S520 , S530 and S540 . These steps are described in detail below.
- FIG. 6 is an example diagram of an alternative path generation scenario provided by an embodiment of the present application, and these steps are described in detail below with reference to FIG. 6 .
- a feature vector including the path start point (start point) and the sampling target point (goal point, referred to as the sampling point) is generated, as shown in the figure Arrows shown in 6.
- the start point can be found in the historical path.
- the path passed by the center of the rear axle of the ego vehicle in the previous frame is used as the historical path, so the waypoint closest to the center point of the rear axle of the ego vehicle can be found in the historical path, then the actual position of the point and the The orientation can form the start point feature vector.
- each path includes many waypoints, and the distance between the waypoints can be determined according to the actual situation. For example, one waypoint can be set every 0.1m, or one waypoint can be set every 0.1*v ego vehicle , where v ego vehicle is the running speed of the ego vehicle.
- the goal point is within the avoidable range in front of the vehicle body, and is obtained by sampling based on the reference path. It should also be understood that an alternative path may contain multiple goal points, but only one start point. Both the start point and the goal point are represented by vectors.
- a multi-segment candidate path is generated by connecting the reference path, the historical path and the feature vector, as shown in FIG. 6 .
- the first paragraph after the start point, obtained by intercepting the historical path.
- the second paragraph use a smooth curve to connect the start point and the goal point, so that the curve satisfies the vector constraint to generate a path.
- the third paragraph translate the reference path to after the goal corresponding to the second paragraph.
- the three paths are connected in sequence, and the entire alternative path is obtained by splicing.
- a smooth control point can be generated every several waypoints, and a smooth candidate path can be generated based on the control point sequence and the third-order B-spline.
- one smooth control point may be generated based on three waypoints, or may be based on four, five, six, etc., which is not limited in this application.
- multiple alternative paths may be generated in the manner shown in FIG. 7 .
- the reference path is the centerline of the current lane
- the width of the lane and the obstacle avoidance range is 3.5m
- the widths of the left and right sides of the lane centerline are 1.75m each.
- the closest waypoint to the center point of the rear axle of the vehicle can be found in the historical path, and the feature vector of the start point is formed by the actual position and orientation of this point.
- max(vehicle speed, 4.17m/s) refers to taking the larger value between the current vehicle speed and 4.17m/s; 1.2*max(vehicle speed, 4.17m/s) means 1.2 times the current vehicle speed and 4.17m/s A larger value gets the s-coordinate of the goal point in the first row. It should be understood that the above data is only used as an example, and cannot be used as a limitation on the present application.
- History segment After the start point, it is obtained by intercepting the history path.
- Polynomial segment Generate a path using vector constraints of start points and multiple rows of goal points. The specific method is to use any goal point combined with the vector constraint of the start point, calculate the cubic polynomial equation under the Frenet system, and discretize it into waypoints to obtain the second path.
- Extension Translate the reference path after the goal point corresponding to the second segment. The three paths are connected in sequence, and the entire alternative path is obtained by splicing. Each path corresponds to a goal point one-to-one, and in this example, a total of 33 alternative paths are generated.
- the alternative paths need to be evaluated, that is, a suitable alternative path is selected as the current obstacle avoidance path among these alternative paths.
- the evaluation process of the alternative path is described in detail below.
- the evaluation of the alternative path mainly includes steps S521, S522 and S523, and these steps will be described in detail below with reference to the accompanying drawings.
- the obstacle avoidance path planning is based on the occupancy map information provided by the upstream module, and the obstacle information provided by the upstream module not only includes the actual pose of the dynamic and static obstacles and the predicted trajectory projection of the obstacles, but also may include the self-vehicle.
- the false detection of the front part of the car appears to be occupied by obstacles, or because the ground is uneven, the occupied map has obstacle information in this area. At this time, if the obstacles in this area are also considered, it will affect the path planning, so that the wrongly detected obstacles must be avoided during the driving process, which will greatly change the path planning and cause the path to oscillate.
- a full collision triangle can be constructed to filter the invalid occupancy grid.
- FIG. 9 is an example diagram of a full collision triangle provided by an embodiment of the present application.
- the coverage area of the occupied map can be 50m in front of the vehicle body, 10m behind, and 20m left and right, with a resolution of 0.2m*0.2m (that is, the occupied area of each grid), and the occupied part of the grid in the occupied map is the value of 1, the unoccupied part of the grid value is 0.
- the full collision triangle area means that in a certain triangle area, no matter which path the ego vehicle chooses, it cannot avoid obstacles in this area.
- the vertex of the triangle is where the start point of the alternative path is located, its base is equal to the width of the vehicle, and the two vertices of the base of the triangle are located on the outermost alternative path.
- the occupied grids that fall in the full collision triangle are directly screened out.
- the occupancy map may be converted into a distance map.
- FIG. 10 is an example diagram of converting an occupancy map into a distance map provided by an embodiment of the present application.
- the occupancy map can be converted to a distance map by using openCV's DistanceTransform function.
- the part with a grid value of 1 indicates that the grid is occupied, that is, there is an obstacle; the part with a grid value of 0 indicates that the grid is not occupied, that is, there is no obstacle .
- the size of the grid in the distance map converted by the occupancy map is equal to the occupancy map, and the value of each grid in the distance map is the distance from the grid to the nearest occupied grid point.
- the part of the distance map with a grid value of 0 indicates that the distance from the grid to the obstacle is 0, that is, the grid is occupied; the part of the distance map with a grid value of 0.2 indicates that the grid is the closest
- the distance of obstacles is 0.2m. It should be understood that the value of each grid in the distance map is the distance from the grid to the nearest occupied grid point, which means that if there are usually multiple obstacles around a grid, but only the grid is recorded in the grid Distance to the nearest obstacle. Alternatively, the distance may be a straight-line distance.
- the erroneous avoidance of the own vehicle due to the erroneous detection of obstacles is effectively avoided. It is ensured that the remaining occupied grids only contain the necessary information required by the obstacle avoidance algorithm, which improves the stability of the obstacle avoidance path.
- screening out invalid grids in the planning of the obstacle avoidance path means that the obstacles in this area are not considered in the planning of the obstacle avoidance path. But in the actual scene, if there are real obstacles in this area, the speed planning module will decelerate accordingly to avoid collision.
- a V-shaped near-field lateral background cost potential field may be constructed based on the distance map information after screening out invalid grids, that is, a first lateral background cost potential field within the aforementioned near-field range is constructed.
- FIG. 11 is an example diagram of a method for generating a V-shaped near-field lateral background cost potential field provided by an embodiment of the present application.
- the method, step S522 includes steps S5221, S5222 and S5223, which will be described in detail below.
- the generated virtual parallel line path is shown in FIG. 12 , that is, the reference path is translated laterally to the lateral position where the sampling target point is located.
- the virtual parallel line path may also be referred to as a background cost virtual line, and the collision trend of the ego vehicle on each background cost virtual line may be expressed by the background cost of the background cost virtual line. The greater the background cost, the greater the possibility of collision; the smaller the background cost, the less likely the collision.
- the background cost on each background cost virtual line is calculated.
- the distances of all the waypoints in the near field range on each background cost virtual line to the nearest obstacle are calculated, and the background cost of the background cost virtual line is calculated based on the minimum distance.
- the formula for calculating the background cost according to the minimum distance can be as follows:
- the critical value is It should also be understood that the critical value in the above formula (1) is only an example, and in practical applications, the critical value can also be taken as Any value, as long as it can ensure that the vehicle is at a certain safe distance from the obstacle in the lateral direction.
- a background cost virtual line has 4 waypoints in the near field, and the distances from the nearest obstacles are 0.6, 0.5, 0.7 and 1.2 respectively, then the minimum value of 0.5 is used to calculate the background cost virtual line. background cost. also because Therefore, the background cost of the background cost virtual line
- the virtual parallel line path includes a plurality of waypoints, and the distance between the waypoints may be determined according to the actual situation. For example, one waypoint can be set every 0.1m, or one waypoint can be set every 0.1*v ego vehicle , where v ego vehicle is the running speed of the ego vehicle. This application does not limit this.
- the distance value of the grid where the waypoint is located can be directly obtained, or the distance value of the four grids around it can be calculated.
- the distance information in the lattice is calculated by the bilinear interpolation method, which is not limited in this application.
- an initial near-field lateral background cost potential field that is, the second lateral background cost potential field within the above-mentioned near-field range, is generated according to the background costs of the plurality of background cost virtual lines within the near-field range.
- FIG. 13 is an example diagram of a processing principle of a near-field lateral background cost potential field monotonicity provided by an embodiment of the present application.
- the initial near-field lateral background cost potential field formed by the background costs of multiple background cost virtual lines usually has multiple minima in the lateral (along the L direction) distribution. It is necessary to first find multiple minimum points in the initial near-field lateral background cost potential field, and record the lateral position and the corresponding background cost value. Exemplarily, as shown in the left graph in FIG. 13 , in the lateral distribution of the background cost, there are 3 minimum points. Then find the lateral position of the current ego vehicle and the position of the three minimum values respectively.
- the virtual line of the background cost at the lateral position where the maximum background cost is located is in the near-field range.
- the distance from a certain waypoint to the obstacle is 0, that is, there is an obstacle on the waypoint.
- a method of customizing the maximum background cost can be adopted, for example, taking the maximum background cost as 10 9 .
- point 1 has the lowest background cost, which means that if you drive on the virtual line of the background cost, you can maintain the best lateral distance from the obstacle. If you follow the traditional optimization algorithm When selecting a path, the background cost virtual line where the horizontal position of point 1 is located is used as the optimal path.
- the length of the ego car is usually as high as 3-6m, so in the actual scene, due to the existence of intermediate obstacles, the ego car cannot successfully travel to the path with the lowest background cost. That is, the point with the lowest background cost in the near-field lateral background cost potential field is not necessarily the most suitable point.
- the embodiment of the present application it is also necessary to determine a target minimum value among the multiple minimum values, and the target minimum value is not within the near field range from the lateral position where the vehicle is located.
- the minimum value points according to the background cost value from small to large, starting from the smallest minimum value, check in turn whether there is an obstacle between the point and the lateral position of the vehicle, that is, whether there is a maximum background cost (with the obstacle The point at which the object distance is 0). If it exists, the corresponding minimum point is regarded as an illegal point, and the point is discarded; if it does not exist, the background cost on both sides of it is treated as a monotonic function with a fixed step size based on this point, forming a V-shaped near-field lateral collision potential field.
- each background cost virtual line can be directly calculated from the slope of the corresponding horizontal position.
- the slope of the function during monotonicity processing should be greater than or equal to a certain threshold, for example, any value with a slope greater than or equal to 10/1m can be taken, and the specific value needs to be determined according to the actual situation, which is not limited here.
- a certain threshold for example, any value with a slope greater than or equal to 10/1m can be taken, and the specific value needs to be determined according to the actual situation, which is not limited here.
- the evaluation of the alternative paths can be performed by combining the background cost with the collision cost, the constraint cost, the switching cost, the lateral offset cost, and the smoothness cost.
- the collision cost is used to evaluate the possibility of the self-vehicle colliding with obstacles when driving on the alternative path. Specifically, the collision cost of each waypoint on each candidate path among all the candidate paths is calculated, and the final cost of the candidate path is obtained by summing the collision costs of all the waypoints on each candidate path. It should be understood that the collision cost of each waypoint is calculated from its distance from the nearest obstacle, and the closer the distance is, the greater the collision cost.
- formula (2) is a calculation method of collision cost provided by the embodiment of the present application:
- cost obj collision expense d min.i alternative path for the first point from the i-th road distance to the obstacle; max (d min .i / 0.7,0.2 ) for the collection of d min .i / 0.7 and 0.2
- the larger value; pt i .s is the ordinate of the i-th waypoint on the alternative path; width is the vehicle width.
- the critical value is When d min.i is greater than the critical value, it is regarded as no collision, and when d min.i is less than or equal to the critical value, it is regarded as collision. It should also be understood that the critical value in the above formula is only an example, and in practical applications, the critical value can also be taken as Any value, as long as it can ensure that the self-vehicle travels on the path without collision.
- the collision cost of each waypoint is calculated from its distance from the nearest obstacle, so before calculating the collision cost, it is necessary to calculate the distance of each waypoint from its nearest obstacle.
- the calculation method of the distance between the waypoint and the nearest obstacle will be described in detail with reference to FIG. 14 and FIG. 15 .
- FIG. 14 is an example diagram of a vehicle body multi-circle collision model provided by an embodiment of the present application.
- the vehicle body is equivalent to a multi-circle model, and the center of the circle where the midpoint of the rear axle of the vehicle body multi-circle collision model is located coincides with each waypoint on the alternative path (it should be understood that the driving path of the vehicle is is the path traveled by the center of the rear axle of the vehicle), and the heading of the vehicle is the same as that of the waypoint.
- the distance between the waypoint on the corresponding candidate path and the obstacle is the minimum distance between the centers of multiple circles in the multi-circle model and the obstacle.
- the state of the waypoint is regarded as a collision, and the collision cost of this point is defined by the distance.
- the distance from the waypoint i to the obstacle is described in detail.
- a certain waypoint i on the alternative path and the four-circle model (C1-C4 ) the center of the rear axle coincides, and the distance d min.i between the waypoint i and the obstacle at this time is the minimum distance between the four circle centers in the four-circle model and the obstacle, that is, the distance between the center of the circle C4 and the obstacle. If the distance is less than a certain threshold, it is considered that the state of the waypoint i is a collision; if it is greater than a certain threshold, it is considered that the state of the waypoint i is no collision.
- the collision distance of the candidate path is not the same as the distance d min.i between the waypoint and the obstacle.
- the distance map may be used to calculate the distances between the centers of multiple circles in the multi-circle model and the nearest obstacle.
- bilinear interpolation can be used to calculate the exact distance between the location of the specific circle center and the nearest obstacle, as shown in Figure 15.
- the point P may be the center of a certain circle in the multi-circle model, and the points ABCD are respectively the position of the waypoint represented by the grid map in the distance map and the distance value to the nearest obstacle. Therefore, the distance value of point P can be calculated by bilinear interpolation method from the distance information of four points ABCD. After calculating the distances from the centers of the circles to the obstacles through the above methods, the smallest distance is taken as the distance d min.i between the waypoint i and the obstacle.
- Constraint cost which is used to judge whether each waypoint on the alternative path is within the avoidable obstacle range.
- the overall constraint cost of each alternative path can be obtained by summing the constraint costs of each waypoint, as shown in formula (3):
- cost margin constraint expense pt i .s first alternative path for the longitudinal coordinate value i of waypoints; pt i .l i th coordinate values lateral waypoints; the LM is left bound to The lateral coordinate value of the left boundary line of the obstacle avoidance range; RM is the right constraint, that is, the lateral coordinate value of the right boundary line of the obstacle avoidance range. It can be seen that the more waypoints on an alternative path outside the avoidable range of obstacles and the smaller the longitudinal coordinate value of the waypoints outside the avoidable range of obstacles, the greater the constraint cost of the path; When all the waypoints on the selected path are within the avoidable range, the constraint cost is 0. Therefore, driving on an alternative path with a constraint cost of 0 can ensure that the self-vehicle travels within the obstacle avoidance range.
- the switching cost is used to describe the deviation between the alternative path and the historical path. It is divided into offset switching cost and area switching cost.
- the offset switching cost describes the change of the lateral path of the alternative path relative to the historical path.
- the absolute value of the difference between the lateral offset of the goal point of the current candidate path and the lateral offset of the goal point of the historical output path of the previous frame can be taken. As shown in the following formula:
- cost lchange is the offset switching cost
- goal old is the lateral offset of the goal point of the historical path, that is, the abscissa of the goal point of the historical path
- goal now is the lateral offset of the goal point of the current candidate path, that is, the current candidate
- the abscissa of the goal point of the path is the offset switching cost
- lateral offset is the degree of offset from the road centerline.
- the area switching cost describes the degree of variation of the alternative path in a large lateral range. When the path bounces in adjacent areas, the area switching cost is small, and when the path bounces between the left and right areas, the area switching cost is very large. At this time, the area switching cost can be used to evaluate the large change of the path.
- the obstacle avoidance range may be divided into three areas, as shown in FIG. 16 , the left Z1 , the middle Z2 , and the right Z3 .
- the three areas can be divided as follows. That is, when the abscissa of the goal point is less than -0.5, the goal point is located in area 1 (Z1); when the abscissa of the goal point is greater than -0.5 and less than 0.5, the goal point is located in area 2 (Z2); When the coordinates are greater than 0.5, the goal point is located in zone 3 (Z3).
- zone represents the area
- goal.l is the abscissa value of the goal point.
- the area switching cost between the candidate path and the historical path can be calculated according to the following formula (6):
- cost zone is the zone switching cost
- zone old is the zone where the goal point of the historical path is located
- zone now is the zone where the goal point of the alternative path is located.
- each is divided into three regions. It should also be understood that the division of the regions may be of equal length or unequal, which is not limited in this application.
- the lateral path is divided into more regions, for example, four regions. Either 1 or 2 can be used as the threshold.
- the area switching cost is 1; when it is less than or equal to 1, the area switching cost is 0.
- the area switching cost is 1; when it is less than or equal to 2, the area switching cost is 0.
- the lateral offset cost is used to describe the lateral deviation of the alternative path from the road centerline. Specifically, the cost can be described using the lateral offset of the goal point of the alternative path, as shown in Equation (7).
- cost offset is the lateral offset cost
- goal now .l is the lateral offset of the goal point of the current alternative path.
- the smoothness cost which describes the smoothness of the alternative path, is represented by the curvature of the alternative path. Specifically, the cost can be described by the integral of the curvature square of each waypoint of the alternative path, as shown in formula (8):
- cost smooth is the cost of smoothness
- pt i .curve is the curvature at the ith waypoint on the alternative path
- pt i .s is the longitudinal coordinate value of the ith waypoint on the alternative path. It should be understood that the greater the curvature, the greater the cost.
- the weighted summation result of the above-mentioned respective costs on each alternative path may be used as the final cost of the alternative path .
- the candidate path with the smallest final cost is taken as the optimal path of the current frame, and the optimal path of the current frame is the above-mentioned current obstacle avoidance path.
- cost total w back *cost back +w obj *cost obj +w margin *cost margin + (9)
- the weight of the background cost and the weight of the collision cost can be made larger.
- the final cost of the optimal path is much lower than other alternative paths. In the actual driving process of the self-vehicle, if the optimal path is slightly deviated, the final cost will increase significantly, so that the self-vehicle can stably drive on the path with the lowest cost.
- the path with the lowest cost also has the optimal collision cost and background cost, so that the ego vehicle can slowly evade when the obstacle on the side of the ego vehicle is approaching during the driving process, so as to maintain a safe distance from the obstacle. .
- the weight of each cost set in this embodiment of the present application may be:
- the optimal path of the current frame that is, the above-mentioned current obstacle avoidance path
- the final obstacle avoidance path can be output.
- the specific arbitration method is shown in Figure 17. It should be understood that the optimal path in the current frame is the above-mentioned current obstacle avoidance path.
- FIG. 17 is an example diagram of an arbitration method for outputting an obstacle avoidance path provided by an embodiment of the present application.
- the arbitration method namely step S530, includes steps S531-S536. These steps are described in detail below.
- step S531 judging whether the historical path currently has a collision. If there is a collision, go to step S532; if there is no collision, go to step S533.
- step S532 determine whether the current optimal path has a collision. If there is a collision, go to step S534; if there is no collision, go to step S535.
- step S533 it is judged whether the cost of the current optimal path is obviously better than the historical cost. If it is obviously better than the historical cost, go to step S535; if it is not obviously better than the historical cost, go to step S536.
- step S534 it is judged whether the collision distance of the current optimal path is obviously better than the historical collision distance. If it is obviously better, go to step S535; if not, go to step S536.
- the historical path is regenerated in the current frame according to the information of the goal points used to generate the historical path in the previous frame, and the final cost and collision state of the historical path are calculated.
- the output obstacle avoidance path is determined according to the final cost of the current optimal path and the final cost of the historical path. If the final cost of the current optimal path is significantly better than the final cost of the historical path, the current optimal path is used as the output obstacle avoidance path; otherwise, the historical path is continued. It should be understood that the fact that the final cost of the current optimal path is better than the final cost of the historical path means that the final cost of the current optimal path is smaller than the final cost of the historical path.
- the optimal path of the current frame is used as the final path of the current output. It should also be understood that if the optimal path of the current frame collides, it means that all paths of the current frame collide. In this case, if the collision distance of the optimal path of the current frame is close to the historical collision distance, as shown in Figure 18, the historical path of the previous frame is used; if the collision distance of the optimal path of the current frame is obviously better than the historical collision distance , as shown in Figure 19, the current optimal path is used as the output final obstacle avoidance path.
- the collision distance of the optimal path of the current frame is obviously better than the historical collision distance, which means that the difference between the collision distance of the optimal path of the current frame minus the historical collision distance is greater than or equal to a certain threshold, for example, 5m.
- the final cost of the current optimal path is obviously better than the final cost of the historical path, which means that the ratio of the final cost of the current optimal path to the final cost of the historical path is less than or equal to a certain threshold, such as 60%.
- the time domain smoothing may also be performed on the obstacle avoidance path.
- each path corresponds to a unique goal point, so the goal point can be used to smooth the obstacle avoidance path in time domain.
- the sampling target point after the previous frame smoothing goal old i.e., the sample target points on a history path goal old
- the final sampling target point goal final current frame is selected (i.e. arbitrated select the final obstacle avoidance path
- the sampling target point goal final is used to generate a time-domain smoothed sampling target point goal filter using inertial filtering.
- the final sampling target point selected in the current frame is the sampling target point of the historical path.
- the results of time-domain smoothing and non-time-domain smoothing are the sampling of the historical path. Target.
- the final sampling target point selected in the current frame is the current optimal sampling target point, and FIG. 20 shows an example diagram of time domain smoothing in this case. After generating the time-domain smoothed sampling target point goal filter , a three-segment path is regenerated based on the smoothed sampling target point goal filter to obtain the final output path.
- the specific position of the smoothed target point goal filter can be calculated according to formulas (10) and (11):
- goal filter .l transverse position of the target sample the smoothed; goal filter .s longitudinal position of the target sample the smoothed; goal old .l an upper lateral position of the target sample the smoothed; goal old .s is the vertical position of the smoothed sampling target point in the previous frame; goal final .l is the horizontal position of the final sampling target point selected in the current frame ; goal final .s is the vertical position of the final sampling target point selected in the current frame position; w l is the weight for smoothing, w s is the smoothing weights in the longitudinal direction in the transverse direction.
- the weights used for smoothing in the horizontal and vertical directions may be set according to actual conditions.
- the weight of smoothing in the horizontal and vertical directions can be 1, that is, the position of the smoothed sampling target point goal filter is the same as the position of the smoothed sampling target point goal old in the previous frame, that is, the historical path is used; horizontal and vertical
- the weight of the smoothing can be set to 0, that is, the position of the smoothed sampling target point goal filter is the same as the position of the final sampling target point goal final selected in the current frame, that is, the sampling target point of the final path selected according to the path arbitration is used as the smoothing target point.
- the sampling target point goal filter After the sampling target point goal filter .
- the weight can also select any value from 0 to 1 to perform time-domain smoothing according to the actual road conditions, so that the automatic The car can comprehensively consider the situation of the historical path and the optimal path of the current frame, so as to prevent the frame-to-frame jumping when running directly to the optimal path.
- a horizontal background cost potential field in the near field is generated.
- the ego car can slowly avoid and maintain a safe distance from the obstacle.
- the background cost combined with the path arbitration strategy can ensure the stable obstacle avoidance of the self-vehicle.
- the weight of the background cost is very high, such as 10 6
- the background cost will change sharply, so that the final cost will also change significantly, and the optimal path cost obtained in each frame will inevitably be smaller than the historical cost.
- 60% of the optimal path cost will continuously trigger the path to switch from the historical path to the current optimal path, so that the self-vehicle avoids in time.
- the collision cost will also be used in the evaluation of the entire alternative path. For example, the existence of the No. 1 obstacle makes the alternative paths near the No. 1 obstacle collide, and the collision cost will be very high. , so according to the weighted summation of various costs such as background cost and collision cost, the final output obstacle avoidance path in this scene will shift to the left as shown in Figure 21, effectively avoiding the obstacles that need to be avoided.
- the above is a specific example of the application of the embodiments of the present application in complex and narrow traffic scenarios. It should be understood that, in combination with the lateral background cost potential field (ie, the first lateral background cost potential field) and the collision cost in the above-mentioned near-field range, the present application The embodiment can also be applied to fast obstacle avoidance in simple high-speed scenarios.
- the lateral background cost potential field ie, the first lateral background cost potential field
- the present application can also be applied to fast obstacle avoidance in simple high-speed scenarios.
- FIG. 22 is an example diagram of a simple urban road scene provided by an embodiment of the present application.
- FIG. 22 when the self-vehicle is driving fast on the structured road, there are a small number of dynamic and static obstacles (numbered 1-2) in the avoidable obstacle range. However, these obstacles are crossed on the road in front of the self-vehicle, and the self-vehicle needs to use the small S-curve to quickly avoid obstacles.
- the reference path and lateral obstacle avoidance range as well as the occupancy map of all obstacles' size, location, speed and predicted trajectory, are known.
- the complex and narrow scene is recorded as scene one, and the simple high-speed scene is recorded as scene two.
- the path planning may be performed in combination with the lateral background cost potential field (ie, the first lateral background cost potential field) and the collision cost within the above-mentioned near-field range;
- the lateral background cost potential field ie, the first lateral background cost potential field
- the collision cost within the above-mentioned near-field range;
- One or more of the screening of invalid grids, obtaining the final cost by synthesizing various other costs, path arbitration, and time domain smoothing, etc., are used for path planning.
- the path planning method in the second scenario is also briefly described below in a preferred manner.
- FIG. 23 is an example diagram of another alternative path generation scenario provided by an embodiment of the present application. The following describes the generation of alternative paths in scenario two in detail with reference to specific examples.
- the reference path is the centerline of the current lane
- the width of the lane and the obstacle avoidance range is 3.5m
- the widths of the left and right sides of the lane centerline are 1.75m each.
- the method of generating start points and goal points is basically the same as that in Scenario 1. The main difference is that 11 goal points can be generated in each row in Scenario 1, while in Scenario 2, 3 goal points can be generated in each row. goal point.
- the path is divided into three sections, including the historical section, the fully connected section and the extended section.
- the historical segment is behind the starting point, and is obtained by intercepting the historical path.
- the fully connected segment is generated by the connection between the starting point and multiple rows of sampling points.
- Each segment of the fully connected segment is linked by a cubic polynomial equation, which needs to satisfy the vector constraint passing through the goal point.
- Extended segment Translate the reference path after the sampling point corresponding to the fully connected segment. The three paths are connected in sequence, and the entire alternative path is obtained by splicing. In this embodiment, a total of 243 alternative paths are generated.
- the above is only an example, only to clearly describe the difference between the alternative path generation methods in the scenario 1 and the scenario 2, and not as a limitation of the present application. It should be understood that, the number of target points in each row, the number of rows of target points, and the number of alternative paths generated can be determined according to the actual situation, and are not limited.
- step S520 for the evaluation of the alternative paths (step S520 ) and the output path arbitration (step S530 ), reference can be made to the description of the specific implementation of the scenario one.
- step S540 the path time domain smoothing
- the self-vehicle when the self-vehicle is in a scene where two obstacles are crossed, it has a high enough degree of freedom for lateral avoidance. Therefore, a long enough collision-free driving trajectory can be planned according to the above method, so that the self-vehicle can quickly avoid and pass through the traffic scene. Moreover, in the process of quickly avoiding obstacles, the self-vehicle can maintain a sufficient lateral distance from the obstacles and ensure the stability of the path.
- this embodiment can generate an obstacle avoidance path as shown in FIG. 24 . Since the fully connected method used in this embodiment generates an alternative path, there are many alternative forms of the path, and a fully expanded solution space can obtain a collision-free trajectory for multiple objects around obstacles. And the path is evaluated based on the collision cost, so that the currently planned obstacle avoidance path (optimal alternative path) can keep a safe distance of 0.7m from obstacles 1 and 2 along the entire path. And in the process of driving, when the self-vehicle passes the side of the obstacle, the driving path will be adjusted based on the background cost, so that the self-vehicle and the obstacle keep a safe distance of 1m, so that the longitudinal range where the obstacles 1 and 2 are located.
- the output path arbitration strategy will re-plan the historical path and the driving process. Arbitration is carried out on the path based on the previous path, so that the historical path is used, and the path is not switched to complete fast obstacle avoidance.
- the generated alternative paths have fewer forms (as shown in Figure 7).
- the driving path with collision will affect the speed planner at the back end, causing the ego car to decelerate, so that the ego car can only drive at low speed in this scene.
- FIG. 25 is an example diagram of a device for planning an obstacle avoidance path of a traveling device according to an embodiment of the present application.
- the planning apparatus 2500 includes an acquisition module 2510 and a processing module 2520 .
- the obtaining module 2510 is used to obtain a distance map, and the distance map includes a plurality of first grids, and each first grid in the plurality of first grids is used to record the distance from the first grid to the nearest obstacle The distance of the first grid occupied by the object; the processing module 2520 is used to determine the first horizontal background cost potential field in the near field range according to the distance map, and the near field range is that the longitudinal distance from the driving device is less than or equal to the first The range of a threshold value, the first lateral background cost potential field is the first repulsive force field formed by the obstacle in the lateral position to the traveling device, and the first lateral background cost potential field includes the target minimum value point, the target minimum value The background cost on the lateral sides of the point is monotonic, and the background cost represents the near-field lateral collision cost to the traveling device caused by obstacles in the lateral position within the near-field range; according to the first lateral background cost potential field, determine the current avoidance cost. obstacle path.
- determining the first horizontal background cost potential field within the near field range according to the distance map includes: determining a second horizontal background cost potential field within the near field range according to the distance map, where the second horizontal background cost potential field is: A second repulsive force field formed by the obstacles in the lateral position to the traveling device, the second lateral background cost potential field includes at least one minimum value point; the target minimum value point is determined from the at least one minimum value point; The background costs on both lateral sides of the target minimum point are subjected to monotonicity processing to generate the first lateral background cost potential field, and the slope of the monotonic processing is greater than or equal to the second threshold.
- the acquiring module 2510 may also be used to: acquire an occupation map, where the occupation map includes a plurality of second grids, and each second grid in the plurality of second grids uses for recording the probability of the existence of obstacles in the second grid; the processing module 2520 may also be used to obtain a distance map according to the occupation map.
- obtaining the distance map according to the occupation map includes: screening out the second grid located in the first area in the occupation map, the first area is located in front of the traveling device, if there is an obstacle in the first area The running device cannot avoid the obstacles in the first area; the distance map is obtained according to the occupied map after screening.
- the processing module 2520 can also be used to: generate a feature vector, the feature vector including the path starting point and the sampling target point; generating a plurality of candidate paths with reference to the path, the historical path and the feature vector; the determining the second lateral background cost potential field within the near field range according to the distance map includes: according to the sampling target point, the reference path Perform lateral offset to generate multiple virtual parallel line paths; according to the distance map, calculate the distance between each waypoint in the near field range of each virtual parallel line path in the multiple virtual parallel line paths to the nearest obstacle to the waypoint. distance; calculate the background cost of the virtual parallel line according to the minimum value of the distance on the path of each virtual parallel line; generate a The second horizontal background cost potential field.
- the processing module 2520 is further configured to: calculate the distance on each of the multiple candidate paths according to the distance map.
- One or more of a collision cost, a constraint cost, a switching cost, a lateral offset cost, or a smoothness cost wherein the collision cost is used to evaluate whether a collision will occur when the traveling device travels on the alternative path, the The constraint cost is used to evaluate whether each waypoint on the candidate path is within the obstacle avoidance range, the switching cost is used to evaluate the deviation between the candidate path and the historical path, and the lateral offset cost is used to evaluate the The degree of lateral deviation of the alternative path from the road centerline, and the smoothness cost is used to evaluate the smoothness of the alternative path; according to the first lateral background cost potential field, determining the current obstacle avoidance path includes: according to the first lateral background The background cost in the cost potential field, or calculated according to the background cost in the first lateral background cost potential field and one or more of the
- the processing module 2520 is further configured to: determine the final obstacle avoidance path according to the arbitration result of the historical path and the current obstacle avoidance path.
- determining the final obstacle avoidance path according to the arbitration result of the historical path and the current obstacle avoidance path including: if the historical path has a collision but the current obstacle avoidance path does not have a collision, then use the current obstacle avoidance path as the final obstacle avoidance path; or, if both the historical path and the current obstacle avoidance path collide, and the absolute value of the difference between the collision distance of the current obstacle avoidance path and the collision distance of the historical path is greater than or equal to a third threshold , the current obstacle avoidance path and the historical path with the larger collision distance are used as the final obstacle avoidance path; or, if both the historical path and the current obstacle avoidance path collide, and the collision distance of the current obstacle avoidance path The absolute value of the difference between the collision distance and the historical path is less than the third threshold, then the historical path is used as the final obstacle avoidance path; or, if there is no collision on the historical path, and the final cost of the current obstacle avoidance path is equal to If the ratio of the historical path cost is less than or equal to
- processing module 2520 can also be used to: perform time domain smoothing according to the historical path and the final obstacle avoidance path.
- the planning apparatus 2500 may further include an output module for outputting the obstacle avoidance path to a speed planner, where the speed planner is configured to perform speed planning according to the final obstacle avoidance path and information on obstacles on the final obstacle avoidance path.
- FIG. 26 is an exemplary block diagram of the hardware structure of an apparatus for planning an obstacle avoidance path provided by an embodiment of the present application.
- the apparatus 2600 (the apparatus 2600 may specifically be a computer device) includes a memory 2610 , a processor 2620 , a communication interface 2630 and a bus 2640 .
- the memory 2610, the processor 2620, and the communication interface 2630 realize the communication connection among each other through the bus 2640.
- the memory 2610 may be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
- the memory 2610 may store a program, and when the program stored in the memory 2610 is executed by the processor 2620, the processor 2620 is configured to execute each step of the planning method of the embodiment of the present application.
- the processor 2620 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), a graphics processor (graphics processing unit, GPU), or one or more
- the integrated circuit is used to execute the relevant program to realize the planning method of the method embodiment of the present application.
- the processor 2620 can also be an integrated circuit chip with signal processing capability.
- each step of the planning method of the present application may be completed by an integrated logic circuit of hardware in the processor 2620 or instructions in the form of software.
- the above-mentioned processor 2620 may also be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, Discrete gate or transistor logic devices, discrete hardware components.
- DSP digital signal processing
- ASIC application specific integrated circuit
- FPGA field programmable gate array
- a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
- the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
- the storage medium is located in the memory 2610, and the processor 2620 reads the information in the memory 2610, and combines its hardware to complete the functions required by the modules included in the planning apparatus of the embodiments of the present application, or execute the planning methods of the method embodiments of the present application.
- the communication interface 2630 implements communication between the apparatus 1000 and other devices or a communication network using a transceiving device such as, but not limited to, a transceiver.
- a transceiving device such as, but not limited to, a transceiver.
- the functions of the acquisition module 2510 and the output module described above are implemented.
- the bus 2640 may include pathways for communicating information between the various components of the device 2600 (eg, the memory 2610, the processor 2620, the communication interface 2630).
- Embodiments of the present application further provide a vehicle, including the above obstacle avoidance path planning device 2500 or 2600, capable of executing any of the above planning methods, so that the vehicle can run smoothly in a complex and narrow scene and be in harmony with vehicles in the lateral direction. Keep a safe distance.
- the vehicle may be an electric vehicle, for example, a pure electric vehicle, an extended-range electric vehicle, a hybrid electric vehicle, a fuel cell vehicle, a new energy vehicle, etc., which are not specifically limited in this application.
- the embodiment of the present application also provides a computer system on which any of the above-mentioned planning methods (algorithms) can be run, and the computing power of the computer should ensure that the update rate of any of the above-mentioned planning algorithms reaches a certain value, for example , 30HZ.
- the path planning can be carried out according to the real-time environmental conditions, so as to ensure the safe and stable operation of the traveling device.
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
- the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Transportation (AREA)
- Aviation & Aerospace Engineering (AREA)
- Human Computer Interaction (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
- Traffic Control Systems (AREA)
- Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
Abstract
Description
Claims (21)
- 一种行驶装置的避障路径的规划方法,其特征在于,包括:获取距离地图,所述距离地图包括多个第一栅格,所述多个第一栅格中的每个第一栅格用于记录该第一栅格离最近被障碍物占据的第一栅格的距离;根据所述距离地图确定近场范围内的第一横向背景代价势场,所述近场范围为与所述行驶装置的纵向距离小于或等于第一阈值的范围,所述第一横向背景代价势场为横向位置上的障碍物对所述行驶装置构成的第一斥力场,所述第一横向背景代价势场包括目标极小值点,所述目标极小值点横向两侧的背景代价具有单调性,所述背景代价表示近场范围内横向位置上的障碍物对所述行驶装置构成的近场横向碰撞代价;根据所述第一横向背景代价势场,确定当前避障路径。
- 根据权利要求1所述的规划方法,其特征在于,所述根据所述距离地图确定近场范围内的第一横向背景代价势场包括:根据所述距离地图确定所述近场范围内的第二横向背景代价势场,所述第二横向背景代价势场为横向位置上的障碍物对所述行驶装置构成的第二斥力场,所述第二横向背景代价势场包括至少一个极小值点;从所述至少一个极小值点中确定所述目标极小值点;对所述目标极小值点横向两侧的背景代价进行单调性处理,生成所述第一横向背景代价势场,所述单调性处理的斜率大于或等于第二阈值。
- 根据权利要求1或2所述的规划方法,其特征在于,所述目标极小值点与所述行驶装置之间不存在障碍物。
- 根据权利要求1-3中任一项所述的规划方法,其特征在于,在所述获取距离地图之前,所述方法还包括:获取占据地图,所述占据地图包括多个第二栅格,所述多个第二栅格中的每个第二栅格用于记录该第二栅格中存在障碍物的概率;所述获取距离地图包括:根据所述占据地图,得到所述距离地图。
- 根据权利要求4所述的规划方法,其特征在于,所述根据所述占据地图,得到所述距离地图包括:筛除所述占据地图中位于第一区域的所述第二栅格,所述第一区域位于所述行驶装置的前方,若所述第一区域内存在障碍物,所述行驶装置无法避开所述第一区域内的障碍物;根据筛除后的占据地图,得到所述距离地图。
- 根据权利要求2所述的规划方法,其特征在于,在所述根据所述距离地图确定所述近场范围内的第二横向背景代价势场之前,所述方法还包括:生成特征矢量,所述特征矢量包括路径起始点和采样目标点;根据参考路径、历史路径和所述特征矢量,生成多条备选路径;所述根据所述距离地图确定所述近场范围内的第二横向背景代价势场包括:根据所述采样目标点,对所述参考路径进行横向偏移生成多条虚拟平行线路径;根据所述距离地图计算所述多条虚拟平行线路径中每条虚拟平行线路径在所述近场范围内的每个路点离该路点最近障碍物的距离;根据所述每条虚拟平行线路径上所述距离的最小值计算该条虚拟平行线的背景代价;根据所述多条虚拟平行线路径在所述近场范围内的背景代价生成所述近场范围内的第二横向背景代价势场。
- 根据权利要求6所述的规划方法,其特征在于,在所述根据所述第一横向背景代价势场,确定当前避障路径之前,所述方法还包括:根据所述距离地图计算所述多条备选路径中的每条备选路径上的碰撞代价、约束代价、切换代价、横向偏移代价或平滑度代价中的一项或多项,其中,所述碰撞代价用于评价所述行驶装置在所述备选路径上行驶时是否会发生碰撞,所述约束代价用于评价所述备选路径上的各个路点是否在可避障范围内,所述切换代价用于评价所述备选路径与所述历史路径之间的偏差,所述横向偏移代价用于评价所述备选路径的横向偏离道路中心线的程度,所述平滑度代价用于评价所述备选路径的平滑程度;所述根据所述第一横向背景代价势场,确定当前避障路径包括:根据所述第一横向背景代价势场中的背景代价,或者根据所述第一横向背景代价势场中的背景代价以及所述碰撞代价、约束代价、切换代价、横向偏移代价或平滑度代价中的一项或多项,计算所述每条备选路径上的最终代价;根据所述最终代价,确定所述当前避障路径。
- 根据权利要求1-7中任一项所述的规划方法,其特征在于,所述方法还包括:根据历史路径和所述当前避障路径的仲裁结果,确定最终避障路径。
- 根据权利要求8所述的规划方法,其特征在于,所述根据历史路径和所述当前避障路径的仲裁结果,确定最终避障路径包括:若所述历史路径存在碰撞,但所述当前避障路径不存在碰撞,则以所述当前避障路径作为所述最终避障路径;或者,若所述历史路径和所述当前避障路径都存在碰撞,且所述当前避障路径的碰撞距离与所述历史路径的碰撞距离之差的绝对值大于或等于第三阈值,则以所述当前避障路径和所述历史路径中碰撞距离较大者作为所述最终避障路径;或者,若所述历史路径和所述当前避障路径都存在碰撞,且所述当前避障路径的碰撞距离与所述历史路径的碰撞距离之差的绝对值小于第三阈值,则以所述历史路径作为所述最终避障路径;或者,若所述历史路径不存在碰撞,且所述当前避障路径的所述最终代价与所述历史路径代价之比小于或等于第四阈值,则以所述当前避障路径作为所述最终避障路径;或者,若所述历史路径不存在碰撞,且所述当前避障路径的所述最终代价与所述历史路径代价之比大于第四阈值,则以所述历史路径作为所述最终避障路径;其中,所述碰撞距离为所述每条备选路径上处于发生碰撞状态的所有的路点的纵向距离中的最小纵向距离。
- 一种行驶装置的避障路径的规划装置,其特征在于,所述装置包括:获取模块和处理模块;所述获取模块用于获取距离地图,所述距离地图包括多个第一栅格,所述多个第一栅格中的每个第一栅格用于记录该第一栅格离最近被障碍物占据的第一栅格的距离;所述处理模块用于根据所述距离地图确定近场范围内的第一横向背景代价势场,所述近场范围为与所述行驶装置的纵向距离小于或等于第一阈值的范围,所述第一横向背景代价势场为横向位置上的障碍物对所述行驶装置构成的第一斥力场,所述第一横向背景代价势场包括目标极小值点,所述目标极小值点横向两侧的背景代价具有单调性,所述背景代价表示近场范围内横向位置上的障碍物对所述行驶装置构成的近场横向碰撞代价;根据所述第一横向背景代价势场,确定当前避障路径。
- 根据权利要求10所述的规划装置,其特征在于,所述根据所述距离地图确定近场范围内的第一横向背景代价势场包括:根据所述距离地图确定所述近场范围内的第二横向背景代价势场,所述第二横向背景代价势场为横向位置上的障碍物对所述行驶装置构成的第二斥力场,所述第二横向背景代价势场包括至少一个极小值点;从所述至少一个极小值点中确定所述目标极小值点;对所述目标极小值点横向两侧的背景代价进行单调性处理,生成所述第一横向背景代价势场,所述单调性处理的斜率大于或等于第二阈值。
- 根据权利要求10或11所述的规划装置,其特征在于,所述目标极小值点与所述行驶装置之间不存在障碍物。
- 根据权利要求10-12中任一项所述的规划装置,其特征在于,在所述获取距离地图之前,所述获取模块还用于:获取占据地图,所述占据地图包括多个第二栅格,所述多个第二栅格中的每个第二栅格用于记录该第二栅格中存在障碍物的概率;所述处理模块还用于:根据所述占据地图,得到所述距离地图。
- 根据权利要求13所述的规划装置,其特征在于,所述根据所述占据地图,得到所述距离地图包括:筛除所述占据地图中位于第一区域的所述第二栅格,所述第一区域位于所述行驶装置的前方,若所述第一区域内存在障碍物,所述行驶装置无法避开所述第一区域内的障碍物;根据筛除后的占据地图,得到所述距离地图。
- 根据权利要求11所述的规划装置,其特征在于,在所述根据所述距离地图确定所述近场范围内的第二横向背景代价势场之前,所述处理模块还用于:生成特征矢量,所述特征矢量包括路径起始点和采样目标点;根据参考路径、历史路径和所述特征矢量,生成多条备选路径;所述根据所述距离地图确定所述近场范围内的第二横向背景代价势场包括:根据所述采样目标点,对所述参考路径进行横向偏移生成多条虚拟平行线路径;根据所述距离地图计算所述多条虚拟平行线路径中每条虚拟平行线路径在所述近场范围内的每个路点离该路点最近障碍物的距离;根据所述每条虚拟平行线路径上所述距离的最小值计算该条虚拟平行线的背景代价;根据所述多条虚拟平行线路径在所述近场范围内的背景代价生成所述近场范围内的第二横向背景代价势场。
- 根据权利要求15所述的规划装置,其特征在于,在所述根据所述第一横向背景代价势场,确定当前避障路径之前,所述处理模块还用于:根据所述距离地图计算所述多条备选路径中的每条备选路径上的碰撞代价、约束代价、切换代价、横向偏移代价或平滑度代价中的一项或多项,其中,所述碰撞代价用于评价所述行驶装置在所述备选路径上行驶时是否会发生碰撞,所述约束代价用于评价所述备选路径上的各个路点是否在可避障范围内,所述切换代价用于评价所述备选路径与所述历史路径之间的偏差,所述横向偏移代价用于评价所述备选路径的横向偏离道路中心线的程度,所述平滑度代价用于评价所述备选路径的平滑程度;所述根据所述第一横向背景代价势场,确定当前避障路径包括:根据所述第一横向背景代价势场中的背景代价,或者根据所述第一横向背景代价势场中的背景代价以及所述碰撞代价、约束代价、切换代价、横向偏移代价或平滑度代价中的一项或多项,计算所述每条备选路径上的最终代价;根据所述最终代价,确定所述当前避障路径。
- 根据权利要求10-16中任一项所述的规划装置,其特征在于,所述处理模块还用于:根据历史路径和所述当前避障路径的仲裁结果,确定最终避障路径。
- 根据权利要求17所述的规划装置,其特征在于,所述根据历史路径和所述当前避障路径的仲裁结果,确定最终避障路径,包括:若所述历史路径存在碰撞,但所述当前避障路径不存在碰撞,则以所述当前避障路径作为所述最终避障路径;或者,若所述历史路径和所述当前避障路径都存在碰撞,且所述当前避障路径的碰撞距离与所述历史路径的碰撞距离之差的绝对值大于或等于第三阈值,则以所述当前避障路径和所述历史路径中碰撞距离较大者作为所述最终避障路径;或者,若所述历史路径和所述当前避障路径都存在碰撞,且所述当前避障路径的碰撞距离与所述历史路径的碰撞距离之差的绝对值小于第三阈值,则以所述历史路径作为所述最终避障路径;或者,若所述历史路径不存在碰撞,且所述当前避障路径的所述最终代价与所述历史路径代价之比小于或等于第四阈值,则以所述当前避障路径作为所述最终避障路径;或者,若所述历史路径不存在碰撞,且所述当前避障路径的所述最终代价与所述历史路径代价之比大于第四阈值,则以所述历史路径作为所述最终避障路径;其中,所述碰撞距离为所述每条备选路径上处于发生碰撞状态的所有的路点的纵向距离中的最小纵向距离。
- 一种车辆,其特征在于,包括用于执行如权利要求1-9中任一项所述的规划方法的各个模块。
- 一种计算机可读介质,其特征在于,所述计算机可读介质存储有程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行如权利要求1-9中任一项所述的规划方法。
- 一种芯片,其特征在于,所述芯片包括处理器与数据接口,所述处理器通过所述数据接口读取存储器上存储的指令,执行如权利要求1-9中任一项所述的规划方法。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020237005632A KR20230041752A (ko) | 2020-07-20 | 2021-04-28 | 이동 장치의 장애물 회피 경로를 계획하기 위한 방법 및 장치 |
EP21847177.9A EP4180894A4 (en) | 2020-07-20 | 2021-04-28 | OBSTACLE AVOIDANCE PATH PLANNING METHOD AND DEVICE FOR MOBILE DEVICE |
JP2023504056A JP2023535175A (ja) | 2020-07-20 | 2021-04-28 | 移動装置の障害物回避経路を計画する方法及び装置 |
BR112023001066A BR112023001066A2 (pt) | 2020-07-20 | 2021-04-28 | Método e aparelho para planejar o percurso de desvio de obstáculos de um aparelho móvel |
US18/156,703 US20230159056A1 (en) | 2020-07-20 | 2023-01-19 | Method and apparatus for planning obstacle avoidance path of traveling apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010699919.X | 2020-07-20 | ||
CN202010699919.XA CN113960996A (zh) | 2020-07-20 | 2020-07-20 | 行驶装置的避障路径的规划方法和装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/156,703 Continuation US20230159056A1 (en) | 2020-07-20 | 2023-01-19 | Method and apparatus for planning obstacle avoidance path of traveling apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022016941A1 true WO2022016941A1 (zh) | 2022-01-27 |
Family
ID=79459614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/090523 WO2022016941A1 (zh) | 2020-07-20 | 2021-04-28 | 行驶装置的避障路径的规划方法和装置 |
Country Status (7)
Country | Link |
---|---|
US (1) | US20230159056A1 (zh) |
EP (1) | EP4180894A4 (zh) |
JP (1) | JP2023535175A (zh) |
KR (1) | KR20230041752A (zh) |
CN (1) | CN113960996A (zh) |
BR (1) | BR112023001066A2 (zh) |
WO (1) | WO2022016941A1 (zh) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114859895A (zh) * | 2022-04-06 | 2022-08-05 | 高斯机器人(深圳)有限公司 | Agv充电方法、装置与设备 |
CN115185286A (zh) * | 2022-09-13 | 2022-10-14 | 上海仙工智能科技有限公司 | 一种移动机器人自主绕障规划方法及其任务调度系统 |
CN115782867A (zh) * | 2022-11-17 | 2023-03-14 | 上海西井信息科技有限公司 | 轨迹碰撞风险评估方法、装置、电子设备和存储介质 |
CN116125995A (zh) * | 2023-04-04 | 2023-05-16 | 华东交通大学 | 一种高铁巡检机器人的路径规划方法及系统 |
CN116859956A (zh) * | 2023-09-04 | 2023-10-10 | 中船(北京)智能装备科技有限公司 | 一种无人艇航行路线确定方法、装置及设备 |
WO2023202485A1 (zh) * | 2022-04-22 | 2023-10-26 | 武汉路特斯汽车有限公司 | 一种自动驾驶系统中的轨迹预测方法及系统 |
CN118192615A (zh) * | 2024-05-16 | 2024-06-14 | 江苏三铭智达科技有限公司 | 一种机器人路径控制方法及系统 |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20230127002A1 (en) * | 2021-10-25 | 2023-04-27 | Moovita Pte Ltd | Effective path planning systems and methods for autonomous vehicles |
CN114995416A (zh) * | 2022-05-30 | 2022-09-02 | 深圳市优必选科技股份有限公司 | 全局路径导航方法、装置、终端设备及存储介质 |
CN115014375B (zh) * | 2022-06-06 | 2023-11-03 | 北京京深深向科技有限公司 | 碰撞检测方法、装置及电子设备、存储介质 |
JP7400912B1 (ja) | 2022-09-26 | 2023-12-19 | いすゞ自動車株式会社 | 自動運転装置 |
US20240166239A1 (en) * | 2022-11-21 | 2024-05-23 | Apollo Autonomous Driving USA LLC | Trajectory planning for navigating small objects on road |
CN116109658B (zh) * | 2023-04-07 | 2023-06-20 | 山东金大丰机械有限公司 | 基于5g技术的收割机控制数据处理方法 |
CN117429448B (zh) * | 2023-10-24 | 2024-10-25 | 北京易航远智科技有限公司 | 障碍物未来占据空间的预测方法、装置、电子设备及介质 |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070156286A1 (en) * | 2005-12-30 | 2007-07-05 | Irobot Corporation | Autonomous Mobile Robot |
CN102880186A (zh) * | 2012-08-03 | 2013-01-16 | 北京理工大学 | 基于稀疏a*算法和遗传算法的航迹规划方法 |
CN103760904A (zh) * | 2014-02-13 | 2014-04-30 | 北京工业大学 | 一种语音播报式智能车辆路径规划装置与实施方法 |
EP2806288A1 (en) * | 2013-05-24 | 2014-11-26 | Advanced Scientific Concepts, Inc. | Automotive auxiliary ladar sensor |
CN105974917A (zh) * | 2016-05-11 | 2016-09-28 | 江苏大学 | 一种基于新型人工势场法的车辆避障路径规划研究方法 |
CN107357293A (zh) * | 2017-07-31 | 2017-11-17 | 上海应用技术大学 | 移动机器人路径规划方法和系统 |
CN108241370A (zh) * | 2017-12-20 | 2018-07-03 | 北京理工华汇智能科技有限公司 | 通过栅格地图获取避障路径的方法及装置 |
CN108253984A (zh) * | 2017-12-19 | 2018-07-06 | 昆明理工大学 | 一种基于改进a星算法的移动机器人路径规划方法 |
CN109947119A (zh) * | 2019-04-23 | 2019-06-28 | 东北大学 | 一种基于多传感器融合的移动机器人自主跟随系统及方法 |
US20190235512A1 (en) * | 2018-01-30 | 2019-08-01 | Brain Corporation | Systems and methods for precise navigation of autonomous devices |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4741292A (en) * | 1986-12-22 | 1988-05-03 | The Babcock & Wilcox Company | Electro-impulse rapper system for boilers |
JP2011253302A (ja) * | 2010-06-01 | 2011-12-15 | Toyota Motor Corp | 車両用危険度算出装置 |
DE102013012324A1 (de) * | 2013-07-25 | 2015-01-29 | GM Global Technology Operations LLC (n. d. Ges. d. Staates Delaware) | Verfahren und Vorrichtung zur Fahrwegfindung |
JP6580087B2 (ja) * | 2017-06-02 | 2019-09-25 | 本田技研工業株式会社 | 走行軌道決定装置及び自動運転装置 |
JP6901331B2 (ja) * | 2017-06-20 | 2021-07-14 | 株式会社東芝 | 情報処理装置、移動体、情報処理方法、およびプログラム |
CN108274465A (zh) * | 2018-01-10 | 2018-07-13 | 上海理工大学 | 基于优化a*的人工势场机械臂三维避障路径规划方法 |
GB2570887B (en) * | 2018-02-07 | 2020-08-12 | Jaguar Land Rover Ltd | A system for a vehicle |
CN110111880B (zh) * | 2019-04-22 | 2021-09-28 | 北京航空航天大学 | 柔性针的基于障碍分级的人工势场路径规划方法及装置 |
CN110244713B (zh) * | 2019-05-22 | 2023-05-12 | 江苏大学 | 一种基于人工势场法的智能车辆换道轨迹规划系统及方法 |
CN110414803B (zh) * | 2019-07-08 | 2022-01-07 | 清华大学 | 不同网联程度下自动驾驶系统智能水平的测评方法及装置 |
CN110865642A (zh) * | 2019-11-06 | 2020-03-06 | 天津大学 | 一种基于移动机器人的路径规划方法 |
-
2020
- 2020-07-20 CN CN202010699919.XA patent/CN113960996A/zh active Pending
-
2021
- 2021-04-28 EP EP21847177.9A patent/EP4180894A4/en active Pending
- 2021-04-28 WO PCT/CN2021/090523 patent/WO2022016941A1/zh active Application Filing
- 2021-04-28 JP JP2023504056A patent/JP2023535175A/ja active Pending
- 2021-04-28 KR KR1020237005632A patent/KR20230041752A/ko unknown
- 2021-04-28 BR BR112023001066A patent/BR112023001066A2/pt unknown
-
2023
- 2023-01-19 US US18/156,703 patent/US20230159056A1/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070156286A1 (en) * | 2005-12-30 | 2007-07-05 | Irobot Corporation | Autonomous Mobile Robot |
CN102880186A (zh) * | 2012-08-03 | 2013-01-16 | 北京理工大学 | 基于稀疏a*算法和遗传算法的航迹规划方法 |
EP2806288A1 (en) * | 2013-05-24 | 2014-11-26 | Advanced Scientific Concepts, Inc. | Automotive auxiliary ladar sensor |
CN103760904A (zh) * | 2014-02-13 | 2014-04-30 | 北京工业大学 | 一种语音播报式智能车辆路径规划装置与实施方法 |
CN105974917A (zh) * | 2016-05-11 | 2016-09-28 | 江苏大学 | 一种基于新型人工势场法的车辆避障路径规划研究方法 |
CN107357293A (zh) * | 2017-07-31 | 2017-11-17 | 上海应用技术大学 | 移动机器人路径规划方法和系统 |
CN108253984A (zh) * | 2017-12-19 | 2018-07-06 | 昆明理工大学 | 一种基于改进a星算法的移动机器人路径规划方法 |
CN108241370A (zh) * | 2017-12-20 | 2018-07-03 | 北京理工华汇智能科技有限公司 | 通过栅格地图获取避障路径的方法及装置 |
US20190235512A1 (en) * | 2018-01-30 | 2019-08-01 | Brain Corporation | Systems and methods for precise navigation of autonomous devices |
CN109947119A (zh) * | 2019-04-23 | 2019-06-28 | 东北大学 | 一种基于多传感器融合的移动机器人自主跟随系统及方法 |
Non-Patent Citations (1)
Title |
---|
See also references of EP4180894A4 |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114859895A (zh) * | 2022-04-06 | 2022-08-05 | 高斯机器人(深圳)有限公司 | Agv充电方法、装置与设备 |
WO2023202485A1 (zh) * | 2022-04-22 | 2023-10-26 | 武汉路特斯汽车有限公司 | 一种自动驾驶系统中的轨迹预测方法及系统 |
CN115185286A (zh) * | 2022-09-13 | 2022-10-14 | 上海仙工智能科技有限公司 | 一种移动机器人自主绕障规划方法及其任务调度系统 |
CN115185286B (zh) * | 2022-09-13 | 2022-12-27 | 上海仙工智能科技有限公司 | 一种移动机器人自主绕障规划方法及其任务调度系统 |
CN115782867A (zh) * | 2022-11-17 | 2023-03-14 | 上海西井信息科技有限公司 | 轨迹碰撞风险评估方法、装置、电子设备和存储介质 |
CN115782867B (zh) * | 2022-11-17 | 2024-01-30 | 上海西井科技股份有限公司 | 轨迹碰撞风险评估方法、装置、电子设备和存储介质 |
CN116125995A (zh) * | 2023-04-04 | 2023-05-16 | 华东交通大学 | 一种高铁巡检机器人的路径规划方法及系统 |
CN116859956A (zh) * | 2023-09-04 | 2023-10-10 | 中船(北京)智能装备科技有限公司 | 一种无人艇航行路线确定方法、装置及设备 |
CN116859956B (zh) * | 2023-09-04 | 2023-12-08 | 中船(北京)智能装备科技有限公司 | 一种无人艇航行路线确定方法、装置及设备 |
CN118192615A (zh) * | 2024-05-16 | 2024-06-14 | 江苏三铭智达科技有限公司 | 一种机器人路径控制方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
JP2023535175A (ja) | 2023-08-16 |
EP4180894A4 (en) | 2023-12-27 |
EP4180894A1 (en) | 2023-05-17 |
CN113960996A (zh) | 2022-01-21 |
US20230159056A1 (en) | 2023-05-25 |
KR20230041752A (ko) | 2023-03-24 |
BR112023001066A2 (pt) | 2023-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022016941A1 (zh) | 行驶装置的避障路径的规划方法和装置 | |
CN112068545B (zh) | 一种无人驾驶车辆在十字路口的行驶轨迹规划方法、系统及存储介质 | |
JP7479064B2 (ja) | 動的障害物を有する環境における動作計画を容易にする装置、方法及び物品 | |
Yu et al. | Occlusion-aware risk assessment for autonomous driving in urban environments | |
WO2021142799A1 (zh) | 路径选择方法和路径选择装置 | |
US10948919B2 (en) | Dynamic programming and gradient descent based decision and planning for autonomous driving vehicles | |
CN114270142A (zh) | 非结构化的车辆路径规划器 | |
EP4149814A1 (en) | Unstructured vehicle path planner | |
US20190079523A1 (en) | Dp and qp based decision and planning for autonomous driving vehicles | |
WO2019042295A1 (zh) | 一种无人驾驶路径规划方法、系统和装置 | |
CN110389584A (zh) | 用于评估自动驾驶车辆的轨迹候选项的方法 | |
US11586209B2 (en) | Differential dynamic programming (DDP) based planning architecture for autonomous driving vehicles | |
CN114281084B (zh) | 一种基于改进a*算法的智能车全局路径规划方法 | |
US20220153296A1 (en) | Trajectory planning with obstacle avoidance for autonomous driving vehicles | |
Wu et al. | Trajectory prediction based on planning method considering collision risk | |
WO2021050745A1 (en) | Dynamic collision checking | |
US20210262819A1 (en) | A mixed regular and open-space trajectory planning method for autonomous driving vehicle | |
WO2024118997A1 (en) | Prediction model with variable time steps | |
WO2024118765A1 (en) | Vehicle trajectory tree search for off-route driving maneuvers | |
CN117184128A (zh) | 基于路径规划的自动驾驶停车方法及装置 | |
CN115420300A (zh) | 一种运动调度方法、装置以及介质 | |
Chang et al. | On-road trajectory planning with spatio-temporal informed RRT | |
US20240174265A1 (en) | Determining prediction times for a model | |
US20240092357A1 (en) | Trajectory optimization in multi-agent environments | |
Yang et al. | An End-to-end Obstacle Avoidance Algorithm for Autonomous Vehicles Based on Global Path Constraint |
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: 21847177 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2023504056 Country of ref document: JP Kind code of ref document: A |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112023001066 Country of ref document: BR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202317006581 Country of ref document: IN |
|
ENP | Entry into the national phase |
Ref document number: 2021847177 Country of ref document: EP Effective date: 20230207 |
|
ENP | Entry into the national phase |
Ref document number: 20237005632 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 112023001066 Country of ref document: BR Kind code of ref document: A2 Effective date: 20230119 |