SlideShare a Scribd company logo
Controller Area Network (CAN
bus) in the Automotive Industry
An efficient way to establish in-system communication.
By: BESSAAD NASSIM
2016
 Introduction:The needs leeds to innovation.
 First Approach.
 Conception of the CAN bus.
 Details about CAN.
 CAN in cars.
 OBD and CAN.
 Conclusion.
PLAN
In order to understand the birth of the CAN bus
technology, we must go back in time.
After WWII, most of the military application
manufacturers (tanks, jets, …) switched to cars instead
(Wolkswagen, SAAB..).
The market grew exponentially, the automotive industry
became the heart of the economy, that led to big
competition and rivalry and this naturally leads to new
horizons for the automotive industry.
The car electronics became a large part of the car,
naturally the wiring harness became a problem.
Introductions:
Peace-time
 The man of the hour was Robert Bosch
It was 1986, Detroit USA, the annual SAE
Congress, Robert Bosch revealed the
Controller Area Network bus system to support short
messages that circulates between the vehicles embedded
systems.
Solution:
 From:
First Approach
 To:
First Approach
This is a vehicle bus with:
 Serial communication protocole.
 Multi-master message model.
 System flexibility.
 Message anti-collision protection procedure (arbitration).
 Communication speed up to 1 Mb/s.
 Error detection.
 Maximunm network size is limited only by electrical loading.
CAN characteristics:
Bit Rate / Bus Length
1M bit/sec 40 meters (131 feet)
500K bit/sec 100 meters (328 feet)
250K bit/sec 200 meters (656 feet)
125K bit/sec 500 meters (1640 feet)
CAN characteristics:
 BUS : The physical medium that allows data to find its way
from source to desired destination.
Conception:
 The CAN is a gathering of nodes without a limited number
of them, but the electrical loading suggests under 70 node
is best.
 This nodes communicates using messages called frames
which is a common language for all nodes, the frame has
four types:
 DATA FRAME
 REMOTE FRAME
 ERROR FRAME
 OVERLOAD FRAME
Conception
 The stream of bits in CAN bus is coded according to
the non return to zero (NRZ) methode with bit
stuffing.
 after having sending five consecutive bits of identical
value, a stuff bit is added, it’s a bit of inverse value of
the past five. Of course it’s discarded by the receiver.
Conception
Conception
The data frame in 2.0 A has the following format:
 Controller Area Network 2.0A which is the standard frame
and 2.0B is the extended frame.
 The main difference between the A and B is in the message
frame, particularly in the Identifier, the standard CAN 2.0A
uses identification field of 11 bits the extended CAN 2.0B
has a 29 bit Identifier (Arbitration Field).
 PS: We can Implement both CAN frame formats in the
same Network with no problems of compatibility.
 But if two different format nodes has the same 11 first bits
in the arbitration, the one with CAN 2.0A wins regardless of
the remaining bits of node with CAN 2.0B frame format.
Extended Message format:
CAN 2.0B
 The microcontroller or the central processing unit:
The brain of the node, it supervise
the communication, sending and
receiving and treating decisions.
CAN controller: responsible of
storing the received bits until a
complete message is available.
The CAN transceiver: it represents
the physical link between the nodes
core and the wires of a bus, it has the role of a converter,
applies the voltage difference on the wires to create the signal to be
transmitted.
CAN node:
 In CAN we find several error detection procedures:
 Bit Monitoring
 Compares every bit placed on the CAN bus with the actual bus level
 Stuff Check
 Compares arriving bit stream for a sequence of six homogeneous bits.
 Form Check
 Comparison of the arriving bit stream with the message format
 Cyclic Redundancy Check
 Every node compares the received value of the CRC with the
calculated one it has.
 ACK Check
 Acknowledge error (ACK error) is detected if the recessive level
placed by the sender is not overwritten.
CAN data protection:
 Every node has three states:
CAN data protection:
 Multi-master priority based bus access.
 Non-destructive contention based arbitration
 Multicast message transfer by message acceptance filtering
 Remote data request
 Configuration flexibility
 System wide data consistency
 Error detection and error signaling
 Automatic retransmission for message that lost arbitration
 Automatic retransmission for message that were destroyed by errors
 Distinction between temporary errors and permanent failures of
