Está en la página 1de 7

International Journal of Industrial Electronics and Electrical Engineering, ISSN(p): 2347-6982, ISSN(e): 2349-204X

Volume-5, Issue-7, Jul.-2017, http://iraj.in


ENERGY MANAGEMENT FOR SMART HOME
SAMAN HASAN ABDULLAH
1
Electrical and electronic Engineering Department Gaziantep university in Turkey
Email: 1saman3q@gmail.com

Abstract- Smart Home Energy Management system (SHEMS) which monitors and controls the loads existing in a
residential home and manages the available energy effectively. It plays a significant role in smart grid environment and helps
in regulating the wastage of energy at residential homes. It provides a homeowner the ability to automatically perform smart
load ON/OFF switching based on generation power and home owner preference and load priorities. This project contains
two main parts for reduce energy consumption and energy management. First part the consumer can be managing the mode
of our load, in this project have three modes for load management that it is (ECO, AUTO & MANUAL) that control
appliances remotely by using internet protocol (IP) via Web server according to save energy, reduce bill. The second part
which contains distribution and billing center in effective utilization of the energy available and minimization of the
electricity over load in crash hour and energy wastage, the (SHEMS) control algorithm to perform load control is analyzed
along with the power consumption details. It employs an embedded micro – web server in Arduino Mega 2560
microcontroller, with IP connectivity for accessing and controlling devices and appliances remotely. The project aims to
provide a clear picture of a home’s current and power usage, and through this data provide an estimate to power
consumption. The project also aims to identify which devices turn on and off by analysis of this current data. The goal of
provided such data to a user is that they will optimize and reduce their power usage.

Keywords- power meter, microcontroller and Arduino, sensors, home automation, IP and web server.

I. INTRODUCTION Automation is another important application of IoT


technologies. It is the monitoring of the energy
While the cost of living is going up, there is a consumption and the Controlling the environment in
growing focus to involve technology to lower those buildings, schools, offices and museums by using
prices. With this in mind the Smart Home project different types of sensors and actuators that control
allows the user to build and maintain a house that is lights, temperature, and humidity.
smart enough to keep energy levels down while Power generation is suffering from a real crisis in
providing more automated applications. A smart providing demand for electric power, and one of the
home will take advantage of its environment and most important reasons and influencing is a
allow seamless control whether the user is present or distribution network damaged and irregular
away. With a home that has this advantage, you can consumption of electric power. Now an urgent need
know that your home is performing at its best in for a comprehensive change in the electrical
energy performance. distribution network and especially controlling the
The deployment of electronic energy meters has consumption of customers of electrical power and
gained a great deal of momentum over the past control must rely on an efficient and reliable system
several years. This is due to their two main for accurate readings which this reduces the cost of
advantages over the traditional electromechanical measurements, in addition to providing an
designs: improved accuracy and an expanded set of environment to monitor power factor which is an
features. Current microcontroller technology allows important factor that increasing consumption or
designers to build meters that are competitive in price pressure on the network.
with traditional devices. [1] Change in the national distribution network must
Automation is a technique, method, or system of include providing a safe environment for
operating or controlling a process by electronic measurements and calculations, cost which this
devices with reducing human involvement to a matter will increase network Efficiency and reduce
minimum. The fundamental of building an consumption as well as to increase the value of the
automation system for an office or home is increasing Financial benefits.
day-by-day with numerous benefits. Industrialist and The present system of energy metering as well as
researchers are working to build efficient and billing, which uses electromechanical energy meter is
affordability automatic systems to monitor and error prone and it consumes more time and labor. the
control different machines like lights, fans, AC based conventional electromechanical meters are being
on the requirement. Automation makes not only an replaced by new electronic meters to improve
efficient but also an economical use of the electricity accuracy in meter reading. Still the many country
and water and reduces much of the wastage [2]. power sectors face a serious problem of revenue
Internet of thing(IoT) grant to people and things to be collection for the actual electric energy supplied
connected Any-time, anyplace, with anyone, ideally owing to energy thefts and network losses. One of the
using any network and any service [3]. prime reasons is the traditional billing system which

Energy Management for Smart Home

