Simulation scene prediction information generation method and device, electronic equipment and storage medium

By pre-calculating and storing the global and noise prediction paths of the simulation environment vehicle, combined with the probability threshold, the problem of complex adjustment of the simulation prediction module in the existing technology is solved, and the simulation effect of the autonomous driving vehicle is improved.

CN118709364APending Publication Date: 2024-09-27ZHIDAO NETWORK TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410706735.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The simulation prediction module of the existing autonomous driving simulation platform uses machine learning or neural network technology, which makes the prediction information adjustment complex and inconvenient. It cannot be quickly adjusted according to the simulation needs, which affects the simulation effect of the autonomous driving vehicle.

Method used

By pre-calculating and storing the global predicted path and noise predicted path of the simulation environment vehicle, the corresponding prediction information is obtained based on the location information and path generation information, and combined with the preset probability threshold, it is possible to quickly obtain the predicted path corresponding to the simulation needs. By adjusting Path generation information is adjusted accordingly.

Benefits of technology

It achieves simple and convenient prediction information adjustment, and the prediction information is closer to the output data of the real situation, effectively improving the simulation effect of autonomous vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709364A
    Figure CN118709364A
Patent Text Reader

Abstract

The invention relates to a simulation scene prediction information generation method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring position information and path generation information of a simulation environment vehicle; obtaining first prediction information from a pre-stored global prediction path according to the position information of the simulation environment vehicle and the path generation information; acquiring second prediction information corresponding to the first prediction information from a pre-stored noise prediction path according to the first prediction information; and obtaining prediction information corresponding to the simulation environment vehicle according to the first prediction information, the second prediction information and a preset probability threshold. According to the scheme provided by the invention, the prediction information corresponding to the simulation demand can be quickly obtained, the prediction information can be adjusted through simple parameter adjustment, and the simulation effect of the autonomous vehicle is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving simulation technology, and in particular to a method, device, electronic device and storage medium for generating simulation scenario prediction information. Background Art

[0002] With the continuous development of autonomous driving technology, the prediction module plays an increasingly important role in the autonomous driving system. The prediction module is responsible for analyzing the surrounding environment and the dynamic behavior of other vehicles, predicting future traffic conditions, and providing key information support for the decision-making module of the autonomous driving vehicle.

[0003] In related technologies, the simulation prediction module of the simulation platform is generally implemented using technologies such as machine learning and neural networks. The adjustment process of the prediction information is complex and inconvenient, which makes it impossible to quickly make corresponding adjustments based on simulation requirements, affecting the simulation effect of the autonomous driving vehicle. Summary of the invention

[0004] In order to solve or partially solve the problems existing in the related technology, the present application provides a simulation scenario prediction information generation method, device, electronic device and storage medium, which can quickly obtain prediction information corresponding to the simulation requirements, and adjust the prediction information through simple parameter adjustment, so that the prediction information is closer to the output data of the prediction model in the actual situation, thereby effectively improving the simulation effect of the autonomous driving vehicle.

[0005] The first aspect of the present application provides a method for generating simulation scenario prediction information, comprising:

[0006] Obtain the location information of the simulation environment vehicle and the path generation information;

[0007] Acquire first prediction information from a pre-stored global prediction path according to the position information of the simulation environment vehicle and the path generation information;

[0008] According to the first prediction information, obtaining second prediction information corresponding to the first prediction information from a pre-stored noise prediction path;

[0009] Prediction information corresponding to the simulation environment vehicle is obtained according to the first prediction information, the second prediction information and a preset probability threshold.

[0010] In some embodiments, the method further comprises:

[0011] Generate and store the global predicted path in advance based on the global behavior information of the vehicle in the simulation environment and high-precision map data.

[0012] In some embodiments, generating and storing a global predicted path in advance based on the global behavior information of the simulated environment vehicle and high-precision map data includes:

[0013] According to the global behavior information of the simulated environment vehicle, a behavior stage division result of the simulated environment vehicle is obtained; according to the global behavior information, the high-precision map data and the behavior stage division result, a first planned path corresponding to the non-lane change stage and a second planned path corresponding to the lane change stage are obtained;

[0014] According to the first planned path, the second planned path and the preset distance information, respectively obtain a first predicted path and a second predicted path;

[0015] The first prediction path and the second prediction path are combined to obtain a global prediction path.

[0016] In some implementations, obtaining a first planned path corresponding to a non-lane change phase and a second planned path corresponding to a lane change phase according to the global behavior information and the analysis result of the behavior phase division includes:

[0017] When the analysis result of the behavior stage division is a non-lane-changing stage, obtaining first initial position information and first terminal position information of the simulation environment vehicle corresponding to each non-lane-changing stage in the global behavior information;

[0018] According to the preset optimal path planning algorithm, high-precision map data and the first initial position information and the first terminal position information of the simulated environment vehicle in each non-lane-changing stage, a first planned path corresponding to the simulated environment vehicle in each non-lane-changing stage is obtained.

