What is ASAM OpenSCENARIO® DSL?

ASAM OpenSCENARIO® DSL 2.1.0 (OSC DSL 2.1.0) is a human-readable scenario definition language that is a standardized format used to describe test scenarios for the development, testing, and validation of Advanced Driver-Assistance Systems (ADAS) and Automated Driving Systems (ADS) functions. The declarative domain-specific programming language is combined with a domain model, specifying entities with their properties.  

The language supports abstract, logical and concrete abstraction levels of scenario description.  In comparison, ASAM OpenSCENARIO® XML covers concrete and logical scenario abstraction but not abstract scenarios.

OSC DSL 2.1.0 is maintained and developed by the ASAM e.V. (Association for Standardization of Automation and Measuring Systems), a non-profit international organization focused on standardization in the automotive industry for automotive development and testing.  The ASAM standards are developed by industry experts from ASAM member companies.

This standard helps companies developing autonomous vehicle systems to efficiently test autonomous vehicles (AV) and advanced driver-assistance systems (ADAS), by allowing large-scale simulations for verification and validation (V&V) purposes that test the safety and functionality of AVs and ADAS.  The standard supports both physical and simulation testing. It focuses on building complex scenarios from reusable scenario descriptions, making testing faster and more efficient. 

Key characteristics of ASAM OpenSCENARIO® DSL:

  • Domain-specific: Designed specifically for the ADAS and ADS development landscape, ASAM OpenSCENARIO® DSL uses terminology and concepts familiar to engineers working in these fields. This makes it easier to create and understand test scenarios compared to general-purpose programming languages.
  • Focuses on intent: OSC DSL 2.1.0 allows specification of the overall goal or intent of the test scenario. This includes defining Key Performance Indicators (KPIs) that will be used to measure the success of the test. The language supports abstract, logical, and concrete levels of abstraction. This high-level approach enables engineers to explore the broader functionality space and identify potential edge cases or unexpected situations.
  • Reusable scenarios: Scenarios don’t have to be built from scratch every time. OSC DSL 2.1.0 allows for the creation of reusable scenario elements or modules. These modules can then be combined to form more complex scenarios, promoting efficiency and flexibility in test design.  The modules can be part of a library that can be used to create complex interactions and ODD conditions. 
  • Test Platform Support: Designed to support all test platforms: Software in the loop (SIL), Hardware in the loop (HIL), Vehicle-in-the-Loop(VIL), Model-in-Loop (MIL), and Proving Grounds.
  • Integrated with OpenDRIVE and OpenCRG: The ADAS and AD development process involves multiple aspects beyond just the scenario itself. OSC DSL 2.1.0 integrates seamlessly with other ASAM standards like OpenDRIVE, which describes road networks, and OpenCRG, which describes traffic signal configurations. This integration facilitates a holistic development environment where different components work together effectively.

OSC DSL 2.1.0 provides three different levels of abstraction:

ASAM OpenSCENARIO® DSL Code

 

 

 

Scenario composition allows for combining simple scenarios in serial or parallel:

ASAM OpenSCENARIO® DSL Scenario

 

 

 

 

 

 

Road abstraction:

This feature is the ability to describe the features of the road network in an abstract way that influences the actor’s behavior during a scenario. The ability to use abstract road description enables creating scenarios according to given road topology, but without being tied to a specific map or location. This is key for reusing these scenarios in different locations.

Code example of road abstraction:

my_junction:junction
road_1, road_2, road_3, road_4: road
jr_12, jr_34:road

r1:map.roads_follow_in_junction(junction:my_junction, in_road: road_1, out_road: road_2, junction_route:jr_12)
r3:map.roads_follow_in_junction(junction:my_junction, in_road: road_3, out_road: road_4, junction_route:jr_34)

Comparison with ASAM OpenSCENARIO® XML:

It’s important to note that ASAM offers two OpenSCENARIO® standards:

  • OpenSCENARIO® XML: This standard utilizes an XML schema for describing scenarios. It focused on defining precise trajectories for vehicles and allows for detailed parameterization of various elements within the scenario. However, its focus on low-level details can make it less efficient for high-level scenario design and exploration.
  • OpenSCENARIO® DSL: In contrast, the focus of OpenSCENARIO® DSL is on the scenario’s intent and overall functionality. This makes it ideal for exploring the broader test space and facilitating the generation of a larger number of test cases.