nodes
 Autonomous deactivation of defective nodes
 Low-cost, Lightweight network.
CAN proprieties (Advantage):
 CAN was originally conceived for applications in the
automotive industry, but its grand reliability and flexibility plus
its Baud-rate that generates quick response enabling real-time
application implementation, turn the heads of all area
application designers in order to invest in the efficiency of this
communication protocol.
 So, we find today CAN in military, medical, automation …ETC
 More than five billions integrated CAN chips are cheeped
every year.
 But the automotive industry still the biggest winner for CAN
evolution as we shall see further in this presentation.
CAN applications:
CAN application
 The Controller Area Network became an essential for
cars, to understand how big its role we must understand
the cars electronics and evaluate the thing that makes
these machines one of the greatest invention of
mankind.
CAN in automotive
 The built-in system interface or “BSI” in a vehicle is a gateway
to the diagnostic tool that can incorporate many electronic
modules such as the interface electronics, the control
electronics because it can directly communicate with the
engine ECU and the petrol pump; also it contains
 the vehicles information
 (VIN code, key code,
 HF remote control code…..).
CAN Built-in System Interface:
 OBD monitors the components that make up the emission
system and key engine components. It can usually detect a
malfunction or deterioration of these components before the
driver becomes aware of the problem.
 Since the 1996 model year all vehicles must comply with OBD II
requirements. OBD II requires the monitoring of virtually every
component that can affect the emission performance of a
vehicle plus store the associated fault code and condition in
memory.
On-Board Diagnostic:
 When the OBD system determines that a problem exists, a
corresponding “Diagnostic Trouble Code” is stored in the
computer memory.
 Trouble codes are how OBDII identifies and communicates to
technicians where and what on-board problems exist. The first
number in the DTC indicates whether the code is an SAE
generic code (applies to all OBDII systems) or is specific to the
vehicle manufacturer. The remaining three numbers provide
information regarding the specific vehicle system and circuit.
 Theses DTCs comes handy for a technician in order to apply the
necessary maintenance for the car because their interpretation
is universal (generic).
ON-Board Diagnostic Trouble Codes
OBDII trouble code
OBD II:
Pin-out
 To be able to extract needed data the SAE J1979 standard
define a method for requesting various diagnostic data and a
list of standard parameters that might be available from the
ECU, the available parameters are called Parameter
identification numbers (PIDs).
 Every manufacturer has the liberty of changing some listed
PIDs in the SAE J199and add others freely.
 The OBD II has (09) nine operation modes.
OBDII:
MODE 1:This mode returns certain current values of vehicles sensors.
MODE 2:This mode returns instant data of a malfunction; when a
malfunction is detected by ECU it registers the sensors data at the
moment of the fail appears.
MODE 03:Returns DTC registered, these codes are standardized for all
brands of vehicles.
Mode 04:This mode Allows clearing the stored trouble codes; and
shutting down the malfunction Indicator.
Mode 05:This mode doesn’t use the CAN bus.
OBD II modes:
Mode 06:This mode returns the test results of a diagnostic for
ECUs using CAN bus only.
Mode 07:This mode shows pending Diagnostic Trouble Codes
(detected during current or last driving cycle).
Mode 08:This mode shows Control operation of on-board
component/system, not used a lot in Europe.
Mode 09:Returns Vehicles information .
OBD II modes:
 The request and response uses functional addresses, the
diagnostic tool uses a CAN ID of 0x7DF to broadcast a query
later it accepts 8 ECUs responses using IDs from 0x7E8 to
0x7EF.
 The ECU response has an ID of their assigned ID plus 8.
 Figure: OBD II query PID on CANbus.
PBD II PIDs:
 ECU response:
OBD II PIDs:
 Many contributions affected the automotive industry in the
last century, but the Controller Area Network and On-Board
Diagnostic had a huge impact for what it brought of
advantage for the car manufacturers and the simple
consumer.
 Therefore, the development of electronic gadgets based on
those technologies is on the run, we now can diagnose the
car and retrieve many informations easily thanks to those
tools.
Conclusion
Ad

