SlideShare une entreprise Scribd logo
1  sur  21
Télécharger pour lire hors ligne
Signal-Oriented ECUs in a Centralized Service-Oriented Architecture:
Scalability of the Layered Software Architecture
Automotive Ethernet Congress 2022, Volvo SoA
2022-06-01
Hoai Hoang BENGTSSON & Martin HILLER
Volvo Cars Sweden
Jörn MIGGE
RealTime-at-Work (RTaW)
Nicolas NAVET
Uni. Luxembourg & Cognifyer
Agenda
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
Introduction of SOA architecture –
Challenges
Service interface communication model
Modelling of the system
Performance evaluation
Conclusion
2
Introduction of SOA in next
generation architecture
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA 3
Centralized E/E Architecture with Ethernet Backbone
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
Ethernet
CAN/CAN FD
Lin
Sensors
and
actuators
VCU
IHU
VIU Right
ADPM
VIU Left
Low Power
Controller
ECU
VIU Front
An ECU in the Mechatronic Rim is highly specialised for
controlling its specific device. For example: engine,
transmission, brakes, steering, doors, windows, seats, ...
The VCU coordinates fundamental capabilities in the Mechatronic Rim
to provide vehicle level behavior. For example: vehicle dynamics,
propulsion control, climate control, exterior lighting, interior lighting, ...
A VIU provides a translation from the specific
network interfaces of the nodes in the Mechatronic
Rim to the Core Network. Think ”Gateway”...
VCU: Vehicle Computation Unit
VIU: Vehicle Integration Unit
ADMP: Autonomous Driving Primary Module
IHU: Infotainment Head Unit
4
SW Layering Architecture
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
ECU
ECU
ECU
Functional interface: Accessing the (payload) functionality provided by a device.
Device: One or more ECUs, sensor or actuator in the Mechatronic Rim which are connected to the Core System as one unit.
ECU
Sensor /
Actuator
ECU
VCU
VIU
Administrative interface: Accessing diagnostics, software download, network management, and power management.
CAN
LIN
Ethernet
Integration Layer
Integration Interface
Frames
Application Layer
Signals
Service
5
VCU
VIU
Device proxy
Devices and proxies and services, Oh my...
Automotive Ethernet Congress 2022, Volvo SoA
Service
Functionality
Serializer/
Deserializer
Packing/Unpacking
Device
V1 V2
Device PDU D1 D2
UDP packet Device PDU D1 D2
Device frame D1 D2
v1 v2
D1 D2
UDP packet
V3 V4
D3 D4
v3 v4
Device PDU D3 D4
Device PDU D3 D4
Device frame D3 D4
D3 D4
Service
Functionality
Serializer/
Deserializer
Service
Functionality
Serializer/
Deserializer
Service
Software
Download
Serializer/
Deserializer
Service
Network Mgmt
Serializer/
Deserializer
Service
Diagnostics
Serializer/
Deserializer
Function Foo Function Bar
Core System values
Device-level data items
Device-level PDUs
(grouping of device-level
data items into device-
defined groups)
UDP packet containing
device-level PDUs
Device-specific frames
containing device-level
data items
Device-level data items
Device-level values
D1 D2
2022-06-01 6
Layering Architecture Concept - Challenges
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
Device
Proxy
Device Abstraction Layer (DAL)
Service Service Service
Service
App App
App
Device Device Device
Device
Proxy
Device
Proxy
VCU
How to efficiently transform signals to services? What
are suitable services that a device can provide?
What communication model is suitable for our
architecture choice?
How the design choices affect the system performance?
7
Service interface
communication model
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
Timing chains from sensor to actuator
comprise several successive
“segments” : data transmission and
functions execution
8
Where do end-to-end delays come from ?
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
1. Delays come from processors and network loads
→ f (frequencies, transmission and execution times)
2. Burstiness of the load
3. Waiting times between successive tasks and
messages of a timing chain → our focus
Periodic activations reduce loads!
✓ Several signals into same frame
✓ Periodic tasks and “Publisher-
Subscribers” services → execution
rate under control
Event-Triggered (ET) activations reduce latencies!
✓ No waiting times between segments of a
timing chain
✓ Apps call services whenever needed and get
responses asap (ODS: “On-Demand Service” next)
9
Choice of activation model at several levels
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
App App App App
HAL HAL
DP1
HAL
DPn
DPm
DP2
SDB
VIU
ECU ECU ECU
VCU
Publisher-Subscriber model (subscribers are
updated e.g. periodically by server) or Client-
Server model (ODS) ?
CAN / T1S
ETH Periodic (“snapshots”) or ET transmission
when CAN frame arrives at VIU ?
Periodic or ET transmission on signal’s
update?
Device Proxy executed periodically or
triggered by ETH packet ?
Service Interface
Updating signal database
Forwarding on ETH
Transmission on CAN
10
✓ Service level: publisher-
subscriber model (“PubSub”)
with periodic events
✓ Task execution + CAN and
ETH frames are periodic
Design options compared next
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
Fully periodic
model
Fully event-
triggered model
Mixed
model
✓ Service level: ODS
✓ CAN frame arriving at a VIU
triggers ETH packet
✓ Signal production triggers
CAN frame
✓ Periodic model for non-
time-critical timing chains
✓ Event-triggered model for
time-critical timing chains
Metric for performance
evaluation : max # of
timing chains supported
Simplifications:
− Safety constraints are not discussed
− PDUs are kept out of the picture as far as possible
11
System Model & Performance
evaluation
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA 12
System Model :
network
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
3 Zone Controllers
45 ECUs on 9 CAN FD / T1S buses
Links
Speed
ETH: 1Gbps
CAN FD: 2Mbps or
T1S: 10Mbps
Sampling
Period
10ms and 50ms
Timing
Chains
End-to-end
deadlines set to 4x
(25%) or 10x
sampling period
Central Computer with 2 cores for
Apps, 1 for Device Proxy and 1
for Service
[RTaW-Pegase screenshot]
✓ Modelling and simulation with
RTaW-Pegase / SDV
13
System model : flows of data between functions
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
ECU D. proxy Service Apps
- Excerpt of the
functional architecture
with a timing chain
highlighted
- Apps are subscribed
to several services and
thus participate in
several timing chains
Executable
Data exchange
Segment of
the timing chain
selected
[RTaW-Pegase
/
SDV
screenshot]
14
Step Activation Mechanism Max. Waiting Times
Sensor Task Periodic tasks none
CAN Periodic frames frame period
Ethernet Buffered PDUs buffering timeout
Device Proxy Periodic task period
Service Service event (PubSub) period
Application Periodic tasks period
Service Service method call (ODS) none
Device Proxy Periodic tasks period
Ethernet Buffered PDUs buffering timeout
CAN PDU triggers CAN frame none
Actuator Task Periodic tasks period
Breakdown of an end-to-end delay: periodic + PubSub service
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
Sensor Task Application Actuator Task
Lots of waiting times
between successive
segments !
15
Breakdown of an End-to-end Delay: periodic + PubSub service
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
End-to-End delays
Delays of a timing chain’s segments
Periodic activations may be a solution only if the
end-to-end latency constraints are several/many
times larger than the sampling periods
[RTaW-Pegase screenshots]
4x or 10x
sampling period
16
Step Activation Mechanism Max. Waiting Times Detrimental impact of triggering
Sensor Task Periodic tasks none
CAN Signals trigger CAN frame none higher bus and CPU loads
Ethernet CAN frame trigger ETH frames none higher links and CPU loads
DP Periodic tasks period
Service Service Method call (ODS) period higher load and larger response times
App Periodic tasks none
Service Service Method call none
DP Periodic tasks period
Ethernet PDUs trigger frames none higher links loads
CAN PDU triggers CAN frame none higher bus loads
Actuator
Task
Periodic tasks period
Event Triggered (ET) activation + ODS for critical chains
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
Improvements in terms of waiting times
17
Periodic + PubSub versus ET + ODS
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
Waiting times disappear with
triggered activations and on-
demand service requests …
at the expense of CPU and
network load
Periodic Triggered
Periodic
Triggered
[RTaW-Pegase screenshots]
18
Mixed model is the best option in our case-study
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
- Periodic + PubSub for non-critical chains
(75%, D=10x sampling period)
- ET + ODS for critical chains
(25%, D=4x sampling period)
ET + ODS for all timing chains
# of executables
Each executable involved in 6.5 timing chains on avg
100 100
90
80
48
32
8
0 0 0 0 0 0 0
100 100 100 100
98
94
78
64
58
46
36
22
2
0
50 60 70 80 90 100 110 120 130 140 150 160 170 180
Probability to meet timing
& load constraints when
the # of executables
increases (CAN FD setup)
− Fully periodic model not shown here
as unable to meet timing constraints
− Load, not timing, is the limiting factor
for ET+ODS model
− T1S outperforms CAN FD here but
dependent on setup and parameters
19
Takeaways
2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA
ET activation creates coupling
between segments as
jitters/bursts are propagated →
unwanted coupling between sub-
networks, between network and
SW development!
Presented technical solutions explored
by Volvo to integrate signal-based
ECUs in a zone-based SOA
Choice of activation patterns
is key to meeting load and
timing requirements: mix of
both periodic and ET offers
best solution → automation
through DSE algorithms
Local jitter-reduction shaping
strategies may allow to
preserve independence
Time between
forwarding CAN frames
with/wo jitter reduction
(Davis & Navet, 2012) 20
Thank you for your attention!

