WO2023221537A1 - Path planning method and apparatus and autonomous vehicle - Google Patents

Path planning method and apparatus and autonomous vehicle Download PDF

Info

Publication number
WO2023221537A1
WO2023221537A1 PCT/CN2023/070865 CN2023070865W WO2023221537A1 WO 2023221537 A1 WO2023221537 A1 WO 2023221537A1 CN 2023070865 W CN2023070865 W CN 2023070865W WO 2023221537 A1 WO2023221537 A1 WO 2023221537A1
Authority
WO
WIPO (PCT)
Prior art keywords
path
position point
sampling
point
unmanned vehicle
Prior art date
Application number
PCT/CN2023/070865
Other languages
French (fr)
Chinese (zh)
Inventor
刘江江
张亮亮
Original Assignee
北京京东乾石科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京京东乾石科技有限公司 filed Critical 北京京东乾石科技有限公司
Publication of WO2023221537A1 publication Critical patent/WO2023221537A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance

Definitions

  • the present disclosure relates to the field of computer technology, particularly to the field of unmanned driving, and in particular to path planning methods and devices, unmanned vehicles, and computer storage media.
  • autonomous driving equipment is used to automatically transport people or objects from one location to another.
  • the autonomous driving equipment collects environmental information through sensors on the equipment and completes automatic transportation.
  • Logistics and transportation using unmanned delivery vehicles controlled by autonomous driving technology has greatly improved the convenience of production and life and saved labor costs.
  • path planning is a basic task.
  • candidate location points are obtained using uniform sampling, and multiple target location points are screened from the candidate location points, and then based on the current location point of the autonomous driving device and multiple targets Position points determine the current frame path of the autonomous driving device.
  • a path planning method for autonomous driving including: determining a guide line for assisting the driving of the unmanned vehicle according to the navigation path of the unmanned vehicle; , determine multiple sampling lines used to assist multi-layer position point sampling, each sampling line corresponds to a layer of position point sampling; based on the current position point of the unmanned vehicle, using vehicle dynamics related information, from each sampling line Sampling on the line obtains at least one candidate position point; from multiple candidate position points located on multiple sampling lines, screen multiple target position points arriving sequentially starting from the current position point; according to the current position point and the The multiple target position points are used to determine the current frame path of the unmanned vehicle.
  • sampling from each sampling line to obtain at least one candidate position point includes: for each sampling line, using vehicle dynamics related information, determining The reference position point corresponding to each sampling line is at least one reference path starting from the starting point, wherein, when each sampling line is the sampling line closest to the current position point, the reference position The point is the current position point.
  • the reference position point is a sampling line located adjacent to each sampling line and close to the direction of the current position point.
  • each candidate position point on the determine at least one candidate position point located on each sampling line according to the intersection point of each sampling line and the at least one reference path.
  • vehicle dynamics related information is used to determine at least one reference path starting from the current position point; according to the distance between the current position point and the sampling line
  • the intersection point of the nearest sampling line and at least one reference path starting from the current position point determines at least one candidate position point located on the sampling line closest to the current position point; for each other sampling line , using the vehicle dynamics related information to determine at least one reference path starting from each candidate position point on the sampling line adjacent to each other sampling line and closest to the current position point ;
  • the intersection point determines at least one candidate position point located on each of the other sampling lines.
  • the vehicle dynamics-related information includes vehicle dynamics attribute information or vehicle motion trajectory information.
  • the vehicle dynamics-related information is used to determine at least one point starting from the reference position point corresponding to each sampling line.
  • a reference path includes: using the vehicle dynamics attribute information or vehicle motion trajectory information to determine at least one reference path starting from the reference position point corresponding to each of the sampling lines.
  • the path planning method further includes: sampling the angle range of the unmanned vehicle to obtain multiple reference angles, wherein the reference path includes a path under the multiple reference angles.
  • sampling from each sampling line to obtain at least one candidate position point further includes: for each sampling line, determining the unmanned vehicle. The intersection point of the previous frame path of the person and vehicle and each of the sampling lines is a candidate position point located on each of the sampling lines.
  • the candidate position point on each sampling line is an intersection point that satisfies a first preset motion condition.
  • the first preset motion condition includes a reference position point corresponding to each sampling line and the The unmanned vehicle orientation difference between the candidate location points on each sampling line is less than or equal to the unmanned vehicle orientation difference threshold.
  • screening multiple target location points arriving sequentially from the current location point from multiple candidate location points located on multiple sampling lines includes: based on the current location point, located on the multiple Multiple candidate location points and preset driving costs on a sampling line are used to determine the multiple target location points using a path-finding algorithm, where the stopping conditions of the path-finding algorithm include starting from the current location point and arriving at the last The mileage of a target location point is greater than or equal to the mileage threshold.
  • the preset driving cost includes at least one of a smoothness cost and a safety cost, wherein the smoothness cost is related to the location point currently processed by the path-finding algorithm and the candidate location point.
  • the smoothness cost is related to the location point currently processed by the path-finding algorithm and the candidate location point.
  • the safety cost is negatively correlated with the shortest distance from the line segment between the position point currently processed by the path-finding algorithm and the candidate position point to the obstacle.
  • the position point currently processed by the road algorithm is the current position point or the candidate position point.
  • the preset driving cost when the candidate location point includes the intersection of the previous frame path of the unmanned vehicle and each sampling line, also includes a path similarity cost, and the path The similarity cost represents the similarity between the path starting from the position point currently processed by the path-finding algorithm and the path in the previous frame.
  • the path similarity cost is related to the shortest distance of the path segment between the position point currently processed by the path-finding algorithm and each adjacent position point on the path of the previous frame or the path-finding algorithm.
  • the shortest distance of the path line segment between the previous position point of the position point currently processed by the algorithm and each adjacent position point on the path of the previous frame is positively correlated.
  • screening multiple target location points arriving sequentially from the current location point from multiple candidate location points located on multiple sampling lines includes: selecting from multiple candidate location points located on multiple sampling lines. Among the position points, select a plurality of candidate position points that meet the second preset movement condition.
  • the second preset movement condition includes at least one of no collision between the position points and the candidate position point being located within the preset map range. ; Select the plurality of target position points from a plurality of candidate position points that satisfy the second preset motion condition.
  • a path planning device for autonomous driving including: a first determination module configured to determine guidance for assisting the driving of the autonomous vehicle according to the navigation path of the autonomous vehicle. line; the second determination module is configured to determine multiple sampling lines for assisting multi-layer sampling based on the guide line, with each sampling line corresponding to one layer of sampling; the sampling module is configured to determine based on the unmanned
  • the current position point of the vehicle uses vehicle dynamics related information to sample at least one candidate position point from each sampling line; the screening module is configured to filter from multiple candidate position points located on multiple sampling lines.
  • the current position point starts from a plurality of target position points that are arrived in sequence; a third determination module is configured to determine the current frame path of the unmanned vehicle based on the current position point and the plurality of target position points.
  • a path planning device for autonomous driving including: a memory; and a processor coupled to the memory, the processor being configured to based on instructions stored in the memory , execute the path planning method described in any of the above embodiments.
  • an unmanned vehicle including: the path planning device for automatic driving described in any of the above embodiments.
  • the unmanned vehicle further includes: at least one of a positioning module, a navigation module, a sensing module and a map module, wherein the positioning module is configured to send the speed and current location of the unmanned vehicle. The position coordinates of the point and the direction of the unmanned vehicle to the path planning device; the navigation module is configured to send the navigation path of the unmanned vehicle to the path planning device; the sensing module is configured to sense the unmanned vehicle. obstacles around people and vehicles, and sends the perceived obstacle information to the path planning device; the map module is configured to provide map data to the path planning device.
  • a positioning module is configured to send the speed and current location of the unmanned vehicle. The position coordinates of the point and the direction of the unmanned vehicle to the path planning device
  • the navigation module is configured to send the navigation path of the unmanned vehicle to the path planning device
  • the sensing module is configured to sense the unmanned vehicle. obstacles around people and vehicles, and sends the perceived obstacle information to the path planning device
  • the map module is configured to provide map data to the path planning device.
  • the unmanned vehicle further includes: a control module configured to receive the current frame path from the path planning device and control the unmanned vehicle to travel according to the current frame path.
  • a computer-storable medium on which computer program instructions are stored.
  • the instructions are executed by a processor, the path planning method described in any of the above embodiments is implemented.
  • Figure 1 is a flowchart illustrating a path planning method according to some embodiments of the present disclosure
  • Figure 2 is a schematic diagram illustrating determining a sampling line according to some embodiments of the present disclosure
  • Figure 3A is a schematic diagram showing the results of path planning according to a path planning method based on uniform sampling
  • Figure 3B is a schematic diagram showing the results of path planning according to the path planning method of some embodiments of the present disclosure
  • Figure 4 is a block diagram illustrating a path planning device according to some embodiments of the present disclosure.
  • Figure 5 is a block diagram illustrating a path planning device according to other embodiments of the present disclosure.
  • Figure 6 is a block diagram illustrating an autonomous vehicle according to some embodiments of the present disclosure.
  • Figure 7 is a block diagram illustrating an autonomous vehicle according to other embodiments of the present disclosure.
  • Figure 8 is a side view illustrating an autonomous vehicle according to some embodiments of the present disclosure.
  • Figure 9 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
  • any specific values are to be construed as illustrative only and not as limiting. Accordingly, other examples of the exemplary embodiments may have different values.
  • the present disclosure proposes a path planning method that can improve the stability of the planned path.
  • FIG. 1 is a flowchart illustrating a path planning method according to some embodiments of the present disclosure.
  • the path planning method for autonomous driving includes: step S110, determining the guide line for assisting the driving of the unmanned vehicle according to the navigation path of the unmanned vehicle; step S120, determining the guide line for assisting the driving according to the guide line.
  • Multiple sampling lines for multi-layer position point sampling where each sampling line corresponds to one layer of sampling; step S130, based on the current position point of the unmanned vehicle, using vehicle dynamics related information, sample from each sampling line At least one candidate position point;
  • Step S140 from multiple candidate position points located on multiple sampling lines, screen multiple target position points arriving sequentially starting from the current position point;
  • Step S150 based on the current position point and multiple targets Position point to determine the current frame path of the unmanned vehicle.
  • the path planning method is executed by a path planning device for autonomous driving.
  • the guidance line matching the navigation path is used as a reference, and vehicle dynamics related information is used to perform multi-layer sampling of candidate location points from multiple sampling lines.
  • vehicle dynamics related information is used to perform multi-layer sampling of candidate location points from multiple sampling lines.
  • a guidance line for assisting the driving of the unmanned vehicle is determined based on the navigation path of the unmanned vehicle.
  • the guide line is consistent with the direction of the navigation path and is used to guide the driving direction of the unmanned vehicle.
  • the navigation path is a lane-level navigation path
  • the guideline matching the navigation path is determined based on the lane indicated by the navigation path.
  • the coordinate points of the center line of the lane indicated by the navigation path are smoothed to obtain the guide line.
  • the leader line may be constructed based on the Frenent coordinate system.
  • the Frenet coordinate system describes the position of the unmanned vehicle relative to the road. In the Frenet coordinate system, s represents the distance along the road, which is called the ordinate, and d represents the displacement from the longitudinal line, which is called the abscissa.
  • the navigation path can be obtained from the navigation module of the unmanned vehicle.
  • step S120 multiple sampling lines used to assist in multi-layer location point sampling are determined based on the guide lines, where each sampling line corresponds to one layer of sampling. For example, multiple sampling lines start from the current position point of the unmanned vehicle and are arranged in sequence along the direction of the guide line. Multiple sampling lines are perpendicular to the leader line. In some embodiments, adjacent sampling lines are equally spaced in the direction of the leader line.
  • FIG. 2 is a schematic diagram illustrating determining a sampling line according to some embodiments of the present disclosure.
  • the mileage value curr_s of the projection point is obtained, thereby determining the position of the projection point on the guidance line.
  • the mileage value next_s of the sampling reference point of the preset step length from the current position point on the guide line to the projection point on the guide line can be determined, thereby determining the preset step length of the projection point on the guide line from the current position point.
  • Figure 2 only shows one sampling reference point. Usually, multiple sampling reference points need to be determined, and the mileage values between adjacent sampling reference points differ by a preset step.
  • the vertical line perpendicular to the guide line and intersecting the guide line at the reference sampling point is determined as the sampling line.
  • Figure 2 only shows one sampling line. Usually, multiple sampling lines need to be determined to achieve multi-layer sampling.
  • step S130 based on the current position point of the unmanned vehicle and using vehicle dynamics related information, at least one candidate position point is sampled from each sampling line.
  • the current position point of the unmanned vehicle can be obtained from the positioning module of the unmanned vehicle.
  • step S130 can be implemented in the following manner.
  • vehicle dynamics related information is used to determine at least one reference path starting from the reference position point corresponding to each sampling line.
  • the reference position point is the current position point.
  • the reference position point is each candidate position point located on the sampling line adjacent to each sampling line and close to the direction of the current position point.
  • At least one candidate position point located on each sampling line is determined based on the intersection point of each sampling line and at least one reference path.
  • vehicle dynamics-related information is used to determine the reference path that the unmanned vehicle may travel, and the intersection of the reference path and the sampling line is used to implement the process of sampling candidate location nodes from the sampling line.
  • the path accessibility of unmanned vehicles in the path planning process is further considered, thereby further improving the stability of the planned path.
  • path stability the traffic capacity of unmanned vehicles or self-driving vehicles can be improved, making it easier for downstream control modules to track trajectories, avoiding the phenomenon of drawing a dragon, reducing misjudgments by other traffic participants, reducing traffic congestion or collisions, and improving automatic control.
  • Driving safety is used to determine the reference path that the unmanned vehicle may travel, and the intersection of the reference path and the sampling line is used to implement the process of sampling candidate location nodes from the sampling line.
  • the above process of sampling candidate location points can be implemented in the following manner.
  • vehicle dynamics related information is used to determine at least one reference path starting from the current position point. Furthermore, at least one candidate position point located on the sampling line closest to the current position point is determined based on the intersection point of the sampling line closest to the current position point and at least one reference path starting from the current position point.
  • vehicle dynamics related information is used to determine at least one candidate location point starting from each candidate location point on the sampling line adjacent to each other sampling line and closest to the current location point.
  • Reference path Furthermore, based on the intersection point of each other sampling line and at least one reference path starting from each candidate location point on the sampling line adjacent to each other sampling line and closest to the current location point, determine the location at each At least one candidate location point on other sampling lines.
  • the candidate position points on each sampling line are intersection points that satisfy the first preset motion condition.
  • the first preset movement condition includes that the unmanned vehicle orientation difference between the reference position point corresponding to each sampling line and the candidate position point on each sampling line is less than or equal to the unmanned vehicle orientation difference threshold.
  • the threshold for the orientation difference of an autonomous vehicle is 90 degrees.
  • the unmanned vehicle orientation difference threshold can also be other values.
  • the vehicle dynamics related information includes vehicle dynamics attribute information or vehicle motion trajectory information.
  • vehicle dynamics attribute information or vehicle motion trajectory information can be used to determine the reference position point corresponding to each sampling line as the starting point. at least one reference path.
  • Vehicle dynamic attribute information such as orientation, unmanned vehicle turning angle, and unmanned vehicle wheelbase can determine at least one reference path starting from the reference position point corresponding to each sampling line.
  • the vehicle motion trajectory information can be determined based on the vehicle dynamic attribute information such as the preset speed of the autonomous vehicle, the orientation of the autonomous vehicle, the turning angle of the autonomous vehicle, and the wheelbase of the autonomous vehicle.
  • the reference position point corresponding to each sampling line is at least one reference path starting from the starting point.
  • the rotation angle range of the unmanned vehicle may be sampled to obtain multiple reference rotation angles.
  • Reference paths include paths under multiple reference corners. Through corner sampling, the stability of the planned path can be improved without excessive consumption of computing power, thus balancing the relationship between computing power consumption and path stability.
  • the rotation angle range is determined by preset resolution Perform sampling to obtain the unmanned vehicle corner set in, is the minimum turning angle of the unmanned vehicle, is the maximum turning angle of the unmanned vehicle.
  • Information related to vehicle dynamics can be used to determine the reference path of an unmanned vehicle at different unmanned vehicle turning angles.
  • the vehicle dynamics related information includes the preset speed of the unmanned vehicle, the direction of the unmanned vehicle, the unmanned vehicle turning angle in the sampled unmanned vehicle turning angle set, the unmanned vehicle wheelbase and other vehicle dynamics attributes. information, and determine the vehicle movement trajectory information of the unmanned vehicle based on the relationship between the vehicle dynamics attribute information and the vehicle movement trajectory information.
  • the relationship between vehicle dynamic attribute information and vehicle motion trajectory information can be represented by a bicycle model.
  • the functional relationship represented by the bicycle model is
  • is the direction of the unmanned vehicle at the current position
  • v is the preset speed of the unmanned vehicle
  • L is the unmanned vehicle wheelbase.
  • the vehicle dynamics related information includes vehicle trajectory description information, and the vehicle trajectory description information can be used to determine at least one reference path starting from the reference position point corresponding to each sampling line.
  • candidate location points include P 1 to P 7 .
  • the intersection point of the previous frame path of the unmanned vehicle and each sampling line may also be determined as a candidate position point located on each sampling line. In this way, the relationship between the selection of the target position point on the path of the current frame and the path of the previous frame of the unmanned vehicle is considered, thereby further considering the similarity of the paths, reducing path jitter, and further improving the stability of the planned path. sex.
  • the intersection point of the unmanned vehicle's path in the previous frame and the sampling line is P 8 .
  • P 8 is also added to the candidate position point set as a candidate position point.
  • step S140 multiple target location points arriving sequentially from the current location point are screened from multiple candidate location points located on multiple sampling lines.
  • a pathfinding algorithm can be used to determine multiple target location points based on the current location point, multiple candidate location points located on multiple sampling lines, and preset driving costs.
  • the stopping condition of the pathfinding algorithm includes that the mileage from the current position point to the last target position point is greater than or equal to the mileage threshold.
  • pathfinding algorithms include algorithms such as the A-star algorithm for finding the best path.
  • multiple target location points can be determined by using the candidate location point set S and the current location point as inputs to the pathfinding algorithm, and presetting the driving cost as the target constraint.
  • the preset driving cost includes at least one of a smoothness cost and a safety cost.
  • the smoothness cost is positively related to the difference in the direction of the unmanned vehicle between the position point currently processed by the path-finding algorithm and the candidate position point.
  • the safety cost is inversely related to the closest distance to the obstacle from the line segment between the position point currently processed by the pathfinding algorithm and the candidate position point.
  • the location point currently processed by the pathfinding algorithm is the current location point or candidate location point.
  • the preset driving cost when the candidate location point includes the intersection of the previous frame path of the unmanned vehicle and each sampling line, also includes a path similarity cost.
  • the path similarity cost represents the similarity between the path starting from the position point currently processed by the pathfinding algorithm and the path in the previous frame.
  • Path stability can be further improved by reflecting the similarity between the planned path of the current frame and the path of the previous frame through the path similarity cost.
  • the preset driving cost is obtained by weighting the smoothness cost, safety cost and path similarity cost.
  • the weight value used for the weighting operation includes a first weight value, a second weight value, and a third weight value.
  • the default driving cost first weight value ⁇ smoothness cost + second weight value ⁇ safety cost + third weight value ⁇ path similarity cost.
  • the first weight value, the second weight value and the third weight value are set according to the actual situation.
  • the path similarity cost is related to the shortest distance of the path segment between the position point currently processed by the path-finding algorithm and each adjacent position point on the path of the previous frame or the previous position point currently processed by the path-finding algorithm.
  • the shortest distance between a position point and each adjacent position point on the path of the previous frame is positively correlated.
  • multiple candidate position points that satisfy the second preset motion condition may be first selected from multiple candidate position points located on multiple sampling lines, where the second preset motion condition includes one of the position points. There is at least one of the following: no collision between the motions and the candidate location point being located within the preset map range. Then, select a plurality of target position points from a plurality of candidate position points that satisfy the second preset motion condition. For the process of selecting multiple target location points from multiple candidate location points that satisfy the second preset motion condition, you may refer to the above-mentioned pathfinding algorithm.
  • the obstacle information around the unmanned vehicle or self-driving vehicle can be obtained from the perception module of the unmanned vehicle to determine whether the movement between location points is collision-free.
  • the path from the current position point c to P 1 passes through obstacles, so the candidate position point P 1 will be deleted from the candidate position point set S.
  • the map data can be obtained from the map module of the unmanned vehicle, and based on the preset map range, it can be determined whether the position of the candidate location point in the map data is within the preset map range.
  • the current frame path of the unmanned vehicle is determined based on the current position point and multiple target position points.
  • the initial path composed of the current position point and multiple target position points is smoothed to obtain the current frame path of the unmanned vehicle.
  • the current frame path is also called a trajectory.
  • the trajectory consists of a series of trajectory points arranged from first to last according to relative time.
  • the trajectory point information includes but is not limited to coordinates, speed, acceleration, orientation, relative time, etc.
  • FIG. 3A is a schematic diagram showing the results of path planning according to the path planning method based on uniform sampling.
  • FIG. 3B is a schematic diagram showing the results of path planning according to the path planning method of some embodiments of the present disclosure.
  • Figure 3A shows the changes in the position coordinates of each path point obtained by path planning based on the path planning method based on uniform sampling.
  • Figure 3B shows the changes in the position coordinates of each path point obtained by path planning according to the path planning method of some embodiments of the present disclosure.
  • the x-axis and y-axis together constitute the position coordinates of the path point.
  • FIG. 4 is a block diagram illustrating a path planning device according to some embodiments of the present disclosure.
  • the path planning device 41 for automatic driving includes a first determination module 411 , a second determination module 412 , a sampling module 413 , a filtering module 414 and a third determination module 415 .
  • the first determination module 411 is configured to determine the guidance line for assisting the driving of the unmanned vehicle according to the navigation path of the unmanned vehicle, for example, performing step S110 as shown in FIG. 1 .
  • the second determination module 412 is configured to determine multiple sampling lines for assisting multi-layer sampling according to the guide line, and each sampling line corresponds to one layer of sampling, for example, performing step S120 as shown in FIG. 1 .
  • the sampling module 413 is configured to sample at least one candidate position point from each sampling line based on the current position point of the unmanned vehicle using vehicle dynamics related information, for example, performing step S130 as shown in Figure 1 .
  • the screening module 414 is configured to screen multiple target location points arriving sequentially from the current location point from multiple candidate location points located on multiple sampling lines, for example, performing step S140 as shown in FIG. 1 .
  • the third determination module 415 is configured to determine the current frame path of the unmanned vehicle based on the current location point and multiple target location points, for example, performing step S150 as shown in Figure 1 .
  • the third determination module 315 includes an initial path determination module and a path smoothing module.
  • the initial path determination module is configured to determine an initial path composed of a current location point and a plurality of target location points.
  • the path smoothing module is configured to smooth the initial path composed of the current position point and multiple target position points to obtain the current frame path of the unmanned vehicle.
  • FIG. 5 is a block diagram illustrating a path planning device according to other embodiments of the present disclosure.
  • the path planning device 51 for autonomous driving includes a memory 511; and a processor 512 coupled to the memory 511.
  • the memory 511 is used to store instructions for executing corresponding embodiments of the path planning method.
  • the processor 512 is configured to execute the path planning method in any embodiment of the present disclosure based on instructions stored in the memory 511 .
  • Figure 6 is a block diagram illustrating an autonomous vehicle according to some embodiments of the present disclosure.
  • the unmanned vehicle 6 includes a path planning device 61 .
  • the path planning device 61 is configured to execute the path planning method in any embodiment of the present disclosure.
  • the path planning device 61 and the path planning device 41 or 51 have the same or similar structure or function.
  • the unmanned vehicle 6 further includes a positioning module 62 .
  • the positioning module 62 is configured to send the speed of the unmanned vehicle, the position coordinates of the current location point, and the direction of the unmanned vehicle to the path planning device 61 .
  • the speed of an autonomous vehicle is a preset speed.
  • the unmanned vehicle 6 further includes a navigation module 63 .
  • the navigation module 63 is configured to send the navigation path of the unmanned vehicle to the path planning device 61 .
  • the unmanned vehicle 6 further includes a map module 64 .
  • the map module 64 is configured to provide map data to the route planning device 61 .
  • the unmanned vehicle 6 further includes a sensing module 65 .
  • the sensing module 65 is configured to sense obstacles around the unmanned vehicle and send the perceived obstacle information to the path planning device 61 .
  • the sensing module 65 is also configured to sense traffic light information and the like.
  • the unmanned vehicle 6 further includes a control module 66 .
  • the control module 66 is configured to receive the current frame path from the path planning device 61 and control the unmanned vehicle to travel according to the current frame path.
  • FIG. 7 is a block diagram illustrating an autonomous vehicle according to other embodiments of the present disclosure.
  • the unmanned vehicle 7 mainly includes four parts: an automatic driving module 71, a chassis module 72, a remote monitoring flow module 73, and a cargo box module 74.
  • the automatic driving module 71 includes an automatic driving sensor and core processing unit (Orin or Xavier module) component 711, a traffic light recognition camera 712, front, rear, left and right surround cameras 7131, 7132, 7133, 7134, a multi-line laser radar 714, and a positioning module 715 (such as Beidou, GPS, etc.), inertial navigation unit 716.
  • the camera and the autonomous driving module can communicate.
  • GMSL link communication can be used.
  • the automatic driving sensor and core processing unit (Orin or Xavier module) component 711 includes the path planning device in any embodiment of the present disclosure and is configured to execute the path planning method in any embodiment of the present disclosure.
  • the autonomous driving module 71 also includes a switch 717 and front, rear, left and right blinding radars 7181, 7182, 7183, and 7184.
  • the chassis module 72 mainly includes a battery 721, a power management device 722, a chassis controller 723, a motor driver 724, and a power motor 725.
  • the battery 721 provides power for the entire unmanned vehicle system, and the power management device 722 converts the battery output into voltages of different levels that can be used by each functional module, and controls power on and off.
  • the chassis controller 723 receives movement instructions issued by the automatic driving module and controls the steering, forward, backward, braking, etc. of the unmanned vehicle. For example, the motion instruction is determined by the control module 66 shown in FIG. 6 according to the current frame path.
  • Chassis module 72 also includes main battery 726 .
  • the remote monitoring streaming module 73 is composed of a front surveillance camera 731, a rear surveillance camera 732, a left surveillance camera 733, a right surveillance camera 734 and a streaming module 734. This module transmits the video data collected by the surveillance cameras to the background server for background operations. Personnel viewing.
  • the cargo box module 74 is a cargo carrying device for the unmanned vehicle and includes a delivery box 741 .
  • the cargo box module 74 is also provided with a display interaction module 742.
  • the display interaction module 742 is used for the unmanned vehicle to interact with the user.
  • the user can perform operations such as picking up, depositing, and purchasing goods through the display interaction module.
  • the type of cargo box can be changed according to actual needs. For example, in a logistics scenario, a cargo box can include multiple sub-boxes of different sizes, and the sub-boxes can be used to load goods for distribution. In a retail scenario, the cargo box can be set up as a transparent box so that users can intuitively see the products for sale.
  • Carton module 74 also includes antenna 743 .
  • the chassis module 72 also includes a wireless communication module 727.
  • the wireless communication module 727 communicates with the backend server through the antenna 743, allowing the backend operator to remotely control the unmanned vehicle.
  • Figure 8 is a side view illustrating an autonomous vehicle according to some embodiments of the present disclosure.
  • the unmanned vehicle includes a display interaction module 81, a chassis 82, a left blind filling radar 83, a right blind filling radar 84, a rear blind filling radar 85, a laser radar 86, a right camera 87, and a cargo box. 88.
  • the functions of the interactive module 81, chassis 82, left blind filling radar 83, right blind filling radar 84, rear blind filling radar 85, lidar 86, right camera 87, and cargo box 88 can be referred to the description in Figure 7. No further details will be given here.
  • Figure 9 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
  • Computer system 90 may be embodied in the form of a general purpose computing device.
  • Computer system 90 includes memory 910, a processor 920, and a bus 900 that connects various system components.
  • Memory 910 may include, for example, system memory, non-volatile storage media, and the like.
  • System memory stores, for example, operating systems, applications, boot loaders, and other programs.
  • System memory may include volatile storage media such as random access memory (RAM) and/or cache memory.
  • RAM random access memory
  • the non-volatile storage medium stores, for example, instructions for executing corresponding embodiments of the path planning method.
  • Non-volatile storage media includes but is not limited to disk storage, optical storage, flash memory, etc.
  • the processor 920 may be implemented as a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete hardware components such as discrete gates or transistors.
  • each module such as the judgment module and the determination module, can be implemented by instructions in the central processing unit (CPU) running memory to perform the corresponding steps, or by dedicated circuits that perform the corresponding steps.
  • Bus 900 may use any of a variety of bus structures.
  • bus structures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, and Peripheral Component Interconnect (PCI) bus.
  • ISA Industry Standard Architecture
  • MCA Micro Channel Architecture
  • PCI Peripheral Component Interconnect
  • the computer system 90 may also include an input/output interface 930, a network interface 940, a storage interface 950, etc. These interfaces 930, 940, 950, the memory 910 and the processor 920 may be connected through a bus 900.
  • the input and output interface 930 can provide a connection interface for input and output devices such as a monitor, mouse, and keyboard.
  • Network interface 940 provides a connection interface for various networked devices.
  • the storage interface 950 provides a connection interface for external storage devices such as floppy disks, USB disks, and SD cards.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable device to produce a machine, such that execution of the instructions by the processor produces implementations in one or more blocks of the flowcharts and/or block diagrams.
  • a device with specified functions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable device to produce a machine, such that execution of the instructions by the processor produces implementations in one or more blocks of the flowcharts and/or block diagrams.
  • Computer-readable program instructions which may also be stored in computer-readable memory, cause the computer to operate in a specific manner to produce an article of manufacture, including implementing the functions specified in one or more blocks of the flowcharts and/or block diagrams. instructions.
  • the disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects.
  • the stability of the planned path can be improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

