SlideShare a Scribd company logo
Mercedes-BenzResearchandDevelopmentIndia
Mercedes-Benz Research andDevelopment India
Controller Area Network (CAN)
SUKRUTHRAMESH BABU,EE, MBRDI EmbassyCrest, Banglaore,14-August-2015
Mercedes-BenzResearchandDevelopmentIndia
Contents
1. Motivation
2. Introduction
3. CAN communication
4. CAN framing
5. CAN busaccess
6. CAN dataprotection
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
Motivation….
 Intensive electronics
 Creatingcommunicationbetweenelectronic unitswouldenhanceautomobilefeaturescompletely.
Engine
Chassis
Music System
Brakes
Lighting System
Battery
Sensors
oors
Windows
Gauges
Climate Control
eters
Engine
Body
Chassis
Music System
Brakes
Lighting System
Battery
Sensors
Doors
Windows
Gauges
Climate Control
Meters
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
Introduction
 CAN (Controller Area Network) is a serial communication technology used especially for reliable data exchange between electronic
controlunits(ECUs) in theautomobile.
 OriginallyintroducedbyBoschin 1983.
 PointtoPointwiringisbeing replaced byoneserial busconnecting all controlsystems.
 StandardizedbyISOandSAE.
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
CAN communication
Basicconcepts
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
CAN network
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
CAN BUS COMMUNICATION PRINCIPLE
DatathataretransmittedfromanyNode,containsMESSAGElabelledwithIDENTIFIER,which isuniquethroughoutthenetwork
 All other nodes receive the message and each performs an acceptance test on the identifier to determine if the message, and thus its
content,isrelevant tothatparticularnode.
Ifthemessage isrelevant, itwill beprocessed;otherwiseitisignored
 Allows integrationof additionalCANnodeswithoutrequiringmodificationof the CANnetwork.
 Themaximumnumberofnodesisnotspecified. Networksarelimited byelectricalloading,upto64 nodesisnormal
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
CAN bus logic
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
Vehicle Bus Protocol
Protocol Abbreviation Nature
CAN ControlledAreaNetwork
an inexpensivelow-speedserialbus forinterconnectingautomotive components
automotivecomponents
D2B DomesticDigitalBus a high-speedmultimedia interface
FlexRay -
a generalpurposehigh-speedprotocolwithsafety-criticalfeatures
features
I²C Inter-IntegratedCircuit forattachinglow-speedperipherals
KWP2000 KeywordProtocol2000
–a protocolfor automotivediagnosticdevices(runseitheronaseriallineoroverCAN)
seriallineoroverCAN)
LIN
LocalInterconnectNetwork
a verylowcostin-vehiclesub-network
MOST Media OrientedSystemsTransport a high-speedmultimedia interface
SPI SerialPeripheralInterface
forcommunicationwithslowperipheraldevices,whichareaccessedinfrequently
Mercedes-BenzResearchandDevelopmentIndia
CAN Bus characteristics
Buslength / Bitratetradeoff
1Mbit/sec 40meters(131 feet)
500Kbit/sec 100meters(328 feet)
250K bit/sec 200meters(656 feet)
125K bit/sec 500meters(1640 feet)
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
CAN FRAMES
Data Frame–Fortransmitting userdata
Remote Frame–Used forrequesting 'data frame' from any other CAN node
Error Frame–To indicate errors detected during communication
Overload Frame-To introduce delay in the transmission
CANFRAMETYPES
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
DATA FRAME
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
DATA FRAME (Standard format and Extended Format)
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
CAN Presentation| Sukruth Ramesh Babu
• TheDLC(DataLengthCode)communicatesthenumberof payloadbytesto thereceivers
9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
REMOTE FRAME
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
Error Frame
Types oferror: Therearefivetypesoferroraretherein CANandarelistedbelow.And in caseanyone oftheseerroris observed theerror
frameis transmitted.
 Bit error
 Stufferror
 CRCerror
 Form error
 Acknowledgementerror
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
BUS ACCESS IN CAN NETWORK
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
PRIORITIZATION OF CAN MESSAGES
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
CAN data protection
 Reliabledatatransmission.
 BecauseCANis alsousedin verytime andsafetycritical applicationswithinthe motorvehicle, requirementsfordataintegrity are
