Analyzing Critical ADAS/AD Scenarios With AVL Scenario Simulator™
- Blog
To determine if an automated driving function is safe, billions of test kilometers would be required. Physical testing and real-world prototypes simply cannot efficiently handle such a massive test volume. Virtualization offers a more sustainable option that can manage the enormous test volume required at a much lower cost.
However, when running millions of tests, it is important to aggregate the results, find critical failed tests and analyze them in detail. One of the main questions for an ADAS/AD function developer is: "How well does my ADAS/AD function behave in critical scenarios?" Software developers typically use CI/CD systems to answer very similar questions. Whenever they change the code, they want to know how many of the automated tests the code change breaks.
AVL Scenario Simulator™ is a continuous integration and testing platform for ADAS/AD software and provides simulation models and tool interfaces to create a virtual world for reproducible scenario-based tests based on ASAM OpenSCENARIO® standard.
![Simulation Blog - Analyzing Critical ADAS/AD Scenarios With AVL Scenario Simulator™](/sites/default/files/styles/landscape_small/public/2024-08/gl_ast_image_blog-analyzing-critical-conditions-header_07-2024.jpg.webp?itok=v4e68Ctx)
In AVL Scenario Simulator™, analysis takes place on two levels: The run history provides an aggregated view on all executed simulations based on test parameters and KPIs/safety metrics. This allows for a quick high-level comparison of different ADAS/AD software versions. It also allows to cluster and filter failed tests for an efficient detail analysis of individual tests.
![gl_ast-blog-analyzing-critical-conditions-01-07-2024-fhd.png](/sites/default/files/styles/original_small/public/2024-07/gl_ast-blog-analyzing-critical-conditions-01-07-2024-fhd.png.webp?itok=J23nBW7j)
![gl_ast-blog-analyzing-critical-conditions-01-07-2024-fhd.png](/sites/default/files/styles/original_small/public/2024-07/gl_ast-blog-analyzing-critical-conditions-01-07-2024-fhd.png.webp?itok=J23nBW7j)
The Scenario Replay feature enables a 3D playback of recorded ASAM OSI® data as well as timeseries data. This allows analysis from all angles and different sensor data streams to investigate the exact cause of a failed test and provides important debugging information for the ADAS/AD developers. Based on this information, they can improve the handling of the safety-critical situation in the next version of the ADAS/AD software.
In the following example, the unit under test is the ADAS/AD function. The function developer changes the ADAS/AD function and wants to see how successful the function behaves. The success of such a function is measured by common KPIs like time to collision during the simulation of a scenario. Time to collision is defined as the time delay remaining between the time instant considered and the time of the collision between the vehicle and any other vehicle, irrespective any alteration of speeds and directions during that time delay. Obviously, this should never be below a certain threshold.
![gl-ast-blog-analyzing-critical-conditions-02-07-2024](/sites/default/files/styles/original_small/public/2024-07/gl-ast-blog-analyzing-critical-conditions-02-07-2024-fhd.png.webp?itok=_JkZTGeA)
![gl-ast-blog-analyzing-critical-conditions-02-07-2024](/sites/default/files/styles/original_small/public/2024-07/gl-ast-blog-analyzing-critical-conditions-02-07-2024-fhd.png.webp?itok=_JkZTGeA)
For the test, we used what is called a logical scenario. A logical scenario defines the parameters of the scenario. By applying concrete parameter values, concrete scenarios can be created. In the screenshot below you can see that we use the usual SDT case sets to represent logical scenarios and cases to represent specific scenarios.
![gl-ast-blog-analyzing-critical-conditions-03-07-2024](/sites/default/files/styles/original_small/public/2024-07/gl-ast-blog-analyzing-critical-conditions-03-07-2024-fhd.png.webp?itok=jfydtw_V)
![gl-ast-blog-analyzing-critical-conditions-03-07-2024](/sites/default/files/styles/original_small/public/2024-07/gl-ast-blog-analyzing-critical-conditions-03-07-2024-fhd.png.webp?itok=jfydtw_V)
The simulation dashboard gives an aggregated overview of all performed simulations for the project. It enables software developers and validation engineers to analyze simulation results, compare to older versions and deep dive into single failed tests with the 3D scenario replay tool.
In the dashboard view, the user can start runs and see the progress of the simulations. A green tile in this window indicates that the KPIs of a particular scenario are within the allowed ranges, while a red tile indicates that some KPIs violate the acceptance criteria. Blue tiles represent running simulations and gray tiles represent pending jobs.
By clicking on individual tiles, users can access more detailed information about each case on the right side of the screen (such as parameter and KPI values).
![gl-ast-blog-analyzing-critical-conditions-04-07-2024](/sites/default/files/styles/original_small/public/2024-07/gl-ast-blog-analyzing-critical-conditions-04-07-2024-fhd.png.webp?itok=szoxPeda)
![gl-ast-blog-analyzing-critical-conditions-04-07-2024](/sites/default/files/styles/original_small/public/2024-07/gl-ast-blog-analyzing-critical-conditions-04-07-2024-fhd.png.webp?itok=szoxPeda)
For a more detailed analysis of what actually happened in a scenario, the user can click the Replay button and review the recorded simulation in the Scenario Replay.
![gl-ast-blog-analyzing-critical-conditions-05-07-2024](/sites/default/files/styles/original_small/public/2024-07/gl-ast-blog-analyzing-critical-conditions-05-07-2024-fhd.png.webp?itok=Ryj_WBfO)
![gl-ast-blog-analyzing-critical-conditions-05-07-2024](/sites/default/files/styles/original_small/public/2024-07/gl-ast-blog-analyzing-critical-conditions-05-07-2024-fhd.png.webp?itok=Ryj_WBfO)
These dashboard views and the Scenario Replay are created using web technology to be already prepared for the upcoming task of running all these simulations in the cloud and just providing the user access to a web-UI to inspect the simulation results.
The AVL SCENIUS™ toolchain enables a companywide collaboration and traceability of all scenario-based tests. The holistic solution covers the entire workflow from requirements engineering, via scenario creation and management, to test case planning, execution, and reporting. Thanks to native support for the ASAM OpenSCENARIO® standard, all modules also work standalone and integrate seamlessly into any existing tool landscape.
![Blog ADAS Analyzing Critical Conditions](/sites/default/files/2024-07/blog-gif-adas-analyzing-critical-conditions.gif)
![Blog ADAS Analyzing Critical Conditions](/sites/default/files/2024-07/blog-gif-adas-analyzing-critical-conditions.gif)
Watch the Whole Scenario Analysis Workflow
Stay tuned
Don't miss the Simulation blog series. Sign up today and stay informed!
More About This Topic
![AVL SIMpulse – Simulation for Safety – Next-Level Autonomous Vehicle Development](/sites/default/files/2024-08/gl-ast_image-web-simpulse-adas-ad_08-24.gif)
The fifth part of this online event series focuses on our simulation solutions for automated and connected mobility. Join us and benefit from our know-how of efficient and reliable virtual validation. Hear from industry experts, engage in insightful discussions, and be part of shaping the future of autonomous driving.
![AVL Scenario Simulator™](/sites/default/files/styles/landscape_small/public/2024-06/gl-ast_visual-web-scenario-simulator_05-23.png.webp?itok=YIGXKxyE)
The new AVL Scenario Simulator™ is a cost-optimized solution for fully automated, large-scale ADAS/AD testing. Build the optimal virtual prototype for each test purpose.
![gl-ast_image-web-webinar-scenius-hands-on_06-24.jpg](/sites/default/files/styles/landscape_small/public/2024-06/gl-ast_image-web-webinar-scenius-hands-on_06-24.jpg.webp?itok=UgngxuEw)
Scenario-based testing is established as an efficient method to test critical traffic situations in a reproducible way. The AVL SCENIUS™ toolchain for scenario-based testing ensures end-to-end consistency and traceability, from the requirements to test reports, enabling a thorough safety argumentation and type approval process.
![Scenario Simulator Open Training](/sites/default/files/styles/landscape_small/public/2024-06/gl-ast_image-web-webinar-senario-simulator-training_06-24.jpg.webp?itok=avemSIgj)
Our simulation expert will give you a free training where he will walk you through all the typical steps necessary to integrate and test an Advanced Driver Assistance System (ADAS) or Automated Driving (AD) software in a virtual environment.
Like this? Maybe you’ll also enjoy these…
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit non integer
commodo turpis amet nibh. Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit non integer
commodo turpis amet nibh. Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit non integer
commodo turpis amet nibh. Lorem ipsum dolor sit amet.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit non integer
commodo turpis amet nibh. Lorem ipsum dolor sit amet.
Stay tuned for the Simulation Blog
Don't miss the Simulation blog series. Sign up today and stay informed!