A path planning method and apparatus, an autonomous vehicle, and a computer-readable storage medium. The path planning method comprises: according to a navigation path of an autonomous vehicle, determining a guide line used for assisting in driving the autonomous vehicle (S110); according to the guide line, determining a plurality of sampling lines for assisting in multi-layer position point sampling, each sampling line corresponding to sampling of one layer of position points (S120); on the basis of a current position point of the autonomous vehicle, sampling at least one candidate position point from each sampling line by using information related to vehicle dynamics (S130); from the plurality of candidate position points located on the plurality of sampling lines, screening out a plurality of target position points at which the autonomous vehicle successively arrives from the current position point (S140); and according to the current position point and the plurality of target position points, determining a current frame path of the autonomous vehicle (S150). The path planning method can improve the stability of a planned path.

Description

路径规划方法及装置、无人车Path planning method and device, unmanned vehicle
相关申请的交叉引用Cross-references to related applications
本申请是以CN申请号为202210528039.5,申请日为2022年5月16日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。This application is based on the application with CN application number 202210528039.5 and the filing date is May 16, 2022, and claims its priority. The disclosure content of the CN application is hereby incorporated into this application as a whole.
技术领域Technical field
本公开涉及计算机技术领域,尤其涉及无人驾驶领域,特别涉及路径规划方法及装置、无人车、计算机可存储介质。The present disclosure relates to the field of computer technology, particularly to the field of unmanned driving, and in particular to path planning methods and devices, unmanned vehicles, and computer storage media.
背景技术Background technique
目前,自动驾驶设备用于将人或者物从一个位置自动运送到另一个位置,自动驾驶设备通过设备上的传感器采集环境信息并完成自动运送。基于自动驾驶技术控制的无人配送车进行物流运输极大地提高了生产生活的便捷性,节约了人力成本。在自动驾驶领域,路径规划任务是一项基础任务。Currently, autonomous driving equipment is used to automatically transport people or objects from one location to another. The autonomous driving equipment collects environmental information through sensors on the equipment and completes automatic transportation. Logistics and transportation using unmanned delivery vehicles controlled by autonomous driving technology has greatly improved the convenience of production and life and saved labor costs. In the field of autonomous driving, path planning is a basic task.
相关技术中,在自动驾驶领域的路径规划过程中,采用均匀采样的方式获取候选位置点,并从候选位置点中筛选多个目标位置点,进而根据自动驾驶设备的当前位置点和多个目标位置点,确定自动驾驶设备的当前帧路径。In related technology, in the path planning process in the field of autonomous driving, candidate location points are obtained using uniform sampling, and multiple target location points are screened from the candidate location points, and then based on the current location point of the autonomous driving device and multiple targets Position points determine the current frame path of the autonomous driving device.
发明内容Contents of the invention
根据本公开的第一方面,提供了一种用于自动驾驶的路径规划方法,包括:根据无人车的导航路径,确定用于辅助所述无人车行驶的指引线;根据所述指引线,确定用于辅助进行多层位置点采样的多条采样线,每条采样线对应一层位置点采样;基于所述无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点;从位于多条采样线上的多个候选位置点中,筛选从所述当前位置点出发依次到达的多个目标位置点;根据所述当前位置点和所述多个目标位置点,确定所述无人车的当前帧路径。According to a first aspect of the present disclosure, a path planning method for autonomous driving is provided, including: determining a guide line for assisting the driving of the unmanned vehicle according to the navigation path of the unmanned vehicle; , determine multiple sampling lines used to assist multi-layer position point sampling, each sampling line corresponds to a layer of position point sampling; based on the current position point of the unmanned vehicle, using vehicle dynamics related information, from each sampling line Sampling on the line obtains at least one candidate position point; from multiple candidate position points located on multiple sampling lines, screen multiple target position points arriving sequentially starting from the current position point; according to the current position point and the The multiple target position points are used to determine the current frame path of the unmanned vehicle.
在一些实施例中,基于所述当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点包括:对于每条采样线,利用车辆动力学相关信 息,确定以与所述每条采样线对应的参考位置点为起点的至少一条参考路径,其中,在所述每条采样线为与所述当前位置点的距离最近的采样线的情况下,所述参考位置点为所述当前位置点,在所述每条采样线为其他采样线的情况下,所述参考位置点为位于与所述每条采样线相邻且靠近所述当前位置点方向的采样线上的每个候选位置点;根据所述每条采样线与所述至少一条参考路径的交点,确定位于所述每条采样线上的至少一个候选位置点。In some embodiments, based on the current position point, using vehicle dynamics related information, sampling from each sampling line to obtain at least one candidate position point includes: for each sampling line, using vehicle dynamics related information, determining The reference position point corresponding to each sampling line is at least one reference path starting from the starting point, wherein, when each sampling line is the sampling line closest to the current position point, the reference position The point is the current position point. When each sampling line is another sampling line, the reference position point is a sampling line located adjacent to each sampling line and close to the direction of the current position point. each candidate position point on the; determine at least one candidate position point located on each sampling line according to the intersection point of each sampling line and the at least one reference path.
在一些实施例中,对于与所述当前位置点的距离最近的采样线,利用车辆动力学相关信息,确定以所述当前位置点为起点的至少一条参考路径;根据与所述当前位置点的距离最近的采样线与以所述当前位置点为起点的至少一条参考路径的交点,确定位于与所述当前位置点的距离最近的采样线上的至少一个候选位置点;对于每条其他采样线,利用所述车辆动力学相关信息,确定以位于与所述每条其他采样线相邻且与所述当前位置点的距离最近的采样线上的每个候选位置点为起点的至少一条参考路径;根据所述每条其他采样线与以位于与所述每条其他采样线相邻且与所述当前位置点的距离最近的采样线上的每个候选位置点为起点的至少一条参考路径的交点,确定位于所述每条其他采样线上的至少一个候选位置点。In some embodiments, for the sampling line closest to the current position point, vehicle dynamics related information is used to determine at least one reference path starting from the current position point; according to the distance between the current position point and the sampling line The intersection point of the nearest sampling line and at least one reference path starting from the current position point determines at least one candidate position point located on the sampling line closest to the current position point; for each other sampling line , using the vehicle dynamics related information to determine at least one reference path starting from each candidate position point on the sampling line adjacent to each other sampling line and closest to the current position point ; According to each other sampling line and at least one reference path starting from each candidate position point on the sampling line adjacent to each other sampling line and closest to the current position point The intersection point determines at least one candidate position point located on each of the other sampling lines.
在一些实施例中,所述车辆动力学相关信息包括车辆动力学属性信息或者车辆运动轨迹信息,利用车辆动力学相关信息,确定以与所述每条采样线对应的参考位置点为起点的至少一条参考路径包括:利用所述车辆动力学属性信息或车辆运动轨迹信息,确定以与所述每条采样线对应的参考位置点为起点的至少一条参考路径。In some embodiments, the vehicle dynamics-related information includes vehicle dynamics attribute information or vehicle motion trajectory information. The vehicle dynamics-related information is used to determine at least one point starting from the reference position point corresponding to each sampling line. A reference path includes: using the vehicle dynamics attribute information or vehicle motion trajectory information to determine at least one reference path starting from the reference position point corresponding to each of the sampling lines.
在一些实施例中,路径规划方法,还包括:对所述无人车的转角范围进行采样,得到多个参考转角,其中,所述参考路径包括在所述多个参考转角下的路径。In some embodiments, the path planning method further includes: sampling the angle range of the unmanned vehicle to obtain multiple reference angles, wherein the reference path includes a path under the multiple reference angles.
在一些实施例中,基于所述无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点还包括:对于每条采样线,确定所述无人车的上一帧路径与所述每条采样线的交点为位于所述每条采样线上的候选位置点。In some embodiments, based on the current position point of the unmanned vehicle, using vehicle dynamics related information, sampling from each sampling line to obtain at least one candidate position point further includes: for each sampling line, determining the unmanned vehicle. The intersection point of the previous frame path of the person and vehicle and each of the sampling lines is a candidate position point located on each of the sampling lines.
在一些实施例中,每条采样线上的候选位置点为满足第一预设运动条件的交点,所述第一预设运动条件包括与所述每条采样线对应的参考位置点与所述每条采样线上的候选位置点之间的无人车朝向差小于或等于无人车朝向差阈值。In some embodiments, the candidate position point on each sampling line is an intersection point that satisfies a first preset motion condition. The first preset motion condition includes a reference position point corresponding to each sampling line and the The unmanned vehicle orientation difference between the candidate location points on each sampling line is less than or equal to the unmanned vehicle orientation difference threshold.
在一些实施例中,从位于多条采样线上的多个候选位置点中,筛选从所述当前位置点出发依次到达的多个目标位置点包括:根据所述当前位置点、位于所述多条采样 线上的多个候选位置点和预设行驶代价,利用寻路算法,确定所述多个目标位置点,其中,所述寻路算法的停止条件包括从所述当前位置点出发到达最后一个目标位置点的里程大于或等于里程阈值。In some embodiments, screening multiple target location points arriving sequentially from the current location point from multiple candidate location points located on multiple sampling lines includes: based on the current location point, located on the multiple Multiple candidate location points and preset driving costs on a sampling line are used to determine the multiple target location points using a path-finding algorithm, where the stopping conditions of the path-finding algorithm include starting from the current location point and arriving at the last The mileage of a target location point is greater than or equal to the mileage threshold.
在一些实施例中,所述预设行驶代价包括平滑性代价和安全性代价中的至少一种,其中,所述平滑性代价与所述寻路算法当前处理的位置点和所述候选位置点之间的无人车朝向差成正相关,所述安全性代价与所述寻路算法当前处理的位置点和所述候选位置点之间的线段到障碍物的最近距离成负相关,所述寻路算法当前处理的位置点为所述当前位置点或所述候选位置点。In some embodiments, the preset driving cost includes at least one of a smoothness cost and a safety cost, wherein the smoothness cost is related to the location point currently processed by the path-finding algorithm and the candidate location point. There is a positive correlation between the direction difference of the unmanned vehicle between the two, and the safety cost is negatively correlated with the shortest distance from the line segment between the position point currently processed by the path-finding algorithm and the candidate position point to the obstacle. The position point currently processed by the road algorithm is the current position point or the candidate position point.
在一些实施例中,在所述候选位置点包括所述无人车的上一帧路径与每条采样线的交点的情况下,所述预设行驶代价还包括路径相似性代价,所述路径相似性代价表征从所述寻路算法当前处理的位置点出发的路径与所述上一帧路径之间的相似度。In some embodiments, when the candidate location point includes the intersection of the previous frame path of the unmanned vehicle and each sampling line, the preset driving cost also includes a path similarity cost, and the path The similarity cost represents the similarity between the path starting from the position point currently processed by the path-finding algorithm and the path in the previous frame.
在一些实施例中,所述路径相似性代价与所述寻路算法当前处理的位置点到所述上一帧路径上的各个相邻位置点之间的路径线段的最短距离或者所述寻路算法当前处理的位置点的前一位置点到所述上一帧路径上的各个相邻位置点之间的路径线段的最短距离成正相关。In some embodiments, the path similarity cost is related to the shortest distance of the path segment between the position point currently processed by the path-finding algorithm and each adjacent position point on the path of the previous frame or the path-finding algorithm. The shortest distance of the path line segment between the previous position point of the position point currently processed by the algorithm and each adjacent position point on the path of the previous frame is positively correlated.
在一些实施例中,从位于多条采样线上的多个候选位置点中,筛选从所述当前位置点出发依次到达的多个目标位置点包括:从位于多条采样线上的多个候选位置点中,选择多个满足第二预设运动条件的候选位置点,所述第二预设运动条件包括位置点之间运动无碰撞和候选位置点位于预设地图范围内中的至少一种;从多个满足第二预设运动条件的候选位置点中,选择所述多个目标位置点。In some embodiments, screening multiple target location points arriving sequentially from the current location point from multiple candidate location points located on multiple sampling lines includes: selecting from multiple candidate location points located on multiple sampling lines. Among the position points, select a plurality of candidate position points that meet the second preset movement condition. The second preset movement condition includes at least one of no collision between the position points and the candidate position point being located within the preset map range. ; Select the plurality of target position points from a plurality of candidate position points that satisfy the second preset motion condition.
根据本公开第二方面,提供了一种用于自动驾驶的路径规划装置,包括:第一确定模块,被配置为根据无人车的导航路径,确定用于辅助所述无人车行驶的指引线;第二确定模块,被配置为根据所述指引线,确定用于辅助进行多层采样的多条采样线,每条采样线对应一层采样;采样模块,被配置为基于所述无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点;筛选模块,被配置为从位于多条采样线上的多个候选位置点中,筛选从所述当前位置点出发依次到达的多个目标位置点;第三确定模块,被配置为根据所述当前位置点和所述多个目标位置点,确定所述无人车的当前帧路径。According to a second aspect of the present disclosure, a path planning device for autonomous driving is provided, including: a first determination module configured to determine guidance for assisting the driving of the autonomous vehicle according to the navigation path of the autonomous vehicle. line; the second determination module is configured to determine multiple sampling lines for assisting multi-layer sampling based on the guide line, with each sampling line corresponding to one layer of sampling; the sampling module is configured to determine based on the unmanned The current position point of the vehicle uses vehicle dynamics related information to sample at least one candidate position point from each sampling line; the screening module is configured to filter from multiple candidate position points located on multiple sampling lines. The current position point starts from a plurality of target position points that are arrived in sequence; a third determination module is configured to determine the current frame path of the unmanned vehicle based on the current position point and the plurality of target position points.
根据本公开第三方面,提供了一种用于自动驾驶的路径规划装置,包括:存储器;以及耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器的指令,执行上述任一实施例所述的路径规划方法。According to a third aspect of the present disclosure, a path planning device for autonomous driving is provided, including: a memory; and a processor coupled to the memory, the processor being configured to based on instructions stored in the memory , execute the path planning method described in any of the above embodiments.
根据本公开的第四方面,提供了一种无人车,包括:上述任一实施例所述的用于自动驾驶的路径规划装置。According to a fourth aspect of the present disclosure, an unmanned vehicle is provided, including: the path planning device for automatic driving described in any of the above embodiments.
在一些实施例中,无人车,还包括:定位模块、导航模块、感知模块和地图模块中的至少一种,其中,所述定位模块被配置为发送所述无人车的速度、当前位置点的位置坐标以及无人车朝向到所述路径规划装置;所述导航模块被配置为发送所述无人车的导航路径到所述路径规划装置;所述感知模块被配置为感知所述无人车周围的障碍物,并将感知的障碍物信息发送到所述路径规划装置;所述地图模块被配置为向所述路径规划装置提供地图数据。In some embodiments, the unmanned vehicle further includes: at least one of a positioning module, a navigation module, a sensing module and a map module, wherein the positioning module is configured to send the speed and current location of the unmanned vehicle. The position coordinates of the point and the direction of the unmanned vehicle to the path planning device; the navigation module is configured to send the navigation path of the unmanned vehicle to the path planning device; the sensing module is configured to sense the unmanned vehicle. obstacles around people and vehicles, and sends the perceived obstacle information to the path planning device; the map module is configured to provide map data to the path planning device.
在一些实施例中,无人车,还包括:控制模块,被配置为接收来自所述路径规划装置的当前帧路径,并控制所述无人车按照所述当前帧路径行驶。In some embodiments, the unmanned vehicle further includes: a control module configured to receive the current frame path from the path planning device and control the unmanned vehicle to travel according to the current frame path.
根据本公开的第五方面,提供了一种计算机可存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现上述任一实施例所述的路径规划方法。According to a fifth aspect of the present disclosure, a computer-storable medium is provided, on which computer program instructions are stored. When the instructions are executed by a processor, the path planning method described in any of the above embodiments is implemented.
附图说明Description of the drawings
构成说明书的一部分的附图描述了本公开的实施例,并且连同说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and, together with the description, serve to explain principles of the disclosure.
参照附图,根据下面的详细描述,可以更加清楚地理解本公开,其中:The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
图1是示出根据本公开一些实施例的路径规划方法的流程图;Figure 1 is a flowchart illustrating a path planning method according to some embodiments of the present disclosure;
图2是示出根据本公开一些实施例的确定采样线的示意图;Figure 2 is a schematic diagram illustrating determining a sampling line according to some embodiments of the present disclosure;
图3A是示出根据基于均匀采样的路径规划方法进行路径规划的结果示意图;Figure 3A is a schematic diagram showing the results of path planning according to a path planning method based on uniform sampling;
图3B是示出根据本公开一些实施例的路径规划方法进行路径规划的结果示意图;Figure 3B is a schematic diagram showing the results of path planning according to the path planning method of some embodiments of the present disclosure;
图4是示出根据本公开一些实施例的路径规划装置的框图;Figure 4 is a block diagram illustrating a path planning device according to some embodiments of the present disclosure;
图5是示出根据本公开另一些实施例的路径规划装置的框图;Figure 5 is a block diagram illustrating a path planning device according to other embodiments of the present disclosure;
图6是示出根据本公开一些实施例的无人车的框图;Figure 6 is a block diagram illustrating an autonomous vehicle according to some embodiments of the present disclosure;
图7是示出根据本公开另一些实施例的无人车的框图;Figure 7 is a block diagram illustrating an autonomous vehicle according to other embodiments of the present disclosure;
图8是示出根据本公开一些实施例的无人车的侧视图;Figure 8 is a side view illustrating an autonomous vehicle according to some embodiments of the present disclosure;
图9是示出用于实现本公开一些实施例的计算机系统的框图。Figure 9 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
具体实施方式Detailed ways
现在将参照附图来详细描述本公开的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本公开的范围。Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions, and numerical values set forth in these examples do not limit the scope of the disclosure unless otherwise specifically stated.
同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。At the same time, it should be understood that, for convenience of description, the dimensions of various parts shown in the drawings are not drawn according to actual proportional relationships.
以下对至少一个示例性实施例的描述实际上仅仅是说明性的,决不作为对本公开及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application or uses.
对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods and devices should be considered a part of the specification.
在这里示出和讨论的所有示例中,任何具体值应被解释为仅仅是示例性的,而不是作为限制。因此,示例性实施例的其它示例可以具有不同的值。In all examples shown and discussed herein, any specific values are to be construed as illustrative only and not as limiting. Accordingly, other examples of the exemplary embodiments may have different values.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that similar reference numerals and letters refer to similar items in the following figures, so that once an item is defined in one figure, it does not need further discussion in subsequent figures.
相关技术中,采用均匀采样的方式获取候选位置点,路径可达性较差,容易导致路径抖动。基于此,本公开提出了一种路径规划方法,可以提高所规划路径的稳定性。In related technologies, uniform sampling is used to obtain candidate location points, but path accessibility is poor and may easily lead to path jitter. Based on this, the present disclosure proposes a path planning method that can improve the stability of the planned path.
图1是示出根据本公开一些实施例的路径规划方法的流程图。FIG. 1 is a flowchart illustrating a path planning method according to some embodiments of the present disclosure.
如图1所示,用于自动驾驶的路径规划方法包括:步骤S110,根据无人车的导航路径,确定用于辅助无人车行驶的指引线;步骤S120,根据指引线,确定用于辅助进行多层位置点采样的多条采样线,其中,每条采样线对应一层采样;步骤S130,基于无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点;步骤S140,从位于多条采样线上的多个候选位置点中,筛选从当前位置点出发依次到达的多个目标位置点;步骤S150,根据当前位置点和多个目标位置点,确定无人车的当前帧路径。在一些实施例中,路径规划方法由用于自动驾驶的路径规划装置执行。As shown in Figure 1, the path planning method for autonomous driving includes: step S110, determining the guide line for assisting the driving of the unmanned vehicle according to the navigation path of the unmanned vehicle; step S120, determining the guide line for assisting the driving according to the guide line. Multiple sampling lines for multi-layer position point sampling, where each sampling line corresponds to one layer of sampling; step S130, based on the current position point of the unmanned vehicle, using vehicle dynamics related information, sample from each sampling line At least one candidate position point; Step S140, from multiple candidate position points located on multiple sampling lines, screen multiple target position points arriving sequentially starting from the current position point; Step S150, based on the current position point and multiple targets Position point to determine the current frame path of the unmanned vehicle. In some embodiments, the path planning method is executed by a path planning device for autonomous driving.
在上述实施例中,以与导航路径相匹配的指引线为参考,利用车辆动力学相关信息,从多条采样线上进行候选位置点的多层采样。通过指引线与车辆动力学相关信息 的结合进行多层采样的方式,考虑了候选位置点的无人车可达性,从而可以进一步提升所规划路径的稳定性。In the above embodiment, the guidance line matching the navigation path is used as a reference, and vehicle dynamics related information is used to perform multi-layer sampling of candidate location points from multiple sampling lines. By combining guide lines and vehicle dynamics-related information for multi-layer sampling, the accessibility of unmanned vehicles at candidate location points is considered, which can further improve the stability of the planned path.
在步骤S110中,根据无人车的导航路径,确定用于辅助无人车行驶的指引线。指引线与导航路径的方向一致,用于指引无人车的行驶方向。在一些实施例中,导航路径为车道级别的导航路径,与导航路径相匹配的指引线根据导航路径所指示的车道确定。例如,对导航路径所指示的车道的中心线的坐标点进行平滑得到指引线。在一些实施例中,指引线可以基于Frenent坐标系构建。Frenet坐标系描述了无人车相对于道路的位置,在Frenet坐标系中,s代表沿道路的距离称为纵坐标,d表示与纵向线的位移称为横坐标。In step S110, a guidance line for assisting the driving of the unmanned vehicle is determined based on the navigation path of the unmanned vehicle. The guide line is consistent with the direction of the navigation path and is used to guide the driving direction of the unmanned vehicle. In some embodiments, the navigation path is a lane-level navigation path, and the guideline matching the navigation path is determined based on the lane indicated by the navigation path. For example, the coordinate points of the center line of the lane indicated by the navigation path are smoothed to obtain the guide line. In some embodiments, the leader line may be constructed based on the Frenent coordinate system. The Frenet coordinate system describes the position of the unmanned vehicle relative to the road. In the Frenet coordinate system, s represents the distance along the road, which is called the ordinate, and d represents the displacement from the longitudinal line, which is called the abscissa.
在一些实施例中,可以从无人车的导航模块获取到导航路径。In some embodiments, the navigation path can be obtained from the navigation module of the unmanned vehicle.
在步骤S120中,根据所述指引线,确定用于辅助进行多层位置点采样的多条采样线,其中,每条采样线对应一层采样。例如,多条采样线从无人车的当前位置点出发且沿着指引线的方向依次排列。多条采样线均与指引线垂直。在一些实施例中,相邻采样线在指引线方向上的间隔相同。In step S120, multiple sampling lines used to assist in multi-layer location point sampling are determined based on the guide lines, where each sampling line corresponds to one layer of sampling. For example, multiple sampling lines start from the current position point of the unmanned vehicle and are arranged in sequence along the direction of the guide line. Multiple sampling lines are perpendicular to the leader line. In some embodiments, adjacent sampling lines are equally spaced in the direction of the leader line.
图2是示出根据本公开一些实施例的确定采样线的示意图。FIG. 2 is a schematic diagram illustrating determining a sampling line according to some embodiments of the present disclosure.
如图2所示,无人车的当前位置点c投影到指引线上后,得到投影点的里程值curr_s,从而确定投影点在指引线上的位置。按照预设步长,可以确定距离当前位置点在指引线上的投影点预设步长的采样参考点的里程值next_s,从而确定距离当前位置点在指引线上的投影点预设步长的采样参考点在指引线上的位置。图2仅示出了一个采样参考点,通常情况下,需要确定多个采样参考点,相邻采样参考点之间的里程值相差预设步长。As shown in Figure 2, after the current position point c of the unmanned vehicle is projected onto the guidance line, the mileage value curr_s of the projection point is obtained, thereby determining the position of the projection point on the guidance line. According to the preset step size, the mileage value next_s of the sampling reference point of the preset step length from the current position point on the guide line to the projection point on the guide line can be determined, thereby determining the preset step length of the projection point on the guide line from the current position point. The position of the sampling reference point on the leader line. Figure 2 only shows one sampling reference point. Usually, multiple sampling reference points need to be determined, and the mileage values between adjacent sampling reference points differ by a preset step.
在确定参考采样点在指引线上的位置后,将垂直于指引线且与指引线相交于参考采样点的垂直线,确定为采样线。图2仅示出了一条采样线,通常情况下需要确定多条采样线,以实现多层采样。After determining the position of the reference sampling point on the guide line, the vertical line perpendicular to the guide line and intersecting the guide line at the reference sampling point is determined as the sampling line. Figure 2 only shows one sampling line. Usually, multiple sampling lines need to be determined to achieve multi-layer sampling.
在步骤S130中,基于无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点。例如,无人车的当前位置点可以从无人车的定位模块获取。In step S130, based on the current position point of the unmanned vehicle and using vehicle dynamics related information, at least one candidate position point is sampled from each sampling line. For example, the current position point of the unmanned vehicle can be obtained from the positioning module of the unmanned vehicle.
在一些实施例中,可以通过如下方式实现上述步骤S130。In some embodiments, the above step S130 can be implemented in the following manner.
首先,对于每条采样线,利用车辆动力学相关信息,确定以与每条采样线对应的参考位置点为起点的至少一条参考路径。在每条采样线为与当前位置点的距离最近的采样线的情况下,参考位置点为当前位置点。在每条采样线为其他采样线的情况下,参考位置点为位于与每条采样线相邻且靠近当前位置点方向的采样线上的每个候选位置点。First, for each sampling line, vehicle dynamics related information is used to determine at least one reference path starting from the reference position point corresponding to each sampling line. When each sampling line is the sampling line closest to the current position point, the reference position point is the current position point. In the case where each sampling line is another sampling line, the reference position point is each candidate position point located on the sampling line adjacent to each sampling line and close to the direction of the current position point.
然后,根据每条采样线与至少一条参考路径的交点,确定位于每条采样线上的至少一个候选位置点。Then, at least one candidate position point located on each sampling line is determined based on the intersection point of each sampling line and at least one reference path.
在上述实施例中,通过利用车辆动力学相关信息确定无人车可能会行驶的参考路径,利用参考路径和采样线的交点实现从采样线上采样候选位置节点的过程。通过这种方式,进一步考虑了无人车在路径规划过程中的路径可达性,从而进一步提高了所规划的路径稳定性。通过提升路径稳定性,可以提高无人车或自动驾驶车辆的通行能力,便于下游控制模块跟踪轨迹,避免产生画龙现象,减少其他交通参与者的误判情况,减少交通拥堵或碰撞,提高自动驾驶安全性。In the above embodiment, vehicle dynamics-related information is used to determine the reference path that the unmanned vehicle may travel, and the intersection of the reference path and the sampling line is used to implement the process of sampling candidate location nodes from the sampling line. In this way, the path accessibility of unmanned vehicles in the path planning process is further considered, thereby further improving the stability of the planned path. By improving path stability, the traffic capacity of unmanned vehicles or self-driving vehicles can be improved, making it easier for downstream control modules to track trajectories, avoiding the phenomenon of drawing a dragon, reducing misjudgments by other traffic participants, reducing traffic congestion or collisions, and improving automatic control. Driving safety.
在一些实施例中,可以通过如下方式实现上述采样候选位置点的过程。In some embodiments, the above process of sampling candidate location points can be implemented in the following manner.
首先,对于与当前位置点的距离最近的采样线,利用车辆动力学相关信息,确定以当前位置点为起点的至少一条参考路径。进而,根据与当前位置点的距离最近的采样线与以当前位置点为起点的至少一条参考路径的交点,确定位于与当前位置点的距离最近的采样线上的至少一个候选位置点。First, for the sampling line closest to the current position point, vehicle dynamics related information is used to determine at least one reference path starting from the current position point. Furthermore, at least one candidate position point located on the sampling line closest to the current position point is determined based on the intersection point of the sampling line closest to the current position point and at least one reference path starting from the current position point.
然后,对于每条其他采样线,利用车辆动力学相关信息,确定以位于与每条其他采样线相邻且与当前位置点的距离最近的采样线上的每个候选位置点为起点的至少一条参考路径。进而,根据每条其他采样线与以位于与每条其他采样线相邻且与当前位置点的距离最近的采样线上的每个候选位置点为起点的至少一条参考路径的交点,确定位于每条其他采样线上的至少一个候选位置点。Then, for each other sampling line, vehicle dynamics related information is used to determine at least one candidate location point starting from each candidate location point on the sampling line adjacent to each other sampling line and closest to the current location point. Reference path. Furthermore, based on the intersection point of each other sampling line and at least one reference path starting from each candidate location point on the sampling line adjacent to each other sampling line and closest to the current location point, determine the location at each At least one candidate location point on other sampling lines.
在一些实施例中,每条采样线上的候选位置点为满足第一预设运动条件的交点。第一预设运动条件包括与每条采样线对应的参考位置点与每条采样线上的候选位置点之间的无人车朝向差小于或等于无人车朝向差阈值。例如,无人车朝向差阈值为90度。无人车朝向差阈值也可以为其他值。通过限定参考位置点与候选位置点之间的无人车朝向差,可以过滤不符合无人车的运动规律的候选位置点,从而进一步提高路径可达性,进一步提高路径稳定性。In some embodiments, the candidate position points on each sampling line are intersection points that satisfy the first preset motion condition. The first preset movement condition includes that the unmanned vehicle orientation difference between the reference position point corresponding to each sampling line and the candidate position point on each sampling line is less than or equal to the unmanned vehicle orientation difference threshold. For example, the threshold for the orientation difference of an autonomous vehicle is 90 degrees. The unmanned vehicle orientation difference threshold can also be other values. By limiting the orientation difference of the unmanned vehicle between the reference position point and the candidate position point, candidate position points that do not conform to the movement patterns of the unmanned vehicle can be filtered, thereby further improving path accessibility and path stability.
在一些实施例中,车辆动力学相关信息包括车辆动力学属性信息或车辆运动轨迹信息,可以利用车辆动力学属性信息或车辆运动轨迹信息,确定以与每条采样线对应的参考位置点为起点的至少一条参考路径。In some embodiments, the vehicle dynamics related information includes vehicle dynamics attribute information or vehicle motion trajectory information. The vehicle dynamics attribute information or vehicle motion trajectory information can be used to determine the reference position point corresponding to each sampling line as the starting point. at least one reference path.
以车辆动力学相关信息包括无人车的预设速度、无人车朝向、无人车转角和无人车轴距等车辆动力学属性信息为例,根据无人车的预设速度、无人车朝向、无人车转角和无人车轴距等车辆动力学属性信息,可以确定以与每条采样线对应的参考位置点为起点的至少一条参考路径。例如,可以根据无人车的预设速度、无人车朝向、无人车转角和无人车轴距等车辆动力学属性信息,可以确定车辆运动轨迹信息,进而根据车辆运动轨迹信息,确定以与每条采样线对应的参考位置点为起点的至少一条参考路径。Taking the vehicle dynamics related information as an example, including the preset speed of the unmanned vehicle, the direction of the unmanned vehicle, the turning angle of the unmanned vehicle and the wheelbase of the unmanned vehicle, according to the preset speed of the unmanned vehicle, the unmanned vehicle's wheelbase, etc. Vehicle dynamic attribute information such as orientation, unmanned vehicle turning angle, and unmanned vehicle wheelbase can determine at least one reference path starting from the reference position point corresponding to each sampling line. For example, the vehicle motion trajectory information can be determined based on the vehicle dynamic attribute information such as the preset speed of the autonomous vehicle, the orientation of the autonomous vehicle, the turning angle of the autonomous vehicle, and the wheelbase of the autonomous vehicle. The reference position point corresponding to each sampling line is at least one reference path starting from the starting point.
在一些实施例中,在确定参考路径之前,可以对无人车的转角范围进行采样,得到多个参考转角。参考路径包括在多个参考转角下的路径。通过转角采样,可以在避免算力消耗过多的情况下,提升所规划的路径稳定性,从而平衡算力消耗和路径稳定性之间的关系。In some embodiments, before determining the reference path, the rotation angle range of the unmanned vehicle may be sampled to obtain multiple reference rotation angles. Reference paths include paths under multiple reference corners. Through corner sampling, the stability of the planned path can be improved without excessive consumption of computing power, thus balancing the relationship between computing power consumption and path stability.
在一些实施例中,通过预设分辨率对转角范围
Figure PCTCN2023070865-appb-000001
进行采样,得到无人车转角集合
Figure PCTCN2023070865-appb-000002
其中,
Figure PCTCN2023070865-appb-000003
为无人车的最小转角,
Figure PCTCN2023070865-appb-000004
为无人车的最大转角。
In some embodiments, the rotation angle range is determined by preset resolution
Figure PCTCN2023070865-appb-000001
Perform sampling to obtain the unmanned vehicle corner set
Figure PCTCN2023070865-appb-000002
in,
Figure PCTCN2023070865-appb-000003
is the minimum turning angle of the unmanned vehicle,
Figure PCTCN2023070865-appb-000004
is the maximum turning angle of the unmanned vehicle.
以无人车转角集合
Figure PCTCN2023070865-appb-000005
为例,利用车辆动力学相关信息可以确定无人车在不同无人车转角下的参考路径。
Gather around the corner with self-driving cars
Figure PCTCN2023070865-appb-000005
For example, information related to vehicle dynamics can be used to determine the reference path of an unmanned vehicle at different unmanned vehicle turning angles.
在一些实施例中,基于车辆动力学相关信息包括无人车的预设速度、无人车朝向、采样得到的无人车转角集合中的无人车转角和无人车轴距等车辆动力学属性信息,根据车辆动力学属性信息与车辆运动轨迹信息之间的关系,确定无人车的车辆运动轨迹信息。In some embodiments, the vehicle dynamics related information includes the preset speed of the unmanned vehicle, the direction of the unmanned vehicle, the unmanned vehicle turning angle in the sampled unmanned vehicle turning angle set, the unmanned vehicle wheelbase and other vehicle dynamics attributes. information, and determine the vehicle movement trajectory information of the unmanned vehicle based on the relationship between the vehicle dynamics attribute information and the vehicle movement trajectory information.
例如,车辆动力学属性信息与车辆运动轨迹信息之间的关系可以用自行车模型表示。自行车模型所表征的函数关系为For example, the relationship between vehicle dynamic attribute information and vehicle motion trajectory information can be represented by a bicycle model. The functional relationship represented by the bicycle model is
Figure PCTCN2023070865-appb-000006
Figure PCTCN2023070865-appb-000006
在上述函数关系中,θ为无人车在当前位置点的无人车朝向,v为无人车的预设速度,
Figure PCTCN2023070865-appb-000007
为采样得到的无人车转角集合,L为无人车轴距。以无人车的当前位置点的坐标 为(x,y,θ)为例,
Figure PCTCN2023070865-appb-000008
表征了无人车的车辆运动轨迹信息,即无人车从当前位置点出发的坐标变化量。
In the above functional relationship, θ is the direction of the unmanned vehicle at the current position, v is the preset speed of the unmanned vehicle,
Figure PCTCN2023070865-appb-000007
is the sampled unmanned vehicle rotation angle set, and L is the unmanned vehicle wheelbase. Taking the coordinates of the current position point of the unmanned vehicle as (x, y, θ) as an example,
Figure PCTCN2023070865-appb-000008
It represents the vehicle motion trajectory information of the unmanned vehicle, that is, the coordinate change of the unmanned vehicle starting from the current position point.
根据无人车的当前位置点和无人车的车辆运动轨迹信息,即可得到离散化的反映无人车在不同无人车转角下的车辆运动轨迹的多个坐标。根据离散化的这多个坐标,就可以确定无人车在无人车转角集合
Figure PCTCN2023070865-appb-000009
中的无人车转角下的参考路径。无人车在无人车转角
Figure PCTCN2023070865-appb-000010
Figure PCTCN2023070865-appb-000011
下的多条参考路径参考图2。不同无人车转角下的参考轨迹具有不同的转弯半径R,其中,
Figure PCTCN2023070865-appb-000012
According to the current position point of the unmanned vehicle and the vehicle movement trajectory information of the unmanned vehicle, multiple coordinates that reflect the vehicle movement trajectory of the unmanned vehicle at different unmanned vehicle corners can be obtained in a discretized manner. Based on these discretized coordinates, it is possible to determine where the unmanned vehicle will gather at the corner of the unmanned vehicle
Figure PCTCN2023070865-appb-000009
The reference path under the unmanned vehicle corner in . Self-driving car at the unmanned car corner
Figure PCTCN2023070865-appb-000010
arrive
Figure PCTCN2023070865-appb-000011
Refer to Figure 2 for the multiple reference paths below. The reference trajectories under different unmanned vehicle turning angles have different turning radii R, where,
Figure PCTCN2023070865-appb-000012
在一些实施例中,车辆动力学相关信息包括车辆轨迹描述信息,可以利用车辆轨迹描述信息,确定以与每条采样线对应的参考位置点为起点的至少一条参考路径。In some embodiments, the vehicle dynamics related information includes vehicle trajectory description information, and the vehicle trajectory description information can be used to determine at least one reference path starting from the reference position point corresponding to each sampling line.
仍以图2为例,对于图2所示的一条采样线,候选位置点包括P 1到P 7。多条类似图2所示的采样线上的候选位置点构成候选位置点集合S={P 1,P 2,…,P 7,…}。 Still taking Figure 2 as an example, for a sampling line shown in Figure 2, candidate location points include P 1 to P 7 . A plurality of candidate position points on a sampling line similar to that shown in Figure 2 constitute a candidate position point set S={P 1 , P 2 ,…,P 7 ,…}.
在一些实施例中,对于每条采样线,还可以确定无人车的上一帧路径与每条采样线的交点为位于每条采样线上的候选位置点。通过这种方式,考虑了当前帧路径上目标位置点的选择与无人车的上一帧路径之间的关系,从而进一步考虑了路径的相似性,减少路径抖动,进一步提升所规划路径的稳定性。In some embodiments, for each sampling line, the intersection point of the previous frame path of the unmanned vehicle and each sampling line may also be determined as a candidate position point located on each sampling line. In this way, the relationship between the selection of the target position point on the path of the current frame and the path of the previous frame of the unmanned vehicle is considered, thereby further considering the similarity of the paths, reducing path jitter, and further improving the stability of the planned path. sex.
以图2为例,无人车的上一帧路径与采样线的交点为P 8。P 8也作为候选位置点,被加入到候选位置点集合中。 Taking Figure 2 as an example, the intersection point of the unmanned vehicle's path in the previous frame and the sampling line is P 8 . P 8 is also added to the candidate position point set as a candidate position point.
在步骤S140中,从位于多条采样线上的多个候选位置点中,筛选从当前位置点出发依次到达的多个目标位置点。In step S140, multiple target location points arriving sequentially from the current location point are screened from multiple candidate location points located on multiple sampling lines.
在一些实施例中,可以根据当前位置点、位于多条采样线上的多个候选位置点和预设行驶代价,利用寻路算法,确定多个目标位置点。寻路算法的停止条件包括从当前位置点出发到达最后一个目标位置点的里程大于或等于里程阈值。例如,寻路算法包括A星算法等用于寻找最佳路径的算法。In some embodiments, a pathfinding algorithm can be used to determine multiple target location points based on the current location point, multiple candidate location points located on multiple sampling lines, and preset driving costs. The stopping condition of the pathfinding algorithm includes that the mileage from the current position point to the last target position point is greater than or equal to the mileage threshold. For example, pathfinding algorithms include algorithms such as the A-star algorithm for finding the best path.
在一些实施例中,将候选位置点集合S、当前位置点作为寻路算法的输入,预设行驶代价作为目标约束,即可确定多个目标位置点。In some embodiments, multiple target location points can be determined by using the candidate location point set S and the current location point as inputs to the pathfinding algorithm, and presetting the driving cost as the target constraint.
在一些实施例中,预设行驶代价包括平滑性代价和安全性代价中的至少一种。平滑性代价与寻路算法当前处理的位置点和候选位置点之间的无人车朝向差成正相关。安全性代价与寻路算法当前处理的位置点和候选位置点之间的线段到障碍物的最近距离成负相关。寻路算法当前处理的位置点为当前位置点或候选位置点。In some embodiments, the preset driving cost includes at least one of a smoothness cost and a safety cost. The smoothness cost is positively related to the difference in the direction of the unmanned vehicle between the position point currently processed by the path-finding algorithm and the candidate position point. The safety cost is inversely related to the closest distance to the obstacle from the line segment between the position point currently processed by the pathfinding algorithm and the candidate position point. The location point currently processed by the pathfinding algorithm is the current location point or candidate location point.
在一些实施例中,在候选位置点包括无人车的上一帧路径与每条采样线的交点的情况下,预设行驶代价还包括路径相似性代价。路径相似性代价表征从寻路算法当前处理的位置点出发的路径与上一帧路径之间的相似度。通过路径相似性代价反映所规划的当前帧路径与上一帧路径之间的相似度,可以进一步提高路径稳定性。In some embodiments, when the candidate location point includes the intersection of the previous frame path of the unmanned vehicle and each sampling line, the preset driving cost also includes a path similarity cost. The path similarity cost represents the similarity between the path starting from the position point currently processed by the pathfinding algorithm and the path in the previous frame. Path stability can be further improved by reflecting the similarity between the planned path of the current frame and the path of the previous frame through the path similarity cost.
在一些实施例中,以预设行驶代价包括平滑性代价、安全性代价和路径相似性代价为例,预设行驶代价通过对平滑性代价、安全性代价和路径相似性代价进行加权操作得到。例如,用于加权操作的权重值包括第一权重值、第二权重值和第三权重值。预设行驶代价=第一权重值×平滑性代价+第二权重值×安全性代价+第三权重值×路径相似性代价。第一权重值、第二权重值和第三权重值根据实际情况设定。In some embodiments, taking the preset driving cost including smoothness cost, safety cost and path similarity cost as an example, the preset driving cost is obtained by weighting the smoothness cost, safety cost and path similarity cost. For example, the weight value used for the weighting operation includes a first weight value, a second weight value, and a third weight value. The default driving cost = first weight value × smoothness cost + second weight value × safety cost + third weight value × path similarity cost. The first weight value, the second weight value and the third weight value are set according to the actual situation.
在一些实施例中,路径相似性代价与寻路算法当前处理的位置点到上一帧路径上的各个相邻位置点之间的路径线段的最短距离或者寻路算法当前处理的位置点的前一位置点到上一帧路径上的各个相邻位置点之间的路径线段的最短距离成正相关。In some embodiments, the path similarity cost is related to the shortest distance of the path segment between the position point currently processed by the path-finding algorithm and each adjacent position point on the path of the previous frame or the previous position point currently processed by the path-finding algorithm. The shortest distance between a position point and each adjacent position point on the path of the previous frame is positively correlated.
在一些实施例中,可以先从位于多条采样线上的多个候选位置点中,选择多个满足第二预设运动条件的候选位置点,其中,第二预设运动条件包括位置点之间运动无碰撞和候选位置点位于预设地图范围内中的至少一种。然后,从多个满足第二预设运动条件的候选位置点中,选择多个目标位置点。从多个满足第二预设运动条件的候选位置点中,选择多个目标位置点的过程,可以参考上述寻路算法。In some embodiments, multiple candidate position points that satisfy the second preset motion condition may be first selected from multiple candidate position points located on multiple sampling lines, where the second preset motion condition includes one of the position points. There is at least one of the following: no collision between the motions and the candidate location point being located within the preset map range. Then, select a plurality of target position points from a plurality of candidate position points that satisfy the second preset motion condition. For the process of selecting multiple target location points from multiple candidate location points that satisfy the second preset motion condition, you may refer to the above-mentioned pathfinding algorithm.
例如,可以从无人车的感知模块获取到无人车或自动驾驶车辆周围的障碍物信息,从而判断位置点之间的运动是否无碰撞。以图2为参考,当前位置点c到P 1的路径上经过障碍物,因此会将候选位置点P 1从候选位置点集合S中删除。 For example, the obstacle information around the unmanned vehicle or self-driving vehicle can be obtained from the perception module of the unmanned vehicle to determine whether the movement between location points is collision-free. Taking Figure 2 as a reference, the path from the current position point c to P 1 passes through obstacles, so the candidate position point P 1 will be deleted from the candidate position point set S.
例如,可以从无人车的地图模块中获取地图数据,并根据预设地图范围,判断候选位置点在地图数据中的位置是否位于预设地图范围内。For example, the map data can be obtained from the map module of the unmanned vehicle, and based on the preset map range, it can be determined whether the position of the candidate location point in the map data is within the preset map range.
在步骤S150中,根据当前位置点和多个目标位置点,确定无人车的当前帧路径。在一些实施例中,对当前位置点和多个目标位置点构成的初始路径进行平滑处理,得到无人车的当前帧路径。当前帧路径也称为轨迹,轨迹由一系列的轨迹点按照相对时间从先到后排列,轨迹点信息包括但不限于坐标、速度、加速度、朝向和相对时间等。In step S150, the current frame path of the unmanned vehicle is determined based on the current position point and multiple target position points. In some embodiments, the initial path composed of the current position point and multiple target position points is smoothed to obtain the current frame path of the unmanned vehicle. The current frame path is also called a trajectory. The trajectory consists of a series of trajectory points arranged from first to last according to relative time. The trajectory point information includes but is not limited to coordinates, speed, acceleration, orientation, relative time, etc.
图3A是示出根据基于均匀采样的路径规划方法进行路径规划的结果示意图。FIG. 3A is a schematic diagram showing the results of path planning according to the path planning method based on uniform sampling.
图3B是示出根据本公开一些实施例的路径规划方法进行路径规划的结果示意图。FIG. 3B is a schematic diagram showing the results of path planning according to the path planning method of some embodiments of the present disclosure.
图3A示出了根据基于均匀采样的路径规划方法进行路径规划得到的各个路径点的位置坐标变化情况。图3B示出了根据本公开一些实施例的路径规划方法进行路径规划得到的各个路径点的位置坐标变化情况。x轴和y轴共同构成路径点的位置坐标。Figure 3A shows the changes in the position coordinates of each path point obtained by path planning based on the path planning method based on uniform sampling. Figure 3B shows the changes in the position coordinates of each path point obtained by path planning according to the path planning method of some embodiments of the present disclosure. The x-axis and y-axis together constitute the position coordinates of the path point.
对比图3A和图3B可以发现,图3A中根据基于均匀采样的路径规划方法进行路径规划的结果中,路径帧抖动明显,尤其是图3A中矩形框标注的区域范围内,路径规划过程中所规划的路径点的位置坐标变化范围较大且分散。而图3B中根据本公开一些实施例的路径规划方法进行路径规划的结果中,路径帧相对更加稳定,参考类似与图3A的矩形框标注的区域范围内,路径规划过程中所废话的路径点的位置坐标变化范围较小且集中。Comparing Figure 3A and Figure 3B, it can be found that in the path planning results based on the uniform sampling method in Figure 3A, the path frame jitter is obvious, especially within the area marked by the rectangular box in Figure 3A. The position coordinates of the planned path points change in a large range and are scattered. In the result of path planning according to the path planning method of some embodiments of the present disclosure in Figure 3B, the path frame is relatively more stable. With reference to the area marked by the rectangular box similar to Figure 3A, the path points mentioned in the path planning process are The range of position coordinate changes is small and concentrated.
图4是示出根据本公开一些实施例的路径规划装置的框图。FIG. 4 is a block diagram illustrating a path planning device according to some embodiments of the present disclosure.
如图4所示,用于自动驾驶的路径规划装置41包括第一确定模块411、第二确定模块412、采样模块413、筛选模块414和第三确定模块415。As shown in FIG. 4 , the path planning device 41 for automatic driving includes a first determination module 411 , a second determination module 412 , a sampling module 413 , a filtering module 414 and a third determination module 415 .
第一确定模块411被配置为根据无人车的导航路径,确定用于辅助无人车行驶的指引线,例如执行如图1所示的步骤S110。The first determination module 411 is configured to determine the guidance line for assisting the driving of the unmanned vehicle according to the navigation path of the unmanned vehicle, for example, performing step S110 as shown in FIG. 1 .
第二确定模块412被配置为根据指引线,确定用于辅助进行多层采样的多条采样线,每条采样线对应一层采样,例如执行如图1所示的步骤S120。The second determination module 412 is configured to determine multiple sampling lines for assisting multi-layer sampling according to the guide line, and each sampling line corresponds to one layer of sampling, for example, performing step S120 as shown in FIG. 1 .
采样模块413被配置为基于无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点,例如执行如图1所示的步骤S130。The sampling module 413 is configured to sample at least one candidate position point from each sampling line based on the current position point of the unmanned vehicle using vehicle dynamics related information, for example, performing step S130 as shown in Figure 1 .
筛选模块414被配置为从位于多条采样线上的多个候选位置点中,筛选从当前位置点出发依次到达的多个目标位置点,例如执行如图1所示的步骤S140。The screening module 414 is configured to screen multiple target location points arriving sequentially from the current location point from multiple candidate location points located on multiple sampling lines, for example, performing step S140 as shown in FIG. 1 .
第三确定模块415被配置为根据当前位置点和多个目标位置点,确定无人车的当前帧路径,例如执行如图1所示的步骤S150。The third determination module 415 is configured to determine the current frame path of the unmanned vehicle based on the current location point and multiple target location points, for example, performing step S150 as shown in Figure 1 .
在一些实施例中,第三确定模块315包括初始路径确定模块和路径平滑模块。初始路径确定模块被配置为确定当前位置点和多个目标位置点构成的初始路径。路径平滑模块被配置为对当前位置点和多个目标位置点构成的初始路径进行平滑处理,得到无人车的当前帧路径。In some embodiments, the third determination module 315 includes an initial path determination module and a path smoothing module. The initial path determination module is configured to determine an initial path composed of a current location point and a plurality of target location points. The path smoothing module is configured to smooth the initial path composed of the current position point and multiple target position points to obtain the current frame path of the unmanned vehicle.
图5是示出根据本公开另一些实施例的路径规划装置的框图。FIG. 5 is a block diagram illustrating a path planning device according to other embodiments of the present disclosure.
如图5所示,用于自动驾驶的路径规划装置51包括存储器511;以及耦接至该存储器511的处理器512。存储器511用于存储执行路径规划方法对应实施例的指令。 处理器512被配置为基于存储在存储器511中的指令,执行本公开中任意一些实施例中的路径规划方法。As shown in FIG. 5 , the path planning device 51 for autonomous driving includes a memory 511; and a processor 512 coupled to the memory 511. The memory 511 is used to store instructions for executing corresponding embodiments of the path planning method. The processor 512 is configured to execute the path planning method in any embodiment of the present disclosure based on instructions stored in the memory 511 .
图6是示出根据本公开一些实施例的无人车的框图。Figure 6 is a block diagram illustrating an autonomous vehicle according to some embodiments of the present disclosure.
如图6所示,无人车6包括路径规划装置61。路径规划装置61被配置为执行本公开任意实施例中的路径规划方法。例如,路径规划装置61与路径规划装置41或51具有相同或类似的结构或功能。As shown in FIG. 6 , the unmanned vehicle 6 includes a path planning device 61 . The path planning device 61 is configured to execute the path planning method in any embodiment of the present disclosure. For example, the path planning device 61 and the path planning device 41 or 51 have the same or similar structure or function.
在一些实施例中,无人车6还包括定位模块62。定位模块62被配置为发送无人车的速度、当前位置点的位置坐标以及无人车朝向到路径规划装置61。例如,无人车的速度为预设速度。In some embodiments, the unmanned vehicle 6 further includes a positioning module 62 . The positioning module 62 is configured to send the speed of the unmanned vehicle, the position coordinates of the current location point, and the direction of the unmanned vehicle to the path planning device 61 . For example, the speed of an autonomous vehicle is a preset speed.
在一些实施例中,无人车6还包括导航模块63。导航模块63被配置为发送无人车的导航路径到路径规划装置61。In some embodiments, the unmanned vehicle 6 further includes a navigation module 63 . The navigation module 63 is configured to send the navigation path of the unmanned vehicle to the path planning device 61 .
在一些实施例中,无人车6还包括地图模块64。地图模块64被配置为向路径规划装置61提供地图数据。In some embodiments, the unmanned vehicle 6 further includes a map module 64 . The map module 64 is configured to provide map data to the route planning device 61 .
在一些实施例中,无人车6还包括感知模块65。感知模块65被配置为感知无人车周围的障碍物,并将感知的障碍物信息发送到路径规划装置61。感知模块65还被配置为感知红绿灯信息等。In some embodiments, the unmanned vehicle 6 further includes a sensing module 65 . The sensing module 65 is configured to sense obstacles around the unmanned vehicle and send the perceived obstacle information to the path planning device 61 . The sensing module 65 is also configured to sense traffic light information and the like.
在一些实施例中,无人车6还包括控制模块66。控制模块66被配置为接收来自路径规划装置61的当前帧路径,并控制无人车按述当前帧路径行驶。In some embodiments, the unmanned vehicle 6 further includes a control module 66 . The control module 66 is configured to receive the current frame path from the path planning device 61 and control the unmanned vehicle to travel according to the current frame path.
图7是示出根据本公开另一些实施例的无人车的框图。FIG. 7 is a block diagram illustrating an autonomous vehicle according to other embodiments of the present disclosure.
如图7所示,无人车7主要包括自动驾驶模块71、底盘模块72、远程监控推流模块73和货箱模块74四部分。As shown in Figure 7, the unmanned vehicle 7 mainly includes four parts: an automatic driving module 71, a chassis module 72, a remote monitoring flow module 73, and a cargo box module 74.
自动驾驶模块71包括自动驾驶传感器和核心处理单元(Orin或Xavier模组)组件711、红绿灯识别相机712、前后左右环视相机7131、7132、7133、7134、多线激光雷达714、定位模块715(如北斗、GPS等)、惯性导航单元716。相机与自动驾驶模块之间可进行通信,为了提高传输速度、减少线束,可采用GMSL链路通信。自动驾驶传感器和核心处理单元(Orin或Xavier模组)组件711包括本公开任意一些实施例中的路径规划装置并被配置为执行本公开任意一些实施例的路径规划方法。The automatic driving module 71 includes an automatic driving sensor and core processing unit (Orin or Xavier module) component 711, a traffic light recognition camera 712, front, rear, left and right surround cameras 7131, 7132, 7133, 7134, a multi-line laser radar 714, and a positioning module 715 (such as Beidou, GPS, etc.), inertial navigation unit 716. The camera and the autonomous driving module can communicate. In order to increase the transmission speed and reduce the wiring harness, GMSL link communication can be used. The automatic driving sensor and core processing unit (Orin or Xavier module) component 711 includes the path planning device in any embodiment of the present disclosure and is configured to execute the path planning method in any embodiment of the present disclosure.
在一些实施例中,自动驾驶模块71还包括交换机717和前后左右补盲雷达7181、7182、7183、7184。In some embodiments, the autonomous driving module 71 also includes a switch 717 and front, rear, left and right blinding radars 7181, 7182, 7183, and 7184.
底盘模块72主要包括电池721、电源管理装置722、底盘控制器723、电机驱动器724、动力电机725。电池721为整个无人车系统提供电源,电源管理装置722将电池输出转换为可供各功能模块使用的不同电平电压,并控制上下电。底盘控制器723接受自动驾驶模块下发的运动指令,控制无人车转向、前进、后退、刹车等。运动指令例如为图6所示的控制模块66根据当前帧路径确定。底盘模块72还包括主电池726。The chassis module 72 mainly includes a battery 721, a power management device 722, a chassis controller 723, a motor driver 724, and a power motor 725. The battery 721 provides power for the entire unmanned vehicle system, and the power management device 722 converts the battery output into voltages of different levels that can be used by each functional module, and controls power on and off. The chassis controller 723 receives movement instructions issued by the automatic driving module and controls the steering, forward, backward, braking, etc. of the unmanned vehicle. For example, the motion instruction is determined by the control module 66 shown in FIG. 6 according to the current frame path. Chassis module 72 also includes main battery 726 .
远程监控推流模块73由前监控相机731、后监控相机732、左监控相机733、右监控相机734和推流模块734构成,该模块将监控相机采集的视频数据传输到后台服务器,供后台操作人员查看。The remote monitoring streaming module 73 is composed of a front surveillance camera 731, a rear surveillance camera 732, a left surveillance camera 733, a right surveillance camera 734 and a streaming module 734. This module transmits the video data collected by the surveillance cameras to the background server for background operations. Personnel viewing.
货箱模块74为无人车的货物承载装置,包括配送货箱741。货箱模块74上还设置有显示交互模块742。显示交互模块742用于无人车与用户交互,用户可通过显示交互模块进行如取件、寄存、购买货物等操作。货箱的类型可根据实际需求进行更换,如在物流场景中,货箱可以包括多个不同大小的子箱体,子箱体可用于装载货物进行配送。在零售场景中,货箱可以设置成透明箱体,以便于用户直观看到待售产品。The cargo box module 74 is a cargo carrying device for the unmanned vehicle and includes a delivery box 741 . The cargo box module 74 is also provided with a display interaction module 742. The display interaction module 742 is used for the unmanned vehicle to interact with the user. The user can perform operations such as picking up, depositing, and purchasing goods through the display interaction module. The type of cargo box can be changed according to actual needs. For example, in a logistics scenario, a cargo box can include multiple sub-boxes of different sizes, and the sub-boxes can be used to load goods for distribution. In a retail scenario, the cargo box can be set up as a transparent box so that users can intuitively see the products for sale.
货箱模块74还包括天线743。底盘模块72还包括无线通讯模块727。无线通讯模块727通过天线743与后台服务器进行通信,可实现后台操作人员对无人车的远程控制。Carton module 74 also includes antenna 743 . The chassis module 72 also includes a wireless communication module 727. The wireless communication module 727 communicates with the backend server through the antenna 743, allowing the backend operator to remotely control the unmanned vehicle.
图8是示出根据本公开一些实施例的无人车的侧视图。Figure 8 is a side view illustrating an autonomous vehicle according to some embodiments of the present disclosure.
如图8所示,无人车包括显示交互模块81、底盘82、左侧补盲雷达83、右侧补盲雷达84、后侧补盲雷达85、激光雷达86、右侧相机87、货箱88。交互模块81、底盘82、左侧补盲雷达83、右侧补盲雷达84、后侧补盲雷达85、激光雷达86、右侧相机87、货箱88的功能可以参考图7中的描述,此处不再赘述。As shown in Figure 8, the unmanned vehicle includes a display interaction module 81, a chassis 82, a left blind filling radar 83, a right blind filling radar 84, a rear blind filling radar 85, a laser radar 86, a right camera 87, and a cargo box. 88. The functions of the interactive module 81, chassis 82, left blind filling radar 83, right blind filling radar 84, rear blind filling radar 85, lidar 86, right camera 87, and cargo box 88 can be referred to the description in Figure 7. No further details will be given here.
图9是示出用于实现本公开一些实施例的计算机系统的框图。Figure 9 is a block diagram illustrating a computer system for implementing some embodiments of the present disclosure.
如图9所示,计算机系统90可以通用计算设备的形式表现。计算机系统90包括存储器910、处理器920和连接不同系统组件的总线900。As shown in Figure 9, computer system 90 may be embodied in the form of a general purpose computing device. Computer system 90 includes memory 910, a processor 920, and a bus 900 that connects various system components.
存储器910例如可以包括系统存储器、非易失性存储介质等。系统存储器例如存储有操作系统、应用程序、引导装载程序(Boot Loader)以及其他程序等。系统存储器可以包括易失性存储介质,例如随机存取存储器(RAM)和/或高速缓存存储器。非易失性存储介质例如存储有执行路径规划方法的对应实施例的指令。非易失性存储介质包括但不限于磁盘存储器、光学存储器、闪存等。 Memory 910 may include, for example, system memory, non-volatile storage media, and the like. System memory stores, for example, operating systems, applications, boot loaders, and other programs. System memory may include volatile storage media such as random access memory (RAM) and/or cache memory. The non-volatile storage medium stores, for example, instructions for executing corresponding embodiments of the path planning method. Non-volatile storage media includes but is not limited to disk storage, optical storage, flash memory, etc.
处理器920可以用通用处理器、数字信号处理器(DSP)、应用专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑设备、分立门或晶体管等分立硬件组件方式来实现。相应地,诸如判断模块和确定模块的每个模块,可以通过中央处理器(CPU)运行存储器中执行相应步骤的指令来实现,也可以通过执行相应步骤的专用电路来实现。The processor 920 may be implemented as a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete hardware components such as discrete gates or transistors. accomplish. Correspondingly, each module, such as the judgment module and the determination module, can be implemented by instructions in the central processing unit (CPU) running memory to perform the corresponding steps, or by dedicated circuits that perform the corresponding steps.
总线900可以使用多种总线结构中的任意总线结构。例如,总线结构包括但不限于工业标准体系结构(ISA)总线、微通道体系结构(MCA)总线、外围组件互连(PCI)总线。 Bus 900 may use any of a variety of bus structures. For example, bus structures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, and Peripheral Component Interconnect (PCI) bus.
计算机系统90还可以包括输入输出接口930、网络接口940、存储接口950等。这些接口930、940、950以及存储器910和处理器920之间可以通过总线900连接。输入输出接口930可以为显示器、鼠标、键盘等输入输出设备提供连接接口。网络接口940为各种联网设备提供连接接口。存储接口950为软盘、U盘、SD卡等外部存储设备提供连接接口。The computer system 90 may also include an input/output interface 930, a network interface 940, a storage interface 950, etc. These interfaces 930, 940, 950, the memory 910 and the processor 920 may be connected through a bus 900. The input and output interface 930 can provide a connection interface for input and output devices such as a monitor, mouse, and keyboard. Network interface 940 provides a connection interface for various networked devices. The storage interface 950 provides a connection interface for external storage devices such as floppy disks, USB disks, and SD cards.
这里,参照根据本公开实施例的方法、装置和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个框以及各框的组合,都可以由计算机可读程序指令实现。Various aspects of the disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus, and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可提供到通用计算机、专用计算机或其他可编程装置的处理器,以产生一个机器,使得通过处理器执行指令产生实现在流程图和/或框图中一个或多个框中指定的功能的装置。These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable device to produce a machine, such that execution of the instructions by the processor produces implementations in one or more blocks of the flowcharts and/or block diagrams. A device with specified functions.
这些计算机可读程序指令也可存储在计算机可读存储器中,这些指令使得计算机以特定方式工作,从而产生一个制造品,包括实现在流程图和/或框图中一个或多个框中指定的功能的指令。Computer-readable program instructions, which may also be stored in computer-readable memory, cause the computer to operate in a specific manner to produce an article of manufacture, including implementing the functions specified in one or more blocks of the flowcharts and/or block diagrams. instructions.
本公开可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。The disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment that combines software and hardware aspects.
通过上述实施例中的路径规划方法及装置、无人车、计算机可存储介质,可以提高所规划路径的稳定性。Through the path planning method and device, unmanned vehicle, and computer storage medium in the above embodiments, the stability of the planned path can be improved.
至此,已经详细描述了根据本公开的路径规划方法及装置、无人车、计算机可存储介质。为了避免遮蔽本公开的构思,没有描述本领域所公知的一些细节。本领域技术人员根据上面的描述,完全可以明白如何实施这里公开的技术方案。So far, the path planning method and device, the unmanned vehicle, and the computer-storable medium according to the present disclosure have been described in detail. To avoid obscuring the concepts of the present disclosure, some details that are well known in the art have not been described. Based on the above description, those skilled in the art can completely understand how to implement the technical solution disclosed here.