Recommended

Can Protocol For Automobiles
Can Protocol For Automobiles
Sofcon India Pvt Ltd.
 
Can bus
Can bus
Rucha Pupala
 
Controller Area Network (Basic Level Presentation)
Controller Area Network (Basic Level Presentation)
Vikas Kumar
 
Can bus
Can bus
محمدعبد الحى
 
Controller area network (CAN bus) ppt
Controller area network (CAN bus) ppt
Raziuddin Khazi
 
Controller area network -ppt
Controller area network -ppt
velichetiphani
 
Role of CAN BUS in automotives
Role of CAN BUS in automotives
Yuga Aravind Kumar
 
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Controller Area Network (CAN) Protocol || Automotive Electronics || Hariharan K
Hariharan Krishnan
 
Control Area Network
Control Area Network
venkat thangella
 
CAN- controlled area network
CAN- controlled area network
Pantech ProLabs India Pvt Ltd
 
CAN Bus
CAN Bus
mbedlabs Technosolutions
 
Controller Area Network(CAN)
Controller Area Network(CAN)
Ashutosh Bhardwaj
 
CAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus Protocol
Abhinaw Tiwari
 
Ca npp t
Ca npp t
Darshan k s
 
CAN BUS.ppt
CAN BUS.ppt
Anbuselvi Mathivanan
 
Lin bus
Lin bus
محمدعبد الحى
 
Controller area network
Controller area network
Divi1597
 
Canbus
Canbus
SURYAPRAKASH S
 
The Basics of Automotive Ethernet Webinar Slidedeck
The Basics of Automotive Ethernet Webinar Slidedeck
teledynelecroy
 
Can protocol implementation for data communication (2)
Can protocol implementation for data communication (2)
karuna418
 
Ethernet protocol
Ethernet protocol
Tom Chou
 
Controller area network protocol
Controller area network protocol
Sneha Nalla
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN Stack
Rania Nabil
 
CAN Bus
CAN Bus
Anoop Mathew
 
LIN protocol description
LIN protocol description
sonu kumar suman
 
Local Interconnect Network
Local Interconnect Network
Jabez Winston
 
Canbus presentation
Canbus presentation
Kurt von Ahnen
 
Automotive bus technologies
Automotive bus technologies
Radwa Tarek
 
Can bus
Can bus
efrain1-9
 
Can Bus communication Protocol
Can Bus communication Protocol
Pedro Campana Cueto
 

More Related Content

What's hot (20)

Control Area Network
Control Area Network
venkat thangella
 
CAN- controlled area network
CAN- controlled area network
Pantech ProLabs India Pvt Ltd
 
CAN Bus
CAN Bus
mbedlabs Technosolutions
 
Controller Area Network(CAN)
Controller Area Network(CAN)
Ashutosh Bhardwaj
 
CAN (Controller Area Network) Bus Protocol
CAN (Controller Area Network) Bus Protocol
Abhinaw Tiwari
 
Ca npp t
Ca npp t
Darshan k s
 
CAN BUS.ppt
CAN BUS.ppt
Anbuselvi Mathivanan
 
Lin bus
Lin bus
محمدعبد الحى
 
Controller area network
Controller area network
Divi1597
 
Canbus
Canbus
SURYAPRAKASH S
 
The Basics of Automotive Ethernet Webinar Slidedeck
The Basics of Automotive Ethernet Webinar Slidedeck
teledynelecroy
 
Can protocol implementation for data communication (2)
Can protocol implementation for data communication (2)
karuna418
 
Ethernet protocol
Ethernet protocol
Tom Chou
 
Controller area network protocol
Controller area network protocol
Sneha Nalla
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN Stack
Rania Nabil
 
CAN Bus
CAN Bus
Anoop Mathew
 
LIN protocol description
LIN protocol description
sonu kumar suman
 
Local Interconnect Network
Local Interconnect Network
Jabez Winston
 
Canbus presentation
Canbus presentation
Kurt von Ahnen
 
Automotive bus technologies
Automotive bus technologies
Radwa Tarek
 

Viewers also liked (16)

Can bus
Can bus
efrain1-9
 