66
International Journal of Industrial Electronics and Electrical Engineering, ISSN(p): 2347-6982, ISSN(e): 2349-204X
Volume-5, Issue-7, Jul.-2017, http://iraj.in
is inaccurate many times, slow, costly, and lack of proportional to the load current. The actual voltage
flexibility as well as reliability [4]. In recent years, and current readings can then be derived
the developments in electric power meter seem to
provide opportunities in implementing energy II. DETAILS EXPERIMENTAL
efficient metering technologies that are more precise,
accurate, error free, etc. [5-8]. 2.1. SYSTEM DESIGN
There are many methods for measuring electrical The system consists of two sections, base station
power at home are manual meter, IC Card prepaid (BS)and consumer section(SC). block diagram for the
meter, wire-line metering and wireless meter. system is depicted in Fig. 1.
In this paper, automatic electric power meter has been The base station section consists of data center for
designed in order to measure instantaneous voltage collect data about power generation, demand of
and current. The consumed power and PF has been consumer such as (voltage, current, power Kwh) and
calculated by microcontroller which consumer recharge that it can via e-mail or short message can
monitors these values at home by LCD or at Web sending to consumer which is interfaced to the
client via IP address, while the same values send to a communication system such as wireless system
base station for monitoring and calculating the (ZigBee, Wi-Fi or Bluetooth) which enables the home
consumed electric power . owner to give power consumption limit and account
Xbee kit has been used for ZigBee wireless billing for every consumer. This power consumption
communication. The XBee/XBee-PRO RF Modules limit value is further transmitted wirelessly by
are designed to operate within the ZigBee protocol Bluetooth or the X-Bee transceiver connected to the
and support the unique needs of low-cost, low power controller.
wireless sensor networks. The modules require In the consumer section, consist of power metering
minimal power and provide reliable delivery of data by using current sensor (AC712) and step down
between remote devices. transformer, AC to DC convertor to measure loads
are integrated to the micro- controller through
Principle of measurement controlled ON/OFF relay switches. The signals
Basically, a watt hour meter is designed to measure transmitted by the X-Bee at transmitter section are
energy or power consumed over time. In simple receiver by the X-Bee located at receiver side and the
terms، electrical power is the product of voltage and information is passed to the controller. An LCD is
current. If measurements of both instantaneous interfaced to the controller at (CS) which displays the
voltage and current, or Vi and Ii has been repeated for power consumption limit, voltage, total current, net
N times, the average power (watt) is. power consumption of the load system. Both the
controllers are fed with DC power supply and power
N
Average power  (  Vik  Iik ) / N . (1) to the loads comes from main ac supply terminals. A
pushbutton switch is connected to the controller
k 1
The total energy consumed during specific time can which decides the mode of operation that have three
be calculated by multiplying the average power by modes Manual, Auto & Eco. That control relay to
time. turn ON/OFF relays depended to mode operation and
load that the system.
N
Consumed energy  (  Vik  Iik ) / Fs (2)
k 1
For alternating current, average power can be
calculated by V*I*cos(θ)، where V and I are average
rms voltage and current، and θ is the phase angle
between the V and I. Instantaneous sampling does not
directly use power factor; the value of the phase angle
is essentially embedded in the instantaneous current
measurement. recovering the actual phase angle for
the purpose of calculating and displaying the power
factor can be done separately and is very calculation
intensive.
It is difficult for a microcontroller to make direct
measurements when the supply voltage is 230V at up Figure 1:1 structure of project.
to 30A. This makes it necessary to indirectly measure The consumer can access our home locally via private
line voltage and current at a level consistent with a internet protocol (IP) by using web browser (internet
microcontroller، and then rescale these measurements explorer, google chrome, safari and fire fox) via
to arrive at the original value. Measuring current here smart phone or personal computer, that can be access
is essentially the same as measuring voltage which one user or more according to access list that create
transducer has been used to generate a voltage by consumer.

Energy Management for Smart Home

67
International Journal of Industrial Electronics and Electrical Engineering, ISSN(p): 2347-6982, ISSN(e): 2349-204X
Volume-5, Issue-7, Jul.-2017, http://iraj.in

also the consumer can access our home remotely by


using public (IP) or by using DDNS (dynamic
domain name system) as shown in figure 1:2.

Figure 2.2.1 (Arduino Mega)

2.2.2 Ethernet shield