Claims (19)

  1. 一种用于自动驾驶的路径规划方法,包括:A path planning method for autonomous driving, including:
    根据无人车的导航路径,确定用于辅助所述无人车行驶的指引线;According to the navigation path of the unmanned vehicle, determine the guidance line used to assist the driving of the unmanned vehicle;
    根据所述指引线,确定用于辅助进行多层位置点采样的多条采样线,每条采样线对应一层位置点采样;According to the guide line, multiple sampling lines used to assist in multi-layer position point sampling are determined, and each sampling line corresponds to one layer of position point sampling;
    基于所述无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点;Based on the current position point of the unmanned vehicle, use vehicle dynamics related information to sample at least one candidate position point from each sampling line;
    从位于多条采样线上的多个候选位置点中,筛选从所述当前位置点出发依次到达的多个目标位置点;From multiple candidate location points located on multiple sampling lines, screen multiple target location points that arrive sequentially starting from the current location point;
    根据所述当前位置点和所述多个目标位置点,确定所述无人车的当前帧路径。According to the current position point and the plurality of target position points, the current frame path of the unmanned vehicle is determined.
  2. 根据权利要求1所述的路径规划方法,其中,基于所述当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点包括:The path planning method according to claim 1, wherein based on the current position point, using vehicle dynamics related information to sample at least one candidate position point from each sampling line includes:
    对于每条采样线,利用车辆动力学相关信息,确定以与所述每条采样线对应的参考位置点为起点的至少一条参考路径,其中,在所述每条采样线为与所述当前位置点的距离最近的采样线的情况下,所述参考位置点为所述当前位置点,在所述每条采样线为其他采样线的情况下,所述参考位置点为位于与所述每条采样线相邻且靠近所述当前位置点方向的采样线上的每个候选位置点;For each sampling line, use vehicle dynamics related information to determine at least one reference path starting from the reference position point corresponding to each sampling line, wherein each sampling line is the same as the current position. In the case of the sampling line closest to the point, the reference position point is the current position point; in the case of each sampling line being other sampling lines, the reference position point is located close to each of the sampling lines. Each candidate position point on the sampling line adjacent to the sampling line and close to the direction of the current position point;
    根据所述每条采样线与所述至少一条参考路径的交点,确定位于所述每条采样线上的至少一个候选位置点。At least one candidate position point located on each sampling line is determined based on the intersection point of each sampling line and the at least one reference path.
  3. 根据权利要求2所述的路径规划方法,其中,The path planning method according to claim 2, wherein,
    对于与所述当前位置点的距离最近的采样线,利用车辆动力学相关信息,确定以所述当前位置点为起点的至少一条参考路径;For the sampling line closest to the current position point, use vehicle dynamics related information to determine at least one reference path starting from the current position point;
    根据与所述当前位置点的距离最近的采样线与以所述当前位置点为起点的至少一条参考路径的交点,确定位于与所述当前位置点的距离最近的采样线上的至少一个候选位置点;Determine at least one candidate position located on the sampling line closest to the current position point based on the intersection point of the sampling line closest to the current position point and at least one reference path starting from the current position point point;
    对于每条其他采样线,利用所述车辆动力学相关信息,确定以位于与所述每条其他采样线相邻且与所述当前位置点的距离最近的采样线上的每个候选位置点为起点的至少一条参考路径;For each other sampling line, use the vehicle dynamics related information to determine each candidate position point located on the sampling line adjacent to each other sampling line and closest to the current position point. At least one reference path to the starting point;
    根据所述每条其他采样线与以位于与所述每条其他采样线相邻且与所述当前位置点的距离最近的采样线上的每个候选位置点为起点的至少一条参考路径的交点,确定位于所述每条其他采样线上的至少一个候选位置点。According to the intersection point of each other sampling line and at least one reference path starting from each candidate position point on the sampling line adjacent to each other sampling line and closest to the current position point , determine at least one candidate position point located on each of the other sampling lines.
  4. 根据权利要求1-3任一项所述的路径规划方法,其中,所述车辆动力学相关信息包括车辆动力学属性信息或者车辆运动轨迹信息,利用车辆动力学相关信息,确定以与所述每条采样线对应的参考位置点为起点的至少一条参考路径包括:The path planning method according to any one of claims 1 to 3, wherein the vehicle dynamics related information includes vehicle dynamics attribute information or vehicle motion trajectory information, and the vehicle dynamics related information is used to determine the relationship with each of the vehicle dynamics. At least one reference path starting from a reference position point corresponding to each sampling line includes:
    利用所述车辆动力学属性信息或车辆运动轨迹信息,确定以与所述每条采样线对应的参考位置点为起点的至少一条参考路径。Using the vehicle dynamics attribute information or vehicle motion trajectory information, at least one reference path starting from the reference position point corresponding to each sampling line is determined.
  5. 根据权利要求2所述的路径规划方法,还包括:The path planning method according to claim 2, further comprising:
    对所述无人车的转角范围进行采样,得到多个参考转角,其中,所述参考路径包括在所述多个参考转角下的路径。The rotation angle range of the unmanned vehicle is sampled to obtain multiple reference rotation angles, wherein the reference path includes a path under the multiple reference rotation angles.
  6. 根据权利要求2所述的路径规划方法,其中,基于所述无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点还包括:The path planning method according to claim 2, wherein based on the current position point of the unmanned vehicle, using vehicle dynamics related information to sample at least one candidate position point from each sampling line further includes:
    对于每条采样线,确定所述无人车的上一帧路径与所述每条采样线的交点为位于所述每条采样线上的候选位置点。For each sampling line, the intersection point of the previous frame path of the unmanned vehicle and each sampling line is determined to be a candidate position point located on each sampling line.
  7. 根据权利要求2所述的路径规划方法,其中,每条采样线上的候选位置点为满足第一预设运动条件的交点,所述第一预设运动条件包括与所述每条采样线对应的参考位置点与所述每条采样线上的候选位置点之间的无人车朝向差小于或等于无人车朝向差阈值。The path planning method according to claim 2, wherein the candidate position point on each sampling line is an intersection point that satisfies a first preset motion condition, and the first preset motion condition includes one corresponding to each sampling line. The unmanned vehicle orientation difference between the reference position point and the candidate position point on each sampling line is less than or equal to the unmanned vehicle orientation difference threshold.
  8. 根据权利要求1所述的路径规划方法,其中,从位于多条采样线上的多个候选位置点中,筛选从所述当前位置点出发依次到达的多个目标位置点包括:The path planning method according to claim 1, wherein screening multiple target location points arriving sequentially from the current location point from multiple candidate location points located on multiple sampling lines includes:
    根据所述当前位置点、位于所述多条采样线上的多个候选位置点和预设行驶代价,利用寻路算法,确定所述多个目标位置点,其中,所述寻路算法的停止条件包括从所述当前位置点出发到达最后一个目标位置点的里程大于或等于里程阈值。According to the current location point, multiple candidate location points located on the multiple sampling lines and preset driving costs, a path-finding algorithm is used to determine the multiple target location points, wherein the stop of the path-finding algorithm The condition includes that the mileage from the current location point to the last target location point is greater than or equal to the mileage threshold.
  9. 根据权利要求8所述的路径规划方法,其中,所述预设行驶代价包括平滑性代价和安全性代价中的至少一种,其中,所述平滑性代价与所述寻路算法当前处理的位置点和所述候选位置点之间的无人车朝向差成正相关,所述安全性代价与所述寻路算法当前处理的位置点和所述候选位置点之间的线段到障碍物的最近距离成负相关,所述寻路算法当前处理的位置点为所述当前位置点或所述候选位置点。The path planning method according to claim 8, wherein the preset driving cost includes at least one of a smoothness cost and a safety cost, wherein the smoothness cost is related to the position currently processed by the path-finding algorithm. The difference in direction of the unmanned vehicle between the point and the candidate location point is positively correlated, and the safety cost is related to the shortest distance from the line segment between the location point currently processed by the path-finding algorithm and the candidate location point to the obstacle. There is a negative correlation, and the position point currently processed by the path-finding algorithm is the current position point or the candidate position point.
  10. 根据权利要求9所述的路径规划方法,其中,在所述候选位置点包括所述无人车的上一帧路径与每条采样线的交点的情况下,所述预设行驶代价还包括路径相似性代价,所述路径相似性代价表征从所述寻路算法当前处理的位置点出发的路径与所述上一帧路径之间的相似度。The path planning method according to claim 9, wherein when the candidate location point includes the intersection of the previous frame path of the unmanned vehicle and each sampling line, the preset driving cost also includes the path Similarity cost, the path similarity cost represents the similarity between the path starting from the position point currently processed by the path-finding algorithm and the path in the previous frame.
  11. 根据权利要求10所述的路径规划方法,其中,所述路径相似性代价与所述寻路算法当前处理的位置点到所述上一帧路径上的各个相邻位置点之间的路径线段的最短距离或者所述寻路算法当前处理的位置点的前一位置点到所述上一帧路径上的各个相邻位置点之间的路径线段的最短距离成正相关。The path planning method according to claim 10, wherein the path similarity cost is related to the path line segment between the position point currently processed by the path finding algorithm and each adjacent position point on the path of the previous frame. The shortest distance or the shortest distance of the path line segment between the previous position point of the position point currently processed by the path-finding algorithm and each adjacent position point on the path of the previous frame is positively correlated.
  12. 根据权利要求1所述的路径规划方法,其中,从位于多条采样线上的多个候选位置点中,筛选从所述当前位置点出发依次到达的多个目标位置点包括:The path planning method according to claim 1, wherein screening multiple target location points arriving sequentially from the current location point from multiple candidate location points located on multiple sampling lines includes:
    从位于多条采样线上的多个候选位置点中,选择多个满足第二预设运动条件的候选位置点,所述第二预设运动条件包括位置点之间运动无碰撞和候选位置点位于预设地图范围内中的至少一种;Select a plurality of candidate position points that satisfy a second preset motion condition from a plurality of candidate position points located on the plurality of sampling lines, the second preset motion condition includes no collision in motion between position points and candidate position points Located within at least one of the preset map ranges;
    从多个满足第二预设运动条件的候选位置点中,选择所述多个目标位置点。Select the plurality of target position points from a plurality of candidate position points that satisfy the second preset motion condition.
  13. 一种用于自动驾驶的路径规划装置,包括:A path planning device for autonomous driving, including:
    第一确定模块,被配置为根据无人车的导航路径,确定用于辅助所述无人车行驶的指引线;The first determination module is configured to determine the guidance line for assisting the driving of the unmanned vehicle according to the navigation path of the unmanned vehicle;
    第二确定模块,被配置为根据所述指引线,确定用于辅助进行多层采样的多条采样线,每条采样线对应一层采样;The second determination module is configured to determine multiple sampling lines for assisting multi-layer sampling according to the guide line, with each sampling line corresponding to one layer of sampling;
    采样模块,被配置为基于所述无人车的当前位置点,利用车辆动力学相关信息,从每条采样线上采样得到至少一个候选位置点;A sampling module configured to sample at least one candidate position point from each sampling line based on the current position point of the unmanned vehicle using vehicle dynamics related information;
    筛选模块,被配置为从位于多条采样线上的多个候选位置点中,筛选从所述当前位置点出发依次到达的多个目标位置点;A screening module configured to screen multiple target location points arriving sequentially starting from the current location point from multiple candidate location points located on multiple sampling lines;
    第三确定模块,被配置为根据所述当前位置点和所述多个目标位置点,确定所述无人车的当前帧路径。A third determination module is configured to determine the current frame path of the unmanned vehicle according to the current position point and the plurality of target position points.
  14. 一种用于自动驾驶的路径规划装置,包括:A path planning device for autonomous driving, including:
    存储器;以及memory; and
    耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器的指令,执行如权利要求1至12任一项所述的路径规划方法。A processor coupled to the memory, the processor being configured to execute the path planning method of any one of claims 1 to 12 based on instructions stored in the memory.
  15. 一种无人车,包括:An unmanned vehicle, including:
    如权利要求13或14所述的用于自动驾驶的路径规划装置。The path planning device for automatic driving according to claim 13 or 14.
  16. 根据权利要求15所述的无人车,还包括:The unmanned vehicle according to claim 15, further comprising:
    定位模块、导航模块、感知模块和地图模块中的至少一种,其中,At least one of a positioning module, a navigation module, a perception module and a map module, wherein,
    所述定位模块被配置为发送所述无人车的速度、当前位置点的位置坐标以及无人车朝向到所述路径规划装置;The positioning module is configured to send the speed of the unmanned vehicle, the position coordinates of the current location point and the direction of the unmanned vehicle to the path planning device;
    所述导航模块被配置为发送所述无人车的导航路径到所述路径规划装置;The navigation module is configured to send the navigation path of the unmanned vehicle to the path planning device;
    所述感知模块被配置为感知所述无人车周围的障碍物,并将感知的障碍物信息发送到所述路径规划装置;The sensing module is configured to sense obstacles around the unmanned vehicle and send the perceived obstacle information to the path planning device;
    所述地图模块被配置为向所述路径规划装置提供地图数据。The map module is configured to provide map data to the route planning device.
  17. 根据权利要求15所述的无人车,还包括:The unmanned vehicle according to claim 15, further comprising:
    控制模块,被配置为接收来自所述路径规划装置的当前帧路径,并控制所述无人车按照所述当前帧路径行驶。A control module configured to receive the current frame path from the path planning device and control the unmanned vehicle to travel according to the current frame path.
  18. 一种计算机可存储介质,其上存储有计算机程序指令,该指令被处理器执行时实现如权利要求1至12任一项所述的路径规划方法。A computer storage medium on which computer program instructions are stored. When the instructions are executed by a processor, the path planning method according to any one of claims 1 to 12 is implemented.
  19. 一种计算机程序,包括:A computer program consisting of:
    指令,所述指令当由处理器执行时使所述处理器执行根据权利要求1至12任一项所述的路径规划方法。Instructions, which when executed by a processor cause the processor to execute the path planning method according to any one of claims 1 to 12.
