SlideShare une entreprise Scribd logo
1  sur  33
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

Contenu connexe

Tendances (20)

Can bus
Can busCan bus
Can bus
 
CAN Bus
CAN BusCAN Bus
CAN Bus
 
Ca npp t
Ca npp tCa npp t
Ca npp t
 
Can Bus communication Protocol
Can Bus communication ProtocolCan Bus communication Protocol
Can Bus communication Protocol
 
Can bus
Can busCan bus
Can bus
 
What is AUTOSAR Communiation Stack
What is AUTOSAR Communiation StackWhat is AUTOSAR Communiation Stack
What is AUTOSAR Communiation Stack
 
CAN- controlled area network
CAN- controlled area networkCAN- controlled area network
CAN- controlled area network
 
Can bus m.n.r
Can bus m.n.rCan bus m.n.r
Can bus m.n.r
 
Controller Area Network(CAN)
Controller Area Network(CAN)Controller Area Network(CAN)
Controller Area Network(CAN)
 
Canbus
CanbusCanbus
Canbus
 
Controller area network -ppt
Controller area network -pptController area network -ppt
Controller area network -ppt
 
CAN (Controller Area Network)
CAN (Controller Area Network)CAN (Controller Area Network)
CAN (Controller Area Network)
 
Communication stack
Communication stackCommunication stack
Communication stack
 
What is OBD and OBD II Software Stack?
What is OBD and OBD II Software Stack?What is OBD and OBD II Software Stack?
What is OBD and OBD II Software Stack?
 
Can protocol implementation for data communication (2)
Can protocol implementation for data communication (2)Can protocol implementation for data communication (2)
Can protocol implementation for data communication (2)
 
LIN protocol description
LIN protocol descriptionLIN protocol description
LIN protocol description
 
Controller area network protocol
Controller area network protocolController area network protocol
Controller area network protocol
 
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
 
Can overview
Can overviewCan overview
Can overview
 
AUTOSAR 403 CAN Stack
AUTOSAR 403 CAN StackAUTOSAR 403 CAN Stack
AUTOSAR 403 CAN Stack
 

En vedette

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...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)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 HYPERSIMOPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIM
OPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIMOPAL-RT TECHNOLOGIES
 
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...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)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'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil WebinarElectromate
 
Webinar | HIL Testing of Electric Transportation
Webinar | HIL Testing of Electric TransportationWebinar | HIL Testing of Electric Transportation
Webinar | HIL Testing of Electric TransportationOPAL-RT TECHNOLOGIES
 
Multi-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMCMulti-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMCElmo Motion Control
 
D1 b ducati slide rev03_eng
D1 b ducati slide rev03_engD1 b ducati slide rev03_eng
D1 b ducati slide rev03_engKurt von Ahnen
 

En vedette (15)

Can bus
Can busCan bus
Can bus
 
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...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...
 
Electronic Control Unit(ECU)
Electronic Control Unit(ECU)Electronic Control Unit(ECU)
Electronic Control Unit(ECU)
 
OPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIM
OPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIMOPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIM
OPAL-RT RT14 Conference: HIL testing of protection relays using HYPERSIM
 
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...
Toward automatic Model-In-the-Loop testing of Electronic Vehicle Information ...
 
Pushing the limits of Controller Area Network (CAN)
Pushing the limits of Controller Area Network (CAN)Pushing the limits of Controller Area Network (CAN)
Pushing the limits of Controller Area Network (CAN)
 
Canbus
CanbusCanbus
Canbus
 
'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil Webinar'EtherCat as a Master Machine Control Tool' Galil Webinar
'EtherCat as a Master Machine Control Tool' Galil Webinar
 
What is CANopen? | ElmoMC
What is CANopen? | ElmoMCWhat is CANopen? | ElmoMC
What is CANopen? | ElmoMC
 
Webinar | HIL Testing of Electric Transportation
Webinar | HIL Testing of Electric TransportationWebinar | HIL Testing of Electric Transportation
Webinar | HIL Testing of Electric Transportation
 
Ecu final
Ecu finalEcu final
Ecu final
 
ECU Poster
ECU PosterECU Poster
ECU Poster
 
Multi-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMCMulti-Axis Position Control by EtherCAT | ElmoMC
Multi-Axis Position Control by EtherCAT | ElmoMC
 
Canbus presentation
Canbus presentationCanbus presentation
Canbus presentation
 
D1 b ducati slide rev03_eng
D1 b ducati slide rev03_engD1 b ducati slide rev03_eng
D1 b ducati slide rev03_eng
 

Similaire à Controller area network (can bus)

Controller area network as the security of the vehicles
Controller area network as the security of the vehiclesController area network as the security of the vehicles
Controller area network as the security of the vehiclesIAEME Publication
 
