LOW COST AUTOMOTIVE NETWORKS. Local Interconnect Network (LIN)

Similar documents
Local Interconnect Network Training. Local Interconnect Network Training. Overview

LIN (Local Interconnect Network):

In-Vehicle Networking

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

LIN. Specification Package. Revision 2.0. This specification is provided on an "AS IS" basis only and cannot be the basis for any claims.

In-Vehicular Communication Networking Protocol

LIN (Local Interconnected Network)

Introduction to. LIN (Local Interconnect Network)

LOCAL INTERCONNECT NETWORK (LIN)

Introduction to LIN. Webinar

WIZnet S2E (Serial-to-Ethernet) Device s Configuration Tool Programming Guide

Dolphin In-Circuit programming Updating Firmware in the field

eztcp Technical Document Modbus/TCP of eztcp Caution: Specifications of this document may be changed without prior notice for improvement.

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

New protocol concept for wireless MIDI connections via Bluetooth

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

Quectel Cellular Engine

Microcomputer Protocol Implementation at Local Interconnect Network Georgi Krastev

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

CAN Specification 2.0, Part B page 1 PART B. CAN in Automation, Am Weichselgarten 26, D Erlangen

Data sheet Wireless UART firmware version 4.02

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

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

TD-03011E. Identifier Usage in CANopen Networks

Application Note. Introduction AN2471/D 3/2003. PC Master Software Communication Protocol Specification

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Supporting ZDOs with the XBee API

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

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

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

Process Control and Automation using Modbus Protocol

Network Programming TDC 561

Ethernet. Ethernet. Network Devices

CX-Supervisor CX-MODBUS TCP

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

Introduction to TTP and FlexRay real-time protocols

USB2.0 <=> I2C V4.4. Konverter Kabel und Box mit Galvanischetrennung

Consult protocol, Nissan Technical egroup, Issue 6

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

Getting Started with CANopen Version Application Note AN-AON

VXLAN: Scaling Data Center Capacity. White Paper

Lizy Kurian John Electrical and Computer Engineering Department, The University of Texas as Austin

Brunata Optuna W (171)

Serial Communications

DS2401 Silicon Serial Number

How To Communicate With A Token Ring Network (Dihon)

Serial Communications / Protocol in AirTest Products

Serial Bus Systems in the Automobile

RS-485 Protocol Manual

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

Vorlesung Kommunikationsnetze Fieldbus Systems

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

Field Software Updates Using TPMS LF An example using the Low Frequency radio (LFR) for wireless software updating

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Vehicle data acquisition using CAN By Henning Olsson, OptimumG

Bluetooth in Automotive Applications Lars-Berno Fredriksson, KVASER AB

Caml Virtual Machine File & data formats Document version: 1.4

Ring Local Area Network. Ring LANs

Documentation. M-Bus 130-mbx

Master Course Computer Networks IN2097

FlexRay A Communications Network for Automotive Control Systems

Data Link Layer(1) Principal service: Transferring data from the network layer of the source machine to the one of the destination machine

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

RFID MODULE Mifare Reader / Writer SL031 User Manual Version 2.7 Nov 2012 StrongLink

AKD EtherNet/IP Communication

Technical Support Bulletin Nr.18 Modbus Tips

Interconnection Networks. Interconnection Networks. Interconnection networks are used everywhere!

Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring Mike Freedman

No. Time Source Destination Protocol Info DNS Standard query A weather.noaa.gov

Appendix B RCS11 Remote Communications

Table 1 below is a complete list of MPTH commands with descriptions. Table 1 : MPTH Commands. Command Name Code Setting Value Description

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

How To Write A Profibus Dpl (Profibus) Program

SMS based remote control system

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

SRF08 Ultra sonic range finder Technical Specification

EnOcean Radio Protocol 2. September 26, 2013 SPECIFICATION V1.0. Subject to modifications EnOcean Radio Protocol 2 V1.0 Page 1/19

Fast and Secure Data Transmission by Using Hybrid Protocols in Mobile Ad Hoc Network

WAN Data Link Protocols

Computer Organization and Components

How To Test For 10 Gigabit Ethernet At 10 Gb/S

White Paper. Technical Capabilities of the DF1 Half-Duplex Protocol

A DNP3 Protocol Primer

Latency on a Switched Ethernet Network