[0019] In some implementations, obtaining a first planned path corresponding to a non-lane change phase and a second planned path corresponding to a lane change phase according to the global behavior information and the analysis result of the behavior phase division includes:

[0020] When the analysis result of the behavior stage division is a lane change stage, obtaining second initial position information and second terminal position information of the simulation environment vehicle corresponding to each lane change stage in the global behavior information;

[0021] According to the preset spline interpolation algorithm, high-precision map data and the second initial position information and the second terminal position information of the simulated environment vehicle in each lane changing stage, a second planned path corresponding to the simulated environment vehicle in each lane changing stage is obtained.

[0022] In some implementations, the preset spacing information includes: initial position speed, acceleration, target position speed, and preset time accuracy value;

[0023] The acquiring, according to the first planned path, the second planned path and the preset distance information, a first predicted path and a second predicted path respectively, comprises:

[0024] Obtaining the initial position speed, acceleration, target position speed and preset time interval of the simulation environment vehicle in each non-lane change phase and each lane change phase in the global behavior information;

[0025] According to the initial position speed, acceleration, target position speed and preset time interval of the simulation environment vehicle in each non-lane-changing stage and each lane-changing stage, obtaining the value distance interval corresponding to each non-lane-changing stage and each lane-changing stage;

[0026] A first predicted path and a second predicted path are obtained according to the value distance interval, the first planned path and the second planned path.

[0027] In some embodiments, the method further comprises:

[0028] At least one noise prediction path corresponding to the global prediction path is obtained and stored in advance based on the global prediction path and high-precision map data.

[0029] A second aspect of the present application provides a simulation scenario prediction information generating device, comprising:

[0030] An information acquisition module is used to obtain the location information of the simulation environment vehicle and the path generation information;

[0031] A true value path acquisition module, used to acquire first prediction information from a pre-stored global prediction path according to the position information of the simulation environment vehicle and the path generation information;

[0032] a noise path acquisition module, configured to acquire, according to the first prediction information, second prediction information corresponding to the first prediction information from a pre-stored noise prediction path;

[0033] The prediction information acquisition module is used to obtain prediction information corresponding to the simulation environment vehicle according to the first prediction information, the second prediction information and a preset probability threshold.

[0034] A third aspect of the present application provides an electronic device, including:

[0035] Processor; and

[0036] The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.

[0037] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.

[0038] The technical solution provided by this application may have the following beneficial effects:

[0039] The technical solution of the present application calculates and stores the global predicted path and the noise predicted path for the simulated environment vehicle in advance, obtains the corresponding first predicted information and the second predicted information from the global predicted path and the noise predicted path according to the position information of the simulated environment vehicle and the path generation information, and obtains the corresponding predicted information in combination with the preset probability threshold. Through the above method, it is possible to quickly obtain the predicted path corresponding to the simulation requirements, and the corresponding adjustment of the obtained predicted path can be achieved by adjusting the path generation information. The operation is simple and convenient, and the predicted information includes the true value path, the noise path, and the probability ratio between the true value path and the noise path, so that the predicted information is closer to the output data of the prediction model in the real situation, and effectively improves the simulation effect of the autonomous driving vehicle.

[0040] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and other objects, features and advantages of the present application will become more apparent by describing in more detail exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.

[0042] Figure 1 It is a flowchart of a method for generating simulation scenario prediction information shown in an embodiment of the present application;

[0043] Figure 2 is another flow chart of the method for generating simulation scenario prediction information shown in an embodiment of the present application;

[0044] Figure 3 is another flow chart of the method for generating simulation scenario prediction information shown in an embodiment of the present application;

[0045] Figure 4 is another flow chart of the method for generating simulation scenario prediction information shown in an embodiment of the present application;

[0046] Figure 5 It is a structural schematic diagram of a simulation scene prediction information generating device shown in an embodiment of the present application;

[0047] Figure 6is another structural schematic diagram of the simulation scenario prediction information generating device shown in an embodiment of the present application;

[0048] Figure 7 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0049] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0050] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0051] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0052] In related technologies, the simulation prediction module of the simulation platform is generally implemented using technologies such as machine learning and neural networks. The adjustment process of the prediction information is complex and inconvenient, which makes it impossible to quickly make corresponding adjustments based on simulation requirements, affecting the simulation effect of the autonomous driving vehicle.

[0053] It should be noted that the simulation prediction module in the prior art is generally implemented by users developing corresponding algorithms, that is, the simulation platform generally does not have the function of outputting prediction information. In addition, the prediction module developed by users is generally implemented based on complex machine learning or neural network technology, and performs real-time prediction by obtaining the real-time parameters of the environmental vehicle in the simulation platform. There is a large error between the prediction information given by the above prediction process and the actual situation. When the decision module that applies the prediction information given by the above prediction model fails, it is difficult to locate the fault. At the same time, due to the complexity of the structure of the above prediction model, there is a problem of difficulty in debugging.

