Automotive Software Integration

Slides:



Advertisements
Similar presentations
Automotive Embedded System Development in AUTOSAR
Advertisements

Mafijul Islam, PhD Software Systems, Electrical and Embedded Systems Advanced Technology & Research Research Issues in Computing Systems: An Automotive.
MotoHawk Training Model-Based Design of Embedded Systems.
Component-Level Design
1 Institut für Datentechnik und Kommunikationetze Sensitivity Analysis & System Robustness Maximization Short Overview Bologna, Arne Hamann.
Vertically Integrated Analysis and Transformation for Embedded Software John Regehr University of Utah.
Software Connectors. Attach adapter to A Maintain multiple versions of A or B Make B multilingual Role and Challenge of Software Connectors Change A’s.
Process Scheduling for Performance Estimation and Synthesis of Hardware/Software Systems Slide 1 Process Scheduling for Performance Estimation and Synthesis.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
Process Management. External View of the OS Hardware fork() CreateProcess() CreateThread() close() CloseHandle() sleep() semctl() signal() SetWaitableTimer()
1 Introduction to Load Balancing: l Definition of Distributed systems. Collection of independent loosely coupled computing resources. l Load Balancing.
Figure 1.1 Interaction between applications and the operating system.
1 of 14 1 Analysis and Synthesis of Communication-Intensive Heterogeneous Real-Time Systems Paul Pop Computer and Information Science Dept. Linköpings.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
CprE 458/558: Real-Time Systems
Systems Analysis and Design in a Changing World, 6th Edition
Swiss Federal Institute of Technology Computer Engineering and Networks Laboratory Influence of different system abstractions on the performance analysis.
Software Engineering CSE470: Systems Engineering 35 Computer System Engineering Computer System Engineering is a problem-solving activity. Itemize desired.
Software Issues Derived from Dr. Fawcett’s Slides Phil Pratt-Szeliga Fall 2009.
BRASS Analysis of QuasiStatic Scheduling Techniques in a Virtualized Reconfigurable Machine Yury Markovskiy, Eylon Caspi, Randy Huang, Joseph Yeh, Michael.
Architectural Design Establishing the overall structure of a software system Objectives To introduce architectural design and to discuss its importance.
Leveling the Field for Multicore Open Systems Architectures Markus Levy President, EEMBC President, Multicore Association.
2017/4/21 Towards Full Virtualization of Heterogeneous Noc-based Multicore Embedded Architecture 2012 IEEE 15th International Conference on Computational.
4.x Performance Technology drivers – Exascale systems will consist of complex configurations with a huge number of potentially heterogeneous components.
CASTNESS‘11 Computer Architectures and Software Tools for Numerical Embedded Scalable Systems Workshop & School: Roma January 17-18th 2011 Frédéric ROUSSEAU.
Protocol Layering Chapter 10. Looked at: Architectural foundations of internetworking Architectural foundations of internetworking Forwarding of datagrams.
ECE-777 System Level Design and Automation Introduction 1 Cristinel Ababei Electrical and Computer Department, North Dakota State University Spring 2012.
An Introduction to Software Architecture
RTS Meeting 8th July 2009 Introduction Middleware AUTOSAR Conclusion.
IT in automobile Abon. The name stands for… Automotive open system architecture Japan automotive software platform architecture.
Séverine Sentilles1 Advanced Component-Based Software Engineering Overview of several component models.
系統晶片設計 - 論文報告 指導老師:陳朝烈老師 學生: 陳宗廷 向崇羽 Monot, A.; Navet, N.; Bavoux, B.; Simonot-Lion, F.,” Multisource Software on Multicore Automotive.
1 Lecture 20: I/O n I/O hardware n I/O structure n communication with controllers n device interrupts n device drivers n streams.
Computer-aided Architecture Design and Optimized Implementation of Distributed Automotive EE Systems Ajay Kumar, Antal Rajnak Automotive Programs System.
ITEA International Workshop on Challenges in Methodology, Representation, and Tooling for Automotive Embedded Systems, Berlin 2012 AMALTHEA Tool.
High Performance Embedded Computing © 2007 Elsevier Chapter 1, part 2: Embedded Computing High Performance Embedded Computing Wayne Wolf.
1 of 14 1/15 Synthesis-driven Derivation of Process Graphs from Functional Blocks for Time-Triggered Embedded Systems Master thesis Student: Ghennadii.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
© 2012 xtUML.org Bill Chown – Mentor Graphics Model Driven Engineering.
© 2004 Mercury Computer Systems, Inc. FPGAs & Software Components Graham Bardouleau & Jim Kulp Mercury Computer Systems, Inc. High Performance Embedded.
Replay Compilation: Improving Debuggability of a Just-in Time Complier Presenter: Jun Tao.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 05. Review Software design methods Design Paradigms Typical Design Trade-offs.
Performance Characterization and Architecture Exploration of PicoRadio Data Link Layer Mei Xu and Rahul Shah EE249 Project Fall 2001 Mentor: Roberto Passerone.
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 system architecture 1 after designing to meet functional requirements, design the system.
System-level power analysis and estimation September 20, 2006 Chong-Min Kyung.
Value chain analysis general overview Some reminders Software has a high development cost But production cost almost nil Automotive software specifics.
Axel Jantsch 1 Networks on Chip Axel Jantsch 1 Shashi Kumar 1, Juha-Pekka Soininen 2, Martti Forsell 2, Mikael Millberg 1, Johnny Öberg 1, Kari Tiensurjä.
> Power Supervison Desired Output level Source Diesel Valve Sink Diesel Valve > Valve Regulator Sink T = 40 ms Air Valve CBSE Course The SaveComp Component.
VEST: Virginia Embedded Systems Toolkit* Professor Jack Stankovic Department of Computer Science University of Virginia October 2001 Supported, in part,
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
Gedae, Inc. Gedae: Auto Coding to a Virtual Machine Authors: William I. Lundgren, Kerry B. Barnes, James W. Steed HPEC 2004.
Software Connectors Acknowledgement: slides mostly from Software Architecture: Foundations, Theory, and Practice; Richard N. Taylor, Nenad Medvidovic,
Copyright © Richard N. Taylor, Nenad Medvidovic, and Eric M. Dashofy. All rights reserved. Software Connectors in Practice Software Architecture.
System Architecture Directions for Networked Sensors.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O.
Los Alamos National Laboratory Streams-C Maya Gokhale Los Alamos National Laboratory September, 1999.
SwCDR (Peer) Review 1 UCB MAVEN Particles and Fields Flight Software Critical Design Review Peter R. Harvey.
Software Connectors. What is a Software Connector? 2 What is Connector? – Architectural element that models Interactions among components Rules that govern.
Towards a High Performance Extensible Grid Architecture Klaus Krauter Muthucumaru Maheswaran {krauter,
Module 12: I/O Systems I/O hardware Application I/O Interface
Real-time Software Design
Пројектовање аутомобилског софтвера
Software testing strategies 2
Operating System Concepts
Software models - Software Architecture Design Patterns
An Introduction to Software Architecture
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

Automotive Software Integration Razvan Racu, Arne Hamann, Rolf Ernst Technical University of Braunschweig Kai Richter

Outline Software Integration and AUTOSAR AUTOSAR and System Timing AUTomotive Open System Architecture AUTOSAR and System Timing System-level Timing Analysis Examples Conclusion

Automotive Integration Challenges Complexity Hundreds of functions 50+ ECUs Networked control Many suppliers Heterogeneous Integration challenges are key Risks: reliability, quality, liability Meeting target SOP Development and production cost 55 ECUs & 7 Buses of 4 types with Gateways source: Daimler-Chrysler

AUTOSAR Goals Modularity tailor the SW-components according to the individual requirements Scalability adaptability of SW-components to different vehicle platforms avoid proliferation of software with similar functionality Transferability remapping of SW-components among different HW-components balance the use of resources Re-usability adaptability of SW-components across different product lines shorten design process improve quality and reliability of E/E systems Standardized interfaces

Source: www.autosar.org: Status Oct. 2005 AUTOSAR Consortium Source: www.autosar.org: Status Oct. 2005

Source: www.autosar.org AUTOSAR Methodology Source: www.autosar.org SW-Components (SW-C) encapsulate the applications Virtual Functional Bus (VFB) communication mechanisms interface to Basic SW Mapping configuration and generation of RTE and Basic SW Runtime Environment (RTE) VFB implementation on a specific ECU Basic Software (BSW) infrastructural functionality on an ECU

AUTOSAR Software The Atomic Software Component consists of software component description operations and data elements provided/required requirements on infrastructure required resources (memory, CPU-time, etc) implementation object code source code Virtual Functional Bus enables hardware and mapping independent integration of SW-components communication mechanisms Client-Server Sender-Receiver

SW Components and Runnables atomic components with respect to mapping provided by one supplier Runnables atomic components with respect to execution attached to different OS Tasks BSW RTE Sensor SWC SW-C 1 runnableA runnableB runnableC

Outline Software Integration and AUTOSAR AUTOSAR and System Timing AUTomotive Open System Architecture AUTOSAR and System Timing System-level Timing Analysis Examples Conclusion

Timing Data Required Response times Load data Performance „slack“ for networked control Load data static and transient to determine buffer sizes and potential message losses Performance „slack“ potential for later extensions

Timing is Critical Everywhere Requirements Requirements Test Architecture Exploration System- Timing Verification System Design System Test Network Timing Estimation Network Timing Verification Module Design Module Test ECU Timing Estimation ECU Timing Verification Function Design Function Test

SW Component Execution Standardized RTE eases compiling & linking together several SW components from different teams/vendors Vehicle Function Actuator Actuator SWC SWC1 Sensor SWC SWC-1 BSW RTE Sensor SWC Signal Path / Data Flow

Timing Chains and Hand-Over Points Actuator Actuator SWC SWC1 Sensor SWC INTER-ECU comm. INTRA-ECU comm. Sensor I/O Sensor SWC CAN SWC1 RTE Actuator SWC I/O Actuator I/O BSW RTE RTE BSW BSW RTE BSW RTE HOPs timing chain segments end-to-end timing chain

Runnables and Tasks SW architecture example: 2 SW components, 6 runnables ECU 1 SW-C2 runnableZ BSW RTE SW-C 1 runnableA runnableB runnableC runnableX runnableY Schedule and timing dependencies OS runnableZ OS runnableZ OS runnableX runnableC runnableB runn ableA runnableY

Conclusion: Timing in AUTOSAR Timing is no AUTOSAR objective, but an AUTOSAR issue Hidden timing chains and non-functional dependencies challenge predictability Good methods are required prohibit nondeterministic timing behavior (race conditions) applicable across corporate boundaries different OEMs different SW-Suppliers different HW-Suppliers Timing analysis required to support design process

Outline Software Integration and AUTOSAR AUTOSAR and System Timing AUTomotive Open System Architecture AUTOSAR and System Timing System-level Timing Analysis Examples Conclusion

Timing Analysis Hierarchy ECU1 ECU2 gateway 2 global system timing ECU3 ECU4 gateway 1 ECU5 ECU6 ECU 1 SW-C2 SW-C 1 runnableY runnableA single component or network channel timing runnableB runnableX runnableC runnableZ runnable single process timing

Compositional Analysis ECU 1 ECU 2 R2 R3 R1 R4 environment model local analysis Subsystems coupled by streams parameterized streams event curves (network calculus) Coupling corresponds to event propagation Solve fix point problem Tools available, e.g. SymTA/S, MPA derive output event model map to input event model until convergence or non- schedulability

Tool SymTA/S evolutionary algorithm incremental/interactive multidimensional robustness metrics search problem Optimization (Exploration) Sensitivity analysis formal compositional analysis Used by several automotive companies for automotive systems optimization (incl. robustness optimization, planning of upgrades, ...)

SymTA/S Screenshot

Runnable Execution Time Analysis Code already available Measurement or tracing - coupling with OTS tools formal verification – coupling with WCET tools (e.g. aiT) Code not yet available/not yet executable estimated data need to know sensitivity to errors

Outline Software Integration and AUTOSAR AUTOSAR and System Timing AUTomotive Open System Architecture AUTOSAR and System Timing System-level Timing Analysis Examples Conclusion

Ex 1: Network Analysis Gateway time table Msg1 Msg2 CAN 1 MO1 Msgn bus IF host IF bus IF MO2 bus IF buffer host IF Gateway bus IF

Priority Queue vs. FIFO in CAN Networks Buffering strategy (inside ECU) has huge influence on network timing Shared FIFO Buffer undermines the CAN protocol's priority scheme Shared priority ordered buffer high priority 3 messages share a FIFO low blocking due to non-preemptiveness low-priority frames benefit from FIFO high-priority frames must wait for low-priority frames Screenshots by

Ex 2: Reliable CAN Bus Extension Problem CAN bus load high, but need to carry more frames Formal analysis accurate analysis offset / CAN ID optimization Result reliable room for new frames, higher rates, or error handling

European OEM Example Classical response time analysis Realistic response time analysis with offsets Resp time analysis with optimized offsets

Sensitivity Analysis Problem: uncertain or undefined input data SymTA/S: sensitivity analysis of system properties Result: available headroom in design Frame 1 Frame 2 Frame 3 Frame 4 Frame 5 Frame 6 Frame 7 Frame 8 Frame 11 Frame 10 Frame 9 Communication time Initial Maximum Communication rate Initial Minimum Frame 1 Frame 2 Frame 3 Frame 4 Frame 5 Frame 6

Outline Software Integration and AUTOSAR AUTOSAR and System Timing AUTomotive Open System Architecture AUTOSAR and System Timing System-level Timing Analysis Examples Conclusion

Conclusion Automotive software standards improve modularity, re-use, and scalability Lack of timing model standard which supports reliable supplier-OEM chains Complex and hidden timing effects challenge predictability Appropriate design methods and EDA tools needed New generation of analysis and optimization algorithms cover many mechanisms, nevertheless requires good design practice Similar challenges in multi-core architectures