Vehicle path planning method, device, electronic device and storage medium

By introducing point cloud data screening and prediction technology into the traditional A-Star algorithm to construct a raster map, the stability and accuracy of vehicle path planning are achieved, and the problem of insufficient perception accuracy and obstacle prediction accuracy of the traditional algorithm is solved. , which improves the control effect of autonomous driving.

CN115639824BActive Publication Date: 2024-09-06CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211348082.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2024-09-06
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

The traditional A-Star algorithm is limited by the perception accuracy and obstacle prediction accuracy under actual vehicle conditions, resulting in discontinuous vehicle path planning trajectories and affecting the automatic driving control effect.

Method used

By collecting point cloud data of the environment around the vehicle, filtering target point cloud data and dynamic targets, predicting their position sequence, and projecting them into a pre-built raster map, the optimal path of the vehicle is planned based on the least-cost path search algorithm. .

Benefits of technology

It improves the stability of autonomous driving planning, avoids collisions between vehicles and obstacles, and provides a more accurate and continuous driving path.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115639824B
    Figure CN115639824B
Patent Text Reader

Abstract

The present application relates to a vehicle path planning method, device, electronic device and storage medium, including: selecting target point cloud data and dynamic targets at different times from point cloud data; converting the coordinates of target point cloud data at different times to the target coordinate system, predicting the position sequence of the dynamic target after a preset time according to the historical position of the dynamic target, projecting the target point cloud data and the position sequence of the dynamic target after a preset time on a pre-constructed grid map, obtaining a target grid map, and taking the point closest to the global path point and without obstacles as the target point, taking the current position of the vehicle as the starting point, expanding the search tree from the target point and the starting point to search for the path with the minimum cost, and stopping after the two search trees meet, and planning the optimal path of the vehicle according to the generated minimum cost node. It solves the problems of trajectory jumping caused by inaccurate perception or prediction in actual scenes, affecting the control effect of the actual vehicle, and improves the stability of autonomous driving planning.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle driving path planning and parking path planning, and in particular to a vehicle path planning method, device, electronic device and storage medium. Background Art

[0002] With the advancement of science and technology and the improvement of people's living standards, the autonomous driving technology that can significantly reduce driving fatigue and improve traffic safety has been vigorously developed. More and more vehicles are equipped with advanced assisted driving systems or autonomous driving systems that can autonomously control the lateral and longitudinal movement of the vehicle. During the autonomous driving process, the vehicle needs to plan in real time an optimal path that can ensure that the vehicle will not collide with obstacles during movement, save movement costs, and have the shortest movement distance.

[0003] However, the traditional A-Star algorithm is based on establishing a uniform grid map of the surrounding environment and obtaining the optimal path through heuristic search. Although the algorithm can obtain the optimal driving trajectory under ideal conditions, it is limited by the perception accuracy of the sensor, the prediction accuracy of moving obstacles, and especially the influence of the perception accuracy of the distant targets under actual vehicle conditions, which makes the planned trajectory discontinuous and has large jumps, affecting the actual vehicle control effect and needs to be solved urgently. Summary of the invention

[0004] The present application provides a vehicle path planning method, device, electronic device and storage medium, which solve the problems of trajectory jumping caused by inaccurate perception or prediction in actual scenarios, affecting the actual vehicle control effect, and improves the stability of autonomous driving planning.

[0005] The first aspect of the present application provides a vehicle path planning method, comprising the following steps: collecting point cloud data of the vehicle's surrounding environment, and filtering out target point cloud data and dynamic targets at different times from the point cloud data; converting the coordinates of the target point cloud data at different times to a target coordinate system, and predicting the position sequence of the dynamic target after a preset time based on the historical position of the dynamic target, and projecting the target point cloud data and the position sequence of the dynamic target after a preset time onto a pre-constructed grid map to obtain a target grid map; taking the point in the target grid map that is closest to the global path point and has no obstacles as the target point, taking the current position of the vehicle as the starting point, and based on the target grid map, expanding the search trees from the target point and the starting point respectively to search for the path with the minimum cost, until the two search trees meet and stop, and planning the optimal path of the vehicle according to the minimum cost node generated during the path search process.

[0006] Based on the above technical means, the problems such as trajectory jumping caused by inaccurate perception or prediction in actual scenarios, which affect the actual vehicle control effect, are solved, and the stability of autonomous driving planning is improved.

