SIMULATION ENVIRONMENT

Similar documents
Automotive Testing: Optical 3D Metrology Improves Safety and Comfort

Automated crash computation of passenger car accidents based on the GIDAS database

DSRC Field Trials Whitepaper

SOLUTIONS FOR TESTING CAMERA-BASED ADVANCED DRIVER ASSISTANCE SYSTEMS SOLUTIONS FOR VIRTUAL TEST DRIVING

SHRP 2 Safety Research Symposium July 27, Site-Based Video System Design and Development: Research Plans and Issues

Cohda Wireless White Paper DSRC Field Trials

Evaluation of a laser-based reference system for ADAS

A Longitudinal Control Algorithm for Smart Cruise Control with Virtual Parameters

Anticipatory Shifting Optimization of a Transmission Control Unit for an Automatic Transmission through Advanced Driver Assistance Systems

AVS: A Test Suite for Automatically Generated Code

Verification, Validation, and Test with Model-Based Design

Object Fusion for an Advanced Emergency Braking System (AEBS) Jonny Andersson

Designing a software framework for automated driving. Dr.-Ing. Sebastian Ohl, 2017 October 12 th

Reuse of Hardware Independent Test Sequences across MiL-, SiL- and HiL-Test Scenarios

CDR File Information. Comments Toyota 86 Registration 1ETM870 Speedometer Reading Kms. Data Limitations CDR Record Information:

Workpackage WP2.5 Platform System Architecture. Frank Badstübner Ralf Ködel Wilhelm Maurer Martin Kunert F. Giesemann, G. Paya Vaya, H.

A multilevel simulation framework for highly automated harvest processes enabled by environmental sensor systems

Parametrization of Modelica Models on PC and Real time platforms

Advanced Driver Assistance: Modular Image Sensor Concept

SIMPACK - A Tool for Off-Line and Real- Time Simulation

SYSTEM FOR MONITORING CONDITIONS ON DANGEROUS ROAD SECTIONS

AUTOMATED GENERATION OF VIRTUAL DRIVING SCENARIOS FROM TEST DRIVE DATA


Laserscanner Based Cooperative Pre-Data-Fusion

Seamless Tool Chain for Testing Camera-based Advanced Driver Assistance Systems

SIMULATION TESTS ON SHAPING THE WORKING WIDTH OF THE CONCRETE PROTECTIVE SYSTEMS

Ready, Set, Go! Measuring, Mapping and Managing with XIL API 2.0

Emergency Response: How dedicated short range communication will help in the future. Matthew Henchey and Tejswaroop Geetla, University at Buffalo

Tutorial 9: Simplified truck model with dummy, airbag and seatbelt

Layer-based Multi-sensor Fusion Architecture for Cooperative and Automated Driving Application Development

Virtualizing the TCU of BMW's 8 speed transmission

Testing of automated driving systems

From Design to Production

PEGASUS Method for Assessment of Highly Automated Driving Function

Collision Risk Assessment to Improve Driving Safety

FULL VIRTUALIZATION OF RENAULT'S ENGINE MANAGEMENT SOFTWARE APPLICATION TO SYSTEM DEVELOPMENT

Interfacing OpenSim models with MATLAB /Simulink. OpenSim Workshop

A Model-Based Reference Workflow for the Development of Safety-Related Software

Structural design with polymorphic uncertainty models

In these areas, different numbers of points are defined which the FMH hits in free motion at a speed of 24 km/h.

VIRTUAL PROTOTYPING SIMULATION FOR THE DESIGN OF TWO-WHEELED VEHICLES

Design Considerations And The Impact of CMOS Image Sensors On The Car

Development of a Collision Avoidance Algorithm Using Elastic Band Theory

MATLAB/Simulink in der Mechatronik So einfach geht s!

Using RecurDyn. Contents

Technical Bulletin Global Vehicle Target Specification Version 1.0 May 2018 TB 025

Where are we with C-ITS today? Joint CIMEC/CODECS City Pool workshop Barcelona, 14 November 2016

> Acoustical feedback in the form of a beep with increasing urgency with decreasing distance to an obstacle

A Simplified Vehicle and Driver Model for Vehicle Systems Development

