Вы находитесь на странице: 1из 5

A SINGLE PHASE SMART ENERGY MONITORING SYSTEM USING

LABVIEW
1
SAKSHI SINGHAL, 2AMIT GIRI, 3SHRUTI SRIVASTAVA
1,2,3
Amity School of Engineering and Technology, Amity University, Noida (U.P.),India
E-mail: 1sakshi.singhal0991@gmail.com, 2eramitgiri89@gmail.com, 3hrutisrivastava4695@gmail.com

Abstract— Nowadays, electricity is the fundamental source for the people but they are using electricity without any proper
management. If people make a plan for saving electricity then they can save the maximum amount of energy using a smart
energy meter. Therefore, the main aim of this project is to save the energy as much we can use microcontroller, MCP 3905,
LabVIEW. Using this technology, we can calculate the proper amount of energy that we are using in our homes and we can
also calculate that how much energy has been left. Moreover, that smart meter specially design for the smart home where
energy meter will display that, if we switch off that area for some time then we can save that amount of energy per hour and
it will also let us know that, this room is using that amount of power per hour. This technology is very useful for all
electricity distribution companies, private electrical sector and especially for a smart home. Finally, this is the best solution
for energy saving, measuring and analysis of the electricity in the home.

Keywords—Energy, MCP 3905, Microcontroller, Labview.

I. INTRODUCTION

The power is the fundamental source of the world and


it is related to the electricity. So, this is our moral
duty to save the electricity as much we can, therefore,
a normal energy meter has been introduced to
measure the amount of electric energy which is
consumed by the resistance. In the past, technology
was not well developed; therefore, people were used
analogue energy meter which was just used to
measure the electricity. Therefore, people were not
able to calculate the electricity such as, how much
energy has been left and where to use.

Nowadays, technology has revolutionized the concept


of the energy meter and a smart energy meter has
been introduced using MCP 3905.According to
Benzi.et.all (2011) the smart energy meter has an
advanced metering technology involving placing
Fig. 1. Block Diagram of Energy Monitoring System
intelligent meter to read, process and feedback the
data to the consumer such a meter called smart In this project 9 volts transformer for continuous
energy meter [4] [5]. power supply is used as AC mains. Using rectifier
and voltage regulator LM7805e a 5 volt DC power
The smart energy meter is the new generation of
supply of 1 Amp maximum current is obtained.
electricity meter and it offers a range of intelligent
The LM7805 takes unregulated DC power supply
functions such as it measures the energy consumption
(anything from 9VDC to 24VDC) to the Input pin,
in a particular area in the home and it will let us know
the negative lead to the Common pin is connected
that, if we switch off this area for an hour, so, we can
and then when the power is ON, 5 volt supply at
save that amount of energy per hour. Moreover, the
Output pin.
smart metering is also an important step towards The supply unit is used to provide constant 5 V dc
modernizing the energy industry and improving the supply to the peripherals. The 230 V ac is converted
customer services and it should help ensure that our into 9 V ac by using a transformer and then a bridge
energy is more affordable. rectifier rectifies it to a 9 V dc with ac ripples. This is
then filtered by electrolytic capacitors used across the
II. DEVELOPMENT OF THE SYSTEM rectifier output. LM7805 regulator is employed to
ARCHITECTURE obtain a constant 5 V dc at the output. This is a digital
IC used as a regulator for regulating the output.
The architecture of microcontroller based single
LM7805 provides a constant 5V dc supply as output.
phase energy monitoring system. Figure1.
For this it needs at least 8V dc as input.

Proceedings of 31st IRF International Conference, 5th July 2015, Pune, India, ISBN: 978-93-85465-48-2
90
A Single Phase Smart Energy Monitoring System Using Labview

serial port, and interrupt system to continue


functioning. The Power-down mode saves the RAM
con-tents but freezes the oscillator, disabling all other
chip functions until the next interrupt.