8-bit Microcontroller. Application Note. AVR286: LIN Firmware Base for LIN/UART Controller. LIN Features. 1. Atmel LIN/UART Controller

Operating Systems and Computer Networks / Datenverarbeitung 2 / Data Processing 2

RFC 2544 Testing of Ethernet Services in Telecom Networks

RFID MODULE Mifare Reader / Writer SL030 User Manual Version 2.6 Nov 2012 StrongLink

Internet Architecture and Philosophy

Network Security TCP/IP Refresher

Netjack - Remote music collaboration with electronic sequencers

Distributed File System. MCSN N. Tonellotto Complements of Distributed Enabling Platforms

RPDO 1 TPDO 1 TPDO 5 TPDO 6 TPDO 7 TPDO 8

Chapter 2 - The TCP/IP and OSI Networking Models

The Temporal Firewall--A Standardized Interface in the Time-Triggered Architecture

ANTAL ELECTRONIC Field Bus and Communication Technology. Manual PDP2CAN. Version 3.08

Operating Systems and Networks Sample Solution 1

Transcription:

LOW COST AUTOMOTIVE NETWORKS Local Interconnect Network (LIN) TTP/A 1 J. Kaiser, IVS-EOS

Cost-Performance Trade-off! 2 J. Kaiser, IVS-EOS

LIN (Local Interconnect Network)! LIN Specification Package, Revision 1.2, Nov. 17, 2000! 3 J. Kaiser, IVS-EOS

Properties of LIN. single-master / multiple-slave concept. low cost silicon implementation based on common UART/SCI interface hardware, an equivalent in software, or as pure state machine.. self synchronization without quartz or ceramics resonator in the slave nodes. guarantee of latency times for signal transmission. low cost single-wire implementation. speed up to 20kbit/s. 4 J. Kaiser, IVS-EOS

Master-Slave communication in LIN! header! response! t! Interframe Gap! Header:! - serves for the synchronisation of slaves! - specifies the sequence and length of the fields in the data frame! 5 J. Kaiser, IVS-EOS

LIN (Local Interconnect Network)! LIN Specification Package, Revision 1.2, Nov. 17, 2000! time dependent master/slave protocol! only 1 slave! is allowed to! respond!! But all slaves receive! the response.! 6 J. Kaiser, IVS-EOS

LIN Specification Package, Revision 1.2, Nov. 17, 2000! 7 J. Kaiser, IVS-EOS

LIN Bit Coding Byte-oriented 8N1 (8 Databits, 1 Stop-bit) 8 J. Kaiser, IVS-EOS

LIN Specification Package, Revision 1.2, Nov. 17, 2000! Synch. Feld! 0x55! 9 J. Kaiser, IVS-EOS

LIN Specification Package, Revision 1.2, Nov. 17, 2000! 64 identifiers!! divided in 4 groups of! length: 2,4, and 8 bytes!! An ID identifies the! content of a message,! not the sender or receiver!! Slaves can be added or removed without changing any software in the other slaves.! 10 J. Kaiser, IVS-EOS

LIN Identifier Interpretation! identifier (4)! length field! check field! content-based addressing! 0 1 2 3 4 5 P0 P1! max. 8 Byte response frame! 2 byte! 16 x! 2 byte! 4 byte! 8 byte! reserved IDs:!Master request Frame (0x3C), Slave Response Frame (0x3D)!!!Extended Frames (User 0x3E, Reserved 0x3F)! 11 J. Kaiser, IVS-EOS

LIN Master Request Frame! Download of data to the slave.! Request of data from the slave.!! Multiple 8 byte fields possible!! Slave address is part of the command fields.! 12 J. Kaiser, IVS-EOS

LIN Extended Frame! slaves, whiche are not addressed (interested resp.)! wait until the next SyncBreak!! 13 J. Kaiser, IVS-EOS

LIN ID format! identifier (4)! length field! check field! 0 1 2 3 4 5 P0 P1! 1 1 1 1 1 1 0 1! 0 1 2 3 4 5 P0 P1! ID# Hex P0 P1 1st digit 2nd digit dec hex #byte" 7 6 5 4 3 2 1 0" 60a 0x3C 0 0 0 0 1 1 1 1 0 0 60 0x3C 8" 61b 0x3D 1 0 0 1 1 1 1 1 0 1 125 0x7D 8" 62c 0x3E 1 1 1 1 1 1 1 1 1 0 254 0xFE 8" 63d 0x3F 0 1 1 0 1 1 1 1 1 1 191 0xBF 8! 0x3F à 0xBF! 14 J. Kaiser, IVS-EOS

