Documente Academic
Documente Profesional
Documente Cultură
th
J ULY, 2012, Puducherry
41
Advantages of LabVIEW over Embedded System
in Home Automations
B V Sumangala & K Bhargava Ram
Dean Academic, Professor and HOD, Dept. of EEE, Dr. Ambedkar Institute of Technology, Bangalore, India
E-mail : sumangala_bv@yahoo.com & kbhargavram1990@gmail.com
Abstract LabVIEW is the future of hardware and software designing platform. Hardware and Software designing is complex using
Embedded System. Programming concepts to hours to analyse and frame. Thus in the paper we discuss the LabVIEW advantages
and how and why it should be used in home automation by taking example of a simple low cost temperature control system and
water tank filling system. The temperature control systemapplication is used to analyse the programme comparison between
assembly language program and LabVIEW GUI programming platform. And water tank filling system application is used to
compare the hardware complexities. At the end of the paper the disadvantages of LabVIEW are highlighted.
Keywords: Temperature Control System, Water Tank Filling System, LabVIEW, GUI, Embedded System.
I. INTRODUCTION
Home Automation
In simple terms home automation is defined as the
automatic control of all appliances at home. Its
something like this: when you get up from bed, the
pressure sensor kept under your bed mat sends the signal
to the coffee maker which makes the coffee and heater
in your bathroom switches on simultaneously
[1]
. Lights
and fans switch ON and OFF based on the humans
presence in the room all by itself. These technologies
are no more the dream but are now becoming the reality
around us.
Introduction to LabVIEW
LabVIEW stands for Laboratory Virtual
Instrumentation Engineering Workbench. It started in
1983 by a company National Instruments which
famously stands for NI. NI LabVIEW is a graphical
development platform designed for engineers and
scientist. Like C, J AVA, the LabVIEW software is
known as G language
[2]
. Its interfacing is GUI
(Graphical User Interfacing) i.e. the complete program
is represented in block diagrams instead of having
syntaxes. This makes the programming language more
easily understandable. LabVIEW application is majorly
in Industrial Automation. This paper will be focussing
on making use of LabVIEW in Home Automation.
Before we go on to know what is LabVIEW, firstly we
will discuss on what is the previous technology being
implemented in Home Automation i.e. embedded
system (microcontrollers, PCB designing and assembly
language software) which are being used in the Home
Automation and the problems being faced in them, so
that we will better picture of why the future should be of
LabVIEW.
Embedded System
Embedded system is into every electronic
appliance. For home automation, its functioning i.e.
programing is done by Assembly language, C, C++, etc.
and then fed into a microcontroller. The hardware
interfacing is done by making a circuit connection as per
application and then the necessary parts are soldered on
to a PCB. If any changes or modifications are to be
made, the PCB should be remodelled.
Let us now compare Embedded System and LabVIEW
to understand the aspects more clearly.
II. COMPARISON BETWEEN THE
TECHNOLOGIES
A. Software
Let us consider an example to understand about
difference between LabVIEW and Embedded system.
Consider a temperature control system, where the input
to the system is thermostat (digital input) and it is
compared to a reference value. If the temperature is
below the reference value, it should display green
coloured LED (safe) as the output (analog). If it is in
region where temperature is above safe temperature
limit and little less than the danger limit, then is should
display yellow coloured LED (caution) and if high i.e.
International
danger it wi
alarming.
Firstly we wil
using Embedd
--------- Progra
mov R0,#50h
mov A, P2;
CJ NE A,@R0
Back: LCALL
SJ MP Here;
Skip: J C Back
SUBB A, @R
CJ NE A, #20H
LCALL SAFE
SJ MP Here;
Front J C Skip;
LCALL DANG
Here: SJ MP H
Skip: LCALL
SJ MP Here
---------- End o
The progr
have to create
That will mak
gets more com
Now let us tr
Control System
Figure 1: Tem
Fig 1, sho
blocks where a
A
Conference on Ad
ll be red co
ll see how the
ded System by
am starts -------
, Skip;
L Safe;
k;
0;
H, Front;
E;
;
GER;
Here;
CAUTION;
of program ----
ram does not e
e a sub routine
e the program
mplex.
ry to frame th
m using LabVI
mperature Con
LabV
ows LabVIEW
as Fig 2 shows
Advantages of L
dvancement in Eng
oloured LED
software solut
Assembly lang
----
----------
end here only,
e program for
lengthier. Thu
e program for
IEW by G lan
ntrol System Pr
VIEW
W program whi
s the front pane
abVIEW over E
gineering Studies &
(danger) for
tion is created
guage
[3]
.
, after this we
r LED output.
us the program
r Temperature
nguage.
rogram using
ich is build in
el details. The
Embedded System
& Technology, IS
42
input th
(orange
(in blue
compare
gets pas
referenc
on. Sim
used and
switches
palette i
program
represen
Thu
few LED
the outpu
For
consistin
lighting
sensors,
control a
pages w
Lab
problem
system c
VIs. M
combine
building
The
statemen
is elim
represen
B. Har
For
water tan
m in Home Auto
SBN : 978-93-8169
he system is th
coloured box)
box at bottom
ed by using les
ssed if input
e value, if it is
milarly for dang
d checked off
s on. For chec
is used betwee
mming is done
nted in front pa
Figure 2: F
us by simple i
D signals we c
ut is displayed
home autom
ng of a comb
control, sec
etc
[4]
. When a
all these system
ith a very tedio
bVIEW is m
ms. When many
can be framed
Many program
ed together m
g entire program
e defining o
nts, syntaxes, c
minated with
ntations.
rdware
hardware desi
nk filling guard
omations
93-72-8, 15
th
J UL
hermostat as s
. A reference t
m of diagram).
sser than palett
temperature
s true then safe
ger zone a gre
and thus if it
cking the in ra
en the safe and
in block diag
anel.
Front Panel of P
idea of compa
created the com
d beautiful and
mations, the
bination of te
urity system,
a program has
ms the coding
ous logic to bu
mainly design
y different syste
d in LabVIEW
ms are fram
making it far
m 100s of line
of address to
creation of sub
h a simple
igning let us ta
d system.
Y, 2012, Puduche
shown in the
temperature is
. The input va
te. The signals
value is less
e LED gets swi
eater than pale
s true Danger
ange value, a
d danger limit
gram, the outp
Program
arison symbol
mplete system.
looks appealin
program wi
emperature co
PIR sensors
to be develop
will go pages
ild.
ned for com
ems are to run
W using the Mu
med separately
more easier
es of coding.
o variables,
b routines, and
block diag
ake the exampl
rry
fig 1
taken
alue is
s only
than
itched
ette is
r LED
range
t. The
put is
s and
Even
ng.
ll be
ontrol,
s, IR
ped to
on to
mplex
, each
ultiple
y are
than
jump
so on
grams
le of a
Advantages of LabVIEW over Embedded Systemin Home Automations