autosar ethernet design and soa - vector...> small soa design > technology mapping to autosar...

33
V6.0 | 2019-10-21 PREEvision Webinar, 2019 AUTOSAR Ethernet Design and SoA

Upload: others

Post on 25-Feb-2021

46 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

V6.0 | 2019-10-21

PREEvision Webinar, 2019

AUTOSAR Ethernet Design and SoA

Page 2: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

2

u PREEvision at a glance

Service oriented Architectures

Tool Demo

SOA & Ethernet in PREEvision 9.0

Summary

Agenda

Page 3: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

3

PREEvision at a glance

PREEvision at a glance

PREEvision

u PREEvision is the market leading product for architecture design and management.

u PREEvision is the established engineering platform for the series development of distributed embedded systems.

ECU

Wire

Fuse

Sensor

Actuator Service

Software

Signal

Requirement Comm. Design

Page 4: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

4

From a Fragmented Tool Landscape to an Integrated Solution

PREEvision at a glance

u Tool Landscape Approach:Multiple Tools and Interfaces

u Integrated Tool Approach:PREEvision E/E Engineering Environment

Page 5: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

5

Model Based Development

PREEvision at a glance

SW

Arc

hitectu

re

u Domain specific language and data model

u Single source model across all Automotive E/E development Use Cases:→ The model is the Single Point of Truth→ Mappings ensure full traceability→ The model can be analyzed by metrics

u All data objects have a semantic meaning→ Base for various model checks e.g. for

Correctness, Completeness, Consistency

u Automated algorithms for synthetization, scheduling, signal routing, etc.

PowerMirrorCtrl

Type: PowerMirrorCtrl

SwitchMatrix

Type: SwitchMatrix

PowerMirrorPass

Type: PowerMirr...

PowerMirrorDriver

Type: PowerMirr...

PowerManagement

Type: PowerMan...

x+:pm_pass_x+

y+:pm_pass_y+

y-:pm_pass_y-

x-:pm_pass_x-

y+:pm_driv_y+

x+:pm_driv_x+

y-:pm_driv_y-

x-:pm_driv_x-

y:PM_y

x:PM_x

sel:PM_selection

def12:KeyIn

sel:PM_selection

x:PM_x

y:PM_y x+:pm_pass_x+

y+:pm_pass_y+

y-:pm_pass_y-

x-:pm_pass_x-

y+:pm_driv_y+

x+:pm_driv_x+

y-:pm_driv_y-

x-:pm_driv_x-

KeyIn:KeyIn Assembly Net

Assembly Net

Require-

ments

Netw

ork

/HW

Arc

hitectu

reW

irin

g/

Geom

etr

y

Body Ctrl

Driver Door CtrlPass Door Ctrl

Gateway

SwtichMatrix

PassengerMirror DriverMirror

BatMng

-

-

-

-

-

-

-

-

-

DoorLIN:LIN

Ground

PowerSupply

- cv2:4w -KA_Pass Door Ctrl _0

-

-

CANPT:CANC

Logic

al

Arc

hitectu

re

Page 6: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

6

Model Based Development in large groups

PREEvision at a glance

u Multi User – Single Source→ Multiple users work collaboratively, supported by Lock&Commit, Life Cycles, Rights&Role Management and Ticket System

u Multiple projects are handled in one system, supported by Productline Management, Variant Management, etc.

u Import and export with industry standard exchange formats (AUTOSAR, DBC, LDF, FIBEX, RIF, ReqIF, KBL, CSV)

u The model is the Single Point of Truth

Chief Architect

Req-Engineer

FunctionDesigner

SoftwareDesigner

NetworkDesigner

WHEngineer

Page 7: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

7

Supported Use Cases

PREEvision at a glance

E/E Backbone,Collaboration Platform,

File Management

Design of SafetyRelevant Systems

Product LineEngineering

ArchitectureDesign

Requirements Engineering and Requirements Management

AUTOSARSystem and Software

Design

Communication Design(AUTOSAR and Legacy)

Hardware ComponentDevelopment

Function Driven DesignSystem Design

Test Engineering andTest Management

E/E Backbone,Collaboration Platform,

File Management

Variant Managementand

Product Line Engineering

ArchitectureDesign

Requirements Engineering and Requirements Management

AUTOSARSystem, Service and Software

Design

Communication Design(AUTOSAR and Legacy Formats)

Hardware ComponentDevelopment

Function Driven DesignSystem Design

Test Engineering andTest Management

Wiring HarnessDesign

Change and Release Management

Design of SafetyRelevant Systems

Page 8: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

8

The complete Vector AUTOSAR Tool Chain

Basic Software (BSW)

RTE

Application Software Development

PREEvision

DaVinci Developer

SWC Design

vVIRTUALtarget pro

SWC Execution and Test

ECU SW Integration

DaVinci Configurator Pro

vVIRTUALtarget basic

BSW/RTE Configuration

Virtual Integration

Application Software Verification

CANoe & VT System

vVIRTUALtarget pro

SWC Verification in Virtual Environment

SWC Verification within Real ECU

