You are on page 1of 5

RFID Based Prepaid Energy Meter and Home

Automation with Reporting


Muhammad Nafees
Department of Electrical Engineering
COMSATS Institute of Information Technology
Lahore, Pakistan
mnafees@ciitlahore.edu.pk

Abstract— This paper presents radio frequency identification benefits of the prepaid energy technologies. Prepaid energy
(RFID) based prepaid energy meter and home automation metering network scheme can deliver a better cash flow in
system with an android application running at subscriber’s addition to screening other electrical parameters such as
mobile station. The energy meter is credited though RFID apparent power, current, voltage and power factor [4].
technology and the automation of different appliances are
controlled by the subscriber via an android mobile application. Applications of RFID touch various domains including
The subscribers may check their current credit, consumed units, smart homes, asset tracking, surveillance systems, highway
current load and they can manage appliances remotely. We have toll collection and animal identification [5].The widespread
also introduced a load management system, when load exceeds a applications of RFID technology have brought down the costs
certain defined level then appliances are automatically shut
down. An automatic theft detection mechanism has also been set
of RFID components and this has opened up ways for
in place for the system. potential users to benefit from the magnificent RFID
technology. RFID is a contactless wireless technology which
Keywords—Android application, home automation, load uses radio waves for the automatic remote identification of
management, prepaid energy meter, Radio Frequency different objects; we can differentiate between RFID systems
Identification (RFID) according to the operating ranges of 0-1 cm for close-
coupling, 0-1m for remote-coupling, and greater than 1m for
long-range systems [6].
I. INTRODUCTION RFID technology allows the transmission of data through
The electric energy meters used in most parts of the world a small portable tag; an RFID reader reads the data from this
are post paid in nature. This conventional electromechanical tag and consequently processed as per the requirement of the
metering suffers from some significant disadvantages. Its given application. There are two major categories of RFID
performance can be altered by temperature and tags, either active or passive, the passive tags contain no
electromagnetic interference [1]. The users consume source of power and are empowered by the RF signals of the
electricity and afterwards pay the bills, usually on monthly concerned RFID reader [7].
basis. This requires meter readers to turn up, take manual The Android, an open source operating system, encourages
readings and later on the bills are generated upon whatever its users to develop incredible applications. Developers use
readings had been jotted down. This phenomenon, greatly Java libraries, developed by Google, to write Java source
leads to a vulnerability of corruption and financial loss to the codes using the platform of Android operating system [8].
power sector, particularly in developing counties. The Along with a strong mobile operating system, the Android
governments are not able to expand the existing capacity and platform also provides Application Programming Interface
unable meet the ever increasing electricity demands because (API) libraries and tools for the application developments in
the financial loss causes shortage of funds for investments in Java programming language. It is based on Linux version 2.6
the power sector [2]. to deliver major services including process management,
Moreover, the users have no clue about their unit memory management, network stack and security [9].
consumption until they are handed over a hardcopy of the bill, In this paper, we have presented RFID based prepaid smart
generated against the readings taken earlier by the meter energy metering system and home automation through an
reader. This collection procedure of meter readings becomes Android based application. In this metering system we credit
even more challenging and expensive when readings are to be certain units into the meter using RFID technology and we
taken from scattered rural areas [3]. control the home automation though an Android application.
The prepaid energy meters are being increasingly given A GSM modem has been used for the transmission of
attention in the power sector and gradually they are replacing information between the android application and the rest of
the conventional metering methods because of significant the system. It also delivers a method for the detection of
electricity theft i.e. if any consumer tries to tamper the energy command. Relays also turn off the loads if the prepaid credit
meter, then the load is automatically cut off and a message is balance goes down to zero.
sent to the service provider. Some related implementations
such as [10], [11] have been delivered recently on the topic. RFID Card
Android
Mobile
However, this proposed system uses novel technique to
incorporate RFID and android platform into an energy
metering system for an increased energy monitoring and
management. Voltage
RFID GSM
Checking
Reader Modem
(P.T)
II. PROPOSED SYSTEM

16X4 LCD
The proposed prepaid energy metering and home
automation system mainly depends on a central Meter PIC18F452
microcontroller, RFID module, electromechanical energy
meter, GSM modem and an Android application as depicted in
Fig. 1. Microcontroller is the central module of this work, it
stores the information of instantaneous energy, units credited, Power
C.T Supply Relays
units remaining, tariff, current load and all relevant (P.T)
information is stored and updated in the microcontroller.

Main
Loads
Mobile Phone RFID Card Supply
Energy (Tag)
Meter
Fig. 2. Block diagram of the complete system

III. RFID DATA PROCESSING


