SlideShare a Scribd company logo
Controller Area Network
Presented by
S Rajashekar Reddy(MT2013156)
Thangella Venkat Reddy(MT2013160)
Contents
● Introduction
● General Aspects
● Protocol Features
● Harware Features
● Applications
● Conclusion
● References
Introduction
● The CAN bus was developed by BOSCH as a multi-
master, message broadcast system that specifies a
maximum signaling rate of 1 megabit per second
(bps). Unlike a traditional network such as USB or
Ethernet, CAN does not send large blocks of data
point-to-point from node A to node B under the
supervision of a central bus master.
● In a CAN network, many short messages like
temperature or RPM are broadcast to the entire
network, which provides for data consistency in every
node of the system.
What is CAN – General Aspects
● Serial Network Technology for Embedded Solutions
● Became very popular in Industrial automation
● Network technology established among micro-controllers
● Well suited for high speed/real-time applications
● Replaces expensive Dual-Port RAM technology.
● CAN chips manufactured by Motorola, Philips, Intel,
Infineon, ...
● 600 Million CAN nodes used in 2007
What is CAN – Technical Aspects
● High-integrity serial data communications bus for real-
time applications
● Designed for max. performance & reliability
● Operates at data rates up to 1 Mbit/sec
● Uses short messages – 8 bytes per message
● Excellent error detection and fault confinement capabilities
● Is an international standard: ISO 11898
Protocol Features
Message Frames
Three types of message frames:
● Data Frame – Broadcasts a message to the CAN bus:
● Error Frame - Requests transmission of message:
● Error Frame – Signals error condition
● Overload Frame –Special Error Frame
Message broadcasting with data
frames
● Node A transmits a message
● Nodes B,C and D receive the message
● Nodes B and D accept the message, Node C declines
Message Request with Remote Frames -
1
● Node A sends a remote frame (request)
● Node B, C, D receive message
● Node D accepts, Nodes B & C decline message
Message Request with Remote Frames -
2
● Node D sends requested message
● Nodes A, B, C receive requested message
● Nodes A, B accept requested message, Node C declines
Message Frame Format - 2
Extended
CAN Protocol●
● Standard Format: 11 Bit Message Identifier
● Extended Format: 29 Bit Message Identifier
● Both formats, Standard and Extended, may co-exist on the
same CAN Bus
● The distinction between both formats is managed by “Identifier
Extension Bit” (IDE)
Bus Arbitration Principle
● Bit wise arbitration across the Arbitration Field
● Dominant Bus Level = 0, Recessive Bus Level = 1
Dominant/Recessive Bus Level
Bus Arbitration Principle
Data Transfer Synchronization
Bit Coding
● Bit coding according to Non-Return-to-Zero principle
● NRZ provides highest transport capacity
Constant Bit level over Bit time
● Insufficient signal edges for synchronization of Bit stream
“Bit Stuffing” require.
Data Transfer Synchronization
● Bit Stuffing
Sender inserts complementary Bit (“Stuff Bit”) after 5 successive Bits of same
polarity
● Receiver filters the complementary Bit.
1. Bit sequence to be transmitted
2. Transmitted Bit sequence on bus
after bit stuffing
3. Bit sequence at receiver
after filtering Stuff Bit.
Error Detection Method
● Bit Monitoring
Each transmitting node monitors the Bit level on the bus,
compares it to transmitted level. Provides immediate detection
of all bus-wide and local transmission errors.
● Stuff Error
More than 5 Bits of same polarity outside of “bit-stuffed”
segment
● CRC Error
Comparison of received CRC sequence and calculated CRC.
Provides detection of local receiver errors.
● Acknowledgement Error
Transmitted message receives no acknowledgement. ACK
confirms only thhe successful transmission. Is used for error
confinement.
Error Detection
● Error Frame
Basic Error Frame
● Error Recovery Time = Error Flag + Error Delimiter + Intermission
Field = 12 + 8 + 3 = 23 Bits
Transmit/Receive Errors
Possible error scenarios in a CAN network:
Transmit Error
● A transmitting node sends a faulty message
● ALL receiving nodes in the network respond with an error frame.
● Through “majority vote” the transmitting node is being flagged as the
“perpetrator”.
Receive Error
● A transmitting node send a perfectly good message
● Only ONE node in the network responds with an error frame
● Through “majority vote” the error reporting node is being flagged as
the “perpetrator”
Fault Confinement
Hardware Features
Hardware-Bus Level
● Bus Levels according to ISO 11898
Wiring and Connections
Pin Signal Description
1 - Reserved
2 CAN_L CAN_L bus line (dominant low)
3 CAN_GND CAN Ground
4 - Reserved
5 CAN_SHLD Optional CAN shield
6 GND Optional CAN Ground
7 CAN_H CAN_H bus line (dominant high)
8 - Reserved (error line)
9 CAN_V+ Optional CAN external positive supply
Applications
CAN is used wherever two or more microprocessor unitsCAN is used wherever two or more microprocessor units
need to communicate with each other.need to communicate with each other.
● Passenger Cars (multiple separate CAN networks)
● Trucks & Buses, Construction Vehicles, Agricultural
Vehicles (SAE J1939 protocol)
● Semiconductor Industry (Wafer Handlers, etc.)
● Robotics, Motion Control Application, Aircrafts (AC, Seat
Adjustment)
● Building Technologies (Light & Door Control Systems,
Sensors, etc.)
● Household Utilities (Coffee Machine, Washer, etc.)
CONCLUSION
● CAN is ideally suited in applications requiring a large
number of short messages with high reliability in
rugged operating environments. Because CAN is
message based and not address based, it is especially
well suited when data is needed by more than one
location and system-wide data consistency is
mandatory.
References
● Controller Area Network, Basics Protocols,
Chips and Applications; Dr. Konrad
Etschberger; ISBN 3-00-007376-0
(www.ixxat.com)
● CAN Systems Engineering, From Theory to
Practical Applications; Wolfhard Lawrenz,
ISBN 0-387-94939-9
● http://en.wikipedia.org/wiki/CAN_bus
Thank You
Queries?

