You are on page 1of 7

IOT Based Energy Meter with Current,

Voltage and Cost Monitoring.


Musiyiwa Leo Singai R174726Z

Abstract
Electricity is one of the fundamental necessities of human beings, which is commonly used for domestic, industrial and
agricultural purposes. Power theft is the biggest problem in recent days which causes lot of loss to electricity boards. In
developing countries like Zimbabwe, these situations are more often. If we can prevent these thefts, we can save lot of power.
This is done using Smart Energy Meter (SEM). SEM is an electric device having energy meter chip for measuring the electric
energy consumed and a wireless protocol for data communication. This paper presents a smart energy meter for an automatic
metering and billing system. In this meter energy utilized and the corresponding amount will be displayed on the LCD
continuously and communicated to the controlling base station. The feedback from the user helps in identifying the usages
between authorized and unauthorized users which helps in controlling the power theft. Communication between
user/household and substation is done using ESP32 Microcontroller. This meter can work as either prepaid or post-paid meter.
The proposed system replaces traditional meter reading methods and enables remote access of existing energy meter by the
energy provider. Also they can monitor the meter readings regularly without the person visiting each house.

Keywords-Smart Energy Meter (SEM), Automatic Meter Reading(AMR), Internet of Things(IoT).

1.Introduction
The energy consumption can be monitored by result of human intercession. To maintain a
using an electric device called energy meter. The strategic distance from human mistakes in the
cost and the regular usage of Power consumption are building procedure, in this new age a programmed
informed to the user to overcome high bill usage. perusing meter perusing framework came in to the
The Energy meter shows the amount of units existence.
consumed and transfers the data to both the customer
and to the electrical board so this helps in reducing
man-power. The user can check their Power usage 3.Aim
from anywhere and at any time interval. The IoT is This project aims to design and implement a smart
used to Turn on/off the household appliances using meter that help consumers stay fully informed about
relay and microcontroller interfacing. The objective their daily energy use and eliminate wasteful
of this system is to monitor the amount of electricity routines or get rid of the inefficient appliance. For
consumed. The distributer and the consumer both utility companies, the real-time visibility into
will be benefitted by eventually reducing the total energy consumption process translates into accurate
power consumption. billing data and ability to balance demand against
supply via flexible pricing and other policies. With
By L. S. Musiyiwa (student registration number: the IoT platform, smart meters can be easily
R174726Z, email: leomusiyi@gmail.com), University of implemented to support these and many other smart
Zimbabwe, Department of Electrical Engineering This grid features.
project was supervised By Mr T. C. Njenda And
Submitted in partial fulfilment of the requirements of
the BSc Hons Degree in Electrical Engineering . 4.Objectives
 To provide automated meter reading over an
2.Problem Statement immediate basis.
The power board have got used to the manual  To use the electricity in an optimized manner
billing procedure and they oblige it despite the fact  To reduce the human efforts, and to cut the
that there are numerous worries combined with it. power automatically if the bill is not paid.
In light of the human blunders in the wake of getting  To enhance overall digitalization of the power
staff charge, it is the issue of client to get yet engineering enterprises.
adjusted from the vitality supply board. All things  To avoid the possibility of hacking the system,
considered client needs to visit the workplace, and basically, taking free electricity.
remain in line and get it rectified. The issue is a  To ensure near-real-time visualization and
profiling from the smart grid.
 To prevent meter tempering

1|P age
Literature Review
Anitha et al., [1] proposed “Smart energy meter implemented using a relay. The system employs
surveillance using IoT” about IoT, internet of things GSM for bidirectional communication.
as an emerging field and IoT based devices have Koay et al., [8] explained "Design and
created a revolution in electronics and IT. The implementation of Bluetooth energy meter"
foremost objective of this project is to create described around the year 2004, digital meter has
awareness about energy consumption and. efficient started to replace the electromechanical meters
use of home appliances for energy savings. Due to in Singapore. A wireless digital power meter would
manual work, existing electricity billing system has offer greater convenience to the meter reading task.
major drawbacks. This system will give the Bluetooth technology is a possible wireless solution
information on meter reading, power cut when to this issue. The power reader can collect the power
power consumption exceeds beyond the specified consumption reading from the energy meter
limit using IoT. The Arduino esp8266 micro wirelessly based on Bluetooth. Two methods that
controller is programmed toper form the objectives can retrieve the meter reading with little human
with the help of GSM module. It is proposed to intervention, are added and implemented in the
overcome all the disadvantages in the already targeted applications, they are Automatic meter
existing energy meter. All the details are sent to the reading(AMR) and the Automatic polling
consumer’s mobile through the IoT and the GSM mechanism(APM). Some commercial applications
module and it is also displayed in the LCD. It is a are applied for the Bluetooth-enabled energy
time savings and it helps to eliminate the human meter.
interference using IoT. Devadhanishini et al., [2]
“Smart Power Monitoring Using IoT” that energy Methodology
Consumption is the very important and challenging
issue. Automatic Electrical Energy meter is used in Hardware
large electric energy distribution system. The Investigate the efficient smart energy meter design.
integration of the Arduino WIFI and SMS provides
 Investigate the reliable means of connecting to