[0054] In response to the above problems, an embodiment of the present application provides a method for generating simulation scenario prediction information, which can quickly obtain prediction information corresponding to the simulation requirements. The prediction information can be adjusted through simple parameter adjustments, thereby effectively improving the simulation effect of the autonomous driving vehicle.

[0055] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0056] Figure 1 It is a flowchart of a method for generating simulation scenario prediction information shown in an embodiment of the present application.

[0057] See also Figure 1 , the simulation scenario prediction information generation method of the present application comprises:

[0058] S110, obtaining the location information and path generation information of the simulation environment vehicle.

[0059] In this step, the position information of the simulation environment vehicle in the simulation scene and the path generation information are obtained.

[0060] In some implementations, the location information may be coordinate information of the simulated environment vehicle.

[0061] In some embodiments, the path generation information may include the number of posture points of the predicted path to be obtained and the time interval between two adjacent posture points. It can be understood that, based on the path generation information, the range of the predicted path to be generated by the simulation environment vehicle can be obtained. Among them, the path generation information can correspond to the simulation path range of the main vehicle to be simulated, so that the path generation information corresponds to the range of the predicted path to be generated by the simulation environment vehicle. Among them, the path generation information can be set according to user needs.

[0062] S120, acquiring first prediction information from a pre-stored global prediction path according to the position information of the vehicle in the simulation environment and the path generation information.

[0063] In this step, based on the acquired position information and path generation information of the simulation environment vehicle, first prediction information corresponding to the true value path is acquired from the pre-stored global prediction path corresponding to the simulation environment vehicle. The first prediction information may be prediction information including the true value path.

[0064] Specifically, the global prediction path may be composed of multiple pose points. According to the position information of the simulation environment vehicle, the pose point closest to the simulation environment vehicle in the global prediction path may be obtained.

[0065] In some specific implementations, the pose point closest to the simulated environment vehicle in the global prediction path can be obtained by:

[0066] Taking the vehicle coordinate system of the simulation environment car as the object, the coordinate system of the pose points in the global prediction path is transformed, all the transformed pose points in the global prediction path are traversed, and the pose point whose x coordinate is not negative first is selected as the pose point in the global prediction path that is closest to the simulation environment car.

[0067] In some embodiments, each simulated environment vehicle has a corresponding pre-stored global predicted path, that is, the global predicted path of each simulated environment vehicle is different.

[0068] S130: According to the first prediction information, obtain second prediction information corresponding to the first prediction information from a pre-stored noise prediction path.

[0069] In this step, second prediction information of the corresponding noise path is obtained from the pre-stored noise prediction paths according to the obtained first prediction information. It can be understood that the second prediction information can correspond to multiple noise paths, that is, the second prediction information can include multiple different noise prediction paths.

[0070] S140, obtaining prediction information corresponding to the simulation environment vehicle according to the first prediction information, the second prediction information and a preset probability threshold.

[0071] In this step, prediction information corresponding to the simulated environment vehicle is obtained based on the obtained first prediction information, the second prediction information, and a preset probability threshold of the probability ratio between the corresponding true value path and the noise path.

[0072] It can be understood that the first prediction information corresponds to the true value path, the second prediction information corresponds to the noise path, the preset probability threshold corresponds to the probability ratio between the true value path and the noise path, and the true value path, the noise path and the probability corresponding to the path can be obtained through the prediction information.

[0073] In this embodiment, the technical solution of the present application pre-calculates and stores the global predicted path and the noise predicted path for the simulated environment vehicle, obtains the corresponding first predicted information and second predicted information from the global predicted path and the noise predicted path according to the position information of the simulated environment vehicle and the path generation information, and obtains the corresponding predicted information in combination with the preset probability threshold. Through the above method, it is possible to quickly obtain the predicted path corresponding to the simulation requirements, and the corresponding adjustment of the obtained predicted information can be achieved by adjusting the path generation information. The operation is simple and convenient, and the predicted information includes the first predicted information corresponding to the true value path, the second predicted information corresponding to the noise path, and the probability ratio between the true value path and the noise path, so that the predicted information is closer to the output data of the prediction model in the real situation, and effectively improves the simulation effect of the autonomous driving vehicle.

[0074] Figure 2 FIG. 1 is another flow chart of a method for generating simulation scenario prediction information shown in an embodiment of the present application. Figure 1 Based on the illustrated embodiments, the technical solution of the present application is further explained.

[0075] See also Figure 2 , the simulation scenario prediction information generation method of the present application comprises:

[0076] S210, generating and storing a global predicted path in advance based on the global behavior information of the vehicle in the simulation environment and the high-precision map data.

[0077] In this step, a global predicted path corresponding to the simulation environment vehicle is generated and stored based on the global behavior information of the simulation environment vehicle and the high-precision map data of the corresponding simulation scene.

