SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

What's hot (20)

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 Protocol For Automobiles
Can Protocol For AutomobilesCan Protocol For Automobiles
Can Protocol For Automobiles
 
Role of CAN BUS in automotives
Role of CAN BUS in automotivesRole of CAN BUS in automotives
Role of CAN BUS in automotives
 
Can Transport Protocol : UDS
Can Transport Protocol : UDS Can Transport Protocol : UDS
Can Transport Protocol : UDS
 
Ca npp t
Ca npp tCa npp t
Ca npp t
 
Automotive bus technologies
Automotive bus technologiesAutomotive bus technologies
Automotive bus technologies
 
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 (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)Controller Area Network (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)
 
Comparison Between CAN and CAN FD
Comparison Between CAN and CAN FDComparison Between CAN and CAN FD
Comparison Between CAN and CAN FD
 
CAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus ProtocolCAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus Protocol
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
 
Canbus
CanbusCanbus
Canbus
 
CAN Bus
CAN BusCAN Bus
CAN Bus
 
CAN F28x
CAN F28xCAN F28x
CAN F28x
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect Network
 
Lin bus
Lin busLin bus
Lin bus
 
Canbus presentation
Canbus presentationCanbus presentation
Canbus presentation
 
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
 
MCP2515: Stand-Alone CAN Controller
MCP2515: Stand-Alone CAN ControllerMCP2515: Stand-Alone CAN Controller
MCP2515: Stand-Alone CAN Controller
 

Similar to 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
 
Controller Area Network (CAN) Different Types
Controller Area Network (CAN) Different TypesController Area Network (CAN) Different Types
Controller Area Network (CAN) Different TypesFebinShaji9
 
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
 

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

CAN BUS.ppt
CAN BUS.pptCAN BUS.ppt
CAN BUS.ppt
 
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
 
Controller Area Network (CAN) Different Types
Controller Area Network (CAN) Different TypesController Area Network (CAN) Different Types
Controller Area Network (CAN) Different Types
 
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
 

Recently uploaded

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 

Recently uploaded (20)

Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 

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