Contenu connexe

Tendances

Adaptive AUTOSAR - The New AUTOSAR Architecture
Adaptive AUTOSAR - The New AUTOSAR ArchitectureAdaptive AUTOSAR - The New AUTOSAR Architecture
Adaptive AUTOSAR - The New AUTOSAR Architecture
AdaCore
 
MISRA Safety Case Guidelines -
MISRA Safety Case Guidelines - MISRA Safety Case Guidelines -
MISRA Safety Case Guidelines -
Automotive IQ
 

Tendances (20)

ISO 26262: Automotive Functional Safety
ISO 26262: Automotive Functional SafetyISO 26262: Automotive Functional Safety
ISO 26262: Automotive Functional Safety
 
Frequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR ServicesFrequently Asked Questions on AUTOSAR Services
Frequently Asked Questions on AUTOSAR Services
 
Communication stack
Communication stackCommunication stack
Communication stack
 
UDS Protocol Stack | Manual Guide | Fact Sheet
UDS Protocol Stack | Manual Guide | Fact SheetUDS Protocol Stack | Manual Guide | Fact Sheet
UDS Protocol Stack | Manual Guide | Fact Sheet
 
AUToSAR introduction
AUToSAR introductionAUToSAR introduction
AUToSAR introduction
 
Review of QNX
Review of QNXReview of QNX
Review of QNX
 