Can Bus communication Protocol
Can Bus communication Protocol
Pedro Campana Cueto
 
Designs of input and output driver circuits for 16 bit electronic control uni...
Designs of input and output driver circuits for 16 bit electronic control uni...
eSAT Publishing House
 
Electronic Control Unit(ECU)
Electronic Control Unit(ECU)
Ankul Gupta
 
OPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIM
OPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIM
OPAL-RT TECHNOLOGIES
 
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...
REvERSE University of Naples Federico II
 
Pushing the limits of Controller Area Network (CAN)
Pushing the limits of Controller Area Network (CAN)
RealTime-at-Work (RTaW)
 
Canbus
Canbus
sushil vishwakarma
 
'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil Webinar
Electromate
 
What is CANopen? | ElmoMC
What is CANopen? | ElmoMC
Elmo Motion Control
 
Webinar | HIL Testing of Electric Transportation
Webinar | HIL Testing of Electric Transportation
OPAL-RT TECHNOLOGIES
 
Ecu final
Ecu final
karthikeyanswa
 
ECU Poster
ECU Poster
Navneet Roy
 
Multi-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMC
Elmo Motion Control
 
CAN (Controller Area Network)
CAN (Controller Area Network)
Ajay Sukruth
 
D1 b ducati slide rev03_eng
D1 b ducati slide rev03_eng
Kurt von Ahnen
 
Designs of input and output driver circuits for 16 bit electronic control uni...
Designs of input and output driver circuits for 16 bit electronic control uni...
eSAT Publishing House
 
Electronic Control Unit(ECU)
Electronic Control Unit(ECU)
Ankul Gupta
 
OPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIM
OPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIM
OPAL-RT TECHNOLOGIES
 
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...
REvERSE University of Naples Federico II
 
Pushing the limits of Controller Area Network (CAN)
Pushing the limits of Controller Area Network (CAN)
RealTime-at-Work (RTaW)
 
'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil Webinar
Electromate
 
Webinar | HIL Testing of Electric Transportation
Webinar | HIL Testing of Electric Transportation
OPAL-RT TECHNOLOGIES
 
Multi-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMC
Elmo Motion Control
 
CAN (Controller Area Network)
CAN (Controller Area Network)
Ajay Sukruth
 
D1 b ducati slide rev03_eng
D1 b ducati slide rev03_eng
Kurt von Ahnen
 
Ad

Similar to Controller area network (can bus) (20)

CONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptx
VairaPrakash2
 
Controller Area Network (CAN) Different Types
Controller Area Network (CAN) Different Types
FebinShaji9
 
Automotive Networks : A Review
Automotive Networks : A Review
IJAEMSJORNAL
 
CAN BUS CABLE AUTOMOTIVE ECU PPT .pptx
CAN BUS CABLE AUTOMOTIVE ECU PPT .pptx
rahulchaure14
 
11.chapters
11.chapters
Bhanuprakash K
 
What is Can bus in automotive Ecu car.ppt
What is Can bus in automotive Ecu car.ppt
rahulchaure14
 
CAN F28x
CAN F28x
Pantech ProLabs India Pvt Ltd
 
Controller area network as the security of the vehicles
Controller area network as the security of the vehicles
IAEME Publication
 
CANBUS introduction lecture for automotive
CANBUS introduction lecture for automotive
NaranbaatarErdenesur1
 
AutomotiveEmbeddedSystemscinsiderations.pptx
AutomotiveEmbeddedSystemscinsiderations.pptx
afra151
 
CONTROLLER AREA NETWORK CAN bus and Multiplexing.pptx
CONTROLLER AREA NETWORK CAN bus and Multiplexing.pptx
skting2
 
Can basics
Can basics
cdackp
 
Asia 14-garcia-illera-dude-wtf-in-my-can
Asia 14-garcia-illera-dude-wtf-in-my-can
injenerzntu
 
Can Protocol Based Health Monitoring
Can Protocol Based Health Monitoring
pitchaimuthu
 
Understanding+CAN.ppt,....................
Understanding+CAN.ppt,....................
Abhi282689
 