RFID technology does not call for physical contact
GSM
between the tag and reader, information onto the tag is written
Microcontroller RFID
Modem Reader
through a RFID controller/programmer module. Once the tag
is in the magnetic field of the reader, it collects information
Fig. 1. Overview of the proposed system
from valid tag only and rejects the invalid ones. Fig. 3 shows
the overview of the communication between a reader and tag.
A RFID smart card (tag), is used to credit the units into the We have used prototype tags in our work. In practical
microcontroller through a RFID reader attached to the implementations, the user will charge credit to its tag through
microcontroller. The energy consumed by the utilities is a RFID programmer owned and installed by the energy
calculated in the microcontroller and the units for the provider at public places for the ease of access.
consumed energy are automatically deducted.
The objective of implementing a prepaid system is
The detailed block diagram of the system is presented in achieved through an algorithm illustrated in Fig. 4. The
Fig. 2. In this work, PIC18F452 Microcontroller has been fundamental idea was to develop an algorithm which allows
used since it has strong built in modules like Timers, the subscriber to be connected to the electricity network as
Electrically Erasable Programmable Read-Only Memory long as they have a credit or prepaid units and the electricity is
(EEPROM), analogue comparators, Serial Peripheral Interface detached if the remaining credit goes down to zero. However,
(SPI), Universal Asynchronous Receiver/Transmitter (UART) the subscriber is informed, through a SMS alert, about the
and 8 channels 10 bit Analogue to Digital Converter (ADC). remaining low credit. A minimum threshold (e.g. 50 units) is
The Current Transformer (CT) helps for the measurement of set, once credit is less than 50 units, a SMS alert is sent after
the current drawn by the loads, since all loads operate at the every 20 minutes. If the subscriber fails to credit the meter, all
same voltage but different current levels. CT also plays a vital the appliances are disconnected via relays.
part in the load management; a certain limit is set for the loads
in terms of watts. If this limit is breached, a warning Short Data
RFID Reader RFID Tag
Message Service (SMS) is sent to the user and authorities.
(Transponder)
Potential Transformers (PT) are used, one PT provides two
DC levels of 5V and 12V for operating the microcontroller Time
and relays respectively. The purpose of second PT is to check
incoming voltages from the main and inform the user about
Energy
the fluctuations. Relays are implemented to turn on or off the
appliances through android application, control signal is sent
to the microcontroller and it acts according to the received Fig. 3. RFID system elements
Start

Check Credit
(Units)

No Credit <
Minimum
Threshold

Yes
Send an alarm SMS to
Subscriber
Fig.5. Bypassing the live wire

Other possible way is to disconnect the neutral wire and


No ground it as depicted in Fig. 6. In this case current will not
Credit = 0 complete its path through the energy meter and hence there
will be no pulses from the chip of energy meter but in actual
the load will be working. This is the same case as bypassing
Yes the live wire. But this theft can also be detected by measuring
the outputs readings of both the current transformers and load
Disconnect the Loads will be cut off and message will be sent to service provider.
through Relays

Inform the Subscriber


(SMS)

Credit No
Recharged

Yes
Connect the Loads
through Relays

Fig. 4. Algorithm for prepaid metering Fig. 6. Disconnecting Neutral Wire

In worst case if the whole energy meter is bypassed then


IV. THEFT DETECTION this load will act as an illegal load. In order to prevent this
There could be a lot of possible ways for electricity theft. type of energy pilfering there is a need of one master energy
One of them is when one short-circuits the live wire (phase meter which is observing the energy consumption in some
wire) or bypasses the phase line as illustrated in Fig. 5. This specific area. The different household meters are in contact
could possibly bypass the whole energy meter. But in our with that master meter and each meter is sending its reading to
case, two current transformers are used, i.e. one in the live the master meter and in this way if there is any problem at any
wire and one in the neutral wire. So, if anyone bypasses live node i.e. if any household meter is misbehaving then the
wire, then there will be difference of readings taken from both master meter will send a possible theft message to the main
the current transformers and hence if it happens then the load server about the misbehaving meter and then the service
will be cut off and a message will be sent to the service provider can take further action on that meter and get rid of
provider’s server about the possible theft. the illegal load.
units from the system. The response of this inquiry brings
back the consumed and remaining units and is shown to the
user. The Devices tab is designed to control the appliances at
home under the home automation scheme, by pressing this tab
the user is switched to the total number of loads present which
may be remotely controlled through the application.

Fig. 7. Bypassing the whole meter

There is also a possibility that some professional tries to


open the energy meter and alters it to show less reading or no
reading at all. In order to prevent this tampering two lever
switches are placed on either sides of the energy meter and
both are connected to 5V DC and in normal state they give 5V
DC to the external interrupt pins of microcontroller; as shown
in Fig. 8. If someone opens the energy meter, the switches go
to off state and an interrupt is generated to the microcontroller. Fig. 9. Graphical User Interface of the Application
Detecting that interrupt the microcontroller cuts off the load
and sends a message to the main server about the tampering
along with the meter number and other possible values.

Fig. 8. Use of lever switch against meter tampering Fig. 10. LCD output

V. ANDROID APPLICATION The information of current load on the system in terms of


