Adaptive AUTOSAR. Ready for Next Generation ECUs V

Similar documents
Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

The Adaptive Platform for Future Use Cases

Introduction to Adaptive AUTOSAR. Dheeraj Sharma July 27, 2017

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

10 th AUTOSAR Open Conference

10 th AUTOSAR Open Conference

10 th AUTOSAR Open Conference

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

Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR

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

Arccore AB 2017, all rights reserved. Accelerating innovation

Adaptive AUTOSAR: Infrastructure Software for Advanced Driver Assistance. Chris Thibeault June 7, 2016

Diagnostics is evolving

Unit Testing with VectorCAST and AUTOSAR

PREEvision Technical Article

10 th AUTOSAR Open Conference

Current status and Future of AUTOSAR. Markus Bechter 7 th AUTOSAR Open Conference Oct. 22 nd -23 rd 2014, Detroit

Automotive Security: Challenges and Solutions

AUTOSAR Method. Webinar

OTA and Remote Diagnostics

SIMPLIFYING THE CAR. Helix chassis. Helix chassis. Helix chassis WIND RIVER HELIX CHASSIS WIND RIVER HELIX DRIVE WIND RIVER HELIX CARSYNC

AUTOSAR Overview and Classic Platform

Flash Bootloader. Product Information

10 th AUTOSAR Open Conference

Autonomous Driving From Fail-Safe to Fail-Operational Systems

AUTOSAR Diagnostic Extract

November 16, TTTech Computertechnik AG / TTTech Auto AG Copyright TTTech Auto AG. All rights reserved

Security and Performance Benefits of Virtualization

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

STMicroelectronics Automotive MCU Technical Day 意法半导体汽车微控制器技术日 2017 年 ST 汽车 MCU 技术日 2017 年 6 月 6 日, 上海 2017 年 6 月 8 日, 深圳 2017 年 6 月 13 日, 北京

ISO meets AUTOSAR - First Lessons Learned Dr. Günther Heling

Diagnostic Trends 2017 An Overview

Model Based Development and Code Generation for Automotive Embedded Systems. April 26, 2017 Dr. Gergely Pintér, Dr. Máté Kovács thyssenkrupp Steering

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

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

10 th AUTOSAR Open Conference

PREEvision at Porsche (Update 2018)

Software integration challenge multi-core experience from real world projects

Agenda. > AUTOSAR Overview. AUTOSAR Solution. AUTOSAR on the way

The CANoe.Ethernet Solution

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

KSAR Support. for. ST s SPC5 32-bit Automotive MCUs

Interaction between AUTOSAR and non-autosar Systems on top of a Hypervisor

Automotive Cybersecurity: A steep learning curve

A Safe Basis. Safety Functions Status and Challenge V

Virtualization of Heterogeneous Electronic Control Units Testing and Validating Car2X Communication

1000BASE-T1 from Standard to Series Production

Multicore platform towards automotive safety challenges

CANoe.Ethernet. Product Information

A Secure Update Architecture for High Assurance Mixed-Criticality System Don Kuzhiyelil Dr. Sergey Tverdyshev SYSGO AG

Cyber security mechanisms for connected vehicles

Diagnostic Use Cases V

MICROSAR-OS. Embedded Real-time Multitasking Operating Systems

AUTOSAR design flow. Yoon-Jin Kim Application Engineer. July mentor.com/automotive

In the Driver s Seat

RazorMotion - The next level of development and evaluation is here. Highly automated driving platform for development and evaluation

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

oscan Embedded Real-time Operating Systems

AUTOSAR stands for AUTomotive Open Systems ARchitecture. Partnership of automotive Car Manufacturers and their Suppliers

Architecture concepts in Body Control Modules

AUTOSAR Diagnostic Extract

Hypervisor Market Overview. Franz Walkembach. for GENIVI AMM, April 19 th, 2018 (Munich) SYSGO AG Public

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

SW-Update. Thomas Fleischmann June 5 th 2015

Communication Patterns in Safety Critical Systems for ADAS & Autonomous Vehicles Thorsten Wilmer Tech AD Berlin, 5. March 2018

Safety and Security for Automotive using Microkernel Technology

Indigo. Vector Diagnostic Tester V / 6

Product Information Embedded Operating Systems

Tizen IVI Architecture New features. Dominig ar Foll, Intel Open Source

Automotive Anomaly Monitors and Threat Analysis in the Cloud

RTMaps Embedded facilitating development and testing of complex HAD software on modern ADAS platforms

Countermeasures against Cyber-attacks

AUTOSAR Software Design with PREEvision