AUTOSAR ECU/System

AUTOSAR ECU/System

AUTOSAR ECU

System Design

PREEvision

CANdelaStudio

Architecture and Communication Design

Diagnostics Design

SWC1 SWC3

SWC2

SWC1 SWC3

SWC2

SWC1 SWC2ECU SW Verification

CANoe.AMD

ECU Monitoring and Debugging

System Verification

CANape

ECU Calibration

CANoe & CANoe.DiVa

Verification of Network Communication and Diagnostic Behavior

PREEvision at a glance

Page 9: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

9

Bottom Line – The PREEvision Assets

PREEvision at a glance

Rich model-based Automotive Data Model.

Professional Engineering Functionality to work with this data model (MBSE).

Collaboration of many users at many sites on one Single Point of Truth.

Product Line Engineering to manage the complexity of many variants.

Customizable → Tailoring to customers process by configuration.

Page 10: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

10

PREEvision at a glance

u Service oriented Architectures

Tool Demo

SOA & Ethernet in PREEvision 9.0

Summary

Agenda

Page 11: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

11

Service oriented Architectures are Enablers …

u … for Connectivity

u Completely new functions by flexible integration of services in the IT backend

u … for Autonomous Driving

u Communication from the vehicle to the IT backend and vice versa

u Creation of precise maps

u Predictive assistents based on precise maps

u Routing for vehicle fleets in the IT backend

u …

u … for SW Update, SW Upgrade and Service

for Vehicles in the Field

u SW update of single services

u SW update and upgrade for vehicles

in the field over the air

u Remote diagnostics

u …

u … for Variant and Building Set Strategies

u SW options can be implemented as services

(base service … premium service)

Service oriented Architectures

Vehicle ECU 13 ECU 15

ECU1

ECU 3

ECU 6

ECU 4

ECU 2

ECU 5

Service Oriented Architecture

Signal Oriented Architecture

ECU7

ECU 9

ECU 12

ECU 10

ECU 8

ECU 11

IT Backend

ECU 14

ETHERNET

Page 12: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

12

Example of a Service Oriented Architecture

Service oriented Architectures

Want to know the weather of my current position!

I know the city code of one specific position

I know the weather for a city code

I can inform you the weather for your position

but I need help…

Service orchestration

Page 13: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

13

Service Interface (2/2)

Service oriented Architectures

A method represents a function that is executed by a provider on request of one or more consumer(s)

An event represents an update to a piece of data. The provider decides when to send this update and the occurrence of it is transmitted from a to one or more consumer(s).

A property (field, attribute) represents a piece of data hosted by a provider that exposes to one or more consumer(s) a get and/or a set method. Consumers can optionally receive notifications of changes of the field’s value.

Method

Service Interface

Event

Property

Page 14: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

15

Service and SOA Design

Service oriented Architectures

u Graphical diagrams to design and understand Service oriented Architectures

u Service Architecture Diagram

u Service Diagram

u Definition of the Service Interface and derivation of the Software Architecture for AUTOSAR Classic

Page 15: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

16

What is a Service?

Service oriented Architectures

Service Participant

3

Service Participant

2

Service Contract

Service Interface

Method

Fire&Forget Method

Property

Event

ServiceProviderPort

ServiceConsumer

Port

SOA Diagram in PREEvision

Page 16: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

17

Software synthesis

Service oriented Architectures

Ad SWC1Ad SWC2

AUTOSAR Adaptive

Cl SWC1Cl SWC2

AUTOSAR Classic

Classic SWC

Client Server Interface

Sender Receiver Interface (F&F with arguments)

Trigger Interface (F&F without arguments)

Client Server Interface (get and set operations)

Sender Receiver Interface (notifier)

Sender Receiver Interface

Adaptive SWC

Adaptive Provided Port

Adaptive Required Port

Page 17: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

18

Manifest

Software/Service Architecture

Implementation of Services

Service oriented Architectures

Service OrientedArchitecture

SWC Instances

AUTOSAR Adaptive

SW Library

AUTOSAR Adaptive

Import

Export

1 2

3b

SWC Instances

AUTOSAR Classic

AUTOSAR Classic

Import

Export

3a

ManifestManifest

Page 18: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

19

SOA Design Workflow (AUTOSAR Classic)

Service oriented Architectures

Software/Service Architecture

Service OrientedArchitecture

SWC Instances

AUTOSAR Classic

SW Library

Page 19: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

20

PREEvision at a glance

Service oriented Architectures

u Tool Demo

SOA & Ethernet in PREEvision 9.0

Summary

Agenda

Page 20: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

21

u Workflow:> Small SoA Design

> Technology mapping to AUTOSAR Classic

> Hardware Architecture

> Software Design – Service instantiation

> Signal Routing

u Based on PREEvision 9.0 SP8> Perspective: “Service and Ethernet Design”

> SoA & Ethernet Explorer

u Content:> Calculator Service with a Method, an Event and a Field

> Ethernet network with three ECU’s (one provider, two consumers)

> Three service instances

SOA and Ethernet in PREEvision - Demo