extremelyhigh.
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
NRZ Coding
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
BIT STUFFING
CAN Presentation| Sukruth Ramesh Babu 9/10/2015
Mercedes-BenzResearchandDevelopmentIndia
Error detection:
 Bit monitoring : Compares the bit and the bus level
 ACK Check : Checks for the dominant bit
 Stuff Check : Detection of sixth consecutive bit
 Form Check : Compares the bit stream with message format
 Cyclic Redundancy Check: Compares the bit stream with the generator polynomial
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
Error Confinement and Error states:
 Active
 Passive
 Bus OFF REC/TEC > 127
REC/TEC < 128
TEC > 255
Reset or Configuration of
128x11 recessive bits
REC: Receiver Error Counter
TEC: Transmit Error Counter
9/10/2015CAN Presentation| Sukruth Ramesh Babu
Mercedes-BenzResearchandDevelopmentIndia
Thankyou!!
CAN Presentation| Sukruth Ramesh Babu 9/10/2015

More Related Content

PDF
Can overview
PPTX
Can bus m.n.r
PPT
CAN- controlled area network
PPTX
ODP
Control Area Network
PPTX
Controller area network (can bus)
Can overview
Can bus m.n.r
CAN- controlled area network
Control Area Network
Controller area network (can bus)

What's hot (20)

PPTX
Comparison Between CAN and CAN FD
PPTX
Local Interconnect Network
PPT
Role of CAN BUS in automotives
PPTX
Ca npp t
PPTX
Controller Area Network(CAN)
PPTX
Controller Area Network (Basic Level Presentation)
PPT
Controller area network (CAN bus) ppt
PDF
Can Protocol For Automobiles
PDF
Can Bus communication Protocol
PPTX
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
PDF
PPT
CAN (Controller Area Network) Bus Protocol
PPTX
Can bus
PPTX
Communication stack
PDF
The Basics of Automotive Ethernet Webinar Slidedeck
PPTX
Controller area network -ppt
PPTX
RISC-V Introduction
PPT
CAN Networks
PDF
Automotive bus technologies
Comparison Between CAN and CAN FD
Local Interconnect Network
Role of CAN BUS in automotives
Ca npp t
Controller Area Network(CAN)
Controller Area Network (Basic Level Presentation)
Controller area network (CAN bus) ppt
Can Protocol For Automobiles
Can Bus communication Protocol
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
CAN (Controller Area Network) Bus Protocol
Can bus
Communication stack
The Basics of Automotive Ethernet Webinar Slidedeck
Controller area network -ppt
RISC-V Introduction
CAN Networks
Automotive bus technologies
Ad

Similar to CAN (Controller Area Network) (20)

PDF
Examining BMW´s Open Architecture for Telematic Applications - H Michel
PDF
ODCA Board Best Practice: High Performance Computing at BMW
PDF
Meetup_adessoCamunda_2023-09-13_Part1&2_en.pdf
PDF
SOME_IP_29408.pdf
PDF
opening-remarks-From Vehicle Centric to People Centric.pdf
PDF
Webinar Presentation- Typical Challenges Faced by Tier 1s in AUTOSAR Tooling
PDF
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
DOCX
Sindhujha Gopi- Ariba - 7 Yrs Resume
PPTX
PROGRESS OF AUTOSAR STANDARDS FOR FUTURE INTELLIGENT VEHICLES
PPTX
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
PDF
Spring Boot and Spring Cloud Inside NissanConnect at SPRING FEST '19
PDF
The AMI-C / OSGi Alliance Relationship - P Malhotra
PDF
Juniper Networks®, Tech Mahindra & CA Discuss New Perspectives & Partnership...
PDF
apidays LIVE Helsinki & North - Leveraging developer portals in a corporate c...
PDF
Renesas R-Car_Cockpit_overview210214-Gen4.pdf
PPTX
Introduction of the Vehicle Electronics Program @ SEMA 2014
PDF
Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp
PDF
SPE-in-Automotive_BMW_K.-Matthews.pdf13.pdf
PDF
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
PDF
13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf
Examining BMW´s Open Architecture for Telematic Applications - H Michel
ODCA Board Best Practice: High Performance Computing at BMW
Meetup_adessoCamunda_2023-09-13_Part1&2_en.pdf
SOME_IP_29408.pdf
opening-remarks-From Vehicle Centric to People Centric.pdf
Webinar Presentation- Typical Challenges Faced by Tier 1s in AUTOSAR Tooling
Strategies for End-to-End Timing Guarantees in a Centralized Software Defined...
Sindhujha Gopi- Ariba - 7 Yrs Resume
PROGRESS OF AUTOSAR STANDARDS FOR FUTURE INTELLIGENT VEHICLES
Intland Software | codeBeamer ALM: What’s in the Pipeline for the Automotive ...
Spring Boot and Spring Cloud Inside NissanConnect at SPRING FEST '19
The AMI-C / OSGi Alliance Relationship - P Malhotra
Juniper Networks®, Tech Mahindra & CA Discuss New Perspectives & Partnership...
apidays LIVE Helsinki & North - Leveraging developer portals in a corporate c...
Renesas R-Car_Cockpit_overview210214-Gen4.pdf
Introduction of the Vehicle Electronics Program @ SEMA 2014
Kubernetes based connected vehicle platform #k8sjp_t1 #k8sjp
SPE-in-Automotive_BMW_K.-Matthews.pdf13.pdf
Towards Computer-Aided, Iterative TSN-and Ethernet-based E/E Architecture Design
13_RS_Automotive_Ethernet_The_Future_for_In_Vehicle_Networks.pdf
Ad

