Automatic driving test scene risk grading method and device

By obtaining the road status and vehicle driving status, determining the drivable trajectory and conducting risk assessment, it solves the problem of insufficient assessment of the risk response capabilities of autonomous vehicles in the existing technology, and achieves a more comprehensive risk assessment and the accuracy of test results.

CN118603582AActive Publication Date: 2024-09-06BEIHANG UNIV +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410640334.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-06
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

Existing autonomous driving test scenario risk grading methods mainly rely on the analysis of external scene information, lack objective evaluation of the test vehicle's ability to cope with risks, and cannot reasonably evaluate the response capabilities of different autonomous driving levels and models to scenario risks.

Method used

By obtaining the road state and the target vehicle's driving state and preset acceleration strategy set at the target autonomous driving level, determine the target vehicle's drivable trajectory, sample and classify trajectory information, and evaluate the risk level of the vehicle in the scene, combined with vehicle dynamics and collision inspection, calculate risk scores, and determine risk levels.

Benefits of technology

It achieves a scientific assessment of the risk response capabilities of test vehicles in autonomous driving test scenarios, improves the validity and comprehensiveness of test results, and ensures the accuracy and rationality of intelligent networked vehicle testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118603582A
    Figure CN118603582A
Patent Text Reader

Abstract

The invention provides an automatic driving test scene risk grading method and device. The method comprises the steps of obtaining a road state in a scene, a driving state of a target vehicle under a target automatic driving level and a preset acceleration strategy set; according to the road state, the driving state and a preset acceleration strategy set, determining a first drivable track of the target vehicle; sampling the first travelable trajectory to obtain trajectory sampling information; grading the track sampling information of each first travelable track to obtain a grading result of the first travelable track; and determining the risk level of the target vehicle in the scene under the target automatic driving level according to the grading result. According to the scheme, the risk grading rule for the test vehicle is provided for the automatic driving test scene, and the assessment of the risk coping capability of the test vehicle is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving technology, and in particular to a method and device for grading risk in autonomous driving test scenarios. Background Art

[0002] With the continuous advancement of intelligent connected vehicle technology, the level of autonomous driving has gradually transitioned from assisted driving to fully autonomous driving, and the tasks undertaken by autonomous driving have also gradually increased. Therefore, strict and complete test scenarios have become a necessary step before autonomous driving vehicles go on the road. Testing based on scenario risk levels can effectively ensure the comprehensiveness of test results and the integrity of the design operation domain coverage, providing an effective basis for the classification of autonomous driving vehicles.

[0003] In the prior art, the theoretical system method for risk classification of autonomous driving vehicle operation scenarios only relies on the analysis of external scene information. Among them, Chinese patent document CN110727706A discloses a method for rapid extraction and classification of risk driving scenarios for intelligent connected vehicle testing, which mainly classifies the risk level of driving scenarios based on subjective evaluation method, interprets the risk of driving scenarios through expert experience, and uses subjective and objective evaluation to divide the scene risks into three levels: high, medium and low. Chinese patent document CN110020797A discloses an evaluation method for autonomous driving test scenarios based on perception defects, which classifies test scenarios by the perception degree of different types of on-board sensors, and rates the risk level of each type of test scenario based on the perception degree. However, most of these existing scene risk classification methods focus on information other than the vehicle itself in the test scene, and lack objective evaluation of the risk response capability of the test subject vehicle in the scene. When the same type of scene faces different autonomous driving level requirements or different types of vehicle models, it is unreasonable to evaluate the risk level only by traffic factors and natural factors in the scene. Summary of the invention

[0004] The present invention provides a method and device for grading risks in autonomous driving test scenarios, proposes risk grading rules for test vehicles for autonomous driving test scenarios, and realizes the evaluation of the test vehicle's ability to cope with risks.

[0005] In a first aspect, the present invention provides a method for grading risk of autonomous driving test scenarios, comprising:

[0006] Obtain the road status in the scene and the driving status of the target vehicle at the target autonomous driving level and a set of preset acceleration strategies;

[0007] Determining a first drivable trajectory of the target vehicle according to the road state, the driving state and the preset acceleration strategy set;

[0008] Sampling the first drivable trajectory to obtain trajectory sampling information;

[0009] Classifying the trajectory sampling information of each of the first drivable trajectories to obtain a classification result of the first drivable trajectories;

[0010] According to the classification result, the risk level of the target vehicle in the scene at the target autonomous driving level is determined.

[0011] Optionally, the road state includes road adhesion, road structure, road width, number of lanes and road curvature; the driving state includes the road position of the vehicle, the vehicle driving speed, the vehicle driving speed direction and the vehicle body orientation; the preset acceleration strategy set is a set of accelerations that the target vehicle can achieve;

[0012] The determining, according to the road state, the driving state and the preset acceleration strategy set, a first drivable trajectory of the target vehicle includes:

[0013] Determining the trajectory endpoint coordinates of the target vehicle according to the road state, the driving state, the preset acceleration strategy set and the planning time;

[0014] Obtaining the current position of the target vehicle and using the current position as a coordinate starting point;

[0015] Curve fitting is performed based on the coordinate starting point and the coordinate ending point of the trajectory to obtain a displacement curve and a speed curve of the first drivable trajectory.

[0016] Optionally, the coordinates of the trajectory endpoint are determined by the following formula:

