7/21/2019 Design of Controller Area Network1
1/22
DESIGN OF CAN FOR
SENSOR NETWORK APPLICATIONS
GUIDED BY,
SUNIL KUMAR K.H
ASSISTANT PROFESSOR
CMRIT
SUBMITTED BY
SHALINI D
1CR11EC101
7/21/2019 Design of Controller Area Network1
2/22
7/21/2019 Design of Controller Area Network1
3/22
Need of CAN
In the be!nn!n...
En!neC"nt#"$
T#%n&'!&&!"n
C"nt#"$
Ant!($")*
B#e%*C"nt#"$
A)t!+e
S&-en(
&!"n
D%&h(b"%#
L!ht!n
P"/e# Se%t&
A!#C"n!t!"n
A!#b%
!e#ent )"nt#"$ &&te'& 2%n the!# &en&"#&3 t" e4)h%ne !n"#'%t!"n.
% )%b$e net/"#* /!th % $enth " - t" &e+e#%$ '!$e&%n '%n )"nne)t"#& /%& #e5!#e.
#"/!n -#"b$e'& )"n)e#n!n '%te#!%$ )"&t, -#")t!"n t!'e %n #e$!%b!$!t.
7/21/2019 Design of Controller Area Network1
4/22
S"$t!"n...
Need of CAN
EngineControl
Transmission
Control
Anti-lock
Break
Control
A)t!+e
S&-en(
&!"n
D%&h(b"%#
L!ht!n
Power Seats
Air
Condition
Airbag
High Speed low Speed
CAN
CAN
CAN
CAN
CAN
CAN
CAN
CAN
C
AN
C
AN
-"!nt(t"(-"!nt /!#!n !& #e-$%)e b "ne &e#!%$ b& )"nne)t!n %$$ )"nt#"$ &&te'&.
CAN
7/21/2019 Design of Controller Area Network1
5/22
7/21/2019 Design of Controller Area Network1
6/22
CAN NETWORK
A CAN net/"#* )"n&!&t& " % n'be# " CAN n"e& /h!)h %#e $!n*e +!% %
-h&!)%$ t#%n&'!&&!"n 'e!' 2CAN b&3.
At the ends of the CAN network, bs termination resistors contribte to
pre!enting transient phenomena "reflections#$
A '%4!'' net/"#* e4ten&!"n " %b"t 80 'ete#& !& %$$"/e.
ISO 11979 &-e)!!e& the '%4!'' n'be# " CAN n"e& %& ;
7/21/2019 Design of Controller Area Network1
7/22
CAN NODE
A--$!)%t!"n
H"&t(C"nt#"$$e#
CAN(C"nt#"$$e#
CAN(T#%n&)e!+e#
CAN(B&
An ECU th%t -e#"#'& !t& t%&*& !n % CAN net/"#* !& #ee##e t" %& % CAN n"e.
E+e# n"e )"n&!&t& " % H"&t2M!)#")"nt#"$$e#3 , CAN )"nt#"$$e# %n % CAN
t#%n&)e!+e#.
7/21/2019 Design of Controller Area Network1
8/22
There are two bus states, called "doi!a!t" a!d "recessive"
The bus lo#ic uses a "Wired-AND" echa!is, that is, "doi!a!t bits"
$e%uivale!t to the lo#ic level "&ero"' overwrite the "recessive" bits$e%uivale!t to the lo#ic level "O!e" '
O!l( if all !odes tra!sit recessive bits $o!es', the )us is i! the
recessive state
CAN )*S +OC
7/21/2019 Design of Controller Area Network1
9/22
CAN .ORSENSOR NETWORKS
7/21/2019 Design of Controller Area Network1
10/22
B&(%))e&& b 'e&&%e -#!"#!tCarrier Se!se /ulti0le Access 1 Collisio! Resolutio!
B& %))e&& )"n$!)t& #e&"$+e b %#b!t#%t!"n
)it-wiseNo!-destructive
Allows for #uara!teed late!c( tie
Me&&%e !ent!!e#CAN has !o !ode addresses
CAN .or Se!sor Networ2s
7/21/2019 Design of Controller Area Network1
11/22
E4ten&!+e ERROR )he)*!n.ive differe!t chec2s
Ever( co!!ected !ode 0artici0ate
D%t% )"n&!&ten) &e)#e
A essa#e is acce0ted b( all !odes or !o!e
CAN .or Se!sor Networ2s
D!e#ent B& M%n%e'ent Meth"&
)it-wise arbitratio!
/aster1Slave
Dais( Chai!
TD/A
7/21/2019 Design of Controller Area Network1
12/22
CAN .RA/N
7/21/2019 Design of Controller Area Network1
13/22
7/21/2019 Design of Controller Area Network1
14/22
"3ello ever(o!e, here4s soe data labeled 5, ho0e
(ou li2e it6"
CAN DATA .RA/E
Data fraes serve to tra!sit the user data
7/21/2019 Design of Controller Area Network1
15/22
CAN RE/OTE .RA/E
>He$$" e+e#"ne, )%n &"'eb" -$e%&e
-#")e the %t% $%be$e ?@>
Similar to a Data Frame, but without Data Field
Remote Transmission Request (RTR) bit isrecessive
Same identifier as the Data Frame which is requested
Note: When Remote Frame is transmitted at the same time ascorresponding Data Frame, Data Frame wins arbitration because ofdominantRTR
bit
Used to request transmission of a specific Data Frame
7/21/2019 Design of Controller Area Network1
16/22
H"/ !& &e Re5e&t F#%'e
N"e
A
N"e
B"!$ te'-.&en&"#
H"/ h"t !& "!$ @Re'"te F#%'e ID "!$!
97"CD%t% F#%'e ID "!$!
97"C
Reote .rae
7/21/2019 Design of Controller Area Network1
17/22
DESN /ET3ODO+O7
7/21/2019 Design of Controller Area Network1
18/22
DESN O. CAN CONTRO++ER
DESN /ET3ODO+O7
7/21/2019 Design of Controller Area Network1
19/22
CAN !& &e !n % /!e %#e% " %--$!)%t!"n&
At"'"t!+e Me!)%$
F%)t"# %t"'%t!"n R%!$/%
M%#!t!'e M%)h!ne )"nt#"$
B!$!n %t"'%t!"n
CAN
Applications
7/21/2019 Design of Controller Area Network1
20/22
Brakes
Dashboard
Power
windows
Central locking
Engine
Airbag
Mirrors
Gearbox
Lights
Air conditioning
C%# B" )"'-"nent&T(0icall( low-s0eed CAN )us
P"/e# T#%!n )"'-"nent&T(0icall( hi#h-s0eed CAN )us
Applications
7/21/2019 Design of Controller Area Network1
21/22
Questions ?
7/21/2019 Design of Controller Area Network1
22/22