[0078] Among them, the global behavior information may refer to the designated behavior adopted by the simulation environment vehicle during the global driving process in the simulation scene and the driving parameters related to the driving. Specifically, the designated behavior may be lane keeping and lane changing. Lane keeping means that the simulation environment vehicle is designated to drive in a designated lane, and lane changing means that the simulation environment vehicle is designated to change lanes from the current lane to the designated lane at a designated position. The driving parameters may include the initial speed, target speed, acceleration, initial position, and terminal position in the driving path corresponding to each designated behavior. Among them, the global behavior information may be set according to user needs.

[0079] Among them, high-precision map data may refer to the topological relationship established based on the high-precision map. Specifically, the topological relationship may include road connection information, the ID of each road section, and a set of waypoints (including the coordinates and directions of the points) on each road section.

[0080] It should be understood that the behavior design of the simulation environment vehicle is achieved by setting the global behavior information, wherein each simulation environment vehicle corresponds to the global behavior information.

[0081] Figure 3 It is another flowchart of the simulation scenario prediction information generation method shown in an embodiment of the present application.

[0082] See also Figure 3 In some implementations, generating and storing a global predicted path based on the global behavior information of the simulated environment vehicle and high-precision map data in advance may include the following steps:

[0083] S211, obtaining a behavior stage division result of the simulation environment vehicle according to the global behavior information of the simulation environment vehicle.

[0084] In this step, the global behavior information of the simulated environment vehicle is obtained, and the driving path of the simulated environment vehicle in the simulation scene is divided into behavior stages based on whether a lane change occurs, and the behavior stage division result of the simulated environment vehicle in the simulation scene is obtained.

[0085] The behavior phase division result may indicate the number of phases and the types of corresponding phases of the global driving path of the simulation environment vehicle in the simulation scenario. Specifically, the phase types may include lane change phase and non-lane change phase. The lane change phase may refer to the state of lane keeping in the driving path of the simulation environment vehicle in the corresponding phase; the non-lane change phase may refer to the state of lane change in the driving path of the simulation environment vehicle in the corresponding phase, for example, changing lanes from the current lane to the right lane.

[0086] S212, obtaining a first planned path corresponding to the non-lane change phase and a second planned path corresponding to the lane change phase according to the global behavior information, high-precision map data and the behavior phase division result.

[0087] In this step, based on the global behavior information of the simulated environment vehicle, high-precision map data and the behavior stage division results, the first planned path corresponding to the non-lane change stage and the second planned path corresponding to the lane change stage are calculated for the paths of different stage types.

[0088] It can be understood that different calculation strategies can be used to calculate different planning paths during the lane change phase and the non-lane change phase.

[0089] In some specific implementations, the first planned path may be calculated in the following manner:

[0090] S2121, when the analysis result of the behavior stage division is a non-lane-changing stage, obtaining first initial position information and first terminal position information of the simulation environment vehicle corresponding to each non-lane-changing stage in the global behavior information.

[0091] In this step, the first initial position information and the first terminal position information of the simulation environment vehicle in each non-lane change phase are obtained. The first initial position information and the first terminal position information can be obtained based on the waypoint set in the high-precision map data. Specifically, the first initial position information can be the starting waypoint corresponding to each non-lane change phase, and the first terminal position information can be the terminal waypoint corresponding to each non-lane change phase.

[0092] S2122, based on the preset optimal path planning algorithm, high-precision map data, and the first initial position information and the first terminal position information of the simulation environment vehicle in each non-lane-changing phase, obtain the first planned path corresponding to the simulation environment vehicle in each non-lane-changing phase.

[0093] In this step, according to the first initial position information and the first terminal position information of the simulation environment vehicle in each non-lane change phase, a preset optimal path planning algorithm is adopted, combined with a set of waypoints in the high-precision map data, to obtain the corresponding first planned path.

[0094] It should be understood that the first planned path corresponds to each non-lane-changing stage, that is, each first planned path corresponds to a non-lane-changing stage.

[0095] In some implementations, the preset optimal path planning algorithm may be an A* (A Star) algorithm. Of course, the preset optimal path planning algorithm may also use other path planning algorithms, which are not limited here.

[0096] In some specific implementations, the second planned path may be calculated in the following manner:

[0097] S2123, when the analysis result of the behavior stage division is a lane change stage, obtain the second initial position information and the second terminal position information of the simulation environment vehicle corresponding to each lane change stage in the global behavior information.

[0098] In this step, the second initial position information and the second terminal position information of the simulation environment vehicle in each lane change stage are obtained. Among them, the second initial position information and the second terminal position information can be obtained according to the set of waypoints in the high-precision map data. Specifically, the second initial position information can be the starting waypoint corresponding to each lane change stage and the point before the starting waypoint (such as the waypoint 0.5 meters before), and the first terminal position information can be the terminal waypoint corresponding to each lane change stage and the point after the starting waypoint (such as the waypoint 0.5 meters after).