[0017] ο goal,n×m ={(s goal,n ,l goal,m )α n ∈[α min ,α max ],m∈[1,k]}

[0018] Among them, n is used to represent the nth acceleration, α min , α max They are used to represent the minimum acceleration and maximum acceleration that can be achieved by the preset acceleration strategy set; m is used to represent the number of lanes, m∈[1,k]; o goal,n×m The acceleration α used to characterize the target vehicle n The coordinates of the end point of the trajectory in the mth lane; s goal,n Used to represent the coordinates of the end point of the trajectory o goal,n×m The vertical coordinate, l goal,n Used to represent the coordinates of the end point of the trajectory o goal,n×mThe horizontal coordinate of .

[0019] Optionally, the displacement curve is determined by the following formula:

[0020] f p (t) = a0 + a1t + a2t 2 +a3t 3 +a4t 4 +a5t 4

[0021] The speed curve is determined by the following formula:

[0022] f v (t) = a1 + 2a2t + 3a3t 2 +4a4t 3 +4a5t 3

[0023] Among them, f p (t) is used to characterize the displacement curve; f v (t) is used to characterize the velocity curve; a0, a1, a2, a3, a4, and a5 are all trajectory fitting parameters.

[0024] Optionally, sampling the first drivable trajectory to obtain trajectory sampling information includes:

[0025] For each of the first drivable trajectories, execute:

[0026] Determine a sampling time for the first drivable trajectory according to a preset time interval;

[0027] Acquire the trajectory information of the first drivable trajectory at each sampling time; wherein the trajectory information includes coordinates, longitudinal speed, lateral speed and trajectory curvature;

[0028] The trajectory information at the sampling moments arranged in time series is used as the trajectory sampling information.

[0029] Optionally, the grading the trajectory sampling information of each of the first drivable trajectories to obtain a grading result of the first drivable trajectories includes:

[0030] S1: for each sampling moment in the trajectory sampling information, executing: determining whether the curvature at the sampling moment is greater than a preset curvature, and determining whether the slip angle at the sampling moment is greater than a preset slip angle; if the determination results at the sampling moment are both negative, the trajectory point at the sampling moment is a feasible trajectory point; otherwise, determining that the trajectory point at the sampling moment is an infeasible trajectory point;

[0031] S2: Determine whether there is an infeasible trajectory point in each of the trajectory sampling information; if yes, execute step S3; otherwise, execute step S4;

[0032] S3: Determine the first drivable trajectory to which the trajectory sampling information belongs as an infeasible trajectory, and determine the sampling time corresponding to the first infeasible trajectory point appearing in the trajectory sampling information as the trajectory termination time;

[0033] S4: performing a collision check on each sampling moment in the trajectory sampling information to determine whether there is a sampling moment at which a collision may occur; if so, executing step S5; otherwise, executing step S6;

[0034] S5: determining the first drivable trajectory to which the trajectory sampling information belongs as a possible collision trajectory, and determining the first sampling moment at which a collision may occur in the trajectory sampling information in time sequence as the trajectory termination moment;

[0035] S6: Determine the first drivable trajectory to which the trajectory sampling information belongs as a collision-free trajectory, and use the trajectory termination time of the first drivable trajectory as the trajectory termination time; wherein the classification result includes the trajectory termination time.

[0036] Optionally, performing a collision check on each sampling moment in the trajectory sampling information to determine whether there is a sampling moment at which a collision may occur includes:

[0037] Obtaining the motion status and preset acceleration strategy set of other traffic participants in the scene;

[0038] Determining a second drivable trajectory of the other traffic participant according to the road state, the motion state of the other traffic participant and a preset acceleration strategy set;

[0039] For each of the other traffic participants, the following steps are performed: according to the sampling time of the first drivable trajectory, the trajectory points on each of the second drivable trajectories at the same sampling time are sequentially connected to obtain an occupied area;

[0040] For each sampling moment of the first drivable trajectory, the following steps are performed: determining whether a trajectory point on the first drivable trajectory at the sampling moment is located in the occupied area of ​​the other traffic participants at the sampling moment; and if so, determining that the first drivable trajectory may collide at the sampling moment.

[0041] Optionally, determining, according to the classification result, a risk level of the target vehicle in the scene at a target autonomous driving level includes:

[0042] Calculating a risk score of the target vehicle in the scene at a target autonomous driving level according to the classification result, the trajectory termination time of the first drivable trajectory, and the number of the first drivable trajectories;

[0043] Determining the risk level according to the risk score;

[0044] The risk score is determined by the following formula:

[0045]

[0046] Wherein, R is used to represent the risk score; M is used to represent the number of the first drivable trajectories; t z The trajectory termination time for representing the first drivable trajectory; t i Used to characterize the trajectory termination time of the i-th first drivable trajectory.

[0047] In a second aspect, the present invention provides an autonomous driving test scenario risk grading device, comprising:

[0048] A perception module is used to obtain the road status in the scene and the driving status of the target vehicle at the target autonomous driving level and a set of preset acceleration strategies;

[0049] A trajectory determination module, configured to determine a first drivable trajectory of the target vehicle according to the road state, the driving state and the preset acceleration strategy set;

[0050] A sampling module, used for sampling the first drivable trajectory to obtain trajectory sampling information;

[0051] The risk grading module is used to grade the trajectory sampling information of each of the first drivable trajectories to obtain a grading result of the first drivable trajectories; and determine the risk level of the target vehicle in the scene at the target autonomous driving level according to the grading result.