B. TRANSFORMER:
A transformer consists of two coils also called as
“WINDINGS” namely PRIMARY & SECONDARY.
They are linked together through inductively coupled
electrical conductors also called as CORE. A
changing current in the primary causes a change in
the Magnetic Field in the core & this in turn induces
an alternating voltage in the secondary coil. If load is
applied to the secondary then an alternating current
will flow through the load. If we consider an ideal
condition then all the energy from the primary circuit
will be transferred to the secondary circuit through
Fig. 2. Block Diagram of Supply
the magnetic field.
III. HARDWARE DEVELOPMENT OF SINGLE PPrimary = SSecondary (1)
PHASE ENERGY MONITORING SYSTEM. So IPVP = ISVS (2)

The secondary voltage of the transformer depends on


the number of turns in the Primary as well as in the
secondary.

VS/VP = NS/NP (3)

C. RECTIFIER:
A rectifier is a device that converts an AC signal into
DC signal. For rectification purpose we use a diode, a
diode is a device that allows current to pass only in
Fig. 3. Circuit diagram of supply
one direction i.e. when the anode of the diode is
positive with respect to the cathode also called as
The components of the monitoring system are as forward biased condition & blocks current in the
follows: reversed biased condition.

A. MICROCONTROLLER AT89S52: D. FILTER CAPACITOR:


The AT89S52 [1] [2] is a low-power, high- Even though half wave & full wave rectifier give DC
performance CMOS 8-bit microcontroller with 8K output, none of them provides a constant output
bytes of in-system programmable Flash memory. The voltage. For this we require to smoothen the
device is manufactured using Atmel’s high-density waveform received from the rectifier. This can be
non-volatile memory technology and is compatible done by using a capacitor at the output of the rectifier
with the industry-standard 80C51 instruction set and this capacitor is also called as “FILTER
pin out 9843. The on-chip Flash allows the program CAPACITOR” or “SMOOTHING CAPACITOR” or
memory to be reprogrammed in- “RESERVOIR CAPACITOR”. Even after using this
The Atmel AT89S52 is a powerful microcontroller, capacitor a small amount of ripple will remain.
which provides a highly flexible and cost-effective We place the Filter Capacitor at the output of the
solution to many, embedded control applications. The rectifier the capacitor will charge to the peak voltage
AT89S52 [3] provides the following standard during each half cycle then will discharge its stored
features: 8K bytes of Flash, 256 bytes of RAM, 32 energy slowly through the load while the rectified
I/O lines, Watchdog timer, two data pointers, three voltage drops to zero, thus trying to keep the voltage
16-bit timer/counters, a six-vector two-level interrupt as constant as possible.
architecture, a full duplex serial port, on-chip If we go on increasing the value of the filter capacitor
oscillator, and clock circuitry. In addition, the then the Ripple will decrease. But then the costing
AT89S52 is designed with static logic for operation will increase. The value of the Filter capacitor
down to zero frequency and supports two software depends on the current consumed by the circuit, the
selectable power saving modes. The Idle Mode stops frequency of the waveform & the accepted ripple.
the CPU while allowing the RAM, timer/counters, C =VR F/I (4)

Proceedings of 31st IRF International Conference, 5th July 2015, Pune, India, ISBN: 978-93-85465-48-2
91
A Single Phase Smart Energy Monitoring System Using Labview

Where, The 9 volts DC supply is given to the target 8051