More Related Content

What's hot

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
 
Can Bus communication Protocol
Can Bus communication ProtocolCan Bus communication Protocol
Can Bus communication Protocol
Pedro Campana Cueto
 
Controller area network -ppt
Controller area network -pptController area network -ppt
Controller area network -pptvelichetiphani
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect Network
Jabez Winston
 
CAN Bus
CAN BusCAN 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
Hariharan Krishnan
 
CAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus ProtocolCAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus Protocol
Abhinaw Tiwari
 
Can bus
Can busCan bus
Can bus
Rucha Pupala
 
Controller area network
Controller area networkController area network
Controller area network
Divi1597
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
Embitel Technologies (I) PVT LTD
 
Canbus
CanbusCanbus
The Basics of Automotive Ethernet Webinar Slidedeck
The Basics of Automotive Ethernet Webinar SlidedeckThe Basics of Automotive Ethernet Webinar Slidedeck
The Basics of Automotive Ethernet Webinar Slidedeck
teledynelecroy
 
Can overview
Can overviewCan overview
Can overview
RobertsMax
 
LIN protocol description
LIN protocol descriptionLIN protocol description
LIN protocol description
sonu kumar suman
 
CAN BUS.ppt
CAN BUS.pptCAN BUS.ppt
CAN (Controller Area Network)
CAN (Controller Area Network)CAN (Controller Area Network)
CAN (Controller Area Network)
Ajay Sukruth
 
Can bus m.n.r
Can bus m.n.rCan bus m.n.r
Can bus m.n.r
MNR85
 
Lin protocol
Lin protocolLin protocol
Automotive bus technologies
Automotive bus technologiesAutomotive bus technologies
Automotive bus technologies
Radwa Tarek
 

