In-Vehicle Global Synchronization

Similar documents
Schedule Integration for Time-Triggered Systems

Ethernet TSN as Enabling Technology for ADAS and Automated Driving Systems

Automotive Ethernet. Control complexity. Multimodal Test & Measurement Solutions. Want to know more about TSN Systems?

ASAM-MCD-2 NET (FIBEX)

Mentor Automotive. Vehicle Network Design to meet the needs of ADAS and Autonomous Driving

Lecture 2. Basics of networking in automotive systems: Network. topologies, communication principles and standardised protocols

10 th AUTOSAR Open Conference

High Speed Measurement For ADAS And Fast Analysis

Experiences with CANoe-based Fault Injection for AUTOSAR

10 th AUTOSAR Open Conference

Till Steinbach 1 Franz Korf 1 René Röllig 2 Thomas Eymann 2.

Giancarlo Vasta, Magneti Marelli, Lucia Lo Bello, University of Catania,

Taking the Right Turn with Safe and Modular Solutions for the Automotive Industry

The Power to Log. Powerful Solution for Vehicle Testing and Validation of Automobile Networks

Functional Safety Architectural Challenges for Autonomous Drive

Measurement Solution for new Radar Microcontroller V

CAN FD - Flexible Tools for Flexible Data Rates

Software and Hardware Tools for Driver Assistance & Automated Driving Chris Thibeault Head of US Product Expert Group Elektrobit November 8, 2018

The CAN Bus From its Early Days to CAN FD By Friedhelm Pickhard (ETAS/P)

PREEvision Technical Article

Functional Safety for Automotive Ethernet Networks

PTP Implementation Challenges and Best Practices

Advanced Driver Assistance: Modular Image Sensor Concept

Designing a software framework for automated driving. Dr.-Ing. Sebastian Ohl, 2017 October 12 th

Additional Slides (informative)

A protocol for Mixed-Criticality management in Switched Ethernet networks

These lists can be retrieved by: Selecting the Vehicle list icon from the Main Menu and Downloading the desired list from the site

Realizing Automated Driving Systems using Ethernet TSN and Adaptive AUTOSAR

Parallel Computer Technology - A Solution for Automobiles?

Powering Next-Generation IP Broadcasting using QFX Series Switches. Tech Note

DS-IMU NEXT GENERATION OF NAVIGATION INSTRUMENTS

The Safe State: Design Patterns and Degradation Mechanisms for Fail- Operational Systems

Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

SYNCHRONOUS MULTIMEDIA AND VEHICLE DATA

Real-Time Communications. LS 12, TU Dortmund

Virtual Hardware ECU How to Significantly Increase Your Testing Throughput!

AVB Gen 2: the Next Step. Michael Johas Teener Plumbing Architect and Sr. Technical Director, Broadcom Corp,

Automotive Networks Are New Busses and Gateways the Answer or Just Another Challenge? ESWEEK Panel Oct. 3, 2007

AUTOSAR proofs to be THE automotive software platform for intelligent mobility

Peripheral Sensor Interface for Automotive Applications

Real-time Ethernet Residual Bus Simulation: A Model-Based Testing Approach for the Next-Generation In-Car Network

Countermeasures against Cyber-attacks

Systems. Roland Kammerer. 10. November Institute of Computer Engineering Vienna University of Technology. Communication Protocols for Embedded

Failure Diagnosis and Prognosis for Automotive Systems. Tom Fuhrman General Motors R&D IFIP Workshop June 25-27, 2010

Performance Testing BroadR-Reach Automotive Ethernet

Arm Technology in Automotive Geely Automotive Shanghai Innovation Center

IEEE Frame Replication and Elimination for Reliability. Franz-Josef Goetz, Member of IEEE TSN TG, Siemens AG

In March 2007, over 200 developers met in Stuttgart for the. control algorithms that have become increasingly faster are

Automotive and industrial use cases for CAN FD

ETHERNET JOURNEY AT JAGUAR LAND ROVER CHALLENGES IN THE DEVELOPMENT OF AN ETHERNET BACKBONE

SOLUTIONS FOR TESTING CAMERA-BASED ADVANCED DRIVER ASSISTANCE SYSTEMS SOLUTIONS FOR VIRTUAL TEST DRIVING

