the future automotive operating system · 2019-07-15 · networking system of systems availability...

18
THE FUTURE AUTOMOTIVE OPERATING SYSTEM ROBERT BOSCH GMBH – GUNNAR PIEL

Upload: others

Post on 20-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

THE FUTURE AUTOMOTIVE OPERATING SYSTEM

ROBERT BOSCH GMBH – GUNNAR PIEL

Page 2: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.2

E/E architecture roadmap

electrified

automated

connected

Vehicle Computer as integral part in 2019ff. New architectures vary with legacy constraints.

Page 3: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE - Vehicle Runtime Environment

Automotive Technology | CC/PJ-VCC | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.3

Total Amount of Software in Modern Cars

Source of data: http://www.informationisbeautiful.net/visualizations/million-lines-of-code/

… and its still growing

The automotive domain is one of

the most challenging domain for

software engineers.

Page 4: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.4

Software in centralized EE-architecture

Further logical centralization due to increasing interconnection of functions

(highly interconnected, distributed functions more complex than integration)

Physical distribution into Central ECU & deeply embedded ECUs

Central ECU

Distributed

ECU

Distributed ECU

Distributed ECU

FCTFCT

FCT

FCT

FCTFCT

Distributed

ECU

SENACT

SEN ACTSEN

ACTFCT

FCTFCT

FCT

FCT

FCTFCT

FCT

Central

ECU

SEN

ACT

SEN

ACT

SEN

SEN

SEN

ACT

ACT

SEN

ECU

ECUECU

ECU

Today:

ECU-specific SW

ECU

HW

SW

EC

U

HW

SW

ECUHW

SW

HW

SW

Central ECU

HW

SWSW

SW

SW

SW

SW

SW

S

W

S

W

EE-architecture drives

SW-architecture

EE-architecture SW-architecture

Page 5: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.5

Autosar – Adaptive – and Beyond

Performance

Flexibility,

Versatility

VRTE

Vehicle Runtime Environment

Other runtimes

Many different

applications

Co

nne

cte

d S

erv

ice

s

Single

dedicated

application

Hard real-time

Static design

Soft real-time

Runtime

flexibility

Scope:

Single runtime environment

Scope:

Multiple collaborating runtime

environments

Page 6: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.6

Vehicle Computers

Performance

VRTE

Vehicle Runtime Environment

Other runtimes

Many different

applications

Co

nne

cte

d S

erv

ice

s

Single

dedicated

application

Hard real-time

Static design

Soft real-time

Runtime

flexibility

Flexibility,

Versatility

Integration ECUs

Autonomous Driving

ControllersIntelligent

Sensors

&

Actuators

Vehicle Computers

Several runtime

environments

Page 7: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

Availability

Safety

Security

Real-time

Fault tolerant SW systems

Lifetime SW modifications &

extensions e.g. security patches

Dynamic SW composition

FOTA, SOTA

Cloud services

V2X

Security

High computing performance, µP

Many different applications

Heterogeneous real-time, safety &

security properties

Many different SW suppliers

Different SW development

processes, tools & SW lifecycles

Service oriented architecture

Delta V&V

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.7

Most important features

SW integration

SW customization

Connectivity

Dependability Standard HW

HW sourced separately from SW

SW business

HW – SW

separation

High UX

Efficient development TTM

Modular & integratable tool chainTooling & SDK

Reuse SW systems

Cross-domain/BU

Strong collaboration

Demands organizational changes

AI, Neural networks

Graphics sharing

HW & VMM & OS independence

Service orientation architecture

Communication channel

independence

Portability

Integration of legacy SW

Porting of legacy SWMigration

OSS & COTS SW

Heterogeneous processes

Continuous delivery

Service oriented architecture

Tools

IT-like SW

HW acceleration

Gbit Ethernet

Deterministic communication (TSN)

Time synchronizationNetworking

System of

systems

Page 8: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

Availability

Safety

Security

Real-time

Fault tolerant SW systems

Lifetime SW modifications &

extensions e.g. security patches

Dynamic SW composition

FOTA, SOTA

Cloud services

V2X

Security

High computing performance, µP

Many different applications

Heterogeneous real-time, safety &

security properties

Many different SW suppliers

Different SW development

processes, tools & SW lifecycles

Service oriented architecture

Delta V&V

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.8

Most important features

SW integration

SW customization

Connectivity

Dependability Standard HW

HW sourced separately from SW

SW business

HW – SW

separation

High UX

Efficient development TTM

Modular & integratable tool chainTooling & SDK

Reuse SW systems

Cross-domain/BU

Strong collaboration

Demands organizational changes

AI, Neural networks

Graphics sharing

HW & VMM & OS independence

Service orientation architecture

Communication channel