AUTOSAR System and Software Design with PREEvision

Is This What the Future Will Look Like?

CAN FD - Flexible Tools for Flexible Data Rates

The Safe State: Design Patterns and Degradation Mechanisms for Fail- Operational Systems

How Security Mechanisms Can Protect Cars Against Hackers. Christoph Dietachmayr, CIS Solution Manager EB USA Techday, Dec.

Virtualizaton: One Size Does Not Fit All. Nedeljko Miljevic Product Manager, Automotive Solutions MontaVista Software

Experiences with AUTOSAR compliant Autocode generation using TargetLink

Isolation of Cores. Reduce costs of mixed-critical systems by using a divide-and-conquer startegy on core level

Using DDS with TSN and Adaptive AUTOSAR. Bob Leigh, Director of Market Development, Autonomous Vehicles Reinier Torenbeek, Systems Architect

Securing the future of mobility

Software Architecture for Secure ECUs. Rudolf Grave EB TechDay-June 2015

Virtual Open Systems (VOSyS)

SBC-S32V234 QUICK START GUIDE (QSG)

Embedded Software for J1939

Real-Time Systems and Intel take industrial embedded systems to the next level

SBC-S32V234 QUICK START GUIDE (QSG)

Smart Antennas and Hypervisor: Enabling Secure Convergence. July 5, 2017

CANbedded. Product Information

Mentor Automotive Save Energy with Embedded Software! Andrew Patterson Presented to CENEX 14 th September 2016

Infotainment Solutions. with Open Source and i.mx6. mentor.com/embedded. Andrew Patterson Business Development Director Embedded Automotive

What s New in AUTOSAR?

ODX TechDay, Seoul. How to come to ODX data? V

Linux and AUTOSAR Vector Informatik Congress, Stuttgart,

GET STARTED FAST WITH THIS COMPREHENSIVE ENABLEMENT OFFERING FOR LPC800 MCUS

DEVELOPMENT OF DISTRIBUTED AUTOMOTIVE SOFTWARE The DaVinci Methodology

Adaptive AUTOSAR for high-performance in-car computers

Transcription:

Adaptive AUTOSAR Ready for Next Generation ECUs V0.4 2017-10-18

Introduction Being Prepared for the Next-Generation of ECUs Additional, high performance ECUs hosting applications for upcoming use cases With Adaptive MICROSAR, Vector is providing a complete basic software solution Seamless interoperability with classic AUTOSAR ECUs Infotainment ADAS source: fotolia Applications installed and started during runtime Connectivity Development of applications in the ecosystem of POSIXbased OS (Linux, PikeOS, QNX, Integrity, ) Dynamic Software Platform 2

Introduction Drivers for Adaptive AUTOSAR Infotainment Highly Automated Driving source: fotolia 2D/3D accel. support in POSIX systems Image- and preprocessing of Camera/Radar/LIDAR Video Codecs, Streaming support, multi-media library, etc Sensor Fusion and Machine Learning Connectivity Dynamic Software Platform Car-2-X (LTE, WiFi, GPS, etc.) App-Store for automotive applications Multimedia (USB, SD-Card, NFC, etc.) Installation and update over the air 3

Introduction Use Cases for POSIX/Virtualization in Automotive Systems Core 1 (MSR 1) IPC MCU MEM Mini-Hypervisor Core 2 (MSR 2) IPC Applications as Driver ECU MCU 1 (POSIX) MCU 2 (MSR) IPC SPI/ETH POSIX besides MSR (previously used set-up) IPC Consolidation of existing ECUs Core 1 (POSIX) MCU Core 1 or 2 (MSR) Process 1 (nat. POSIX) IPC MCU MEM POSIX POSIX besides MSR (current QM set-up) Process 2(MSR) IPC OS Process 1 (ADAPTIVE) MCU Process 2 (ADAPTIVE) IPC MEM Hypervisor POSIX besides MSR (current safety set-up) IPC Middleware POSIX Adaptive Autosar (upcoming perspective) 4

Agenda Introduction Fundamentals ara::com ara::em ara::diag ara::per Roadmap 5

