SlideShare uma empresa Scribd logo
1 de 17
 Introduction
 CAN history
 CAN Data frames
 Arbitration
 Control and Data fields
 Before CAN
 After CAN
 Applications
 Advantages
 Limitations
 The CAN is serial communication protocol that supports real time systems with
high reliability. It detects the collisions; it also detects the errors, retransmits
corrupt messages and gives priority to the received and transmitted messages.
 The identifier length can be either 11 bits or 29 bits and the data length can vary
from 0 to 8 bytes.
 The fast growing use of the CAN protocol in the Industrial applications resulted in
development of the CAN based network.
 It is a message based communication, not address base.
 In CAN based distributed control system, the major problem is the size of
distributed area. The maximum speed of the CAN protocol is 1mbps for 50metres
and 500kbps for 100metres. Sleep mode and wakeup are available options for
each node to reduce power consumption.
 Bosch originally developed and released
CAN to address automotive network
requirements to reduce the cost and weight
of vehicle wiring harnesses . The first
release of the protocol came in 1985.
 In the 1990s CAN was standardized by ISO
11898.
The CAN data frame is composed of seven fields:
SOF :Start of Frame
RTR :Remote Transmission Request
CRC :Cyclic Redundancy Check
EOF :End of Frame
CAN message bits are referred to as “dominant” (0) or
“recessive” (1). The SOF field consists of one
dominant bit.
All network nodes waiting to transmit synchronize with
the SOF and begin transmitting at the same time. An
arbitration scheme determines which of the nodes
attempting to transmit will actually control the bus.
SO
F
Identifier RTR Control Data CRC EOF
 The arbitration field of the CAN message consists of an
11- or 29-bit identifier and a remote transmission(RTR)
bit. The CAN arbitration scheme is called “carrier sense
multiple access with collision detection”or CSMA/CD,
and assures that the highest priority message is
broadcast.
 Message priority is determined by the numerical value of
the identifier in the arbitration field, with the lowest
numerical value having the highest priority.
 Non-destructive, bit-wise arbitration resolves conflicts
among competing transmitters. This means that the bus
can be thought of as acting like an AND gate: If any
node writes a dominant (0) bit on the bus, every node
will read a dominant bit regardless of the value written
by that node.
 Every transmitting node always reads back the bus
value for each bit transmitted. If a node transmits a
recessive bit and reads back a dominant bit, it
immediately stops transmitting.
 The RTR bit simply distinguishes between data
frames and remote frames. In data frames, the RTR
bit must be dominant; in remote frames it must be
recessive.
 Arbitration is illustrated in the following Figure.
 The control field of the data frame consists of 6
bits (of which only the lower 4 are used) that
indicate the amount of data in the message.
 Since up to 8 bytes of data may be sent in one
message, the control field may take values
ranging from 000000 to 000111.
 The data to be transmitted are contained in the
data field.
 The most significant bit (MSB) of a data byte is
sent first.
 It reduces wiring since it is a distributed control and this
ensures enhancing of the system performance.
 Many CAN chip manufactures provided the data link
layer and the physical layer interfaced to the chip and all
the software developer needs to do only is to develop
the application coding.
 It provides the ability to work in different electrical
environment and ensures noise free transmission.
 Traffic congestion is eliminated as the messages are
transmitted based on their priority and it allows the
entire network to meet the timing constraints.
 It provides for error free transmission as each node can
check for errors during the transmission of the message
and send the error frame.
 Unfair access- node with a high priority can
“hog” the network.
 Poor latency for low priority nodes.
 The physical length limitation of the CAN bus
is 2km at the rate of 20kbps.
CAN is ideally suited in applications requiring
a large of short messages with high reliability
in rugged operating environments. Because
CAN is message based not address based
,it is especially well suited when data is
needed by more than one location and
system-wide data consistency is mandatory.
 https://www.elprocus.com
 SLIDESHARE: by V.Phani Krishna
 Controller Area Network (CAN): EECS 461, Fall
2008,J. A. Cook ,J. S. Freudenberg
 Vehicle Applications of Controller Area Network
:Karl Henrik Johansson , Martin T¨orngren ,
Lars Nielsen
 www.ijetae.com
CAN Protocol: A Guide to Controller Area Network

Mais conteúdo relacionado

Mais procurados

Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan KController Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan KHariharan Krishnan
 
CAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus ProtocolCAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus ProtocolAbhinaw Tiwari
 
