Automotive Communication Network Trends



Similar documents
In-Vehicle Networking

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

LIN (Local Interconnect Network):

Comparison of FlexRay and CAN-bus for Real-Time Communication

Local Interconnect Network Training. Local Interconnect Network Training. Overview

Welcome to the Introduction to Controller Area Network web seminar My name is William Stuart, and I am a Applications Engineer for the Automotive

Security in Automotive Applications

In-Vehicular Communication Networking Protocol

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Introduction to RACE FUELS Hans-Christian von der Wense Munich, Germany

FlexRay A Communications Network for Automotive Control Systems

Controlled Random Access Methods

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Standardized software components will help in mastering the. software should be developed for FlexRay were presented at

Keeping Up with the Data & Security Demands of the Automotive IoT

How To Make A Car A Car Into A Car With A Car Stereo And A Car Monitor

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Introduction to. LIN (Local Interconnect Network)

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Distributed Real-Time Systems (TI-DRTS) Track 2. CAN-BUS Introduction. Version Ref. VECTOR application note & Motorola note

Simple and error-free startup of the communication cluster. as well as high system stability over long service life are

High Speed Ethernet. Dr. Sanjay P. Ahuja, Ph.D. Professor School of Computing, UNF

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: wireless embedded network

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Introduction to LIN. Webinar

Industrial Networks & Databases

Unit of Learning # 2 The Physical Layer. Sergio Guíñez Molinos sguinez@utalca.cl

Based on Computer Networking, 4 th Edition by Kurose and Ross

VELOCITY LAB TM Embedded Development Ecosystem

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Smart Solutions for Network IP Migration

Local Area Networks. Guest Instructor Elaine Wong. Elaine_06_I-1

CS263: Wireless Communications and Sensor Networks

1 Which network type is a specifically designed configuration of computers and other devices located within a confined area? A Peer-to-peer network

Local Area Networks (LANs) Blueprint (May 2012 Release)

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Vorlesung Kommunikationsnetze Fieldbus Systems

Module 15: Network Structures

Communication Networks. MAP-TELE 2011/12 José Ruela

Chapter 4. Medium Access Control. IN2P3 Octobre 2002 Jean-Pierre Thomesse

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

Performance Testing BroadR-Reach Automotive Ethernet

Ethernet A Survey on its Fields of Application

Random Access Protocols

Fast Ethernet and Gigabit Ethernet. Computer Networks: Fast and Gigabit Ethernet

Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev

How To Make A Multi-User Communication Efficient

Fast Ethernet and Gigabit Ethernet. Networks: Fast Ethernet 1

Network Topologies. Network Topologies

IT4405 Computer Networks (Compulsory)

LOCAL INTERCONNECT NETWORK (LIN)

Tutorial Introduction

CSCI 362 Computer and Network Security

Ethernet Passive Optical Networks EPON

Gigabit Ethernet: Architectural Design and Issues

FOUNDATION Fieldbus High Speed Ethernet Control System

EPL 657 Wireless Networks

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

Real-Time (Paradigms) (51)

Real-Time Systems Hermann Härtig Real-Time Communication (following Kopetz, Liu, Schönberg, Löser)

Course 12 Synchronous transmission multiplexing systems used in digital telephone networks

PROFINET the Industrial Ethernet standard. Siemens AG Alle Rechte vorbehalten.

Network Design. Yiannos Mylonas

Bluetooth in Automotive Applications Lars-Berno Fredriksson, KVASER AB

Local-Area Network -LAN

Chapter 16: Distributed Operating Systems

Chapter 14: Distributed Operating Systems

Ethernet, VLAN, Ethernet Carrier Grade

Vehicle data acquisition using CAN By Henning Olsson, OptimumG

Internet of things (IOT) applications covering industrial domain. Dev Bhattacharya

Data Exchange On The CAN Bus I

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

Performance Evaluation of Wired and Wireless Local Area Networks

Development of Scalable CAN Protocol

Master thesis. On-Board Diagnostics over Ethernet. School of Information Science, Computer and Electrical Engineering

Tutorial.