The Arduino Ethernet Shield illustrated in Figure 16
allows an Arduino board to connect to the internet. It
is based on the Wiznet W5100 Ethernet chip. The
Wiznet W5100 provides a network (IP) stack capable
of both TCP and UDP. It supports up to four
simultaneous socket connections. Use the Ethernet
Figure 1:2 structure of project. library to write sketches which connect to the internet
using the shield. The Ethernet shield connects to an
When consumer access to our home server (Arduino Arduino board using long wire-wrap headers which
Mega) can check measurement unit such as supply extend through the shield. This keeps the pin layout
voltage, current, power consumption. intact and allows another shield to be stacked on top.
And can check and setting temperatures degree air It is used to connect the gateway to the database.
conditioner (AC) and water heater system.
About change home network operation mode that
have three modes can be change for example if
consumer leave the house can be setting home to
ECO mode that low power consumption that operate
refrigerator, internal lamps, and external lamps if
night time.
In Auto mode the system operates according to
provider generation power (load demand) that sensor
measure consumed power and compare to permission
power, if consumed power less than permission
power, turn on equipment until consumed power Fig.2.2.2 (Ethernet shield).
equal to permission power, that it is a limit cannot be
turn on any other equipment. 2.2.3 Current Sensor
The ACS712 Current Sensors offered on the internet
2.2. Hardware setup for SHEMS. are designed to be easily used with micro controllers
The following devices and modules have been used like the Arduino. These sensors are based on the
for configuring the hardware setup of SHEM system: Allegro ACS712ELC chip. These current sensors are
offered with full scale values of 5A, 20A and 30A.
2.2.1 Arduino MEGA
The Arduino Mega 2560 is a microcontroller board
based on the ATmega2560. It has 54 digital
input/output pins (of which 14 can be used as PWM
outputs), 16 analog inputs, 4 UARTs (hardware serial
ports), a 16 MHz crystal oscillator, a USB
connection, a power jack, and a reset button. It
contains everything needed to support the
microcontroller; simply connect it to a computer with
a USB cable or power it with a AC-to-DC adapter or Figure 2.2.3 (ACS712)
battery to get started. The Mega is compatible with
most shields designed for the Arduino Ethernet 2.2.4 Voltage sensor
shield. The voltage across the load setup is sensed as shown
in Fig. 12. A 230V/12V transformer is used to step
down the A.C. Voltage across load and is given to
full wave bridge rectifier for A.C. to D.C conversion

Energy Management for Smart Home

68
International Journal of Industrial Electronics and Electrical Engineering, ISSN(p): 2347-6982, ISSN(e): 2349-204X
Volume-5, Issue-7, Jul.-2017, http://iraj.in
as we cannot connect A.C voltage to Arduino. The
sinusoidal A.C. voltage of RMS value around 230V is
full wave rectified and the output voltage Vm will be
a full rectified D.C. voltage of RMS around 12 V,
also this voltage reduced by using voltage divider to 5
volts and connect to analog pin in microcontroller
This step down ratio is used during programming for
Figure 2.2.6 relay.
voltage scaling.
2.2.7 16x2 LCD
display 16 characters per line and there are 2 such
lines. In this LCD each character is displayed in 5x7
pixel matrix. it has two registers, namely, command
and data. The command register stores the command
instructions given to the LCD.command is an
instruction given to LCD to do a predefined task like
initializing it, clearing its screen, setting the cursor
position, controlling display etc. the data register
Figure 2.2.4 (voltage sensor)
stores the data to be displayed on the LCD.

2.2.5 DHT 11 2.2.8 Load.


DHT11 digital temperature and humidity sensor is a The six loads D1 to D6 are realized using six
composite Sensor contains a calibrated digital signal incandescent bulbs of 230volts, 60Watts each. We
output of the temperature and humidity. application can use other home loads like fan, hair dryer, electric
of a dedicated digital modules collection technology kettle etc., Power to these loads will come from the
and the temperature and humidity sensing main supply terminals and are controlled by three
technology, to ensure that the product has high ON/OFF controllable relay switches. According to
reliability and excellent long-term stability. The the control signal received from the controller by the
sensor includes a resistive sense of wet components relays, loads are turned ON or OFF.
and an NTC temperature measurement devices, and
connected with a high-performance 8-bit 2.2.8 wireless communication.
microcontroller, it has use for many applications such X-Bee transceiver is a popular wireless module from
as HVAC, dehumidifier, testing and inspection Digi International company which operates at 2.4
equipment, consumer goods, automotive, automatic GHz based on zigbee protocol (802.15.4). The
control, data loggers, weather stations, home module image of X-Bee. These modules are of low
appliances, humidity regulator, medical and other cost, reliable and allow simple communication
humidity measurement and control. between controllers. They are better suitable for serial
communication and allow communication between
2.2.6 relay point to point or point to multi point networks [11].
Relay divided into two parts: input and output as The modules are configured for a baud rate of 9600.
shown in figure 2.2.6. the input section has a coil The main features of the X-Bee module are shown
which generates magnetic field when a small voltage below:
from an electronic circuit is applied to it. this voltage 3.3V at 50mA
is called the operating voltage. Commonly used 250 kbps Maximum data rate
relays are available in different configuration of 1mW power output (+0dBm)
operating voltages like 6V, 9V, 12V, 24V etc. the 300ft (100m) range of operation
output section consists of contactors which connect or Six 10-bit ADC input pins
disconnect mechanically. In a basic relay there are 8 digital IO pins
three contactors: normally open (NO), normally 128-bit encryption
closed (NC) and common (COM). At no input state, Two X-Bee transceiver modules are used for
the COM is connected to NC. transmitter and receiver sections and power
When the operating voltage is applied the relay coil consumption limit information is transmitted from
gets energized and the COM changes contact to NO. transmitter to receiver wirelessly.
Different relay configurations are available like
SPST, SPDT, DPDT etc., which have different 3.1. Control algorithm for costumer section
number of changeover contacts. By using proper The control algorithm for SHEM system employed at
combination of contactors, the electrical circuit can consumer section controller is shown in the Fig.3.1
be switched on and off. get inner details about three load as sample for residential home is
structure of single relay, and for 8 unit relay the same considered for simple explanation and home owner
idea. can set them in auto, eco or manual mode using the

