3. 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
5. 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
8. 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
11. 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
13. 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
25. 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
26. 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