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

Similar documents
Additional Slides (informative)

FlexRay and Automotive Networking Future

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

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Integrating Information Systems: Technology, Strategy, and Organizational Factors

An Introduction to FlexRay as an Industrial Network

Some previous important concepts

Controller area network

Embedded Systems. 8. Communication

The House Intelligent Switch Control Network based On CAN bus

Data Link Layer Technologies

Area Covered is small Area covered is large. Data transfer rate is high Data transfer rate is low

Chapter 2. Network Classifications (Cont.)

1 November Basics of In-Vehicle Networking (IVN) Protocols

Content. Deterministic Access Polling(1) Master-Slave principles: Introduction Layer 2: Media Access Control

Field buses (part 2): time triggered protocols

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

Transporting audio-video data

Different network topologies

Study and Design of CAN / LIN Hybrid Network of Automotive Body. Peng Huang

Operating Systems, Concurrency and Time. real-time communication and CAN. Johan Lukkien

Local Area Network Overview

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Industrial Fieldbus Technologies: Understanding the basics and simplifying your decision

NETWORK TOPOLOGIES. Application Notes. Keywords Topology, P2P, Bus, Ring, Star, Mesh, Tree, PON, Ethernet. Author John Peter & Timo Perttunen

An Encapsulated Communication System for Integrated Architectures

Real-Time (Paradigms) (47)

Communication in Avionics

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

Communication Networks for the Next-Generation Vehicles

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Documentation. M-Bus 130-mbx

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems


Guide to Networking Essentials Fifth Edition. Chapter 2 Network Design Essentials

Communication in Automotive Networks Illustrated with an Example of Vehicle Stability Program: Part I - Control Area Network

CHAPTER TWO LITERATURE REVIEW

KIBABII UNIVERSITY COLLEGE DEPARTMENT COMPUTER SCIENCE & IT ANSWER ALL QUESTIONS IN SECTION A AND ANY TWO QUESTIONS IN SECTION B

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

Introduction to Networks

Protocols for Aerospace Control Systems A Comparison of AFDX, ARINC 429, CAN, and TTP

PREEvision Technical Article

CHAPTER 2 - NETWORK DEVICES

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Introducing Cisco Data Center Networking

Controller Area Network

LANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs, connecting devices are needed.

Real-Time Communications. LS 12, TU Dortmund

1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7.

Adaptors Communicating. Link Layer: Introduction. Parity Checking. Error Detection. Multiple Access Links and Protocols

Mixed-Criticality Systems based on a CAN Router with Support for Fault Isolation and Selective Fault-Tolerance

Institutionen för datavetenskap Department of Computer and Information Science

Industrial Ethernet Comparison for Motion Control Applications

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

Flexray Communication Controller for Intra-Vehicular Communication and Its Realization in FPGA

CCM 4300 Lecture 6 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Test Bank for A Guide to Designing and Implementing Local And Wide Area Networks 2nd Edition by Palmer and Sinclair

2. REAL-TIME CONTROL SYSTEM AND REAL-TIME NETWORKS

Chapter 6 Connecting Device

A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects workstations, personal computers, printers,

Lecture Computer Networks

Types of Computer Networks and their Topologies Three important groups of computer networks: LAN, MAN, WAN

Networking with CAN FD have you also thought about testing?

A Fault Management Protocol for TTP/C

Fieldbus technology An Overview

CH : 15 LOCAL AREA NETWORK OVERVIEW

ISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 2: Data link layer specification

ISO INTERNATIONAL STANDARD. Road vehicles FlexRay communications system Part 4: Electrical physical layer specification

A Reliable Gateway for In-vehicle Networks

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

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

Local Area Networks (LANs): Packets, Frames and Technologies Gail Hopkins. Part 3: Packet Switching and. Network Technologies.

Workshop on In Vehicle Network using CAN By

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