Applications of ASAM OpenSCENARIO® DSL:

  • Virtual development, simulation, and testing: OSC DSL 2.1.0 plays a crucial role in creating simulated test environments for ADAS and AD functions. This enables engineers to identify and address potential issues before real-world testing is conducted.
  • X-in-the Loop: Hardware-in-the-Loop (HIL) and Software-in-the-Loop (SIL) simulations: HIL simulations involve testing ADAS and AD functions on actual hardware while simulating the surrounding environment. OSC DSL 2.1.0 can be used to create test specifications that guide these simulations, as well as SIL simulations.
  • Real-world driving data analysis and scenario reconstruction: Data gathered from real-world driving scenarios, including proving grounds, can be valuable for improving ADAS and AD systems. OpenSCENARIO® DSL can be used to reconstruct these scenarios for further analysis and development purposes.

File format:

OpenSCENARIO® DSL uses the *.osc file format.

Code Sample for Lane Cut-in with 2 Vehicles:

OpenSCENARIO® 2.1.0 utilizes a dedicated domain-specific language (DSL), with the characteristics of a human and machine readable software programming language.

Here’s a code example using a simplified syntax:

ASAM OpenSCENARIO® DSL Code

 

 

 

 

 

 

 

 

 

 

 

This example represents a simplified scenario outlining the basic concept. Depending on your specific needs, you can further customize the code to include additional details like lane change distances, acceleration profiles, and sensor data generation.

OSC DSL 2.1.0 Visual Example: NCAP Car to Pedestrian nearside child
This NCAP example is a scenario with the Ego (the DUT or SV) drives at different speeds towards a pedestrian. The pedestrian’s path overlaps the Ego’s path by various amounts.

 

ASAM OpenSCENARIO® DSL Scenario

ASAM OpenSCENARIO® DSL Code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Standard authors:

The authors contributing to the standard include the following organizations:
51WORLD High Technology Co.,Ltd., Akkodis Germany Consulting GmbH, AVENYR GmbH, AVL List GmbH, BMW Group, CARIAD SE, DENSO Automotive, dSPACE GmbH, Five AI, Foretellix Ltd, Fraunhofer Institut für Verkehrs- und Infrastruktursysteme IVI, e.V., Hexagon Manufacturing Intelligence GmbH, IPG Automotive GmbH, Luxoft GmbH, MathWorks, PMSF IT Consulting, RA Consulting GmbH, Robert Bosch GmbH, Siemens AG, Tencent, Torc Robotics, TraceTronic GmbH, Vayavya labs Pvt Ltd., Vector Informatik GmbH, Volvo Autonomous Solutions, Volvo Car Corporation

References:

 

Additional content for you

Automated Scenario Curation for Safer ADS

This is the second blog in a series. In the first blog (Accelerating Automated Driving System Deployment with Scalable, Data-Driven Evaluation), Mike Stellfox pointed out that the real challenge in AV development has shifted from simply building systems to ensuring we can truly trust them....

Interview with Glen De Vos - Foretellix’s Newest Board Member

You’re joining our board as Temasek’s representative, what about our technology, team, and vision excites you? What excites me about working with the Foretellix team is that they are offering a comprehensive solution to a critical issue that OEM’s and Tier 1’s are facing during the development of Level 2++, 3 and 4 advanced mobility systems. ...

Why High-Fidelity Sensor Simulation Is Critical for AV Development and Testing

Autonomous vehicles (AVs) must safely navigate complex and unpredictable environments. Yet even the most advanced perception systems face limitations when an object or road user is temporarily hidden from view. These occlusion scenarios, blind spots caused by obstructing vehicles, are among the most critical and difficult to test....

Register to receive ALKS scenarios verification code examples

AI, Autonomy, V&V and Abstractions – Automating at Hyper Speed

Subscribe to our newsletter

Ziv Binyamini

CEO & Co-Founder

Ziv is a verification visionary and a passionate leader. Previously, Ziv served as Corporate VP at Cadence running the simulation and verification business. Through his career at Cadence, Verisity and Intel, Ziv led the development of verification businesses including chip simulation and Verification IP, industry first Coverage Driven Verification solutions and test bench products including Specman for chip verification and Perspec for SoC HW/SW verification.

Yoav Hollander

CTO & Founder

Yoav is a world expert and leader in complex systems expert verification and validation. he Invented the “e” verification language and related methodology (later followed by the UVM methodology). Yoav founded Verisity to deliver “e” and related tools. Verisity was acquired by Cadence Design Systems. In the last few years, Yoav has been researching complex-system verification.