Joint ITU-T/IEEE Workshop on Next Generation Optical Access Systems. DBA & QoS on the PON - Commonalities with Switching & Routing

Written examination in Computer Networks

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

OSI Layers in Automotive Networks

Gigabit Ethernet. Abstract. 1. Introduction. 2. Benefits of Gigabit Ethernet

LoRaWAN. What is it? A technical overview of LoRa and LoRaWAN. Technical Marketing Workgroup 1.0

Bus Data Acquisition and Remote Monitoring System Using Gsm & Can

Chapter 5. Data Communication And Internet Technology

Token Ring and. Fiber Distributed Data Interface (FDDI) Networks: Token Ring and FDDI 1

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

An Interpretation of MIL-STD-1553B

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Introduction to Ethernet

Comparison of CAN, TTP and Flexray Communication Protocols

Chapter 9. Communications and Networks. McGraw-Hill/Irwin. Copyright 2008 by The McGraw-Hill Companies, Inc. All rights reserved.

Universal Flash Storage: Mobilize Your Data

Process Control and Automation using Modbus Protocol

Industrial Requirements for a Converged Network

2.0 System Description

Fundamentals of Telecommunications

Understanding SAE J1939. by Simma Software, Inc.

How To Encode Data From A Signal To A Signal (Wired) To A Bitcode (Wired Or Coaxial)

Maximizing Server Storage Performance with PCI Express and Serial Attached SCSI. Article for InfoStor November 2003 Paul Griffith Adaptec, Inc.

Mentor Embedded Automotive Solutions

Transcription:

Automotive Communication Network Trends Renesas Electronics America Inc.

Renesas Technology & Solution Portfolio 2

Microcontroller and Microprocessor Line-up 2010 2012 32-bit 1200 DMIPS, Superscalar Automotive & Industrial, 65nm 600µA/MHz, 1.5µA standby 500 DMIPS, Low Power Automotive & Industrial, 90nm 600µA/MHz, 1.5µA standby 1200 DMIPS, Performance Automotive, 40nm 500µA/MHz, 35µA deep standby 165 DMIPS, FPU, DSC Industrial, 90nm 500µA/MHz, 1.6µA deep standby 165 DMIPS, FPU, DSC Industrial, 40nm 200µA/MHz, 0.3µA deep standby 8/16-bit 25 DMIPS, Low Power Industrial & Automotive, 150nm 190µA/MHz, 0.3µA standby 10 DMIPS, Capacitive Touch Wide Industrial Format & LCDs Automotive, 130nm 350µA/MHz, 1µA standby 44 DMIPS, True Low Power Industrial & Automotive, 130nm 144µA/MHz, 0.2µA standby 3

Enabling The Smart Society Challenge: Automotive communication protocols are changing rapidly. The communication environment is growing quickly as users want access to more information available in-vehicle. Bandwidth requirements are dramatically increasing because of new functionality, more interaction between modules, and bandwidth-hungry signals such as video. Solution: This class will discuss the Automotive trends and how Renesas understands the requirements to meet future demands. 4

Agenda Terminology & Concepts Automotive Networks Today & Tomorrow Security in Automotive Energy Efficiency Trends Summary 5

Terminology & Concepts 6

Bus Access Single Master Multiple Slaves Configuration Master node controls bus access Establishes timing Initiates all communications Slave node(s) react to the master node Cannot initiate communications Peer-to-Peer / Multi-Master Any node can initiate communications Requires means to control access to the bus Token Passing Time Division Multiplexing (TDM) Agreed, assigned time to transmit Arbitrated Access CSMA variants 7

Arbitrated Access: CSMA CS = Carrier Sense Nodes wait for period without bus activity (IDLE time) before initiating communication MA = Multiple Access Every node has an opportunity to initiate communication CSMA-CD = CSMA with Collision Detection Stop communicating when collision is detected Try again from the start IEEE 802.3 Ethernet (Half-Duplex Operation) CSMA-CA = CSMA with Collision Avoidance Divide channel somewhat equally among all nodes IEEE 802.11 WiFi (not possible to listen while sending) Scope capture: Data spread out evenly time CSMA-CR = CSMA with Collision Resolution Resolve collision situations as they happen Highest priority message remains intact: sent without delay or retry All lower priority messages must retry in next IDLE time 8

