Automotive Networking: Course Learning Objectives (Clos)
Automotive Networking: Course Learning Objectives (Clos)
(EC2341-1)
Dr. Bommegowda K. B.
Assistant Professor
Department of Electronics and Communication Engineering
UNIT – I
Introduction:
AUTOSAR Basics, Software Components & Application
Layer. The various networking options, the connected
vehicle: Communication, LIN, SENT.
09 Hours
UNIT – II
15 Hours
UNIT - III
Variants of Ethernet PHY used in Automobiles:
The variants of Ethernet PHY used in automobiles: 100 M
bit/s Ethernet in automobiles, Automotive Ethernet at 1
Gbit/s, multi-Giga Ethernet in automobiles, Automotive
Ethernet at 10 Mbit/s, Power over Ethernet - PoE IEEE
802.3bu, Deterministic, real-time, and automotive Ethernet.
16 Hours
6
Text Book:
• Dominique Paret and Hassina Rebaine, “Autonomous and Connected
Vehicles Network Architectures from Legacy Networks to
Automotive Ethernet", Wiley, 2022.
Reference Books:
• Bosch, “ Automotive Handbook", 11th Edition, Wiley, 2022.
• Gilbert Held, “Inter- and intra-vehicle communications", Auerbach
Publications, 2008.
9
Background
10
1. Historical Context:
Initially, vehicles relied on isolated systems with minimal electronic
communication. With the rise of ECUs, a need for reliable
communication emerged, leading to the development of protocols like
CAN in the 1980s.
2. Key Components:
Electronic Control Units (ECUs):
Mini-computers that manage specific functions, such as braking or
engine control.
Communication Protocols:
Standards enabling seamless data exchange across components.
11
4. Advancements:
• Introduction of high-speed protocols like FlexRay for safety-critical
systems.
• Adoption of Ethernet and wireless technologies to support bandwidth-
intensive applications like autonomous driving and multimedia
streaming.
5. Future Trends:
• Increasing focus on cybersecurity to protect against threats.
• 5G and IoT integration for real-time data sharing and smart vehicle
ecosystems.
• Development of software-defined vehicles that can adapt and update
functionalities over time.
12
13
14
AUTOSAR
[AUTomotive Open Systems Architecture]
• It is a worldwide development partnership of automotive interested
parties founded in 2003.
15
AUTOSAR ensures standardized interfaces for SWCs in
the application layer & application SWC help in
generating simple applications to support the vehicle
functions.
Communication b/w SWC is enabled via specific ports
using a VFB.
▪ Benefits of AUTOSAR
1. More efficient development for all manufacturers.
2. Increased speed of development.
3. Reduced development time for interfaces b/w
vehicle sub-systems.
4. Improved safety through standardization.
16
Scalability
G Transferability of
software
O Safety requirements
A Sustainable utilization of
natural resources
L
Maintainability throughout the
S whole Product Life Cycle
18
Fig. 1. Simplified component view / Block diagram of AUTOSAR/ ECU Software architecture
19
21
• Client/Server Ports
Where server is a provider of a service & the client is a user
of a service.
22
AUTOSAR Methodology
• AUTOSAR requires a common technical approach for
some steps of system development.
24
Design steps go from the system-level configuration to the generation of an ECU executable.
25
AUTOSAR Interfaces
• These are used in defining the ports of SWC and/or BSW
modules.
1. AUTOSAR Interface
2. Standardised AUTOSAR Interface
3. Standardised Interface
26
27
Around 80 Basic Software modules have been defined (11
main blocks + Complex Drivers).
• The VFB communicates via dedicated ports, which means that the
communication interfaces of the application software must be mapped
to these ports.
• The VFB handles communication both within the individual ECU and
between ECUs.
29
31
• Bitrates
• lengths
• media types
• topologies
• data collision management
• overlap
• complement one another
• interlink
• constantly exchange data
35
2. Chassis Management
38
39
40
• Weight Distribution
• Absorb and Distribute Crash Energy
• Support Different Car Components
• Balance Car Structure
41
Passenger
Cockpit
compartment
Comfort Infotainment
zone zone
42
3 a. Cockpit
• The cockpit normally accommodates the driver, and contains all the
controllers for driving the vehicle.
• It also contains all the on-board instruments that provide the driver with
necessary information.
43
3 b. Passenger Compartment
• The classic controls that are necessary for the usual “working parts” of a
vehicle (doors, windows, trunk, roof, etc.) and to start and stop the vehicle
(immobilizers, using LF, UHF, HF (NFC), UWB, or other solutions via a mobile
phone).
• In the passenger zone where the data rates of the controls are medium and
latency is not a highly critical issue.
• The main protocols used - CAN, CAN FD, CAN XL, LIN, and SENT, except for
the purposes of infotainment, which will come through Ethernet.
44
3 c. Comfort Zone
• The controls for the comfort of the cabin (heating, air conditioning,
ventilation, etc.) do not require high data rates, and generally use CAN Low
Speed at 125 kbps or standard CAN FD, and XL at around 500 kbps in some
cases.
45
3 d. Infotainment zone
• An infotainment system in a vehicle provides a combination of entertainment
and information for the occupants. It can include features like:
• Entertainment: Radio, music, videos, and streaming
• Communication: Voice calls, text messages, emails, & social networking
• Navigation: Driving information and navigation tools
• Mobile device mirroring: Mirroring a mobile device's screen on the
vehicle's screen
46
4. Communications Management
V2V - Vehicle-to-Vehicle V2I - Vehicle-to-Infrastructure
I2V - Infrastructure-to-Vehicle V2X - Vehicle-to-Everything
V2P - Vehicle-to-Pedestrian V2C - Vehicle-to-Cloud
V2D - Vehicle-to-Device
47
a. in-in
b. in-out
c. in-out-in
1.3 V2X
1.4 DSRC/ITS-G5
49
50
1. Communication
54
1.2 Communication Standards
58
59
without using a cellular network to allow this type of C-V2X works with
vehicles to communicate with other connections to mobile infrastructures
vehicles such as LTE (4G) and 5G
1.5 5G NR C-V2X
(5G New Radio Cellular-based V2X)
Applications of 5G NR C-V2X
• Connected autonomous driving.
5. Flexray
64
65
• Master also functions as a gateway to the Chassis CAN, the Body CAN & the
Diagnostics CAN.
66
67
1. Characteristics
Master/slave access control
Deterministic signal transmission
Communication in the form of very short messages
Character-based transmission (UART)
Bit rate max. 20 kbps
Data transfer over an unshielded single wireline
Max. bus length 40 m
Max. no. of nodes 16, typically fewer than 12
68
2. Applications:
Door module with door lock, power-window drive &
door-mirror adjustment
69
3. Message format
70
71
Break: Marks the start of frame. It is used to enable all the slaves to listen to the upcoming
parts of the header.
Sync: It allows the slave devices to adjust their internal baud rates to synchronize with the
bus.
Identifier: provides identification for each message & specifies which nodes in the n/w
needs to receive or respond to each transmission.
Response Space: time gap b/w the ID field & the first data byte message response part of
the LIN frame.
Checksum: LIN bus defines the use of one of two checksum algorithms to calculate the
value in the 8-bit checksum field.
72
SENT (Single Edge Nibble Transmission)
73
74
1. Hardware
• The SENT protocol is a one-way, asynchronous voltage interface
which requires three wires:
o a signal line (low state < 0.5V, high state > 4.1V)
o ground line
76
77
78
• A calibration/synchronization pulse (56 clock ticks)
• A pulse corresponding to a nibble (4 bits) containing status information and
communication (between 12 and 27 clock ticks)
• A sequence of between 1 and 6 data nibbles (each between 12 and 27 clock
ticks), representing the values of the signals that need to be communicated.
• A nibble for the error detection code (between 12 and 27 clock ticks)
• An optional pause pulse – if used, this compensates for the variable duration
of the messages.
79
80
• Receiver i/p is formed by the parasitic capacitance of the i/p pin & its ESD
protection, & the 560Ω/2.2nF EMC LPF to suppress RF noise coupled to the
communication line.
• Open-drain o/p pin on the MCU pulls down the communication line to generate
the Master Trigger pulse.
• Tx provides a bidirectional open-drain I/O pin with an EMC filter to suppress the RF
noise coupled to the communication line.
• Communication line is pulled down by its o/p driver to generate the SENT pulse
sequence
81
Automotive Networking
(EC2341-1)
UNIT – II
CAN and FlexRay
Dr. Bommegowda K. B.
Assistant Professor
Department of Electronics and Communication Engineering
UNIT – II
CAN and FlexRay:
1. Applications:
• Classification based on the field of application
concerned.
2. Topology used
• Bus topology
• All network nodes are connected to a
bus & each node is able to receive all
information sent on the bus.
• Failure of one station would not
affect the functionality of the data
TX 'ion s/m.
• Star topology
• Achieves a high level of flexibility in
adapting to the networking task.
• Coupler is used to build a star
topology & simply forwards the
messages to the individual segments.
8
Voltage level of the low-speed CAN Voltage level of the high-speed CAN
(CAN-B) (CAN-C)
11
4. CAN Protocol
13
5. Message format
Message transfer is based on 4 different frame formats
14
• Sending:
Host processor sends the transmit message to a
CAN controller, which transmits the bits serially
onto the bus
• Receiving:
it converts the data stream from CAN bus levels to
levels that the CAN controller uses.
It has protective circuitry to protect the CAN
controller.
• Transmitting:
it converts the data stream from the CAN controller
Basic-CAN module to CAN bus levels.
17
18
Properties of CAN FD
• Only the protocol controllers may need to be reinforced with CAN FD.
19
• two arbitration phases (one at the start & one at the end of the frame)
• third data phase in the center of the frame, which may be at a higher
data rate.
21
CAN XL (CAN Extended data-field Length)
• CAN XL is intended for backbone and sub-backbone network applications.
• The 3rd generation of the CAN protocol builds upon the well-known
arbitration principle used in CAN CC and CAN FD.
• CAN XL retains the robustness and reliability of CAN CC and CAN FD.
22
23
Applications of CAN XL
• In-vehicle networks
provides increased flexibility for network topologies and bit rates.
It allows to connect of CAN networks to an Ethernet backbone,
supporting the trend towards software-defined vehicles (SDV).
• Industrial automation
used to integrate embedded control networks, to simplify system
integration in robot applications and automated-guided vehicles (AGV).
24
CAN XL data link layer (DLL)
• CAN XL DLL supports data fields in the range from 1 byte to 2048 byte.
25
• The data frame type XLFF of variable length performs and controls
data transmission and reception between CAN XL nodes.
• The XL data frame can transmit 1 byte to 2048 bytes in the data
field, while the data length can change in one-byte steps.
• CAN XL nodes can transmit and receive all frame formats specified
in ISO standards.
• On transmission, an LLC frame is converted into a MAC frame.
• On reception, a MAC frame is converted into an LLC frame.
27
CAN SIC (CAN Signal Improvement Capability)
28
The main targets for the “CAN SIC XL” transmitter used
with CAN XL are:
29
30
CAN SIC XL transceiver
• For higher bitrates (10 Mbps and above) the CAN SIC
XL transceivers and CAN SIC specified in CiA 610-3 are
suitable.
31
32
Fig. Block diagram of CAN SIC and SIC XL Line driver (TJA146x from NXP)
33
FlexRay
• It supports open & closed-loop control
technologies in the automotive sector.
34
1. Characteristics
- Deterministic transfers possible.
35
2. Topology
• Point-to-point
• Bus topology
• Star topology
➢ Passive star topology
➢ Active star topology
• Cascaded star topologies
• Hybrid topologies
• Two-channel topologies
36
3. Event-triggered & time triggered aspects
1. Event-Triggered Communication
• It is based on the occurrence of specific events, such as sensor readings or actuator
activations.
• Key Features:
o Dynamic Segment: FlexRay uses a dynamic segment in its communication cycle
for event-triggered communication.
o Flexible Bandwidth: This segment is used to send messages that are not time-
critical or have variable timing requirements.
o Dynamic Priority: The messages are transmitted based on a priority mechanism
using a mini-slotting technique (similar to CAN arbitration).
• Advantages:
o Efficient for asynchronous messages.
o Allows on-demand communication when an event occurs.
37
2. Time-Triggered Communication
• Key Features:
o Static Segment: FlexRay allocates a static segment for time-triggered
communication.
o Global Synchronization: Nodes are synchronized to a global clock,
ensuring precise timing.
o Deterministic Slots: Each node is assigned specific time slots for
communication.
• Advantages:
o Predictable and deterministic communication, crucial for safety-critical
systems.
o Avoids collisions and ensures timely delivery of messages.
38
• Benefits:
39
4. Applications
• Time-Triggered: Used in systems where timing is
critical, such as powertrain control, ADAS, and braking
systems.
40
FlexRay Hardware
41
42
Host Professor:
It gathers information from the sensors, which is forwarded to the CC for transmission.
Information received by the CC is forwarded to the actuators for processing.
44
Null frame:
Indicates a null frame that contains
no usable information.
Sync frame:
This frame is intended to be used
for s/m synchronisation
Startup frame:
Startup frames are used in the n/w
starting phase
Payload:
Max. length of 254 bytes.
Transfers the payload i.e. further
processed by host processor.
Trailer:
Contains a single field in which a 24-bit CRC
MOST (Media Oriented Systems Transport)
• It is specifically developed for the networking of infotainment
systems in vehicles.
• Requirements
Transmission of multimedia data requires a high data rate & a
synchronization of the data transfer between source & sink.
Features
• Supports the logical networking of up-to 64 devices
• Offers a data rate of 24.8 Mbps (MOST 25)
• Versions with higher data rates of 50 Mbps (MOST 50) &
150 Mbps (MOST 150) 46
Topology
• One of the device acts as the “timing master”
47
Device model
48
Interface of an application
It is the driver layer through is realized as a FBlock.
which applications &
system services have access Each device must at least
to the NIC. implement a special
FBlock, NetBlock, which is
required for management
functions within the
system.
• Data Transfer
- It is organized into data frames, which are generated by
the timing master with a fixed data rate & passed on by
subsequent devices in the ring.
50
51
Initial data byte of the frame includes
the information for synchronization
of data transfer.
53
54
Fig. Physical layer of LVDS in point-to-point mode
55
Automotive Networking
(EC2341-1)
UNIT – III
Variants of Ethernet PHY used in Automobiles
Dr. Bommegowda K. B.
Assistant Professor Grade-III
Department of Electronics and Communication Engineering
UNIT - III
Variants of Ethernet PHY used in Automobiles:
The variants of Ethernet PHY used in automobiles: 100 M
bit/s Ethernet in automobiles, Automotive Ethernet at 1
Gbit/s, multi-Giga Ethernet in automobiles, Automotive
Ethernet at 10 Mbit/s, Power over Ethernet - PoE IEEE
802.3bu, Deterministic, real-time, and automotive Ethernet.
16 Hours
TEXTBOOK:
T1. Dominique Paret and Hassina Rebaine, “Autonomous and Connected Vehicles
Network Architectures from Legacy Networks to Automotive Ethernet”, Wiley, 2022.
2
Background
• A LAN is a data communication n/w connecting various
terminals or computers within a building or limited
geographical area.
• Example:
➢ Ethernet
➢ Token rings
➢ Wireless LAN
Ethernet
5. Interoperability: allows devices from different manufacturers to communicate with each other
seamlessly.
12. Scalability: It can easily accommodate the addition of new devices, users, and applications.
13. Broad compatibility: Ethernet is compatible with a wide range of protocols and technologies.
14. Ease of integration: Ethernet can be easily integrated with other networking technologies.
5
Advantages of Ethernet
1. Speed:
When compared to a wireless connection, Ethernet
provides significantly more speed.
2. Efficiency:
It consumes less electricity, even less than a Wi-Fi
connection. As a result, these ethernet cables are thought
to be the most energy-efficient.
• Standard Ethernet, widely used in LAN & WAN since its 1980 launch
and 1983 IEEE standardization, was initially unsuitable for
automotive applications due to its susceptibility to noise &
interference.
• Automotive Ethernet utilizes single twisted pair cables for full duplex
communication, which are lighter & can be either shielded or
unshielded.
8
The main variants of automotive Ethernet PHY include:
Multi-Gig
Variant 100BASE-T1 1000BASE-T1 10BASE-T1S 10BASE-T1L Automotive
Ethernet (2.5G,
5G, 10GBASE-
Parameter T1)
Speed 100 Mbps 1 Gbps 10 Mbps 10 Mbps 2.5G, 5G, 10G
Cable Single twisted Single twisted Single twisted Single twisted Single twisted
pair pair pair pair pair
Standard IEEE 802.3bw IEEE 802.3bp IEEE 802.3cg IEEE 802.3cg IEEE 802.3ch
10
11
Applications of 100BASE-T1 in Vehicles
Camera Systems: High-resolution surround-view, rear-view, and
driver-monitoring cameras.
Radar and LiDAR Sensors: Used for ADAS features such as collision
avoidance and adaptive cruise control.
12
14
Physical layer in BroadR-Reach
Transmission Medium
•Single twisted pair cable reduces weight and cost compared to standard Ethernet
•Length: Typically, up to 15 meters (can be extended using repeaters)
•High immunity to electromagnetic interference (EMI)
At a data rate of 100 Mbps, BroadR-Reach is most suitable for Passive ADAS
applications, because active ADASs require lossless video, for the image
recognition algorithms to function properly.
16
17
Key Features of 1 Gbit/s Automotive Ethernet (1000BASE-T1)
• Single Twisted Pair Cable – Uses a single UTP cable for cost efficiency
and reduced weight.
18
19
• IEEE 802.3 (Standard for Ethernet Physical for Greater than 1 Gb/s Automotive Ethernet)
• Applications:
➢ in connected vehicles
➢ ADAS
➢ onboard infotainment equipment
23
Power over Ethernet – PoE IEEE 802.3bu
24