CAN BUS.pptx
CAN BUS.pptx
BakiyalakshmiR1
 
Cancheck
Cancheck
ICP DAS USA, Inc.
 
Unit I Testing
Unit I Testing
Dr. Pankaj Zope
 
final_of_can_bus_ (1).ppt
final_of_can_bus_ (1).ppt
ZiadAlfawadleh1
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and Development
IJERD Editor
 
CONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptx
VairaPrakash2
 
Controller Area Network (CAN) Different Types
Controller Area Network (CAN) Different Types
FebinShaji9
 
Automotive Networks : A Review
Automotive Networks : A Review
IJAEMSJORNAL
 
CAN BUS CABLE AUTOMOTIVE ECU PPT .pptx
CAN BUS CABLE AUTOMOTIVE ECU PPT .pptx
rahulchaure14
 
What is Can bus in automotive Ecu car.ppt
What is Can bus in automotive Ecu car.ppt
rahulchaure14
 
Controller area network as the security of the vehicles
Controller area network as the security of the vehicles
IAEME Publication
 
CANBUS introduction lecture for automotive
CANBUS introduction lecture for automotive
NaranbaatarErdenesur1
 
AutomotiveEmbeddedSystemscinsiderations.pptx
AutomotiveEmbeddedSystemscinsiderations.pptx
afra151
 
CONTROLLER AREA NETWORK CAN bus and Multiplexing.pptx
CONTROLLER AREA NETWORK CAN bus and Multiplexing.pptx
skting2
 
Can basics
Can basics
cdackp
 
Asia 14-garcia-illera-dude-wtf-in-my-can
Asia 14-garcia-illera-dude-wtf-in-my-can
injenerzntu
 
Can Protocol Based Health Monitoring
Can Protocol Based Health Monitoring
pitchaimuthu
 
Understanding+CAN.ppt,....................
Understanding+CAN.ppt,....................
Abhi282689
 
final_of_can_bus_ (1).ppt
final_of_can_bus_ (1).ppt
ZiadAlfawadleh1
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and Development
IJERD Editor
 
Ad

Recently uploaded (20)

T4020 New holland Gearbox Control Systems Repair Manual.pdf
T4020 New holland Gearbox Control Systems Repair Manual.pdf
Service Repair Manual
 
Caterpillar 323D L Heavy equipment repair manual download.pdf
Caterpillar 323D L Heavy equipment repair manual download.pdf
Service Repair Manual
 
skyjack scissor lift model 8841 parts.pdf
skyjack scissor lift model 8841 parts.pdf
gezim3
 
Kubota kx121 2(h) excavator parts catalogue manual.pdf
Kubota kx121 2(h) excavator parts catalogue manual.pdf
Service Repair Manual
 
T8.320 new holland specs Service Manual.pdf
T8.320 new holland specs Service Manual.pdf
Service Repair Manual
 
Ford vs Ferrari The Legendary Rivalry Presentation
Ford vs Ferrari The Legendary Rivalry Presentation
Barath Rahav
 
John Deere 185 Hydrostatic Transmission Service Manual.pdf
John Deere 185 Hydrostatic Transmission Service Manual.pdf
Service Repair Manual
 
What Does the Check Engine Light Mean on a VW
What Does the Check Engine Light Mean on a VW
Medway Imports
 
John Deere 130 Lawn Tractor Engine Service Manual.pdf
John Deere 130 Lawn Tractor Engine Service Manual.pdf
Service Repair Manual
 
Exploring the shift: A day in the life of two UK taxi operators
Exploring the shift: A day in the life of two UK taxi operators
Sakkun Tickoo
 
Caterpillar Cat M325D L MH EXCAVATOR (Prefix KAY) Service Repair Manual Insta...
Caterpillar Cat M325D L MH EXCAVATOR (Prefix KAY) Service Repair Manual Insta...
gan26715danmo
 
Casebook 4.0.pdfhkhoijoijoijijijoijoijiojoijoijoi
Casebook 4.0.pdfhkhoijoijoijijijoijoijiojoijoijoi
ariahermazakaria
 
Caterpillar 323D L Excavator flywheel removal procedure.pdf
Caterpillar 323D L Excavator flywheel removal procedure.pdf
Service Repair Manual
 