CSMA-CR: Non-Destructive Bitwise Arbitration Dominant Bus State: Any node attempts to drive the bus to its dominant state bus = dominant Recessive Bus State: Bus assumes recessive state if no nodes are driving bus to dominant state Dominant wins over recessive Typical Implementation - CAN transceiver Active (transistor) drive to dominant state Passive (resistor) pull to recessive state Non-Destructive Bitwise Arbitration Node stops transmitting when it loses arbitration Loses arbitration: RX d bit NOT EQUAL TX d bit Field in the message header defines message priority 9

Event Driven vs. Time Driven Event Driven Medium used only when necessary Point when medium is accessible depends on current load Unknown delay between when medium access is requested and when it is actually accessed Time of message arrival is unknown Medium might be overloaded Time Driven Data potentially grouped Point in time when medium is accessible is defined / guaranteed Bandwidth utilization is known (duration of how long the medium is used) Time of arrival is defined / guaranteed Time Driven = Deterministic Mostly used for safety critical programs time Data spread out evenly 10

TDMA: Time Division Multiple Access Share the bus Dividing into different time slots Transmit in rapid succession each using its own time slot Wireless Slots assigned on demand in dynamic TDMA 2G cellular systems based on TDMA Wired consumer HSLAN over existing home wiring power lines, phone lines and coaxial cables Automotive FlexRay 11

Physical Media: Signal Formats Non Return to Zero (NRZ) Logical Bit value: bus state during the bit time 1 = a specific bus state (e.g. low voltage) 0 = a different specific bus state (e.g. high voltage) Cannot extract clock, not inherently self-synchronizing Manchester Logical Bit value: direction of transition in the middle of the bit time At least one transition during each data bit Self clocking clock can be recovered More bandwidth required, more EMI Bi-phase (Differential Manchester) Logical Bit value: presence / absence of transition in middle of bit time At least one transition every bit 12

Physical Media: Bit Stuffing NRZ Signaling Problem How to maintain synchronization when a long string of the same bit value is transmitted? Solution: Bit Stuffing 1 inverse polarity bit added ( stuffed ) after n identical bits Forces a transition edge: Synchronization Escape reserved code words such as frame sync sequence Drawbacks Results in variable data rate Reduces bus efficiency 13

Topology Ring Data travels around one direction Each device acts as a repeater Keeps the signal strong as it travels Star Each network host is connected to a central hub All traffic passes through the central hub Hub acts as a signal repeater Bus Each node is connected to a single cable Data travels in both directions to all nodes If node address does not match intended address for the data, node ignores data 14

Automotive Networks Today & Tomorrow 15

Automotive Networks Today Multiplexing Distributed Control Multi-Media 150M Data Rate (bps) 100M 25M 10M 1M 500K CAN Multi-Master/CSMA-CR Distributed Data FlexRay Multi-Master/Hybrid- TDMA Fault Tolerant MOST Timing Master/TDMA Designed for multimedia & infotainment 20K LIN Master-Slave Low cost I/O Interface 0.5 Source of cost for LIN, CAN, FlexRay, MOST: In-Vehicle Communication Networks: A Literature Survey @ http://alexandria.tue.nl/repository/books/652514.pdf (Ugur Keskin). Ethernet cost: Engineering estimate. 1 2.5 5 Relative Communication Cost Per Node 16