[0007] Furthermore, the method of filtering out target point cloud data and dynamic targets at different times from the point cloud data includes: filtering out first point cloud data that meets a first filtering condition, second point cloud data that meets a second filtering condition, and third point cloud data that meets a third filtering condition from the point cloud data; obtaining the target point cloud data based on the first point cloud data and the second point cloud data, and obtaining the dynamic target based on the third point cloud data.

[0008] According to the above technical means, by screening dynamic targets and point cloud data, the vehicle can avoid collision with static obstacles or dynamic obstacles while driving.

[0009] Furthermore, the first filtering condition is point cloud data corresponding to static obstacles at different times; the second filtering condition is point cloud data in which the lateral position of the point cloud is within a first preset lane width, and the longitudinal position of the point cloud is within a first preset time interval; the third filtering condition is point cloud data in which the lateral position of the target is within a second preset lane width, and the longitudinal position of the target is within a second preset time interval, wherein the second preset time interval is greater than the first preset time interval.

[0010] According to the above technical means, by screening point cloud data and dynamic targets at different distances, inaccurate vehicle control due to the jumping of obstacles while the vehicle is driving can be avoided.

[0011] Furthermore, the projecting of the target point cloud data and the position sequence of the dynamic target after a preset time onto the pre-constructed grid map also includes: taking the center of the rear axle of the vehicle as the starting point, constructing a grid map in the direction of travel of the vehicle to obtain the pre-constructed grid map; wherein the grid change angle in the pre-constructed grid map is calibrated by the road width and the vehicle travel speed.

[0012] According to the above technical means, by constructing a multi-dimensional grid map, the road conditions in the area where the vehicle is currently traveling can be predicted.

[0013] Furthermore, after performing the path search with the minimum cost by expanding the search tree from the target point and the starting point respectively based on the target grid map, the method further includes: generating the minimum cost node in the path search process based on a preset cost function, wherein the preset cost function is:

[0014] B(n)=g(n)+h(n)+f(n);

[0015] Among them, n is the grid node in the path, g(n) is the shortest path cost function to the current point, h(n) is the shortest straight line path cost function to the target point, and f(n) is the obstacle cost.

[0016] According to the above technical means, by calculating the path with the least cost, the optimal path is provided to the user, thereby improving vehicle driving safety.

[0017] The second aspect of the present application provides a vehicle path planning device, including: an acquisition module, used to acquire point cloud data of the vehicle's surrounding environment, and filter out target point cloud data and dynamic targets at different times from the point cloud data; convert the coordinates of the target point cloud data at different times into a target coordinate system, and predict the position sequence of the dynamic target after a preset time based on the historical position of the dynamic target, and project the target point cloud data and the position sequence of the dynamic target after a preset time on a pre-constructed grid map to obtain a target grid map; a planning module, used to take the point in the target grid map that is closest to the global path point and has no obstacles as the target point, and the current position of the vehicle as the starting point, and based on the target grid map, expand the search trees from the target point and the starting point respectively to search for the path with the minimum cost, until the two search trees meet and stop, and plan the optimal path of the vehicle according to the minimum cost node generated during the path search process.

[0018] Furthermore, the acquisition module is specifically used to: filter out first point cloud data that meets a first filtering condition, second point cloud data that meets a second filtering condition, and third point cloud data that meets a third filtering condition from the point cloud data; obtain the target point cloud data based on the first point cloud data and the second point cloud data, and obtain the dynamic target based on the third point cloud data.

[0019] Furthermore, the first filtering condition is point cloud data corresponding to static obstacles at different times; the second filtering condition is point cloud data in which the lateral position of the point cloud is within a first preset lane width, and the longitudinal position of the point cloud is within a first preset time interval; the third filtering condition is point cloud data in which the lateral position of the target is within a second preset lane width, and the longitudinal position of the target is within a second preset time interval, wherein the second preset time interval is greater than the first preset time interval.

[0020] Furthermore, the target point cloud data and the position sequence of the dynamic target after a preset time are projected before the pre-constructed grid map, and the construction module is specifically used to: construct a grid map in the direction of vehicle travel with the center of the rear axle of the vehicle as the starting point to obtain the pre-constructed grid map; wherein the grid change angle in the pre-constructed grid map is calibrated by the road width and the vehicle travel speed.

