RTS Meeting 8th July 2009 Introduction Middleware AUTOSAR Conclusion.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Automotive Embedded System Development in AUTOSAR
Construction process lasts until coding and testing is completed consists of design and implementation reasons for this phase –analysis model is not sufficiently.
RECOMP is made possible by funding from the ARTEMIS Joint Undertaking. Claus Stellwag (Elektrobit), Thorsten Rosenthal (Delphi), Swapnil Gandhi (Delphi)
OSI MODEL Maninder Kaur
MotoHawk Training Model-Based Design of Embedded Systems.
Socket Programming.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Mahapatra-Texas A&M-Fall'001 cosynthesis Introduction to cosynthesis Rabi Mahapatra CPSC498.
Protocols and the TCP/IP Suite
1 Building with Assurance CSSE 490 Computer Security Mark Ardis, Rose-Hulman Institute May 10, 2004.
Figure 1.1 Interaction between applications and the operating system.
1 Review of Important Networking Concepts Introductory material. This module uses the example from the previous module to review important networking concepts:
OPERATING SYSTEMS Introduction
November 18, 2004 Embedded System Design Flow Arkadeb Ghosal Alessandro Pinto Daniele Gasperini Alberto Sangiovanni-Vincentelli
Software Issues Derived from Dr. Fawcett’s Slides Phil Pratt-Szeliga Fall 2009.
.NET Mobile Application Development Remote Procedure Call.
Course Instructor: Aisha Azeem
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
Client-Server Processing and Distributed Databases
Automotive Software Integration
Network Management Concepts and Practice Author: J. Richard Burke Presentation by Shu-Ping Lin.
MultiPARTES Towards Model-Driven Engineering for Mixed- Criticality Systems: MultiPARTES Approach A. Alonso, C. Jouvray, S. Trujillo, M.A. de Miguel, C.
EtherCAT Protocol Implementation Issues on an Embedded Linux Platform
OMNET++. Outline Introduction Overview The NED Language Simple Modules.
CP476 Internet ComputingCh.1 # 1 Lecture 2. A Brief Introduction to the Internet The objective is to understand The history of Internet What the Internet.
Chapter 17 Networking Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William Stallings.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Protocols and the TCP/IP Suite
An Introduction to Software Architecture
IT in automobile Abon. The name stands for… Automotive open system architecture Japan automotive software platform architecture.
1 Tools for Commercial Component Assembly Francis Bordeleau, Zeligsoft/Carleton University Mark Vigder, National Research Council Canada.
RTS Meeting January 2008 In-Vehicle Domains Powertrain: –Control of engine and transmission –Several complex control, high computing complexity –Multitasking.
Software Architecture Framework for Ubiquitous Computing Divya ChanneGowda Athrey Joshi.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Computer-aided Architecture Design and Optimized Implementation of Distributed Automotive EE Systems Ajay Kumar, Antal Rajnak Automotive Programs System.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
A Comparative Study of the Linux and Windows Device Driver Architectures with a focus on IEEE1394 (high speed serial bus) drivers Melekam Tsegaye
F. Gharsalli, S. Meftali, F. Rousseau, A.A. Jerraya TIMA laboratory 46 avenue Felix Viallet Grenoble Cedex - France Embedded Memory Wrapper Generation.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Refining middleware functions for verification purpose Jérôme Hugues Laurent Pautet Fabrice Kordon
Lyra – A service-oriented and component-based method for the development of communicating systems (by Sari Leppänen, Nokia/NRC) Traditionally, the design,
Introduction to Microsoft Windows 2000 Integrated support for client/server and peer-to-peer networks Increased reliability, availability, and scalability.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved RPC Tanenbaum.
07/09/04 Johan Muskens ( TU/e Computer Science, System Architecture and Networking.
May 2003National Coastal Data Development Center Brief Introduction Two components Data Exchange Infrastructure (DEI) Spatial Data Model (SDM) Together,
> Power Supervison Desired Output level Source Diesel Valve Sink Diesel Valve > Valve Regulator Sink T = 40 ms Air Valve CBSE Course The SaveComp Component.
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
1 Lecture 3 Major Architectural Models View (Cont’d) Architectural Models/Patterns Architecture Case Study Software Architecture & Design Pattern.
Communication Architecture and Network Protocol Layering Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by:
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Architectural Mismatch: Why reuse is so hard? Garlan, Allen, Ockerbloom; 1994.
© Oxford University Press 2011 DISTRIBUTED COMPUTING Sunita Mahajan Sunita Mahajan, Principal, Institute of Computer Science, MET League of Colleges, Mumbai.
LonWorks Introduction Hwayoung Chae.
Computer Networking A Top-Down Approach Featuring the Internet Introduction Jaypee Institute of Information Technology.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Kernel Design & Implementation
#01 Client/Server Computing
Protocols and the TCP/IP Suite
Chapter 3: Open Systems Interconnection (OSI) Model
Пројектовање аутомобилског софтвера
Protocols and the TCP/IP Suite
Computer Networking A Top-Down Approach Featuring the Internet
#01 Client/Server Computing
Presentation transcript:

RTS Meeting 8th July 2009 Introduction Middleware AUTOSAR Conclusion

Introduction gateway node [1] P. Pop, P. Eles, and Z. Peng. Analysis and optimization of heterogeneous real-time embedded systems. IEE Proc. -Comput. Digit. Tech., Vol. 152, No. 2, March 2005. Figure 1 – Distributed real-time bus network architecture and node hardware structure [1]

Introduction [2] N. Navet (editor) and F. Simonot-Lion (editor). Automotive embedded systems handbook. Industrial Information Technology Series. CRC Press, 2009. Figure 2 – An example of automotive real-time bus network [2]

Introduction Application layer ASCs, functions and tasks Communication layer Middleware MAC and DLL Physical and data link layer MAC and arbitration mechanisms Communication controllers Application layer Communication Layer MAC and DLL Figure 3 – Layered architecture of a node

Middleware Hiding the distribution Hiding the heterogeneity Same services, interfaces for intra-ECU, inter-ECU and inter-domain Hiding the heterogeneity Encapsulate OS services, provide API for them, common services to access I/O devices Providing high-level services membership services, redundancy management, remote procedure call (RPC) and working mode management and frame packing Ensuring QoS additional mechanisms and services such as additional CRC, reliable acknowledgement service, frame packing and filtering mechanisms

Middleware Middleware examples: TITUS/DBKOM OSEK/VDX Volcano OSEK/VDX FTCom AUTOSAR

AUTOSAR AUTOSAR: AUTomotive Open System Architecture [2] [3] Formed as a partnership (10 core partners) in 2003 The first phase: 2003-2006 with first AUTOSAR products Main idea: Controlling the complexity together with an increase in quality and profitability. The future of automotive engineering is in modular and scalable sw architectures. Motivation Demands for safety, comfort, services, economy … Increasing complexity More diversity of ECU hardware and networks (CAN, LIN, FlexRay, MOST etc.) [3] AUTOSAR GbR. Main requirements, V3.1. Available: www.autosar.org. June 2009.

AUTOSAR Shortcomings before AUTOSAR Non-standardization for networks and development processes Lack of appropriate level of abstraction in sw architecture modeling and integration The architectures did not meet quality requirements

AUTOSAR Objectives Main principle: cooperate on standards, compete on implementation Availability and safety Scalability and integration Maintainability Increased use of COTS hw Transferability of functions

AUTOSAR XML class model, specified in UML 2.0, is used for modeling Separation of “application” development from the lower levels integration (Basic Software-BSW) The separator: Runtime environment (RTE) – RTE uses Virtual Functional Bus (VFB) as abstracting communication principle No need to know what is going on lower levels Easier application development

AUTOSAR Concept: Development methodology: model-driven s/w architecture, ECU hardware and n/w topology are modeled in a formal way defined in a metamodel Support the development from architecture to integration

AUTOSAR: Software Architecture Figure 4 – ECU layered software architecture defined by AUTOSAR [2, 3]

AUTOSAR: Software Architecture Figure 5 – Detailed ECU layered software architecture [2, 3]

Service layer includes AUTOSAR OS (needs to access to hardware; i. e Service layer includes AUTOSAR OS (needs to access to hardware; i.e. timer) Separation of BSW and ASW by RTE RTE allows ASW to access BSW services in a “clearly defined way” (API) RTE provides communication services (VFB)

AUTOSAR: BSW & RTE BSW: Drivers, services and AUTOSAR OS AUTOSAR defines 63 BSW modules BSW modules have interfaces Implementation conformance classes (ICC1, ICC2, ICC3) for the BSW

AUTOSAR: BSW & RTE Figure 6 –The features of the RTE [2]

AUTOSAR: BSW & RTE RTE Performs as a “glue” between two parts (BSW and ASW) Employs BSW to implement ASW behavior (port and runnable entities) Communication (send/receive or client/server) Activation of runnable entities Generation of RTE Contract phase ECU independent Input: description of an ASW component (ports and runnable entities) API functions used by ASW components (i.e. send) Output: ASW component-specific header file Generation phase Concrete code generation Input: ECU configuration description (mapping of runnable entities to OS tasks and communication matrix) and ASW header file Output: generated code can be compiled to executable file for that ECU

AUTOSAR: Methodology Figure 7 – AUTOSAR methodology [2]

AUTOSAR: Methodology Configure System: maps ASW components to ECUs (considering resource and timing requirements) Outputs: System configuration description (mapping, topology, etc.) System communication matrix (features of networks/media used) Configure ECU: uses info for implementation such as tasks, scheduling, main BSW modules list, mapping runnables to tasks and configuration of BSW modules Output: ECU configuration description with fixing all configuration parameters

AUTOSAR: Methodology Figure 8 – Input information and .XML file generation [2]

AUTOSAR: Methodology Figure 9 – System configuration overview [2]

AUTOSAR as Middleware Reference Model Two communication models Application layer BSW (Middleware software components) RTE Two communication models Sender/receiver Explicit mode Implicit mode Client/server

AUTOSAR as Middleware Figure 10 – Communication software architecture [2]

AUTOSAR as Middleware Communication Elements Signal specified with length and type (data or event) Exchanged between software components at the application level Transfer property parameter Triggered Pending Signal types Data: Not queued on the receiver side (overwrite on the previous data value) Event: queued (handling of queues and buffers is done by RTE)

AUTOSAR as Middleware Communication Elements I-PDU Formed by AUTOSAR COM service component Consists of one or more signals Maximum length of I-PDU depends on max. length of N-PDU (DLL PDU) Behavioral parameter Direct Periodic Mixed None

AUTOSAR as Middleware Communication Elements N-PDU Formed by Transport Protocol (TP) of related communication network (CAN, FlexRay, LIN etc.) TP not mandatory but if it is used, Splitting the I-PDU to obtain several N-PDUs Assembling several I-PDUs into one N-PDU The length of payload is decided underlying protocol

AUTOSAR as Middleware AUTOSAR COM Component Not fully independent from underlying network Considering the length of the payload Determine the points at which I-PDUs will be sent depending on Transmission mode (direct, periodic, mixed) Transfer property of signals (triggered, pending and mixed) Ensure the transmission/reception and informs the sender/receiver Filtering mechanism for signals Packing/unpacking of signals into/from I-PDUs

AUTOSAR as Middleware Figure 11 – Transmission of an I-PDU consisting of two signals S1 (triggered) and S2 (pending) during mixed transmission mode [2]

Conclusion Future Directions: Cross-domain communication (function, location and network) by gateways  improvement needed for interoperability between applications. Optimization of networking architectures (s/w tools, i.e. NETCAR-Analyzer [4]) Facilitation of the use of s/w along development cycle (ASAM FIBEX standard) [4] Available: www.realtimeatwork.com.