Gil Amid

Chief Regulatory Affairs Officer, VP Operations & Co-founder

Gil is a former Vice President of Intel Corp. Gil has 30 years of experience working for Intel , in which he led the development of EDA and CAD tools in all design domains as well as leading VLSI design projects. In his recent years he was in charge of (among others) the verification tools development organization within Intel.

Jeni Osternik

Jeni Osternik

VP Product & Execution

Jeni is a versatile leader with over 17 years of experience spanning product management, operations, engineering, and business leadership. He leads the company’s product and delivery execution, ensuring the successful alignment of business, technology, and customer value. Before joining Foretellix, Jeni held management roles in the defense and homeland security sectors, where he led multidisciplinary teams and large-scale international programs, driving growth and innovation across complex technology ecosystems.

Vicky Revzin

HR & Global Employee Operations Director

Vicky Revzin – HR & Global Employee Operations Director

Ron Grossberg

VP R&D

Ron is an experienced manager and a passionate software engineer with more than 20 years of experience. Previously Ron managed a group in Algotec (now a Philips subsidiary), fully in charge of the development of complex medical imaging software used by radiologists in thousands of hospitals around the globe. Ron started his way in the IDF programming academy and technological units.

Roger Ordman

VP Marketing

Roger has over 20 years of global experience managing product, marketing and business development teams. Roger’s experience spans the networking, mobile and automotive industries previously serving as EVP of Marketing at Aurora Labs, and Marketing and Product Director at HARMAN. Roger is a frequent speaker on emerging trends in automotive software and holds an engineering degree in Industrial Management from Tel Aviv University.

Udi Jacobi

Udi Jacobi

Chief Commercial Officer

Udi has over 20 years of commercial leadership experience, managing and growing businesses throughout the USA, Europe, and APAC. His experience spans a broad range of industries and disciplines, including Automotive, New Media, and Digital Transformation. Prior to joining Foretellix, Udi founded and successfully grew Brightcom Media into a multi-million-dollar profitable business.

Doron Ilan

CFO

Doron is an experienced CFO with over 20 years in corporate finance, in various private and public companies. As the CFO of 012 Smile Telecom [Nasdaq: BCOM], he led the company’s successful NASDAQ IPO, and later, as the CFO of SuperCom [SPCB] executed an M&A process and a public offering on NASDAQ. In recent years he was the CFO of Xfone, an Israeli telecom provider.

Sharon Rosenberg

Solution Architect & Chief Methodologist

Sharon has over two decades of experience in the verification and validation of highly complex systems. He is the author of two landmark verification & validation textbooks and a key contributor to ASAM OpenSCENARIO® 2.0.

Mike Stellfox

Head of Methodology

Mike is a world expert in advanced verification methodologies and solutions. He has spent more than twenty-five years working with customers around the world on solutions to address their verification challenges in a wide range of industries from Automotive and Autonomous Transport, to Mobile and Hyperscale Computing, to Aerospace and Defense. Before joining Foretellix, Mike was a Fellow at Cadence where he helped transform the semiconductor industry’s approach to verification, based on the automated verification solutions he helped pioneer at Verisity in the early 2000s. Mike started his career at IBM as a VLSI Chip Designer.

Alex Hitzinger

CEO & Co-Founder

Alex started his automotive career at Toyota Motorsport before joining Cosworth and Red Bull Technology. Hitzinger then joined Porsche as Technical Director and Chief Engineer of Porsche 919, which won the 24 Hours of Le Mans in 2015. He spent three years at Apple as Head of Product Design for Project Titan. Most recently, Hitzinger served as Senior Vice President of Autonomous Driving at VW Group and Member of the Executive Board VWN, where he was involved in developing the ID Buzz. He also served as Chief Executive Officer of Artemis GmbH, where he was the Chief Architect of the revolutionary new vehicle concept for next-generation autonomous mobility for their flagship-product Audi Landjet.

Moshe Gavrielov

Chairman of the Board

Moshe Gavrielov last served as the President and CEO of Xilinx from 2008-2018, during which the company delivered three successive generations of technology leadership. These yielded revenue growth to over $2.5B, significantly increased profitability, and market share expansion. As a result market capitalization quadrupled during his tenure and approached $20B. Prior to that Moshe was the CEO of Verisity, delivered revenue growth to over $70M while leading its successful IPO in 2001 and led its sale to Cadence for $315M in 2005. Prior to Verisity, Moshe served in numerous executive management roles in LSI Logic, Digital Equipment and National Semiconductor.