SEooC ISO 26262 | What is Safety Element Out of Context in Automotive Functio...
SEooC ISO 26262 | What is Safety Element Out of Context in Automotive Functio...SEooC ISO 26262 | What is Safety Element Out of Context in Automotive Functio...
SEooC ISO 26262 | What is Safety Element Out of Context in Automotive Functio...
 
Autosar fundamental
Autosar fundamentalAutosar fundamental
Autosar fundamental
 
Automative basics v3
Automative basics v3Automative basics v3
Automative basics v3
 
Autosar basics by ARCCORE
Autosar basics by ARCCOREAutosar basics by ARCCORE
Autosar basics by ARCCORE
 
Iso26262 component reuse_webinar
Iso26262 component reuse_webinarIso26262 component reuse_webinar
Iso26262 component reuse_webinar
 
What is IVI (In Vehicle Infotainment)?
What is IVI (In Vehicle Infotainment)?What is IVI (In Vehicle Infotainment)?
What is IVI (In Vehicle Infotainment)?
 
Time-Predictable Communication in Service-Oriented Architecture - What are th...
Time-Predictable Communication in Service-Oriented Architecture - What are th...Time-Predictable Communication in Service-Oriented Architecture - What are th...
Time-Predictable Communication in Service-Oriented Architecture - What are th...
 