[0099] In some embodiments, between two adjacent behavior stages, the terminal position information of the previous stage can be used as the initial position information of the next stage. In some embodiments, the first behavior stage corresponding to the simulation environment vehicle is a non-lane change stage. In some specific embodiments, the behavior stages of the simulation environment vehicle are alternately distributed between non-lane change stages and lane change stages. For example, if the first behavior stage is a non-lane change stage, the second behavior stage is a lane change stage, and so on. It should be understood that the last behavior stage of the simulation environment vehicle can be a non-lane change stage.

[0100] S2124, obtaining a second planned path corresponding to the simulation environment vehicle in each lane change stage according to a preset spline interpolation algorithm, high-precision map data, and the second initial position information and the second terminal position information of the simulation environment vehicle in each lane change stage.

[0101] In this step, according to the second initial position information and the second terminal position information of the simulation environment vehicle in each lane change stage, a preset spline interpolation algorithm is used in combination with a set of waypoints in the high-precision map data to obtain the corresponding second planned path.

[0102] In some implementations, the preset spline interpolation algorithm may be a cubic spline interpolation algorithm.

[0103] Specifically, the curve equation f(x) corresponding to the second planned path can be obtained according to the cubic spline interpolation algorithm:

[0104] f(x)=c0+c1*x+c2*x 2 +c3*x 3 (1)

[0105] Among them, c0, c1, c2, c3 are constants, f(x) is the y-axis coordinate value of the corresponding waypoint in the second planned path, and x is the x-axis coordinate value of the corresponding waypoint in the second planned path.

[0106] Furthermore, c0, c1, c2, and c3 are unknown numbers. According to the second initial position information and the second terminal position information, the coordinate values ​​of the starting waypoint w0 (y0, x0) and the previous point w1 (y1, x1) of the starting waypoint, the terminal waypoint w2 (y2, x2), and the next point w3 (y3, x3) of the starting waypoint corresponding to each lane change stage are substituted into formula (1), and the following result is obtained:

[0107]

[0108] The values ​​of c0, c1, c2, and c3 can be obtained by using formula (2).

[0109] S213, acquiring a first predicted path and a second predicted path respectively according to the first planned path, the second predicted path and the preset distance information.

[0110] In this step, the first predicted path and the second predicted path are calculated by combining the first planned path, the second predicted path and the preset distance information. It should be understood that the first predicted path corresponds to each non-lane change stage, and the second predicted path corresponds to each lane change stage.

[0111] In some implementations, the preset spacing information may include: initial position speed, acceleration, target position speed, and preset time accuracy value. The preset spacing information may be specified according to simulation requirements, that is, the preset spacing information may be specified by the user.

[0112] Figure 4 It is another flowchart of the simulation scenario prediction information generation method shown in an embodiment of the present application.

[0113] See also Figure 4 In some specific implementations, obtaining the first predicted path and the second predicted path respectively according to the first planned path, the second predicted path and the preset distance information may include:

[0114] S2131, obtaining the initial position speed, acceleration, target position speed and preset time interval of the simulation environment vehicle in each non-lane change phase and each lane change phase in the global behavior information.

[0115] In this step, the initial position speed, acceleration, target position speed and preset time interval of the simulation environment vehicle in each non-lane change phase and each lane change phase are obtained.

[0116] Among them, the initial position speed may refer to the speed corresponding to the first initial position information or the second initial position information, that is, the speed of the simulated environment vehicle at the starting waypoint in each non-lane change stage or each lane change stage; the acceleration may refer to the acceleration between each waypoint in each non-lane change stage or each lane change stage; the target position speed may refer to the maximum speed of the simulated environment vehicle in each non-lane change stage or each lane change stage; the preset time interval may refer to the calculation time unit of the predicted path. Specifically, the preset time interval may be set to 0.01s by default. Of course, the preset time interval may also be set according to the actual simulation requirements, wherein the smaller the preset time interval, the higher the prediction accuracy corresponding to the predicted path.

[0117] S2132, according to the initial position speed, acceleration, target position speed and preset time interval of the simulation environment vehicle in each non-lane change stage and each lane change stage, obtain the value distance interval corresponding to each non-lane change stage and each lane change stage.

[0118] In this step, the value distance intervals corresponding to each non-lane change stage and each lane change stage are calculated based on the initial position speed, acceleration, target position speed and preset time interval of the simulated environment vehicle in each non-lane change stage and each lane change stage. The value distance interval may refer to the waypoint distance interval used to obtain the corresponding waypoint from the corresponding planned path as the predicted path.

[0119] In some implementations, the value distance intervals corresponding to each non-lane change phase and each lane change phase can be obtained by the following formula:

[0120]

[0121] Among them, v_0 is the initial position speed in the corresponding behavior stage (non-lane change stage or each lane change stage), a is the acceleration in the corresponding behavior stage, v_t is the target position speed in the corresponding behavior stage, delta_time i The preset time interval.

[0122] Specifically, the initial position speed v_0 in the first behavior phase (eg, non-lane change phase) may be zero.