LIN / CAN / FlexRay Comparison LIN CAN FlexRay Features Scalable, Deterministic, Slave Autobaud Detection (lower accuracy clock for slaves) Scalable, Event-Driven Time-Driven, Deterministic, Redundant, Fault-Tolerant, Global Time Base Medium Access Control Single Master Multi-Master CSMA-CR Multi-Master Hybrid TDMA Bit Coding NRZ NRZ w/ bit stuffing NRZ Nodes 1 master, up to 15 slaves 4 20, depending on distance / topology 4 22, depending on distance / topology Topology Bus Bus Star or Bus Typical Bus Speed Low: up to 20Kbps 33Kbps to 500Kbps typical 2.5Mbps to 10Mbps (bit/sec) 1Mbps capable Data & Frame Size 1-8 bytes payload 44 bits overhead 0 8 bytes payload 47 bits overhead (std ID) 0 254 bytes payload 64 bits overhead 67 bits overhead (ext ID) Bus Utilization Efficiency 1 byte payload: 15% 8 byte payload: 52% 1 byte payload: 15% (std) 8 byte payload: 58% (std) 8 byte payload: 50% 254 byte payload: 97% (excluding idle time) 1 byte payload: 11% (ext) 8 byte payload: 49% (ext) Physical Media Single wire, 12V Single or dual wire, 5V Twisted pair, optical option Industry Acceptance (NA) Started: mid-1990 s, Wide acceptance: early 2000 s Started: early 1990 s Wide acceptance: late 1990 s Limited deployment in NA Wide acceptance in Europe MCU Support Standard UART or UART w/ CAN Peripheral FlexRay Peripheral extensions Applications Sensor / actuator interface to a master ECU (doors, mirrors, windows, motors, ) Sharing data between ECU s High speed data sharing, distributed control, safety critical systems 17

Drivers of Change User s access to more information in vehicle Bandwidth requirements increasing New functionality More interaction between modules Bandwidth-hungry signals such as video Requirements for safety and security on the bus More safety related functions and security being emphasized Control signals using messaging to a remote actuator Diagnostics improvements requires more information Driver assistance Vehicle to vehicle Vehicle to infrastructure Autosar software architecture, separation of functions from hardware implementation 18

Automotive Networks Tomorrow Multiplexing Distributed Control Multi-Media 150M Data Rate (bps) 100M 25M 10M 1M 500K CAN FD? CAN Multi-Master/CSMA-CR Distributed Data Ethernet & Ethernet AVB Multi-Master/CSMA-CD Leverage Consumer Technology & Standards High Data Rates Safety critical functions over FlexRay Ethernet? Multi-Master/Hybrid- TDMA Fault Tolerant MOST Timing Master/TDMA Designed for multimedia & infotainment 20K LIN Master-Slave Low cost I/O Interface 0.5 Source of cost for LIN, CAN, FlexRay, MOST: In-Vehicle Communication Networks: A Literature Survey @ http://alexandria.tue.nl/repository/books/652514.pdf (Ugur Keskin). Ethernet cost: Engineering estimate. 1 2.5 5 Relative Communication Cost Per Node 19

CAN with Flexible Data Rate (CAN FD) Higher bit rate possible once arbitration completed After arbitration, only one node is transmitting CAN FD controllers backward compatible (CAN 2.0 A/B) 20

CAN with Flexible Data Rate (CAN FD) CAN FD Proposal Increase bit rate after arbitration completes Target: 2Mbps Increase the data payload OEM vision From 8 bytes to 64 bytes / frame CAN 2.0 A/B still used CAN FD where bandwidth increase needed Concerns Programming Requires revised / new ISO standard Impacts CAN Protocol Controller: new design required All nodes must have a CAN FD protocol controller Minimum of Passive mode Higher bit rates appear possible, but require HW/SW changes (protocol controller) Industry acceptance / standardization needed 21

Automotive Ethernet High data rates 10Mbps to 10+Gbps 100Mbps over unshielded single twisted pair cable Full duplex communication capability Options allow data rate (and cost) to match application requirements Leverage widely available consumer / office / industrial infrastructure to reduce cost of ownership Open standardization Existing & proven hardware IP Inexpensive & flexible cabling options Proven TPC/IP protocol stack Flexible configuration Supports different topologies Easily add nodes Virtually no limit on number of nodes Delivery not guaranteed But if it is fast enough. AVB Extension Interoperability with external networks Easily connects to Internet and Cloud Issue: Impact on cost-of-ownership by including stringent automotive requirements reliability in extreme conditions (temperature, voltage ), EMC/EME, 22

Ethernet AVB AVB (Audio Video Bridging) is developed for synchronized low latency A/V streaming transmission Time critical data (e.g. multimedia) and non-time-critical data carried over same Ethernet network Established common clock source among nodes Standards included in AVB 802.1AS Timing and Synchronization 802.1Qat Stream Reservation Protocol 802.1Qav Forwarding and Queuing for Time-Sensitive Streams 802.1BA Audio Video Bridging Systems 23

