Design and Assemble of Low Cost Prepaid Smart Card Energy Meter - A Novel Design
Design and Assemble of Low Cost Prepaid Smart Card Energy Meter - A Novel Design
Design and Assemble of Low Cost Prepaid Smart Card Energy Meter - A Novel Design
In the present proposed scheme there is no need of manual intervention to note meter
reading which avoids hassle in billing and distributions companies make money promptly
which certainly helps them to generate more revenue.
2. PPM System Architecture
Prepaid meters (PPM) will be installed in home, commercial or industries. For a specific
region there will be a vending station also called cash dispensing unit (CDU) from where the
consumer will buy credit. The vending stations hold the regional user data base and billing
software. The communication between the meter and the vending station is done by smart card.
All vending stations are connected with a central server called the master station through the
Internet. Master station holds the integrated database of all the vending stations, user account
creation software and overall system analysis tools. The overall architecture of the prepaid
metering system is shown in Figure1.and brief description of several components of the system
is discussed below.
Figure 1. Architecture of the Prepaid Metering System
A. Master Station
Master station holds the integrated database of all the vending stations. Creation, edition
and deletion of users account are also done from here. In the master station, the values of the
meter settings variables are given. User transaction report or meter status report of any user can
be generated from here. As the master station holds the integrated database of all the vending
stations, the overall analysis of the system can be done from here.
B. Vending Station
Vending station is the office where the clients go to by credits and holds the database of all
local users. Every user of the prepaid meter has smartcards, which establishes the connectivity
between the PPM and the vending station. The Figure 2. shows the basic components of
vending station mainly consist of server PC, smartcard reader/writer and slip printers to print
receipts. When a client needs to buy credit, goes to the local vending station with the smart
card and money. To keep the database of the vending station up-to- date, clients are advised to
punch the smart card in the meter before coming to the vending station. When the card is
punched, the meters last status is copied to the smart card. In the vending station, the last
status of the meter is firstly read from the smart card and save it in database. Then according to
the clients demand, vending station writes the credit in the smart card. When the user returns
home and punch the smart card in the meter, the credit is added with the remaining credit and
the new meter settings are activated. Vending stations maintain relation with the master station
through internet. Vending station uploads all the meter status and vending data to the master
station and it downloads the latest meter settings from the master station.
Sudarshan K. Valluru
66
D. Prepaid meter
The most important constraint is design and assembles of prepaid energy meter. The block
diagram of prepaid energy meter [4] is shown in Figure3.and its components are discussed
below sections.
3. The Design of Intelligent Controller
This system is composed of software and hardware structures. The hardware structure
consists of a digital energy meter module interfaced to an AT89C51 [5-11] low-power, high-
performance CMOS 8-bit micro controller has 40-pin, a highly stable 24 MHz oscillator, 4 KB
flash programmable and erasable read only memory (PEROM), 128 bytes of RAM, 32 I/O
lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex
serial port, on-chip oscillator and clock circuitry. In addition, the AT89C51 is designed with
static logic for operation down to zero frequency and supports two software selectable power
saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial
port and interrupt system to continue functioning. The Power-down Mode saves the RAM
contents but freezes the oscillator disabling all other chip functions until the next hardware
reset.PIN P0.0-P0.7, P1.0- 1.7, P2.0 - P2.7,and P3.0-P3.7 may as general I/O and LCD analog
output. In the16pin LCD, first pin grounded, Second pin connected to power supply and 3
rd
pin
will be connected to variable pot to control the contrast of the LCD. LCD data lines are
connected to port P0, The microcontroller pins P2.7, P2.6 and P2.5 are connected to the LCD
control pins RS, R/W and EN respectively. The ALE, PSEN, EA pins are left isolated. For the
execution of the program of micro-controller requires clock pulses of frequency 12MHz which
generated by the crystal oscillator with grounding capacitance 33PF,therefore XTAL2 and
XTAL1 pins of micro-controller are connected to the crystal oscillator. The RX(P3.0) and TX
(P3.1) are connected to the 12 and 11 pins of MAX 232 serial communication via DB9
connector to interface the Smart Card Reader module, from that smart card the data regarding
the amount is fed to the micro controller gets activated and starts to take the data from the
4N35 optocoupler. The micro controller P3.2 connected to the IRLED digital energy meter via
optocoupler, with external interrupt0 the number units consumed is counted with the help of
the counted pulses which are generated from the optocoupler. The IRLED blinks when there is
a unit consumed gives the IR rays incident on optocoupler which itself drives the transistor
base connected to P3.2. The micro-controller counts the number of units and simultaneously
monitors the smart card reader for the presence of the card. The micro-controller reads the total
purchased units from the smart card and units value has been reduced by one for each and
every unit consumed. If the units in the smart card become zero then the micro-controller gives
the signal to the relay to switch off the total supply to the energy meter. The P2.0 is connected
to the relay through the transistor. The 40
th
pin (V
cc
) and 20
th
pin (GND) of microcontroller
connected to 5 V power supply and ground respectively. 9
th
pin will be connected to the reset
and by pressing the reset pin the C-Language program in the micro-controller will be executed.
Therefore the micro controller gets the data from the energy meter and SLE4428 card reader
and also controls the total power supply of the system [12]. The design diagram of intelligent
AT89C51micro controller, energy meter, Display and Relay Control Circuit is shown in Figure
4.
Sudarshan K. Valluru
68
Figure 4. Display and Relay Control Circuit of Prepaid Energy Meter
Design and Assemble of Low Cost Prepaid Smart Card Energy
69
Figure 6. Proto type of Pre-paid smart card meter
Table 1.Technical Specifications
Table 2. Test results over 24 - hours
Type Accuracy
Rated
Voltage
Frequency Display Information Record
Contacted IC
card Pre-Paid
meter
Class 1.0 Single-
Phase
230V
50Hz LED
display
The energy credited
and used will be
recorded
Lamp
load(W)
Number
of
Hours
Load
Measured
by Standard
Meter(kWH)
Load
Measured
by Pre-Paid
Meter(kWH)
Deviation
Error
(%)
Precision
(%)
200 6 1.2 1.17 0.03 2.5 97.5
100 6 0.6 0.582 0.018 3.0 97
60 6 0.36 0.3528 0.0072 2.0 98
40 6 0.24 0.2328 0.0072 3.0 97
Mean 24 2.4 2.3376 0.0624 2.6 97.4
Design and Assemble of Low Cost Prepaid Smart Card Energy
71
4. Conclusion
A prototype of the system has been developed and tested successfully. In this paper, the
advantages of prepaid metering system and its design components have been discussed. The
meter features includes with alarming of remainder, storing data up to 20 years. This prepaid
metering system minimizes the human intervention in meter reading, bill calculations and bill
delivery which ultimately reduces many defects than the currently existing post paid billing
systems. This system was specially designed for India but can also be implemented in any
other country. Of course, the basic principles implemented here can be easily extended to the
case of three-phase meters. This is certainly beneficial to both consumers and power
distribution companies.
References
[1] M I Tibbenham, Implementing a Pre-payment System IEE International Congress on
Metering and Tariffs for Energy Supply, Birmingham, UK, 1999, pp 251-257.
[2] Muhammad Faheem Khan, Ahmed Zoha, and Rana Liaqat Ali Design and
Implementation of Smart Billing and Automated Meter Reading System for Utility Gas
Proc. in IEEE Conference on Information and Emerging Technologies, 2007, pp1-6
[3] KwanB H, M Moghawemi PIC Based Smart Card Prepayment System Proc. in IEEE
Student Conference on Research and Development, Malaysia,2002, pp 440-443
[4] PAV. Loss, MM. Lamego, GCD. Sousa and J LF.Vieira, A Single Phase Microcontroller
Based Energy Meter, Proc. in IEEE Instrumentation and Measurement, Technology
Conference, Minnesota, 1998, pp 797-800.
[5] Huang J i-wu, Yang Hong-wei, Ming Feng Study on an Application Using AT89c51 to
Measure Frequency in UHF and VHF, Wuhan University Journal of Natural Sciences,
Vol 48 (1), 2002, pp 125-128.
[6] Fuquan Pan, Lixia Zhang, Gang Sun, J iyou Li, Design of Vehicle Reversing Collision
Avoidance Device based on Single Chip Computer 2
nd
International Conference on
Power Electronics and Intelligent Transportation System (PEITS), Shenzhen, 2009, pp.
223-226.
[7] Wei Shutao, Chen Lin, Cui Lili and Wang Zhenxing Interface Design of EEPROM and
Signle Chip Micro Computer by IIC Bus International Conference on Information
Management and Engineering, Kula Lumpur, 2009, pp 554-557.
[8] J ishun J iang, Lina Liu, Tian J iang Study of A New Type Field Irrigation Intelligent
Controller Proc in 2
nd
IEEE International Conf. on Information Engineering and
Computer science, 2010, pp1-4.
[9] Wang Yuanzhe, Bai Liyuan, Electric Cable Interface Temperature Monitoring and Early
Warning System Second WRI Global Congress on Intelligent Systems, Wuhan, 2010, pp.
211-215.
[10] Li Xiangyang, Luo Genghe, Yan J ie, Guo Yan Ling, The communication interface
design of AT89C51 preparation robot based on Serial International Conference on
Electric Information and Control Engineering, Wuhan, 2011, pp 802-804.
[11] Zhu Weiguo, Ruan Hailin Design and Research of Solar Photovoltaic Power Generation
Controller based on 89C51 microcontroller Advance Materials Research Vol. 345, 2012,
pp. 66-69.
[12] Tian Yew Lim and Tat-Wai Chan Experimenting Remote Kilowatthour Meter Reading
Through Low-Voltage Power Lines at Dense Housing Estates IEEE Transactions on
Power Delivery, Vol. 17, No. 3, July 2002. pp. 708-711
[13] Ross J . Anderson, S.J ohann Bezuidenhout, Cryptographic Credit Control in Pre-
payment Metering Systems Proc. in IEEE Symposium on Security and Privacy,
Oakland,USA, 1995 pp15-22.
[14] Manual on Standardization of AC Static Electrical Energy Meters, Publication No: 304,
Central Board of Irrigation and Power, New Delhi , 2008
Sudarshan K. Valluru
72
Internatio
Networks
are AI sy
Electronic
Education
Suda
Engi
Colle
acad
Engi
Com
Engi
intern
onal conferenc
s, Fuzzy Logic
ystems, Instrum
cs and Telecom
n India, Institut
arshan K. Va
neering depart
ege of Engine
emic experien
neering from
mputer Applica
neering, Myso
national and
es and 5 in n
c and Genetic A
mentation and
mmunication E
tion of Enginee
alluru is work
tment of Delhi
eering), Govt.
ce. He receive
Nagarjuna Un
ations in Indu
ore, Karnataka
1 in nationa
national confer
Algorithms (J a
Control. He is
Engineers India
ers India and IE
king as Assoc
Technologica
of NCT of
ed his B.Tech
niversity, And
ustrial Drives
a. So far he
al referred jo
rences. He is
aico publishers
s a senior fello
a, Member in
EEE.
ciate Professor
l University (F
Delhi and ha
in Electrical a
dhrapradesh an
from Nationa
has published
ournals, 2 pap
authored a bo
s 2010). His ar
ow member of
Indian Society
r in Electrical
Formerly Delhi
s 18 years of
and Electronics
nd M.Tech in
al Institute of
d 4 papers in
pers in IEEE
ook on Neural
reas of interest
f Institution of
y for Technical
l
i
f
s
n
f
n
E
l
t
f
l
Design and Assemble of Low Cost Prepaid Smart Card Energy
73