[0123] In some implementations, between two adjacent behavior stages, the target position speed v_t of the previous stage can be used as the initial position speed v_0 of the next stage. In this way, the following formula can also be obtained:

[0124] v i =min(v_t,v_0+delta_time i *a) (4)

[0125] Among them, v i As the initial position velocity v_0 of the next stage.

[0126] Through the above formula (3) and formula (4), the corresponding value distance interval delta_distance of each non-lane change stage and each lane change stage can be obtained: i .

[0127] S2133: Obtain a first predicted path and a second predicted path according to the valued distance interval, the first planned path, and the second planned path.

[0128] In this step, according to the obtained value distance interval, values ​​are taken from the first planned path and the second planned path according to the value distance interval, so as to obtain the corresponding first predicted path and second predicted path.

[0129] In some implementations, the first predicted path is obtained by:

[0130] The first waypoint of the first planned path is taken as the starting point of the first predicted path, and the distance interval is taken as the interval. Points are taken from the first planned path in sequence until the last waypoint of the first planned path is reached and the point is taken as the end point of the first predicted path, thereby obtaining the first predicted path.

[0131] In some implementations, the second predicted path is obtained by:

[0132] Substituting formula (3) into formula (2), we can obtain:

[0133]

[0134] Among them, x i is the x-coordinate of the starting point of the second predicted path.

[0135] All solutions of (x, f(x)) are obtained by equation (5) as the coordinates of all points on the second predicted path, thereby obtaining the second predicted path.

[0136] S214: Combine the first prediction path and the second prediction path to obtain a global prediction path.

[0137] In this step, the first predicted path and the second predicted path are combined according to the distribution order of the corresponding behavior stages, so as to obtain a global predicted path corresponding to the simulated environment vehicle. It can be understood that during the combination process, two adjacent behavior stages can be connected by corresponding waypoints at the beginning and the end.

[0138] S220, obtaining and storing at least one noise prediction path corresponding to the global prediction path based on the global prediction path and high-precision map data in advance.

[0139] In this step, based on the obtained global predicted path of the simulation environment vehicle and the high-precision map data, the noise predicted path corresponding to the global predicted path is obtained and stored.

[0140] Among them, the noise prediction path can be the predicted path of other lanes corresponding to the driving lane of the simulation environment vehicle. Specifically, the noise prediction path can be the driving path of the lane adjacent to the simulation environment vehicle or the lane in other directions of the intersection. For example, if the driving path of the simulation environment vehicle in the global prediction path does not change lanes, then the corresponding noise prediction path part can be the driving path of the simulation environment vehicle changing lanes to the left or right. For another example, if the driving path of the simulation environment vehicle in the global prediction path changes lanes, then the corresponding noise prediction path part can be the driving path of the simulation environment vehicle not changing lanes or changing lanes in the opposite direction. Among them, the noise prediction path can be calculated in the same way as the global prediction path, which will not be repeated here.

[0141] S230, obtaining the location information and path generation information of the simulation environment vehicle.

[0142] In this step, the position information of the simulation environment vehicle in the simulation scene and the path generation information are obtained.

[0143] S240, acquiring first prediction information from a pre-stored global prediction path according to the position information of the vehicle in the simulation environment and the path generation information.

[0144] In this step, based on the acquired position information of the simulation environment vehicle and the path generation information, first prediction information corresponding to the true value path is acquired from the pre-stored global prediction path corresponding to the simulation environment vehicle.

[0145] S250: According to the first prediction information, obtain second prediction information corresponding to the first prediction information from a pre-stored noise prediction path.

[0146] In this step, according to the acquired first prediction information, second prediction information of the corresponding noise path is acquired from the pre-stored noise prediction paths.

[0147] S260, obtaining prediction information corresponding to the simulation environment vehicle according to the first prediction information, the second prediction information and a preset probability threshold.

[0148] In this step, the predicted path information corresponding to the simulated environment vehicle is obtained based on the obtained first preset information, the second predicted information, and a preset probability threshold of the probability ratio between the corresponding true value path and the noise path.

[0149] In this embodiment, the technical solution of the present application, based on the result of dividing the behavior phases of the simulated environment vehicle in the simulated scene, uses different calculation strategies to calculate the first planned path corresponding to the non-lane change phase and the second planned path corresponding to the lane change phase for different phase types of paths, and then combines the first predicted path and the second predicted path to obtain a global predicted path. In this way, different methods are used to calculate the predicted path for different behavior phases of the simulated environment vehicle, further improving the accuracy of the output predicted path information, thereby improving the simulation effect of the autonomous driving vehicle.

[0150] Corresponding to the aforementioned application function implementation method embodiment, the present application also provides a simulation scenario prediction path generation device, an electronic device and corresponding embodiments.

[0151] Figure 5 It is a structural diagram of a simulation scenario prediction information generating device shown in an embodiment of the present application.

[0152] See also Figure 5The simulation scene prediction information generating device 300 of the present application includes: an information acquisition module 310, a true value path acquisition module 320, a noise path acquisition module 330 and a prediction information acquisition module 340.