Automotive SPICE® 3.0 - What is new and what has changed?
Automotive SPICE® 3.0 - What is new and what has changed?Automotive SPICE® 3.0 - What is new and what has changed?
Automotive SPICE® 3.0 - What is new and what has changed?
 
Adaptive AUTOSAR - The New AUTOSAR Architecture
Adaptive AUTOSAR - The New AUTOSAR ArchitectureAdaptive AUTOSAR - The New AUTOSAR Architecture
Adaptive AUTOSAR - The New AUTOSAR Architecture
 
Achieve iso 26262 certification
Achieve iso 26262 certificationAchieve iso 26262 certification
Achieve iso 26262 certification
 
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity Engineering
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity EngineeringISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity Engineering
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity Engineering
 
MISRA Safety Case Guidelines -
MISRA Safety Case Guidelines - MISRA Safety Case Guidelines -
MISRA Safety Case Guidelines -
 
Fast Boot Times with InsydeH2O
Fast Boot Times with InsydeH2OFast Boot Times with InsydeH2O
Fast Boot Times with InsydeH2O
 
QNX Software Systems
QNX Software SystemsQNX Software Systems
QNX Software Systems
 

Similaire à Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalability of the Layered Software Architecture

migrating your dcs system to plantpax-phpapp01
migrating your dcs system to plantpax-phpapp01migrating your dcs system to plantpax-phpapp01
migrating your dcs system to plantpax-phpapp01
Shashi Ranjan Singh
 
An OSGi Environment for FlexibleService Concepts - Detlef Kuck, Teamleader Te...
An OSGi Environment for FlexibleService Concepts - Detlef Kuck, Teamleader Te...An OSGi Environment for FlexibleService Concepts - Detlef Kuck, Teamleader Te...
An OSGi Environment for FlexibleService Concepts - Detlef Kuck, Teamleader Te...
mfrancis
 
Advanced motion controls servo drive catalog
Advanced motion controls servo drive catalogAdvanced motion controls servo drive catalog
Advanced motion controls servo drive catalog
Electromate
 

Similaire à Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalability of the Layered Software Architecture (20)

Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture DesignTowards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
 
In Automotive Environments - HU Michel
In Automotive Environments - HU MichelIn Automotive Environments - HU Michel
In Automotive Environments - HU Michel
 
QoS-Predictable SOA on TSN: Insights from a Case-Study
QoS-Predictable SOA on TSN: Insights from a Case-StudyQoS-Predictable SOA on TSN: Insights from a Case-Study
QoS-Predictable SOA on TSN: Insights from a Case-Study
 
System integration in offshore supply vessels – how we applied DDS and redefi...
System integration in offshore supply vessels – how we applied DDS and redefi...System integration in offshore supply vessels – how we applied DDS and redefi...
System integration in offshore supply vessels – how we applied DDS and redefi...
 
migrating your dcs system to plantpax-phpapp01
migrating your dcs system to plantpax-phpapp01migrating your dcs system to plantpax-phpapp01
migrating your dcs system to plantpax-phpapp01
 
Colt SD-WAN experience learnings and future plans
Colt SD-WAN experience learnings and future plansColt SD-WAN experience learnings and future plans
Colt SD-WAN experience learnings and future plans
 
Early-stage Bottleneck Identification and Removal in TSN Networks
Early-stage Bottleneck Identification and Removal in TSN NetworksEarly-stage Bottleneck Identification and Removal in TSN Networks
Early-stage Bottleneck Identification and Removal in TSN Networks
 
Spansion Traveo Automotive Microcontroller Family
Spansion Traveo Automotive Microcontroller FamilySpansion Traveo Automotive Microcontroller Family
Spansion Traveo Automotive Microcontroller Family
 