independence

Portability

Integration of legacy SW

Porting of legacy SWMigration

OSS & COTS SW

Heterogeneous processes

Continuous delivery

Service oriented architecture

Tools

IT-like SW

HW acceleration

Gbit Ethernet

Deterministic communication (TSN)

Time synchronizationNetworking

System of

systems

Page 9: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.9

What drives VRTE architecture

Health and safety risk mitigation

(Functional safety)VRTE enables SW and HW development to

support safety goals up to ISO26262 ASIL D.

AdaptabilityVRTE is designed to be easily adaptable to

evolving HW platforms, usage scenarios,

products and new SW components.

ReusabilityVRTE is designed to be used in many

different ECU products by various Bosch

divisions. It is offered as infrastructure SW

product to the open market.

IntegrityVRTE contributes to maintain the integrity of

the SW with respect to growing security risks

from connectivity and complex SW systems

by tightly controlling individual privileges.

Fault toleranceVRTE provides freedom from interference by

preventing individual SW faults from

compromising the whole SW system.

InteroperabilityVRTE contributes to the interoperability of

SW components from different internal and

external suppliers as well as interoperability

between established SW de facto-standards

such as Autosar Classic, Autosar Adaptive,

Genivi etc.

Freedom from

risk

Portability

Maintainability

Security

Reliability

Compatibility

Priority /

Precedence

Pro

duct d

rive

nB

usin

ess &

Te

chnolo

gy d

rive

n

Terminology according to ISO25010 software quality.

Page 10: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.10

Key SW technologies

SOARemote update

Safe POSIX RTOS

Access control

Hypervisor

AUTOSAR

CI

Page 11: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

Vehicle

Central vehicle computer /

Domain ECU / Cross-Domain ECU /

Infotainment / Cluster

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.11

Typical Context – Vehicle Variant A

Vehicle internal network:

ETH, CAN, FLX, LIN

VRTE

=

Infrastructure SW

Hardware

µC / µP / HWA

Applications

SW

Deeply

embedded

ECU

Deeply

embedded

ECU

Deeply

embedded

ECU

Vehicle external network

Cloud

e.g. Backend

IT devices

e.g. Smartphone

Vehicle environment

e.g. other vehicle, traffic

infrastructure

Gateway

TCU

ETH

Vehicle maintenance

e.g. workshop tester

Wired (ETH)

OTA

(GSM,

WLAN,

Bluetooth)

TCU: Telematics control unit OTA: Over the air ETH: Ethernet µC: Microcontroller µP: Microprocessor HWA: Hardware accelerator

ETH

Single central access

point to vehicle –

Security!!!

Page 12: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

Vehicle

Central vehicle computer /

Domain ECU / Cross-Domain ECU / IVI /

Cluster

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.12

Typical Context – Vehicle Variant B

Vehicle internal network:

ETH, CAN, FLX, LIN

VRTE

=

Infrastructure SW

Hardware

µC / µP / HWA

Applications

SW

Deeply

embedded

ECU

Deeply

embedded

ECU

Deeply

embedded

ECU

Vehicle external network

Cloud

e.g. Backend

IT devices

e.g. Smartphone

Vehicle environment

e.g. other vehicle, traffic

infrastructure

Gateway

TCU

Vehicle maintenance

e.g. workshop tester

Wired (ETH)

TCU: Telematics control unit OTA: Over the air ETH: Ethernet µC: Microcontroller µP: Microprocessor HWA: Hardware accelerator

ETH

OTA

(GSM,

WLAN,

Bluetooth)

Single central access

point to vehicle –

Security!!!

Page 13: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

Central vehicle computer /

Domain ECU / Cross-Domain ECU / IVI / Cluster

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.13

Typical Context – SW & HW

VRTE

=

Infrastructure SW

Application SW

INC type a

e.g. ETHµC

QM to ASIL D

µP

QM to ASIL B

INC type b

e.g. PCIe HW accelerator

QM to ASIL x ???

Semantic / application-specific middleware

Hardware

Software

BU development

scope

VC integration /

development scope

BU product

scope

BU: RB business unit VC: RB Vehicle computer campus µC: Microcontroller µP: Microprocessor INC: Inter-node communication ETH: Ethernet PCIe: PCI express

Page 14: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE - Vehicle Runtime Environment

Automotive Technology | C/AIE+S G. Piel, D. Zerfowski | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.14

Functional Layers

Hardware

µC, µP, HWA

VRTE

L1 - HW specific infrastructure SW:

SW that interacts directly with HW and abstracts it towards the higher layers.

L2 - OS specific infrastructure SW:

Essential SW that complements the actual OS kernel (aka scheduler) and abstracts OS specific properties towards the higher layers.