the system as Smart Power Monitoring system.
the internet.
Smart energy meter provides data for optimization
and lessthe power consumption. This system also  Design and make the appropriate transformer.
includes a motion sensor such that if there is no  Test sensor voltage and amperage.
human in house or house it will automatically turn  Test meter power, flow rate and power rating.
off the power supply. Mohammed Hosseiu et al., [3]  Confirm synchronisation of website data and
presented a paper titled “Design and implementation meter data on the LCD data.
of smart meter using IoT” describing the growth of
IoT and digital technology. The future energy grid Software
needs to be implemented in a distributed topology The Rational Unified Process was used as the base
that can dynamically absorb different energy methodology to design and manage the steps
sources. IoT can be utilized for various applications towards executing the development process. The
of the smart grid consisting power consumption, Rational Unified Process is a Software Engineering
smart meter, electric power demand side Process. It provides a structured approach to
management and various area of energy production. responsibilities and assigning tasks within a
In this paper, the Smart Energy Metering(SEM) is development organisation. Its aim is to make sure
explained as the main purpose of SEM is necessary that production of high-quality software meets the
for collecting information on energy consumption of needs of the end-users, within an anticipated budget
household appliances and monitor the and schedule. This process encourages the following
environmental parameters and provide the required principles in software development:
services to home users.  Develop software iteratively
Himanshu K Patel et al., [4] demonstrated “Arduino  Use component-based architectures
based smart energy meter” that removes human
 Control software changes
intervention in meter readings and bill generation
 Visual software model
thereby reducing the error that usually causes in
India. The system consists the provision of sending  Verification of software quality
an SMS to user for update on energy consumption  Manage requirements
along with final bill generation along with the
freedom of reload via SMS. The disconnection of
power supply on demand or due to pending dues was

2|P age
6.IoT Based Energy Meter
REGULATED
POWER SUPPLY

LIQUID
RELAY CRYSTAL
DISPLAY (LCD)

CURRENT &
VOLTAGE LED
SENSOR

CURRENT
MICROCON
TROLLER BUZZER
ESP32
LOAD MODULE

Figure 1:Rational Unified Process MODEM

MAINS
In addition to the procedures outlined by the SUPPLY

MAX 232
Rational Unified software development process
model, the following methods were also
incorporated into the development process to better
match the needs of this project. VOLTAGE

1. Literature Review
Figure 2:Hardware Block Diagram
Information sources include but are not limited to
textbooks, journals, research papers and technical The size of IoT based meters and traditional meters
manuals. In addition, extensive use of online is same and smart meters are digital. IoT based
resources to get the latest development trends, energy meter measures more detailed readings than
security vulnerabilities information and best Kwhr so that utility can plan the expansion of
practices. network and power quality.
2. Consultation with Supervisor The IoT based Energy Meter is designed so that it
Regularly meeting with the project supervisor to
measures voltage and date it’s currents by the use
receive guidance and suggestions
of voltage and current sensors instead of potential
3. Consultation with experienced software
and current transformers and then feeds these
development experts
Consulting developers within the faculty or values of voltage and current into power factor
university or receiving assistance through online controller IC and energy metering IC calculates the
software discussion forums like Stack Overflow and power factor and power respectively.
Code Ranch
4. Iterative Development
5. Data Collection and System analysis

5.Flows in Conventional Billing


There are many flaws and errors in conventional
billing. Some human mistakes may also occur in
manual billing. Analysing the conventional billing
some of the common observed errors and mistakes
are:
• There is always a chance of human error while
taking the manual meter reading.
• There is no check and balance and verification
procedure of this meter reading.
• There is always a chance of theft and
corruption.
• Extra human power is required. Figure 3:Complete Design
• Consumer is not updated of his usage.
The design of IoT based Energy Meter involves the
• Consumer may not get the bill slip within due measuring of load current and voltage using sensors
date. and then feeding them to energy metering IC which
• It’s a time consuming procedure converts it into the real power consumed by the load.
Power factor is measured by measuring the phase
shift between voltage and load current.