John Deere 175 Power Train Service Manual.pdf
John Deere 175 Power Train Service Manual.pdf
Service Repair Manual
 
John Deere 180 Brakes and Linkages Service Manual.pdf
John Deere 180 Brakes and Linkages Service Manual.pdf
Service Repair Manual
 
6 ultrasound.pdfbffhhffccjgddgjfsssfbbgcdf
6 ultrasound.pdfbffhhffccjgddgjfsssfbbgcdf
BelaynehBishaw
 
最新版美国威斯康星大学绿湾分校毕业证(UWGB毕业证书)原版定制
最新版美国威斯康星大学绿湾分校毕业证(UWGB毕业证书)原版定制
taqyea
 
New Holland Lx465 Engine Service Manual.pdf
New Holland Lx465 Engine Service Manual.pdf
Service Repair Manual
 
quantum computing pptx, free of virus.com
quantum computing pptx, free of virus.com
matcf1
 
Modern Cars Are Slowly Becoming Computers On Wheels - Here's Why!
Modern Cars Are Slowly Becoming Computers On Wheels - Here's Why!
jennifermiller8137
 
T4020 New holland Gearbox Control Systems Repair Manual.pdf
T4020 New holland Gearbox Control Systems Repair Manual.pdf
Service Repair Manual
 
Caterpillar 323D L Heavy equipment repair manual download.pdf
Caterpillar 323D L Heavy equipment repair manual download.pdf
Service Repair Manual
 
skyjack scissor lift model 8841 parts.pdf
skyjack scissor lift model 8841 parts.pdf
gezim3
 
Kubota kx121 2(h) excavator parts catalogue manual.pdf
Kubota kx121 2(h) excavator parts catalogue manual.pdf
Service Repair Manual
 
T8.320 new holland specs Service Manual.pdf
T8.320 new holland specs Service Manual.pdf
Service Repair Manual
 
Ford vs Ferrari The Legendary Rivalry Presentation
Ford vs Ferrari The Legendary Rivalry Presentation
Barath Rahav
 
John Deere 185 Hydrostatic Transmission Service Manual.pdf
John Deere 185 Hydrostatic Transmission Service Manual.pdf
Service Repair Manual
 
What Does the Check Engine Light Mean on a VW
What Does the Check Engine Light Mean on a VW
Medway Imports
 
John Deere 130 Lawn Tractor Engine Service Manual.pdf
John Deere 130 Lawn Tractor Engine Service Manual.pdf
Service Repair Manual
 
Exploring the shift: A day in the life of two UK taxi operators
Exploring the shift: A day in the life of two UK taxi operators
Sakkun Tickoo
 
Caterpillar Cat M325D L MH EXCAVATOR (Prefix KAY) Service Repair Manual Insta...
Caterpillar Cat M325D L MH EXCAVATOR (Prefix KAY) Service Repair Manual Insta...
gan26715danmo
 
Casebook 4.0.pdfhkhoijoijoijijijoijoijiojoijoijoi
Casebook 4.0.pdfhkhoijoijoijijijoijoijiojoijoijoi
ariahermazakaria
 
Caterpillar 323D L Excavator flywheel removal procedure.pdf
Caterpillar 323D L Excavator flywheel removal procedure.pdf
Service Repair Manual
 
John Deere 175 Power Train Service Manual.pdf
John Deere 175 Power Train Service Manual.pdf
Service Repair Manual
 
John Deere 180 Brakes and Linkages Service Manual.pdf
John Deere 180 Brakes and Linkages Service Manual.pdf
Service Repair Manual
 
6 ultrasound.pdfbffhhffccjgddgjfsssfbbgcdf
6 ultrasound.pdfbffhhffccjgddgjfsssfbbgcdf
BelaynehBishaw
 
最新版美国威斯康星大学绿湾分校毕业证(UWGB毕业证书)原版定制
最新版美国威斯康星大学绿湾分校毕业证(UWGB毕业证书)原版定制
taqyea
 
New Holland Lx465 Engine Service Manual.pdf
New Holland Lx465 Engine Service Manual.pdf
Service Repair Manual
 