What's hot (20)

Controller Area Network (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)Controller Area Network (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)
 
Can Bus communication Protocol
Can Bus communication ProtocolCan Bus communication Protocol
Can Bus communication Protocol
 
Controller area network -ppt
Controller area network -pptController area network -ppt
Controller area network -ppt
 
Local Interconnect Network
Local Interconnect NetworkLocal Interconnect Network
Local Interconnect Network
 
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
 
Can bus
Can busCan bus
Can bus
 
Controller area network
Controller area networkController area network
Controller area network
 
Lin bus
Lin busLin bus
Lin bus
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
 
Canbus
CanbusCanbus
Canbus
 
The Basics of Automotive Ethernet Webinar Slidedeck
The Basics of Automotive Ethernet Webinar SlidedeckThe Basics of Automotive Ethernet Webinar Slidedeck
The Basics of Automotive Ethernet Webinar Slidedeck
 
Can overview
Can overviewCan overview
Can overview
 
LIN protocol description
LIN protocol descriptionLIN protocol description
LIN protocol description
 
CAN BUS.ppt
CAN BUS.pptCAN BUS.ppt
CAN BUS.ppt
 
CAN (Controller Area Network)
CAN (Controller Area Network)CAN (Controller Area Network)
CAN (Controller Area Network)
 
Can bus m.n.r
Can bus m.n.rCan bus m.n.r
Can bus m.n.r
 
Lin protocol
Lin protocolLin protocol
Lin protocol
 
Automotive bus technologies
Automotive bus technologiesAutomotive bus technologies
Automotive bus technologies
 

Viewers also liked

Can based collision aviodance system for automobiles
Can based collision aviodance system for automobilesCan based collision aviodance system for automobiles
Can based collision aviodance system for automobiles
Purnima Kurella
 
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
Madhuri Apar
 
Life detection using microwave L band
Life detection using microwave L bandLife detection using microwave L band
Life detection using microwave L band
shiva kumar cheruku
 
Life Detection Using Microwaves Technology
Life Detection Using Microwaves TechnologyLife Detection Using Microwaves Technology
Life Detection Using Microwaves Technology
Sai Spandana
 
Control Area Network (CAN) based accident avoidance system
Control Area Network (CAN) based accident avoidance systemControl Area Network (CAN) based accident avoidance system
Control Area Network (CAN) based accident avoidance system
Nitin Jagtap
 
GWAB - Hop on the Service Bus!
GWAB - Hop on the Service Bus!GWAB - Hop on the Service Bus!
GWAB - Hop on the Service Bus!
Tom Kerkhove
 
AppFx.ServiceBus - Simple Messaging with Windows Azure Service Bus
AppFx.ServiceBus - Simple Messaging with Windows Azure Service BusAppFx.ServiceBus - Simple Messaging with Windows Azure Service Bus
AppFx.ServiceBus - Simple Messaging with Windows Azure Service Bus
Michael Stephenson
 
Development, Confusion and Exploration of Honeypot Technology
Development, Confusion and Exploration of Honeypot TechnologyDevelopment, Confusion and Exploration of Honeypot Technology
Development, Confusion and Exploration of Honeypot TechnologyAntiy Labs
 
Messaging
Messaging Messaging
Messaging rbpasker
 
J1939 presentation by Simma Software
J1939 presentation by Simma SoftwareJ1939 presentation by Simma Software
J1939 presentation by Simma Software
Razvan Girmacea
 
Persuasion Labs - The Basics
Persuasion Labs - The BasicsPersuasion Labs - The Basics
Persuasion Labs - The Basics
joanna_wiebe
 
Brain gate technology
Brain gate technologyBrain gate technology
Brain gate technology
Student
 
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
AMD Developer Central
 