Prepared by Agha Mohammad Haidari Network Manager ICT Directorate Ministry of Communication & IT

Module 5 Local Area Networks

FlexRay International Workshop. Protocol Overview

Comparison of CAN Gateway Modules for Automotive and Industrial Control Applications

Comp277 Assignment 1 Fall 2011 Due 20 th December 2011 at 11:00am

NETWORK SECURITY ITEC 435

Comparison Of Network Topologies For Optical Fiber Communication

Chapter 15 Local Area Network Overview

Flexray Protocol in Automotive Network Communications

Analysis of Switched Ethernet Networks with different Topologies used in Automation Systems

Internetworking Wireless Nodes to A Control Area Network

DISTRIBUTED REAL-TIME SYSTEMS

Controller Area Network (CAN)

ECE 4450:427/527 - Computer Networks Spring 2017

Local Area Network(LAN)

Time Triggered CAN, Implementations, Development and Testing Tools

Computer Networks. Week 04 Media and Devices. College of Information Science and Engineering Ritsumeikan University

Contention Protocols and Networks

ELECTRIC ACTUATORS with PROFINET interface

Networked Control Systems for Manufacturing: Parameterization, Differentiation, Evaluation, and Application. Ling Wang

Lecture: Communication in PLC

A Current Based, Communication Assisted High Speed Protection System to Limit Arc Energy. Patrick Robinson Altelec Engineering

2. LAN Topologies Gilbert Ndjatou Page 1

Links. Error Detection. Link Layer. Multiple access protocols. Nodes Links Frame. Shared channel Problem: collisions How nodes share a channel

SERIAL BUS COMMUNICATION PROTOCOLS USB

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

Transcription:

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

Objectives Introduce basic concepts used in building networks for automotive embedded systems Main Reference [2] Robert Bosch GmbH, Bosch Automotive Electrics and Automotive Electronics: Systems and Components, Networking and Hybrid Drive, 5th edition, Springer Vieweg, 2014. 2

Complex in-vehicle networks In vehicle network of an Audi A8 2010 (Adapted after the AUDI A8 Service repair manual) 3

Networking requirements Data rate Data volume transmitted in the time unit Interference immunity Communication has to withstand interference from electromagnetic effects present in the automotive environment Real-time capabilities Soft real-time requirements The system generally conforms to the specified response time. Occasionally exceeding these timings has no considerable effects Hard real-time requirements Timing requirements are strict. Exceeding limitation can potentially cause to safety-critical issues Number of network nodes Some subsystems may require a large number of nodes to achieve expected functionality 4

Network topology Network topology the structure of a network consisting of nodes and interconnections. The communication requirements of all nodes of a designed system dictate on the network topology All network topologies are derived from four basic topologies: Bus topology Star topology Ring topology Mesh topology 5

Bus topology Also known as a linear bus All nodes connected to a single cable through tap lines called stubs Messages are directly received by all nodes Advantages: Adding new network nodes is easy Failure of one node does not impede communication between other nodes Disadvantages: A defective main line leads to network failure 6

Star topology Consists of a main node/hub to which all other nodes are connected All nodes send data to the main node Star topologies are suitable for safety and security applications Star topology types: Active main node performs processing and message relaying Passive main node only connects node lines together Advantages: Adding new network nodes is easy If one node (not main) fails the rest of the network continues to function Disadvantages: A defective main node disables the entire network 7

Ring topology Each node is connected to its two neighbours Ring topology types: Single ring messages sent in one direction from one station to the next one until it reaches its destination or is sent back to its origin Double ring transmission is bidirectional Advantages: Failure of one node in a double ring does not disable communication Disadvantages: A defective node in single rings prevents message transfer beyond it Several defective nodes will also disable a double ring 8

Mesh topology Each node is directly connected to one or more nodes In a full mesh each node is connected to all other nodes Radio networks are a type of mesh topology a message transmitted by one node is received by all nodes within range Advantages: If one connection fails the message can be rerouted Offers a high degree of reliability Disadvantages: Higher implementation costs 9

