UNIT- III�In-Vehicle Communication & Connectivity
Syllabus
��Introduction & Need for Communication Between Vehicle Components��
Basics of CAN (Controller Area Network)
Basics of CAN (Controller Area Network)
The CAN Bus is the highway itself.
The CAN Bus Transceiver is the on-ramp and off-ramp system, converting your car's digital navigation data into physical movement on the road and vice versa.
The CAN Protocol Machine is the traffic management system, ensuring cars don't crash (arbitration) and rerouting them if there's a problem (error handling).
The Acceptance Filters are like the signs at your destination's parking lot—they only allow cars with a specific parking permit to enter.
The Receive Buffer is the parking lot where authorized cars wait until the owner comes to get them.
The Transmit Buffers are like your garage, where you prepare messages (cars) to be sent out onto the highway.
The Host Controller Interface is you, the driver, managing the cars in your garage and deciding which ones to take from the parking lot. The Interrupt is your car's GPS alerting you that a new message has arrived at the destination.
BUS Idle: This is the state of the bus when no messages are being transmitted. It signifies the end of one message and the readiness for another.
SOF (Start of Frame): A single dominant bit that marks the beginning of a message. It synchronizes all the nodes on the bus.
Arbitration Field: This field determines which message gets priority on the bus. When multiple devices try to transmit at the same time, they all send this field, and a process called bit-wise arbitration occurs. The message with the lower numerical Identifier value has higher priority and wins the arbitration.
Identifier: A unique 11-bit identifier that specifies the message's content and priority. For example, a message with the identifier 0x100 might contain engine temperature data, while a message with 0x200 might contain wheel speed data.
RTR (Remote Transmission Request) bit: A single bit that indicates if the frame is a data frame (RTR = 0) or a remote request frame (RTR = 1). A remote request frame is used to request a data frame from another node.
IDE (Identifier Extension) bit: This bit is '0' in a standard format frame, indicating that no extended identifier is present.
r (Reserved) bit: This bit is reserved for future use and is always '0'.
DLC (Data Length Code): A 4-bit field that specifies the number of bytes in the Data Field. It can indicate a length from 0 to 8 bytes.
Data Field: This field contains the actual data being transmitted, with a length from 0 to 8 bytes, as specified by the DLC.
CRC Field (Cyclic Redundancy Check): Used for error detection.
CRC Sequence: A 15-bit field containing the checksum calculated from the previous fields. The receiving node calculates its own checksum and compares it to this value. If they don't match, an error is detected.
DEL (Delimiter) bit: A single recessive bit that separates the CRC Sequence from the ACK Field.
ACK Field (Acknowledgment): This field confirms that the message was received correctly by at least one other node.
ACK Slot: A single recessive bit transmitted by the sender. Any receiver that successfully receives the message overwrites this bit with a dominant bit, providing a collective acknowledgment.
DEL (Delimiter) bit: A single recessive bit that separates the ACK Field from the EOF.
EOF (End of Frame): A 7-bit field of recessive bits that marks the end of the frame.
ITM (Intermission): A 3-bit field of recessive bits that acts as a buffer between frames. It ensures a minimum idle time before the next message can start.
Bus Idle: The bus returns to its idle state, ready for the next SOF bit to signal a new transmission.
Basics of LIN (Local Interconnect Network)
Steering wheel: Cruise control, wiper, climate control, radio
Comfort: Sensors for temperature, sun roof, light, humidity
Power train: Sensors for position, speed, pressure
Engine: Small motors, cooling fan motors
Air condition: Motors, control panel (AC is often complex)
Door: Side mirrors, windows, seat control, locks
Seats: Position motors, pressure sensors
Other: Window wipers, rain sensors, headlights, airflow
https://www.csselectronics.com/pages/lin-bus-protocol-intro-basics
Automotive Ethernet Overview
Data transfer Example
Protocol | Typical Speed | Primary Application |
LIN Bus | Up to 20 kbps | Low-cost, non-critical functions (windows, seats, interior lights) |
CAN Bus | Up to 1 Mbps | Safety-critical systems (engine, ABS, airbags) |
CAN FD | 2-5 Mbps (up to 8 Mbps) | Upgraded CAN for larger data payloads and faster diagnostics |
FlexRay | Up to 10 Mbps | High-speed, time-sensitive applications (drive-by-wire) |
Automotive Ethernet | 100 Mbps to 10 Gbps | ADAS, infotainment, domain controllers |
SerDes | 16 Gbps and higher | High-resolution camera feeds and displays |
National Institute of Information and Communications Technology (NICT) in collaboration with Sumitomo Electric and European partners. 1 petabit per second is equal to 1,000,000 gigabits per second.
Introduction to V2V and V2X Communication
V2V (Vehicle-to-Vehicle)
V2X (Vehicle-to-Everything)
Why V2X Matters
What is IoT (Internet of Things)?
The Internet of Things (IoT) refers to a network of physical devices ("things") that are embedded with sensors, software, and connectivity so they can collect, exchange, and act on data through the internet.
Examples of IoT devices
Smart Home → smart bulbs, thermostats, CCTV cameras, voice assistants.
Wearables → smartwatches, fitness trackers.
Automotive → connected cars, vehicle tracking, predictive maintenance.
Healthcare → remote patient monitoring, smart medical devices.
Industrial (IIoT) → factory sensors, robotics, predictive maintenance.
IoT = Things (devices) + Internet (connectivity) + Data (insights & action).
Hypertext Transfer Protocol
(Message Queuing Telemetry Transport)
ROLE OF IOT IN SDVs
IoT is the backbone of SDVs, enabling real-time connectivity, safety, autonomous functions, user personalization, and smart city integration.
Safety & Predictive Maintenance
Detects potential faults before failure (e.g., low battery, overheating).
Sends alerts for preventive maintenance, reducing breakdowns and accidents.
Connectivity & Communication
Enables Vehicle-to-Vehicle (V2V) and Vehicle-to-Infrastructure (V2I) communication.
Supports V2X (Vehicle-to-Everything) for integration with pedestrians, traffic signals, and smart roads.
Real-Time Data Collection
IoT sensors collect continuous data on engine health, tire pressure, battery status, braking, speed, GPS location, etc.
Provides valuable input for decision-making in autonomous driving.
Autonomous Driving Support
IoT provides high-resolution sensor data (cameras, LiDAR, radar, ultrasonic sensors).
Enables ADAS (Advanced Driver Assistance Systems) like lane-keeping, collision avoidance, and adaptive cruise control.
CONTINUE…
Security & Compliance
Enhanced User Experience
Fleet & Mobility Management
Smart City Integration
Data-Driven Insights
Examples of Connected Features in SDVs
Connected Infotainment
Real-time navigation, music streaming, voice assistants.
Remote Lock/Unlock – Control vehicle access using a smartphone app.
Remote Climate Control – Start AC/heater before entering the car.
Vehicle Health Monitoring – Get alerts for tire pressure, battery, or service needs.
Over-the-Air (OTA) Updates – Software updates without visiting service centers.
Integration with Smart Devices – Sync with smart home devices (garage door, lights).
Emergency Assistance – Automatic SOS alerts in case of accidents.