quantum computing pptx, free of virus.com
quantum computing pptx, free of virus.com
matcf1
 
Modern Cars Are Slowly Becoming Computers On Wheels - Here's Why!
Modern Cars Are Slowly Becoming Computers On Wheels - Here's Why!
jennifermiller8137
 

Controller area network (can bus)

  • 1. Controller Area Network (CAN bus) in the Automotive Industry An efficient way to establish in-system communication. By: BESSAAD NASSIM 2016
  • 2.  Introduction:The needs leeds to innovation.  First Approach.  Conception of the CAN bus.  Details about CAN.  CAN in cars.  OBD and CAN.  Conclusion. PLAN
  • 3. In order to understand the birth of the CAN bus technology, we must go back in time. After WWII, most of the military application manufacturers (tanks, jets, …) switched to cars instead (Wolkswagen, SAAB..). The market grew exponentially, the automotive industry became the heart of the economy, that led to big competition and rivalry and this naturally leads to new horizons for the automotive industry. The car electronics became a large part of the car, naturally the wiring harness became a problem. Introductions:
  • 5.  The man of the hour was Robert Bosch It was 1986, Detroit USA, the annual SAE Congress, Robert Bosch revealed the Controller Area Network bus system to support short messages that circulates between the vehicles embedded systems. Solution:
  • 8. This is a vehicle bus with:  Serial communication protocole.  Multi-master message model.  System flexibility.  Message anti-collision protection procedure (arbitration).  Communication speed up to 1 Mb/s.  Error detection.  Maximunm network size is limited only by electrical loading. CAN characteristics:
  • 9. Bit Rate / Bus Length 1M bit/sec 40 meters (131 feet) 500K bit/sec 100 meters (328 feet) 250K bit/sec 200 meters (656 feet) 125K bit/sec 500 meters (1640 feet) CAN characteristics:
  • 10.  BUS : The physical medium that allows data to find its way from source to desired destination. Conception:
  • 11.  The CAN is a gathering of nodes without a limited number of them, but the electrical loading suggests under 70 node is best.  This nodes communicates using messages called frames which is a common language for all nodes, the frame has four types:  DATA FRAME  REMOTE FRAME  ERROR FRAME  OVERLOAD FRAME Conception
  • 12.  The stream of bits in CAN bus is coded according to the non return to zero (NRZ) methode with bit stuffing.  after having sending five consecutive bits of identical value, a stuff bit is added, it’s a bit of inverse value of the past five. Of course it’s discarded by the receiver. Conception
  • 13. Conception The data frame in 2.0 A has the following format:
  • 14.  Controller Area Network 2.0A which is the standard frame and 2.0B is the extended frame.  The main difference between the A and B is in the message frame, particularly in the Identifier, the standard CAN 2.0A uses identification field of 11 bits the extended CAN 2.0B has a 29 bit Identifier (Arbitration Field).  PS: We can Implement both CAN frame formats in the same Network with no problems of compatibility.  But if two different format nodes has the same 11 first bits in the arbitration, the one with CAN 2.0A wins regardless of the remaining bits of node with CAN 2.0B frame format. Extended Message format:
  • 16.  The microcontroller or the central processing unit: The brain of the node, it supervise the communication, sending and receiving and treating decisions. CAN controller: responsible of storing the received bits until a complete message is available. The CAN transceiver: it represents the physical link between the nodes core and the wires of a bus, it has the role of a converter, applies the voltage difference on the wires to create the signal to be transmitted. CAN node:
  • 17.  In CAN we find several error detection procedures:  Bit Monitoring  Compares every bit placed on the CAN bus with the actual bus level  Stuff Check  Compares arriving bit stream for a sequence of six homogeneous bits.  Form Check  Comparison of the arriving bit stream with the message format  Cyclic Redundancy Check  Every node compares the received value of the CRC with the calculated one it has.  ACK Check  Acknowledge error (ACK error) is detected if the recessive level placed by the sender is not overwritten. CAN data protection:
  • 18.  Every node has three states: CAN data protection:
  • 19.  Multi-master priority based bus access.  Non-destructive contention based arbitration  Multicast message transfer by message acceptance filtering  Remote data request  Configuration flexibility  System wide data consistency  Error detection and error signaling  Automatic retransmission for message that lost arbitration  Automatic retransmission for message that were destroyed by errors  Distinction between temporary errors and permanent failures of nodes  Autonomous deactivation of defective nodes  Low-cost, Lightweight network. CAN proprieties (Advantage):
  • 20.  CAN was originally conceived for applications in the automotive industry, but its grand reliability and flexibility plus its Baud-rate that generates quick response enabling real-time application implementation, turn the heads of all area application designers in order to invest in the efficiency of this communication protocol.  So, we find today CAN in military, medical, automation …ETC  More than five billions integrated CAN chips are cheeped every year.  But the automotive industry still the biggest winner for CAN evolution as we shall see further in this presentation. CAN applications:
  • 22.  The Controller Area Network became an essential for cars, to understand how big its role we must understand the cars electronics and evaluate the thing that makes these machines one of the greatest invention of mankind. CAN in automotive
  • 23.  The built-in system interface or “BSI” in a vehicle is a gateway to the diagnostic tool that can incorporate many electronic modules such as the interface electronics, the control electronics because it can directly communicate with the engine ECU and the petrol pump; also it contains  the vehicles information  (VIN code, key code,  HF remote control code…..). CAN Built-in System Interface:
  • 24.  OBD monitors the components that make up the emission system and key engine components. It can usually detect a malfunction or deterioration of these components before the driver becomes aware of the problem.  Since the 1996 model year all vehicles must comply with OBD II requirements. OBD II requires the monitoring of virtually every component that can affect the emission performance of a vehicle plus store the associated fault code and condition in memory. On-Board Diagnostic:
  • 25.  When the OBD system determines that a problem exists, a corresponding “Diagnostic Trouble Code” is stored in the computer memory.  Trouble codes are how OBDII identifies and communicates to technicians where and what on-board problems exist. The first number in the DTC indicates whether the code is an SAE generic code (applies to all OBDII systems) or is specific to the vehicle manufacturer. The remaining three numbers provide information regarding the specific vehicle system and circuit.  Theses DTCs comes handy for a technician in order to apply the necessary maintenance for the car because their interpretation is universal (generic). ON-Board Diagnostic Trouble Codes
  • 28.  To be able to extract needed data the SAE J1979 standard define a method for requesting various diagnostic data and a list of standard parameters that might be available from the ECU, the available parameters are called Parameter identification numbers (PIDs).  Every manufacturer has the liberty of changing some listed PIDs in the SAE J199and add others freely.  The OBD II has (09) nine operation modes. OBDII:
  • 29. MODE 1:This mode returns certain current values of vehicles sensors. MODE 2:This mode returns instant data of a malfunction; when a malfunction is detected by ECU it registers the sensors data at the moment of the fail appears. MODE 03:Returns DTC registered, these codes are standardized for all brands of vehicles. Mode 04:This mode Allows clearing the stored trouble codes; and shutting down the malfunction Indicator. Mode 05:This mode doesn’t use the CAN bus. OBD II modes:
  • 30. Mode 06:This mode returns the test results of a diagnostic for ECUs using CAN bus only. Mode 07:This mode shows pending Diagnostic Trouble Codes (detected during current or last driving cycle). Mode 08:This mode shows Control operation of on-board component/system, not used a lot in Europe. Mode 09:Returns Vehicles information . OBD II modes:
  • 31.  The request and response uses functional addresses, the diagnostic tool uses a CAN ID of 0x7DF to broadcast a query later it accepts 8 ECUs responses using IDs from 0x7E8 to 0x7EF.  The ECU response has an ID of their assigned ID plus 8.  Figure: OBD II query PID on CANbus. PBD II PIDs:
  • 33.  Many contributions affected the automotive industry in the last century, but the Controller Area Network and On-Board Diagnostic had a huge impact for what it brought of advantage for the car manufacturers and the simple consumer.  Therefore, the development of electronic gadgets based on those technologies is on the run, we now can diagnose the car and retrieve many informations easily thanks to those tools. Conclusion