Guido Sandmann MathWorks GmbH. Michael Seibt Mentor Graphics GmbH ABSTRACT INTRODUCTION - WORKFLOW OVERVIEW

This project has received funding from the European Union s Horizon 2020 research and innovation programme under grant agreement No

EDR Report Information

Numerical Simulations of Vehicle Restraint Systems

HIL/SIL BY DEVELOPMENT OF SIX-LEGGED ROBOT SLAIR2

Virtual Validation of Cyber Physical Systems

F2014-AHF-014 A HUMAN MODEL USING COMBINED FUNCTIONS OF OF UML, MATLAB/SIMULINK AND CODE-LIBRARY. TECHNOLOGIES LIMITED, Japan

EB TechPaper. Electronic horizon. Flexible implementation of predictive driver assistance features. automotive.elektrobit.com

Naturalistic observations to investigate conflicts between drivers and VRU in the PROSPECT project

ASAM OpenSCENARIO. List of Features and Requirements. 1 Purpose General Terms of Reference Features Requirements...

Designing a Pick and Place Robotics Application Using MATLAB and Simulink

FPGA Image Processing for Driver Assistance Camera

PROCESS DEVELOPMENT FOR MULTI-DISCIPLINARY SPOT WELD OPTIMIZATION WITH CAX-LOCO, LS-OPT AND ANSA

Automatic Code Generation Technology Adoption Lessons Learned from Commercial Vehicle Case Studies

ISO Compliant Automatic Requirements-Based Testing for TargetLink

Sensor Data Fusion for Active Safety Systems

Research Article. ISSN (Print) *Corresponding author Chen Hao

Verification of Collision Avoidance Functionality A mileage multiplier approach to verify future Collision Avoidance Systems

GAIO. Solution. Corporate Profile / Product Catalog. Contact Information

Rotational3D Efficient modelling of 3D effects in rotational mechanics

COSMOS. Vehicle Suspension Analysis ---- SolidWorks Corporation. Introduction 1. Role of vehicle suspension 2. Motion analysis 2

EDSMAC TUTORIAL. Description

An Efficient Algorithm for Forward Collision Warning Using Low Cost Stereo Camera & Embedded System on Chip

Sensor Accuracy in Vehicle Safety

SILAB A Task Oriented Driving Simulation

A RAPID PROTOTYPING ENVIRONMENT FOR MOBILE REHABILITATION ROBOTICS

TomTom Innovation. Hans Aerts VP Software Development Business Unit Automotive November 2015

The IEEE 1588 Standard

Dynamic Architectural Simulation Model of YellowCar in MATLAB/Simulink Using AUTOSAR System

Decoupling Test Cases from Real and Virtual Test Systems with ASAM HIL API

Design of a Flexible Integration Interface for PIL Tests

Real and Virtual Development with SystemDesk

TB11 test for short w-beam road barrier

Simulink 를이용한 효율적인레거시코드 검증방안

Chapter 5. Creating GATB events involves the following basic steps:

Design optimisation of industrial robots using the Modelica multi-physics modeling language

Chapter 2 Trajectory and Floating-Car Data

Introduction to Control Systems Design

Extending the IPG CarMaker by FMI Compliant Units

Securing Automated Driving - The Database Approach in PEGASUS

VEHIL - HIL testing of advanced driver assistance systems Ploeg, J.

ISO compliant verification of functional requirements in the model-based software development process

Sichere Intelligente Mobilität - Testfeld Deutschland. Safe Intelligent Mobility Field Test Germany

Sichere Intelligente Mobilität - Testfeld Deutschland. Safe Intelligent Mobility Field Test Germany

EVALUATION OF THE EFFECTS OF TEST PARAMETERS ON THE RESULTS OF THE LOWER LEGFORM IMPACTOR

PRODAS Newsletter. Announcing the Release of PRODAS Version 3.6. MATLAB/Simulink Trajectory Module

Vehicle Safety Communications Project Final Overview

Impact of Platform Abstractions on the Development Workflow

Replicating Chaos Vehicle Replication in Watch Dogs 2. Matt Delbosc Team Lead Programmer Ubisoft Toronto

Turning an Automated System into an Autonomous system using Model-Based Design Autonomous Tech Conference 2018