[0153] The information acquisition module 310 is used to obtain the location information and predicted path information of the simulated environment vehicle.

[0154] The true value path acquisition module 320 is used to acquire first prediction information from a pre-stored global prediction path according to the position information of the vehicle in the simulation environment and the path generation information.

[0155] The noise path acquisition module 330 is used to acquire second prediction information corresponding to the first prediction information from a pre-stored noise prediction path according to the first prediction information.

[0156] The prediction information acquisition module 340 is used to obtain prediction information corresponding to the simulation environment vehicle according to the first prediction information, the second prediction information and a preset probability threshold.

[0157] Figure 6 It is another structural schematic diagram of the simulation scenario prediction information generating device shown in an embodiment of the present application.

[0158] See also Figure 6 The simulation scene prediction information generating device 300 of the present application includes: an information acquisition module 310, a true value path acquisition module 320, a noise path acquisition module 330, a prediction information acquisition module 340, a true value path calculation module 350, and a noise path calculation module 360.

[0159] The true value path calculation module 350 is used to generate and store a global predicted path in advance based on the global behavior information of the vehicle in the simulation environment and the high-precision map data.

[0160] In some implementations, the true value path calculation module 350 includes: a stage division submodule 351 , a planned path calculation submodule 352 , a predicted path calculation submodule 353 , and a path combination submodule 354 .

[0161] The stage division submodule 351 is used to obtain the behavior stage division result of the simulation environment vehicle according to the global behavior information of the simulation environment vehicle.

[0162] The planned path calculation submodule 352 is used to obtain a first planned path corresponding to the non-lane change phase and a second planned path corresponding to the lane change phase according to the global behavior information, high-precision map data and the behavior phase division result.

[0163] In some embodiments, the planned path calculation submodule 352 obtains a first planned path corresponding to a non-lane-changing stage and a second planned path corresponding to a lane-changing stage according to global behavior information, high-precision map data, and behavior stage division results, which may include: when the analysis result of the behavior stage division is a non-lane-changing stage, obtaining the first initial position information and the first terminal position information of the simulated environment vehicle corresponding to each non-lane-changing stage in the global behavior information; obtaining the first planned path corresponding to the simulated environment vehicle in each non-lane-changing stage according to a preset optimal path planning algorithm, high-precision map data, and the first initial position information and the first terminal position information of the simulated environment vehicle in each non-lane-changing stage.

[0164] In some embodiments, the planned path calculation submodule 352 obtains a first planned path corresponding to the non-lane change phase and a second planned path corresponding to the lane change phase according to the global behavior information, high-precision map data and the behavior phase division result. It may also include: when the analysis result of the behavior phase division is the lane change phase, obtaining the second initial position information and the second terminal position information of the simulated environment vehicle corresponding to each lane change phase in the global behavior information; obtaining the second planned path corresponding to the simulated environment vehicle in each lane change phase according to the preset spline interpolation algorithm, high-precision map data and the second initial position information and the second terminal position information of the simulated environment vehicle in each lane change phase.

[0165] The predicted path calculation submodule 353 is used to obtain the first predicted path and the second predicted path respectively according to the first planned path, the second predicted path and the preset distance information.

[0166] In some embodiments, the preset spacing information includes: initial position speed, acceleration, target position speed and preset time accuracy value; the predicted path calculation submodule 353 obtains the first predicted path and the second predicted path respectively according to the first planned path, the second predicted path and the preset spacing information, which may include: obtaining the initial position speed, acceleration, target position speed and preset time spacing of the simulated environment vehicle for each non-lane change stage and each lane change stage in the global behavior information; obtaining the value distance spacing corresponding to each non-lane change stage and each lane change stage according to the initial position speed, acceleration, target position speed and preset time spacing of the simulated environment vehicle in each non-lane change stage and each lane change stage; obtaining the first predicted path and the second predicted path according to the value distance spacing, the first planned path and the second planned path.

[0167] The path combination submodule 354 is used to combine the first predicted path and the second predicted path to obtain a global predicted path.

[0168] The noise path calculation module 360 ​​is used to obtain and store at least one noise prediction path corresponding to the global prediction path based on the global prediction path and high-precision map data in advance.

[0169] In this embodiment, the technical solution of the present application pre-calculates and stores the global predicted path and the noise predicted path for the simulated environment vehicle, obtains the corresponding first predicted information and second predicted information from the global predicted path and the noise predicted path according to the position information of the simulated environment vehicle and the path generation information, and obtains the corresponding predicted information in combination with the preset probability threshold. Through the above method, it is possible to quickly obtain the predicted path corresponding to the simulation requirements, and the corresponding adjustment of the obtained predicted information can be achieved by adjusting the path generation information. The operation is simple and convenient, and the predicted information includes the first predicted information corresponding to the true value path, the second predicted information corresponding to the noise path, and the probability ratio between the true value path and the noise path, so that the predicted information is closer to the output data of the prediction model in the real situation, and effectively improves the simulation effect of the autonomous driving vehicle.

