2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

24
2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK A FRAMEWORK TO VIRTUALLY VALIDATE QUALITY OF SERVICE CONTRACTS IN ETHERNET-BASED VEHICLE DATA INFRASTRUCTURES FOR AUTOMOTIVE CYBER-PHYSICAL SYSTEMS RICARDO GONZALEZ DE OLIVEIRA INDRASEN RAGHUPATRUNI DAMON MARTINI ACHIM HENKEL

Transcript of 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Page 1: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

A FRAMEWORK TO VIRTUALLY VALIDATE QUALITY OF SERVICE CONTRACTS IN ETHERNET-BASEDVEHICLE DATA INFRASTRUCTURES FORAUTOMOTIVE CYBER-PHYSICAL SYSTEMS

RICARDO GONZALEZ DE OLIVEIRA INDRASEN RAGHUPATRUNIDAMON MARTINIACHIM HENKEL

Page 2: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Agenda

2

1. Introduction

2. Quality of Services

3. Framework to virtually validate Quality of Service contracts

4. Use Case: Autonomous Emergency Braking (AEB)

5. Conclusion

6. References

Page 3: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

INTRODUCTION

Page 4: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

E/E Architecture (R)evolution. Trends in the Automotive Industry Introduction

4

Today: Increasing system complexity & number of functions due to several new features introduced to the automotive market.

ConnectedInfotainment

High AutonomousDriving Functions

Cross-domainZone architectureVehicle ComputerService Oriented

Architecture

Tomorrow: New solutions for the E/E architecture will appear to handle the new features, reducing the complexity and costs.

AutomotiveEthernet

Page 5: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

5

IntroductionChallenges in Automotive Cyber-Physical Systems (CPS)Automotive CPS design requires co-engineering between multi-domain fields of expertise, where many system properties can effect more than one discipline.[1]

The cross-cutting concerns (CCC) between the domains is not always clearly defined, challenging the automotive industry in effectively handling the upcoming trends.

Automotive CPS interactions

control

mechanicalsoftware

network

Page 6: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Closing the gaps using Design ContractsIntroduction

6

The usage of “design contracts” can bridge the gap between the discipline interfaces enhancing the system design by giving a clear view of the interactions and collaborations. [1]

The design contract defines an agreement on certain system properties, being the central point for inter-domain exchange and negotiation. [1]

control

mechanicalsoftware

network contractcontract

contract contract

Automotive CPS interactions with Contracts

Page 7: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Closing the gaps using Design ContractsIntroduction

7

The usage of “design contracts” can bridge the gap between the discipline interfaces enhancing the system design by giving a clear view of the interactions and collaborations. [1]

The design contract defines an agreement on certain system properties, being the central point for inter-domain exchange and negotiation. [1]

control

mechanicalsoftware

network contract

contract

Automotive CPS interactions with Contracts

An example of design contract could be the timing agreements between the controls design and the runtime environment (software and network).

Timingcontract

Timingcontract

Page 8: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

QUALITY OF SERVICES

Page 9: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Contracts for In-Vehicle Communication NetworksQuality of Service (QoS)

9

“Quality of Service (QoS) is a measure of the ability of network and computing systems to provide different levels of services to selected applications and associated network flows.” [2]

Quality of Service and corresponding contracts:

Worst case latency in end-to-end messaging delivery from the source to the destination

Delivery Guarantee /Loss Ratio Reliable transmission with an upper bound for packet losses

Delay Variation Jitter for cycle, event, and time triggered transmissionDelivery sequence of stream of data and/or the ability to re-orderData and source authenticityData correctness

Ordered deliveryAuthenticityData integrity

Bounded latency

QoS Contract

The QoS is composed by Inter-ECU-Communication and Intra-ECU-Communication, where the non-functional requirements (timing) are a composition of their interactions.

Page 10: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

FRAMEWORK TO VIRTUALLY VALIDATE QoS CONTRACTS

Page 11: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

X-Domain SimulationFramework to Virtually Validate QoS Contracts

11

Simulation Requirements

Validate Net. Timing Contracts Validate ECU Timing Contracts

Functional Requirements and related QoS contracts

System Architecture

ECU timing simulation

Co-Simulation

Validate QoS ContractsResults from Functional Simulation

Timing Models

Error InjectionNetwork Simulation

Page 12: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

USE CASE

AUTONOMOUS EMERGENCY BRAKING

Page 13: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Feature and Test ScenarioUse Case: Autonomous Emergency Braking (AEB)

13

Feature:AEB systems activate the vehicle brakes when a collision is imminent despite any reaction by the driver. [3][4]Scenario:The ego-vehicle with the AEB feature should maintain a minimum safe distance from a vehicle in front moving slowly.

Functional Requirement:During the AEB maneuver the safe distance shall be above 5 meters.

Non-Functional Requirement:Timing properties that could lead to a violation of the functional requirement.

AEB Feature

Page 14: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