[0052] In a third aspect, an embodiment of the present invention further provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in any first aspect of this specification is implemented.

[0053] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method described in any first aspect of this specification.

[0054] In a fifth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the method described in any first aspect of this specification are implemented.

[0055] The embodiment of the present invention provides a method and device for grading the risk of an autonomous driving test scenario, which scientifically guides the grading of test scenarios by focusing on the demand for the autonomous driving level of the test vehicle in the autonomous driving test scenario. The method takes the standard level of autonomous driving vehicles as the benchmark, obtains the road conditions in the scenario, the driving conditions of the target vehicle at the target autonomous driving level, and the preset acceleration strategy set, generates a set of drivable trajectories (i.e., the first drivable trajectory), and then calculates the potential risk of each trajectory by sampling, evaluates the overall risk level of the current scenario at the current autonomous driving level, and divides the risk level of the test scenario in this way, supplements the lack of the test vehicle's ability to cope with risks in the risk grading of the test scenario, and realizes a more comprehensive risk assessment of the test scenario, thereby ensuring the effectiveness, accuracy, and comprehensiveness of the test results of the intelligent connected vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 is a flow chart of a method for grading risk of autonomous driving test scenarios provided by an embodiment of the present invention;

[0058] Figure 2 is a hardware architecture diagram of a computing device provided by an embodiment of the present invention;

[0059] Figure 3 It is a structural schematic diagram of a risk grading device for autonomous driving test scenarios provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0061] The specific implementation of the concept of this application is described below.

[0062] Please refer to Figure 1 , an embodiment of the present invention provides a method for grading risk of autonomous driving test scenarios, the method comprising:

[0063] Step 100, obtaining the road state in the scene and the driving state of the target vehicle at the target autonomous driving level and a preset acceleration strategy set;

[0064] Step 102, determining a first drivable trajectory of the target vehicle according to a road state, a driving state, and a preset acceleration strategy set;

[0065] Step 104, sampling the first drivable trajectory to obtain trajectory sampling information;

[0066] Step 106, classifying the trajectory sampling information of each first drivable trajectory to obtain a classification result of the first drivable trajectory;

[0067] Step 108, determining the risk level of the target vehicle in the scene at the target autonomous driving level based on the classification result.

[0068] In an embodiment of the present invention, the method takes a standard level of autonomous driving vehicle as a benchmark, generates a first set of drivable trajectories by acquiring the road conditions in the scene, the driving conditions of the target vehicle at the target autonomous driving level, and a preset acceleration strategy set, and then calculates the potential risk of each trajectory through a sampling method, and evaluates the overall risk level of the current scene at the current autonomous driving level. The test scene risk level is divided accordingly, which supplements the assessment of the test vehicle's risk response capability that is lacking in the test scene risk grading, achieves a more comprehensive risk assessment of the test scene, and thereby ensures the effectiveness, accuracy, and comprehensiveness of the intelligent connected vehicle test results.

[0069] Described below Figure 1 How the various steps are performed.

[0070] First, in step 100, the road state includes road adhesion, road structure, road width, number of lanes and road curvature; the driving state includes the vehicle's road position, vehicle speed, vehicle speed direction and vehicle body orientation; the preset acceleration strategy set is a set of accelerations that the target vehicle can achieve.

[0071] It should be noted that the driving level of autonomous driving technology refers to the SAE J3016 standard, which is divided into six levels from L0 to L5; the target autonomous driving level is any of the six levels, which is determined by the demand for the autonomous driving level measured by the test target. The test scenarios of the target vehicle at different target autonomous driving levels are different. Based on the autonomous driving level required by the test, it is necessary to select at least one scenario corresponding to the autonomous driving level, adopt the autonomous driving system corresponding to the level, and use the above steps 100 to 108 for each scenario for risk classification; the preset acceleration strategy set represents the ability of the vehicle power system to achieve the acceleration required for the drivable trajectory under the current driving speed and road environment, which is obtained based on the inherent properties of the vehicle.

[0072] Specifically, the road conditions in the scene include but are not limited to using roadside sensors to collect traffic data to extract relevant road conditions; wherein the road conditions are affected by external factors such as weather conditions, complex road traffic and traffic accidents.

[0073] With respect to step 102, determining a first drivable trajectory of the target vehicle according to the road state, the driving state, and the preset acceleration strategy set includes:

[0074] Determine the target vehicle’s trajectory endpoint coordinates based on road conditions, driving conditions, a preset acceleration strategy set, and planning time;

[0075] Get the current position of the target vehicle and use the current position as the coordinate starting point;

[0076] Curve fitting is performed based on the coordinate starting point and the coordinate ending point of the trajectory to obtain a displacement curve and a speed curve of the first drivable trajectory.

[0077] It should be noted that the planning time is the estimated driving time of the target vehicle during the test. The first drivable trajectory of different types of target vehicles is different.

[0078] In the present invention, the autonomous driving decision system adopted according to the target autonomous driving level can generate discrete trajectory end point coordinates, and then obtain the current position of the target vehicle in the current state as the coordinate starting point, combined with the trajectory end point coordinate set, and use curve fitting to obtain the set of drivable trajectories of the target vehicle in the current state.

[0079] In a preferred embodiment, the coordinates of the trajectory endpoint are determined by the following formula:

[0080] ο goal,n×m ={(s goal,n ,l goal,m )α n ∈[α min ,α max ],m∈[1,k]}

[0081] Among them, n is used to represent the nth acceleration, α min , α max They are used to represent the minimum acceleration and maximum acceleration that can be achieved by the preset acceleration strategy set; m is used to represent the number of lanes, m∈[1,k]; o goal,n×m Used to characterize the acceleration α of the target vehicle n The coordinates of the end point of the trajectory in the mth lane; s goal,n Used to represent the coordinates of the end point of the trajectory o goal,n×m The vertical coordinate, l goal,n Used to represent the coordinates of the end point of the trajectory o goal,n×m The horizontal coordinate of .

[0082] Specifically, according to the preset acceleration strategy set, that is, the discrete acceleration set a n ∈[a min ,a max ], using the acceleration model, sampling is performed at preset time intervals within the planning time to calculate the longitudinal coordinate s of each trajectory endpoint goal,n At the same time, based on the acquired road conditions, the centerline coordinates of each lane are used as the lateral coordinates of the end point of each trajectory. goal,n , and then combine the longitudinal coordinates of each trajectory endpoint and the transverse coordinates of the endpoint to obtain the trajectory endpoint coordinate set.

[0083] In a preferred embodiment, the displacement curve is determined by the following formula:

[0084] f p (t) = a0 + a1t + a2t 2 +a3t 3 +a4t 4 +a5t 4

[0085] The speed curve is determined by the following formula:

[0086] f v (t) = a1 + 2a2t + 3a3t 2 +4a4t 3 +4a5t 3

[0087] Among them, f p (t) is used to characterize the displacement curve; f v (t) is used to characterize the speed curve; a0, a1, a2, a3, a4, and a5 are all trajectory fitting parameters, and t is any moment within the planning time.

[0088] It should be noted that the trajectory fitting parameters are pre-set based on the target vehicle.

[0089] In the present invention, a mathematical function method is used to generate a drivable trajectory of the target vehicle, which reduces the difficulty of trajectory generation while ensuring bounded acceleration and bounded curvature derivatives. In this way, when sampling is performed according to a preset time interval, the coordinates, longitudinal speed, lateral speed and trajectory curvature of the trajectory points at each sampling time on the first drivable trajectory can be directly obtained.

[0090] In step 104, the first drivable trajectory is sampled to obtain trajectory sampling information, including:

[0091] For each first drivable trajectory, execute:

[0092] Determine a sampling time for the first drivable trajectory according to a preset time interval;

[0093] Acquire the trajectory information of the first drivable trajectory at each sampling time; wherein the trajectory information includes coordinates, longitudinal speed, lateral speed and trajectory curvature;

[0094] The trajectory information at the sampling times arranged in time series is regarded as trajectory sampling information.

[0095] Specifically, for example, the planning time of each first drivable trajectory is 5s, and the preset time interval is 0.1s, then the first drivable trajectory has 50 sampling moments, and within the time range of 0 to 5s, the sampling moments are 0.1s, 0.2s, 0.3s...4.8s, 4.9s, 5s, respectively, and then the trajectory information 01 at 0.1s, the trajectory information 02 at 0.2s, the trajectory information 03 at 0.3s, the trajectory information 48 at 4.8s, the trajectory information 49 at 4.9s, and the trajectory information 50 at 5s of the first drivable trajectory are obtained in chronological order, and then these trajectory information are arranged in time series to obtain trajectory sampling information: trajectory information 01-trajectory information 02-trajectory information 03...trajectory information 48-trajectory information 49-trajectory information 50.

[0096] It should be noted that the preset time interval for sampling is determined according to the test requirements and risk accuracy, and an equal-interval sampling method is adopted.

[0097] In step 106, the trajectory sampling information of each first drivable trajectory is classified to obtain a classification result of the first drivable trajectory, including:

[0098] S1: for each sampling moment in the trajectory sampling information, the following are performed: determining whether the curvature at the sampling moment is greater than a preset curvature, and determining whether the slip angle at the sampling moment is greater than a preset slip angle; if the determination results at the sampling moment are both negative, the trajectory point at the sampling moment is a feasible trajectory point; otherwise, the trajectory point at the sampling moment is determined to be an infeasible trajectory point;

[0099] S2: Determine whether there is an infeasible trajectory point in each trajectory sampling information; if yes, execute step S3; otherwise, execute step S4;

[0100] S3: Determine the first drivable trajectory to which the trajectory sampling information belongs as an infeasible trajectory, and determine the sampling time corresponding to the first infeasible trajectory point appearing in the trajectory sampling information as the trajectory termination time;

[0101] S4: Perform a collision check on each sampling moment in the trajectory sampling information to determine whether there is a sampling moment where a collision may occur; if so, execute step S5; otherwise, execute step S6;

[0102] S5: determining the first drivable trajectory to which the trajectory sampling information belongs as a possible collision trajectory, and determining the first sampling moment at which a collision may occur in the trajectory sampling information in time sequence as the trajectory termination moment;

[0103] S6: Determine the first drivable trajectory to which the trajectory sampling information belongs as a collision-free trajectory, and use the trajectory termination time of the first drivable trajectory as the trajectory termination time; wherein the classification result includes the trajectory termination time.

[0104] Specifically, the calculation formula of the slip angle β is:

[0105]

[0106] where v x is the longitudinal velocity of the vehicle, v y is the lateral velocity of the vehicle.

[0107] Specifically, in step S1, the trajectory point at the sampling moment is an infeasible trajectory point, including the following three situations: 1) the judgment result is that the curvature at the sampling moment is greater than the preset curvature, and the slip angle is not greater than the preset slip angle; 2) the judgment result is that the curvature at the sampling moment is greater than the preset curvature, and the slip angle is greater than the preset slip angle; 3) the judgment result is that the curvature at the sampling moment is not greater than the preset curvature, and the slip angle is greater than the preset slip angle.

[0108] Continuing with the previous example, in the first drivable trajectory A, it is concluded from step S1 that the trajectory points at 0.2s, 0.3s, and 4.8s are all infeasible trajectory points. Therefore, the first drivable trajectory A is an infeasible trajectory, and the trajectory termination time is 0.2s (i.e., the second sampling time).

[0109] In the present invention, the trajectory sampling information is first subjected to a dynamic test, including testing the slip angle and curvature of the first drivable trajectory to determine whether the trajectory is feasible. If the dynamic test determines that the slip angle and curvature are qualified, a collision test is performed; the collision test uses other traffic participants in the scene except the target vehicle to determine the possibility of collision. If there is no collision, the feasible trajectory is a collision-free trajectory with the lowest risk level and the safest, so its trajectory termination time is the trajectory termination time. Once the dynamic test or the collision test fails, the drivable trajectory is risky and the trajectory termination time needs to be determined in time. Based on the dynamic test and the collision test, the accuracy, reliability and scientificity of the risk grading method of the autonomous driving test scene are further improved.

[0110] Specifically, in step S6, if the first drivable trajectory passes the dynamics check and the collision check, and the trajectory is not infeasible or a collision is not likely to occur at any sampling time, the planning time is used as the trajectory termination time, and the trajectory is classified as a collision-free trajectory.

[0111] In some preferred implementations, in step 106, a collision check is performed on each sampling moment in the trajectory sampling information to determine whether there is a sampling moment at which a collision may occur, including:

[0112] Obtain the motion status and preset acceleration strategy set of other traffic participants in the scene;

[0113] Determine a second drivable trajectory of other traffic participants according to the road state, the motion state of other traffic participants and a preset acceleration strategy set;

[0114] For each other traffic participant, the following steps are performed: according to the sampling time of the first drivable trajectory, the trajectory points on each second drivable trajectory at the same sampling time are sequentially connected to obtain an occupied area;

[0115] For each sampling moment of the first drivable trajectory, the following steps are performed: determining whether a trajectory point on the first drivable trajectory at the sampling moment is located in an occupied area of ​​other traffic participants at the sampling moment; and if so, determining that a collision may occur on the first drivable trajectory at the sampling moment.

[0116] It should be noted that other traffic participants include pedestrians, non-motor vehicles and motor vehicles. For pedestrians, the second drivable trajectory is the movable trajectory of the pedestrians. The second drivable trajectory is obtained according to the method of steps 100 and 102.

[0117] Continuing with the previous example, the first drivable trajectory has a total of 50 sampling moments. For other traffic participants B who have 5 second drivable trajectories, for each drivable trajectory, the trajectory points of B at these 50 sampling moments are obtained respectively, and then the 5 trajectory points obtained at the first sampling moment (at 0.1s) are sequentially connected to form a closed area, that is, the occupied area of ​​other traffic participants B at the first sampling moment; it is determined whether there is at least one trajectory point located in the occupied area among the trajectory points of the target vehicle at each first sampling moment in all drivable trajectories, and if so, a collision may occur at this trajectory point.

[0118] In the present invention, collision detection adopts the occupied area method, and determines whether a collision occurs according to whether the coordinate information in the trajectory sampling information and the occupied area calculation generate an intersection. If an intersection is generated, the earliest sampling time when the intersection is generated is recorded as the trajectory termination time, and the corresponding first drivable trajectory is determined as a possible collision trajectory. Specifically, according to the sampling time sequence, the trajectory sampling information and the occupied areas of other traffic participants are compared in sequence. If it is calculated that within the same sampling time, there are trajectory points in the trajectory sampling information that have coordinates located in the occupied area, then the earliest sampling time when the intersection is generated is recorded as the trajectory termination time.

[0119] In step 108, the risk level of the target vehicle in the scene at the target autonomous driving level is determined according to the classification result, including:

[0120] Calculate the risk score of the target vehicle in the scene at the target autonomous driving level according to the classification result, the trajectory termination time of the first drivable trajectory, and the number of the first drivable trajectories;

[0121] Determine the risk level based on the risk score;

[0122] The risk score is determined by the following formula:

[0123]

[0124] Among them, R is used to represent the risk score; M is used to represent the number of the first drivable trajectories; t z The trajectory termination time used to characterize the first drivable trajectory; t i Used to characterize the trajectory termination time of the i-th first drivable trajectory.

[0125] It should be noted that the higher the risk score, the higher the risk level. The trajectory termination time t of the first drivable trajectoryz are the same.