[0170] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.

[0171] Figure 7 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application.

[0172] See also Figure 7 , the electronic device 1000 includes a memory 1010 and a processor 1020 .

[0173] The processor 1020 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0174] The memory 1010 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. Among them, ROM can store static data or instructions required by the processor 1020 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 1010 may include any combination of computer-readable storage media, including various types of semiconductor storage chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 1010 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. The computer-readable storage medium does not include carrier waves and transient electronic signals transmitted wirelessly or wired.

[0175] The memory 1010 stores executable codes, and when the executable codes are processed by the processor 1020 , the processor 1020 can execute part or all of the methods described above.

[0176] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.

[0177] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.

[0178] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for generating simulation scenario prediction information, characterized in that: include: Obtain the location information of the simulation environment vehicle and the path generation information; Acquire first prediction information from a pre-stored global prediction path according to the position information of the simulation environment vehicle and the path generation information; According to the first prediction information, obtaining second prediction information corresponding to the first prediction information from a pre-stored noise prediction path; Prediction information corresponding to the simulation environment vehicle is obtained according to the first prediction information, the second prediction information and a preset probability threshold.

2. The method according to claim 1, characterized in that: The method further includes: Generate and store the global predicted path in advance based on the global behavior information of the vehicle in the simulation environment and high-precision map data.

3. The method according to claim 2, characterized in that The method of generating and storing a global predicted path in advance based on the global behavior information of the vehicle in the simulation environment and the high-precision map data includes: According to the global behavior information of the simulation environment vehicle, obtaining the behavior stage division result of the simulation environment vehicle; Obtaining a first planned path corresponding to a non-lane-changing phase and a second planned path corresponding to a lane-changing phase according to the global behavior information, the high-precision map data, and the behavior phase division result; According to the first planned path, the second planned path and the preset distance information, respectively obtain a first predicted path and a second predicted path; The first prediction path and the second prediction path are combined to obtain a global prediction path.

4. The method according to claim 3, characterized in that: The obtaining, according to the global behavior information and the analysis result of the behavior stage division, a first planned path corresponding to the non-lane change stage and a second planned path corresponding to the lane change stage, comprises: When the analysis result of the behavior stage division is a non-lane-changing stage, obtaining first initial position information and first terminal position information of the simulation environment vehicle corresponding to each non-lane-changing stage in the global behavior information; According to the preset optimal path planning algorithm, high-precision map data and the first initial position information and the first terminal position information of the simulated environment vehicle in each non-lane-changing stage, a first planned path corresponding to the simulated environment vehicle in each non-lane-changing stage is obtained.

5. The method according to claim 3, characterized in that: The obtaining, according to the global behavior information and the analysis result of the behavior stage division, a first planned path corresponding to the non-lane change stage and a second planned path corresponding to the lane change stage, comprises: When the analysis result of the behavior stage division is a lane change stage, obtaining second initial position information and second terminal position information of the simulation environment vehicle corresponding to each lane change stage in the global behavior information; According to the preset spline interpolation algorithm, high-precision map data and the second initial position information and the second terminal position information of the simulated environment vehicle in each lane changing stage, a second planned path corresponding to the simulated environment vehicle in each lane changing stage is obtained.

6. The method according to claim 4 or 5, characterized in that: The preset spacing information includes: initial position speed, acceleration, target position speed and preset time accuracy value; The acquiring, according to the first planned path, the second planned path and the preset distance information, a first predicted path and a second predicted path respectively, comprises: Obtaining the initial position speed, acceleration, target position speed and preset time interval of the simulation environment vehicle in each non-lane change phase and each lane change phase in the global behavior information; According to the initial position speed, acceleration, target position speed and preset time interval of the simulation environment vehicle in each non-lane-changing stage and each lane-changing stage, obtaining the value distance interval corresponding to each non-lane-changing stage and each lane-changing stage; A first predicted path and a second predicted path are obtained according to the value distance interval, the first planned path and the second planned path.

7. The method according to claim 2, characterized in that The method further includes: At least one noise prediction path corresponding to the global prediction path is obtained and stored in advance based on the global prediction path and high-precision map data.

8. A simulation scene prediction information generating device, characterized in that: include: An information acquisition module is used to obtain the location information of the simulation environment vehicle and the path generation information; A true value path acquisition module, used to acquire first prediction information from a pre-stored global prediction path according to the position information of the simulation environment vehicle and the path generation information; a noise path acquisition module, configured to acquire, according to the first prediction information, second prediction information corresponding to the first prediction information from a pre-stored noise prediction path; The prediction information acquisition module is used to obtain prediction information corresponding to the simulation environment vehicle according to the first prediction information, the second prediction information and a preset probability threshold.

9. An electronic device, characterized in that: include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having executable code stored thereon, characterized in that: When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as claimed in any one of claims 1 to 7.