[0021] Further, after the target grid map is based on, respectively, expanding the search tree from the target point and the starting point to search for the path with the minimum cost, the planning module is specifically used to: generate the minimum cost node in the path search process based on a preset cost function, wherein the preset cost function is:

[0022] B(n)=g(n)+h(n)+f(n);

[0023] Among them, n is the grid node in the path, g(n) is the shortest path cost function to the current point, h(n) is the shortest straight line path cost function to the target point, and f(n) is the obstacle cost.

[0024] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle path planning method as described in the above embodiment.

[0025] The fourth aspect of the present application provides a computer-readable storage medium on which a computer program is stored. The program is executed by a processor to implement the vehicle path planning method as described in the above embodiment.

[0026] Therefore, the present application collects point cloud data of the vehicle's surrounding environment, and selects target point cloud data and dynamic targets at different times from the point cloud data, converts the coordinates of the selected target point cloud data at different times to the target coordinate system, and predicts the position sequence of the dynamic target after a preset time based on the historical position of the dynamic target, and projects the target point cloud data and the position sequence of the dynamic target after a preset time on a pre-constructed grid map to obtain a target grid map, and takes the point in the target grid map that is closest to the global path point and has no obstacles as the target point, and takes the current position of the vehicle as the starting point, and based on the target grid map, expands the search tree from the target point and the starting point to search for the path with the minimum cost, until the two search trees meet and stop, and plans the optimal path of the vehicle according to the minimum cost node generated during the path search process. In this way, the trajectory jump caused by inaccurate perception or prediction in actual scenes, which affects the control effect of the actual vehicle, is solved, and the stability of autonomous driving planning is improved.

[0027] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0029] Figure 1 A flowchart of a vehicle path planning method provided according to an embodiment of the present application;

[0030] Figure 2 A schematic diagram of a map with a variable grid size according to an embodiment of the present application;

[0031] Figure 3 A flowchart of a method for path planning of an autonomous driving vehicle using an improved A-Star algorithm with a variable grid size according to an embodiment of the present application;

[0032] Figure 4 is a block diagram of a path planning device for a vehicle according to an embodiment of the present application;

[0033] Figure 5 Schematic diagram of the structure of an electronic device according to an embodiment of the present application.

[0034] Explanation of the reference numerals: 10 - path planning device for a vehicle, 100 - acquisition module, 200 - construction module, 300 - planning module, 503 - communication interface, 501 - memory, 502 - processor. DETAILED DESCRIPTION

[0035] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0036] The following describes the path planning method, device, electronic device and storage medium of the vehicle of the embodiment of the present application with reference to the accompanying drawings. In view of the problem of trajectory jumping caused by inaccurate perception or prediction in the actual scene mentioned in the above background technology, which affects the control effect of the actual vehicle, the present application provides a path planning method for a vehicle, in which point cloud data of the vehicle's surrounding environment is collected, and target point cloud data and dynamic targets at different times are screened out from the point cloud data; the coordinates of the target point cloud data at different times are converted to the target coordinate system, and the position sequence of the dynamic target after a preset time is predicted based on the historical position of the dynamic target, and the target point cloud data and the position sequence of the dynamic target after a preset time are projected on a pre-constructed grid map to obtain a target grid map; the point in the target grid map that is closest to the global path point and has no obstacles is used as the target point, and the current position of the vehicle is used as the starting point, and based on the target grid map, the search tree is expanded from the target point and the starting point respectively to search for the path with the minimum cost, until the two search trees meet and stop, and the optimal path of the vehicle is planned according to the minimum cost node generated during the path search process. This solves the problems of trajectory jumping caused by inaccurate perception or prediction in actual scenarios, which affects the actual vehicle control effect, and improves the stability of autonomous driving planning.

[0037] Specifically, Figure 1 A flow chart of a vehicle path planning method provided in an embodiment of the present application.

[0038] like Figure 1 As shown, the path planning method of the vehicle includes the following steps:

[0039] In step S101, point cloud data of the vehicle's surroundings are collected, and target point cloud data and dynamic targets at different times are screened out from the point cloud data.

[0040] In this embodiment, the vehicle is in the ignition state, the sensor signal is output normally, and the vehicle is equipped with at least one of the three sensors: millimeter wave radar, camera, and lidar.

[0041] The point cloud data of the vehicle's surroundings include point cloud data of dynamic obstacles such as surrounding vehicles and pedestrians, as well as point cloud data of static obstacles with a speed not exceeding 2m / s such as curbs, guardrails, water fences, cones, etc. The vehicle can collect point cloud data around the vehicle through millimeter-wave radar, cameras and lidar.

