Smart Energy Meter Based On Arduino and Internet o
Smart Energy Meter Based On Arduino and Internet o
Email : [email protected]
Abstract. Energy meter is a measuring instrument to calculate the amound of electric energy
consumed by an electrically powered device. The energy metering which measure line voltage,
current, and calculating active power can be used to increase usage efficiency of electricity.
This paper presets a system which provide real time energy meter reading using ACS712 as
current sensor, ZMPT101B as voltage sensor, arduino and an IoT server. The energy meter can
display consumed energy in kWh and electricity bills to be paid. system's user interface is in
Android. the error in current measurement is less than 2 % and error for peak to peak voltage
measurement is 4 %. A notification for the amount of electricity energy usage or electricity
cost can be generated for user to be displayed.
1. Introduction
The power meters are one of important aspect in the smart grid concept [1]. They are the devices
which measure electricity and also connecting different equipment over the electric grids. The concept
that introduce the automation of measurements of electronic meters was called AMR (Automated
Meter Reading). AMR is a concept that enables devices to be accessed remotely and collect the
electronic data generated by the meter at consumer units. The data then transmitted from the meter to
the electric company using radio frequency, telephone, power line or satellite communication [1].
A smart energy meter (SEM) is electronic device having energy meter chip for electric energy
consumed measurement, protocols for data communication, security purposes, interface for data
display and other function[2]. The difference of smart meter from traditional energy meter devices is
by its communication ability. A smart meter should be able to record active power consumption and
also other information of an electronic device, such as: voltage and current phasors, reactive power,
maximum power demand, frequency, power factor and other information, in real time [1].
The Internet of Things (IoT) is defined by ITU and IERC as a dynamic global network
infrastructure with self-configuring capabilities based on standard and interoperable communication
protocols where physical and virtual "things" have identities, physical attributes and virtual
personalities, use intelligent interfaces and are seamlessly integrated into the information network [3].
Following the utilization of IoT, the smart meters needs to be developed with the intention of using
device and communication technology to attain consumer satisfaction. This paper present a design of a
smart energy meter, which provide accurate measurement of power consumption and display it to the
consumer.
2. Experimental
There are two basic types of electronic meters, electro-mechanical and electronic. The most common
type of electricity meters are the electro-mechanical induction watt-hour meter. It works by counting
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
International Conference on Advanced Materials for Better Future 2018 IOP Publishing
IOP Conf. Series: Materials Science and Engineering 578 (2019) 012085 doi:10.1088/1757-899X/578/1/012085
the revolutions of a non-magnetic metal disc which is made to rotate at a speed proportional to the
power passing through the meter. The number of the disk revolutions is proportional to the device’s
energy usage[2]. The electrical power is the ratio of electric energy per unit time. In other words, it is
the amount of power used or absorbed by a device within a given time. The giving unit by the
International System of Units is the Watt [4]. The real power calculated from the instantaneous power
signal. The instantaneous power signal is generated by a direct multiplication of the current and
voltage signals [2]. Electronic power is calculate using equation (1)
P =V I (1)
where: V is the voltage (V); I is the current (A); P is the power (W)
The system’s design for the smart meter using arduino and Internet of Things (IoT) is shown on
Figure 1. In our system, the voltage was measured using ZMPT101B, the current was measured by
ACS712, and the estimated power is calculated using the effective value of both voltage and current
signal. Arduino is used to read the sensors readings and send the data via ethernet shield to the server.
The server will receive the data, calculate the estimated power and display it for user. User can access
the data using mobile devices.
Current
Sensor
ACS712
ARDUINO
UNO SERVER
Voltage Sensor
ZMPT101B
Mobile
Devices
ZMPT101B is a voltage sensor made from the ZMPT101B voltage transformer. It has high
accuracy, good consistency for voltage and power measurement and it can measure up to 250V AC
[5], [6]. ACS712 is a Hall effect-based linear current sensor Integrated Circuit (IC) with 2.1 kVRMS
isolation and a low resitance current conductor. This sensor has a maximum 185 mV/A output
sensitivity with extremely stable output offset voltage [7]. Both voltage and current units are isolated,
very cheap, and easy to use [6]. Arduino is an open-source platform used for building electronics
projects. Arduino consists of both a physical programmable circuit board and a sofware or IDE
(Integrated Development Environment), used to write and upload computer code to the physical board.
2
International Conference on Advanced Materials for Better Future 2018 IOP Publishing
IOP Conf. Series: Materials Science and Engineering 578 (2019) 012085 doi:10.1088/1757-899X/578/1/012085
After implementing the system design, sample of voltage and current were taken by connecting the
sensors to electric source. Afterward, the value from the sensor is compare with data obtained from a
multimeter (Heles UX866TR). A bank of 7W, 15W, 18W, 42W, and 100 W light bulb is connected as
load.
Arduino UNO
ACS712
Current Sensor
ZMPT101B
Voltage Sensor
The voltage measured by the ZMPT101B voltage sensor and the multimeter were read and
recorded. The values and are represented as a graph in Figure 5. The accuracy of ZMPT101B voltage
sensor’s reading is 77 %.
The current measured by the ACS712 Current sensor and multimeter were read and recorded. The
values and percentage errors are represented as a graph in Figure 6. The accuracy of ACS712 current
sensor’s reading is 86 %.
3
International Conference on Advanced Materials for Better Future 2018 IOP Publishing
IOP Conf. Series: Materials Science and Engineering 578 (2019) 012085 doi:10.1088/1757-899X/578/1/012085
User interface is design so that user can monitor usage of electricity by the equipment. The user
interface also shows the cost spent for the electricity. Smart energy meter’s user interface is shown on
Figure 7.
4. Conclusion
As conclusion, a smart energy meter using arduino and IoT has been designed and tested. The
meter is design to facilitate electronic consumer to monitoring its electrical utilization. The meter
consist of ZMPT101B as voltage sensor, ACS712 as current sensor and Arduino UNO with ethernet
shield. The data from sensor’s reading will be sent to server. Server will calculate the electrical power
used by the equipment. User can monitor all of this data using mobile devices. The sensor testing
shows 77 % accuracy for voltage sensor and 86 % accuracy for current sensor. The future work is to
improve the sensor accuracy that the energy reading become more precise.
References
[1] Garcia F D, Marafao F P, Souza W A De and Silva L C P Da 2017 Power Metering: History
and Future Trends IEEE Green Technol. Conf. 26–33
[2] Rahman M, Islam M O and Salakin S 2015 Arduino and GSM Based Smart Energy Meter for
Advanced Metering and Billing System 21–3
[3] Vermesan O and Friess P 2014 Internet of Things – From Research and Innovation to Market
4
International Conference on Advanced Materials for Better Future 2018 IOP Publishing
IOP Conf. Series: Materials Science and Engineering 578 (2019) 012085 doi:10.1088/1757-899X/578/1/012085