Model-Based Design of Automotive RT Applications

Similar documents
FlexRay International Workshop. Protocol Overview

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

An Encapsulated Communication System for Integrated Architectures

Software Architecture. Definition of Software Architecture. The importance of software architecture. Contents of a good architectural model

Simulation based Timing Analysis of FlexRay Communication at System Level. Stefan Buschmann Till Steinbach Franz Korf Thomas C.

Taking the Right Turn with Safe and Modular Solutions for the Automotive Industry

Field buses (part 2): time triggered protocols

PREEvision Technical Article

Developing deterministic networking technology for railway applications using TTEthernet software-based end systems

Product Information Embedded Operating Systems

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

Model Based Development of Embedded Control Software

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

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

Experiences with CANoe-based Fault Injection for AUTOSAR

SPIDER: A Fault-Tolerant Bus Architecture

SWE 760 Lecture 1: Introduction to Analysis & Design of Real-Time Embedded Systems

Schedule Integration for Time-Triggered Systems

INCA-EIP V7.2 User s Guide

Task- and Network-level Schedule Co-Synthesis of Ethernet-based Time-triggered Systems

Introduction to the Distributed Real-Time System

Fast and Accurate Source-Level Simulation Considering Target-Specific Compiler Optimizations

TU Wien. Fault Isolation and Error Containment in the TT-SoC. H. Kopetz. TU Wien. July 2007

Organic Self-organizing Bus-based Communication Systems

A specification proposed by JASPAR has been adopted for AUTOSAR.

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

Embedded Software Programming

The AUTOSAR Timing Model --- Status and Challenges. Dr. Kai Richter Symtavision GmbH, Germany

From Signal to Service

Architecture concepts in Body Control Modules

CAN FD with Dynamic Multi-PDU-to-Frame Mapping

B.H.GARDI COLLEGE OF ENGINEERING & TECHNOLOGY (MCA Dept.) Parallel Database Database Management System - 2

A Model-Driven Approach to Embedded Control System Implementation

ASAM-MCD-2 NET (FIBEX)

Real-Time Component Software. slide credits: H. Kopetz, P. Puschner

Software Architecture

Scalable and Flexible Software Platforms for High-Performance ECUs. Christoph Dietachmayr Sr. Engineering Manager, Elektrobit November 8, 2018

In Vehicle Networking : a Survey and Look Forward

10 th AUTOSAR Open Conference

Time-Triggered Ethernet

CANalyzer.MOST. Product Information

SYNCHRONOUS MULTIMEDIA AND VEHICLE DATA

NET. A Hardware/Software Co-Design Approach for Ethernet Controllers to Support Time-triggered Trac in the Upcoming IEEE TSN Standards

10 th AUTOSAR Open Conference

AVS: A Test Suite for Automatically Generated Code

Fault-Injection testing and code coverage measurement using Virtual Prototypes on the context of the ISO standard

The CAN Bus From its Early Days to CAN FD By Friedhelm Pickhard (ETAS/P)

FIXED PRIORITY SCHEDULING ANALYSIS OF THE POWERTRAIN MANAGEMENT APPLICATION EXAMPLE USING THE SCHEDULITE TOOL

Impact of Platform Abstractions on the Development Workflow

Safety and Reliability of Software-Controlled Systems Part 14: Fault mitigation

Timing Definition Language (TDL) Concepts, Code Generation and Tools

I/O Systems. Amir H. Payberah. Amirkabir University of Technology (Tehran Polytechnic)

Flexray Communication Controller for Intra-Vehicular Communication and Its Realization in FPGA

Extending RTAI Linux with Fixed-Priority Scheduling with Deferred Preemption

Lecture 2. Basics of networking in automotive systems: Network. topologies, communication principles and standardised protocols

An Introduction to TTEthernet

Madhya Pradesh Bhoj (Open) University, Bhopal Diploma in Computer Application (DCA) Assignment Question Paper I

OSEK/VDX. Time-Triggered Operating System. Version 1.0. July 24 th 2001

A Time-Triggered View. Peter PUSCHNER

FlexRay and Automotive Networking Future

Rapid Control Prototyping Solutions Electrical Drive, Power Conversion and Power Systems

Wind River. All Rights Reserved.

This document is a preview generated by EVS

Design For High Performance Flexray Protocol For Fpga Based System

PROJECT FINAL REPORT