System Architecture and Timing Effect ChainUse Case: Autonomous Emergency Braking (AEB)

14

Radar

Other 1Other 2Other 3Other 4

Motion Controller

ActuatorController

Other 5Other 6Other 7

Other 8Other 9

Other 10

EthernetSwitch

Ethernet CAN-FD

End-to-End Latency Sensor-Actuator Effect-Chain

Radar Motion Controller

Actuator Controller

Page 15: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Simulation Environment Set-UpUse Case: Autonomous Emergency Braking (AEB)

15

(1) (2)

(3)

(4)

(5)

(6)

(7)

(8)

1) Sensor Signal2) Radar Data3) Radar Data with timing delay4) Motion Control Data5) Motion Control Data with timing delay6) Actuator Control Signal7) Actuator Signal8) in-Vehicle Communication Delay

Network Simulation EnvironmentRadar Timing

Model

Motion Controller

Actuator Controller

Timing Model

Braking Actuator

Virtual ECUs

Co-Simulation Environment

Page 16: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

RESULTS

Page 17: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Simulation ResultsUse Case: Autonomous Emergency Braking (AEB)

17

Deviation of Ego-Vehicle Velocity and Brake Torque for Best and Worst Case Execution Time (BET/WET)

Traffic Vel.30km/h

Ego Vehicle(Velocity: Blue Line)

Page 18: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Simulation ResultsUse Case: Autonomous Emergency Braking (AEB)

18

Comparison of headway distance for different time delays (TD)Headway Distance

Page 19: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

CONCLUSION

Page 20: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Conclusion

20

This work proposed a framework to virtually validate Quality of Service timing contracts for automotive cyber-physical systems.

The vehicle is a multi-domain Cyber-Physical System with rich interactions.

The new trends coming to the automotive sector will increase even more the complexity of the vehicle systems, making necessary new approaches for system validation.

The usage of design contracts could help the system development, bridging the gap between the plural vehicle domains.

For the timing properties related to the in-vehicle network communications, the usage of Quality of Service contracts can aid the validation of the systems effect-chains.

Page 21: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

References

21

[1] P. Derler, E. A. Lee, M. Törngren and S. Tripakis, "Cyber-physical system design contracts“, 2013 ACM/IEEE International Conference on Cyber-Physical Systems (ICCPS), Philadelphia, PA, 2013, pp. 109-118, doi: 10.1145/2502524.2502540

[2] T. Braum, M. Diaz, J. E. Gabeiras, and T. Staub, “End-to-End Quality of Service Over Heterogeneous Networks”, Berlin Heidelberg, Springer-Verlag, 2008

[3] B. Fildes, M. Keal, N. Bos, A.Lie, Y. Page, C. Pastor, L. Pennis, M. Rizzi, P. Thomas, and C. Tingval, ”Effectiveness of low speed autonomous emergency braking in real-world rear-end crashes”. Accident Analysis & Prevention vol. 81, pp. 24–29.

[4] European New Car Assessment Programme (Euro NCAP), Test Protocol – AEB Systems, Version 1.1, June 2015. Retrieved from https://cdn.euroncap.com/media/17719/euro-ncap-aeb-test-protocol-v11.pdf

Page 22: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Thank you for your attention.Questions?

Page 23: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

AUTHORS BIOGRAPHY

Page 24: 2020 IEEE SA ETHERNET & IP AUTOMOTIVE TECH WEEK

Ricardo Gonzalez de Oliveira M/NET | IEEE SA Eth. & IP Automotive Tech Week | 14 Sep 2020 - 18 Sep 2020© Robert Bosch GmbH 2020. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, distribution, as well as in the event of applications for industrial property rights.

Authors Biography

24

RICARDO GONZALEZ DE OLIVEIRA is a doctoral student at the University of Luxembourg and is associated with Robert Bosch GmbH. He has a M.Sc degree in Electrical Engineering and Information Technology from the University of Applied Sciences Darmstadt and a B.Sc degree in Control and Automation Engineering from Federal University of Santa Catarina. His research interests lie in in-vehicle communication network safety and E/E architecture. His email address is [email protected]

INDRASEN RAGHUPATRUNI is an associate in the technical strategy department of Robert Bosch GmbH. He holds a Masters Degree in Advanced Embedded Systems Design from International Institute of Information Technology, India and a Bachelors degree in Electronics and Communications Engineering from Jawaharlal Nehru Technology University, India. His email address is [email protected]

ACHIM HENKEL is director in the technical strategy department of Robert Bosch GmbH. He is in charge of E/E-architecture design and communication simulation frameworks for in-vehicle networks. He got a PhD of the Technical University of Darmstadt, Germany and a “Diplôme de spécalisation” of Supélec, France. His email address is [email protected]

DAMON MARTINI is the lead for network communications timing simulation in the advanced engineering division at Robert Bosch GmbH. He holds a Bachelor degree in Electronic Engineering from the University of Western Australia. His email address is [email protected]