I vantaggi di un’infrastruttura unica nell’erogazione dei servizi IT networke...
I vantaggi di un’infrastruttura unica nell’erogazione dei servizi IT networke...I vantaggi di un’infrastruttura unica nell’erogazione dei servizi IT networke...
I vantaggi di un’infrastruttura unica nell’erogazione dei servizi IT networke...
 
[Advantech] ADAM-3600 training kit and Taglink
[Advantech]  ADAM-3600 training kit and Taglink[Advantech]  ADAM-3600 training kit and Taglink
[Advantech] ADAM-3600 training kit and Taglink
 
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
 
An OSGi Environment for FlexibleService Concepts - Detlef Kuck, Teamleader Te...
An OSGi Environment for FlexibleService Concepts - Detlef Kuck, Teamleader Te...An OSGi Environment for FlexibleService Concepts - Detlef Kuck, Teamleader Te...
An OSGi Environment for FlexibleService Concepts - Detlef Kuck, Teamleader Te...
 
Building the SD-Branch using uCPE
Building the SD-Branch using uCPEBuilding the SD-Branch using uCPE
Building the SD-Branch using uCPE
 
Advanced motion controls servo drive catalog
Advanced motion controls servo drive catalogAdvanced motion controls servo drive catalog
Advanced motion controls servo drive catalog
 
Vehicle to vehicle communication in COM2REACT (Alberto Los Santos)
Vehicle to vehicle communication in COM2REACT (Alberto Los Santos)Vehicle to vehicle communication in COM2REACT (Alberto Los Santos)
Vehicle to vehicle communication in COM2REACT (Alberto Los Santos)
 
#VMUGMTL - Radware Breakout
#VMUGMTL - Radware Breakout#VMUGMTL - Radware Breakout
#VMUGMTL - Radware Breakout
 
Overview xs en
Overview xs enOverview xs en
Overview xs en
 
Technology, Business and Regulation of the Connected Car
Technology, Business and Regulation of the Connected CarTechnology, Business and Regulation of the Connected Car
Technology, Business and Regulation of the Connected Car
 
X-Haul: towards an integrated 5G transport network architecture
X-Haul: towards an integrated 5G transport network architectureX-Haul: towards an integrated 5G transport network architecture
X-Haul: towards an integrated 5G transport network architecture
 
Implementation and Validation of SAE J1850 (VPW) Protocol Solution for Diagno...
Implementation and Validation of SAE J1850 (VPW) Protocol Solution for Diagno...Implementation and Validation of SAE J1850 (VPW) Protocol Solution for Diagno...
Implementation and Validation of SAE J1850 (VPW) Protocol Solution for Diagno...
 

Plus de RealTime-at-Work (RTaW)

Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
RealTime-at-Work (RTaW)
 
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
RealTime-at-Work (RTaW)
 
Multicore scheduling in automotive ECUs
Multicore scheduling in automotive ECUsMulticore scheduling in automotive ECUs
Multicore scheduling in automotive ECUs
RealTime-at-Work (RTaW)
 

Plus de RealTime-at-Work (RTaW) (20)

What are the relevant differences between Asynchronous (ATS) and Credit Based...
What are the relevant differences between Asynchronous (ATS) and Credit Based...What are the relevant differences between Asynchronous (ATS) and Credit Based...
What are the relevant differences between Asynchronous (ATS) and Credit Based...
 
TSN Timing QoS Mechanisms: What Did We Learn over the Past 10 Years?
TSN Timing QoS Mechanisms: What Did We Learn over the Past 10 Years?TSN Timing QoS Mechanisms: What Did We Learn over the Past 10 Years?
TSN Timing QoS Mechanisms: What Did We Learn over the Past 10 Years?
 
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-StudyDo We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
Do We Really Need TSN in Next-Generation Helicopters? Insights From a Case-Study
 
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...Simulation-Based Fault Injection as a Verification Oracle for the Engineering...
Simulation-Based Fault Injection as a Verification Oracle for the Engineering...
 