The Android Software Development Kit (SDK) is used to watts is retrieved when the Load tab is pressed. The supplier
can credit units through GSM from the Charge Unit tab; it is
build, test and debug the Android application as it provides
an optional feature and requires a credit conversion agreement
necessary API libraries and developer tools. Eclipse Integrated
between the electricity supplier and the mobile company
Development Environment (IDE) is used as it provides multi- operator. In this optional feature, if implemented, the
language environment for software developments in Java and electricity supplier would enter units to be credited, the units
Android Development Tools (ADT) plug in for Eclipse IDE is will then be added to the system of the particular consumer
used because it offers a comprehensive integrated and updated units are then displayed on the LCD. Through
environment for building applications on Android platform. this feature the consumers can credit their prepaid meters by
The ADT enhances the capabilities of Eclipse, it allows quick paying cash to the electricity supplier. The Change Number
set up of projects, creation of application user interface, tab allows the supplier to transfer the application control from
adding packages and debugging using Android SDK. Fig. 9 one mobile number to another. The last two tabs can only be
shows a screenshot of the developed Android Application, available for the electricity supplier’s application, and not
there are mainly five tabs in the application. When the Units available for the consumers. The hardware implementation of
tab is pressed, the user inquires about the used and remaining the complete system is depicted Fig. 11.
losses in Indian distribution sector." Electrical Power and
Energy Systems (ICEPES), International Conference on.
IEEE, 2016.

[3] Islam, Md Sajedul, and Md Sadequr Rahman Bhuiyan.


"Design and implementation of remotely located energy
meter monitoring with load control and mobile billing
system through GSM." Electrical, Computer and
Communication Engineering (ECCE), International
Conference on. IEEE, 2017.

Fig. 11. Hardware Implementation [4]_Ramadan, Kamal, Elfadil Zakaria, and Dalia M.
Eltigani. "Prepaid energy meters network via power system
communication." Computing, Electrical and Electronics
VI. POSTPAID AND BILLING OPTION
Engineering (ICCEEE), 2013 International Conference on.
The meter can also be used as a postpaid energy meter
IEEE, 2013.
along with using it as prepaid. This functionality allows the
user to consume some units (predefined by the service
provider) beyond the prepaid units which were charged using [5]_Zhang, Daqiang, Hongyu Huang, and Minho Jo.
RFID tag. So, in this way a user has a little flexibility for "Future RFID technology and applications: visions and
consuming electricity in case he can’t charge energy units challenges." Telecommunication Systems (2014): 1-2.
using RFID tag. These units will be stored separately in the
microcontroller as postpaid units and will be sent to the [6]_Klaus Finkenzeller, RFID Handbook: Fundamentals
service provider after every month or whenever the service and Applications in Contactless Smart Cards and
provider wants to know the postpaid units just in case to Identification, Second Edition, Wiley, 2003.
generate electricity bills accordingly. If the postpaid units’
limit is crossed then the load will be cut off and the user will
be requested through message to either pay the bill or recharge [7]_Bhadrachalam, Lakshmi, Suresh Chalasani, and
through RFID tag. Rajendra V. Boppana. "Impact of RFID technology on
economic order quantity models." International Journal of
VII. CONCLUSIONS Productivity and Quality Management 7.3 (2011): 325-357.
In this paper, a new economical prepaid energy metering
system using RFID technology has been presented. An
[8] Peng, Bin, Jinming Yue, and Chen Tianzhou. "The
android application was developed to remotely monitor the
energy consumption and to control the appliances through Android Application Development College
home automation. We have shown a prototype of the Challenge." High Performance Computing and
presented work and successful testing of the prototype was Communication & 2012 IEEE 9th International Conference
performed. This prepaid energy metering is highly effective on Embedded Software and Systems (HPCC-ICESS), 2012
because it eliminates manual meter readings, equips users to
IEEE 14th International Conference on. IEEE, 2012.
be updated about their electricity consumption and remaining
prepaid units though a remote application running on their
mobile phones. It also delivers effective load management and [9]_M. Toyama, S. Kurumatani, H. Joon, K. Terada, and E.
theft detection mechanisms to make it more versatile for the Y. Chen. Android as a server platform. In Consumer
practical deployments. Large scale implementation of this Communications and Networking Conference (CCNC),
system will reduces power theft, false meter reading and may pages 1181–1185, 2011.
be valuable if integrated within future smart grid systems.
[10] Saikia, L. C., et al. "GPRS enabled smart energy meter
REFERENCES with in-home display and application of time of use
[1] Islam, Md Manirul, et al. "Electronic energy meter with pricing." India Conference (INDICON), 2016 IEEE
Annual. IEEE, 2016.
remote monitoring and billing system." Electrical &
Computer Engineering (ICECE), 2012 7th International [11] Arote, Swati, Gourang N. Mulay, and Arti Khaparde.
Conference on. IEEE, 2012. "Design and implementation of smart three phase energy
meter." Smart Grid and Clean Energy Technologies
[2] Chandel, Priyamvada, Tripta Thakur, and B. A. Sawale. (ICSGCE), 2016 International Conference on. IEEE, 2016.
"Energy Meter tampering: Major cause of non-technical

You might also like