18
Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR Prathap Venugopal IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017, November 1-2, 2017 – San Jose, CA, USA

Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

Realizing Automated Driving Systems usingEthernet TSN and Adaptive AUTOSAR

Prathap Venugopal

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017, November 1-2, 2017 – San Jose, CA, USA

Page 2: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

Agenda

n Automateddrivingcommunicationneedsn EthernetTSNstandardn IntroductiontoAdaptiveAUTOSARn Proposalonrealizingthemtogethern Benchresultssofarn Concludingremarks

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 3: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

ADAS&AutomateddrivingCommunicationneeds

n Guaranteed,lowendtoendlatencyn Faulttolerancetocommunicationlink/nodefailuresn TimeawarenessandSynchronizationtoglobalclockn Preventnetworknodestofloodthemedian Secureddataexchange

Standardized implementations are preferred!

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 4: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

TSNisakeyenablerforautomateddriving

http://www.ieee802.org/802_tutorials/2017-07/tutorial-Automotive-Ethernet-0717-v02.pdf

http://standards.ieee.org/events/automotive/2015/05_Ethernet_TSN_as_enabling_technology_for_ADAS.pdf

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 5: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

RealizingEthernetTSNinanetwork

IEEE standard Whatdoesitdo Who willimplement

P802.1AS-Rev– NetworkTimesynchronization

Synchronized Timebaseforallnodes SwitchandEndstations(itsfirmware/hostCPU)

802.1Qci– Ingresspolicing Eliminate thebabblingstreams SwitchorMAC forendstations

802.1CB – SeamlessRedundancy Filteringredundant traffic Switch,(proxymode)

P802.1Qcr – AsynchronousTrafficShaping

Asynchronous trafficscheduling Switch+Hostcontroller

802.1Qbu/802.3br – FramePreemption

Betterbusutilization Switch +Hostcontroller

802.1Qch – Cyclicqueuingandforwarding

Reducelatency bySynchronizeddatatransmission

Switch +Hostcontroller

Switch manufacturers are onboard, how about standardized software?

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 6: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

TechnologicalAlignment

ETHERNET is one of the KEY Technology drivers for Adaptive

AUTOSAR!!!

AUTOSAR Classic alreadysupportsEthernet!!

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 7: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

What's new inAdaptiveAUTOSAR?

Backend SystemsRoad-Side Infrastructure

InternetETSI

C

C

N

A A

Classic

M

IVI / COTS(Non-AUTOSAR)

N

Adaptive

Expected total number of ECUs: 1205 - 10 domain controllers will run with Adaptive platform

AUTOSAR_EXP_PlatformDesign.pdf

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 8: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

environmentsensorscamera,radar,lidar,…

environment,driverstateandvehiclestateperception

maneuver- andtrajectoryplanning

trajectorycontrol

trajectory

environment and state model

inertialsensors,odometry,GPS,…

authority,OEM,map,…viabackend

C2C/C2I

safetyfunction

A

C

SampleAutomatedVehicleSystemArchitecture

AUTOSAR_EXP_PlatformDesign.pdf

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Classic AUTOSAR node

Adap

tive

AUTO

SAR

nod

e

A

C

Adaptive AUTOSAR Node

Classic AUTOSAR Node

Page 9: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

AUTOSARRuntimeforAdaptiveApplications- FunctionalClusters

LanguagespecificAPIsaspartofARA

ServicesprovidedviaCommunicationARAAPI

APIsandservicesexposedtoapplicationsbyfunctionalclusters

AUTOSAR Runtime for Adaptive Applications

Adaptive AUTOSAR Foundation

(Virtual) Machine / Hardware

Adaptive AUTOSAR Services

Software Configuration Management

Service

Security Management

Service

Diagnostics

Service

Bootloader

Operating system

API

Execution Management

API

Persistency

API

Platform Health Management

API

Logging and Tracing

API

Hardware Acceleration

API

Other Functional

clusters

API

Communication Management

API

ApplicationApplicationApplicationApplicationApplication

AUTOSAR_EXP_PlatformDesign.pdf

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 10: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

(Virtual) Machine / Hardware

Communications

AdaptivePlatform– TechnicalArchitecture(Communication)

Adaptive Application

EthernetDriver

TCP/IP

