Perception data processing method, device and autonomous driving vehicle
By generating and updating the sensing data queue in real time in the autonomous vehicle, and generating path planning data in real time based on the sensing data queue, it solves the problems of high delay and frame loss rate caused by serial processing in the existing technology, and improves the efficiency of the autonomous vehicle. Response speed and safety to emergencies.
Patent Information
- Application Number
- CN202211053629.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-08-31
AI Technical Summary
Due to the serial processing of sensing data in the planning module of existing autonomous driving technology, the delay is large and the frame loss rate is high, which poses safety risks, especially in response to emergencies.
By generating a sensing data queue and generating path planning data in real time based on any frame of sensing data, there is no need to wait for the previous frame of data to be processed, and adjacent frames of sensing data are processed synchronously to update the driving trajectory and improve path planning efficiency.
It reduces the waiting time for sensing data processing, reduces the frame loss rate, improves the response speed of autonomous vehicles to emergencies, and enhances safety.
Smart Images

Figure CN115230721B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, in particular to the field of autonomous driving technology, and specifically to a perception data processing method, device and autonomous driving vehicle. Background Art
[0002] In the field of autonomous driving, after the perception module collects perception data, the perception data is input into the planning module, which is used to determine how the autonomous driving car should drive according to the collected perception data. In the related art, during the planning process, the planning module usually processes the perception data frames in the order in which they are collected. The next frame of perception data can only be processed after the current frame of perception data is processed, which results in low processing efficiency. Summary of the invention
[0003] The present disclosure provides a perception data processing method, device and autonomous driving vehicle.
[0004] According to a first aspect of the present disclosure, a perception data processing method is provided, including: in a process in which a target vehicle perceives objects in a surrounding environment in real time, generating a perception data queue, wherein the perception data queue records each frame of perception data perceived in real time; in the process of generating the perception data queue, based on any frame of perception data, generating first path planning data matching the frame of perception data; in a process in which a driving trajectory of the target vehicle is determined based on the first path planning data, based on a next frame of perception data adjacent to any frame of perception data, generating second path planning data matching the next frame of perception data; and updating the driving trajectory of the target vehicle based on the second path planning data.
[0005] According to a second aspect of the present disclosure, a data processing device is provided, including: a data queue generation module, which is used to generate a perception data queue during the process of a target vehicle perceiving objects in the surrounding environment in real time, wherein the perception data queue records each frame of perception data perceived in real time; a first generation module, which is used to generate first path planning data matching the frame perception data based on any frame of perception data during the process of generating the perception data queue; a second generation module, which is used to generate second path planning data matching the next frame of perception data based on the next frame of perception data adjacent to any frame of perception data during the process of determining the driving trajectory of the target vehicle based on the first path planning data; and an update module, which is used to update the driving trajectory of the target vehicle based on the second path planning data.
[0006] According to a third aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the perception data processing method of any one of the above embodiments.
[0007] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the perception data processing method according to any one of the above embodiments.
[0008] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the perception data processing method according to any one of the above embodiments.
[0009] According to a sixth aspect of the present disclosure, an autonomous driving vehicle is provided, which includes the electronic device provided by the third aspect of the present disclosure.
[0010] The present disclosure provides a method, device, electronic device and storage medium for processing perception data, which can achieve the technical effect of improving the efficiency of path planning based on perception data.
[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0013] Figure 1 It is a processing flow diagram of a planning module (i.e., planning module) in the related art;
[0014] Figure 2 is a flow chart of a method for processing perception data according to an embodiment of the present disclosure;
[0015] Figure 3 is a flowchart of a method for processing perception data according to an optional embodiment of the present application;
[0016] Figure 4 is a schematic diagram of frame loss in a method for processing perception data in an optional embodiment of the present disclosure;
[0017] Figure 5 is a structural diagram of a perception data processing device according to an embodiment of the present disclosure;
[0018] Figure 6 A schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0019] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0020] In the related art, Figure 1 is a schematic diagram of the processing flow of the planning module (i.e., planning module) in the related technology, such as Figure 1 As shown in the figure, the planning module obtains the perception data at a frequency of 10 Hz, that is, a new frame of perception data is obtained at intervals of 100 ms. After receiving the perception data 1, the corresponding perception data queue Input Seq-1 is generated. Figure 1 The "E2E 140ms" in the figure represents the time taken by the planning module to process the sensory data 1. The planning module will perform path planning based on the sensory data 1, and in the process of performing path planning based on the sensory data 1, the sensory data 2 is received, and the corresponding sensory data queue Input Seq-2 is generated. At this time, although the sensory data 2 is received, it needs to be processed after the sensory data 1 is processed before it can be processed based on the sensory data 2, resulting in increasingly serious delays, such as Figure 1 As shown in the figure, "E2E 180ms" is used to indicate that there is a 180ms delay from the time when Input Seq-2 is received to the time when the planning module starts to process the frame data, and "E2E220ms" is used to indicate that there is a 220ms delay from the time when Input Seq-3 is received to the time when the planning module starts to process the frame data. Due to the large delay, the corresponding perception data queue Input Seq-4 generated by perception data 4 will not be used, that is, when the planning module performs planning for the fourth time, it will directly use perception data 5 to generate the corresponding perception data queue Input Seq-5 for planning, resulting in a high frame loss rate in the planning module. When the self-driving car encounters an emergency, if the planning module has a high frame loss rate and a large delay, it will cause the self-driving car to react to the emergency with a delay, posing a safety hazard.
[0021] In order to solve the technical problem in the related technology that due to the serial processing adopted by the planning module, there are large delays and high frame loss rates, which in turn cause safety hazards for autonomous driving vehicles facing emergencies, the present disclosure provides a perception data processing method. In the process of generating a perception data queue, the method generates first path planning data matching the frame perception data based on any frame of perception data, without waiting for the previous frame of perception data to generate the form trajectory of the target vehicle. In the process of determining the form trajectory of the target vehicle based on the first path planning data, the method can also synchronously execute the next frame of perception data adjacent to any frame of perception data to generate second path planning data matching the next frame of perception data, thereby improving the efficiency of path planning based on perception data.
[0022] Secondly, it should be noted that the perception data processing method in this application is used to plan the short-term driving trajectory of the autonomous driving vehicle.
[0023] Figure 2 is a flow chart of a method for processing perception data according to an embodiment of the present disclosure. Figure 2 As shown, the method includes:
[0024] Step S202 , when the target vehicle perceives objects in the surrounding environment in real time, a perception data queue is generated, wherein the perception data queue records each frame of perception data perceived in real time.
[0025] The target vehicle may be a car with an automatic driving function or a car with an assisted driving function. Each frame of perception data recorded by the perception data queue may be collected by sensors installed on the target vehicle, and the sensors may include but are not limited to cameras, millimeter wave radars, laser radars, ultrasonic sensors, etc. The perception data queue may be an abstract data structure that adopts a first-in-first-out strategy and stores perception data collected at different times. Objects in the surrounding environment include but are not limited to: obstacles, traffic lights, and traffic markings on the ground, etc., wherein obstacles may include other motor vehicles, non-motor vehicles, pedestrians, and other traffic elements, such as water barriers and traffic cones.
[0026] Step S204, in the process of generating the perception data queue, based on any frame of perception data, generate first path planning data matching the frame of perception data.
[0027] The first path planning data may be data generated based on any frame of perception data, and may be used to determine the driving trajectory of the target vehicle. As an optional implementation, the original path planning data corresponding to any frame of perception data may be obtained.
[0028] In an optional implementation, after acquiring the perception data, decisions cannot be made directly based on the frame perception data. First, obstacle identification is required based on the frame perception data to determine the location of the obstacle, and the predicted trajectory of the obstacle is determined based on pre-stored prior information. In addition, if the frame perception data includes traffic lights, the state of the traffic lights included in the frame perception data also needs to be determined. In addition, high-precision map information needs to be obtained to determine at least one lane centerline in the surrounding environment of the target vehicle. Then, the predicted trajectory of the obstacle, the location of the obstacle, and at least one lane centerline in the surrounding environment of the target vehicle are preprocessed to obtain the first path planning data.
[0029] It should be noted that the update of the above-mentioned perception data queue can be sent to the cloud after the perception data is collected, and the received perception data can be added to the perception data queue to obtain an updated perception data queue, and then the updated perception data queue is processed accordingly in the cloud, and the obtained driving trajectory of the target vehicle is returned to the target vehicle. Alternatively, after the perception data is collected, the perception data can also be directly added to the perception data queue by the target vehicle and processed based on the perception data, and during the processing process, the cloud can be accessed at any time to obtain the information required for planning, such as the latest traffic conditions.
[0030] Step S206, in the process of determining the driving trajectory of the target vehicle based on the first path planning data, based on the next frame of perception data adjacent to any frame of perception data, generate second path planning data matching the next frame of perception data.
[0031] The second path planning data is the same as the first path planning data in nature, and can be data generated based on the next frame of perception data adjacent to any frame, and can be used to determine the driving trajectory of the target vehicle. The driving trajectory of the target vehicle is a local driving trajectory of the target vehicle. For example, the target vehicle needs to go from location A to location B. After determining an optimal overall path, the target vehicle may need to determine a local path based on the needs of changing lanes, overtaking, and avoiding pedestrians during the process of driving from location A to location B according to the optimal path. Even if the target vehicle determines that the road ahead is closed based on the perception data, the overall path from the current location of the target vehicle to location B can be planned again. In addition, in the process of determining the driving trajectory of the target vehicle, not only the path planning of the target vehicle is required, but also the speed planning. Finally, the driving trajectory of the target vehicle is generated by combining the path planning results and the speed planning results.
[0032] In an optional embodiment, a planning module may be used to process the received perception data. In the present disclosure, the planning module may be divided into a prepare module and an optimize module. The prepare module is used to generate first path planning data matching any frame of perception data based on the frame of perception data. The optimize module is used to determine the target vehicle's driving trajectory based on the first path planning data, and if there is a pre-stored historical driving trajectory, that is, the result obtained by the optimize module processing the previous frame of perception data, the optimize module may also determine the target vehicle's driving trajectory in combination with the historical driving trajectory of the target vehicle and the first path planning data. When the optimize module processes the path planning data matching any frame of perception data, the prepare module may generate path planning data based on the next frame of perception data adjacent to the frame of perception data.
[0033] In an optional embodiment, when the received data is perception data B after the perception data A is received, after the perception data A is received, the original path planning data matching the frame perception data can be generated based on the perception data A, and in the process of determining the driving trajectory of the target vehicle based on the first path planning data matching the perception data A, the second path planning data matching the perception data B can be generated based on the perception data B. Secondly, in the above determination of the driving trajectory of the target vehicle based on the first path planning data, the vehicle chassis information of the target vehicle can also be obtained from the controller area network (Controller Area Network, referred to as CAN or CAN bus) of the target vehicle, including the speed, acceleration and heading angle of the target vehicle, etc., for planning the driving trajectory of the target vehicle.
[0034] Step S208: updating the driving trajectory of the target vehicle based on the second path planning data.
[0035] In an optional embodiment, after acquiring the second path planning data, planning can be performed according to the second path planning data to obtain a new driving trajectory of the target vehicle, and the driving trajectory of the target vehicle can be updated based on the new driving trajectory of the target vehicle.
[0036] Figure 3 is a flowchart of a method for processing perception data according to an optional embodiment of the present application. Figure 3 As shown, the perception data queue can be received with a period of 100 ms. Input seq-1, Input seq-2, Input seq-3, Input seq-4 and Input seq-5 are used to represent the perception data queue of 5 consecutive frames of perception data received. Figure 3The preprocessing module (also called prepare module) is used to generate the first path planning data (i.e., the preprocessing result) matching the frame perception data based on any frame perception data, and the optimization module (also called optimize module) is used to determine the driving trajectory of the target vehicle based on the first path planning data, or the first path planning data and the historical trajectory.
[0037] In the above embodiments of the present disclosure, in the process of generating a perception data queue, first path planning data matching the frame perception data can be generated based on any frame perception data, without waiting for the previous frame perception data to generate a form trajectory of the target vehicle, and in the process of determining the form trajectory of the target vehicle based on the first path planning data, second path planning data matching the next frame perception data can be generated synchronously based on the next frame perception data adjacent to any frame perception data, thereby reducing the waiting time for processing perception data, thereby achieving the technical effect of improving the efficiency of path planning based on perception data and solving the technical problem of low processing efficiency in related technologies.
[0038] Optionally, the method also includes: if a historical driving trajectory of the target vehicle is pre-stored, then combining the first path planning data and the historical driving trajectory to determine the driving trajectory of the target vehicle, wherein the historical driving trajectory is a driving trajectory obtained by the target vehicle based on historical perception data, and the historical perception data is a previous frame of perception data adjacent to any frame of perception data.
[0039] Specifically, because the driving process of the target vehicle is a continuous process, it is necessary to ensure that the driving trajectory of the target vehicle obtained based on the first path planning data is continuous with the above-mentioned historical driving trajectory. Therefore, if the historical driving trajectory of the target vehicle has been pre-stored, it means that the target vehicle has been driving continuously for a period of time and is currently continuing to drive. On this basis, in the process of planning the driving trajectory of the target vehicle, it is necessary to combine the existing historical driving trajectory.
[0040] In the above optional embodiment, when the historical driving trajectory of the target vehicle is pre-stored, the driving trajectory of the target vehicle is generated by combining the historical driving trajectory and the first path planning data, thereby ensuring the continuity of the driving trajectory and achieving the technical effect of improving the quality of the driving trajectory.
[0041] Optionally, based on any frame of perception data, generating first path planning data matching the frame of perception data includes: acquiring original path planning data corresponding to any frame of perception data; and preprocessing the original path planning data to obtain first path planning data.
[0042] Specifically, after receiving any newly added frame of perception data, the perception data can be added to the perception data queue, and corresponding original path planning data can be generated based on the perception data. The above-mentioned original path planning data includes at least one of the following: at least one lane centerline in the surrounding environment of the target vehicle, the position information and trajectory information of the obstacle, the position information is used to represent the position of the obstacle, and the trajectory information is used to represent the predicted trajectory of the obstacle.
[0043] As an optional implementation, the above-mentioned original path planning data can be obtained through a perception module and a prediction module. Among them, the perception data queue is generated by a perception module, and the perception module can be set in the target vehicle or in the cloud, and interact with the target vehicle through the Internet. The perception module is connected to the prediction module. The perception module can use the deep learning model pre-stored in the perception module to perform obstacle recognition and tracking, lane centerline recognition, traffic light detection, etc. based on any newly added frame of perception data, and obtain the processing results of the perception module, including but not limited to the location of the lane centerline and obstacles, etc. Then, the processing results of the perception module can be transmitted to the prediction module, and the prediction module is respectively connected to the perception module and the planning module. The prediction module is used to determine the predicted trajectory of the obstacle based on the processing results of the perception module. Secondly, the planning module is connected with the perception module, positioning module, complete path planning module and high-precision map module respectively. When the target vehicle is in motion, the positioning module can locate the target vehicle and determine the position of the target vehicle. The complete path planning module is used to plan the complete path planning of the target vehicle from the departure point to the destination, and the planning module is used to plan local paths. The high-precision map module pre-stores high-precision map information, and the planning module can obtain the required map information according to needs during planning.
[0044] In the above optional embodiment, after obtaining the original path planning data corresponding to any frame of perception data, preprocessing can be started immediately without waiting for the previous frame of perception data to generate a driving trajectory before preprocessing can be performed, thereby achieving the technical effect of improving the efficiency of path planning based on perception data.
[0045] Optionally, the method also includes: determining a first operating duration, wherein the first operating duration is used to characterize the duration of the target vehicle's driving trajectory determined based on a combination of the first path planning data and the historical driving trajectory, or the duration of the target vehicle's running trajectory determined based on the first path planning data; in response to the first operating duration being less than a first preset duration threshold, based on the next frame of perception data adjacent to any frame of perception data, generating second path planning data matching the next frame of perception data.
[0046] The first operating duration can be the duration of determining the driving trajectory of the target vehicle in combination with the first path planning data and the historical driving trajectory, or it can be the duration of determining the driving trajectory of the target vehicle based on the first path planning data. As an optional implementation, the process of determining the driving trajectory of the target vehicle based on the first path planning data, or in combination with the first path planning data and the historical driving trajectory, is called the optimize stage, that is, the first duration can be the execution time of the optimize stage. Any of the above-mentioned frames of perception data can be the perception data that is currently in the optimize stage. When the first duration is greater than the preset but less than the first preset threshold, a second path planning data matching the next frame of perception data can be generated based on the perception data adjacent to any frame. It should be noted that the first preset threshold can be set by R&D personnel according to demand.
[0047] In the above optional embodiment, only when the first running time is less than the first preset time threshold, the second path planning data matching the next frame perception data is generated based on the perception data adjacent to any frame to avoid excessive delay, thereby achieving the technical effect of improving the efficiency of path planning based on perception data.
[0048] Optionally, the method further includes: in response to the first running time being greater than or equal to a first preset time threshold, discarding the second path planning data; and stopping determining the driving trajectory of the target vehicle.
[0049] In an optional embodiment, when the first running time is greater than or equal to the first preset time threshold, if the second path planning data has been obtained, the second path planning data can be discarded and the confirmation of the target vehicle's driving trajectory can be stopped; when the first running time is greater than or equal to the first preset time threshold, if the second path planning data has not been obtained, the second path planning data is stopped from being generated, and the confirmation of the target vehicle's driving trajectory can be stopped. Then, the third path planning data can be directly used to confirm the target vehicle's driving trajectory, wherein the third path planning data can be based on the next frame of perception data adjacent to the perception data that matches the second path planning data.
[0050] Figure 4 is a schematic diagram of frame loss in a method for processing perception data in an optional embodiment of the present disclosure, such as Figure 4As shown, Input seq-1, Input seq-2, Input seq-3, Input seq-4 and Input seq-5 are used to characterize the data queue of 5 consecutive frames of perception data received, and are used to characterize the perception data queue corresponding to any frame of perception data received. When the time taken by Input seq-2 in the optimization stage (also called optimize) exceeds the first preset threshold, the path planning data (prepare data) of Input seq-3 can be directly discarded, and the path planning data of Input seq-4 can be used to confirm the driving trajectory of the target vehicle.
[0051] It should be noted that in order to ensure the flexibility of path planning, although the present disclosure will also adopt a processing method of discarding the second path planning, the method provided by the present disclosure can simultaneously execute the next frame of perception data adjacent to any frame of perception data during the process of determining the form trajectory of the target vehicle based on the first path planning data, and generate the second path planning data matching the next frame of perception data. This can reduce the frame loss rate to 1%, which is far from achievable in the related art.
[0052] In the above optional embodiment, when the first running time is greater than or equal to the first preset time threshold, the second path planning data is discarded to avoid continuing to wait when the first running time is too long, which increases the delay, thereby achieving the technical effect of improving the efficiency of perception data path planning.
[0053] Optionally, the original path planning data includes at least one of the following: at least one lane centerline in the surrounding environment of the target vehicle, position information and trajectory information of an obstacle, the position information is used to characterize the position of the obstacle, and the trajectory information is used to characterize the predicted trajectory of the obstacle.
[0054] A lane is usually separated by a lane marking line on both sides. The lane centerline may be a reference line located between two lane marking lines of a lane and parallel to the lane marking lines. The number of lane centerlines depends on the surrounding environment of the target vehicle, and there may be one or more. The lane centerline may be determined by combining preset high-precision map information and the lane line identified by the above perception data.
[0055] Optionally, based on any frame of perception data, first path planning data matching the frame of perception data is generated, including: smoothing at least one lane centerline in the surrounding environment of the target vehicle to obtain at least one target lane centerline; mapping the position information to at least one target lane centerline to obtain a first mapping result; constructing at least one planning task based on the first mapping result and at least one target lane centerline to obtain a task list; mapping the obstacle trajectory to the lane centerline corresponding to each task in the task list to obtain a second mapping result; and obtaining the first path planning data based on the first mapping result, the task list, and the second mapping result.
[0056] The above-mentioned smoothing process may be QSQP processing of at least one lane centerline to obtain at least one target lane centerline. The first mapping result may be a projection result obtained by projecting the position information onto the lane centerline. The above-mentioned task list may be a Tasklist, including but not limited to straight-ahead tasks, left lane change tasks, right lane change tasks, detour tasks, and lane change cancellation tasks.
[0057] In the above optional embodiment, using the lane centerline after smoothing can make the mapping result more accurate, thereby improving the quality of the driving trajectory of the target vehicle.
[0058] Optionally, at least one planning task is constructed based on the first mapping result and at least one target lane centerline to obtain a task list, including: constructing at least one task based on at least one target lane centerline to obtain an initial task list; based on the first mapping result, determining decision data for each task in the initial task list; and pruning the initial task list based on the decision data to obtain a task list.
[0059] The above-mentioned initial task list is composed of multiple tasks (i.e., the above-mentioned tasks), and the decision data of each of the above-mentioned tasks can be decision data corresponding to the task one by one. The above-mentioned pruning process can adopt a complexity pruning method (Cost-Complexity Pruning, referred to as CCP) to determine the cost of the decision data of each task, and then prune the initial task list according to the decision data to obtain a task list.
[0060] In the above optional embodiment, after the task list is preprocessed in the preprocessing stage, the pruned task list is used in the planning stage, which can reduce the amount of calculation in the planning process, thereby achieving the technical effect of improving the efficiency of perception data path planning.
[0061] Optionally, based on the second path planning data, the driving trajectory of the target vehicle is updated, including: performing path planning based on the second path planning data to obtain a first path planning result; performing speed planning based on the second path planning data and the first path planning result to obtain a first speed planning result; and updating the driving trajectory of the target vehicle based on the first path planning result and the first speed planning result.
[0062] The above-mentioned path planning may be a process of planning the route of the target vehicle to obtain multiple initial planning paths, but the first path planning result may be the optimal path among the multiple initial planning paths. After determining the optimal path, speed planning is performed in combination with the optimal route and the first path planning data to obtain a first speed planning result, and the above-mentioned first speed planning result may be a curve based on vehicle speed-time. After determining the path planning result and the speed planning result, the driving trajectory of the target vehicle can be determined.
[0063] In the above optional embodiment, after determining the optimal driving path, speed planning is performed, and there is no need to repeat speed planning multiple times, thereby achieving the technical effect of improving the efficiency of perception data path planning.
[0064] Optionally, the driving trajectory of the target vehicle is determined in combination with the first path planning data and the historical driving trajectory, including: performing path planning based on the first path planning data and the historical trajectory to obtain a second path planning result; performing speed planning based on the first path planning data and the second path planning result to obtain a second speed planning result; and updating the historical driving trajectory of the target vehicle based on the second path planning result and the second speed planning result to obtain the driving trajectory of the target vehicle.
[0065] The above-mentioned path planning may be a process of planning the route of the target vehicle to obtain multiple initial planning paths, but the second path planning result may be the optimal path among the multiple initial planning paths. After determining the optimal path, speed planning is performed in combination with the optimal route and the second path planning data to obtain a second speed planning result, and the above-mentioned second speed planning result may be a curve based on vehicle speed-time. After determining the path planning result and the speed planning result, the driving trajectory of the target vehicle can be determined.
[0066] In the above optional embodiment, after determining the optimal driving path, speed planning is performed, and there is no need to repeat speed planning multiple times, thereby achieving the technical effect of improving the efficiency of perception data path planning.
[0067] In the technical solution disclosed in the present invention, the acquisition, storage and application of the perception data involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0068] According to the disclosed embodiments, the present disclosure provides a perception data processing device, which is used to implement the above embodiments and preferably real-time methods, which have been described and will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0069] Figure 5 is a structural diagram of a perception data processing device according to an embodiment of the present disclosure, such as Figure 5 As shown, the device comprises:
[0070] The data queue generation module 50 is used to generate a perception data queue when the target vehicle perceives objects in the surrounding environment in real time, wherein the perception data queue records each frame of perception data perceived in real time.
[0071] The first generating module 52 is used to generate first path planning data matching the frame perception data based on any frame perception data during the process of generating the perception data queue.
[0072] The second generation module 54 is used to generate second path planning data matching the next frame of perception data based on the next frame of perception data adjacent to any frame of perception data during the process of determining the driving trajectory of the target vehicle based on the first path planning data.
[0073] The updating module 56 is used to update the driving trajectory of the target vehicle based on the second path planning data.
[0074] In the above embodiments of the present disclosure, in the process of generating a perception data queue, first path planning data matching the frame perception data can be generated based on any frame perception data, without waiting for the previous frame perception data to generate a form trajectory of the target vehicle, and in the process of determining the form trajectory of the target vehicle based on the first path planning data, second path planning data matching the next frame perception data can be generated synchronously based on the next frame perception data adjacent to any frame perception data, thereby achieving the technical effect of improving the efficiency of path planning based on perception data and solving the technical problem of low processing efficiency in related technologies.
[0075] Optionally, the device also includes: a third generation module, which is used to determine the driving trajectory of the target vehicle by combining the first path planning data and the historical driving trajectory if the historical driving trajectory of the target vehicle is pre-stored, wherein the historical driving trajectory is the driving trajectory of the target vehicle obtained based on historical perception data, and the historical perception data is the previous frame of perception data adjacent to any frame of perception data.
[0076] Optionally, the first generation module includes: an acquisition unit, used to acquire original path planning data corresponding to any frame of perception data, the original path planning data including at least one of the following: at least one lane centerline in the surrounding environment of the target vehicle, position information and trajectory information of the obstacle, the position information is used to characterize the position of the obstacle, and the trajectory information is used to characterize the predicted trajectory of the obstacle; a preprocessing module, used to preprocess the original path planning data to obtain first path planning data.
[0077] Optionally, the device also includes: a duration confirmation module, used to determine a first operating duration, wherein the first operating duration is used to characterize the duration of the target vehicle's driving trajectory determined based on a combination of the first path planning data and the historical driving trajectory, or the duration of the target vehicle's driving trajectory determined based on the first path planning data; a fourth generation module, used to generate second path planning data matching the next frame of perception data based on the next frame of perception data adjacent to any frame of perception data in response to the first operating duration being less than a first preset duration threshold.
[0078] Optionally, the device further includes: a discarding module, used to discard the second path planning data in response to the first running time being greater than or equal to a first preset time threshold; and a stopping module, used to stop determining the driving trajectory of the target vehicle.
[0079] Optionally, the first generation module includes: a smoothing unit, used to smooth at least one lane centerline in the surrounding environment of the target vehicle to obtain at least one target lane centerline; a first mapping unit, used to map the position information to at least one target lane centerline to obtain a first mapping result; a construction unit, used to construct at least one planning task based on the first mapping result and at least one target lane centerline to obtain a task list; a second mapping unit, used to map the obstacle trajectory to the lane centerline corresponding to each task in the task list to obtain a second mapping result; a generation unit, based on the first mapping result, the task list and the second mapping result, obtains the first path planning data.
[0080] Optionally, the construction unit is also used to construct at least one task based on at least one target lane centerline to obtain an initial task list; based on the first mapping result, determine the decision data for each task in the initial task list; and perform pruning processing on the initial task list based on the decision data to obtain a task list.
[0081] Optionally, the update module includes: a first path planning unit, used to perform path planning based on the second path planning data to obtain a first path planning result; a first speed planning unit, used to perform speed planning based on the second path planning data and the first path planning result to obtain a first speed planning result; and a first fusion unit, used to update the driving trajectory of the target vehicle based on the first path planning result and the first speed planning result.
[0082] Optionally, the third generation module includes: a second path planning unit, used to perform path planning based on the first path planning data and the historical trajectory to obtain a second path planning result; a second speed planning unit, used to perform speed planning based on the first path planning data and the second path planning result to obtain a second speed planning result; a second fusion unit, used to update the historical driving trajectory of the target vehicle based on the second path planning result and the second speed planning result to obtain the driving trajectory of the target vehicle.
[0083] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0084] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0085] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0086] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0087] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the perceptual data processing method. For example, in some embodiments, the perceptual data processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the perceptual data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the perceptual data processing method in any other appropriate manner (e.g., by means of firmware).
[0088] According to an embodiment of the present disclosure, the present disclosure also provides an autonomous driving vehicle, which includes the electronic device in the above embodiment.
[0089] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0090] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0091] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0092] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0093] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0094] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0095] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0096] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for processing perception data, comprising: In the process of the target vehicle perceiving an object in the surrounding environment in real time, a perception data queue is generated, wherein the perception data queue records each frame of perception data perceived in real time; In the process of generating the perception data queue, based on any frame of perception data, first path planning data matching the frame of perception data is generated, wherein the first path planning data is used to represent the original path planning data corresponding to the any frame of perception data, which is obtained by preprocessing, and the original path planning data includes at least one of the following: at least one lane centerline in the surrounding environment of the target vehicle, position information and trajectory information of obstacles, the position information is used to represent the position of the obstacle, and the trajectory information is used to represent the predicted trajectory of the obstacle; In the process of determining the driving trajectory of the target vehicle based on the first path planning data, based on the next frame of perception data adjacent to the any frame of perception data, generating second path planning data matching the next frame of perception data; Based on the second path planning data, updating the driving trajectory of the target vehicle; Among them, based on the second path planning data, the driving trajectory of the target vehicle is updated, including: performing path planning based on the second path planning data to obtain a first path planning result; performing speed planning based on the second path planning data and the first path planning result to obtain a first speed planning result; based on the first path planning result and the first speed planning result, updating the driving trajectory of the target vehicle.
2. The method according to claim 1, further comprising: If the historical driving trajectory of the target vehicle is pre-stored, the driving trajectory of the target vehicle is determined in combination with the first path planning data and the historical driving trajectory, wherein the historical driving trajectory is the driving trajectory of the target vehicle obtained based on historical perception data, and the historical perception data is the previous frame of perception data adjacent to any frame of perception data.
3. The method according to claim 2, further comprising: Determine a first running time, wherein the first running time is used to represent the time duration of determining the driving trajectory of the target vehicle based on the combination of the first path planning data and the historical driving trajectory, or the time duration of determining the running trajectory of the target vehicle based on the first path planning data; In response to the first running time being less than a first preset time threshold, based on a next frame of perception data adjacent to any one frame of perception data, second path planning data matching the next frame of perception data is generated.
4. The method according to claim 3, further comprising: In response to the first running time being greater than or equal to the first preset time threshold, discarding the second path planning data; Stop determining the driving trajectory of the target vehicle.
5. The method according to claim 1, wherein: Based on any frame of perception data, generating first path planning data matching the frame of perception data includes: Smoothing at least one lane centerline in the surrounding environment of the target vehicle to obtain at least one target lane centerline; Mapping the position information onto the at least one target lane centerline to obtain a first mapping result; Construct at least one planning task based on the first mapping result and the at least one target lane centerline to obtain a task list; Mapping the trajectory information to the lane centerline corresponding to each task in the task list to obtain a second mapping result; The first path planning data is obtained based on the first mapping result, the task list and the second mapping result.
6. The method according to claim 5, wherein: Constructing at least one planning task based on the first mapping result and the at least one target lane centerline to obtain a task list includes: Constructing the at least one task based on the at least one target lane centerline to obtain an initial task list; Determining decision data for each task in the initial task list based on the first mapping result; The decision data is used to perform pruning on the initial task list to obtain the task list.
7. The method according to claim 2, wherein: Determining the driving trajectory of the target vehicle by combining the first path planning data and the historical driving trajectory includes: Performing path planning based on the first path planning data and the historical driving trajectory to obtain a second path planning result; Based on the first path planning data and the second path planning result speed planning, obtain a second speed planning result; Based on the second path planning result and the second speed planning result, the historical driving trajectory of the target vehicle is updated to obtain the driving trajectory of the target vehicle.
8. A data processing device, comprising: A data queue generation module is used to generate a perception data queue during the process of the target vehicle perceiving an object in the surrounding environment in real time, wherein the perception data queue records each frame of perception data perceived in real time; A first generating module is used to generate first path planning data matching the frame perception data based on any frame perception data in the process of generating the perception data queue, wherein the first path planning data is used to represent the original path planning data corresponding to the any frame perception data, which is obtained by preprocessing, and the original path planning data includes at least one of the following: at least one lane center line in the surrounding environment of the target vehicle, position information and trajectory information of obstacles, the position information is used to represent the position of the obstacle, and the trajectory information is used to represent the predicted trajectory of the obstacle; A second generation module is used to generate second path planning data matching the next frame of perception data based on the next frame of perception data adjacent to the any frame of perception data in the process of determining the driving trajectory of the target vehicle based on the first path planning data; An updating module, used for updating the driving trajectory of the target vehicle based on the second path planning data; Among them, the update module includes: a first path planning unit, used to perform path planning based on the second path planning data to obtain a first path planning result; a first speed planning unit, used to perform speed planning based on the second path planning data and the first path planning result to obtain a first speed planning result; a first fusion unit, used to update the driving trajectory of the target vehicle based on the first path planning result and the first speed planning result.
9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.
11. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.
12. An autonomous driving vehicle comprising the electronic device as claimed in claim 9.
Citation Information
Patent Citations
Real-time perception adjustment and driving adaption based on surrounding vehicles' behavior for autonomous driving vehicles
CN110239562A
Automatic driving control method and device, vehicle and storage medium
CN111338346A
Path planning in mobile robots
EP3746855A1
Systems and methods for planning and updating a vehicle's trajectory
US20200353917A1
Methods and systems for trajectory forecasting with recurrent neural networks using inertial behavioral rollout
US20200379461A1
