Adaptive AUTOSAR - Ralf Fritz
Adaptive AUTOSAR - Ralf Fritz
V1.00.00 | 2019-10-09
Automotive Trends
Required Enablers
Connectivity Offboard Eco Systems Supercomputers On Board
2 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Automotive Trends
safe
secure
Embedded Systems
embedded integration and debugging
automotive supply chain
automotive communication protocols
automotive diagnostics
AUTOSAR Classic
3 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Automotive Trends
Adaptive – best of two worlds
performance ECUs
hosting applications for ADAS
Development of
applications in the Dynamic Software Platform
ecosystem of POSIX-
based OS (Linux, PikeOS,
QNX, Integrity, …)
5 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Introduction
Current statically connected HW resources
6 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Introduction
Flexible use of HW resources
Service Interfaces
Smart sensors/actuators provide HW
over service interface
Switch
7 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Introduction
Drivers for Adaptive AUTOSAR
source: fotolia
8 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Introduction
Use Cases for POSIX/Virtualization in Automotive Systems
MEM
Middleware
Hypervisor
POSIX
POSIX besides MICROSAR
(current safety set-up)
(Hypervisor)
4
Adaptive Autosar
(upcoming perspective)
9 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Agenda
Automotive Trends
Introduction
Fundamentals
Details and Functional Clusters
Activities and Roadmap
10 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Fundamentals
AUTOSAR Product Comparison
11 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Fundamentals
AUTOSAR Product Comparison
Safety Critical
Computing Power
12 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Fundamentals
Adaptive Applications
Application
> Multi-threaded
Application (1:n Executables) > Execution states
POSIX Process > Manifest contains platform related
information (recovery action,
INIT: dependencies to services or libraries)
Manifest
> Instance configuration contains
application specific static information
RUN:
(variant, options, …)
Thread
Thread
Thread
Interfaces
Instance
Configuration
SHUTDOWN: > ara::com for communication with
adaptive services
PSE51 (basic services and user applications)
ara::com Direct API
C++ Stdlib > PSE51 is the usable OS API subset
13 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Fundamentals
Vector’s Adaptive Implementation
Implementation available for several platforms Guided configuration via IDE in Eclipse Plugin
Application logic is strictly separated from
configuration (see /opt/ deployment directory)
Code examples based on Vector’s
implementation
14 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Fundamentals
Tools and Workflow
Port
Port Skeletons
Port
Generators Instance Instance
Compiler
Config. Config.
SOME/IP (JSON) (JSON)
ServiceInterface
ServiceInterface Serializer Execution Manifest
ServiceInterface
./etc/MANIFEST.arxml
E2E libsomeip Execution
Serializer Manage- ComServer
SOME/IP Config ment
POSIX IPC
Instance Manifest(s) POSIX IPC
./etc/instance1.arxml Diagnostics SOMEIPd
./etc/instance2.arxml BSD Sock
Generated Static
15 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Fundamentals
Tooling: DaVinci Adaptive Tool Suite
16 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Fundamentals
PREEvision: Adaptive system design with PREEvision
7
1 2
Service
Interface
Description
5
Adaptive
System
Description
Manifest
6
3
1. Diagram-based design of 5. Graphical design of Ethernet
service interfaces topologies
2. Modeling of implementation 6. Assistant for creation and
details of the service interfaces mapping of service instances
on machines
4 3. Design of the SW components,
executables and adaptive 7. Import and export of different
applications model subsets in AUTOSAR
XML
4. Table-based editing of deploy-
ment aspects as SOMEIP IDs
17 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Fundamentals
Adaptive MICROSAR Evaluation Bundle
Test your application Implement your services Adaptive MICROSAR Prepared build scripts
directly in native using Eclipse source included for native Linux
environment
18 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Agenda
Automotive Trends
Introduction
Fundamentals
Details and Functional Clusters
Activities and Roadmap
19 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Details and Functional Clusters
Communication: ara::com
Service-oriented communication
APP 1 APP 2
Location-transparent
20 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Details and Functional Clusters
Execution Management: ara::exec
21 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Details and Functional Clusters
Diagnostics: Overview
ARA service
Uses ara::com interfaces
Diagnostic Request Diagnostic Response
Tester
22 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Details and Functional Clusters
Diagnostics: Configuration workflow (DEXT)
CANdela DEXT
Studio
references
Diagnostic Design
MANIFEST
PREEvision (Design)
System Design
23 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Details and Functional Clusters
Persistency: ara::per
Key-Value Storage
library based access to non-volatile memory for Adaptive Applications.
Multiple values stored in one storage location
Addressing of single values by using a key as identifier
Multiple storage locations/databases can be used
Stream Storage
Database format not specified by AUTOSAR
Raw access to storage locations/files
Used for access to files in any format
API derived from C++ Standard Library
std::fstream classes
24 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Details and Functional Clusters
Identity and Access Management
1. Request action
2. Is Application “x”
authorized? processed
Identity and Access execution
Functional Cluster manifests
Management
3. Yes database
4. Perform request (e.g.
access resource, Policy enforcement point (PEP)
communicate, get
Policy decision point (PDP)
information, etc.)
25 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Agenda
Automotive Trends
Introduction
Fundamentals
Details and Functional Clusters
Activities and Roadmap
26 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Activities and Roadmap
Safety as a necessity for high performance ECUs
Use cases such as highly automated driving easily demand safety up to ASIL D
Platform Partition Pool for Adaptive
Applications Applications (AA)
Architecture in high performance controllers is complex due to many involved abstraction layers:
BSP from semiconductor vendor DM AA partition n
Hypervisor … …
Vector is providing the complete and ready to go solution for such controllers
PikeOS out of one
hand.
27 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Activities and Roadmap
Vectors Adaptive Activities
Series Specification
Production of Adaptive
Development platform
Linux
QNX All feature teams are
Multiple POSIX systems
integrated covered
PikeOS
Active participation in all
Integrity working groups
28 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
Activities and Roadmap
Planned Adaptive MICROSAR Roadmap
Project n
Project 1
Production License
MA
SLP
18% year
License
Custom Prototype
Production SIP
no branch possible
SIP MA SIP MA
Base Package 35% year Base Package 18% year
MA MA
OEM Add-on OEM Add-on
35% year 18% year
Tools & BSW
Branch/Freeze
Evaluation
Continuous Development
Package
Ongoing updates
30 © 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09
For more information about Vector
and our products please visit
www.vector.com
Author:
Ralf Fritz
Vector North America
© 2019. Vector North America Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.00.00 | 2019-10-09