3|P age
Microcontroller used to perform the calculations The reading from Utility administration is being
related to power and energy consumed and shows received by smart energy meter programmable
the reading on LCD as well as it sends the reading interface and the action is performed by the meter
of IoT based Energy Meter with the help of the according to provided information.
ESP32 Module. Power, voltage, load current, power A major feature of Energy Meter is that utility
factor and units (kWh) are measured and displayed company can cut off and reconnect the connection
successfully. Meter reading are sent from the of energy of any user with the help of the Website
Microcontroller to the cloud where they can be without sending the person to perform the task
viewed through the website and is also displayed on manually [6]. It can be utilized in case when the
the meter itself via an LCD. Two-way utility company needs to disconnect a consumer due
communication is done by IoT based energy meter to non-payment of bills or some other reasons.
between the meter and utility administration as well Another major feature of energy meter is that it
as between meter and customer so that customer is gives alarm when the consumer load is exceeding
able to check the status of his consumed energy units
the upper limit for which he got the utility
and can manage his load accordingly to reduce his
connection or when the units are running low. In
bill.
case consumer does not reduce his load meter
The main features of smart energy meter are listed
as follows; automatically cut off the consumer connection. IOT
 Get automatic reading of Energy Meter and sent based communications network is used to transfer
it to consumer as well as to utility. the electricity consumed data to the utility
 In reading it measures Voltage, Load Current, administration as well as to the customer when
power, Power factor and units consumed. demanded.
 Utility is able to cut off/restore the supply of the START

defaulter through the Website.


 Measuring energy meter reading any time we
want in real time through the use of Website. IDLE /STANDBY NO
IS
POWER YES
CHECKS
SYSTEM

 Consumer is able to check the status of his load ON? FAULTS

from anywhere in the world. YES

YES
7.Working of IoT Based Energy Meter ALERT THE USER

IoT based communications network is used to


transfer the electricity consumed data to the utility
CHECKS UNITS
administration as well as to the customer when DETECTS
LOW YES IN THE NO
UNITS METER
demanded. Smart metering communication is
centralized meter reading, so meter readers don’t
NO ALERT THE
need to visit each customer for data collection. UNITS USER
YES
However, for testing and maintenance meters may ALERT THE
USER
need to be observed occasionally. The main duty of YES

Energy Meter is to measure the meter reading and


THE SYSTEME
sends it to utility when demand as well as to OPERATES WELL
SHUTDOWN

costumer. The voltage and current sensors measure


the RMS values of voltage and current and feed them Figure 5:Flow Diagram
to microcontroller, where calculations for active and
reactive power are performed. In Smart Energy 8.Main Parts of IoT Based Energy Meter
Meter we used sensors to measure voltage and Smart Energy Meter is comprised of two main
current instead of current and voltage transformers. parts:
A. Voltage and current measurements
B. Power factor measurements

A. Voltage and current measurements.


In this work, a current and voltage sensor is used to
measure voltage and load current. We used PZEM
004t as current sensor that gives us RMS value of
currents. Both AC and DC signals current
measurement is precisely obtained by this current
sensor. Current is measured by this sensor up to
20A. Overall power consumption, metering and
measurements are taken by these sensors. Sensitive
Figure 4:Proteus Simulation

4|P age
measurements of current are handled by using  Reduced operations and management costs for
OPAMP stage. By adjusting the gain, we measure utilities, and ultimately lower power costs for
very small currents-20A output voltage has linear consumers.
variation with measured currents. Similarly, we  Time saving technology.
measured voltage by PZEM 004t.  Tamper detection to reduce electricity theft.
 Energy saving robust and reliable smart
sensors/actuators.

Disadvantages
 Exposure of sensitive customer data.
 Connectivity to untrustworthy partners that
cannot be selected.
 Exposure of critical infrastructure due to
connectivity reasons.
 Introducing malicious software, compromised
hardware could result in denial of service or
security threats.
Sinewave of voltage and current and showing the  Biggest concern: Privacy and Security.
phase shift difference between voltage and current.  Some types of meters can be hacked.

Application
 Society
 Industry

9. Software and User Interface


The UI design was divided into 3 tiers: top tier,
middle tier and lower tier.
Top tier - This is for dividing the screen into distinct
sections which will be used for different purposes. It
divides the viewing area into 5 sections which are:
Header, Main Content, Bottom Bar, and Right side
bar.
Middle tier - This tier implements the header,
bottom bars and the side bars for the 5 different
Square wave of voltage and current and their sections (home, dashboard, statistics, about and log
resultant after XOR operation. out). This is because the contents of these areas are
constant no matter which section of the application
B. Power factor measurements. is being used. The navigation bar has the
Power factor is the cosine of angle between voltage notifications and account settings while the side bars
and current. It actually measures how effectively the have links to help pages and banner notifications
power is being converted into useful work. In our Lower tier – This implements the main content
project we measured it by taking XOR of voltage section of the page. This area is unique to every
and current waves with the help of microcontroller function of the application being used.
and LM358. We used LM 358 to convert weak
sinusoidal signals to large square signals.
After XOR we get signal of double frequency as
shown in figure above. We calculated the time of
XOR signal and it is the power factor. For 50Hz the
output of XOR can be 10 ms if power factor is 0.
And “0” if power factor is unity. So the output of
XOR lies between 0 -1 for a certain value of power
factor.