AUTOBEST: A United AUTOSAR-OS And ARINC 653 Kernel. Alexander Züpke, Marc Bommert, Daniel Lohmann

Application. Diagnosing the dashboard by the CANcheck software. Introduction

10 th AUTOSAR Open Conference

MICROSAR-OS. Embedded Real-time Multitasking Operating Systems

Multicore for safety-critical embedded systems: challenges andmarch opportunities 15, / 28

Architectures of Automotive Electrical. Nicolas Navet. Can be freely used for teaching Complexity Mastered. Outline

FlexRay - FlexRay Synchronization with CANoe as Gateway

FlexRay The Hardware View

Applying Model Intelligence Frameworks for Deployment Problem in Real-Time and Embedded Systems

13 AutoFocus 3 - A Scientific Tool Prototype for Model-Based Development of Component-Based, Reactive, Distributed Systems

A Practical Message ID Assignment Policy for Controller Area Network that Maximizes Extensibility

Oracle Fusion Middleware 11g: Build Applications with ADF I

Applying CORBA to embedded time-triggered real-time systems. S. Aslam-Mir (Sam) Principal CORBA Architect Vertel USA

A Framework for Rapid Application Development of Distributed Embedded Real-Time Systems

Experience in Developing Model- Integrated Tools and Technologies for Large-Scale Fault Tolerant Real-Time Embedded Systems

Embedded Systems Dr. Santanu Chaudhury Department of Electrical Engineering Indian Institute of Technology, Delhi

Green Hills Software, Inc.

An Introduction to Software Architecture. David Garlan & Mary Shaw 94

Deterministic Ethernet & Unified Networking

First GENESYS Architectures Implemented in the INDEXYS Project

Distributed IMA with TTEthernet

Formal Verification for safety critical requirements From Unit-Test to HIL

Understanding and Using the Controller Area Network Communication Protocol

A Model-based Approach for Conditioning Software to Multi-Core using AUTOSAR

A MONITORING CONCEPT FOR AN AUTOMOTIVE DISTRIBUTED NETWORK - THE FLEXRAY EXAMPLE

PRIMEQUEST 400 Series & SQL Server 2005 Technical Whitepaper (November, 2005)

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

Deterministic Networking Lab

Automated Freedom from Interference Analysis for Automotive Software

Model-Based Design of the Communication System in an Integrated Architecture

CANoe 6.0. The Professional Development and Test Tool for CAN, LIN, MOST, FlexRay and J1587 TOOLS FOR NETWORKS AND DISTRIBUTED SYSTEMS

Adventure s perfect companion.

ODX Process from the Perspective of an Automotive Supplier. Dietmar Natterer, Thomas Ströbele, Dr.-Ing. Franz Krauss ZF Friedrichshafen AG

Pushing the limits of CAN - Scheduling frames with offsets provides a major performance boost

Transcription:

Model-Based Design of Automotive RT Applications

Presentation Modeling approach Modeling concept Realization in tool chain Use cases Challenges in the automotive environment The automotive electronics challenge Some answers

Part I Modeling approach

Modeling Concept Architectural components and their relations Tasks execute algorithmic functions and logic functions Tasks transmit and receive signals (local and global) Tasks are simple tasks (no synchronisation during execution) Tasks run on hosts Hosts contain one or more controllers Controllers transmit and receive signals Controllers are connected to a network Controllers on one network form a cluster

Modeling Concept Synchronous system model Known and bound maximum execution time of tasks Known and bound maximum transmission duration of signals Known minimum interarrival time of task activation triggers Known minimum interarrival time of transmission requests for signals Periodic and phase locked system model An application cycle defines the basic periodicy of the application Task execution is triggered periodically, period is an integral divider of application cycle Task execution is triggered with a defined time offset to start of application cycle Signal transmission is triggered periodically, same rule for period

Modeling Concept Requirements Validation Functional Model Verification A -Model Test Source Code

Modeling Concept Functional Model Architecture Allocated Functional Model (AAFM) Architecture Model (AM) Virtual Prototype (VP) Middeware Code (MW) Source Code

Functional Model Model of application function Control algorithms, state machines, logic algorithms Model of environment Segmentation of model in particular functional parts Model does not contain architectural information Benefits Check basic correctness of application algorithms Full access to all system signals for testing and debugging

Functional Model A/D Objects Control loop Parameters Control period