Energy Management for Smart Home

69
International Journal of Industrial Electronics and Electrical Engineering, ISSN(p): 2347-6982, ISSN(e): 2349-204X
Volume-5, Issue-7, Jul.-2017, http://iraj.in
mode switch. If mode selector switch is connected to
5V terminal, it is considered as AUTO mode of
operation and if it is connected to GND, it is treated
as MANUAL mode of operation. The loads are
denoted ad D1, D2, & D3 where D1 has least priority
and D3 has highest priority. Initially, mode is
checked and if it is AUTO, power consumption limit
value PPL is acquired over Bluetooth or X-Bee at
receiver side and all loads are temporarily turned ON.
Then, V, I are sensed, net power consumption value P
is calculated and compared with PPL.

If P is less than PPL value, all the devices remain in


ON condition, program goes back to the initial mode
check point and waits for new offer from base station.
If P is greater than PPL, a least priority load D1 is
turned OFF and again V, I are sensed and P value is
calculated. As earlier, again P is compared with PL
and if it is greater, D1 and D2 are turned OFF.
Otherwise, it will go to initial mode check and waits
for new keypad input. Similarly, again P is calculated
and D3 is also turned OFF if P is greater than PPL
else it goes back to initial mode checking and waits
for new keypad input. If mode is MANUAL,
positions of the selector switches M1, M2 & M3 are
checked and corresponding device is turned ON/OFF
Fig.3. 1 control algorithm
depending on the switch HIGH(5V)/LOW(GND)
position. Values of V, I, P and PL are displayed on
System software has been designed to manage and
the LCD connected to the receiver controller [9].
monitor the electric power parameter and personal
and about ECO mode three loads turn on just it means
information of customers. for this reason, database
cannot control other loads.
has been designed by using Microsoft Visual studio
C#. For each customer there are (ID, Name, Address,
3.2. BS SOFTWARE DESIGN City, Phone No., Email, Vrms, Irms, KWh, and KWh
Instantaneous voltage and current have been
Cost). The formation of KWh and KWh cost has been
measured by electric power meter based on updated during period time. also the information of
microcontroller which rms value of voltage and KWh cost will be sends to customers through email
current, power, and KWh have been evaluated by or mobile phone messages for cost payment.
microcontroller. this information has been sent to the
base station through Bluetooth or ZigBee wireless
4 Experiments results
network. In base station side the information has been
The setup for SHEM system shown in Fig. 4.1 has
stored in PC server for management and monitoring.
been developed. The system has been tested for
At the base station the Graphical User Interface
different PL value settings in auto mode. The results
(GUI) of smart electrical power meter is shown in
obtained are tabulated for PL values 280 Watts & 150
Fig. 3.2. Watts as shown in TABLE. 1 &TABLE 2. It can be
observed from the results that for variations in PL
value, system is responding well and devices are
switching correctly. As per the value of power limit
received, devices are turned ON/OFF and the net
power consumption is always maintained below the
value of PL. for a PL value of 280Watts, all the
devices are turned ON and the net power
consumption is 240.2Watts which is less than the
value of PL. voltage and total current flowing through
load setup is obtained as shown in Table 1 while
setting in auto mode.
when PL value equal to 280 and setting in manual
mode the consumed energy is 240 W, and all
appliances turn on.
Figure 3.2 BS

Energy Management for Smart Home