5g technology UPDATED 21 FEB -ankush 19 feb 2014 WITH EFFECT
5g technology UPDATED 21 FEB -ankush  19 feb 2014 WITH EFFECT5g technology UPDATED 21 FEB -ankush  19 feb 2014 WITH EFFECT
5g technology UPDATED 21 FEB -ankush 19 feb 2014 WITH EFFECTANKUSH PRAJAPAT
 
Hariom
HariomHariom
Hariom
harry25jan
 
Flexible and strechable electronis
Flexible and strechable electronisFlexible and strechable electronis
Flexible and strechable electronisAvinash Kharche
 
IBOC (In Band On Channel) Technology for DIgital Radio.
IBOC (In Band On Channel) Technology for DIgital Radio.IBOC (In Band On Channel) Technology for DIgital Radio.
IBOC (In Band On Channel) Technology for DIgital Radio.
Ashik Ask
 
From Push Technology to Real-Time Messaging and WebSockets
From Push Technology to Real-Time Messaging and WebSocketsFrom Push Technology to Real-Time Messaging and WebSockets
From Push Technology to Real-Time Messaging and WebSockets
Alessandro Alinone
 

Viewers also liked (19)

Can based collision aviodance system for automobiles
Can based collision aviodance system for automobilesCan based collision aviodance system for automobiles
Can based collision aviodance system for automobiles
 
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
 
Life detection using microwave L band
Life detection using microwave L bandLife detection using microwave L band
Life detection using microwave L band
 
Life Detection Using Microwaves Technology
Life Detection Using Microwaves TechnologyLife Detection Using Microwaves Technology
Life Detection Using Microwaves Technology
 
Canbus
CanbusCanbus
Canbus
 
Control Area Network (CAN) based accident avoidance system
Control Area Network (CAN) based accident avoidance systemControl Area Network (CAN) based accident avoidance system
Control Area Network (CAN) based accident avoidance system
 
GWAB - Hop on the Service Bus!
GWAB - Hop on the Service Bus!GWAB - Hop on the Service Bus!
GWAB - Hop on the Service Bus!
 
AppFx.ServiceBus - Simple Messaging with Windows Azure Service Bus
AppFx.ServiceBus - Simple Messaging with Windows Azure Service BusAppFx.ServiceBus - Simple Messaging with Windows Azure Service Bus
AppFx.ServiceBus - Simple Messaging with Windows Azure Service Bus
 
Development, Confusion and Exploration of Honeypot Technology
Development, Confusion and Exploration of Honeypot TechnologyDevelopment, Confusion and Exploration of Honeypot Technology
Development, Confusion and Exploration of Honeypot Technology
 
Messaging
Messaging Messaging
Messaging
 
J1939 presentation by Simma Software
J1939 presentation by Simma SoftwareJ1939 presentation by Simma Software
J1939 presentation by Simma Software
 
Persuasion Labs - The Basics
Persuasion Labs - The BasicsPersuasion Labs - The Basics
Persuasion Labs - The Basics
 
Brain gate technology
Brain gate technologyBrain gate technology
Brain gate technology
 
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
Vertex Shader Tricks by Bill Bilodeau - AMD at GDC14
 
5g technology UPDATED 21 FEB -ankush 19 feb 2014 WITH EFFECT
5g technology UPDATED 21 FEB -ankush  19 feb 2014 WITH EFFECT5g technology UPDATED 21 FEB -ankush  19 feb 2014 WITH EFFECT
5g technology UPDATED 21 FEB -ankush 19 feb 2014 WITH EFFECT
 
Hariom
HariomHariom
Hariom
 
Flexible and strechable electronis
Flexible and strechable electronisFlexible and strechable electronis
Flexible and strechable electronis
 
IBOC (In Band On Channel) Technology for DIgital Radio.
IBOC (In Band On Channel) Technology for DIgital Radio.IBOC (In Band On Channel) Technology for DIgital Radio.
IBOC (In Band On Channel) Technology for DIgital Radio.
 
