Post on 27-Feb-2019
transcript
V5.0 | 2018-11-13
SOA and Ethernet in PREEvision, 2018
Webinar: Service Oriented Architectures & Ethernet
2
u Why Service Oriented Architectures?
PREEvision at a glance
Service Oriented Architectures
SOA & Ethernet in PREEvision 9.0
Summary
Agenda
3
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)
Why 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
4
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
5
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
6
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
7
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
8
Supported Use Cases
PREEvision at a glance
E/E BackboneCollaboration Platform
File Management
Design of SafetyRelevant Systems
Product LineEngineering
ArchitectureDesign
RequirementsEngineering
Wiring HarnessDesign
AUTOSARSystem, Service and Software
Design
Communication Design(AUTOSAR and Legacy Formats)
Hardware ComponentDevelopment
Function-Driven Design
System Design
Test DataManagement
9
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
10
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.
11
Service Oriented System Design Workflow
Service Oriented Architectures
u Service definition and service interface design
u Virtual function bus (derived from service definition)
u Switched topology definition
u Deployment of service provider and service consumer
u Communication design
u VLAN configuration
u Switch configuration
u Socket communication
12
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
13
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
14
Technology Mapping of Services
Service Oriented Architectures
AUTOSAR Adaptive ECU/System
SWC1 SWC3
SWC2Service Provider
Service Consumer
SwitchSerialization/DeserializationEthernet
Service Discovery
TechnologyMapping
TechnologyMapping
Service Participant
3
Service Participant
2
Service Contract
Service Interface
Method
Fire&Forget Method
Property
Event
ServiceProviderPort
ServiceConsumer
PortTechnologyMapping
Receiver,Sender,Server,Client Ports
AUTOSAR Classic ECU/System
SWC1 SWC3
SWC2
SwitchSerialization/DeserializationEthernet
Service Discovery
Sender,Receiver,Client,Server Ports
TechnologyMapping
15
Service Interface and Technology Mapping to AUTOSAR Classic
Service Oriented Architectures
Application SW Component (Service Provider)
Client Server Interface
Sender Receiver Interface
Client Server Interfacewith GET_ and SET_ operation
Sender Receiver Interfacechange notification
Sender Receiver Interface
1: Fire and Forget Method = Method without return
2: Property = Field = Attribute
Service Interface
Methods
F&F Methods 1
Properties 2
Events
Event Groups
Service Participant
3
Service Participant
2
Service Contract
Service Interface
Method
Fire&Forget Method
Property
Event
ServiceProviderPort
ServiceConsumer
PortTechnologyMapping
AUTOSAR Classic ECU/System
SWC1 SWC3
SWC2
SwitchSerialization/DeserializationEthernet
Service Discovery
TechnologyMapping
16
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
17
SOA Design Workflow
Service Oriented Architectures
Software/Service Architecture
Service OrientedArchitecture
SWC Instances
AUTOSAR Classic
SW Library
18
SOA & Ethernet Design in PREEvision
Service Oriented Architectures
u PREEvision supports service oriented system and Ethernet design with dedicated editors
u PREEvision comes along with a guided design workflow
u Detailed presentation: Webinar 25th of June 2018https://www.vector.com/int/en/events/global-de-en/webinar-recordings/2018/preevision-automotive-ethernet-design/
19
Why Service Oriented Architectures?
PREEvision at a glance
Service Oriented Architectures
u SOA & Ethernet in PREEvision 9.0
Summary
Agenda
20
AUTOSAR Adaptive Workflow in PREEvision
SOA & Ethernet in PREEvision 9.0
Detailed Webinar available:https://www.vector.com/int/en/events/global-de-en/webinar-recordings/2018/1541493372-preevision-autosar-adaptive/
21
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
22
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
23
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
24
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
25
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
26
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
27
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
28
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
29
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
30
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
31 © 2017. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V5.0 | 2018-11-13
Author:Dr.-Ing. Daniel GebauerVector Germany
For more information about Vectorand our products please visit
www.vector.com