70
International Journal of Industrial Electronics and Electrical Engineering, ISSN(p): 2347-6982, ISSN(e): 2349-204X
Volume-5, Issue-7, Jul.-2017, http://iraj.in
and finally if we change mode for eco the consumed consumer section can be remotely switch on & off
energy is 180 w and three appliances can be turn on. appliance remotely by using internet that is
while change PL to 150 w in manual mode all comfortable and efficiency for consumer.
appliances turn on and consumed energy is 240 w. Separate monitoring of energy consumption, sending
but if change to auto mode only three appliance turn the energy consumption data as well as code
on and consumed energy is 180 w. corresponding to energy power limit detect alert
and finally if we setting mode to eco three appliance during maximum demand and activating/deactivating
are turn on as shown in table 2. the consumer power supply on utility commands are
achieved by the program embedded on the
Table 1 Reading Obtained for PL of 280 Watts microcontroller of the smart meter generating
electricity bill automatically. The designed system is
having the following merits.

Economical: Implementation of home automation


and energy management will, not only makes the
public vigilant in their electricity bill and hence the
electrical energy consumption, but also create
awareness among the public about significance of
energy conservation. This decreases the electricity
bill of the consumer. Eliminates the labor of meter
data collection: Automatic Meter Reading is one of
Table 2 Reading Obtained for PL of 150 Watts the features of the Smart Metering.

Since smart meter measures the energy consumption


data wirelessly, the laborious and inappreciable task
of manual data collection will be eliminated. This
will also eliminate the corruption possibility made in
meter data collection. Remote detection of energy
theft and meter fault: Smart Meter detects energy
theft and faulty meters remotely.

REFERENCES

[1] http://ww1.microchip.com/downloads/AppNotes/
00939a.pdf
[2] Shih-Pang Tseng, Bo-Rong Li, Jun-Long Pan,
and Chia- Ju Lin,”An Application of Internet of
Things with Motion Sensing on Smart House“,
978-1-4799-6284-6/14 c 2014 IEEE.
[3] Andrea Zanella, Nicola Bui, Angelo Castellani,
Lorenzo Vangelista, and Michele Zorzi, “Internet
of Things for
[4] Smart Cities”, IEEE INTERNET OF THINGS
JOURNAL, VOL. 1, NO. 1, FEBRUARY 2014.
[5] R. Devidas, M. V. Ramesh,“Wireless Smart Grid
Design for Monitoring and Optimizing Electric
Transmission in India”,2010 Fourth
InternationalConference on SensorTechnologies
and Applications (SENSORCOMM), pp.637-
Figure 4.1 SHEMS set up
640,2010.
[6] Shoeb S. Sheikh, et al., “Design and
CONCLUSIONS
Implementation of Wireles Automatic Meter
A detailed description of the proposed SHEM system Reading System", International Journal
is given. The proposed algorithm has been check for ofEngineering Science andTechnology, Vol. 3,
various power limit settings and has been verified. No. 3, pp. 2329-2334, March 2011.
The developed system is of low cost, and It provides [7] Terry Chandler, “The Technology Development
a homeowner the ability to automatically perform of AutomaticMetering and Monitoring Systems”,
load ON/OFF switching based on generation power The 7th International Power Engineering
and home owner preference and load priorities. The Conference, pp. 147-150, Nov. 2005.

Energy Management for Smart Home

71
International Journal of Industrial Electronics and Electrical Engineering, ISSN(p): 2347-6982, ISSN(e): 2349-204X
Volume-5, Issue-7, Jul.-2017, http://iraj.in
[8] Ingeborg Graabak, Ove S. Grande, Jussi autonomous incentive-based energy consumption
Ikaheimo and Seppo schedul- ing algorithm for smart grid, in Proc.
[9] Karkkainen, “Establishment of Automatic Meter Innov. Smart Grid Technol. (ISGT) Conf., pp.
Reading and 16, 2010.
[10] Load Management, Experiences and [14] https://www.w3schools.com
Cost/Benefit”, 2004 [15] D. Han and J. Lim, “Design and implementation
[11] International Conference on Power System of smart home energy management systems
Technology, pp. 1333-1338, Nov. 2004. based on ZigBee, IEEE Trans. Consum.
[12] https://en.wikipedia.org/wiki/Electricitymeter . Electron., vol. 56, no. 3, pp. 14171425, 2010.
[13] A. H. Mohsenian-Rad, V. W. S. Wong, J.
Jatskevich, and R. Schober, “Optimal and



Energy Management for Smart Home

72

También podría gustarte