[0042] Optionally, in some embodiments, target point cloud data and dynamic targets at different times are filtered out from the point cloud data, including: filtering out first point cloud data that meets a first filtering condition, second point cloud data that meets a second filtering condition, and third point cloud data that meets a third filtering condition from the point cloud data; obtaining target point cloud data based on the first point cloud data and the second point cloud data, and obtaining a dynamic target based on the third point cloud data.

[0043] Among them, in some embodiments, the first filtering condition is the point cloud data corresponding to the static obstacles at different times; the second filtering condition is the point cloud data in which the lateral position of the point cloud is within the first preset lane width and the longitudinal position of the point cloud is within the first preset time interval; the third filtering condition is the point cloud data in which the lateral position of the target is within the second preset lane width and the longitudinal position of the target is within the second preset time interval, wherein the second preset time interval is greater than the first preset time interval.

[0044] Specifically, point clouds corresponding to static obstacles at different times are screened out from the point cloud data collected by the camera and the millimeter-wave radar, such as point cloud data of static obstacles such as curbs, guardrails, water barrier fences, and cone barrels, and recorded as the first point cloud data. Point cloud data whose lateral position of the point cloud is within the first preset lane width, such as point cloud data whose lateral position of the point cloud is within 15 m to the left and right, and point cloud data whose longitudinal position of the point cloud is within the first preset time interval, such as point cloud data whose longitudinal position of the point cloud is 80 m in front of the vehicle and 40 m behind the vehicle, are screened out as the second point cloud data.

[0045] Dynamic and static targets corresponding to dynamic and static obstacles at different times are screened out from the collected point cloud data, and the point cloud data of the lateral position of the target within the second preset lane width, such as the point cloud data of the lateral position of the target within 15m on the left and right, and the point cloud data of the longitudinal position of the target within the second preset time interval, such as the point cloud data of the longitudinal position of the target generally not exceeding 120m in front of the vehicle and generally not exceeding 80m behind the vehicle, are recorded as the third point cloud data.

[0046] Further, target point cloud data is obtained according to the first point cloud data and the second point cloud data, and a dynamic target is obtained according to the third point cloud data.

[0047] In step S102, the coordinates of the target point cloud data at different times are converted to the target coordinate system, and the position sequence of the dynamic target after a preset time is predicted based on the historical position of the dynamic target, and the target point cloud data and the position sequence of the dynamic target after a preset time are projected onto a pre-constructed grid map to obtain a target grid map.

[0048] Those skilled in the art should understand that, for the selected target point cloud data, tracking is performed and its coordinates are converted to the current vehicle body coordinate system. The conversion method uses a bicycle model for track shifting, and the available point cloud data obtained in the previous cycle is converted to the current vehicle body coordinate system using equations (1) to (4):

[0049] Dx=V / T; (1)

[0050] Dh=ω / T; (2)

[0051] X(t)=X(t-1)-Dx; (3)

[0052]

[0053] Among them, x is the displacement of the car in the X direction in one calculation cycle, V is the vehicle speed, T is the calculation cycle, ω is the vehicle yaw angular velocity, Dh is the vehicle yaw angle, X is the X-axis coordinate of the point cloud in the vehicle body coordinate system, and Y is the Y-axis coordinate of the point cloud in the vehicle body coordinate system.

[0054] Specifically, for the selected dynamic targets, firstly, according to the lane where the dynamic target is located, targets in the lane or the expected driving range of the vehicle, or targets in the side lane that have a tendency to invade the lane or the expected driving range of the vehicle are selected, and the historical positions of the dynamic targets are used for prediction, and the prediction algorithms in the relevant technologies are used to obtain the position sequence after the preset time. Among them, the prediction algorithm can be a physical motion trend prediction based on the fitting of the historical position, speed and route angle, or a prediction based on an artificial intelligence algorithm.

[0055] Optionally, in some embodiments, the target point cloud data and the position sequence of the dynamic target after a preset time are projected onto a pre-constructed grid map, and the method further includes: starting from the center of the rear axle of the vehicle, constructing a grid map in the direction of vehicle travel, and obtaining a pre-constructed grid map; wherein the grid change angle in the pre-constructed grid map is calibrated by the road width and the vehicle travel speed.