Controller Area Network(CAN)
Controller Area Network(CAN)Controller Area Network(CAN)
Controller Area Network(CAN)Ashutosh Bhardwaj
 
Controller area network (CAN bus) ppt
Controller area network (CAN bus) pptController area network (CAN bus) ppt
Controller area network (CAN bus) pptRaziuddin Khazi
 
Controller area network -ppt
Controller area network -pptController area network -ppt
Controller area network -pptvelichetiphani
 
Controller Area Network (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)Controller Area Network (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)Vikas Kumar
 
The flex ray protocol
The flex ray protocolThe flex ray protocol
The flex ray protocolWissam Kafa
 
Automotive bus technologies
Automotive bus technologiesAutomotive bus technologies
Automotive bus technologiesRadwa Tarek
 
Can Transport Protocol : UDS
Can Transport Protocol : UDS Can Transport Protocol : UDS
Can Transport Protocol : UDS Kapil Thakar
 
CAN (Controller Area Network)
CAN (Controller Area Network)CAN (Controller Area Network)
CAN (Controller Area Network)Ajay Sukruth
 
A SEMINAR REPORT ON CAN BUS PROTOCOL
A SEMINAR REPORT ON CAN BUS PROTOCOLA SEMINAR REPORT ON CAN BUS PROTOCOL
A SEMINAR REPORT ON CAN BUS PROTOCOLAbhinaw Tiwari
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect NetworkJabez Winston
 

Mais procurados (20)

Role of CAN BUS in automotives
Role of CAN BUS in automotivesRole of CAN BUS in automotives
Role of CAN BUS in automotives
 
CAN Bus
CAN BusCAN Bus
CAN Bus
 
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan KController Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
 
CAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus ProtocolCAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus Protocol
 
Migration from CAN 2.0 to CAN FD
Migration from CAN 2.0 to CAN FDMigration from CAN 2.0 to CAN FD
Migration from CAN 2.0 to CAN FD
 
Lin bus
Lin busLin bus
Lin bus
 
Can Protocol For Automobiles
Can Protocol For AutomobilesCan Protocol For Automobiles
Can Protocol For Automobiles
 
Controller Area Network(CAN)
Controller Area Network(CAN)Controller Area Network(CAN)
Controller Area Network(CAN)
 
Controller area network (CAN bus) ppt
Controller area network (CAN bus) pptController area network (CAN bus) ppt
Controller area network (CAN bus) ppt
 
Controller area network -ppt
Controller area network -pptController area network -ppt
Controller area network -ppt
 
Controller Area Network (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)Controller Area Network (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)
 
The flex ray protocol
The flex ray protocolThe flex ray protocol
The flex ray protocol
 
LIN protocol description
LIN protocol descriptionLIN protocol description
LIN protocol description
 
Automotive bus technologies
Automotive bus technologiesAutomotive bus technologies
Automotive bus technologies
 
Can Transport Protocol : UDS
Can Transport Protocol : UDS Can Transport Protocol : UDS
Can Transport Protocol : UDS
 
CAN (Controller Area Network)
CAN (Controller Area Network)CAN (Controller Area Network)
CAN (Controller Area Network)
 
Comparison Between CAN and CAN FD
Comparison Between CAN and CAN FDComparison Between CAN and CAN FD
Comparison Between CAN and CAN FD
 
A SEMINAR REPORT ON CAN BUS PROTOCOL
A SEMINAR REPORT ON CAN BUS PROTOCOLA SEMINAR REPORT ON CAN BUS PROTOCOL
A SEMINAR REPORT ON CAN BUS PROTOCOL
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect Network
 
CAN BUS.ppt
CAN BUS.pptCAN BUS.ppt
CAN BUS.ppt
 

Semelhante a CAN Protocol: A Guide to Controller Area Network

Can basics
Can basicsCan basics
Can basicscdackp
 
Automotive Networks : A Review
Automotive Networks : A ReviewAutomotive Networks : A Review
Automotive Networks : A ReviewIJAEMSJORNAL
 
Can bus m.n.r
Can bus m.n.rCan bus m.n.r
Can bus m.n.rMNR85
 
Can network development using arm cortex m3
Can network development using arm cortex m3Can network development using arm cortex m3
Can network development using arm cortex m3Ankur Rastogi
 
Can network development using arm cortex m3
Can network development using arm cortex m3Can network development using arm cortex m3
Can network development using arm cortex m3Ankur Rastogi
 
Embedded One.pdf
Embedded One.pdfEmbedded One.pdf
Embedded One.pdfSezzar
 
