end to end information about canbus
TRANSCRIPT
-
8/18/2019 End to End Information about CANBUS
1/18
Introduction to
CANBUS
1
-
8/18/2019 End to End Information about CANBUS
2/18
1. CANBUS Introduction
What is CANBUS? Who uses CANBUS?
CANBUS history
CANBUS timeline
2. CANBUS Characteristics OSI Model
Physical ayer
!ransmission Characteristics
". Messa#e Oriented Communication
$. Messa#e %ormat&. Bus Ar'itration
Presentation Goals
2
-
8/18/2019 End to End Information about CANBUS
3/18
CANBUS or CAN 'us ) Controller Area Net*or+ bus
An automoti,e serial 'us system de,elo-ed to satisy
the ollo*in# re/uirements0
Net*or+ multi-le microcontrollers *ith 1 -air o *ires.
Allo* microcontrollers communicate *ith each other.
i#h s-eed real3time communication.
Pro,ide noise immunity in an electrically noisy
en,ironment.
o* cost
What is CANBUS?
3
-
8/18/2019 End to End Information about CANBUS
4/18
4esi#ned s-eci5cally or automoti,e a--lications !oday 3 industrial automation 6 medical e/ui-ment
Who uses CANBUS?
4
Automoti,e Medical 6 Industrial
78
178
278
"78
$78
&78
978
:78
;78
-
8/18/2019 End to End Information about CANBUS
5/18
CANBUS History
5
%irst idea 3 !he idea o CAN *as 5rst concei,ed 'yen#ineers at =o'ert Bosch >m'h in >ermany inthe early 1
-
8/18/2019 End to End Information about CANBUS
6/18
CANBUS Timeline
6
1
-
8/18/2019 End to End Information about CANBUS
7/18
CAN is a closed net*or+◦ ) no need or security sessions or lo#ins.
◦ 3 no user interace re/uirements.
Physical and 4ata in+ layers in silicon.
CANBUS and the S! Model
7
-
8/18/2019 End to End Information about CANBUS
8/18
CANBUS Physi"al #ayer
8
Conventional multi-wire looms CAN bus network
Physical medium ) t*o *ires terminated at 'oth ends 'y resistors.
4iDerential si#nal 3 'etter noise immunity.
Bene5ts0 =educed *ei#ht =educed cost
%e*er *ires E Increased relia'ility
vs.
http://canbuskit.com/what.php
-
8/18/2019 End to End Information about CANBUS
9/18
Transmission Chara"teristi"s
9
U- to 1 M'it6sec. Common 'aud rates0 1 M &77 F and 12&
F All nodes ) same 'aud rate MaG len#th0127H to 1&777H @rate de-endent
© esd eect!onics" #nc. $ 525 %e!na!dston &oad $ '!een(ied" )* +13+1
-
8/18/2019 End to End Information about CANBUS
10/18
Messa$e riented Transmission Proto"ol
1+
ach node ) recei,er transmitter A sender o inormation transmits to all de,ices on the 'us
All nodes read messa#e then decide i it is rele,ant to them All nodes ,eriy rece-tion *as error3ree All nodes ac+no*led#e rece-tion
CAN bus© 2++5 )ic!ochip ,echnoo- #nco!po!ated. * &i-hts &ese!ved.
-
8/18/2019 End to End Information about CANBUS
11/18
Messa$e %ormat
11
ach messa#e has an I4 4ata and o,erhead.
4ata ); 'ytes maG O,erhead ) start end C=C ACF
-
8/18/2019 End to End Information about CANBUS
12/18
&'am(le o) Messa$e Transa"tion
12
-
8/18/2019 End to End Information about CANBUS
13/18
Bus Arbitration
13
Ar'itration ) needed *hen multi-le nodes try to transmit atthe same time
Only one transmitter is allo*ed to transmit at a time. A node *aits or 'us to 'ecome idle Nodes *ith more im-ortant messa#es continue transmittin#
CAN bus© 2++5 )ic!ochip ,echnoo- #nco!po!ated. * &i-hts &ese!ved.
-
8/18/2019 End to End Information about CANBUS
14/18
Bus Arbitration
14
Messa#e im-ortance is encoded in messa#e I4.
o*er ,alue E More im-ortant As a node transmits each 'it it ,eri5es that it sees
the same 'it ,alue on the 'us that it transmitted. A J7K on the 'us *ins o,er a J1K on the 'us.
osin# node sto-s transmittin# *inner continues.
-
8/18/2019 End to End Information about CANBUS
15/18
CAN 'us ) Controller Area Net*or+ 'us Primarily used or 'uildin# CU net*or+s in
automoti,e a--lications.
!*o *ires OSI 3 Physical and 4ata lin+ layers 4iDerential si#nal 3 noise immunity 1M'it6s 127H
Messa#es contain u- to ; 'ytes o data
Summary
15
-
8/18/2019 End to End Information about CANBUS
16/18
Mare+ ae+
&nd o) Presentation
16
-
8/18/2019 End to End Information about CANBUS
17/18
A J7K @lo* ,olta#e on the 'us 'y 1 node
*ins o,er a J1K @hi#h ,olta#e on the 'us.
Bus arbitration
17
-
8/18/2019 End to End Information about CANBUS
18/18
Bus Arbitration %lo*"hart
18