Tool Demo

Page 21: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

22

PREEvision at a glance

Service oriented Architectures

Tool Demo

u SOA & Ethernet in PREEvision 9.0

Summary

Agenda

Page 22: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

24

Focus SysML – PREEvision as SysML-Tool for Automotive E/E Engineering

SOA & Ethernet in PREEvision 9.0

PREEvision inbuilt logical and physical

layer modelling

Available in PREEvision 9.0

Page 23: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

25

u Model State Machines as „closed system“

Data Interfaces

SOA & Ethernet in PREEvision 9.0

State Machine

EventInterface2Trigger

EventInterface3

Fire Event

DataInterface1

Set Data

DataInterface2Set Data

EventInterface1Trigger

DataInterface2

DataInterface1

Guard

start [DE1 > 2] / resetTimer shutOff/ safeKM

keyOff

acceleratestop

releaseBrake

engageBrake

do / BrakeLightsOn

Page 24: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

26

Data Interfaces

SOA & Ethernet in PREEvision 9.0

State Machine

DataInterface4

DataInterface3

EventInterface2 EventInterface3Trigger

Fire Event

Set Data

Set Data

EventInterface1Trigger

u Connect State Machine to model datathrough

u Event Interfaces

u Datat Interfaces

DataInterface2

DataInterface1

start [DE1 > 2] / resetTimer shutOff/ safeKM

keyOff

acceleratestop

releaseBrake

engageBrake

do / BrakeLightsOn

Guard

Page 25: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

27

Receiving AppSending App

Transformer and End to End Protection

SOA & Ethernet in PREEvision 9.0

Transformer Chain

Transformer 1(SOME/IP)

Transformer 2(E2E)

1.

2.

ECU1 ECU2

Signal S1 Signal S1

Transformer Chain

Transformer 1(SOME/IP)

Transformer 2(E2E)

1.

2.

1 0 1 1 0 1 1

1 0 1 1 0 1 1 1 0 1

1 0 1 1 0 1 1 1 0 1Frame

1 0 1 1 0 1 1 1 0 1

1 0 1 1 0 1 1

Page 26: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

28

End to End Protection and Transformation

SOA & Ethernet in PREEvision 9.0

Comforable Design Explorer

Support for SOME/IP, E2E and generic transformer

Detailed attributes for eachkind of transformer

Build up reusabletransformer chains

Assigning transformer chainsto signals or signal groups

Page 27: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

29

A Simple Network… to be diagnosable

SOA & Ethernet in PREEvision 9.0

T

DUT

DUT

DUT

DUT

DUT

DUT

DUT

DUT

DUT

DUT

DUT

DUTT

T

T

GW

DUT

Page 28: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

30

Transport Protocol and Diagnostics communication

SOA & Ethernet in PREEvision 9.0

1. Find valid diagnosispaths automatically

2. Create uniquepath informationautomatically

3. Result posted toinformation view

4. Manual selectionof ambiguous paths

Comforable Design Explorer

Page 29: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

31

Global Time Synchronization

SOA & Ethernet in PREEvision 9.0

u Relevant Artifacts

u Global Time Domain> And Sub Domains

u Time Master (TM)

u Time Gateway (TG)> Connecting

> Master Domain to

> Sub Domain

u Time Slave (TS)

Global Time Domain

Page 30: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

32

Global Time Synchronization

SOA & Ethernet in PREEvision 9.0

Diagram Configuration + Highlights available

Main Global Time Synchronization Table

Selection specific Artifact Picker

Filtered Model View

Additional tables forartifact details

Comfortable, context-specific editing options

PDU-Synthesis for CAN

Page 31: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

33

PREEvision at a glance

Service oriented Architectures

Tool Demo

SOA & Ethernet in PREEvision 9.0

u Summary

Agenda

Page 32: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

34

Summary – SOA & Ethernet @ PREEvision

Summary

u Service oriented Architectures (SOAs) provide flexible, open and dynamic distributed systems.

u They are enablers for

u Connectivity and Autonomous Driving

u SW Update, SW Upgrade and Vehicle Service in the field

u New Building Set Strategies and Handling of Variants.

u Future E/E Architectures will combine the strengths of Signal Oriented and Service oriented Architectures.

u AUTOSAR Adaptive and AUTOSAR Classic will be deployed in the same vehicle, even in the same ECU.

u PREEvision already supports the introduction of SOAs, the migration to SOAs and their implementation in

u AUTOSAR Classic

u AUTOSAR Adaptive

u Enhanced Ethernet and AUTOSAR capabilities coming with PREEvision 9.0

u AUTOSAR Adaptive

u DoIP & Diagnostic Communication Infrastructure

u Global Time Synchronization

Page 33: AUTOSAR Ethernet Design and SoA - Vector...> Small SoA Design > Technology mapping to AUTOSAR Classic > Hardware Architecture > Software Design –Service instantiation > Signal Routing

35 © 2017. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V6.0 | 2019-10-21

Author:Alexander MayrVector Germany

For more information about Vectorand our products please visit

www.vector.com