7.MODBus and CANBus.pptx
7.MODBus and CANBus.pptx7.MODBus and CANBus.pptx
7.MODBus and CANBus.pptxusamamaqsod1
 
CONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptxCONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptxVairaPrakash2
 
INTRODUCTION TO WIRELESS NETWORKING
INTRODUCTION TO WIRELESS NETWORKINGINTRODUCTION TO WIRELESS NETWORKING
INTRODUCTION TO WIRELESS NETWORKINGDURGARAOBHARGAVI
 
14 12 may17 18nov16 13396 m f hashmi
14 12 may17 18nov16 13396 m f hashmi14 12 may17 18nov16 13396 m f hashmi
14 12 may17 18nov16 13396 m f hashmiIAESIJEECS
 
Accident avoidanve using controller area network protocol
Accident avoidanve using controller area network protocolAccident avoidanve using controller area network protocol
Accident avoidanve using controller area network protocolMadhuri Apar
 

Semelhante a CAN Protocol: A Guide to Controller Area Network (20)

CAN BUS.pptx
CAN BUS.pptxCAN BUS.pptx
CAN BUS.pptx
 
IJSTEV2I12120
IJSTEV2I12120IJSTEV2I12120
IJSTEV2I12120
 
Can basics
Can basicsCan basics
Can basics
 
Automotive Networks : A Review
Automotive Networks : A ReviewAutomotive Networks : A Review
Automotive Networks : A Review
 
Can bus m.n.r
Can bus m.n.rCan bus m.n.r
Can bus m.n.r
 
Can network development using arm cortex m3
Can network development using arm cortex m3Can network development using arm cortex m3
Can network development using arm cortex m3
 
Can network development using arm cortex m3
Can network development using arm cortex m3Can network development using arm cortex m3
Can network development using arm cortex m3
 
Canbus
CanbusCanbus
Canbus
 
Embedded One.pdf
Embedded One.pdfEmbedded One.pdf
Embedded One.pdf
 
11.chapters
11.chapters11.chapters
11.chapters
 
Frame relay
Frame relayFrame relay
Frame relay
 
Shubham chakravarty ppt_wcan
Shubham chakravarty ppt_wcanShubham chakravarty ppt_wcan
Shubham chakravarty ppt_wcan
 
7.MODBus and CANBus.pptx
7.MODBus and CANBus.pptx7.MODBus and CANBus.pptx
7.MODBus and CANBus.pptx
 
CONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptxCONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptx
 
INTRODUCTION TO WIRELESS NETWORKING
INTRODUCTION TO WIRELESS NETWORKINGINTRODUCTION TO WIRELESS NETWORKING
INTRODUCTION TO WIRELESS NETWORKING
 
14 12 may17 18nov16 13396 m f hashmi
14 12 may17 18nov16 13396 m f hashmi14 12 may17 18nov16 13396 m f hashmi
14 12 may17 18nov16 13396 m f hashmi
 
Lasseq f can
Lasseq f canLasseq f can
Lasseq f can
 
Accident avoidanve using controller area network protocol
Accident avoidanve using controller area network protocolAccident avoidanve using controller area network protocol
Accident avoidanve using controller area network protocol
 
can bus theory solution
can bus theory solutioncan bus theory solution
can bus theory solution
 
CS6003 ADHOC & SENSOR NETWORKS
CS6003 ADHOC & SENSOR NETWORKSCS6003 ADHOC & SENSOR NETWORKS
CS6003 ADHOC & SENSOR NETWORKS
 

Último

"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptJohnWilliam111370
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming languageSmritiSharma901052
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
 
signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsapna80328
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodManicka Mamallan Andavar
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Industrial Applications of Centrifugal Compressors
Industrial Applications of Centrifugal CompressorsIndustrial Applications of Centrifugal Compressors
Industrial Applications of Centrifugal CompressorsAlirezaBagherian3
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSsandhya757531
 

Último (20)

"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
 
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.pptROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
ROBOETHICS-CCS345 ETHICS AND ARTIFICIAL INTELLIGENCE.ppt
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
OOP concepts -in-Python programming language
OOP concepts -in-Python programming languageOOP concepts -in-Python programming language
OOP concepts -in-Python programming language
 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
 