[0056] Specifically, a grid map is constructed in the direction of travel with the center of the rear axle of the vehicle as the starting point to obtain a pre-constructed grid map. The grid map is composed of oblique lines, so that the farther away from the vehicle, the farther the grid is. The angle of change of the pre-constructed grid map can be calibrated according to actual engineering applications such as road width and vehicle travel speed. The target point cloud data and dynamic targets are projected into the variable-size grid map.

[0057] In step S103, the point in the target grid map that is closest to the global path point and has no obstacles is taken as the target point, and the current position of the vehicle is taken as the starting point. Based on the target grid map, the search tree is expanded from the target point and the starting point respectively to search for the path with the minimum cost. After the two search trees meet, the optimal path of the vehicle is planned according to the minimum cost node generated during the path search process.

[0058] Further, if Figure 2 As shown in the figure, according to the global path, the point in the last row of the target grid map that is closest to the global path point and has no obstacles is selected as the target point, the current position of the vehicle is used as the starting point, and the constructed grid map is expanded from the target point and the starting point to perform path search and calculate the cost value.

[0059] Optionally, in some embodiments, after expanding the search tree from the target point and the starting point to search for the path with the minimum cost based on the target grid map, the method further includes: generating a minimum cost node in the path search process based on a preset cost function, wherein the preset cost function is:

[0060] B(n)=g(n)+h(n)+f(n);

[0061] Among them, n is the grid node in the path, g(n) is the shortest path cost function to the current point, h(n) is the shortest straight path cost function to the target point, f(n) is the obstacle cost, and the node cost with obstacles can be set to the maximum value.

[0062] The embodiment of the present application follows the path search principle of the A Star algorithm, and continuously expands the search tree toward the target point and the starting point to search for the path with the minimum cost, calculates the cost value of each explored grid node in the path, updates the state of the node, and stops when the two search trees meet. At the same time, based on the preset cost function, the minimum cost nodes are recorded during the search. These nodes with the minimum cost are the optimal paths obtained.

[0063] Among them, the embodiment of the present application uses Mahalanobis distance as the cost value, and Mahalanobis distance, Chebyshev distance or Euclidean distance can also be used for calculation, which is not specifically limited here.

[0064] In order to enable those skilled in the art to further understand the vehicle path planning method of the embodiment of the present application, the following is a brief description in conjunction with a specific embodiment. Figure 3 shown.

[0065] Step S301, the vehicle is ignited, and the sensors and programs run normally.

[0066] Step S302, screening static point clouds within a certain range.

[0067] Step S303: multi-frame point cloud data tracking.

[0068] Step S304, screening out dynamic and static targets within a certain range.

[0069] Step S305, predicting the future position of the dynamic target.

[0070] Step S306, constructing a variable-size grid map, and performing obstacle projection and target point selection.

[0071] Step S307: searching for the optimal path based on the A Star algorithm.

[0072] Therefore, according to the path planning method of the vehicle proposed in the embodiment of the present application, by collecting the point cloud data of the vehicle's surrounding environment, and filtering out the target point cloud data and dynamic targets at different times from the point cloud data, the coordinates of the target point cloud data at different times are converted to the target coordinate system, and the position sequence of the dynamic target after the preset time is predicted based on the historical position of the dynamic target, and the target point cloud data and the position sequence of the dynamic target after the preset time are projected on the pre-constructed grid map to obtain the target grid map, and the point in the target grid map that is closest to the global path point and has no obstacles is used as the target point, and the current position of the vehicle is used as the starting point, and based on the target grid map, the search tree is expanded from the target point and the starting point respectively to search for the path with the minimum cost, until the two search trees meet and stop, and the optimal path of the vehicle is planned according to the minimum cost node generated in the path search process. In this way, the trajectory jump caused by inaccurate perception or prediction in actual scenes, which affects the control effect of the actual vehicle, is solved, and the stability of automatic driving planning is improved.

[0073] Next, a path planning device for a vehicle proposed in accordance with an embodiment of the present application will be described with reference to the accompanying drawings.

[0074] Figure 4 It is a block diagram of a path planning device for a vehicle according to an embodiment of the present application.

[0075] like Figure 4 As shown, the vehicle path planning device 10 includes: a collection module 100, a construction module 200 and a planning module 300.

