Automotive Communication Protocols - New
Automotive Communication Protocols - New
KPIT
Usage Guidelines
KPIT Technologies Limited believes the information in this document is accurate as of its publication
date; such information is subject to change without notice. KPIT Technologies Limited acknowledges
the proprietary rights of other companies to the trademarks, product names and such other
intellectual property rights mentioned in this document. Except as expressly permitted, neither this
documentation nor any part of it may be reproduced, stored in a retrieval system, or transmitted in
any form or by any means, electronic, mechanical, printing, photocopying, recording or otherwise,
without the prior permission of KPIT Technologies Limited and/ or any named intellectual property
rights holders under this document.
• The past few decades have witnessed an exponential increase in the number and
sophistication of electronic systems in vehicles.
• Today, the cost of electronics in luxury vehicles can amount to more than 40 percent
of the total manufacturing cost
• The growth of electronic systems has had implications for vehicle engineering. For
example, today's high-end vehicles may have more than 4 kilometers of wiring—
compared to 45 meters in vehicles manufactured in 1955.
• The resulting demands on power and design have led to innovations in electronic
networks for automobiles
• In the past, wiring was the standard means of connecting one element to another.
• Added wiring increased vehicle weight, and weakened performance made adherence
to reliability standards difficult
• Today's control and communications networks, based on serial protocols, counter the
problems of large amounts of discrete wiring
• Transfers data among distributed electronic modules via a serial data bus
• Makes the wiring connections simple & helps in easy fault detection
• Data can be shared, thus eliminating the need for redundant sensors
• Provides greater vehicle content flexibility as functions can be added or deleted with
ease
• The early days of networking involved proprietary serial buses using generic UART
(Universal Asynchronous Receiver/Transmitter) or custom devices
• Proprietary protocols pose many difficulties with suppliers who need many special system
designs to conform to the different protocols
• Standard protocols allow modules from many suppliers to easily link together forming a
type of `open architecture.'
• An open architecture will allow standardized diagnostic and emissions testers and will
allow suppliers to benefit from the economies of scale of mass-produced standard
protocol devices.
• Common sensor and control data, such as vehicle speed, engine temperature, etc. are
available on the network, so data can be shared, thus eliminating the need for
redundant sensors
• Engine Control
– Helps to monitor engine conditions (overheating, transmission status, etc) from the
operator station and automatically control vehicle load conditions to prevent engine
stall.
– Multiplexing simplifies the hardware / software interface and makes it easier to locate
problems and alert operators
• Modules are programmed for their use within the system and are linked using a CAN
network. The system functionality can be rapidly changed by modifying the software, often
without changing or adding new hardware. This modular design makes such modifications
easy to perform and reliable in use.
• Easier for vehicle manufacturer to source ECUs and integrate them into the
automobile
Brake
Controller
Body
Controller
Multiplexing
Scheme
Door
Relays
• This data wire will then be used to send special commands to the different
components
• Adding ground and feed to the data wire, 13 lines are saved in the example above
• The components in a multiplexed electrical system must contain logic that enables
them to react on certain messages on the bus (e.g. start a stepping motor, light a
LED, or give an answer with a sensor reading)
• Further it is required that a certain communication protocol is used on the bus over
which the components talk
• In today’s modern vehicles (especially cars), there are several different multiplexed
systems covering a number of functions
• As the safety-, performance- and legally related requirements (OBD) differ, so does
the network type
• An example of a car making fully use of multiplexed electrical systems, that might be
a reality in the not so far future, can be seen in the next slide.
• Intramodule Communication:
– Data sharing inside a node
– Eg. SPI,SCI,8/16/32-bit parallel address/ data interfaces etc.
• Intermodule Communication:
– Data sharing between ECUs
– Serial channel involving relatively large distances
• Earlier many of the networks that were built used different hardware and software
implementations.
• They were incompatible and it became difficult for networks using different
specifications to communicate with each other.
• The ISO recognized there was a need to create a NETWORK MODEL that would help
vendors create interoperable network implementations.
• The model was developed by the International Organization for Standardization (ISO)
in 1984
• The OSI model describes how information or data makes its way from application
programmes (such as spreadsheets) through a network medium (such as wire) to
another application programme located on another network
• The OSI reference model divides the problem of moving information between
computers over a network medium into SEVEN smaller and more manageable
problems
• The OSI Reference Model is composed of seven layers, each specifying particular
network functions
• The process of breaking up the functions or tasks of networking into layers reduces
complexity
• Each layer provides a service to the layer above it in the protocol specification
• Each layer communicates with the same layer’s software or hardware on other
computers
• The lower 4 layers (transport, network, data link and physical —Layers 4, 3, 2, and 1)
are concerned with the flow of data from end to end through the network
• The upper four layers of the OSI model (application, presentation and session—
Layers 7, 6 and 5) are orientated more toward services to the applications
• Data is Encapsulated with the necessary protocol information as it moves down the
layers before network transit
• The three upper layers, are collectively concerned mainly with software application
issues and not with the details of network and internet implementation
• Electromagnetic noise is produced in the source due to rapid current and voltage
changes, and spread via the coupling mechanisms (conductive, inductive, capacitive,
magnetic, radiative).
• Class A
• Class B
• Class C
• Class D
• Emissions/Diagnostics
• Mobile Media
• X-by-Wire
• A multiplex wiring system which reduces wiring by transmitting and receiving multiple
signals over the same signal bus
• The multi-purpose bus replaces individual wires performing the same function
• Normally Class A defines general purpose UART communication with bit rates 10kbps to
125kbps
• Most of the Class A functions require inexpensive, low-speed communication and typically
utilize generic UARTs
1. A multiplex wiring system which reduces wiring by using real-time high-data signals
• Consists of data bus used to carry data at the rate higher than 10 Mbps
• Mainly used to carry real time data such as car navigation and also used transferring
car multimedia
• Is the collective term for the addition of electronic systems into the vehicle to
enhance and replace tasks that were previously accomplished via mechanical and
hydraulic systems
• Most topologies in vehicle networks may be implemented with one wire, two wire
and fiber optics
• The nodes can be connected in various topologies, Bus and ring topologies being the
most common ones
• It’s a good idea to use the same physical layer circuit at each and every node on the
network. However, as different nodes may have different requirements, gateways can
be used to provide interface between different media types
• High speed
– To meet increasing data processing requirements, future
systems and concepts must be able to support high
communication bit rates, with all that this implies in terms of
physical layer performance, transmission quality, internode
synchronization, etc.
• X-by-Wire
– The generic term X-by-Wire conceals all applications using
‘systems controlled by wire links’, and therefore not having ‘any
control provided via a mechanical interface’.
• High efficiency
– The devices must be optimized in every possible way, up to the physical limits of the
principles followed and the components of the physical layer
• Speed of communication
– Because of the larger amount of data to be conveyed, and the increase in the content
and quality of the data, the bit rate of the high-speed CAN network (1Mbps) used
hitherto is no longer sufficient
– The gross bit rate required for these new systems must be of the order of 10 Mbps on a
‘single-channel’ medium (net bit rate approximately 5Mbps) or on a ‘two-channel’
structure at a higher rate with the possibility of redundancy
• Physical layer
– The physical medium used for the communication must be capable of being supported
by at least two different technologies, for example wire (differential pairs, for example)
and optoelectronic (plastic optical fibers, for example), and must allow the network
nodes to be put into sleep mode and woken up by means of the medium in question
– Signals traveling along the physical layer must not pollute the radio-frequency band
(low emission of radio interference) and must have a high immunity to external signals
– Containment errors must be managed with the aid of an independent bus monitoring
element, called the ‘bus guardian’
• Numerous protocols are already found in top-range vehicles or concept cars, in the
form of ‘wired multiplexed’ systems
• Each has its own characteristics relating to speed, possibilities, performance and cost
• The most popular names are HS, LS CAN, TTCAN, LIN, I2C, D2B, MOST, IEEE 1394, X-
by-Wire, FlexRay, Safe-by-Wire, etc.
• High-speed CAN
– The links in the power section, including the engine control, gearbox and brake, are
provided by a high-speed CAN link, because of the numerous exchanges that must take
place at high speed (250 kbps or more generally 500 kbps and 1Mbps)
• Low-speed CAN
– It forms an integral part of the design of the vehicle, although to a (supposedly) slightly
lesser degree.
– These links primarily serve the nodes located in the passenger compartment (body part)
areas.
– The conventional speeds used (often 125 kbps) cover links between nodes such as the
‘openings’ (doors, opening roofs, boots) and also seat adjustments.
– Considered by its designers as a sub-bus of CAN, LIN is mainly used for low-speed links
(maximum 20 kbps)
– Used mainly for electrically controlled adjustment, heating and rear view mirror folding,
within the ‘door’ function
– the devices controlled by these protocols are such as steering column systems, brake,
clutch, suspension, road holding systems, etc.
– These critical applications requires high speeds (of the order of 7–10 Mbps)
• Safe-by-Wire
– Used for point-to-point links for safety systems, such as the airbag triggering systems
and safety belt pre-tensioning devices
– These links, directly related to the physical safety of the vehicle occupants, must be able
to operate as soon as there is an impact on the vehicle
– They are based on principles of fast communication between the detected data (impact
detector, accelerometer, inertial controller, etc.) and the squib actuators, seat belt pre-
tensioning and other devices
• I2C bus
– I2C (inter-integrated circuit), the ancestor of these systems, is still the bus most
commonly used for mass production vehicles, mainly for providing links for control
commands (stop, play, change tracks, etc.) between the car radio and the CD changer
located in the boot
• D2B bus
– For a long time, D2B (domestic digital bus) was the main bus used for transferring
digital audio data to car radios from conventional CD audio players which are often
located in the boots of vehicles
– MOST (media-oriented systems transport) is a bus having the primary function of audio
distribution in the vehicle
– It is also used for video applications in a vehicle, when the bit rates can be adapted to
the on-board applications
• Radio-frequency communications
– Still in the field of internal applications, there are numerous applications using a
radiofrequency medium for digital communications
• Radio
– Namely the AM/FM/digital radio receiver, which may or may not have antennae
incorporated in the windscreen or in a rear screen system
• RFID
– applications in the reception departments of garages, branches, dealers, etc.
– applications in passive entry systems
– applications in anti-theft or anti-intruder systems
• TPMS
– The TPMS is designed to measure the individual tyre pressures, correct them according
to the tyre temperature and transmit them to the driver; it sends these data or alerts at
radio frequency (433, 868 or 915 MHz, depending on the country) every 1 or 2 min
when everything is running smoothly, or much more frequently if there is a problem.
• Technologies such as GSM and Bluetooth are also used in Telematics applications
• The CAN-Ethernet Gateway enables the integration of CAN buses to existing Ethernet
topology
• This allows for applying the CAN-Ethernet Gateway to high-layer protocols such as
CANopen or DeviceNet. The access via Ethernet is possible over TCP and UDP
• Transfers data among distributed electronic modules via a serial data bus. Combine
signals on a single wire through multiplexing.
• An open architecture will allow standardized diagnostic and emissions testers and will
allow suppliers to benefit from the economies of scale of mass-produced standard
protocol devices.
• Modules are programmed for their use within the system and are linked using a CAN
network. The system functionality can be rapidly changed by modifying the software,
often without changing or adding new hardware.
• This modular design makes such modifications easy to perform and reliable in use.
• For automotive applications, one assumes that errors are going to occur and the goal
is to be as fault tolerant as possible
• Numerous protocols are already found in top-range vehicles or concept cars, in the
form of ‘wired multiplexed’ systems
• Each has its own characteristics relating to speed, possibilities, performance and cost
• The most popular names are HS, LS CAN, TTCAN, LIN, I2C, D2B, MOST, IEEE 1394, X-
by-Wire, FlexRay, Safe-by-Wire, etc.