signals in triangulation .. ...Surveying
signals in triangulation .. ...Surveyingsignals in triangulation .. ...Surveying
signals in triangulation .. ...Surveying
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
 
Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument method
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Industrial Applications of Centrifugal Compressors
Industrial Applications of Centrifugal CompressorsIndustrial Applications of Centrifugal Compressors
Industrial Applications of Centrifugal Compressors
 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
 
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMSHigh Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
High Voltage Engineering- OVER VOLTAGES IN ELECTRICAL POWER SYSTEMS
 

CAN Protocol: A Guide to Controller Area Network

  • 1.
  • 2.  Introduction  CAN history  CAN Data frames  Arbitration  Control and Data fields  Before CAN  After CAN  Applications  Advantages  Limitations
  • 3.  The CAN is serial communication protocol that supports real time systems with high reliability. It detects the collisions; it also detects the errors, retransmits corrupt messages and gives priority to the received and transmitted messages.  The identifier length can be either 11 bits or 29 bits and the data length can vary from 0 to 8 bytes.  The fast growing use of the CAN protocol in the Industrial applications resulted in development of the CAN based network.  It is a message based communication, not address base.  In CAN based distributed control system, the major problem is the size of distributed area. The maximum speed of the CAN protocol is 1mbps for 50metres and 500kbps for 100metres. Sleep mode and wakeup are available options for each node to reduce power consumption.
  • 4.  Bosch originally developed and released CAN to address automotive network requirements to reduce the cost and weight of vehicle wiring harnesses . The first release of the protocol came in 1985.  In the 1990s CAN was standardized by ISO 11898.
  • 5. The CAN data frame is composed of seven fields: SOF :Start of Frame RTR :Remote Transmission Request CRC :Cyclic Redundancy Check EOF :End of Frame CAN message bits are referred to as “dominant” (0) or “recessive” (1). The SOF field consists of one dominant bit. All network nodes waiting to transmit synchronize with the SOF and begin transmitting at the same time. An arbitration scheme determines which of the nodes attempting to transmit will actually control the bus. SO F Identifier RTR Control Data CRC EOF
  • 6.
  • 7.  The arbitration field of the CAN message consists of an 11- or 29-bit identifier and a remote transmission(RTR) bit. The CAN arbitration scheme is called “carrier sense multiple access with collision detection”or CSMA/CD, and assures that the highest priority message is broadcast.  Message priority is determined by the numerical value of the identifier in the arbitration field, with the lowest numerical value having the highest priority.  Non-destructive, bit-wise arbitration resolves conflicts among competing transmitters. This means that the bus can be thought of as acting like an AND gate: If any node writes a dominant (0) bit on the bus, every node will read a dominant bit regardless of the value written by that node.
  • 8.  Every transmitting node always reads back the bus value for each bit transmitted. If a node transmits a recessive bit and reads back a dominant bit, it immediately stops transmitting.  The RTR bit simply distinguishes between data frames and remote frames. In data frames, the RTR bit must be dominant; in remote frames it must be recessive.  Arbitration is illustrated in the following Figure.
  • 9.  The control field of the data frame consists of 6 bits (of which only the lower 4 are used) that indicate the amount of data in the message.  Since up to 8 bytes of data may be sent in one message, the control field may take values ranging from 000000 to 000111.  The data to be transmitted are contained in the data field.  The most significant bit (MSB) of a data byte is sent first.
  • 10.
  • 11.
  • 12.
  • 13.  It reduces wiring since it is a distributed control and this ensures enhancing of the system performance.  Many CAN chip manufactures provided the data link layer and the physical layer interfaced to the chip and all the software developer needs to do only is to develop the application coding.  It provides the ability to work in different electrical environment and ensures noise free transmission.  Traffic congestion is eliminated as the messages are transmitted based on their priority and it allows the entire network to meet the timing constraints.  It provides for error free transmission as each node can check for errors during the transmission of the message and send the error frame.
  • 14.  Unfair access- node with a high priority can “hog” the network.  Poor latency for low priority nodes.  The physical length limitation of the CAN bus is 2km at the rate of 20kbps.
  • 15. CAN is ideally suited in applications requiring a large of short messages with high reliability in rugged operating environments. Because CAN is message based not address based ,it is especially well suited when data is needed by more than one location and system-wide data consistency is mandatory.
  • 16.  https://www.elprocus.com  SLIDESHARE: by V.Phani Krishna  Controller Area Network (CAN): EECS 461, Fall 2008,J. A. Cook ,J. S. Freudenberg  Vehicle Applications of Controller Area Network :Karl Henrik Johansson , Martin T¨orngren , Lars Nielsen  www.ijetae.com