From Push Technology to Real-Time Messaging and WebSockets
From Push Technology to Real-Time Messaging and WebSocketsFrom Push Technology to Real-Time Messaging and WebSockets
From Push Technology to Real-Time Messaging and WebSockets
 

Similar to Control Area Network

Communication protocols - Embedded Systems
Communication protocols - Embedded SystemsCommunication protocols - Embedded Systems
Communication protocols - Embedded Systems
Emertxe Information Technologies Pvt Ltd
 
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
Ankur 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 m3
Ankur Rastogi
 
Role of CAN BUS in automotives
Role of CAN BUS in automotivesRole of CAN BUS in automotives
Role of CAN BUS in automotives
Yuga Aravind Kumar
 
Chapter 3 esy
Chapter 3 esy Chapter 3 esy
Chapter 3 esy
Yogesh Mashalkar
 
CONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptxCONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptx
VairaPrakash2
 
UNIT 2b.pptx
UNIT 2b.pptxUNIT 2b.pptx
UNIT 2b.pptx
Dharmendra212860
 
Shubham chakravarty ppt_wcan
Shubham chakravarty ppt_wcanShubham chakravarty ppt_wcan
Shubham chakravarty ppt_wcan
ShubhamChakravarty1
 
can bus theory solution
can bus theory solutioncan bus theory solution
can bus theory solution
Md. Mashiur Rahman
 
final_of_can_bus_ (1).ppt
final_of_can_bus_ (1).pptfinal_of_can_bus_ (1).ppt
final_of_can_bus_ (1).ppt
ZiadAlfawadleh1
 
Lasseq f can
Lasseq f canLasseq f can
Lasseq f can
fouziaaddal
 
Controller Area Network (CAN) Different Types
Controller Area Network (CAN) Different TypesController Area Network (CAN) Different Types
Controller Area Network (CAN) Different Types
FebinShaji9
 
Can Protocol Based Health Monitoring
Can Protocol Based Health MonitoringCan Protocol Based Health Monitoring
Can Protocol Based Health Monitoring
pitchaimuthu
 
Automotive Networks : A Review
Automotive Networks : A ReviewAutomotive Networks : A Review
Automotive Networks : A Review
IJAEMSJORNAL
 
MCP2515: Stand-Alone CAN Controller
MCP2515: Stand-Alone CAN ControllerMCP2515: Stand-Alone CAN Controller
MCP2515: Stand-Alone CAN Controller
Premier Farnell
 
Epma 013
Epma 013Epma 013
Epma 013
Lecturer
 
CAN F28x
CAN F28xCAN F28x

Similar to Control Area Network (20)

Communication protocols - Embedded Systems
Communication protocols - Embedded SystemsCommunication protocols - Embedded Systems
Communication protocols - Embedded Systems
 
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
 
Role of CAN BUS in automotives
Role of CAN BUS in automotivesRole of CAN BUS in automotives
Role of CAN BUS in automotives
 
Chapter 3 esy
Chapter 3 esy Chapter 3 esy
Chapter 3 esy
 
CONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptxCONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptx
 
UNIT 2b.pptx
UNIT 2b.pptxUNIT 2b.pptx
UNIT 2b.pptx
 
Shubham chakravarty ppt_wcan
Shubham chakravarty ppt_wcanShubham chakravarty ppt_wcan
Shubham chakravarty ppt_wcan
 
can bus theory solution
can bus theory solutioncan bus theory solution
can bus theory solution
 
final_of_can_bus_ (1).ppt
final_of_can_bus_ (1).pptfinal_of_can_bus_ (1).ppt
final_of_can_bus_ (1).ppt
 
Lasseq f can
Lasseq f canLasseq f can
Lasseq f can
 
CAN BUS.pptx
CAN BUS.pptxCAN BUS.pptx
CAN BUS.pptx
 
Controller Area Network (CAN) Different Types
Controller Area Network (CAN) Different TypesController Area Network (CAN) Different Types
Controller Area Network (CAN) Different Types
 