PCT/CN2023/070865 2022-05-16 2023-01-06 Path planning method and apparatus and autonomous vehicle WO2023221537A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210528039.5 2022-05-16
CN202210528039.5A CN114964288A (en) 2022-05-16 2022-05-16 Path planning method and device and unmanned vehicle

Publications (1)

Publication Number Publication Date
WO2023221537A1 true WO2023221537A1 (en) 2023-11-23

Family

ID=82971756

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/070865 WO2023221537A1 (en) 2022-05-16 2023-01-06 Path planning method and apparatus and autonomous vehicle

Country Status (2)

Country Link
CN (1) CN114964288A (en)
WO (1) WO2023221537A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114964288A (en) * 2022-05-16 2022-08-30 北京京东乾石科技有限公司 Path planning method and device and unmanned vehicle

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992050A (en) * 2017-12-20 2018-05-04 广州汽车集团股份有限公司 Pilotless automobile local path motion planning method and device
CN110908386A (en) * 2019-12-09 2020-03-24 中国人民解放军军事科学院国防科技创新研究院 Layered path planning method for unmanned vehicle
CN110955236A (en) * 2018-09-26 2020-04-03 百度(美国)有限责任公司 Curvature correction path sampling system for autonomous vehicle
KR20200084938A (en) * 2018-12-21 2020-07-14 충북대학교 산학협력단 Method and Apparatus for Planning Car Motion
CN111552284A (en) * 2020-04-20 2020-08-18 宁波吉利汽车研究开发有限公司 Method, device, equipment and medium for planning local path of unmanned vehicle
CN112810630A (en) * 2021-02-05 2021-05-18 山东大学 Method and system for planning track of automatic driving vehicle
CN113985871A (en) * 2021-10-21 2022-01-28 上海欧菲智能车联科技有限公司 Parking path planning method, parking path planning device, vehicle and storage medium
CN114061606A (en) * 2021-11-10 2022-02-18 京东鲲鹏(江苏)科技有限公司 Path planning method and device, electronic equipment and storage medium
CN114115298A (en) * 2022-01-25 2022-03-01 北京理工大学 Unmanned vehicle path smoothing method and system
CN114167860A (en) * 2021-11-24 2022-03-11 东风商用车有限公司 Automatic driving optimal track generation method and device
CN114964288A (en) * 2022-05-16 2022-08-30 北京京东乾石科技有限公司 Path planning method and device and unmanned vehicle

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992050A (en) * 2017-12-20 2018-05-04 广州汽车集团股份有限公司 Pilotless automobile local path motion planning method and device
CN110955236A (en) * 2018-09-26 2020-04-03 百度(美国)有限责任公司 Curvature correction path sampling system for autonomous vehicle
KR20200084938A (en) * 2018-12-21 2020-07-14 충북대학교 산학협력단 Method and Apparatus for Planning Car Motion
CN110908386A (en) * 2019-12-09 2020-03-24 中国人民解放军军事科学院国防科技创新研究院 Layered path planning method for unmanned vehicle
CN111552284A (en) * 2020-04-20 2020-08-18 宁波吉利汽车研究开发有限公司 Method, device, equipment and medium for planning local path of unmanned vehicle
CN112810630A (en) * 2021-02-05 2021-05-18 山东大学 Method and system for planning track of automatic driving vehicle
CN113985871A (en) * 2021-10-21 2022-01-28 上海欧菲智能车联科技有限公司 Parking path planning method, parking path planning device, vehicle and storage medium
CN114061606A (en) * 2021-11-10 2022-02-18 京东鲲鹏(江苏)科技有限公司 Path planning method and device, electronic equipment and storage medium
CN114167860A (en) * 2021-11-24 2022-03-11 东风商用车有限公司 Automatic driving optimal track generation method and device
CN114115298A (en) * 2022-01-25 2022-03-01 北京理工大学 Unmanned vehicle path smoothing method and system
CN114964288A (en) * 2022-05-16 2022-08-30 北京京东乾石科技有限公司 Path planning method and device and unmanned vehicle