Boaz Schwartz

Chairman of the Board

Boaz Schwartz is a seasoned finance professional and a tech investor. Dr. Schwartz has founded and managed Deutsche Bank Israel for 24 years and until December 2020. Following his retirement from Deutsche Bank, Boaz has become an active tech investor in both early and late-stage companies. Dr. Schwartz is a board member of IDC Herzliya, iArgento Ltd and the vice-Chairman of Zabar Solar Ltd. He earned a Ph.D in Finance from the University of Chicago; MBA with Distinction from the Wharton School at the University of Pennsylvania; MSc and BSc in Electrical Engineering from the University of Tel Aviv.

Gil Goren

CEO & Co-Founder

Gil Goren joined 83North in 2016, after more than a decade at EMC in a variety of roles in Boston and Tel Aviv. At his last role as SVP & Managing Partner at EMC Ventures he managed strategic partnerships Investments and M&A internationally. Prior investments include Anobit (acquired by Apple), XtremIO & ScaleIO (both acquired by EMC), Cyvera & Secdo (both acquired by Palo Alto Networks), Adallom (acquired by Microsoft), CloudEndure (acquired by Amazon) Jfrog, RedisLabs, Guardicore and VastData among others. Currently on the boards of VDOO, Foretellix, and IBEX. He has B.SC in Electrical Engineering from the Technion and MBA from Boston University.

Glen De Vos

Mr. De Vos has over 30 years of senior leadership experience in automotive and industrial technology sectors, particularly around autonomy and mobility. In his career he has held a number of leadership roles at Aptiv and its predecessor Delphi Automotive. Positions included Chief Technology Officer and President of the Advanced Safety and User Experience business unit. He currently serves as the CEO of MicroVision, Inc.

Mark Mohr

VP Global Sales & Business Development

Since March 2021 Mark is SVP of Vehicle Technology at Volvo Group Truck Technology. Before he was Head of Development Commercial Vehicle Division at ZF Friedrichshafen AG. In this role, Mark’s main was on driver assistance systems automation, new hardware, and software architectures besides the classical driveline and chassis business. Since his Ph.D. in Mechanical Engineering from the Technical University Kaiserslautern, Germany, he has a long experience in simulation and digital engineering.

Carl-Peter Forster

VP Global Sales & Business Development

Carl-Peter Forster started his career at McKinsey & Company as a management consultant in 1982. After four years there, he joined BMW in Munich, where he became a member of the Executive Board in 1999 as head of global manufacturing. In 2001, he joined the European division of General Motors and became Managing Director of Opel and Vice President of GM Europe. In 2006 he became CEO and President of GM Europe and joined the parent company’s Global Automotive Strategy Board. After leaving General Motors, he became Group CEO at Tata Motors, where he was responsible for the Jaguar and Land Rover brands. In 2013, he joined the boards of Geely Automotive Holdings and Volvo Cars.

Eran Sandhaus

Eran recently led Delphi Automotive’s (now Aptiv) Autonomous Driving and Connected Services business unit, overseeing global engineering teams, business staff and wholly owned subsidiaries focused on providing hardware, software, algorithms and cloud services to transform future mobility. Prior to Delphi, Eran was a senior executive for over 20 years in Fortune 500 companies including Qualcomm, Cypress, Texas Instruments and Marvell. During this period Eran led global businesses, operations and M&A focused on server communications, storage, mobile handsets and Internet-of-Things (IoT) for consumer, automotive and industrial applications.

Benny Schnaider

Benny Schnaider is a high-tech serial entrepreneur. Benny co-founded Ravello Systems and served as its President and Chairman. The company has developed an over-the-top cloud services. Since Ravello acquisition by Oracle in 2016, Benny serves as VP SW development for Oracle-Ravello. Previously, Benny co-founded and was the CEO Qumranet (KVM), acquired by Red Hat in 2008. Co-founded P-Cube, acquired by Cisco in 2004. Benny was the CEO and Founder of PentaCom Ltd., acquired by Cisco in 2000. Benny invests and serves as a board member in several startups like: Traffix Systems (acquired by F5 in 2012) and B-Hive (acquired by VMware in 2008), ScyllaDB, Otonomo, Colabo, CathWorks.