VR = accepted ripple voltage. (should not be more microcontroller board. It is an 8 bit microcontroller
than 10% of the voltage) having 40 pin IC, 11.0592 Mega Hz crystals. It is the
I= current consumed by the circuit in Amperes. heart of the circuit for the controller to generate the
F= frequency of the waveform. A half wave rectifier clock pulses in internal CPU. Port 0 of board is
has only one peak in one cycle so F=25 Hz connected to 16*2 LCD display. (Character LCD
Whereas a full wave rectifier has Two peaks in one display and RX, TX pins are connected to input of a
cycle so F=100 Hz. max 232 IC level convertor voltage level stabilization
purpose. RS232 cable is used and it is connected to
E. VOLTAGE REGULATOR the LabVIEW via computer. Using virtual
A Voltage regulator is a device which converts environment of LabVIEW the voltage and current are
varying input voltage into a constant regulated output calculated.
voltage. Voltage regulator can be of two types So, from block diagram 9600 bps baud rate is taken.
1) Linear Voltage Regulator 10 character voltage & current reads the data .That
It is also called as Resistive Voltage regulator will be display in read buffer indicator in the front
because they dissipate excessive voltage resistively as panel of LabVIEW. Read buffer will read that value
heat. and write that value. On the front panel of LabVIEW
2) Switching Regulators. respective values of the current and voltage is
They regulate the output voltage by switching the displayed.
Current ON/OFF very rapidly. Since their output is Hardware part- individual loads are given.
either ON or OFF it dissipates very low power thus The differential loads are taken like 60, 100, 40, 20,
achieving higher efficiency as compared to linear and 10 (WATTS). When 60 watts are given, some
voltage regulators. But they are more complex & current will be drawn and increasing the current
generate high noise due to their switching action. For means 100 W + 60 W = 160 W. so voltage will be
low level of output power switching regulators tend drop and current will increase, If the voltage will
to be costly but for higher output wattage they are increase (loads) more current will be drawn.
much cheaper than linear regulators. Using energy meter MCP 3905, read that value and
updated current and voltage will be displayed on the
F. IC 7805 energy meter. A.C. input and loads will be connected
7805 is an integrated three-terminal positive fixed to the energy meter. How much voltage and current
linear voltage regulator. It supports an input voltage are drawn from the energy meter, energy meter
of 10 volts to 35 volts and output voltage of 5 volts. It convert giving the ADC, the output voltage in the
has a current rating of 1 amp although lower current form of volts.
models are available. Its output voltage is fixed at And the output will be displayed on the LCD. And it
5.0V. The 7805 also has a built-in current limiter as a the current and voltage value that will be send to the
safety feature. 7805 is manufactured by many LabVIEW.
companies, including National Semiconductors and Opto-couplers circuit board is used. The switch
Fairchild Semiconductors. button 1, 2, 3, 4 and 5 for each load.
The 7805 will automatically reduce output current if These opto-couplers are to switch from D.C. to A.C.,
it gets too hot. The last two digits represent the means that when input is given the load will be ON.
voltage; for instance, the 7812 is a 12-volt regulator. So these are the track circuit to operate the A.C.
The 78xx series of regulators is designed to work in outputs. For outputs, accurate voltage and current are
complement with the 79xx series of negative voltage measured.
regulators in systems that provide both positive and Suppose some difference is there, means it should be
negative regulated voltages, since the 78xx series 20% or 30% differ. So it will display the current and
can't regulate negative voltages in such a system. display the voltage, how much it is drawing.
So voltage and current same as on LCD display and
G. RS-232 LEVEL CONVERTER same as on LabVIEW
Standard serial interfacing of microcontroller
(TTL) with PC or any RS232C Standard device,
requires TTL to RS232 Level converter. A MAX232
[2] is used for this purpose. It provides 2-channel
RS232C port and requires external 10uF capacitors.

IV. HARDWARE WORKING

In this project A.C. power source and energy meter


MCP 3905 are used. Also microcontroller 8085 is
displayed on LabVIEW with some loads.
Fig. 4. System Hardware

Proceedings of 31st IRF International Conference, 5th July 2015, Pune, India, ISBN: 978-93-85465-48-2
92
A Single Phase Smart Energy Monitoring System Using Labview

V. SOFTWARE other computer. A VI contains the following three