How to Hack Your Mini Cooper. Reverse Engineering CAN Messages on Passenger A...
How to Hack Your Mini Cooper. Reverse Engineering CAN Messages on Passenger A...How to Hack Your Mini Cooper. Reverse Engineering CAN Messages on Passenger A...
How to Hack Your Mini Cooper. Reverse Engineering CAN Messages on Passenger A...Guy Boulianne
 
CONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptxCONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptxVairaPrakash2
 
the best obd industry quick guide book
the best obd industry quick guide bookthe best obd industry quick guide book
the best obd industry quick guide bookautoobdtools
 
Can basics
Can basicsCan basics
Can basicscdackp
 
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
 
PosterCANDeviceTSZS
PosterCANDeviceTSZSPosterCANDeviceTSZS
PosterCANDeviceTSZSTony Sossong
 
PosterCANDeviceTSZS
PosterCANDeviceTSZSPosterCANDeviceTSZS
PosterCANDeviceTSZSTony Sossong
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
CAN Bus and OBD-II
CAN Bus and OBD-II CAN Bus and OBD-II
CAN Bus and OBD-II roadster43
 
IRJET- An Android Solution for Car Monitoring and Alerting System
IRJET- An Android Solution for Car Monitoring and Alerting SystemIRJET- An Android Solution for Car Monitoring and Alerting System
IRJET- An Android Solution for Car Monitoring and Alerting SystemIRJET Journal
 
Controller area network
Controller area networkController area network
Controller area networkDivi1597
 
Obd system quick guide
Obd system quick guideObd system quick guide
Obd system quick guideautoobdtools
 

Similaire à Controller area network (can bus) (20)

11.chapters
11.chapters11.chapters
11.chapters
 
Controller area network as the security of the vehicles
Controller area network as the security of the vehiclesController area network as the security of the vehicles
Controller area network as the security of the vehicles
 
How to Hack Your Mini Cooper. Reverse Engineering CAN Messages on Passenger A...
How to Hack Your Mini Cooper. Reverse Engineering CAN Messages on Passenger A...How to Hack Your Mini Cooper. Reverse Engineering CAN Messages on Passenger A...
How to Hack Your Mini Cooper. Reverse Engineering CAN Messages on Passenger A...
 
Epma 013
Epma 013Epma 013
Epma 013
 
CONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptxCONNECTED vehicle ECU.pptx
CONNECTED vehicle ECU.pptx
 
the best obd industry quick guide book
the best obd industry quick guide bookthe best obd industry quick guide book
the best obd industry quick guide book
 
Lasseq f can
Lasseq f canLasseq f can
Lasseq f can
 
Can basics
Can basicsCan basics
Can basics
 
7hj
7hj7hj
7hj
 
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
 
PosterCANDeviceTSZS
PosterCANDeviceTSZSPosterCANDeviceTSZS
PosterCANDeviceTSZS
 
PosterCANDeviceTSZS
PosterCANDeviceTSZSPosterCANDeviceTSZS
PosterCANDeviceTSZS
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
CAN Bus and OBD-II
CAN Bus and OBD-II CAN Bus and OBD-II
CAN Bus and OBD-II
 
IRJET- An Android Solution for Car Monitoring and Alerting System
IRJET- An Android Solution for Car Monitoring and Alerting SystemIRJET- An Android Solution for Car Monitoring and Alerting System
IRJET- An Android Solution for Car Monitoring and Alerting System
 
Embedded system Basic
Embedded system BasicEmbedded system Basic
Embedded system Basic
 
CAN, BY MD.ABDULLAH
CAN, BY MD.ABDULLAHCAN, BY MD.ABDULLAH
CAN, BY MD.ABDULLAH
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Controller area network
Controller area networkController area network
Controller area network
 
Obd system quick guide
Obd system quick guideObd system quick guide
Obd system quick guide
 

Dernier

Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...nirzagarg
 
Electronic Stability Program. (ESP).pptx
Electronic Stability Program. (ESP).pptxElectronic Stability Program. (ESP).pptx
Electronic Stability Program. (ESP).pptxmohamedAabdeltwab
 
Illustrative History and Influence of Board Games - Thesis.pptx
Illustrative History and Influence of Board Games - Thesis.pptxIllustrative History and Influence of Board Games - Thesis.pptx
Illustrative History and Influence of Board Games - Thesis.pptxHenriSandoval
 
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证62qaf0hi
 
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一opyff
 
Why Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So LoudWhy Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So LoudRoyalty Auto Service
 
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...Hyderabad Escorts Agency
 
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's Why
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's WhyIs Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's Why
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's WhyBavarium Autoworks
 
Mercedes Check Engine Light Solutions Precision Service for Peak Performance
Mercedes Check Engine Light Solutions Precision Service for Peak PerformanceMercedes Check Engine Light Solutions Precision Service for Peak Performance
Mercedes Check Engine Light Solutions Precision Service for Peak PerformanceMotronix
 
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一avy6anjnd
 
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}Health
 
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...gajnagarg
 