[0126] In the present invention, based on the trajectory termination moment in the trajectory sampling information classification result, the overall risk of the test scene is calculated, and the risk of the scene for the corresponding autonomous driving level is evaluated as the test scene risk classification standard. The present invention proposes a risk classification method for autonomous driving test scenes based on sampling trajectories, which reflects the ability of autonomous driving vehicles to deal with risks in a way based on a set of drivable trajectories, proposes risk classification rules for test vehicles for autonomous driving test scenes, differentiates the test objectives of test scenes, speeds up the test process of autonomous driving vehicles, supplements the lack of assessment of the ability of test vehicles to deal with risks in test scene risk classification, and improves the rationality of the test scene risk classification method.

[0127] In a more specific embodiment, the risk level is determined based on the risk score, including: grading the scenario according to the numerical value of the risk score, when 0≤R<0.33, the scenario risk level is considered to be low; when 0.33≤R<0.67, the scenario risk level is considered to be medium; when 0.67≤R<1, the scenario risk level is considered to be high.

[0128] like Figure 2 , Figure 3 As shown, an embodiment of the present invention provides a risk classification device for autonomous driving test scenarios. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Figure 2 As shown, it is a hardware architecture diagram of a computing device where an autonomous driving test scenario risk grading device is located according to an embodiment of the present invention. Figure 2 In addition to the processor, memory, network interface, and non-volatile memory shown in the figure, the computing device in which the device is located in the embodiment may also generally include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, Figure 3 As shown, as a device in a logical sense, the CPU of the computing device in which it is located reads the corresponding computer program in the non-volatile memory into the memory and runs it. This embodiment provides a risk grading device for autonomous driving test scenarios, which includes:

[0129] A perception module 300, used to obtain the road state in the scene and the driving state of the target vehicle at the target autonomous driving level and a preset acceleration strategy set;

[0130] A trajectory determination module 302, for determining a first drivable trajectory of the target vehicle according to a road state, a driving state and a preset acceleration strategy set;

[0131] A sampling module 304 is used to sample the first drivable trajectory to obtain trajectory sampling information;

[0132] The risk classification module 306 is used to classify the trajectory sampling information of each first drivable trajectory to obtain a classification result of the first drivable trajectory; and determine the risk level of the target vehicle in the scene at the target automatic driving level according to the classification result.

[0133] In some specific implementations, the perception module 300 may be used to execute the above step 100 , the trajectory determination module 302 may be used to execute the above step 102 , the sampling module 304 may be used to execute the above step 104 , and the risk grading module 306 may be used to execute the above steps 106 and 108 .

[0134] In one embodiment of the present invention, the road state includes road adhesion, road structure, road width, number of lanes and road curvature; the driving state includes the vehicle's road position, vehicle speed, vehicle speed direction and vehicle body orientation; the preset acceleration strategy set is a set of accelerations that the target vehicle can achieve.

[0135] In one embodiment of the present invention, the trajectory determination module 302 is further configured to perform the following operations:

[0136] The target vehicle's trajectory endpoint coordinates are determined based on the road conditions, driving conditions, preset acceleration strategy set, and planning time. The trajectory endpoint coordinates are determined by the following formula:

[0137] ο goal,n×m ={(s goal,n ,l goal,m )α n ∈[α min ,α max ],m∈[1,k]}

[0138] Among them, n is used to represent the nth acceleration, α min , α max They are used to represent the minimum acceleration and maximum acceleration that can be achieved by the preset acceleration strategy set; m is used to represent the number of lanes, m∈[1,k]; o goal,n×m Used to characterize the acceleration α of the target vehicle n The coordinates of the end point of the trajectory in the mth lane; s goal,n Used to represent the coordinates of the end point of the trajectory o goal,n×m The vertical coordinate, l goal,n Used to represent the coordinates of the end point of the trajectory o goal,n×m The horizontal coordinate of , k is the total number of lanes;

[0139] Get the current position of the target vehicle and use the current position as the coordinate starting point;

[0140] Perform curve fitting based on the coordinate starting point and the coordinate ending point of the trajectory to obtain a displacement curve and a speed curve of the first drivable trajectory;

[0141] The displacement curve is determined by the following formula:

[0142] f p (t) = a0 + a1t + a2t 2 +a3t 3 +a4t 4 +a5t 4

[0143] The speed curve is determined by the following formula:

[0144] f v (t) = a1 + 2a2t + 3a3t 2 +4a4t 3 +4a5t 3

[0145] Among them, f p (t) is used to characterize the displacement curve; f v (t) is used to characterize the velocity curve; a0, a1, a2, a3, a4, and a5 are all trajectory fitting parameters.

[0146] In one embodiment of the present invention, the sampling module 304 is further configured to perform the following operations:

[0147] For each first drivable trajectory, execute:

[0148] Determine a sampling time for the first drivable trajectory according to a preset time interval;

[0149] Acquire the trajectory information of the first drivable trajectory at each sampling time; wherein the trajectory information includes coordinates, longitudinal speed, lateral speed and trajectory curvature;

[0150] The trajectory information at the sampling times arranged in time series is regarded as trajectory sampling information.

[0151] In one embodiment of the present invention, the risk grading module 306 is further configured to perform the following operations:

[0152] S1: for each sampling moment in the trajectory sampling information, the following are performed: determining whether the curvature at the sampling moment is greater than a preset curvature, and determining whether the slip angle at the sampling moment is greater than a preset slip angle; if the determination results at the sampling moment are both negative, the trajectory point at the sampling moment is a feasible trajectory point; otherwise, the trajectory point at the sampling moment is determined to be an infeasible trajectory point;