Architecture-Allocated Functional Model Assignment of model parts to architectural components Assignment to hardware (host, network) Assignment to software (task) Communication modelled by generic connectors Benefit Defines the hardware and software architecture for the application Allows generic simulation of task activation and communication

Architecture-Allocated Functional Model ECU 2 A/D ECU 1 Objects Control loops Hosts Tasks Generic connectors Parameters Task periods Task offsets ECU 3

Architecture Model Pure architecture information Software model (tasks and signals forming transactions) Hardware model (hosts, networks) Relevant parameters Task timing (period, offset, WCET) Task communication relations (signals transmitted and received) Signal parameter (period, offset, signal representation) Assignments of tasks to hardware components Benefits Mapping of transactions to a communication technology Generation of configuration data for OS, middleware and communication controllers

Architecture Model ECU 2 ECU 1 Objects Hosts Tasks Generic connectors Network topology Message schedule Parameters Task offsets Signal periods Signal offsets ECU 3

Virtual Prototype Extension of the architecture-allocated functional model Generated technology mapping parameters are added to the AAFM Generic simulation modules are exchanged by specific technology simulators Benefit Simulation of application function under influence of operating system and communication Task activation and preemption simulation Communication timing and scaling simulation Startup and restart simulation Full access to all system signals for testing and debugging Model based fault-injection Model based testing

Virtual Prototype ECU 2 A/D ECU 1 Communication Simulator OS Simulator ECU 3

Realization in tool chain Functional Model Architecture Allocated Functional Model SIMSYSTEM (AAFM) DESIGNER Architecture Model (AM) Virtual Prototype (VP) SIMSYSTEM SIMCOM GENERATOR SIMTARGET Middeware Code (MW) Source Code

Technologies Modeling tool MATLAB/Simulink DECOMSYS blocksets Code Generation Real-Time Workshop Embedded Coder in preparation Technology Mapping and software environment DECOMSYS tools and OSEKtime/FTCom for FlexRay communication protocol 3SOFT ProOSEKtime/OS

SIMSYSTEM Architectural design elements Hardware: networks, hosts Software: tasks, connectors Function Blockset library Simulation of time-driven task activation Generic simulation of communication without technology information Automatic generation of and interaction with architectural model

SIMSYSTEM Screen Shots

SIMCOM Communication technology simulation Technology specific simulation core Uses configuration parameters from architectural model Function Simulates signal transmission timing Simulates signal scaling effects Simulates middleware influence (FTCom) Simulates OS synchronous to communication system Simulation based fault injection

SIMCOM Screen Shots

Use Cases Application Development for single electronic control unit Model Based Testing

Application Development for Single ECU Development of functional model Application functions Environment simulation functions Stimuli generation functions Architecture specification Separation of ECU functions and remaining system functions Defintion of software and hardware architecture Technology mapping Scheduling for communication technology Generation of configuration parameters

Application Development for Single ECU Virtual Prototype Tesing and validation of application functions in simulation Application to real hardware Code generation or hand coding for ECU Code generation for remaining system separately Application of remaining system code to power node Connect single ECU and power node via bus system Testing of ECU function against model running in power node

Model Based Testing Development of functional model Same as for application development Assertion functions Additional assertion functions are added to functional model Assertion functions define correctness conditions that must hold for application Assertion functions use signals as input and generate boolean statements Execution Assertion functions are active in virtual prototype by simulation Assertion functions are executed in real hardware by generated assertion code on power node

Part II Challenges in the automotive environment

Automotive Electronics Challenge Challenges for future electronic architectures Reusability of software functions Standardization of software infrastructure Scalability of subsystems for multiple model classes Dr. Thomas Scharnhorst, VW EES at 3SOFT Automotive Day 2003 Other requirements Support for colaborative development Integration in existing processes and tool environments Integration with other tools along the V-model Design and modeling tools should support these requirements

Some Answers Key architectural properties for tool chain Separation between functional model software model hardware model and technology Mechanisms to Import and export functional model parts Extract and apply software and hardware architecture information Import and apply technology mapping parameters Open and standardized interfaces For integration in existing tool environments For OS and communication middleware (for code generation)

Closing Use of model-based design tools in automotive industry Still not commonly used Still development to do Interest in processes for development of safety critical application will increase interest in model-based design tools Economic pressure and complexity are other motivators torwards model-based design approaches