prepaid energy meter-2003_2

Upload: collegeaits

Post on 03-Apr-2018

238 views

Category:

Documents


1 download

TRANSCRIPT

  • 7/29/2019 Prepaid Energy Meter-2003_2

    1/26

    PREPAIDENERGY METER

    Presented byB . SumalathaS . ManasalakshmiS.Rama sudhaB.Padamvathi

    O.Swathi

  • 7/29/2019 Prepaid Energy Meter-2003_2

    2/26

    CONTENTS:

    Introduction

    Equipements used

    Presently where it used

    Block diagramWorking of the project

    Software tools

    Advantages

    Applications

    Scope for future advancements

    Conclusion

  • 7/29/2019 Prepaid Energy Meter-2003_2

    3/26

    INTRODUCTION

    An embedded system is a combination of software

    and hardware to perform a dedicated task. Some ofthe main devices used in embedded products areMicroprocessors and Microcontrollers.

    As everyone in this competitive world prefers to

    make the things easy and simple to handle, thisproject sets an example to some extent.

    This project enables the user to consume theelectricity based on the prepaid recharge card he

    gets from the electrical department.A scheme of Electricity billing system called

    PREPAID ENERGY METER WITH TARIFF INDICATOR .

  • 7/29/2019 Prepaid Energy Meter-2003_2

    4/26

    EQUIPMENT USED

    The Major Equipment used here are:

    o AT89S52 Microcontroller

    o EEPROM

    o Liquid Crystal Display(LCD)

    o Relay

  • 7/29/2019 Prepaid Energy Meter-2003_2

    5/26

    PRESENTLYWHEREITUSED

    In the UK, mechanical prepayment meters used to be

    common in rented accommodation. In the UK, one system is the PayPoint network, where

    rechargeable tokens (Quantum cards for natural gas, orplastic "keys" for electricity) can be loaded withwhatever money the customer has available.

    In South Africa, Sudan and Northern Ireland prepaidmeters are recharged by entering a unique, encodedtwenty digit number using a keypad. This makes thetokens, essentially a slip of paper, very cheap to

    produce.

    Around the world, experiments are going on, especiallyin developing countries, to test pre-payment systems.

    To make the system easily accessible by customers.

    http://en.wikipedia.org/wiki/PayPointhttp://en.wikipedia.org/wiki/South_Africahttp://en.wikipedia.org/wiki/Sudanhttp://en.wikipedia.org/wiki/Northern_Irelandhttp://en.wikipedia.org/wiki/Northern_Irelandhttp://en.wikipedia.org/wiki/Sudanhttp://en.wikipedia.org/wiki/South_Africahttp://en.wikipedia.org/wiki/PayPoint
  • 7/29/2019 Prepaid Energy Meter-2003_2

    6/26

    AT89S52 MICROCONTROLLER

    8K Bytes of In-System Flash Memory 256 x 8-bit Internal RAM

    32 Programmable I/O Lines

    Three 16-bit Timer/Counters Eight Interrupt Sources

  • 7/29/2019 Prepaid Energy Meter-2003_2

    7/26

    PIN DIAGRAM OF AT89S52

  • 7/29/2019 Prepaid Energy Meter-2003_2

    8/26

    PIN DESCRIPTION

    Vcc

    Pin 40 provides supply voltage to the chip. Thevoltage source is +5V.

    GNDPin 20 is the ground.

    RESET

    Pin9 is the reset pin. It is an input and is active

    high. Upon applying a high pulse to this pin, themicrocontroller will reset and terminate all theactivities. This is often referred to as a power-onreset.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    9/26

    EEPROM(ELECTRICALLYERASABLEPROGRAMMABLE READONLYMEMORY)

    The 24C04 is a 4Kbytes electrically erasableprogrammable memory (EEPROM), organized as 2blocks of 256 x8 bits. They are manufactured in STMicroelectronics

    Hi-Endurance Advanced CMOS technology whichguarantees an endurance of one million erase/writecycles with a data retention of 40 years.

    The memories are compatible with the I2C

    standard, two wire serial interface which uses a bi-directional data bus and serial clock

  • 7/29/2019 Prepaid Energy Meter-2003_2

    10/26

    PINDIAGRAMOFEEPROM

  • 7/29/2019 Prepaid Energy Meter-2003_2

    11/26

    LIQUID CRYSTAL DISPLAY(LCD)

    In our project we will be using a LCD for displayingbalance . We will be using a 16x2 LCD for thispurpose.

    We interface LCD with Micro Controller as shown

  • 7/29/2019 Prepaid Energy Meter-2003_2

    12/26

    RELAY

    A relay is an electrically controllable switch widelyused in industrial controls, automobiles andappliances.

    Fig: Circuit symbol of a relay

  • 7/29/2019 Prepaid Energy Meter-2003_2

    13/26

    RELAYOPERATION

    Transistors and ICs must be protected from thebrief high voltage 'spike' produced when the relaycoil is switched off.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    14/26

    POWER SUPPLIENG UNIT

    This system uses 5V regulated power supply for themicrocontroller and ADC unit and 18V supply for the load.

    This is provided by the 18V, 2Amp transformer.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    15/26

    BUZZER

    The buzzer subsystem produces an audible tonewhen powered.

    Buzzers come in a variety of voltages and currents.The power supply for the buzzer (which can beseparate from the supply for the rest of theelectronics) must provide the voltage needed by thebuzzer.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    16/26

    LED

    A light-emitting diode (LED) is a semiconductorlight source. LEDs are used as indicator lamps inmany devices and are increasingly used for otherlighting.

    . LEDs present many advantages over incandescentlight sources including lower energy consumption,longer lifetime, improved robustness, smaller size,and faster switching.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    17/26

    BLOCK DIAGRAM

    RESET

    16X2 LCD

    BUZZER

    EEPROM

    SLOT FOR

    RECHARGE

    Crystal

    Oscillator

    RelayEnergy

    Meter

    Load

    AT 89S52

    MCU

    230v/18v StepdownT/F

    5V Regulatedsupply

  • 7/29/2019 Prepaid Energy Meter-2003_2

    18/26

    WORKING OF THE PROJECT

    We can divide the working of the entire project intotwo major parts.

    Where one is Loading the amount into the unit.

    And the other is consumption of the amount anddisplaying that on a LCD.

    In first part we insert the recharged card into theslot and load the amount into the unit.

    And in the later one the ADC(Energy Meter)countsthe units utilized by the consumer and will convertthe analog data into digital data and will give to thecontroller.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    19/26

    CONTD..,

    Now the Micro Controller will decrease the amountfollowing the usage calculated according to the tariffprogrammed.

    The net balance will be displayed in LCD.

    This system is designed to provide a greateradvantage for producing voice based announcementfor the user. This APR9600 module continuouslyindicates the user with voice based announcements.

    The APR9600 device offers true single-chip voicerecording, non-volatile storage, and playbackcapability for 40 to 60 seconds.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    20/26

    SOFTWARE TOOLS

    We use KEIL and PROLOAD softwares to write theprogram in embedded C language and to dump theprogram into the Micro Controller respectively.

    KEIL

    KEIL is a software used where the machine languagecode is written and compiled. After compilation, themachine source code is converted into hex codewhich is to be dumped into the microcontroller forfurther processing. KEIL compiler also supports C

    language code.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    21/26

    CONTD..,

    PROLOAD

    PROLOAD is a software which accepts only hexfiles.

    Once the machine code is converted into hex code,that hex code has to be dumped into themicrocontroller placed in the programmer kit andthis is done by the PROLOAD.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    22/26

    ADVANTAGES

    Advantage for the electricity department as this unit canbe utilized effectively for preventing power theft, non-payment of electricity bills etc

    Cost of manpower for billing / collection is reduced.

    Sophisticated security

    Better customer service

  • 7/29/2019 Prepaid Energy Meter-2003_2

    23/26

    APPLICATIONS

    Banks

    Offices

    Industries

    Jeweler Shops and Home Applications

  • 7/29/2019 Prepaid Energy Meter-2003_2

    24/26

    SCOPE FOR FUTURE ADVANCEMENTS

    CARD SECURITY-Programming a PIN number to theEEPROM card to avoid un authorized usage of thecard.

    INTERFACING A GSM-We can implement anadvancement to this system by interfacing a GSMmodem to the system so that we can get the balanceinformation to our mobile as well we can recharge it

    from anywhere.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    25/26

    CONCLUSION

    Prepaid energy meter is a concept to minimize theElectricity theft with a cost efficient manner.

    The users are not bound to pay excesses amount ofmoney , users have to pay according to theirrequirement .

    It can reduces problem associated with billingconsumer living in isolated area and reducesdeployment of manpower for taking meter readings.

    Prepaid energy meter is more reliable and userfriendly.

  • 7/29/2019 Prepaid Energy Meter-2003_2

    26/26