Fundamentals AUTOSAR Product Comparison AUTOSAR Classic Platform - CP AUTOSAR Adaptive Platform - AP Application Software Component AUTOSAR Interface Actuator Software Component AUTOSAR Interface Application Layer Sensor Software Component AUTOSAR Interface Application Software Component AUTOSAR Interface SWC SWC AUTOSAR SWC Runtime Environment ARA ARA for Adaptive Applications ARA Runtime Environment Adaptive AUTOSAR Services Memory Services Onboard Device Abstraction Microcontroller Drivers Memory Services Memory Hardware Abstraction Memory Drivers Communication Services Communication Hardware Abstraction Communication Drivers I/O Hardware Abstraction I/O Drivers Complex Drivers Time Management Operating System Bootloader Execution Management Persistency Platform Health Management Software Configuration Management Service Logging and Traceing Adaptive AUTOSAR Foundation Security Management Hardware Acceleration Service Service Diagnostics Communication Management Microcontroller (Virtual) Machine / Hardware All modules completely specified Less modules, only specification Developed in C Developed in C++ Whole stack compiled and linked in one piece Services as POSIX processes, separately installable Will still remain in the current focus Service oriented communication (SOME/IP) Configuration compiled in Configuration loaded from manifest files 6

Fundamentals AUTOSAR Product Comparison AUTOSAR Classic Platform - CP AUTOSAR Adaptive Platform - AP Application Software Component AUTOSAR Interface Actuator Software Component AUTOSAR Interface Application Layer Sensor Software Component AUTOSAR Interface Application Software Component AUTOSAR Interface SWC SWC AUTOSAR SWC Runtime Environment ARA ARA for Adaptive Applications ARA Runtime Environment Adaptive AUTOSAR Services Memory Services Onboard Device Abstraction Microcontroller Drivers Memory Services Memory Hardware Abstraction Memory Drivers Communication Services Communication Hardware Abstraction Communication Drivers I/O Hardware Abstraction I/O Drivers Complex Drivers Time Management Operating System Bootloader Execution Management Persistency Platform Health Management Service Software Configuration Management Logging and Traceing Adaptive AUTOSAR Foundation Service Security Management Hardware Acceleration Service Diagnostics Communication Management Microcontroller (Virtual) Machine / Hardware Real Time Requirements Safety Critical Computing Power 7

Fundamentals Adaptive Architecture Applications App1 POSIX Process ara::com ara::em ara::pers App2 POSIX Process ara::com ara::em ara::pers Middleware ara::com SOMEIPd Service Discovery Platform ara::com ara::em ara::pers ara::com ara::em ara::pers ara::em SCM Service Diagnostic Service EM (Execution Manager) Persistency BSD Socket BSD Socket for DoIP POSIX OS 8

Thread Thread Thread Fundamentals Adaptive Applications Manifest Instance Configuration INIT: RUN: SHUTDOWN: PSE51 C++ Stdlib POSIX OS App1 POSIX Process ara::com Adaptive AUTOSAR Services Direct Adaptive AUTOSAR Foundation Application > Multi-threaded > Execution states > Manifest contains platform related information (recovery action, dependencies to services or libraries) > Instance config contains application specific static information (variant, options, ) Interfaces > ara::com for communication with adaptive services (basic services and user applications) > PSE51 is the usable OS subset > The Adaptive AUTOSAR Foundation clusters (Execution Management, Persistency, etc.) are available via direct s 9

Fundamentals Adaptive Implementation VMs with prototype implementation (Based on YOCTO) Currently supported platforms Renesas R.Car H3 (Arm) ST Telemaco3P (Arm) Minnowboard (Intel) More in preparation Set of example services based on code in AUTOSAR GIT Additional services in development Tool supported service specification 10

Fundamentals Adaptive MICROSAR Development Environment Test your ECU directly in QEMU Implement your services using preconfigured Eclipse Adaptive MICROSAR source included Preconfigured Yocto build environment Furthermore included: > 2 Day training at Vector for 1 Person > Application Developer Guide > Tooling for creating service interfaces > Generators for proxies and skeletons 11

Authoring Tool Generators Compiler Software Configuration Management Fundamentals Tools and Workflow Service Description (ARXML) AppSWCTypes Port Port Port ServiceInterface SOME/IP Config Application Code Proxies / Skeletons SOME/IP Serializer E2E Serializer Logic libara libsomeip Deploy Package /opt/myapp/ BIN./bin/myApp Application Manifest./etc/MANIFEST.arxml Vehicle Installed APP BIN Application Manifest (JSON) Instance Manifest(s) (JSON) EM Installed APP BIN Application Manifest (JSON) Instance Manifest(s) (JSON) ComServer POSIX IPC Instance Manifest(s)./etc/instance1.arxml./etc/instance2.arxml Diag POSIX IPC SOMEIPd BSD Sock Generated Static 12

Agenda Introduction Fundamentals ara::com ara::em ara::diag ara::per Roadmap 13