components:
Software used is LabVIEW for analyzing and the • Front panel—Serves as the user interface.
software user for programming r to code the hardware • Block diagram—contains the graphical source code
is KEIL. that defines the functionality of the VI.
LABVIEW is software which provides virtual • Icon and connector pane—identifies the interface to
existence of hardware, reduce it cost and hence the VI so that you can use the VI in another VI. A VI
termed as a virtual instrumentation. within another VI is called a sub VI. A sub VI
It is software provided by the National corresponds to a subroutine in text-based
Instrumentation (NI). programming languages.
The programming language used in LabVIEW, also
A. LabVIEW referred to as G, is a dataflow programming language.
LabVIEW (short for Laboratory Virtual Execution is determined by the structure of a
Instrumentation graphical block diagram (the LV-source code) on
which the programmer connects different function-
nodes by drawing wires. These wires propagate
variables and any node can execute as soon as all its
input data become available. Since this might be the
case for multiple nodes simultaneously, G is
inherently capable of parallel execution. Multi-
processing and multi-threading hardware is
automatically exploited by the built-in scheduler,
which multiplexes multiple OS threads over the
nodes ready for execution.

CONCLUSION
Every one work really hard to earn the money and
therefore when they are able to save few bucks on
essentials it surely delights them. You can use an
idea; rather call an instrument that can help you to
Fig 5. Front Panel in LabVIEW save little money month after month on your
electricity bills. This is energy monitoring system
using LabVIEW that help you to check how much
electricity you
consume per month and the estimated cost for using
this service .the home energy saver kit also help you
to identify the loopholes from where you get over
burdened with electricity bills.
It helps to find out the phantom load of electricity in
your house. Sometimes some electrical appliances are
not used, but as it has been connected to power
supply it was the electricity and that is an additional
burden in electricity bills.

FUTURE SCOPE

Fig 6. Block Diagram in labVIEW


This project can be expanded in the following
directions.
Engineering Workbench) is a system design platform 1. The Electronic meter can be replaced with a
and development environment for a visual prepaid meter.
programming language from National Instruments. 2. Remote recharging can be implemented
through Zigbee, Bluetooth or wireless
B. VIRTUAL INSTRUMENTS(VI): network.
LabVIEW programs are called virtual instruments, or 3. The protection against the power theft and
VIs, because their appearance and operation imitate energy meter tampering can incorporate in
physical instruments, such as oscilloscopes and this project.
multimeters. Every VI uses functions that manipulate 4. A mini printer can be interfaced to get a
input from the user interface or other sources and printed bill or details of billing.
display that information or move it to other files or 5. Software can be modified to view the
balance on request.

Proceedings of 31st IRF International Conference, 5th July 2015, Pune, India, ISBN: 978-93-85465-48-2
93
A Single Phase Smart Energy Monitoring System Using Labview

REFERENCES International Journal of Power Electronics and Drive


System (IJPEDS) Vol.1, No.2, December 2011, pp.
139~147 ISSN: 2088-8694
[1] Book entitled as “8051 Microcontroller” by majidi to learn
[5] “A single phase microcontroller based energy meter”,
serial communication circuit for IO cards.
Loss, P.A.V., Lamego, M.M., Sousa, G.C.D., Vieira,
[2] Referred datasheets of ATmega16 and Max232 for dac
J.L.F., Instrumentation and Measurement Technology
card.
Conference, 1998. IMTC/98. Conference Proceedings.
[3] Site entitled as
IEEE, Date of Conference: 18-21 May 1998, Volume: 2,
“www.futurlec.com/ATMega_Technical.shtml
Page(s): 797 - 800 vol.2, Product Type: Conference
[4] Md. Mejbaul Haque1, Md. Kamal Hossain2,
Publications .
Microcontroller Based Single Phase Digital Prepaid
Energy Meter for Improved Metering and Billing System ,



Proceedings of 31st IRF International Conference, 5th July 2015, Pune, India, ISBN: 978-93-85465-48-2
94

Вам также может понравиться