Future Network Electrical Architectures Backbone (FlexRay / Ethernet) Vehicle Gateway Diagnostic Connection Ethernet / FlexRay / CAN Ethernet / MOST CAN LIN LIN 24

Future Network Electrical Architectures Backbone (FlexRay / Ethernet) Ethernet / FlexRay / CAN Ethernet / MOST CAN LIN LIN 25

Security in Automotive 26

Security: one of many Automotive applications Safety-relevant messages Emergency Brake! must be secured! (so that they can be trusted) 27

Security-enabled Automotive MCU Master in the system: has unrestricted accesses to all MCU resources Main CPU Application Domain New master in the system: controls a (small) set of specific but exclusive resources for security relevant tasks Secure Domain Secure HW Security Services Secret Data Application Services Configuration / Parameter Files External Memory I/F Test / Debug I/F Communication I/F 28

Potential use Case: Encrypted CAN Messages Application Domain Main application loop Process the message received Prepare a message to send Execution time IRQ IRQ Secure Domain Wait for a CAN message Decrypt the mailbox Encrypt the mailbox Send the CAN message Secret keys are never seen in the application domain 29

Potential use Case: Boot Loader Verification Application Domain Initiate the application environment Initiate the communication stack Main application loop HW Reset Execution time Secure Domain Calculate H as the hash value of the boot loader memory Calculate H as the verification of the boot loader signature (prev. stored) No H == H? Yes Boot loader verification failed: break the application loop Boot loader verification successful: prepare for next security service Enables systematic background check with no impact on application domain timings 30

Security in Automotive applications: Renesas value proposition The next generation of Renesas Automotive devices integrates a scalable range of security peripherals to support existing and emerging security requirements on a broad range of automotive applications Security Peripherals for MCU with embedded Flash Security Peripherals for Flash-less SoC ICU-S ICU-M2 ICU-M3 Crypto Engine (low- to mid-end) (mid- to high-end) Low power Low cost Flexibility and performances High-performance (stream ciphers) 31

Energy Efficiency Trends 32

Energy Efficient Automotive Networks Not all ECUs need to be used during the entire drive-cycle Trade-off between: Energy savings ECU start-up time Selectively set ECU s into lower-power states Pretended Networking Partial Networking Energy Savings Window Controller Pretended Networking Trailer Module Seat Module Partial Networking Domain controller Start-Up Time 33

Pretended Networking Local Power Saving Intelligence Each ECU independently decides when to enter / exit a lower power mode MCU in sleep / stop mode - can be woken up quickly No changes to Network Management layer Compatible with other nodes not supporting this feature Easy integration into existing networks Uses existing / standard transceivers Efficiently implemented in software using Renesas low power products e.g. RH850/X1x Varying power saving effect, but seamless compatibility with existing networks 34

Partial Networking Shutting-down & starting-up during normal bus communication ECU s or groups of ECU s Shuts down complete ECU (except transceiver) MCU not powered Increases wake-up time Network master node(s) coordinate power saving intelligence Changes Network Management Layer Accommodate Partial Network Cluster (PNC) Requires special / new transceivers Selective Wake Up transceivers ISO 11898-6 ISO 11898-5 had global wakeup ISO 11898-6 has wakeup pattern or frame Potentially large power saving effect, but at expense of changes to the network 35

Summary 36

Summary Automotive communication Terminology & Concepts What is used today Trends for tomorrow Protocol changes Security Energy efficiency Renesas is ready Enabling the Smart Society 37

Questions? 38

Enabling The Smart Society Challenge: Automotive communication protocols are changing rapidly. The communication environment is growing quickly as users want access to more information available in-vehicle. Bandwidth requirements are dramatically increasing because of new functionality, more interaction between modules, and bandwidth-hungry signals such as video. Solution: This class will discuss the Automotive trends and how Renesas understands the requirements to meet future demands. Do you agree that we accomplished the above statement? 39

Renesas Electronics America Inc.