Electricity Theft With Rf

Embed Size (px)

Citation preview

  • 8/13/2019 Electricity Theft With Rf

    1/31

    BABA HIRA SINGH BHATTAL INSTITUTE OF

    ENGINEERING AND TECHNOLOGY

    A

    REPORT

    On

    ELECTRICITY THEFT CONTROL

    USING RF

    Submitted in partial fulfillment

    Of

    B.TECH (EE)

    Submitted To: Submitted by:

    Er. H.S. Dhaliwal Dheeraj umar Sin!h("###$#%'&%)

    H.O.D (E.E) tpal Sin!h("###$#%''')

    Shahi umar("###$#%''&)

    Suhant umar("###$#%''*)

    B. TECH (EE)

  • 8/13/2019 Electricity Theft With Rf

    2/31

    ACKNOWLEDGEMENT

    +e would li,e to than, Er. H.S. Dhaliwal our -rojet /uide for hi ontinuou

    effort in helpin! u de0elop our projet from the initial ta!e till ompletion. Hi

    o0erwhelmin! upport and e1pertie ha been an eential dri0in! fore for u and ha an

    immene hare in the ue of our projet.

    2r. Dipanhu auhal i a peron who ha alo played an eential role in thi endea0or.

    2r. auhal i tudent of ECE who had helped u in miroontroller pro!ramin! and !uided

    u throu!hout the tep3wie !rowth of the projet. Hi ,nowled!e in the field of omputer

    ytem hed li!ht to many tehnialitie and !a0e u the ba,3upport we 0ery muh needed.

    +e are 0ery than,ful to him for all hi time and patiene with u.

    +e would alo li,e to than, all our eletrial faulty for bein! 0ery upporti0e and

    helpful in pro0idin! u the e4uipment and tehnial upport 4uinteential in e0ery di0iion

    of thi projet. +ithout hi upport5 thi projet would ha0e been 4uite a diffiult ta, to

    ahie0e.

  • 8/13/2019 Electricity Theft With Rf

    3/31

    Object!e

    Eletriity theft or brea, wirele indiation i the 0at tehnolo!y in

    eletroni field.Thi projet i dei!ned to ma,e eletriity eurity eay to ontrol when any

    peron want to theft the eletriity for home. The implet proe i to put a diret wire3

    onnetion to a main power route pain! by a houe or hop o that eletriity an flow to

    the onumer without roin! the eletri meterthat i fi1ed by theState Eletriity Boardto

    alibrate the load the ub3total of your appliane i drawin!. The afet time to do o i late

    at ni!ht when there i maller hane of bein! au!ht. Other method may inlude openin!

    the meter itelf5 without dama!in! it eal5 and re0erin! the dial: a ompliated proedure

    that re4uire e1pert ,ill.+herea all the meter are manufatured to reord onumption of eletriity at fre4ueny of

    %# Hert6. So durin! the period the aid de0ie remain ener!i6ed5 the meter diontinue

    reordin! onumption of eletriity.

    http://en.wikipedia.org/wiki/Electric_meterhttp://en.wikipedia.org/wiki/State_Electricity_Boardhttp://en.wikipedia.org/wiki/Electric_meterhttp://en.wikipedia.org/wiki/State_Electricity_Board
  • 8/13/2019 Electricity Theft With Rf

    4/31

    W"#$n%&

    7n thi projet we are uin! two 89 tranmitter module for ontrol. 7f any peron

    want to theft the eletriity at their reidential area then data will be tranmitted to reei0er

    and then our miroontroller will !i0e u indiation wirelely throu!h rf to the ontrol room.

    Thi projet Tranmit a di!ital data throu!h 89. The ordinary * 2H6 89 module are ued

    in thi projet. ;#%& miroontroller i ued in thi projet.

    7n thi we are uin! 8adio fre4ueny a a medium to ommuniate between reei0er and

    tranmitter( a 89 module TS * for the tranmiion of data). +e firt ma,e a

  • 8/13/2019 Electricity Theft With Rf

    5/31

    B'"c$ D%#

    RF T#n*tte#

    POWER

    SUPPLY

    +5V BATTERY

    ENCODER

    HT12E

    RF MODULE

    433 MHz

    ANTENNA

    PORT 3

    OF

    MICROCONTROLLE

    R

  • 8/13/2019 Electricity Theft With Rf

    6/31

    RF RECIE+ER

    Met,"-"'"%&

    7n thi projet we are uin! a power upply iruit at tartin!. Thi will !i0e u a 0olta!e of

  • 8/13/2019 Electricity Theft With Rf

    7/31

    P"/e# Sect"n

  • 8/13/2019 Electricity Theft With Rf

    8/31

    Mc#"c"nt#"''e# Sect"n

  • 8/13/2019 Electricity Theft With Rf

    9/31

    C"0"nent -et'

    ". 27C8OCO>T8O??E8(;#%&) "

    &. Tranformer(&a3"&0a) "

    . -CB &

    *. Ener!y 2eter "

    %. -O+E8 ?E=D "

    '. 7> *##$ *

    $. "###uf5&%@ "

    ;. "#uf5 %#@ &A. ?2 $;#% "

    "#. # ohm %

    "". *.$ ohm "

    "&. ", ohm "

    ". ?ED

    "*. *# -7> 7C B=SE "

    "%. "##nf erami and polyter apaitor &

    "'. C8ST=? ""2H "

    "$. 8f module "

    ";. Ht"& e "

    "A. Ht"&d "

    . 8elay deri0e iruit

    &". Connetin! wire

  • 8/13/2019 Electricity Theft With Rf

    10/31

    COMPONENTS DETAIL&

    1) POWER SUPPLY

    S2# "3 c#c2t 3et2#e*

    Brief deription of operation: /i0e out well re!ulated eeded output urrent < % m=

    Component ot: 9ew 8upee for the eletroni omponent < the input tranformer

    ot

  • 8/13/2019 Electricity Theft With Rf

    11/31

    Sc,etc D%#

    The

  • 8/13/2019 Electricity Theft With Rf

    12/31

    The "#Gf and .#"Gf apaitor er0e to help ,eep the power upply output 0olta!e ontant

    when load ondition han!e. The eletrolyti apaitor mooth out any lon!3term or low

    fre4ueny 0ariation. Howe0er5 at hi!h fre4uenie thi apaitor i not 0ery effiient.

    Therefore5 the .#"Gf i inluded to bypa hi!h3fre4ueny han!e5 uh a di!ital 7C

    within! effet5 to !round.

    The ?ED and it erie reitor er0e a a pilot li!ht to indiate when the power upply i on.

    7 li,e to ue a miniature ?ED here5 o it will er0e that funtion without bein! obtrui0e or

    ditratin! while 7m performin! an e1periment. 7 alo ue thi ?ED to tell me when the

    reer0oir apaitor i ompletely dihar!ed after power i turned off. Then 7 ,now it afe to

    remo0e or intall omponent for the ne1t e1periment.

    1) REGULATOR 4567

    Fet2#e*

    I Output Current up to "=

    I Output @olta!e of %0I Thermal O0erload -rotetion

  • 8/13/2019 Electricity Theft With Rf

    13/31

    I Short Ciruit -rotetion

    I Output Tranitor Safe Operatin! =rea -rotetion

    8) LCD

    =n HD99456 C,#cte# LCD i a de facto indutry tandard liquid crystal display

    (LCD)diplay de0ie dei!ned for interfain! with embedded systems.Thee reen ome in a

    0ariety of onfi!uration inludin! ;1"5 whih i one row of ei!ht harater5 "'1&5 and *. The

    mot ommonly manufatured onfi!uration i *#1* harater5 whih re4uire two indi0idually

    addreable HD**$;# ontroller with e1panion hip a the HD**$;# an only addre up to ;#

    harater

    Thee ?CD reen are limited to te1t only and are often ued in opier5fa1 mahine5

    laer printer5 indutrial tet e4uipment5 networ,in! e4uipment uh a router and tora!e

    de0ie.Charater ?CD an ome with or without ba,li!ht5 whih may be ?ED5 fluoreent5 or

    eletrolumineent. Charater ?CD ue a tandard "*3pin interfae and thoe with ba,li!ht ha0e "'

    pin. The pinout are a follow:

    ". /round&. @CC (

  • 8/13/2019 Electricity Theft With Rf

    14/31

    . Contrat adjutment (@O)

    *. 8e!iter Selet (8S). 8SJ#: Command5 8SJ": Data

    %. 8eadK+rite (8K+). 8K+J#: +rite5 8K+J": 8ead

    '. Clo,

    $. Bit # (>ot ued in *3bit operation)

    ;. Bit " (>ot ued in *3bit operation)

    A. Bit & (>ot ued in *3bit operation)

    "#. Bit (>ot ued in *3bit operation)

    "". Bit *

    "&. Bit %

    ". Bit '

    "*. Bit $

    "%. Ba,li!ht =node (

  • 8/13/2019 Electricity Theft With Rf

    15/31

    :) Re**t"#&

    = #e**t"#i apai0etwo3terminaleletrial omponentthat

    implement eletrial reitanea a iruit element. The urrentthrou!h a

    reitor i in diret proportionto the 0olta!earo the reitor terminal. Thi

    relationhip i repreented by Ohm law:

    @J78

    http://en.wikipedia.org/wiki/Passivity_(engineering)http://en.wikipedia.org/wiki/Terminal_(electronics)http://en.wikipedia.org/wiki/Electronic_componenthttp://en.wikipedia.org/wiki/Electrical_resistancehttp://en.wikipedia.org/wiki/Electric_currenthttp://en.wikipedia.org/wiki/Direct_proportionhttp://en.wikipedia.org/wiki/Voltagehttp://en.wikipedia.org/wiki/Ohm's_lawhttp://en.wikipedia.org/wiki/Passivity_(engineering)http://en.wikipedia.org/wiki/Terminal_(electronics)http://en.wikipedia.org/wiki/Electronic_componenthttp://en.wikipedia.org/wiki/Electrical_resistancehttp://en.wikipedia.org/wiki/Electric_currenthttp://en.wikipedia.org/wiki/Direct_proportionhttp://en.wikipedia.org/wiki/Voltagehttp://en.wikipedia.org/wiki/Ohm's_law
  • 8/13/2019 Electricity Theft With Rf

    16/31

    where 7 i the urrent throu!h the ondutor in unit of ampere5 @ i the

    potential differene meaured aro the ondutor in unit of 0olt5

    and 8 i the reitane of the ondutor in unit of ohm.

    The ratio of the 0olta!e applied aro a reitor terminal to the intenity

    of urrent in the iruit i alled it reitane5 and thi an be aumed to be

    a ontant (independent of the 0olta!e) for ordinary reitor wor,in! within

    their ratin!.

    9) 5671 Mc#"c"nt#"''e#

    Embedded ytem employ a ombination of oftware M hardware to perform a peifi

    funtion. 7t i a part of a lar!er ytem whih may not be a Nomputer+or, in a reati0e

    M time ontrained en0ironment.

    =ny eletroni ytem that ue a C- hip5 but that i not a !eneral3purpoe wor,tation5

    de,top or laptop omputer i ,nown a embedded ytem. Suh ytem !enerally ue

    miroproeorF miroontroller or they may ue utom3dei!ned hip or both. They

    are ued in automobile5 plane5 train5 pae 0ehile5 mahine tool5 amera5 onumer

    and offie appliane5 ell phone5 -D= and other handheld a well a robot and toy.

    The ue are endle5 and billion of miroproeor are hipped e0ery year for a myriad

    ofappliation.

    7n embedded ytem5 the oftware i permanently et into a read3only memory uh a a

    8O2 or flah memory hip5 in ontrat to a !eneral3purpoe omputer that load it

    pro!ram into 8=2 eah time. Sometime5 in!le board and ra, mounted !eneral3

    purpoe omputer are alled embedded omputer if ued to ont.

    7)RF "-2'e*

    7n thi projet we are uin! two 89 tranmitter module for ontrol.

    7f any peron want to theft the eletriity at their reidential area then data will be

    tranmitted to reei0er and then our miroontroller will !i0e u indiation wirelely

    throu!h rf to the ontrol room. Thi projet Tranmit a di!ital data throu!h 89. The

    ordinary * 2H6 89 module are ued.

    http://en.wikipedia.org/wiki/Ampereshttp://en.wikipedia.org/wiki/Voltshttp://en.wikipedia.org/wiki/Ohmhttp://en.wikipedia.org/wiki/Ampereshttp://en.wikipedia.org/wiki/Voltshttp://en.wikipedia.org/wiki/Ohm
  • 8/13/2019 Electricity Theft With Rf

    17/31

    =ntenna i ued to tranmit i!nal between tranmitter and

    reei0er.when power theft will our rf tranmitter will tranmit i!nal whih will be

    reei0ed by rf reei0er and led or the 0oie bu66er onneted with will be ati0ated.(led i

    ued in thi projet).

    >ote3 7f another * 2H6 fre4ueny i bein! ued nearby then output may 0ary and

    reult in failure of ommuniation.

    ;) KEIL PROGRAMMING STEPS

    Open eil from the Start menu

    The 9i!ure below how the bai name of the window referred in thi doument

    Selet >ew -rojet from the -rojet 2enu.

  • 8/13/2019 Electricity Theft With Rf

    18/31

    >ame the projet PTo!!le.a%"Q

    Cli, on the Sa0e Button.

    The de0ie window will be diplayed.

    Selet the part you will be uin! to tet with. 9or now we will ue the Dalla Semiondutor part

    at;A%&.

    Double Cli, on the =tmel Semiondutor.

  • 8/13/2019 Electricity Theft With Rf

    19/31

    Sroll down and elet the at;A%& -art

    Cli, O

    Cli, 9ile 2enu and elet >ew.

  • 8/13/2019 Electricity Theft With Rf

    20/31

    = new window will open up in the eil 7DE.

    Copy the e1ample to the 8i!ht into the new window. Thi file will

  • 8/13/2019 Electricity Theft With Rf

    21/31

    to!!le -ort " and & with a delay.

    O8/ #H

    2O@ =5 R%%H

    =/=7>:

    2O@ -"5 =

    2O@ -&5 =

    =C=?? DE?=

    C-? =

    S2- =/=7>

    DE?=:

    2O@ 85 R#

    OTE8: 2O@ 8&5 R#&%%

    7>>E8: D> 8&5 7>>E8

    D> 85 OTE8

    8ET

    E>D

    Cli, on 9ile menu and elet Sa0e

    =

  • 8/13/2019 Electricity Theft With Rf

    22/31

    >ame the file To!!le.a%"

    Cli, the Sa0e Button

    E1pand Tar!et " in the Tree 2enu

  • 8/13/2019 Electricity Theft With Rf

    23/31

    Cli, on -rojet and elet Tar!et5 /roup5 9ile

  • 8/13/2019 Electricity Theft With Rf

    24/31

    Cli, on /roupK=dd 9ile tab nder =0ailable /roup elet Soure /roup " Cli, =dd 9ile to

    /roup button

    Chan!e file type to =m Soure file(U.aUF

    U.r)

    Cli, on to!!le.a%"

    Cli, =dd button

    Cli, Cloe Button

    Cli, O button when you return to Tar!et5

    /roup5 9ile dialo! bo1

  • 8/13/2019 Electricity Theft With Rf

    25/31

    E1pand the Soure /roup " in the Tree menu to enure that the file wa added to the projet

  • 8/13/2019 Electricity Theft With Rf

    26/31

    Cli, on Tar!et " in Tree menu Cli, on -rojet 2enu and elet Option for Tar!et "

    Selet Tar!et Tab Chan!e Vtal (2h6) from %#.# to "".#%A&

  • 8/13/2019 Electricity Theft With Rf

    27/31

    Selet Output Tab Cli, on Create He1 9ile he, bo1 Cli, O Button

    Cli, on -rojet 2enu and elet 8ebuild all Tar!et 9ile 7n the Build +indow it hould report

    P# Error ()5 # +arnin!Q ou are now ready to -ro!ram your -art

  • 8/13/2019 Electricity Theft With Rf

    28/31

    Comment out line =C=?? DE?= by plain! a Semiolon at the be!innin!. Thi will allow you to

    ee the port han!e immediately. Cli, on the 9ile 2enu and elet Sa0e

    Cli, on -rojet 2enu and elet 8ebuild all Tar!et 9ile 7n the Build +indow it hould report P#

    Error ()5 # +arnin!Q Cli, on Debu! 2enu and Selet StartKStop Debu! Seion

  • 8/13/2019 Electricity Theft With Rf

    29/31

    The eil Debu!!er hould be now be 8unnin!.

    Cli, on -eripheral. Selet 7KO -ort5 Selet -ort "

  • 8/13/2019 Electricity Theft With Rf

    30/31

    = new window hould port will pop up. Thi repreent the -ort and

    -in

    Step throu!h the ode by prein! 9"" on the eyboard. The -arallel -ort " Bo1 hould han!e a

    you ompletely tep throu!h the ode.

  • 8/13/2019 Electricity Theft With Rf

    31/31

    To e1it out5 Cli, on Debu! 2enu and Selet StartKStop Debu! Seion