Can Protocol Based Health Monitoring
Can Protocol Based Health MonitoringCan Protocol Based Health Monitoring
Can Protocol Based Health Monitoring
 
CAN.ppt
CAN.pptCAN.ppt
CAN.ppt
 
Automotive Networks : A Review
Automotive Networks : A ReviewAutomotive Networks : A Review
Automotive Networks : A Review
 
11.chapters
11.chapters11.chapters
11.chapters
 
MCP2515: Stand-Alone CAN Controller
MCP2515: Stand-Alone CAN ControllerMCP2515: Stand-Alone CAN Controller
MCP2515: Stand-Alone CAN Controller
 
Epma 013
Epma 013Epma 013
Epma 013
 
CAN F28x
CAN F28xCAN F28x
CAN F28x
 

Recently uploaded

Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Peter Gallagher
 
web-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jerweb-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jer
freshgammer09
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
aozcue
 
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
PinkySharma900491
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
peuce
 
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
andreassenrolf537
 
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
aozcue
 

Recently uploaded (7)

Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR - Slides Onl...
 
web-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jerweb-tech-lab-manual-final-abhas.pdf. Jer
web-tech-lab-manual-final-abhas.pdf. Jer
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证如何办理
 
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
MATHEMATICS BRIDGE COURSE (TEN DAYS PLANNER) (FOR CLASS XI STUDENTS GOING TO ...
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证如何办理
 
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
欧洲杯冠军-欧洲杯冠军网站-欧洲杯冠军|【​网址​🎉ac123.net🎉​】领先全球的买球投注平台
 
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
一比一原版(UCSB毕业证)圣塔芭芭拉社区大学毕业证如何办理
 

Control Area Network

  • 1. Controller Area Network Presented by S Rajashekar Reddy(MT2013156) Thangella Venkat Reddy(MT2013160)
  • 2. Contents ● Introduction ● General Aspects ● Protocol Features ● Harware Features ● Applications ● Conclusion ● References
  • 3. Introduction ● The CAN bus was developed by BOSCH as a multi- master, message broadcast system that specifies a maximum signaling rate of 1 megabit per second (bps). Unlike a traditional network such as USB or Ethernet, CAN does not send large blocks of data point-to-point from node A to node B under the supervision of a central bus master. ● In a CAN network, many short messages like temperature or RPM are broadcast to the entire network, which provides for data consistency in every node of the system.
  • 4. What is CAN – General Aspects ● Serial Network Technology for Embedded Solutions ● Became very popular in Industrial automation ● Network technology established among micro-controllers ● Well suited for high speed/real-time applications ● Replaces expensive Dual-Port RAM technology. ● CAN chips manufactured by Motorola, Philips, Intel, Infineon, ... ● 600 Million CAN nodes used in 2007
  • 5. What is CAN – Technical Aspects ● High-integrity serial data communications bus for real- time applications ● Designed for max. performance & reliability ● Operates at data rates up to 1 Mbit/sec ● Uses short messages – 8 bytes per message ● Excellent error detection and fault confinement capabilities ● Is an international standard: ISO 11898
  • 7. Message Frames Three types of message frames: ● Data Frame – Broadcasts a message to the CAN bus: ● Error Frame - Requests transmission of message: ● Error Frame – Signals error condition ● Overload Frame –Special Error Frame
  • 8. Message broadcasting with data frames ● Node A transmits a message ● Nodes B,C and D receive the message ● Nodes B and D accept the message, Node C declines
  • 9. Message Request with Remote Frames - 1 ● Node A sends a remote frame (request) ● Node B, C, D receive message ● Node D accepts, Nodes B & C decline message
  • 10. Message Request with Remote Frames - 2 ● Node D sends requested message ● Nodes A, B, C receive requested message ● Nodes A, B accept requested message, Node C declines
  • 12. Extended CAN Protocol● ● Standard Format: 11 Bit Message Identifier ● Extended Format: 29 Bit Message Identifier ● Both formats, Standard and Extended, may co-exist on the same CAN Bus ● The distinction between both formats is managed by “Identifier Extension Bit” (IDE)
  • 13. Bus Arbitration Principle ● Bit wise arbitration across the Arbitration Field ● Dominant Bus Level = 0, Recessive Bus Level = 1
  • 16. Data Transfer Synchronization Bit Coding ● Bit coding according to Non-Return-to-Zero principle ● NRZ provides highest transport capacity Constant Bit level over Bit time ● Insufficient signal edges for synchronization of Bit stream “Bit Stuffing” require.
  • 17. Data Transfer Synchronization ● Bit Stuffing Sender inserts complementary Bit (“Stuff Bit”) after 5 successive Bits of same polarity ● Receiver filters the complementary Bit. 1. Bit sequence to be transmitted 2. Transmitted Bit sequence on bus after bit stuffing 3. Bit sequence at receiver after filtering Stuff Bit.
  • 18. Error Detection Method ● Bit Monitoring Each transmitting node monitors the Bit level on the bus, compares it to transmitted level. Provides immediate detection of all bus-wide and local transmission errors. ● Stuff Error More than 5 Bits of same polarity outside of “bit-stuffed” segment ● CRC Error Comparison of received CRC sequence and calculated CRC. Provides detection of local receiver errors. ● Acknowledgement Error Transmitted message receives no acknowledgement. ACK confirms only thhe successful transmission. Is used for error confinement.
  • 19. Error Detection ● Error Frame Basic Error Frame ● Error Recovery Time = Error Flag + Error Delimiter + Intermission Field = 12 + 8 + 3 = 23 Bits
  • 20. Transmit/Receive Errors Possible error scenarios in a CAN network: Transmit Error ● A transmitting node sends a faulty message ● ALL receiving nodes in the network respond with an error frame. ● Through “majority vote” the transmitting node is being flagged as the “perpetrator”. Receive Error ● A transmitting node send a perfectly good message ● Only ONE node in the network responds with an error frame ● Through “majority vote” the error reporting node is being flagged as the “perpetrator”
  • 23. Hardware-Bus Level ● Bus Levels according to ISO 11898
  • 24. Wiring and Connections Pin Signal Description 1 - Reserved 2 CAN_L CAN_L bus line (dominant low) 3 CAN_GND CAN Ground 4 - Reserved 5 CAN_SHLD Optional CAN shield 6 GND Optional CAN Ground 7 CAN_H CAN_H bus line (dominant high) 8 - Reserved (error line) 9 CAN_V+ Optional CAN external positive supply
  • 25. Applications CAN is used wherever two or more microprocessor unitsCAN is used wherever two or more microprocessor units need to communicate with each other.need to communicate with each other. ● Passenger Cars (multiple separate CAN networks) ● Trucks & Buses, Construction Vehicles, Agricultural Vehicles (SAE J1939 protocol) ● Semiconductor Industry (Wafer Handlers, etc.) ● Robotics, Motion Control Application, Aircrafts (AC, Seat Adjustment) ● Building Technologies (Light & Door Control Systems, Sensors, etc.) ● Household Utilities (Coffee Machine, Washer, etc.)
  • 26. CONCLUSION ● CAN is ideally suited in applications requiring a large number of short messages with high reliability in rugged operating environments. Because CAN is message based and not address based, it is especially well suited when data is needed by more than one location and system-wide data consistency is mandatory.
  • 27. References ● Controller Area Network, Basics Protocols, Chips and Applications; Dr. Konrad Etschberger; ISBN 3-00-007376-0 (www.ixxat.com) ● CAN Systems Engineering, From Theory to Practical Applications; Wolfhard Lawrenz, ISBN 0-387-94939-9 ● http://en.wikipedia.org/wiki/CAN_bus