Research Article A Rapid Prototyping Environment for Cooperative Advanced Driver Assistance Systems

Transcription:

F2010-C-123 SIMULATION ENVIRONMENT FOR THE DEVELOPMENT OF PREDICTIVE SAFETY SYSTEMS 1 Dirndorfer, Tobias *, 1 Roth, Erwin, 1 Neumann-Cosel, Kilian von, 2 Weiss, Christian, 1 Knoll, Alois 1 TU München, Germany, 2 Audi AG, Germany KEYWORDS simulation, predictive safety, pre-collision-phase, pre-crash-scenarios, test and optimization The continuously growing vehicle density on European roads leads to a higher risk for traffic participants to be involved in accidents. In order to mitigate this risk both for vehicle occupants as well as unprotected traffic participants, the automotive industry seeks for solutions in the intelligent combination of active and passive safety systems towards an integral approach. Safety applications like an active emergency brake that can reduce the consequences of an accident or even avoid a crash completely and predictive passive safety systems that feature optimized deployment characteristics of restraint systems (airbags, belt pretensioners) both depend on anticipatory sensor signals concerning the vehicle environment in the pre-collisionphase as a basis for their crash prediction algorithms. The development, test and validation of predictive safety systems require efficient simulation-based methods in order to be able to achieve a large test space coverage and to generate reproducible sensor signals for the respective test scenarios. In this paper a highly configurable and flexible method for the simulation-based development and testing of predictive safety algorithms is presented. The method is based on a synchronized data connection between MATLAB/Simulink/Stateflow and Virtual Test Drive (VTD). MATLAB/Simulink/Stateflow allows the intuitive model-based rapid prototyping of safety function algorithms using predictive sensor information as input data. These algorithms can easily be transformed into ANSI/ISO C-compliant code for diverse hardware targets e.g. by the Real-Time Workshop and tested in an identical form in the vehicle after the optimization and validation process in the simulation environment. VTD consists of the components driving simulation, traffic simulation, visualization and sensor models, which supply the algorithms running in MATLAB/Simulink/Stateflow with the required sensor input data concerning the virtual vehicle environment. This combination offers the possibility to easily implement a large variety of relevant traffic situations and environmental conditions in order to test, optimize and validate the predictive safety systems under repeatable conditions. Simulation data can be accessed via interfaces for an on-/offline data evaluation and visualisation by independent analysis applications. The complete simulation environment can be distributed over several computers connected via IPnetwork and executed in real-time or on the basis of a common simulation time. The simulation environment was exemplarily used to test and optimize an anticipatory algorithm characterizing an imminent collision by the prediction of representative collision parameters. The testing was done on the basis of a huge pool of characteristic pre-crash-scenarios statistically representing the GIDAS database (German In-Depth Accident Study).