Faridabad Call Girls ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Call G...
Faridabad Call Girls ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Call G...Faridabad Call Girls ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Call G...
Faridabad Call Girls ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Call G...Hyderabad Escorts Agency
 
如何办理(爱大毕业证书)爱丁堡大学毕业证成绩单留信学历认证真实可查
如何办理(爱大毕业证书)爱丁堡大学毕业证成绩单留信学历认证真实可查如何办理(爱大毕业证书)爱丁堡大学毕业证成绩单留信学历认证真实可查
如何办理(爱大毕业证书)爱丁堡大学毕业证成绩单留信学历认证真实可查huxs9sacp
 
West Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptxWest Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptxPankajBhagat45
 
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理ezgenuh
 
Stacey+= Dubai Calls Girls O525547819 Call Girls In Dubai
Stacey+= Dubai Calls Girls O525547819 Call Girls In DubaiStacey+= Dubai Calls Girls O525547819 Call Girls In Dubai
Stacey+= Dubai Calls Girls O525547819 Call Girls In Dubaikojalkojal131
 
John deere 7200r 7230R 7260R Problems Repair Manual
John deere 7200r 7230R 7260R Problems Repair ManualJohn deere 7200r 7230R 7260R Problems Repair Manual
John deere 7200r 7230R 7260R Problems Repair ManualExcavator
 
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...nirzagarg
 
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfJohn Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfExcavator
 

Dernier (20)

Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
Top profile Call Girls In Darbhanga [ 7014168258 ] Call Me For Genuine Models...
 
Electronic Stability Program. (ESP).pptx
Electronic Stability Program. (ESP).pptxElectronic Stability Program. (ESP).pptx
Electronic Stability Program. (ESP).pptx
 
Illustrative History and Influence of Board Games - Thesis.pptx
Illustrative History and Influence of Board Games - Thesis.pptxIllustrative History and Influence of Board Games - Thesis.pptx
Illustrative History and Influence of Board Games - Thesis.pptx
 
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
一比一原版(Deakin毕业证书)迪肯大学毕业证成绩单留信学历认证
 
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
如何办理多伦多大学毕业证(UofT毕业证书)成绩单原版一比一
 
Why Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So LoudWhy Does My Porsche Cayenne's Exhaust Sound So Loud
Why Does My Porsche Cayenne's Exhaust Sound So Loud
 
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
Housewife Call Girl in Faridabad ₹7.5k Pick Up & Drop With Cash Payment #8168...
 
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's Why
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's WhyIs Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's Why
Is Your Volvo XC90 Displaying Anti-Skid Service Required Alert Here's Why
 
Mercedes Check Engine Light Solutions Precision Service for Peak Performance
Mercedes Check Engine Light Solutions Precision Service for Peak PerformanceMercedes Check Engine Light Solutions Precision Service for Peak Performance
Mercedes Check Engine Light Solutions Precision Service for Peak Performance
 
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
如何办理莱斯大学毕业证(Rice毕业证)毕业证成绩单原版一比一
 
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
+97470301568>>buy vape oil,thc oil weed,hash and cannabis oil in qatar doha}}
 
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
Top profile Call Girls In dharamshala [ 7014168258 ] Call Me For Genuine Mode...
 
Faridabad Call Girls ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Call G...
Faridabad Call Girls ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Call G...Faridabad Call Girls ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Call G...
Faridabad Call Girls ₹7.5k Pick Up & Drop With Cash Payment 8168257667 Call G...
 
如何办理(爱大毕业证书)爱丁堡大学毕业证成绩单留信学历认证真实可查
如何办理(爱大毕业证书)爱丁堡大学毕业证成绩单留信学历认证真实可查如何办理(爱大毕业证书)爱丁堡大学毕业证成绩单留信学历认证真实可查
如何办理(爱大毕业证书)爱丁堡大学毕业证成绩单留信学历认证真实可查
 
West Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptxWest Bengal Factories Rules, 1958.bfpptx
West Bengal Factories Rules, 1958.bfpptx
 
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
一比一原版(PU学位证书)普渡大学毕业证学历认证加急办理
 
Stacey+= Dubai Calls Girls O525547819 Call Girls In Dubai
Stacey+= Dubai Calls Girls O525547819 Call Girls In DubaiStacey+= Dubai Calls Girls O525547819 Call Girls In Dubai
Stacey+= Dubai Calls Girls O525547819 Call Girls In Dubai
 
John deere 7200r 7230R 7260R Problems Repair Manual
John deere 7200r 7230R 7260R Problems Repair ManualJohn deere 7200r 7230R 7260R Problems Repair Manual
John deere 7200r 7230R 7260R Problems Repair Manual
 
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Thrissur [ 7014168258 ] Call Me For Genuine Models ...
 
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdfJohn Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
John Deere Tractors 5415 Diagnostic Repair Service Manual.pdf
 

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