Practical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet RedundancyPractical Use Cases for Ethernet Redundancy
Practical Use Cases for Ethernet Redundancy
 
Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...Early-stage topological and technological choices for TSN-based communication...
Early-stage topological and technological choices for TSN-based communication...
 
Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...Insights into the performance and configuration of TCP in Automotive Ethernet...
Insights into the performance and configuration of TCP in Automotive Ethernet...
 
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
Insights on the Performance and Configuration of AVB and TSN in Automotive Ap...
 
Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...Timing verification of real-time automotive Ethernet networks: what can we ex...
Timing verification of real-time automotive Ethernet networks: what can we ex...
 
Insights on the Configuration and Performances of SOME/IP Service Discovery
Insights on the Configuration and Performances of SOME/IP Service DiscoveryInsights on the Configuration and Performances of SOME/IP Service Discovery
Insights on the Configuration and Performances of SOME/IP Service Discovery
 
Timing verification of automotive communication architecture using quantile ...
Timing verification of automotive communication  architecture using quantile ...Timing verification of automotive communication  architecture using quantile ...
Timing verification of automotive communication architecture using quantile ...
 
CAN in Automotive Applications: a Look Forward
CAN in Automotive Applications: a Look ForwardCAN in Automotive Applications: a Look Forward
CAN in Automotive Applications: a Look Forward
 
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...PEGASE – a robust and efficient tool for worst-case network traversal time ev...
PEGASE – a robust and efficient tool for worst-case network traversal time ev...
 
Automotive communication systems: from dependability to security
Automotive communication systems: from dependability to securityAutomotive communication systems: from dependability to security
Automotive communication systems: from dependability to security
 
What fUML can bring to MBSE?
What fUML can bring to MBSE?What fUML can bring to MBSE?
What fUML can bring to MBSE?
 
Multicore scheduling in automotive ECUs
Multicore scheduling in automotive ECUsMulticore scheduling in automotive ECUs
Multicore scheduling in automotive ECUs
 
Frame latency evaluation: when simulation and analysis alone are not enough
Frame latency evaluation: when simulation and analysis alone are not enoughFrame latency evaluation: when simulation and analysis alone are not enough
Frame latency evaluation: when simulation and analysis alone are not enough
 
Virtualization in Automotive Embedded Systems: an Outlook
Virtualization in Automotive Embedded Systems: an OutlookVirtualization in Automotive Embedded Systems: an Outlook
Virtualization in Automotive Embedded Systems: an Outlook
 
Prototypage virtuel à partir de SysML
Prototypage virtuel à partir de SysMLPrototypage virtuel à partir de SysML
Prototypage virtuel à partir de SysML
 
In‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look ForwardIn‐Vehicle Networking: a Survey and Look Forward
In‐Vehicle Networking: a Survey and Look Forward
 

Dernier

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Dernier (20)

