b.tech project format-2016 final

Upload: pavan

Post on 07-Jul-2018

249 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/18/2019 B.tech Project Format-2016 Final

    1/25

    BIOMETRIC BASED DOOR LOCKING SYSTEM

     Project work submitted in partial fulfillment of the requirements

     for the award of degree of

    Bachelor of Technology

    in

    Electronics an Co!!"nication Engineering

     by

    A# Leela An"roo$ %&'&(&A)*)* + Ch# ,en-ata .raee$ %&'&(&A)*((+

    D# .a/an K"!ar %&'&(&A)*(0+

    1ner the g"iance of 

    Sri# T# Ra/inra

    Assistant .rofessor

    COLLEGE OF ENGINEERING(AUTONOMOUS)

    De$art!ent of Electronics an Co!!"nication EngineeringGAYATRI ,IDYA .ARIS2AD COLLEGE O3 ENGINEERING (AUTONOMOUS)

    %Affiliate to 4#N#T 1ni/ersity5 Ka-inaa5 A#.+,ISAK2A.ATNAM6 7() )*8

    A$ril5 ')&0

    1

  • 8/18/2019 B.tech Project Format-2016 Final

    2/25

    CERTI3ICATE

    This is to certify that the proect tit!e" BIOMETRIC BASED DOOR LOCKING

    SYSTEM is a bo#afi"e recor" of the $or% "o#e by A# Leela An"roo$ %&'&(&A)*)* +5

    Ch# ,en-ata .raee$ %&'&(&A)*((+5 D# .a/an K"!ar %&'&(&A)*(0+5  i# partia!

    f&!fi!!'e#t of the re&ire'e#ts for the a$ar" of the "eree of Bachelor of Technology i#

    Electronics an Co!!"nication Engineering of the Gayatri *i"ya +arisha" Co!!ee of 

    E#i#eeri# (A&to#o'o&s) affi!iate" to ,a$ahar!a! Nehr& Tech#o!oica! U#i-ersity.

    /a%i#a"a "&ri# the year ')&76')&0# 

    %Na!e 9 Signat"re of the S"$er/isor+ %Na!e 9 Signat"re of the 2oD+

    +roect *i-a0-oce he!" o#  

      Signat"re of the E:ternal E:a!iner

    2

  • 8/18/2019 B.tech Project Format-2016 Final

    3/25

    ABSTRACT

    The abstract s&''ari3es the co#te#t of the thesis. stati# the prob!e' bei#

    e4a'i#e". the proce"&re or 'etho"s &se". a#" a#y co#c!&sio#s that are "ra$#5

    6

  • 8/18/2019 B.tech Project Format-2016 Final

    4/25

    ACKNO;LEDGEMENTS

    7

  • 8/18/2019 B.tech Project Format-2016 Final

    5/25

    CONTENTS

    .age No#

    CERTI3ICATE I

    ABSTRACT II

    ACKNO;LEDGEMENTS II

    CONTENTS II

    LIST O3 TABLES II

    LIST O3 3IG1RES II

    LIST O3 SYMBOLS AND ABBRE,ATIONS II

    C2A.TER & C2A.TER TITLE%STYLE6.A.ER TITLE+ '

    1515 Mai# hea"i#s (sty!e 08ea"i# 1) 2

    C2A.TER ' C2A.TER TITLE%STYLE6.A.ER TITLE+ '

    2515 Mai# hea"i#s (sty!e 08ea"i# 1) 2

    A..ENDI< '

    RE3ERENCES '

    !IST OF TA9LE

    :

  • 8/18/2019 B.tech Project Format-2016 Final

    6/25

    TA9L E1 515 Tab!e hea"i# (sty!e0 tab!e hea")55555555555555555555555555555555555555555555555555555555555552

    TA9L E1 525 F"htf (sty!e0 tab!e hea")5555555555555555555555555555555555555555555555555555555555555555555552

    TA9L E2 515 Tab!e hea"i# (sty!e0 tab!e hea")55555555555555555555555555555555555555555555555555555555555552

    TA9L E2 525 F"htf (sty!e0 tab!e hea")5555555555555555555555555555555555555555555555555555555555555555555552

    LIST O3 3IG1RES

    Fi&re 1515 First fi&re captio# (sty!e0fi&re captio#)5555555555555555555555555555555555555555555555552

    Fi&re 1525 fi&re captio#(Sty!e0fi&re captio#)555555555555555555555555555555555555555555555555555555552

    Fi&re 2515 First fi&re captio# (sty!e0fi&re captio#)5555555555555555555555555555555555555555555555552

    Fi&re 2525 fi&re captio#(Sty!e0fi&re captio#)555555555555555555555555555555555555555555555555555555552

    ;

  • 8/18/2019 B.tech Project Format-2016 Final

    7/25

    LIST O3 SYMBOLS AND ABBRE,ATIONS

    Sy!=ol Descri$tion

    Gree- al$ha=et

    α    +hase of ith e!e'e#t

     π =¿

  • 8/18/2019 B.tech Project Format-2016 Final

    8/25

    C2A.TER &

    .RO4ECT INTROD1CTION

    & Intro"ction

     A&the#ticatio# p!ays a -ery critica! ro!e i# sec&rity0re!ate" app!icatio#s !i%e e0

    co''erce5There are a #&'ber of 'etho"s a#" tech#i&es for acco'p!ishi# this %ey

     process5 I# thisrear". bio'etrics is ai#i# i#creasi# atte#tio# these "ays5 Sec&rity

    syste's. ha-i#rea!i3e" the -a!&e of bio'etrics. &se bio'etrics for t$o basic p&rposes? to

    -erify or i"e#tify &sers5 There is a #&'ber of bio'etrics a#" "iffere#t app!icatio#s #ee"

    "iffere#t bio'etrics5 9io'etric is the 'ost sec&re a#" co#-e#ie#t a&the#ticatio# too!5 It

    ca# #ot be borro$e". sto!e#. or forotte# a#" fori# o#e is practica!!y i'possib!e5

     9io'etrics 'eas&re i#"i-i"&a!@s i&e physica! or beha-iora! characteristics to

    reco#i3e or a&the#ticate their i"e#tity5 Co''o# physica! bio'etrics i#c!&"es

    fi#erpri#ts. ha#" or pa!' eo'etry. reti#a. iris. a#" facia! characteristics5 9eha-iora!

    characterscharacteristics i#c!&"e si#at&re. -oice. %eystro%e patter#. a#" ait5 +roect "ea!s

    $ithI"e#tificatio#. A&the#ticatio# a#" Set&p of Sec&rity Syste' &si# FIM 66

    9io'etricsa#" B:1 Microco#tro!!er5 9esi"e 9io'etrics a#" B:1 Microco#tro!!er the

    'aor co'po#e#ts re&ire" are LC=. RTC Sectio# (for rea! ti'e c!oc% &p"ates). Ge#era!

     p&rpose +C9. Re!ay sectio# (for ope#i# a#" c!osi# of sec&rity "oors) a#"+erso#a!Co'p&ter etc5 The i#terfaci# bet$ee# B:10LC=. B:10RTC. B:1 0 FIM

    669io'etrics Mo"&!e (Th&'b Geo'etry reco#itio#) a#" FIM 66 9io'etric Mo"&!e

      +erso#a! Co'p&ter is to be i'p!e'e#te"5 The "etai!s abo&t each 'o"&!e are i-e# i#

    #e4tsectio#s of this report5

    1

  • 8/18/2019 B.tech Project Format-2016 Final

    9/25

    Fi&re 1515151515 First fi&re captio# (sty!e0fi&re captio#)

    '# ;or-ing Of The .ro>ect

    The $or%i# of the proect is e4p!ai#e" $ith the he!p of b!oc% "iara'5

    9!oc% "iara'?

    Fi&re 151 9!oc% "iara' of the syste'

    There are t$o 'o"es

    15 Reistratio# 'o"e

    25 User 'o"e

    I# first 'o"e. i5e5. the reistratio# 'o"e. syste' co''icates $ith

     perso#a!co'p&ter for creati# a#" 'ai#te#a#ce of "ata base5 This 'o"e ca# be se!ecte"

    &si#'o"e s$itches a-ai!ab!e o# syste'5 I# this 'o"e sca##er sca#s the i'ae of 

    th&'bi'pressio# of the perso# a#" e#erates its bit patter# 'atri4 accor"i# to the %ey

     poi#tsi# th&'b eo'etry a#" tha# stores it i# 'e'ory a-ai!ab!e i# FIM 66 9io'etrics

    Mo"&!e %#o$# as &serDs space5 O#!y a"'i#istrator has a&thority to reister the #e$

     perso#5 I# seco#" 'o"e. i5e5. the &ser 'o"e. syste' brea%s co#tact $ith perso#a!

    co'p&ter5 This 'o"e ca# be se!ecte" $ith the sa'e s$itches that are 'o"e s$itches

    o#syste'5 I# this 'o"e syste' aai# sca#s the th&'b eo'etry of the perso#

    'a%i#co#tact $ith sca##er for i"e#tificatio# a#" start 'atchi# $ith the e4isti# "ata

     base'ai#tai#e" "&ri# reistratio# 'o"e5 If syste' reco#i3es the perso# tha# it $o&!"

    ra#tthe access thro&h "oors accor"i# to hisher "esi#atio# e!se access "e#ie"

    'essae$o&!" be sho$# o# LC= a#" accor"i# to perso#s "esi#atio# access thro&h

    "oors $i!! be pro-i"e"5For a st&"e#t o#!y "oor #&'ber 1 ets ope#5 For a teacherstaff 

    'e'ber "oor #&'ber 1 a#" 2 ets ope#5 For a# a"'i#istrator a!! three "oors i5e5 "oor #o5

    1. 2 6 ets ope# for appro4i'ate!y ;seco#"s5 As o#!y si#!e "oor !oc% is a-ai!ab!e. $e

    are &si# e!ectrica! b&!bs for "oor #o5 2 a#" 65Syste' a!so i#c!&"es rea! ti'e c!oc% 

    &p"ates. $hich &p"ateso&r syste' c!oc% co#ti#&o&s!y5 IC protoco!s are &se" to access rea!

    ti'e &p"ates fro'RTC (rea! ti'e c!oc%) sectio#5 Ce#tra! co#tro! it of syste' is

    Microco#tro!!er B:1.$hich is a!so i#terface" $ith RTC Sectio#5 Co"es for $ho!e

     proce"&re fo!!o$e" bysyste' are rete i# E'be""e" C prora''i# !a#&ae5 /ei!

    Micro*isio#6 I#terate"=e-e!op'e#t E#-iro#'e#t is &se" to co'pi!e $ho!e prora' a#"

    F!ash 'aic is &se" to b&r# the prora' co"e 8e4 fi!e5

  • 8/18/2019 B.tech Project Format-2016 Final

    10/25

    C2A.TER '

    T2E 8)7&

    MICROCONTROLLER 

    ' Intro"ction

      I# this chapter. the B:1 fa'i!y. B:1 asse'b!y !a#&ae prora''i#. !oop a#"IO port prora''i#. B:1 a""ressi# 'o"es. arith'etic i#str&ctio#s. B:1 har"$are

    co##ectio#a#" I#te! he4 fi!e ha-e bee# "isc&sse"5

    '# The 8)7& 3a!ily

      I# 1HB1. I#te! Corporatio# i#tro"&ce" a# B0bit 'icroco#tro!!er ca!!e" the B:15

    This'icroco#tro!!er ha" 12B bytes of RAM. 7/ bytes of o#0chip ROM. t$o ti'ers. o#e

    seria! port. a#" fo&r ports (each B0bits $i"e) a!! o# a si#!e chip5 The B:1 is a# B0bit

     processor.'ea#i# that the C+U ca# $or% o# o#!y B bits of "ata at a ti'e5 =ata !arer

    tha# B bitshas to bro%e# i#to B0bit pieces to be processe" by the C+U5 The B:1 has a

    tota! of fo&r IO ports. each B bits $i"e5 A!tho&h the B:1 ca# ha-e a 'a4i'&' of ;7/

     bytes of o#0chip ROM. 'a#y 'a#&fact&rers ha-e p&t o#!y 7/ bytes o# the chip5 There

    are "iffere#tf!a-ors of the B:1 i# ter's of spee" a#" a'ot of o#0chip ROM. b&t they

    are a!!co'patib!e $ith the orii#a! B:1 as far as the i#str&ctio#s are co#cer#e"5 The

    -ario&s 'e'bers of the B:1 fa'i!y are B:1 'icroco#tro!!er. B:2 'icroco#tro!!er a#"

    B61'icroco#tro!!er5

    Bloc- Diagra!?

    6

  • 8/18/2019 B.tech Project Format-2016 Final

    11/25

    Fi&re 152 9!oc% "iara' of i#si"e the 'icroco#tro!!er B:1

    '#'# 8)7& Microcontroller

      The B:1 is the orii#a! 'e'ber of the B:1 fa'i!y5 Fi&re 251 sho$s the b!oc%

    "iara'of the B:1 'icroco#tro!!er5 The ATBHC:1 is a !o$0po$er. hih0perfor'a#ce

    CMOS B0 bit 'icroco'p&ter $ith 7/ bytes of F!ash prora''ab!e a#" erasab!e rea"

    o#!y 'e'ory(+EROM)5 The "e-ice is 'a#&fact&re" &si# At'e!Ds hih0"e#sity

    #o#-o!ati!e 'e'orytech#o!oy a#" is co'patib!e $ith the i#"&stry0sta#"ar" MCS0:1

    i#str&ctio# set a#" pi#o&t5 The o#0chip F!ash a!!o$s the prora' 'e'ory to be

    reprora''e" i#0syste' or bya co#-e#tio#a! #o#-o!ati!e 'e'ory prora''er5 9y

    7

  • 8/18/2019 B.tech Project Format-2016 Final

    12/25

    co'bi#i# a -ersati!e B0bit C+U$ith F!ash o# a 'o#o!ithic chip. the At'e! ATBHC:1 is a

     po$erf&! 'icroco'p&ter $hich:

     

     pro-i"es a hih!y0f!e4ib!e a#" cost0effecti-e so!&tio# to 'a#y e'be""e" co#tro!app!icati

    o#s5 The ATBHC:1 pro-i"es the fo!!o$i# sta#"ar" feat&res? 7/bytes of F!ash.12B bytes

    of RAM. 62 IO !i#es. t$o 1;0bitti'ercoters. fi-e -ector t$o0!e-e! i#terr&pt

    architect&re. a f&!! "&p!e4 seria! port. a#" o#0chip osci!!ator a#" c!oc% circ&itry5 I#a""itio

    #. the ATBHC:1 is "esi#e" $ith static !oic for operatio# "o$# to 3ero fre&e#cya#"

    s&pports t$o soft$are se!ectab!e po$er sa-i# 'o"es5 The I"!e Mo"e stops the

    C+U$hi!e a!!o$i# the RAM. ti'ercoters. seria! port a#" i#terr&pt syste' to

    :

  • 8/18/2019 B.tech Project Format-2016 Final

    13/25

    co#ti#&efctio#i#5 The +o$er0"o$# Mo"e sa-es the RAM co#te#ts b&t free3es the

    osci!!ator "isab!i# a!! other chip fctio#s ti! the #e4t har"$are reset5

    '#(# .in Descri$tion

    ,CC 

    S&pp!y -o!tae5

    GND

      Gro"5

    .ort )

    +ort is a# B0bit ope#0"rai# bi0"irectio#a! IO port5 As a# o&tp&t port. each pi#

    ca# si#% eiht TTL i#p&ts5

  • 8/18/2019 B.tech Project Format-2016 Final

    14/25

     

    Fi&re 252 +i# "iara' for 'icroco#tro!!er B:1

    .ort &

    +ort 1 is a# B0bit bi0"irectio#a! IO port $ith i#ter#a! p&!!0&ps5 The +ort 1 o&tp&t

     b&ffersca# si#%so&rce fo&r TTL i#p&ts5

  • 8/18/2019 B.tech Project Format-2016 Final

    15/25

    .ort '

    +ort 2 is a# B0bit bi0"irectio#a! IO port $ith i#ter#a! p&!!0&ps5 The +ort 2 o&tp&t

     b&ffersca# si#%so&rce fo&r TTL i#p&ts5

  • 8/18/2019 B.tech Project Format-2016 Final

    16/25

    RST

    Reset i#p&t5 A hih o# this pi# for t$o 'achi#e cyc!es $hi!e the osci!!ator is

    r#i#resets the "e-ice5

    [email protected]

    A""ress Latch E#ab!e o&tp&t p&!se for !atchi# the !o$ byte of the a""ress

    "&ri#accesses to e4ter#a! 'e'ory5 This pi# is a!so the prora' p&!se i#p&t (+ROG)

    "&ri#F!ash prora''i#5 I# #or'a! operatio# ALE is e'itte" at a co#sta#t rate of 1;

    theosci!!ator fre&e#cy. a#" 'ay be &se" for e4ter#a! ti'i# or c!oc%i# p&rposes5

     Note.ho$e-er. that o#e ALE p&!se is s%ippe" "&ri# each access to e4ter#a! =ata

    Me'ory5 If "esire". ALE operatio# ca# be "isab!e" by setti# bit of SFR !ocatio# BE85

  • 8/18/2019 B.tech Project Format-2016 Final

    17/25

    O&tp&t fro' the i#-erti# osci!!ator a'p!ifier5 Osci!!ator Characteristics TAL1

    a#"TAL2 are the i#p&t a#" o&tp&t. respecti-e!y. of a# i#-erti# a'p!ifier $hich ca#

     beco#fi&re" for &se as a# o#0chip osci!!ator. as sho$# i# Fi&re 15 Either a &art3

    crysta!or cera'ic reso#ator 'ay be &se"5 To "ri-e the "e-ice fro' a# e4ter#a! c!oc%

    so&rce.TAL2 sho&!" be !eft co##ecte" $hi!e TAL1 is "ri-e# as sho$#5Fi&re 256

    Crysta! Osci!!ator Co##ectio#sThere are #o re&ire'e#ts o# the "&ty cyc!e of the e4ter#a!

    c!oc% si#a!. si#ce thei#p&t to the i#ter#a! c!oc%i# circ&itry is thro&h a "i-i"e0by0t$o

    f!ip0f!op. b&t 'i#i'&'a#" 'a4i'&' -o!tae hih a#" !o$ ti'e specificatio#s '&st be

    obser-e"5

     

    Fi&re 256 Crysta! Osci!!ator Co##ectio#s

    There are #o re&ire'e#ts o# the "&ty cyc!e of the e4ter#a! c!oc% si#a!. si#ce

    thei#p&t to the i#ter#a! c!oc%i# circ&itry is thro&h a "i-i"e0by0t$o f!ip0f!op. b&t

    'i#i'&'a#" 'a4i'&' -o!tae hih a#" !o$ ti'e specificatio#s '&st be obser-e"5

    '#*# .rogra!!ing of Microcontroller 8)7&

  • 8/18/2019 B.tech Project Format-2016 Final

    18/25

    Co'pi!er pro"&ces he4 fi!e that $e "o$#!oa" i#to ROM of 'icroco#tro!!er5 The

    si3e of he4 fi!e pro"&ce" by co'pi!er is o#e of the 'ai# co#cer#s of

    'icroco#tro!!er prora''ers for t$o reaso#s?15Microco#tro!!er has !i'ite" o#

    0chip ROM25The co"e space for B:1 is !i'ite" to ;7 /9+rora''i# i#

    asse'b!y !a#&ae is te"io&s a#" ti'e co#s&'i#5 C is a hih !e-e! prora''i#

    !a#&ae that is portab!e across 'a#y har"$are architect&res5

    So for folloing reasons e "se C?

    15 It is easier a#" !ess ti'e co#s&'i# to $rite i# C tha# asse'b!y5

    25 C is easier to 'o"ify a#" &p"ate5

    65 Ko& ca# &se co"e a-ai!ab!e i# fctio# !ibraries5

    75 C co"e is portab!e to other 'icroco#tro!!ers $ith !itt!e or #o 'o"ificatio#5

  • 8/18/2019 B.tech Project Format-2016 Final

    19/25

    9it$ise operators are AN= (). OR (). E0OR (). I#-erter (). Shift Riht ()

    a#" Shift !eft ()5

     

    C8A+TER 6

    12

  • 8/18/2019 B.tech Project Format-2016 Final

    20/25

    BIOMETRICS

    (# INTROD1CTION

    8&'a#s reco#i3e each other accor"i# to their -ario&s characteristics for aes5

  • 8/18/2019 B.tech Project Format-2016 Final

    21/25

    of this store" bio'etric "ata is cr&cia! for f&rther a&the#ticatio#s.there are ofte# se-era!

    (&s&a!!y 6 or :) bio'etric sa'p!es &se" to create &serDs 'aster te'p!ate5 The process of

    the &serDs reistratio# $ith the bio'etric syste' is ca!!e"e#ro!!'e#t5

    (#'# Bio!etric techni"es

    There are !ots of bio'etric tech#i&es a-ai!ab!e #o$a"ays5 A fe$ of the' are i#

    the staeof the research o#!y (e55 the o"or a#a!ysis). b&t a si#iVca#t #&'ber of

    tech#o!oies isa!rea"y 'at&re a#" co''ercia!!y a-ai!ab!e (at !east te# "iffere#t types of

     bio'etrics areco''ercia!!y a-ai!ab!e #o$a"ays? V#erpri#t. V#er eo'etry. ha#"

    eo'etry. pa!' pri#t. iris patter#. reti#a patter#. facia! reco#itio#. -oice co'pariso#.

    si#at&re "y#a'icsa#" typi# rhyth')

    (#(# 3inger$rint technologies

    Fi#erpri#t i"e#tiVcatio# is perhaps the o!"est of a!! the bio'etric

    tech#i&es5Fi#erpri#ts $ere &se" a!rea"y i# the O!" Chi#a as a 'ea#s of positi-e!y

    i"e#tifyi# a perso# as a# a&thor of the "oc&'e#t5 Their &se i# !a$ e#force'e#t si#ce the

    !ast ce#t&ryis $e!! %#o$# a#" act&a!!y !et to a# associatio# V#erpri#t cri'e5 This

    ca&se" so'e$orries abo&t the &ser accepta#ce of V#erpri#t0base" syste's5 The sit&atio#

    i'pro-es asthese syste's sprea" aro" a#" beco'e 'ore co''o#5 Fi#erpri#t rea"ers

     before $e ca# procee" a#y f&rther $e #ee" to obtai# the "iita!i3e" V#erpri#t5 The

    tra"itio#a!'etho" &ses the i#% to et the V#erpri#t o#to a piece of paper5 This piece of

     paper isthe# sca##e" &si# a tra"itio#a! sca##er5 This 'etho" is &se" o#!y rare!y to"ay

    $he# a#o!" paper0base" "atabase is bei# "iita!i3e". sca##i# a V#erpri#t fo" o# a

    sce#e of acri'e is bei# processe" or i# !a$ e#force'e#t AFIS syste's5 Other$ise

    'o"er# !i-eV#erpri#t rea"ers are &se"5 They "o #ot re&ire the i#% a#y'ore5 These !i-e

    V#erpri#trea"ers are 'ost co''o#!y base" o# optica!. ther'a!. si!ico# or &!traso#ic

     pri#cip!es5

      Loop Arch

  • 8/18/2019 B.tech Project Format-2016 Final

    22/25

    Fi&re 657 Loop. Arch

  • 8/18/2019 B.tech Project Format-2016 Final

    23/25

    A..ENDI<

    1;

  • 8/18/2019 B.tech Project Format-2016 Final

    24/25

    RE3ERENCES

    (Sty!e0refere#ces)

    For'at for o&r#a! paper sha!! be?

    Z1[ Na%a'ara. K5. a#" Gho"o&ssi. M5. =y#a'ic co'p&tatio# of c!ose"0!i#% robot 'echa#is's$ith #o#0re""a#t a#" re""a#t act&atorsP. IEEE Tra#sactio#s o# Robotics a#" A&to'atio#.1HBH. *o!5 :. No5 6. pp5 2H70625

    For'at for co#fere#ce paper sha!! be?

    Z2[ Co"o&rey. A5 a#" 9&r"et. E5. A bo"y orie#te" 'etho" for fi#"i# a !i#ear for' of the "y#a'ice&atio#s of f&!!y para!!e! robotP. i# +rocee"i#s of IEEE I#ter#atio#a! Co#fere#ce o# Roboticsa#" A&to'atio#. A!b&&er&e. 1HH>. pp5 1;121;1B5

    For'at for te4t boo% sha!! be?Z6[ 8ibbe!er R5 C5. Mecha#ics of Materia!s. Bth E"itio#. +re#tice 8a!!. =e!hi. 2115

    For'at for $ebsite sha!! be?

    Z7[ $$$5

    1>

  • 8/18/2019 B.tech Project Format-2016 Final

    25/25

    1B