VIRTUAL TEST DRIVE An integrated test environment for the automotive industry Audi and Volkswagen are developing an integrated and highly modular computer based simulation system called Virtual Test Drive (VTD) (1). Its main focus lies on the support of automotive development engineers throughout the entire design, testing and validation process of predictive safety functions. VTD`s architecture allows realistic closed-loop simulations to investigate the interactions of vehicle driving dynamics vehicle sensor systems vehicle actuators driver driver assistance systems environmental conditions (weather, road conditions, traffic situation, Car2x data, ). As different technical applications and development stages require specific test methods and tools, VTD supports multiple simulation variants by means of reusable components, interfaces, models and tools, see figure 1. Figure 1: Virtual Test Drive The operation mode Software-in-the-loop (SiL) allows the early testing of algorithms on ordinary computer hardware in a closed loop and the automatized verification of test data sets at a later stage. Driver-in-the-loop (DiL) simulation may be used for the interactive testing of algorithms in order to get feedback of human test probands at an early stage. Hardware-in-theloop (HiL) offers the possibility to test and validate systems on already defined target hardware (e.g. Electronic Control Units for mass production) in a closed loop. Vehicle-in-the-

loop (ViL) can be used in parallel at different development stages when the focus is shifting to the limits of vehicle dynamics or safety and assistance systems. Especially within the SiL operation mode as the focus of this paper the easy and flexible access of VTD simulation data from a runtime environment with effective visualization and evaluation tools is of great importance. In order to increase the efficiency of the software development process the runtime environment should allow model-based algorithm implementation and automatic code generation for diverse hardware targets. The subsequently described application programming interface for MATLAB/Simulink (2) offers all these possibilities. MATLAB/Simulink-API An automatically generated application programming interface In order to allow a bidirectional access to VTD simulation data for algorithms implemented in Simulink, an application programming interface (API) was developed for MATLAB/Simulink called VTD Communication Library (VTDComLib), see figure 2. MATLAB / Simulink Modelle & Tools Models & Tools Virtual Environment Vehicle Dynamics Sensor Models Traffic Simulation Scenario Editor Environment Designer GSI SCP GSI SCP VTD Communication Library (autom. generated API) GSI SCP GSI SCP Figure 2: VTD Communication Library The library uses the Generic Simulation Interface (GSI) and the Simulation Control Protocol (SCP) interface to establish a real-time data connection between Simulink and the VTD simulation environment, see figure 3. The GSI interface provides read and write access to a large number of simulation variables, e.g. position, dynamics and state values of vehicles, sensor outputs, road marks, environment conditions, etc., while the SCP interface allows to query and set parameters which control the behaviour of the simulation environment itself, e.g. start and stop the simulation, trigger next frame computation, enable/disable event triggers, etc.. The required API code to access GSI and SCP data from Simulink is generated automatically, as it is expected that continuous development efforts related to the extension of VTD and the respective GSI interface require frequent changes in order to be able to fulfil new requirements from algorithm developers and testers. Therefore a code parser and code generator tool chain based on the software ANTLR (3) was implemented, which uses the C-programming language header file declaring the contents of GSI network packets as parser input and generates the resulting code for the API in Simulink based on a given Parser Grammar definition and code templates for C-, MATLAB- and Simulink.mdl files, see figure 4. The data structures and declarations within the GSI C-Header file are described by comments in a Doxygen (4) compatible format. The grammar provided to the ANTLR parser contains expressions for dealing with C-language constructs, pre-compiler definitions, Doxygen style

comments and Doxygen style Meta-Tags. The latter ones are used to have a more fine grained control over the code generation process, e.g. whether to create special Matlab-code for the handling of C-Language Enum variables or to provide information about the SI unit of a certain variable to the Simulink API user. Figure 3: Architecture of the simulation environment The parser and code generator tool chain generates the C-language code for a MATLAB/Simulink s-function, a MATLAB Bus Object Definition File for a GSI input and output bus as well as a Simulink.mdl file specifying Simulink VTD Communication Block Elements for sending / receiving GSI / SCP data. The automatically generated Simulink API achieved with this tool chain allows the comfortable access of VTD simulation variables by means of the Simulink VTD Communication blocks and the MATLAB Bus Selector Dialog for selecting individual data signals. Figure 4: Parsing and Code Generation

ALGORITHM DEVELOPMENT Testing results of a predictive safety algorithm Various automotive applications in the active and passive safety use anticipatory sensor signals concerning the vehicle environment. Aspects like the collision probability, the unavoidability of a crash or the initial parameters of an arising accident are the basis for the triggering or adaptation of the application specific safety actuators. In this case an algorithm using anticipatory sensor data during the pre-crash-phase to predict the parameters Time-To- Collision (TTC), relative collision velocity (v rel ) and collision angle (φ) at the time of contact was implemented as a Simulink s-function and exemplarily tested in the presented environment. The testing was done on the basis of a huge pool of characteristic pre-crash-scenarios statistically representing the GIDAS database (5). In the following the algorithm testing procedure and the resulting prediction outputs are demonstrated on the basis of two characteristic collision scenarios taken from the extensive testing pool available in VTD. The selected scenarios are shown in figure 5. Scenario 2 Scenario 1 Figure 5: Test scenarios in Virtual Test Drive In the first accident scenario the virtual test vehicle (ego vehicle, v 1 = 78 km/h) collides frontally with the rear end of a laterally slightly staggered vehicle driving ahead (v 2 = 52 km/h). In the second scenario the ego vehicle (v 1 = 43 km/h) is frontally hit by an oncoming vehicle turning left at an intersection (v 2 = 20 km/h). These two scenarios are typical examples for realworld situations where predictive frontal safety applications can significantly reduce the consequences of an accident or even avoid the accident completely. For both test cases the types of the two colliding vehicles (in this case identical) and a virtual pre-crash-sensor for the ego vehicle were specified in VTD. In the defined configuration the predictive sensor is mounted on the back side of the ego rear-view mirror and geared towards the driving direction. The sensor position and the resulting three-dimensional sensor cone are illustrated in figure 6.

Figure 6: Sensor cone for the virtual pre-crash-sensor The shown virtual sensor has a longitudinal range of 20 meters, a symmetric horizontal aperture angle of 60 degrees and a vertical aperture angle of 6 degrees. The currently implemented idealized sensor model offers exact data concerning the actual geometric and kinematic state for all objects intersecting with the defined sensor cone. When the described scenario is started in VTD the simultaneously running Simulink-APIinterface described above offers the mentioned predictive sensor data as well as kinematic data concerning the ego vehicle to a Simulink model containing the mentioned crash prediction algorithm. Figure 7: Prediction of the crash constellation and the collision parameters Based on the longitudinal velocity, the longitudinal acceleration and the yaw rate of the ego vehicle as well as the predictive sensor data concerning the collision opponent (distance and relative velocity in longitudinal and lateral direction and dimensional information) the algorithm estimates the expected collision constellation and returns the TTC, v rel and φ as output parameters. The algorithm output for the two accident scenarios presented in figure 5 over the time period of about one second before the mechanical contact of the colliding vehicles is shown in the following plots.

Scenario 2 Scenario 1 Figure 8: Algorithm output in the selected collision scenarios As expected in both scenarios the TTC which is predicted with a forecast interval of 1 second continuously decreases till zero at the time of contact. The predicted relative velocity at the collision time amounts to about 26 km/h over the whole forecast interval in the first scenario (v 1 = 78 km/h, v 2 = 52 km/h) where both vehicles are driving constantly in the same direction. In the second scenario (v 1 = 43 km/h, v 2 = 20 km/h) the predicted relative velocity decreases from about 63 km/h to 59 km/h during the forecast because the oncoming vehicle decelerates along the curved trajectory. The collision angle is constantly estimated to 0 degrees during the prediction interval in the first scenario as both vehicles don t change their driving direction. Because of the curved trajectory the predicted collision angle in the second scenario changes from about 175 degrees to approximately 140 degrees. By variation of the sensor origin and the geometry of the sensor cone in VTD different sensor constellations can be tested and evaluated in connection with the predictive algorithm embedded in Simulink. Thereby the moment of detection and the resulting effect of a predictive safety system under given scenario conditions can be analyzed in detail. CONCLUSIONS For the testing and optimization of predictive safety algorithms especially in the pre-crashphase the use of simulation methods is indispensable. The presented simulation environment offers the possibility to test algorithms working on anticipatory sensor data securely and reproducibly with a big coverage of relevant scenarios. Furthermore the described simulation tool chain represents an efficient means for the communication of technical ideas and the descriptive functional presentation of predictive safety systems. In order to improve the simulation-based performance evaluation of safety applications e.g. under different weather or lighting conditions complex models for anticipatory sensors have to be integrated into the

simulation environment. In this context a close cooperation between the original equipment manufacturers and suppliers in the automotive industry and a standardized way of sensor modelling and sensor model exchange are necessary to be able to do the release of predictive systems with the main focus on simulation-based methods. (1) Neumann-Cosel, K. von, Dupuis, M., Weiss, C., Virtual Test Drive Provision of a Consistent Tool-Set for [D,H,S,V]-in-the-Loop, In Proceedings on Driving Simulation Conference Europe, 2009, Monaco (2) MATLAB 2007a, Copyright 2000-2006 The MathWorks Inc. (3) Website ANTLR Parser Generator Software Project, http://www.antlr.org (March 15 th, 2010) (4) Website Doxygen Project, http://www.doxygen.org (March 15 th, 2010) (5) GIDAS, German In-Depth Accident Study, http://www.gidas.org (March 10 th, 2010)