(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 

Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalability of the Layered Software Architecture

  • 1. Signal-Oriented ECUs in a Centralized Service-Oriented Architecture: Scalability of the Layered Software Architecture Automotive Ethernet Congress 2022, Volvo SoA 2022-06-01 Hoai Hoang BENGTSSON & Martin HILLER Volvo Cars Sweden Jörn MIGGE RealTime-at-Work (RTaW) Nicolas NAVET Uni. Luxembourg & Cognifyer
  • 2. Agenda 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA Introduction of SOA architecture – Challenges Service interface communication model Modelling of the system Performance evaluation Conclusion 2
  • 3. Introduction of SOA in next generation architecture 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA 3
  • 4. Centralized E/E Architecture with Ethernet Backbone 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA Ethernet CAN/CAN FD Lin Sensors and actuators VCU IHU VIU Right ADPM VIU Left Low Power Controller ECU VIU Front An ECU in the Mechatronic Rim is highly specialised for controlling its specific device. For example: engine, transmission, brakes, steering, doors, windows, seats, ... The VCU coordinates fundamental capabilities in the Mechatronic Rim to provide vehicle level behavior. For example: vehicle dynamics, propulsion control, climate control, exterior lighting, interior lighting, ... A VIU provides a translation from the specific network interfaces of the nodes in the Mechatronic Rim to the Core Network. Think ”Gateway”... VCU: Vehicle Computation Unit VIU: Vehicle Integration Unit ADMP: Autonomous Driving Primary Module IHU: Infotainment Head Unit 4
  • 5. SW Layering Architecture 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA ECU ECU ECU Functional interface: Accessing the (payload) functionality provided by a device. Device: One or more ECUs, sensor or actuator in the Mechatronic Rim which are connected to the Core System as one unit. ECU Sensor / Actuator ECU VCU VIU Administrative interface: Accessing diagnostics, software download, network management, and power management. CAN LIN Ethernet Integration Layer Integration Interface Frames Application Layer Signals Service 5
  • 6. VCU VIU Device proxy Devices and proxies and services, Oh my... Automotive Ethernet Congress 2022, Volvo SoA Service Functionality Serializer/ Deserializer Packing/Unpacking Device V1 V2 Device PDU D1 D2 UDP packet Device PDU D1 D2 Device frame D1 D2 v1 v2 D1 D2 UDP packet V3 V4 D3 D4 v3 v4 Device PDU D3 D4 Device PDU D3 D4 Device frame D3 D4 D3 D4 Service Functionality Serializer/ Deserializer Service Functionality Serializer/ Deserializer Service Software Download Serializer/ Deserializer Service Network Mgmt Serializer/ Deserializer Service Diagnostics Serializer/ Deserializer Function Foo Function Bar Core System values Device-level data items Device-level PDUs (grouping of device-level data items into device- defined groups) UDP packet containing device-level PDUs Device-specific frames containing device-level data items Device-level data items Device-level values D1 D2 2022-06-01 6
  • 7. Layering Architecture Concept - Challenges 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA Device Proxy Device Abstraction Layer (DAL) Service Service Service Service App App App Device Device Device Device Proxy Device Proxy VCU How to efficiently transform signals to services? What are suitable services that a device can provide? What communication model is suitable for our architecture choice? How the design choices affect the system performance? 7
  • 8. Service interface communication model 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA Timing chains from sensor to actuator comprise several successive “segments” : data transmission and functions execution 8
  • 9. Where do end-to-end delays come from ? 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA 1. Delays come from processors and network loads → f (frequencies, transmission and execution times) 2. Burstiness of the load 3. Waiting times between successive tasks and messages of a timing chain → our focus Periodic activations reduce loads! ✓ Several signals into same frame ✓ Periodic tasks and “Publisher- Subscribers” services → execution rate under control Event-Triggered (ET) activations reduce latencies! ✓ No waiting times between segments of a timing chain ✓ Apps call services whenever needed and get responses asap (ODS: “On-Demand Service” next) 9
  • 10. Choice of activation model at several levels 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA App App App App HAL HAL DP1 HAL DPn DPm DP2 SDB VIU ECU ECU ECU VCU Publisher-Subscriber model (subscribers are updated e.g. periodically by server) or Client- Server model (ODS) ? CAN / T1S ETH Periodic (“snapshots”) or ET transmission when CAN frame arrives at VIU ? Periodic or ET transmission on signal’s update? Device Proxy executed periodically or triggered by ETH packet ? Service Interface Updating signal database Forwarding on ETH Transmission on CAN 10
  • 11. ✓ Service level: publisher- subscriber model (“PubSub”) with periodic events ✓ Task execution + CAN and ETH frames are periodic Design options compared next 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA Fully periodic model Fully event- triggered model Mixed model ✓ Service level: ODS ✓ CAN frame arriving at a VIU triggers ETH packet ✓ Signal production triggers CAN frame ✓ Periodic model for non- time-critical timing chains ✓ Event-triggered model for time-critical timing chains Metric for performance evaluation : max # of timing chains supported Simplifications: − Safety constraints are not discussed − PDUs are kept out of the picture as far as possible 11
  • 12. System Model & Performance evaluation 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA 12
  • 13. System Model : network 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA 3 Zone Controllers 45 ECUs on 9 CAN FD / T1S buses Links Speed ETH: 1Gbps CAN FD: 2Mbps or T1S: 10Mbps Sampling Period 10ms and 50ms Timing Chains End-to-end deadlines set to 4x (25%) or 10x sampling period Central Computer with 2 cores for Apps, 1 for Device Proxy and 1 for Service [RTaW-Pegase screenshot] ✓ Modelling and simulation with RTaW-Pegase / SDV 13
  • 14. System model : flows of data between functions 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA ECU D. proxy Service Apps - Excerpt of the functional architecture with a timing chain highlighted - Apps are subscribed to several services and thus participate in several timing chains Executable Data exchange Segment of the timing chain selected [RTaW-Pegase / SDV screenshot] 14
  • 15. Step Activation Mechanism Max. Waiting Times Sensor Task Periodic tasks none CAN Periodic frames frame period Ethernet Buffered PDUs buffering timeout Device Proxy Periodic task period Service Service event (PubSub) period Application Periodic tasks period Service Service method call (ODS) none Device Proxy Periodic tasks period Ethernet Buffered PDUs buffering timeout CAN PDU triggers CAN frame none Actuator Task Periodic tasks period Breakdown of an end-to-end delay: periodic + PubSub service 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA Sensor Task Application Actuator Task Lots of waiting times between successive segments ! 15
  • 16. Breakdown of an End-to-end Delay: periodic + PubSub service 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA End-to-End delays Delays of a timing chain’s segments Periodic activations may be a solution only if the end-to-end latency constraints are several/many times larger than the sampling periods [RTaW-Pegase screenshots] 4x or 10x sampling period 16
  • 17. Step Activation Mechanism Max. Waiting Times Detrimental impact of triggering Sensor Task Periodic tasks none CAN Signals trigger CAN frame none higher bus and CPU loads Ethernet CAN frame trigger ETH frames none higher links and CPU loads DP Periodic tasks period Service Service Method call (ODS) period higher load and larger response times App Periodic tasks none Service Service Method call none DP Periodic tasks period Ethernet PDUs trigger frames none higher links loads CAN PDU triggers CAN frame none higher bus loads Actuator Task Periodic tasks period Event Triggered (ET) activation + ODS for critical chains 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA Improvements in terms of waiting times 17
  • 18. Periodic + PubSub versus ET + ODS 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA Waiting times disappear with triggered activations and on- demand service requests … at the expense of CPU and network load Periodic Triggered Periodic Triggered [RTaW-Pegase screenshots] 18
  • 19. Mixed model is the best option in our case-study 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA - Periodic + PubSub for non-critical chains (75%, D=10x sampling period) - ET + ODS for critical chains (25%, D=4x sampling period) ET + ODS for all timing chains # of executables Each executable involved in 6.5 timing chains on avg 100 100 90 80 48 32 8 0 0 0 0 0 0 0 100 100 100 100 98 94 78 64 58 46 36 22 2 0 50 60 70 80 90 100 110 120 130 140 150 160 170 180 Probability to meet timing & load constraints when the # of executables increases (CAN FD setup) − Fully periodic model not shown here as unable to meet timing constraints − Load, not timing, is the limiting factor for ET+ODS model − T1S outperforms CAN FD here but dependent on setup and parameters 19
  • 20. Takeaways 2022-06-01 Automotive Ethernet Congress 2022, Volvo SoA ET activation creates coupling between segments as jitters/bursts are propagated → unwanted coupling between sub- networks, between network and SW development! Presented technical solutions explored by Volvo to integrate signal-based ECUs in a zone-based SOA Choice of activation patterns is key to meeting load and timing requirements: mix of both periodic and ET offers best solution → automation through DSE algorithms Local jitter-reduction shaping strategies may allow to preserve independence Time between forwarding CAN frames with/wo jitter reduction (Davis & Navet, 2012) 20
  • 21. Thank you for your attention!