LIN Identifier Interpretation! 15 J. Kaiser, IVS-EOS

Error detection capabilties of LIN:! Bit-Error (Master or slave task is sending, detection by Bit monitoring) Identifier-Parity-Error (Master and/or Slave) Checksum-Error (slave tasks receiving) Slave-Not-Responding-Error (slave task in master node is receiving) Inconsistent-Synch-Field-Error (sync out of specified bounds) Detected errors are flagged locally only 16 J. Kaiser, IVS-EOS

TTP/A (Time Triggered Protocol for SAE class A applica7ons) H. Kopetz, W. Elemenreich, C. Mack: A Comparison of LIN and TTP/A, Research report 4/2000, Ins7tut für Technische Informa7k, TU Wien OMG Standard: Smart Transducer Interfaces (Document number - ORBOS/ 2001-06-03, June 18, 2001 17 J. Kaiser, IVS-EOS

General Architecture 18 J. Kaiser, IVS-EOS

TTP/A - real 7me data - round: up to 64 byte - broadcast - managment and configura7on data - diagnos7c interface - point- to- point 3 different interfaces for slaves: - RMI : Real- Time message Interface - DMI: Diagnos7c message Interface - CMI: Configura7on Message Interface 19 J. Kaiser, IVS-EOS

master- slave dialogue fireworks frame data frame t Interframe Gap <master-slave ("fireworks"), file op and identifier, record number, logical node name, check byte> mul7 partner round fireworks frame data frames t Interframe Gap 20 J. Kaiser, IVS-EOS

Data centric communica1on model - real 7me frames contain data only! - all data is stored in the Interface File System (IFS). - addresses to data are specified as IFS addresses. - addresses are specified in the round descrip7on list (RODL), i.e. the 7me slot in which the message is transmi]ed is fixed according to the TT model. Mul7partner Round data data data Round Descrip7on List: RODL baf: byte aaer fireworks op: opera7on IFS: IFS- Adresse p: protec7on (checksum) baf baf.. baf op, IFS, p op, IFS, p.. op, IFS, p The RODL is also stored in the IFS and can be configured via the CMI. There are max. 8 RODLs. RODL# is transmi]ed with a Hamming Distance of 4 (high protec7on against failures). 21 J. Kaiser, IVS-EOS

Programming model for smart transducers in the IFS 22 J. Kaiser, IVS-EOS

The address space of the Interface File System IFS Address contains: < node, file, record, byte, checksum> 2 8 2 6 2 8 2 2 up to 256 nodes every node in the IFS supports: up to 64 files up to 256 records with 4 bytes each i.e. an address space of 2 16 bytes/node. and how to address the nodes? 23 J. Kaiser, IVS-EOS

Every Smart Transducer has a unique physical name (8 bytes) consis7ng of: - a node type name (series number) - a node name within series (serial number) During opera7on a node is addressed by a one- byte logical name that is unique within a cluster (i.e. up to 256 nodes/cluster). The assignment of a logical name to a node is called bap7zing and can be performed on- line. Low cost nodes can have preprogrammed logical names. During opera7on a node is addressed by: <Cluster Name, Node Name, File Name, Record Name> 24 J. Kaiser, IVS-EOS

General architecture of a TTP/A system global name of a data item: <cluster name, node name, file name, record name> externes System Master.............. Master Smart Transducers Cluster Cluster h]p://www.omg.org/docs/formal/03-01- 01.pdf 25 J. Kaiser, IVS-EOS

Integra7ng a TTP/A system in CORBA 26 J. Kaiser, IVS-EOS

LIN and TTP/A common properties and goals - Master/Slave protocols - low dependability requirements - free- runing low cost oscillators should be possible - physical Single- Wire- Network (asynch. serial interface) - low bandwidth requirements - low cost 27 J. Kaiser, IVS-EOS

Comparison LIN und TTP/A (response time and protocol efficiency) Kopetz, Elmenreich, Mack, TU Wien, 2000 protocol overhead response time 28 J. Kaiser, IVS-EOS