SOME/IPTransport

IPCTransport

IPC

DispatchingandDiscovery

PublicInterfacePartoftheadaptiveAUTOSARAPIandspecifiedintheSWS.

ProtectedInterfaceInteractionbetweenfunctionalclusters.Notnormative,intendedtomakespecificationmore readableandtosupportintegrationofSWintodemonstrator.

PrivateInterfaceInteractionbetweenelementswithinafunctionalcluster.Notusedinspecifications,butmaybefor

C++11LanguageBinding

ARA API

network

Execution Management

API

AVB/TSN for Traffic management and 802.1AS Time Sync are preferred

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 11: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

RealizingTSNinAdaptiveAUTOSAR– aProposal

(Virtual) Machine / Hardware

Communications

Adaptive Application

EthernetDriver

TCP/IP

SOME/IPTransport

IPCTransport

IPC

DispatchingandDiscovery

C++11 Language Binding

ARA API

Execution Management

API

EnhancedEthSwitchDriver

EnhancedEth TimeSync

SynchronizedTime BaseManager

CAN/FDTimeSync

CANDriver

Extensions to adaptive AUTOSAR R17-03

Stbm might be required when CAN/CAN-FD support included in Adaptive AUTOSAR R17-10

FT-Security is working on the Secure Communication concept including Authentication and encryption

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

802.1AS-Rev Support

TimeSync is already a topic in FT-CM Subgroup

Page 12: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

EnhancedEthernetTimeSynchronizer

n SupportRedundancy,redundantpathsn Configurationforstatic,redundantgrandmastersn FasterResynchronizationconvergenttime.n Multi-Clockdomainsupport(AlreadysupportedinAUTOSAR

classic)n ConfigurationsupportforRing

API

EnhancedEthernet TimeSynchronizer

SynchronousTimeBaseManager

EnhancedEthernet

SwitchDriver

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 13: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

EthernetSwitchDriverextension

n HostcontrollerusesEthernetswitchdrivertoconfiguretheswitch

n ThisshallofferConfigurationsupportfortheTSNprotocolfeatures;e.g.● Staticstreamreservation,switchforwardingtables● Perstreamingressmeteringlimits● Frameduplicationpathandredundancyfailureaction● Andmanymore..

API

EnhancedEthernet TimeSynchronizer

SynchronousTimeBaseManager

EnhancedEthernet

SwitchDriver

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 14: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

ADASController

LongRangeRadarCamera

Eth Et

h

ADASBackup

Eth

Eth

Eth BreakControl

Module

CAN

TesterEth

AdaptiveAUTOSAR

ClassicAUTOSAR

802.1CB

Conceptevaluationbenchsetup

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

802.1 Qci 802.1 AS-Rev 802.1 AS-Rev

802.1 AS-Rev

802.1 AS-Rev

Page 15: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

AdaptiveAUTOSARBenchresultsAP17-03

n LearningsfromAUTOSAR17-03Release(GM-ITKprojectdemonstrator)● DemonstratedvalueofLinux/open-sourceecosystemforimageprocessing,machinelearning,etc.(e.g.,OpenCV)

● Demonstratedusageofdynamicmemorymanagement● Demonstrateddynamicapplication/processupdate● SOME/IPworksgreatforServiceDiscovery,butisn’tsufficientforlargedatatransfer(e.g.videostreams).Workaround:TCP/IP

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 16: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

Conclusion

n TSNisengineeredtosatisfytheAutomateddrivingsystemscommunicationrequirements

n SwitchvendorsseemsveryinterestedinprovidingvariantsinTSNtosupporttheAutomotivemarketneeds

n AdaptiveAUTOSARcurrentlydoesn’tspecifyTSNsupport.ButwebelieveitispossibletoadaptTSNwithinitsfunctionalclusters

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017

Page 17: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

Questions?

Page 18: Realizing Automated Driving Systems using Ethernet TSN and ... · Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR ... trajectory control trajectory environment

ThankYou!

n Acknowledgements● SoheilSamii,ThomasE.Fuhrman,MikePotts,AbuzaforRasal● https://www.autosar.org/standards/adaptive-platform/release-17-03/

IEEE-SA ETHERNET & IP @ AUTOMOTIVE TECHNOLOGY DAY 2017