Hybrid topologies When none of the basic technologies can accommodate the system requirements hybrid topologies are employed Example hybrid topologies: Star-bus topology the hubs of several star sub-networks are connected to a main bus Bus-star topology the main line of several bus sub-networks are connected to a main star hub Star-ring topology the main nodes of several star sub-networks are connected in a ring 10

Communication principles OSI reference model Addressing Medium access Event-triggered/time triggered communication 11

OSI reference model Communication protocols are described using a layered approach The ISO OSI model is also used as a reference in the automotive area Simpler communication systems do not require all OSI layers Automotive protocols usually only define several layers: Physical layer Communication layer Application/User layer (after Bosch [2], pp.76) 12

Physical layer Symbol - the basic logical element used to build messages Physical layer Describes the electrical characteristics of the communication physical signalling Specifies the physical signalling behaviour corresponding to logical symbols (most protocols only use two symbols: logical 1 and 0 ) If the implementation allows one level to overwrite another line level, the overwriting level is referred to as dominant, while the other level is called recessive 13

Communication and user layers Communication layer Transforms the data received from the application layer in a format that will be used for the actual transmission of the message by the physical layer Describes the logical aspects of the protocol Handles: Frame format Media access control Collision detection and handling Node synchronization Error detection and handling User layer The application side that processes and provides transmission data User defined 14

Addressing Information that accompanies the data in order to indicate the message destination Addressing modes: Subscriber-oriented The message contains the data and the address of the destination node (e.g. Ethernet). Only the indicated receiver node evaluates the message Message-oriented The message contains the data and a message identifier that indicates the message type All receivers that use a certain message type will evaluate it on reception Transmission-oriented Transmission characteristics are used to identify message content (e..g. a message sent in a specified time slot) This addressing type is often used together with subscriber or message-oriented addressing [2] 15

Medium access Medium access methods can be: Predictable medium access is done in specified point in time collisions are prevented Random medium access can be achieved at any point in time as long as the medium is free collision resolution methods need to be implemented Medium access principles: Time division multiple access (TDMA) Message transmission takes place in specified time slots according to a fixed schedule Master-slave The master node determines when messages are transmitted by interrogating slave nodes Multimaster Several nodes that can access the medium at any time provided no other transmission is ongoing. 16

Event-triggered communication Nodes attempt to transmit messages once an event set to trigger the transmission has occurred This communication model requires collision detection and message prioritisation methods Advantages: New nodes are easily retrofitted in the network Fast response time to random events Network time is not pre-allocated to transmissions that may not occur Disadvantages: Due to non deterministic network access transmission time for a certain messages cannot be known 17

Time-triggered communication Especially used in system that require a high degree of reliability (e.g. X-by-wire) Assures that messages are received within specified time limits Incorporate redundant design Required precise time synchronization between nodes Advantages: The system is deterministic Timely message transmission is assured Defective nodes are efficiently detected and isolated Disadvantages: Requires a priory system planning including future expansions Response to asynchronous events is deferred to an allocated time slot 18

Protocols for in-vehicle communication (from Bosch [2], pp. 82) 19

Automotive protocols classification Class Transfer rates Applications Representatives Class A Low data rates (< 10kBit/s) Sensors and actuators LIN Class B Average data rates (< 125kBit/s) Complex mechanisms for error handling, control unit networking in the comfort functions Low speed CAN, PSI5 Class C High data rates (< 1MBit/s) Real-time requirements, control unit networking in the drive and running gear functions High speed CAN Class C+ Extremely high data rates (< 10MBit/s) Real-time requirements, control unit networking in the drive and running gear functions FlexRay Class D Extremely high data rates (> 10MBit/s) Control unit networking in the telematics and multimedia functions MOST, Ethernet (after Bosch [2], pp.85) 20