[0076] Among them, the acquisition module 100 is used to collect point cloud data of the vehicle's surrounding environment, and to filter out target point cloud data and dynamic targets at different times from the point cloud data; the construction module 200 is used to convert the coordinates of the target point cloud data at different times into the target coordinate system, and predict the position sequence of the dynamic target after a preset time based on the historical position of the dynamic target, and project the target point cloud data and the position sequence of the dynamic target after a preset time on a pre-constructed grid map to obtain a target grid map; the planning module 300 is used to take the point in the target grid map that is closest to the global path point and has no obstacles as the target point, and the current position of the vehicle as the starting point, and based on the target grid map, expand the search tree from the target point and the starting point respectively to search for the path with the minimum cost, until the two search trees meet and stop, and plan the optimal path of the vehicle according to the minimum cost node generated during the path search process.

[0077] Optionally, in some embodiments, the acquisition module 100 is specifically used to: filter out first point cloud data that meets a first filtering condition, second point cloud data that meets a second filtering condition, and third point cloud data that meets a third filtering condition from the point cloud data; obtain target point cloud data based on the first point cloud data and the second point cloud data, and obtain a dynamic target based on the third point cloud data.

[0078] Optionally, in some embodiments, the first filtering condition is the point cloud data corresponding to static obstacles at different times; the second filtering condition is the point cloud data in which the lateral position of the point cloud is within a first preset lane width, and the longitudinal position of the point cloud is within a first preset time interval; the third filtering condition is the point cloud data in which the lateral position of the target is within a second preset lane width, and the longitudinal position of the target is within a second preset time interval, wherein the second preset time interval is greater than the first preset time interval.

[0079] Optionally, in some embodiments, the target point cloud data and the position sequence of the dynamic target after a preset time are projected before the pre-constructed grid map, and the construction module 200 is specifically used to: construct a grid map in the direction of vehicle travel with the center of the rear axle of the vehicle as the starting point to obtain a pre-constructed grid map; wherein the grid change angle in the pre-constructed grid map is calibrated by the road width and the vehicle travel speed.

[0080] Optionally, in some embodiments, after performing a path search with the minimum cost by expanding the search tree from the target point and the starting point respectively based on the target grid map, the planning module 300 is specifically used to: generate a minimum cost node in the path search process based on a preset cost function, wherein the preset cost function is:

[0081] B(n)=g(n)+h(n)+f(n);

[0082] Among them, n is the grid node in the path, g(n) is the shortest path cost function to the current point, h(n) is the shortest straight line path cost function to the target point, and f(n) is the obstacle cost.

[0083] It should be noted that the above explanation of the vehicle path planning method embodiment is also applicable to the vehicle path planning device of this embodiment, and will not be repeated here.

[0084] According to the path planning device of the vehicle proposed in the embodiment of the present application, by collecting point cloud data of the vehicle's surrounding environment, and filtering out target point cloud data and dynamic targets at different times from the point cloud data, the coordinates of the target point cloud data at different times are converted to the target coordinate system, and the position sequence of the dynamic target after a preset time is predicted based on the historical position of the dynamic target, and the target point cloud data and the position sequence of the dynamic target after a preset time are projected on a pre-constructed grid map to obtain a target grid map, and the point in the target grid map that is closest to the global path point and has no obstacles is used as the target point, and the current position of the vehicle is used as the starting point, and based on the target grid map, the search tree is expanded from the target point and the starting point to search for the path with the minimum cost, respectively, until the two search trees meet and stop, and the optimal path of the vehicle is planned according to the minimum cost node generated in the path search process. In this way, the trajectory jump caused by inaccurate perception or prediction in actual scenes, which affects the control effect of the actual vehicle, is solved, and the stability of automatic driving planning is improved.

[0085] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0086] A memory 501 , a processor 502 , and a computer program stored in the memory 501 and executable on the processor 502 .

[0087] When the processor 502 executes the program, the vehicle path planning method provided in the above embodiment is implemented.

[0088] Furthermore, the electronic device further comprises:

[0089] The communication interface 503 is used for communication between the memory 501 and the processor 502 .

[0090] The memory 501 is used to store computer programs that can be executed on the processor 502 .

[0091] The memory 501 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.

[0092] If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0093] Optionally, in a specific implementation, if the memory 501, the processor 502 and the communication interface 503 are integrated on a chip, the memory 501, the processor 502 and the communication interface 503 can communicate with each other through an internal interface.

[0094] The processor 502 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0095] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned vehicle path planning method.