Also Published As

Publication number Publication date
CN114964288A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US11754408B2 (en) Methods and systems for topological planning in autonomous driving
US11645916B2 (en) Moving body behavior prediction device and moving body behavior prediction method
JP2022527072A (en) Pedestrian prediction based on attributes
US20180335777A1 (en) Autonomous Vehicle Parking System
US20220188695A1 (en) Autonomous vehicle system for intelligent on-board selection of data for training a remote machine learning model
JP2016193719A (en) Gap-based speed control method for automated driving system
US11618444B2 (en) Methods and systems for autonomous vehicle inference of routes for actors exhibiting unrecognized behavior
CN111289978A (en) Method and system for making decision on unmanned driving behavior of vehicle
CN110389582B (en) Tracking objects with multiple cues
US11643105B2 (en) Systems and methods for generating simulation scenario definitions for an autonomous vehicle system
WO2023221537A1 (en) Path planning method and apparatus and autonomous vehicle
CN116529561A (en) System and method for monocular-based object detection
CN114802250A (en) Data processing method, device, equipment, automatic driving vehicle and medium
US11970185B2 (en) Data structure for storing information relating to an environment of an autonomous vehicle and methods of use thereof
EP4285083A1 (en) Methods and system for generating a lane-level map for an area of interest for navigation of an autonomous vehicle
CN115526053A (en) Road modeling method, device and equipment
US11358598B2 (en) Methods and systems for performing outlet inference by an autonomous vehicle to determine feasible paths through an intersection
US20240092358A1 (en) Systems and methods for scene understanding
US20240101106A1 (en) Systems and methods for scene understanding
US11881031B2 (en) Hierarchical processing of traffic signal face states
US20230054626A1 (en) Persisting Predicted Objects for Robustness to Perception Issues in Autonomous Driving
US20230252638A1 (en) Systems and methods for panoptic segmentation of images for autonomous driving
US20240092350A1 (en) Vehicle safety system
US20230410469A1 (en) Systems and methods for image classification using a neural network combined with a correlation structure
US20230234617A1 (en) Determining perceptual spatial relevancy of objects and road actors for automated driving

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: 23806499

Country of ref document: EP

Kind code of ref document: A1