Advantages
 More efficient transmission of electricity.
 Quicker restoration of electricity after power
disturbances.
Figure 6:The designed UI

5|P age
To ensure a better understanding of the system 11.Conclussion
functionality and scope, Use case analysis was The project describes the design, implementation
performed. This involved analysing all possible and working of an IoT Based Smart Energy Meter
tasks that may need to be completed by the users of and also represents how Smart Energy Meter
the system and presenting the summary (SEM) can be used for Automatic Meter Reading.
diagrammatically as use case diagrams. This It is a very economical implementation to be
ensured easier and more accurate modelling of the developed in this era of technology. With the
system. This analysis is also critical in later making present enhancement in the use of technology to
critical design decisions because it clarifies facilitate mankind, it is an efficient and practical
important capabilities required to be implemented utilization of present networks. This paper also
by the system. shows how customers can manage the load by using
Smart Energy Meters and hence promote optimized
usage of energy. The design provides an easy way
of taking the meter readings, accuracy, detection of
faulty conditions, power factor calculation, less
operation cost and removal of possible corruption
related to meter reading.

11.Future Recommendations
I thought there are few possibilities which can also
be done on this project in future as I have provided
flexibility in the project especially in controller
section. The future research should include the
proper methodology for measuring the power factor
of the load.
Recommendations for future are as follows:
• Power factor must be measured by different
10.Testing and Results techniques.
The accuracy of IoT based Energy Meter is checked • Smart energy Meter can be modified for the
by comparing the readings that are displayed on the detection of illegal use of electricity.
LCD of SEM and that displayed on the Website. IoT
Energy Meter is also checked by connecting and
disconnecting the customer’s connection. We References
connected different loads 10W, 8W, and 5W and
checked its performance.
[1] S. P. Varpe, P. A. Gorakshanath, J. P. Shankar
and J. C. Jagan, "IoT Based Energy Meter
with Measure Current, Voltage and Cost
Monitoring," vol. 2, no. 3, 2020.
[2] K. Kumar and E. Abishek, "IOT Based Energy
Meter Reading System w ith Automatic
Billing," International Journal of Engineering
& Technology, New York, 2018.
[3] S. Botha, "Design of a smart electricity meter,"
University of Pretoria, South Africa, 2008.
[4] E. Rational, Best Practices for Software
Development Teams, Rational Unified
Process, 2011.
[5] H. Gollaprolu, "Design and implementation of
a Smart Energy Meter," Vignan University,
2016.
[6] Apoorva Arshwin ; Kulkarni Nisarga, "IoT
Based Smart Energy Meter fo Automativ
Billing, Power theft Detection and
Figure 7:System Testing, 8W Load

6|P age
Disconnection," Journal Of Composition
Theory, vol. 3, no. 0731-6755, pp. 12-27,
2019.
[7] Riashab Jain ; Sharvi Gupta ; Chirag Mahajan,
"IoT Based Smart Energy Meter Monitoring
and Controlling System," IJRECE, vol. 7, no.
2 April, pp. 228-241, 2019.
[8] Naziya Sulthana ; Shiva Kumar, "Smart
Energy Meter and Mnitoring System using
IoT," International Journal Of Engineering and
Technology, India, 2020.

[9] N. Fathima, A. Ahammed, R. Banu, B.D.


Parameshachari, and N.M. Naik, “Optimized
neighbor discovery in Internet of Things (IoT),” In
Proc. of International Conference on Electrical,
Electronics, Communication, Computer, and
Optimization Techniques(ICEECCOT), pp. 1-5,
2017.

[10] C. Jägerlind, “Improvements for the automatic


meter reading process in electricity distribution
companies,” Master Thesis, De p. Industrial Info
and Control Systems, Royal Institute of
Technology, Stockholm, Sweden 2006.

[11] A. Abdollahi, M. Dehghani, and N.


Zamanzadeh , “SMS- sbased reconfigurable
automatic meter reading system,” IEEE
International Conference on Control Applications
(CCA 2007), Oct, 2007, pp. 1103 – 1107.

7|P age

You might also like