[0096] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0097] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0098] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0099] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.

[0100] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0101] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A vehicle path planning method, characterized in that: The following steps are involved: Collecting point cloud data of the vehicle's surrounding environment, and filtering out target point cloud data and dynamic targets at different times from the point cloud data; The coordinates of the target point cloud data at different times are converted into a target coordinate system, and the position sequence of the dynamic target after a preset time is predicted based on the historical position of the dynamic target, and the target point cloud data and the position sequence of the dynamic target after a preset time are projected on a pre-constructed grid map to obtain a target grid map; as well as The point in the target grid map that is closest to the global path point and has no obstacles is used as the target point, and the current position of the vehicle is used as the starting point. Based on the target grid map, the search trees are expanded from the target point and the starting point to search for the path with the minimum cost, respectively, until the two search trees meet and stop, and the optimal path of the vehicle is planned according to the minimum cost node generated during the path search process; The step of selecting target point cloud data and dynamic targets at different times from the point cloud data includes: Filter out first point cloud data satisfying a first filtering condition, second point cloud data satisfying a second filtering condition, and third point cloud data satisfying a third filtering condition from the point cloud data; Obtaining the target point cloud data according to the first point cloud data and the second point cloud data, and obtaining the dynamic target according to the third point cloud data; in, The first screening condition is point cloud data corresponding to static obstacles at different times; The second screening condition is point cloud data whose lateral position of the point cloud is within a first preset lane width and whose longitudinal position is within a first preset time interval; The third filtering condition is point cloud data in which the lateral position of the target in the point cloud data is within a second preset lane width and the longitudinal position of the target is within a second preset time interval, wherein the second preset time interval is greater than the first preset time interval.

2. The method according to claim 1, characterized in that Before projecting the target point cloud data and the position sequence of the dynamic target after a preset time onto the pre-constructed grid map, the method further includes: Taking the center of the rear axle of the vehicle as the starting point, constructing a grid map in the direction of travel of the vehicle to obtain the pre-constructed grid map; The grid change angle in the pre-constructed grid map is calibrated by the road width and the vehicle driving speed.

3. The method according to claim 1, characterized in that: After the method expands the search tree from the target point and the starting point to search for the path with the minimum cost based on the target grid map, it also includes: Based on a preset cost function, a minimum cost node in the path search process is generated, wherein the preset cost function is: ; Among them, n is the grid node in the path, g(n) is the shortest path cost function to the current point, h(n) is the shortest straight line path cost function to the target point, and f(n) is the obstacle cost.

4. A vehicle path planning device, characterized in that: include: An acquisition module is used to acquire point cloud data of the vehicle's surrounding environment, and to filter out target point cloud data and dynamic targets at different times from the point cloud data; A construction module, used to convert the coordinates of the target point cloud data at different times into a target coordinate system, and predict the position sequence of the dynamic target after a preset time according to the historical position of the dynamic target, and project the target point cloud data and the position sequence of the dynamic target after a preset time on a pre-constructed grid map to obtain a target grid map; as well as A planning module, used to take the point in the target grid map that is closest to the global path point and has no obstacles as the target point, take the current position of the vehicle as the starting point, and based on the target grid map, expand the search tree from the target point and the starting point to search for the path with the minimum cost, until the two search trees meet and stop, and plan the optimal path of the vehicle according to the minimum cost node generated during the path search process; The acquisition module is specifically used for: Filter out first point cloud data satisfying a first filtering condition, second point cloud data satisfying a second filtering condition, and third point cloud data satisfying a third filtering condition from the point cloud data; Obtaining the target point cloud data according to the first point cloud data and the second point cloud data, and obtaining the dynamic target according to the third point cloud data; in, The first screening condition is point cloud data corresponding to static obstacles at different times; The second screening condition is point cloud data whose lateral position of the point cloud is within a first preset lane width and whose longitudinal position is within a first preset time interval; The third filtering condition is point cloud data in which the lateral position of the target in the point cloud data is within a second preset lane width and the longitudinal position of the target is within a second preset time interval, wherein the second preset time interval is greater than the first preset time interval.

5. An electronic device, characterized in that: Including memory and processor; The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the path planning method for the vehicle as described in any one of claims 1-3.

6. A computer-readable storage medium storing a computer program, characterized in that: When the program is executed by a processor, the path planning method for a vehicle as described in any one of claims 1 to 3 is implemented.