IMPROVING ADAS VALIDATION WITH MBT

The House Intelligent Switch Control Network based On CAN bus

NET. A Hardware/Software Co-Design Approach for Ethernet Controllers to Support Time-triggered Trac in the Upcoming IEEE TSN Standards

Introduction to Ethernet and IP in automotive vehicles

Communication Patterns in Safety Critical Systems for ADAS & Autonomous Vehicles Thorsten Wilmer Tech AD Berlin, 5. March 2018

Introduction of CAN FD into the next generation of vehicle E/E architectures

How Microcontrollers help GPUs in Autonomous Drive

Outline INSIGHTS ON THE CONFIGURATION AND PERFORMANCES OF SOME/IP SERVICE DISCOVERY. What is SOME/IP and SOME/IP SD

DRAFT. Dual Time Scale in Factory & Energy Automation. White Paper about Industrial Time Synchronization. (IEEE 802.

TomTom Innovation. Hans Aerts VP Software Development Business Unit Automotive November 2015

Tutorial on Time-Synchronization for AAA2C based on IEEE Std 802.1AS -2011

CAN FD with Dynamic Multi-PDU-to-Frame Mapping

Field buses (part 2): time triggered protocols

AUTOSAR stands for AUTomotive Open Systems ARchitecture. Partnership of automotive Car Manufacturers and their Suppliers

Introduction of CAN FD into the next generation of vehicle E/ E architectures. Vector CAN FD Symposium 2017, Marc Schreiner, Daimler AG

802.1AS : Redundant Paths

Tooling Overview ADAS - Status & Ongoing Developments

Capita Selecta: Software engineering for automotive systems

Adaptive AUTOSAR Extending the Scope of AUTOSAR-based Embedded Software

In Vehicle Networking : a Survey and Look Forward

The Adaptive Platform for Future Use Cases

Option Driver Assistance. Product Information

FlexRay - FlexRay Synchronization with CANoe as Gateway

Sincronização de Relógios

Object Fusion for an Advanced Emergency Braking System (AEBS) Jonny Andersson

Precision Time Protocol Software Configuration Guide for IE 4000, IE 4010, and IE 5000 Switches

MICROSAR-OS. Embedded Real-time Multitasking Operating Systems

Management Support for Automatic Measurement of Link Delay Asymmetry

1000BASE-T1 from Standard to Series Production

Configuring PTP. Information About PTP. This chapter contains the following sections:

Automobile Design and Implementation of CAN bus Protocol- A Review S. N. Chikhale Abstract- Controller area network (CAN) most researched

Release Presentation. ASAM Common MDF Version Measurement Data Format. Release Date: 2014 / 06 / 11

Architectures of Automotive Electrical. Nicolas Navet. Can be freely used for teaching Complexity Mastered. Outline

An Introduction to FlexRay as an Industrial Network

CONNECTED MOBILITY SOLUTIONS

MIGRATING TO CAN FD. Tony Adamson. Marketing Director CAN / LIN / FlexRay

CAN-FD Flexible Data Rate CAN

LOW COST ADVANCDED DRIVER ASSISTANCE SYSTEM (ADAS) DEVELOPMENT

Prototyping the Autonomous Future Joe Cassar, Engineering Group Manager. dspace Inc Pontiac Trail, Wixom, MI 48393

High-End Datalogging System for Autonomus Driving V

IEEE 1588v2 PTP Support

MATLAB Expo Simulation Based Automotive Communication Design using MATLAB- SimEvent. Sudhakaran M Anand H General Motors

Handling Challenges of Multi-Core Technology in Automotive Software Engineering

An Encapsulated Communication System for Integrated Architectures

Comparison of CAN Gateway Modules for Automotive and Industrial Control Applications

Controller area network

CAN Connected To FlexRay

Solutions for Smarter Driving ADAS

ETHERNET AS AN EMERGING TREND IN VEHICLE NETWORK TECHNOLOGY PART II

Transcription:

In-Vehicle Global ronization In-Vehicle Global ronization IEEE 802.1 Plenary Meeting - Geneva - 2013.07.16 Aboubacar Diarra Robert Bosch GmbH 1 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Outline Global ronization Goal Global ronization Use-Cases and Scenarios Global ronization Basics Global ronization Mechanisms Next Steps? 2 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Global ronization Goal Goal? Define a Common Global Time Reference for all In-Vehicle Networks What is the Purpose of that? Make all automotive Time Sensitive Systems work on a same Time Base when exchanging data between each other, even though they belong to different domains with different Communication Bus Systems (CAN, FlexRay, Ethernet, etc... ) Make all automotive Time Sensitive Systems have a complete & correct view of Time 3 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Outline Global ronization Goal Global ronization Use-Cases and Scenarios Global ronization Basics Global ronization Mechanisms Next Steps? 4 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Global ronization Use Cases and Scenarios Improvements on Sophisticated Automotive Advanced Drivers Assistance Systems like: Adaptive Cruise Control Lane Departure Assist Blind Spot Assist Brake Assist These Systems need support of different Sensors and ECUs for Cameras, Radars,, Brakes etc From Sensors Data Fusion to the Control of Brakes, Steering Systems, etc..., Data are exchanged between different Sub-Networks which should be time-correlated In addition, for ADAS Recording, Event Data Recording, System Analysis Recording, an Absolute or Universal Time Perspective needs to be added to ronization Perspective, on top of Working or Relative Time Apprehension This trend leads to high ronization Demands 5 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Outline Global ronization Goal Global ronization Use-Cases and Scenarios Global ronization Basics Global ronization Mechanisms Next Steps? 6 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Global ronization Basics (GW E/E A) 2 Time Scales for an effective view of time 2 Time Scales for an effective view of time 2 Time Scales for an effective view of time On Time Master for each Time Scale Absolute or Universal Time e.g.: 2013-05-13 at 09hrs, 30min, 50sec Relative or Working Time e.g.: 40 min, 15.3 sec Absolute (Universal) Time Master Head Unit (Access to GPS) Relative (Working) Time Master (2 Possibilities) Central Gateway for a GW based E/E Architecture One of the DCUs* for a Backbone E/E Architecture Remark: These 2 Time Masters play the roles of Global Time Masters 2 Time Scales for an effective view of time Concept of Local Time Masters Role: Forward Time Information (Absolute or Relative) in Sub-Network Central Gateway as Local Time Master in each Sub-Network Each DCU is a Local Time Master in its corresponding Sub-Network * DCU: Domain Control Unit Problematic How will the coexistence of 2 Time Scales be handled in in-vehicle networks? How can different ECUs based on different Communication Systems have the same view of Absolute Time and Relative Time? Alternative: Introduction of PTP Mechanisms on CAN & FlexRay Support for 2 Time Scales on TSN 7 IEEE 802.1 Plenary Meeting - Geneva

In-vehicle Global ronization Global ronization Basics (GW E/E A) Global Time Master 1 Central Gateway Global Time Master 2 CAN SSDTM FlexRay Switch SDTM GPS LIN High speed CAN Ethernet SSD SD1 SD2 SD3 SD4 SDi: ronization Domain i SDTM: ronization Domain Time Master SSD: ronization Sub-Domain SSDTM: ronization Sub-Domain Time Master Remarks: - The Central Gateway is the Relative Time Master. - The Switch linked to the GPS can provide the Absolute Time. It is then the Absolute Time Master. 8 IEEE 802.1 Plenary Meeting - Geneva

In-vehicle Global ronization Global ronization Basics (Backbone E/E A) SD5 CAN DCU1 DCU2 DCU3 DCU4 SDTM1 SDTM2 SDTM3 SDTM4 SSDTM LIN FlexRay High speed CAN Switch Global Time Master 2 Ethernet GPS SDi: ronization Domain i SDTMi: ronization Domain Time Master i SSD: ronization Sub-Domain SSDTM: ronization Sub-Domain Time Master SSD SD1 SD2 SD3 SD4 Remarks: - One DCU is the first Global Time Master. It is also the Relative Time Master. The other DCUs are synchronized to it. - Each DCU is the Local Time Master in its ronization Domain excepted the SD5 where one DCU is the Time Master (The first Global Time Master ) - The Switch linked to the GPS can provide the Absolute Time. It is then the Absolute Time Master. The other DCUs are synchronized to it. 9 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Global ronization Example on ACC System (1) Ethernet Global Time Master 1 Central Gateway CAN FlexRay or CAN Global Time Master 2 Head Unit Universal Time GPS ECU Radar Master Radar Slave Camera ESP ECU Hydraulic Modulator To Sensors Remark: This Use-Case highlights a ronization Process on the Relative Time. The Central Gateway is in this case, the Global Time Master Sensor To the Brakes 10 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Global ronization Example on ACC System (2) Ethernet Global Time Master 1 Central Gateway CAN FlexRay or CAN Global Time Master 2 Head Unit Universal Time GPS ECU Radar Master Radar Slave Camera ESP ECU Hydraulic Modulator To Sensors Remark: This Use-Case highlights a ronization Process on the Absolute Time. The Head Unit is in this case, the Global Time Master Sensor To the Brakes 11

In-Vehicle Global ronization Global ronization Example on ACC System (3) Global Time Master 2 Ethernet Global Time Master 1 Central Gateway CAN Ethernet FlexRay or CAN Radar Master FlexRay or CAN Head Unit Universal Time GPS ECU Radar Slave Camera ESP ECU Hydraulic Modulator To Sensors Remark: This Use-Case highlights a ronization Process on the Relative Time. The Central Gateway is in this case, the Global Time Master Sensor To the Brakes 12 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Global ronization Example on ACC System (4) Global Time Master 2 Ethernet Global Time Master 1 Central Gateway CAN Ethernet FlexRay or CAN Radar Master FlexRay or CAN Head Unit Universal Time GPS ECU Radar Slave Camera ESP ECU Hydraulic Modulator To Sensors Remark: This Use-Case highlights a ronization Process on the Absolute Time. The Head Unit is in this case, the Global Time Master Sensor To the Brakes 13 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Global ronization Example on ACC System (7) DCU1 DCU2 DCU3 DCU4 Global Time Master 2 Ethernet Head Unit Universal Time GPS Remark: This Use-Case highlights a ronization Process on the Relative Time. The DCU2 is in this case, the Global Time Master CAN Global Time Master 1 ECU Sensor Ethernet Radar Master Radar Slave Camera FlexRay or CAN ESP ECU Hydraulic Modulator To the Brakes To Sensors 14 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Global ronization Example on ACC System (8) DCU1 DCU2 DCU3 DCU4 Global Time Master 2 Ethernet Head Unit GPS Universal Time CAN ECU Ethernet Global Time Master 1 Radar Master Radar Slave Camera FlexRay or CAN ESP ECU Hydraulic Modulator To Sensors Remark: This Use-Case highlights a ronization Process on the Absolute Time. The Head Unit is in this case, the Global Time Master Sensor To the Brakes 15 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Outline Global ronization Goal Global ronization Use-Cases and Scenarios Global ronization Basics Global ronization Mechanisms Next Steps? 16 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization CAN Global ronization PTP Mechanisms (Proposed in AUTOSAR ) CAN Timemaster CAN Timeslave Capture relative time (t0r) and put second portion in CAN message t0r, t0 t1r Capture actual time of transmission (t1r) through Transmit Confirmation mechanism t2r Capture actual time of reception (t2r) through Receive Indication mechanism Transmit t4r = t1r-s(t0r) in FUP message t3r Compute new, relative time at old time t3r Computed rel. time = (t3r-t2r)+s(t0r)+t4r Transmit offset t5o between relative time and absolute time at t0 (or at current point in time) s(t) = second portion of time t ns(t) = nanosecond portion of time t Computed absolute time = actual relative time + t5o 17 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization CAN Global ronization PTP Mechanisms (Proposed in AUTOSAR ) CAN Timemaster CAN Timeslave t0r = 100.05s t0abs = 2013.07.16, 15:30:20.8 t1r = 100.051s t2r = 20s 0,001s t3r = 20.003s tsr = 20.003 20.0 + 100 + 0.051 = 100.054s t OFS = 2013.07.16, 15:30:20-0:01:40 t OFNS = 0,8-0,05 tsa = 100,060 + 2013.07.16, 15:28:40,75 = 2013.07.16, 15:30:20,81 18 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization FlexRay Global ronization PTP Mechanisms (Proposed in AUTOSAR) Cycle Start of Cycle 0 FR Timemaster t0r, t0 FR Timeslave t1r Cycle Start of Cycle 0 Computation of t0r Transmit t0r somewhen in current FR cycle Receive and save t0r t2r Compute new, relative time at old time t2r Computed relative time = (t2r-t1r)+t0r Transmit offset t3o = t0 t0r between relative time and absolute time at t0 Computed absolute time = actual relative time + t3o 19

In-Vehicle Global ronization FlexRay Global ronization PTP Mechanisms (Proposed in AUTOSAR) FR Timemaster FR Timeslave Cycle start t0r, t0 t1r Cycle start -Relative time at macrotick 71 is 100.05s -t0r at cycle start = 100.05 71*macrotickduration -For macrotickduration = 1.48854µs t0r = 100.05 71* 1.48854µs = 100.0498943s Transmission in Slot 7 - t0 = 2013.07.16, 15:30:20.8 - (t0-t0r) = 2013.07.16, 15:30:0.8498943s t2r Save t0r -t2r = 20.58s -Current macrotick = 282 - t1r at cycle start = 20.58s 282*1.48854µs - t1r = 20.57958s - relative time =(20.58s 20.57958s)+100.0498943s relative time =100.0503143s tsa = 2013.07.16, 15:30:0.8498943s + 100.0506443s tsa = 2013.07.16, 15:31:40.9005386s 20 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Ethernet Global ronization PTP Mechanisms (1) Tlink Central Gateway t1r Head Unit trel_hu : Computed Relative Time on Head Unit tabs_hu : Absolute Time on Head Unit trel_cgw: Relative Time on Central Gateway tabs_hu : Computed Absolute Time on Central Gateway t2r trel_hu = t1r + Residence Time + Tlink t5r t3r t4r t6r Residence Time offset = tabs_hu - trel_hu tabs_cgw = trel_cgw + offset trel_cgw, tabs_cgw trel_hu, tabs_hu t7r Time Master Switchover : Head Unit becomes the Time Master! Add-on: The Follow_up contains Absolute Time on top of Relative Time 21 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Ethernet Global ronization PTP Mechanisms (2) Central Gateway Head Unit t1r = 100.05s t5r = 100.0548s t2r = 20s t3r = 20.001s t4r = 20.0018s Tlink = 0.5 * [(100.0548s - 100.05s) - (20.0018s-20s)] = 1.5ms Residence Time = 8.3ms Offset = 2013.07.16, 15:40:25.8-100.0598s = 2013.07.16, 15:38:45.7402 t6r = 20.00507s trel_hu = 100.05s + 8.3ms +1.5ms = 100.0598s tabs_hu = 2013.07.16, 15:40:25.8 t7r trel_cgw = 100.0625s tabs_cgw = 2013.07.16, 15:38:45.7402 + 100.0625s tabs_cgw = 2013.07.16, 15:40:8027 22 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Ethernet Global ronization PTP Mechanisms (3) Tlink tabs_cgw, t1r Central Gateway ECU tabs_cgw : Absolute Time on Central Gateway trel_ecu : Computed Relative Time on ECU tabs_ecu : Computed Absolute Time on ECU t2r t3r t5r t4r t6r trel_ecu, tabs_ecu Residence Time trel_ecu = t1r + Residence Time + Tlink offset = tabs_cgw t1r tabs_ecu = trel_ecu + offset 23 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Outline Global ronization Goal Global ronization Use-Cases and Scenarios Global ronization Basics Global ronization Mechanisms Next Steps? 24 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Next Steps? Requirements Analysis on: ronization Accuracy for Absolute Time & Relative Time ronization Intervals for Absolute Time & Relative Time Clock Difference between 2 Nodes on 2 different Sub-Networks (e.g.: Clock Difference between a node based on CAN and Another one based on Ethernet) Time Master Switchover Handling Time Scale Switchover Handling Absolute and Relative Clock Availability Redundant ronization Paths and Grand Masters necessity Etc... ronization Frames Formats Definition (e.g.: Need of a field to indicate the Time Scale in which a Info is transmitted) 25 IEEE 802.1 Plenary Meeting - Geneva

In-Vehicle Global ronization Thank You for your Attention Any Questions? AE-BE/EKE 1/23/2013 Robert Bosch GmbH 2013. All rights reserved, also regarding any disposal, exploitation, reproduction, editing, 26 IEEE 802.1 Plenary Meeting - Geneva