[0153] S2: Determine whether there is an infeasible trajectory point in each trajectory sampling information; if yes, execute step S3; otherwise, execute step S4;

[0154] S3: Determine the first drivable trajectory to which the trajectory sampling information belongs as an infeasible trajectory, and determine the sampling time corresponding to the first infeasible trajectory point appearing in the trajectory sampling information as the trajectory termination time;

[0155] S4: Perform a collision check on each sampling moment in the trajectory sampling information to determine whether there is a sampling moment where a collision may occur; if so, execute step S5; otherwise, execute step S6;

[0156] S5: determining the first drivable trajectory to which the trajectory sampling information belongs as a possible collision trajectory, and determining the first sampling moment at which a collision may occur in the trajectory sampling information in time sequence as the trajectory termination moment;

[0157] S6: Determine the first drivable trajectory to which the trajectory sampling information belongs as a collision-free trajectory, and use the trajectory termination time of the first drivable trajectory as the trajectory termination time; wherein the classification result includes the trajectory termination time.

[0158] In one embodiment of the present invention, the risk grading module 306 is further configured to perform the following operations:

[0159] S41: Obtain the motion status and preset acceleration strategy set of other traffic participants in the scene;

[0160] S42: determining a second drivable trajectory of other traffic participants according to the road state, the motion state of other traffic participants and a preset acceleration strategy set;

[0161] S43: for each other traffic participant, the following steps are performed: according to the sampling time of the first drivable trajectory, the trajectory points on each second drivable trajectory at the same sampling time are sequentially connected to obtain an occupied area;

[0162] S44: For each sampling moment of the first drivable trajectory, the following steps are performed: determining whether a trajectory point on the first drivable trajectory at the sampling moment is located in an occupied area of ​​other traffic participants at the sampling moment; if so, determining that a collision may occur on the first drivable trajectory at the sampling moment.

[0163] In one embodiment of the present invention, the risk grading module 306 is further configured to perform the following operations:

[0164] Calculate the risk score of the target vehicle in the scene at the target autonomous driving level according to the classification result, the trajectory termination time of the first drivable trajectory, and the number of the first drivable trajectories;

[0165] Determine the risk level based on the risk score;

[0166] The risk score is determined by the following formula:

[0167]

[0168] Among them, R is used to represent the risk score; M is used to represent the number of the first drivable trajectories; t z The trajectory end time used to characterize the first drivable trajectory; t i Used to characterize the trajectory termination time of the i-th first drivable trajectory.

[0169] It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on a risk grading device for an autonomous driving test scenario. In other embodiments of the present invention, an autonomous driving test scenario risk grading device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0170] The information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0171] An embodiment of the present invention further provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, a risk grading method for autonomous driving test scenarios in any embodiment of the present invention is implemented.

[0172] An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes a risk grading method for autonomous driving test scenarios in any embodiment of the present invention.

[0173] An embodiment of the present application also provides a computer program product, which includes a computer program. A processor of a computer device reads the computer program from a computer-readable storage medium, and the processor executes the computer program, so that the computer device executes a risk grading method for autonomous driving test scenarios described in any of the above embodiments.

[0174] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.

[0175] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0176] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0177] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling the operating system on the computer to complete part or all of the actual operations based on the instructions of the program code.

[0178] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0179] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical factors in the process, method, article or device including the elements.

[0180] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.

[0181] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A risk classification method for autonomous driving test scenarios, characterized in that: include: Obtain the road status in the scene and the driving status of the target vehicle at the target autonomous driving level and a set of preset acceleration strategies; Determining a first drivable trajectory of the target vehicle according to the road state, the driving state and the preset acceleration strategy set; Sampling the first drivable trajectory to obtain trajectory sampling information; Classifying the trajectory sampling information of each of the first drivable trajectories to obtain a classification result of the first drivable trajectories; According to the classification result, the risk level of the target vehicle in the scene at the target autonomous driving level is determined.

2. The method according to claim 1, characterized in that The road state includes road adhesion, road structure, road width, number of lanes and road curvature; the driving state includes the road position of the vehicle, the vehicle speed, the vehicle speed direction and the vehicle body orientation; the preset acceleration strategy set is a set of accelerations that the target vehicle can achieve; The determining, according to the road state, the driving state and the preset acceleration strategy set, a first drivable trajectory of the target vehicle includes: Determining the trajectory endpoint coordinates of the target vehicle according to the road state, the driving state, the preset acceleration strategy set and the planning time; Obtaining the current position of the target vehicle and using the current position as a coordinate starting point; Curve fitting is performed based on the coordinate starting point and the coordinate ending point of the trajectory to obtain a displacement curve and a speed curve of the first drivable trajectory.