ara::com Method Calls Communication initiated by the service consumer Bidirectional data flow N:1 communication: method can be called by multiple consumers Provider controls how parallel method calls are handled (serial, full parallel) ECU 1 (1) Call method as you would call a function: (3) Method implementation called: ReturnType ECU 2 SWC1 Proxy f = Proxy.method(arg, ) f is the handle for the call Skeleton::Method(arg, ) { } return return_value; SWC2 Skeleton SW ara::com (5) Call result can be obtained using f.get() ara::com SOME/IP SOME/IP (2) Method call transmitted (4) Call result transmitted 15

ara::com Sending Events Communication initiated by the service provider Unidirectional data flow from provider to consumers 1:n communication Consumer controls buffering strategy of events Event has a value only in the instant that it occurs SWC1 ECU 1 Proxy (3) Event stored in invisible buffer (4) User calls event.update() Predefined number of events moved to visible buffer (1) skeleton.event.send(value) SWC2 ECU 2 Skeleton SW ara::com ara::com SOME/IP SOME/IP (2) Event containing value 16

Agenda Introduction Fundamentals ara::com ara::em ara::diag ara::per Roadmap 17

ara::em Execution Management Overview OS launches Execution Manager (EM) (PID1, init ) EM inspects system for installed applications E.g., scan filesystem in /opt/ for application manifests EM runs startup applications (fork(), exec()) e.g., bring up IP stack Startup EM consults Machine State Manager to determine desired machine state Machine state defines set of applications desired to run EM starts/stops applications to reach desired machine state (fork(), exec(), signal(sigterm)) EM configures scheduling parameters & resource limits Configuration data obtained from application manifest EM monitors for machine state changes or process termination ECU running 18

ara::em Connecting the ExecutionManager to Applications - Example Communication via (library with IPC included) Functionality provided by EM for applications to report application state (e.g kinitializing, krunning, kshuttingdown) for Machine State Manager to > Register as MSM > Request machine state > Get current machine state 19

Agenda Introduction Fundamentals ara::com ara::em ara::diag ara::per Roadmap 20

ara::diag Diagnostic Manager - Overview No fundamental changes to exiting diagnostic workflows (like development, production, workshop, ) due to Adaptive Platform Main Tasks ISO 14229-5 (UDSonIP) Including fault-memory (DTC) handling Including transport layers (i.e. DoIP ISO 13400-x) Application (Software Components) Diagnostic Coding Callbacks Diagnostic Measurements Callbacks Diagnostic Routines ara::com Diagnostic Monitor Diagnostic Monitor Diagnostic Monitor Faults Configurable via AUTOSAR Diagnostic Extract (DEXT) Diagnostic Manager ARA service Uses ara::com interfaces Diagnostic Request Diagnostic Response Tester 21

references ara::diag Configuration workflow (DEXT) CANdela Studio DEXT Diagnostic Design PREEvision MANIFEST (Design) System Design 22

Agenda Introduction Fundamentals ara::com ara::em ara::diag ara::per Roadmap 24

ara::per Functional Overview In AUTOSAR Adaptive the Persistency cluster provides a library based implementation to access non-volatile memory to Adaptive Applications so that data can be stored non volatilely. Application Key-Value Storage Multiple values stored in one storage location Addressing of single values by using a key as identifier Multiple storage locations/databases can be used Database format not specified by AUTOSAR ara::per KvsType ara::per KeyValueStorage ara::per KvsType ara::per arafstream Stream Storage Raw access to storage locations/files Used for access to files in any format derived from C++ Standard Library std::fstream classes Key-Value Storage Location Stream Storage Location 25

Agenda Introduction Fundamentals ara::com ara::em ara::diag ara::per Roadmap 28

Roadmap Planned Adaptive Roadmap ASR Release 17-03: > Execution Management > Communication/ Middleware > DLT > Diagnostics > Persistency ASR Release 17-10: > Platform Health Management > RESTful Services > Signal based communication > Security Features > Time Synchronization > E2E Protection (Draft) > Package Management (Draft) ASR Release 18-03: > Container Support > Package Management > E2E Protection > SW-Lockstep > FR + LIN Bus > Crypto Hardware > Network Management ASR Release 18-10: > TBD 2017 2018 2019 2020 Deliveries based on Adaptive AUTOSAR Code Adaptive MICROSAR R1: Adaptive MICROSAR R2: Adaptive MICROSAR R4: Vector Adaptive modules replace community source parts gradually as development is progressing Development Release Production Release (QM) Production Release (Safe) 30

For more information about Vector and our products please visit www.vector.com Author: Dr. Markus Oertel Vector Germany 32 2017. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V0.4 2017-10-18