L3 - Communication specific infrastructure SW:

Manages control and data flow between SW components.

L4 - ECU specific infrastructure services:

Services managing one specific ECU.

Basic application services / Semantic middleware

Application services

L5 - Vehicle specific / cross-ECU infrastructure services:

Services managing the ECU grid of the vehicle.

Dependency

to OS

Dependency

to HW

µC: Microcontroller µP: Microprocessor HWA: Hardware accelerator

Realized as

services

Realized as

hierarchical

layers

Page 15: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

L5 - Vehicle specific

platform services:

VRTE - Vehicle Runtime Environment

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.15

Functional Layers & Protection Domains

Hardware

µC, µP, HWA

VR

TE

L1 - HW specific

infrastructure SW:

L2 – OS specific

infrastructure SW:

L3 - (Service-oriented)

communication middleware

L4 - ECU specific

platform services:

Basic application services / Semantic middleware

Application services

HW

Acce

lera

ted A

pplic

ation P

rote

ction D

om

ain

(s)

Applic

ation P

rote

ction D

om

ain

s

Infr

astr

uctu

re P

rote

ction D

om

ain

s

Info

rma

tion P

rote

ction D

om

ain

s

We

ll D

efine

d S

afe

ty

Fle

xib

le S

afe

ty

We

ll d

efine

d Q

M

Fle

xib

le Q

M

Se

curity

SW

Manage

me

nt

Com

munic

ation

House

ke

epin

g

IO

Manage

the ECU

Share

communication

& IO among

domains

Run safe

applications

Run QM

applications

Run applications

on HWA

µC: Microcontroller µP: Microprocessor HWA: Hardware accelerator IO: Input/output

Potential relevance for (Adaptive) Autosar

Page 16: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VR

TE

SOA Applications & Services

Flexible world, easy to integrate, soft real-time

Classic Applications

Static world, hard to integrated SW, hard real-time

VRTE - Vehicle Runtime Environment

Automotive Technology | C/AIE - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.16

Domain deployment overview

Virtual

machine

Hypervisor

HardwareHW devices

IO

ARA

IO

CUBAS

RTE

µC Hypervisor & Inter-VM communication

Vehicle-Internal

Networks

Defined QM

GENIVI /

AGL Linux

Platform

Misc APIs

HW devices

Communicatio

n

CUBAS

RTE

House

Keeping

CUBAS

RTE

Well Defined

Safety

AUTOSAR

Classic

Platform

(CUBAS)

RTE,Daddy,

MCOP

Communication

ARA

SW Mngmt.

ARA

Dynamic QM

App-

hosting

Platform

(e.g.

Android)

Misc API

Vehicle-External

Networks

Other

Customer

Domain

Customer

Platform(e.g. Android)H

ot

Ro

uti

ng

Do

main

µP Hypervisor & Inter-VM communication (e.g. Virtual Ethernet)

HW devices

µP Cores

Co

ld R

ou

tin

g D

om

ain

OS

Communication

Middleware

Communication

ARA

Housekeeping

ARA

Flexible

Safety

Autosar

Adaptive

Platform

(6i)

ARA

Vehicle-Internal

Networks

µC Cores

HWA

Domain

HWA

Platform(Details to be

defined)

HWASecure HW

resources

Security

(to be defined)

Co

ld R

ou

tin

g D

om

ain

Secure HW

resources

Security

(to be defined)

Well Defined

Safety

Cluster

Platform

(Integrity) or

AUTOSAR

Classic

Platform

(CUBAS)

RTE,Daddy,

MCOP

This is a 150% architecture.

It is tailored for specific products.

Page 17: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

VRTE Security

Automotive Technology | BOSCH CAP-SST/ESY - G. Piel | 2018-06-09

© Robert Bosch GmbH 2018. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.17

Autosar – Adaptive – and BeyondFirst deployment scenarios

µC µP

Well defined safety +

Communication +IO+

SW Management +

Housekeeping +

Hardware

Communication +

SW Management +

Housekeeping

VRTE

Basis SW

Applications /

Services

Hypervisor

Security

Trusted security

SW

Adaptive

Autosar

Safe POSIX

RTOS

Classic Autosar Trusted

security SW

Flexible Safety: RB

applications

LegendProtection domain,

+ indicates domain merger

HSM

Adaptive

Autosar

Safe POSIX

RTOS

Flexible Safety:

Customer

applications

Adaptive

Autosar

Safe POSIX

RTOS

Boot Boot

Well defined safety

Classic Autosar

Page 18: THE FUTURE AUTOMOTIVE OPERATING SYSTEM · 2019-07-15 · Networking System of systems Availability Safety Security Real-time ... evolving HW platforms, usage scenarios, products and

Thank You!