3. The method according to claim 2, characterized in that The coordinates of the trajectory endpoint are determined by the following formula: the goal,n×m ={(s goal,n ,l goal,m )a n ∈[a min ,a max ],m∈[1,k]} Among them, n is used to represent the nth acceleration, α min , α max They are used to represent the minimum acceleration and maximum acceleration that can be achieved by the preset acceleration strategy set; m is used to represent the number of lanes, m∈[1,k]; o goal,n×m The acceleration α used to characterize the target vehicle n The coordinates of the end point of the trajectory in the mth lane; s goal,n Used to represent the coordinates of the end point of the trajectory o goal,n×m The vertical coordinate, l goal,n Used to represent the coordinates of the end point of the trajectory o goal,n×m The horizontal coordinate of; and / or, The displacement curve is determined by the following formula: f p (t)=a0+a1t+a2t 2 +a3t 3 +a4t 4 +a5t 4 The speed curve is determined by the following formula: <h2 style=";text-align:left;direction:ltr">f<h2 style=";text-align:left;direction:ltr"> v <h2 style=";text-align:left;direction:ltr"> (t) = a1 + 2a2t + 3a3t<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> +4a4t<h2 style=";text-align:left;direction:ltr"> 3 <h2 style=";text-align:left;direction:ltr"> +4a5t<h2 style=";text-align:left;direction:ltr"> 3 Among them, f p (t) is used to characterize the displacement curve; f v (t) is used to characterize the velocity curve; a0, a1, a2, a3, a4, and a5 are all trajectory fitting parameters.

4. The method according to any one of claims 1 to 3, characterized in that: The step of sampling the first drivable trajectory to obtain trajectory sampling information includes: For each of the first drivable trajectories, execute: Determine a sampling time for the first drivable trajectory according to a preset time interval; Acquire the trajectory information of the first drivable trajectory at each sampling time; wherein the trajectory information includes coordinates, longitudinal speed, lateral speed and trajectory curvature; The trajectory information at the sampling moments arranged in time series is used as the trajectory sampling information.

5. The method according to claim 4, characterized in that The step of grading the trajectory sampling information of each of the first drivable trajectories to obtain a grading result of the first drivable trajectories includes: S1: for each sampling moment in the trajectory sampling information, executing: determining whether the curvature at the sampling moment is greater than a preset curvature, and determining whether the slip angle at the sampling moment is greater than a preset slip angle; if the determination results at the sampling moment are both negative, the trajectory point at the sampling moment is a feasible trajectory point; otherwise, determining that the trajectory point at the sampling moment is an infeasible trajectory point; S2: Determine whether there is an infeasible trajectory point in each of the trajectory sampling information; if yes, execute step S3; otherwise, execute step S4; S3: Determine the first drivable trajectory to which the trajectory sampling information belongs as an infeasible trajectory, and determine the sampling time corresponding to the first infeasible trajectory point appearing in the trajectory sampling information as the trajectory termination time; S4: performing a collision check on each sampling moment in the trajectory sampling information to determine whether there is a sampling moment at which a collision may occur; if so, executing step S5; otherwise, executing step S6; S5: determining the first drivable trajectory to which the trajectory sampling information belongs as a possible collision trajectory, and determining the first sampling moment at which a collision may occur in the trajectory sampling information in time sequence as the trajectory termination moment; S6: Determine the first drivable trajectory to which the trajectory sampling information belongs as a collision-free trajectory, and use the trajectory termination time of the first drivable trajectory as the trajectory termination time; wherein the classification result includes the trajectory termination time.

6. The method according to claim 5, characterized in that The performing of a collision check on each sampling moment in the trajectory sampling information to determine whether there is a sampling moment at which a collision may occur includes: Obtaining the motion status and preset acceleration strategy set of other traffic participants in the scene; Determining a second drivable trajectory of the other traffic participant according to the road state, the motion state of the other traffic participant and a preset acceleration strategy set; For each of the other traffic participants, the following steps are performed: according to the sampling time of the first drivable trajectory, the trajectory points on each of the second drivable trajectories at the same sampling time are sequentially connected to obtain an occupied area; For each sampling moment of the first drivable trajectory, the following steps are performed: determining whether a trajectory point on the first drivable trajectory at the sampling moment is located in the occupied area of ​​the other traffic participants at the sampling moment; and if so, determining that the first drivable trajectory may collide at the sampling moment.

7. The method according to claim 5, characterized in that Determining the risk level of the target vehicle in the scene at the target autonomous driving level according to the classification result includes: Calculating a risk score of the target vehicle in the scene at a target autonomous driving level according to the classification result, the trajectory termination time of the first drivable trajectory, and the number of the first drivable trajectories; Determining the risk level according to the risk score; The risk score is determined by the following formula: Wherein, R is used to represent the risk score; M is used to represent the number of the first drivable trajectories; t z The trajectory termination time for representing the first drivable trajectory; t i Used to characterize the trajectory termination time of the i-th first drivable trajectory.

8. An autonomous driving test scenario risk grading device, characterized in that: include: A perception module is used to obtain the road status in the scene and the driving status of the target vehicle at the target autonomous driving level and a set of preset acceleration strategies; A trajectory determination module, configured to determine a first drivable trajectory of the target vehicle according to the road state, the driving state and the preset acceleration strategy set; A sampling module, used for sampling the first drivable trajectory to obtain trajectory sampling information; The risk grading module is used to grade the trajectory sampling information of each of the first drivable trajectories to obtain a grading result of the first drivable trajectory; and determine the risk level of the target vehicle in the scene at the target autonomous driving level according to the grading result.

9. A computing device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Evaluation system and method for automatic driving vehicle

    CN107782564A

  • Test track dynamic planning method and system for automatic driving test vehicle

    CN109858690A

  • Road safety risk degree evaluation method for automatic driving automobile

    CN110782125A

  • Test scene grade calculation method and device and computer storage medium

    CN113109055A

  • Scene-related trajectory scoring system and method

    CN116745191A