100% found this document useful (2 votes)
379 views15 pages

Understanding CAN Protocol Basics

Trupti Ranjan Behera gave a presentation on Controller Area Network (CAN) at the National Institute of Science & Technology. CAN is a serial communication protocol originally developed for automotive applications but now used in industrial automation. The presentation covered how CAN works using CSMA/CD+AMP, bus arbitration, error detection, error modes, and CAN application layers. It concluded that CAN provides fast and robust message transmission well-suited for systems that need to transmit small amounts of information.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
379 views15 pages

Understanding CAN Protocol Basics

Trupti Ranjan Behera gave a presentation on Controller Area Network (CAN) at the National Institute of Science & Technology. CAN is a serial communication protocol originally developed for automotive applications but now used in industrial automation. The presentation covered how CAN works using CSMA/CD+AMP, bus arbitration, error detection, error modes, and CAN application layers. It concluded that CAN provides fast and robust message transmission well-suited for systems that need to transmit small amounts of information.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

TECHNICAL SEMINAR PRESENTATION

National Institute of Science & Technology

CAN- CONTROLLER AREA


NETWORK
Presented by
TRUPTI RANJAN BEHERA
Roll no: EI200127089
Under the Guidance
of
Mr. BHAWANI SHANKAR PATTNAIK
CAN- CONTROLLER AREA NETWORK

INTRODUCTION
National Institute of Science & Technology

 Is a high-integrity serial data


communications bus for real-time control
applications.
 Has excellent error detection and
confinement capabilities.
 Was originally developed for use in cars but
now used in industrial automation and
control applications .
Presented By: TRUPTI RANJAN BEHERA, EI200127089
CAN- CONTROLLER AREA NETWORK

HOW CAN WORKS


National Institute of Science & Technology

USES CSMA/CD+AMP

 Principles Of Data Exchange


Based on Broadcast Communication Mechanism
 Message Based Communication
Message based not address based
Request information from other nodes
Additional nodes can be added

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

HOW CAN WORKS


National Institute of Science & Technology

 Classification Of Bus Allocation Procedures


Allocation on Fixed Time Schedule
Bus Allocation on The basis of Need
 Types Of Frames
Data Frame
Remote Frame
 Bit Encoding

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

BUS ARBITRATION
National Institute of Science & Technology

 The CAN bus physical layer is normally a


twisted pair.
 Recessive bit
 Dominant bit
 Non-Destructive Bit-wise Arbitration
 Benefits.

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

CAN MESSAGE FORMAT


National Institute of Science & Technology

 STANDARD CAN PROTOCOL

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

CAN MESSAGE FORMAT


National Institute of Science & Technology

 EXTENDED CAN PROTOCOL

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

The CAN error process


National Institute of Science & Technology

The error is detected by the CAN


controller (a transmitter or receiver).
An error frame is immediately transmitted.
The message is cancelled at all nodes.
The statuses of the CAN controllers are
updated.
The message is re-transmitted.

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

ERROR DETECTION
National Institute of Science & Technology

At the message level:


Cyclic Redundancy Checks (CRC)
Frame Checks

Acknowledgment Error Checks


At the bit level:
Bit Error

Bit Stuffing

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

ERROR MODES
National Institute of Science & Technology

Error Active
Error Passive
Bus-Off

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

BIT Timing & Synchronization


National Institute of Science & Technology

 BIT Time

 Synchronization
Two mechanisms are used to maintain
synchronization.

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

CAN and the OSI Model


National Institute of Science & Technology

 The CAN specification discusses only the


Physical and Data-Link layers for a CAN
network.
 The Data-Link Layer
 The Physical Layer

Presented By: TRUPTI RANJAN BEHERA, EI200127089


CAN- CONTROLLER AREA NETWORK

CAN APPLICATION LAYERS


National Institute of Science & Technology

 CAL
 CANopen
 PCAL
 DeviceNet
 SDS
 CAN Kingdom
 TTCAN
Presented By: TRUPTI RANJAN BEHERA, EI200127089
CAN- CONTROLLER AREA NETWORK

CONCLUSION
National Institute of Science & Technology

 The CAN protocol was optimized for


systems that need to transmit and receive
relatively small amounts of information .
 Fast, robust message transmission with
fault confinement is a big plus for CAN
 The CAN serial bus system is used in a
broad range of embedded as well as
automation control systems
Presented By: TRUPTI RANJAN BEHERA, EI200127089
CAN- CONTROLLER AREA NETWORK
National Institute of Science & Technology

Presented By: TRUPTI RANJAN BEHERA, EI200127089

You might also like