Recently uploaded (20)

PDF
industrial engineering and safety system
PDF
Volvo EC290C NL EC290CNL excavator weight.pdf
PPTX
laws of thermodynamics with complete explanation
PPTX
Fire Fighting Unit IV industrial safety.pptx
PPTX
IMMUNITY TYPES PPT.pptx very good , sufficient
PDF
higher edu open stores 12.5.24 (1).pdf forreal
PPTX
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
PDF
How Much does a Volvo EC290C NL EC290CNL Weight.pdf
PDF
EC290C NL EC290CNL Volvo excavator specs.pdf
PDF
Caterpillar Cat 315C Excavator (Prefix CJC) Service Repair Manual Instant Dow...
DOCX
lp of food hygiene.docxvvvvvvvvvvvvvvvvvvvvvvv
PDF
How much horsepower does a Volvo EC210Cl have.pdf
PDF
MANDIBLE (1).pdffawffffffffffffffffffffffffffffffffffffffffff
PDF
Volvo EC290C NL EC290CNL Excavator Service Repair Manual Instant Download.pdf
PPT
ACCOMPLISHMENT REPOERTS AND FILE OF GRADE 12 2021.ppt
PDF
Presentation.pdf ...............gjtn....tdubsr..........
PDF
Physics class 12thstep down transformer project.pdf
PPTX
Materi Kuliah Umum Prof. Hsien Tsai Wu.pptx
PPT
Kaizen for Beginners and how to implement Kaizen
PDF
Volvo EC290C NL EC290CNL engine Manual.pdf
industrial engineering and safety system
Volvo EC290C NL EC290CNL excavator weight.pdf
laws of thermodynamics with complete explanation
Fire Fighting Unit IV industrial safety.pptx
IMMUNITY TYPES PPT.pptx very good , sufficient
higher edu open stores 12.5.24 (1).pdf forreal
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
How Much does a Volvo EC290C NL EC290CNL Weight.pdf
EC290C NL EC290CNL Volvo excavator specs.pdf
Caterpillar Cat 315C Excavator (Prefix CJC) Service Repair Manual Instant Dow...
lp of food hygiene.docxvvvvvvvvvvvvvvvvvvvvvvv
How much horsepower does a Volvo EC210Cl have.pdf
MANDIBLE (1).pdffawffffffffffffffffffffffffffffffffffffffffff
Volvo EC290C NL EC290CNL Excavator Service Repair Manual Instant Download.pdf
ACCOMPLISHMENT REPOERTS AND FILE OF GRADE 12 2021.ppt
Presentation.pdf ...............gjtn....tdubsr..........
Physics class 12thstep down transformer project.pdf
Materi Kuliah Umum Prof. Hsien Tsai Wu.pptx
Kaizen for Beginners and how to implement Kaizen
Volvo EC290C NL EC290CNL engine Manual.pdf

CAN (Controller Area Network)