Professional Documents
Culture Documents
RS-485/MODBUS Based Intelligent Building Automation System Using Labview
RS-485/MODBUS Based Intelligent Building Automation System Using Labview
net/publication/265166507
CITATIONS READS
4 489
2 authors, including:
Jignesh G. Bhatt
Dharmsinh Desai University
33 PUBLICATIONS 63 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Jignesh G. Bhatt on 31 August 2014.
II. BAS SUBSYSTEMS Similarly, the video subsystem includes video switching
and distribution on user demand, and the feature is often
The BAS needed be split into various subsystems according to referred to as 'multi-zone' video. Video door entry
the basic functionalities as below: system can be integrated with the TV screens, allowing
the user to view the entrant as seen by a door camera.
D. Communication Subsystem 7. Recording of alarms in MS Excel format and
An intercom system allows communication via a maintaining history of events / alarms.
microphone and speaker between multiple rooms. 8. Remote monitoring and control facility from any PC in
Following features can be added: the Intranet / Internet.
1. Remote Control: using Intranet / Internet / PDA
with wireless connectivity.
2. Alarm annunciation. C. BAS Hardware
3. Inter-person communications. The proposed BAS system is modular in nature and has a 3-
layer architecture[3]. Modules in each layer are described below:
This paper presents a design of BAS based on a wired-network
operating on RS-485/MODBUS protocol for a residential building. 1. Field Level Modules (Layer-1)
These are also known as device level modules and consist of
For automation, MODBUS protocol is used for data sensors, actuators and controllers. Such field devices are
communication. Although not formally standardized, it is regarded ordinary ones, which are inexpensive, easy to interface and
as an open protocol[1][2]. The physical layer of communication readily available from a large number of vendors. They function
system is an RS-485 two-wire network, chosen for its simplicity, directly in the physical environment and are deployed for data
low cost and adequate data bandwidth. At the management level, acquisition and control of the environment.
the high-bandwidth Ethernet technology is used. Remote operation Examples of such Field Level Modules are the smoke sensors,
of the BAS is provided by the TCP/IP-based Intranet/Internet. glass break detectors, PIR sensors, door-window sensors, LPG
detectors, etc. Digital I/O Modules are also included here that
The next section presents a detailed design of a BAS for a perform the function of data acquisition from sensors.
residential building, including the design objectives, BAS
functions and the hardware and software of the system. The design 2. Interconnecting Modules (Layer-2)
has been validated by implementing most of the functionalities and Also known as interfacing modules, they link various networks
all the network technologies selected for the BAS in laboratory, and/or network segments together for meaningful application
and its results are reported here. The paper ends with concluding development. These modules enable various BAS modules to
notes and showing future scope of work in form of suggestions for interact either with the same protocol or by conversion of
value addition to the proposed work. protocol. They are also used to provide network range extension,
isolation and interfacing at various levels of ISO/OSI Model.
III. DESIGN OF BAS For example an RS485/RS232 convertor used in the proposed
BAS is an Interconnecting Module.
A. Design Objectives
3. Management and Configuration Modules (Layer-3)
Following are the design objectives of the proposed BAS for
residential buildings: The main purpose of these modules is to configure and manage
1. Energy conservation by switching off lights when not various functionalities of BAS. They can be accessed locally or
remotely. Such modules are deployed for monitoring,
required.
controlling, logging and archiving the processed data values.
2. Security of residents from intruders.
They function at the backbone level and provide GUI for
3. Safety against fire and gas leakage.
monitoring and control using the data collected from the both
4. Remote operation (control) of any electric appliance from a
types of modules described earlier. These modules also generate
central location within the building as well as from outside
the building. audio-visual alarm annunciation with some other useful features
5. Connectivity to the Internet to meet information, e-services for user comfort.
and communication needs of the residents.
RS-485 network is implemented to construct the physical layer,
6. Access to a central digital entertainment library.
while MODBUS is chosen to implement the application layer for
7. Simple and user-friendly Human Machine Interface (HMI).
the laboratory implementation of the BAS. GUI of this system has
8. Low cost of the solution.
been prepared using LabVIEW software, and is very user-friendly.
9. Simplicity, future expandability and interoperability.
The BAS is divided into three layers as indicated in Fig. 1,
B. BAS Functions which shows only one residence with a room, a corridor, a water
tank and a lawn with main entrance monitored and controlled from
The system has been designed to perform the functions
the control room. The central servers for OPC, Camera, GUI and
mentioned below:
Entertainment as well as remote workstation, that are at the top
1. Reporting alarms and status of different areas under
coverage in the GUI. (Layer-3) forming the configuration or management modules, are
2. Alarm reporting by audio-visual annunciation. connected to the ethernet backbone and to the Internet. A PC based
3. Provides control of various devices via GUI. main controller and IP camera are at the middle layer (Layer-2).
4. Live video of view (with audio) captured by IP camera The main controller has features like TCP/IP support, Integrated
and its live streaming as well as recording facility. OPC server and multiple communication ports. An RS-485 to RS-
232 Convertor Module is also at the same layer (Layer-2) as an
5. Entertainment panel provides continuous broadcast of
interfacing module. This module performs dual functions of
live radio via GUI.
6. Entertainment panel provides unique video-on-demand protocol conversion and isolation. Various sensors and digital I/O
facility via GUI. modules forms the third and last layer (Layer-1). This layer also
consists of digital input and output (I/O) modules connected on an digital I/O modules perform data acquisition from sensors and
RS-485 network in multi-drop configuration and further to the avails control outputs of main controller to actuators.
main controller via RS-485 to RS-232 Convertor Module. These
At the top layer (Layer-3), PCs acting as local OPC clients are
connected on an Ethernet LAN and that are acting as remote VI. CONCLUSION
workstations are connected using internet. At the middle layer The design implemented in laboratory employs high speed
(Layer-2), the BAS consists of a PC acting as the main Ethernet at layer-3 for establishing connection between servers
controller, OPC server and OPC client, and an IP camera and clients. Data acquisition and control in layer-1 use RS-485
connected to LAN. Data acquisition and control modules are and MODBUS protocols, which are industry standard. In this
connected on RS-485 network in half duplex mode. At the layer, application is implemented using LabVIEW GUIs. For
device level, a smoke sensor, motion detector, glass break BAS software, OPC is selected because of interoperability,
detector, door-window sensors, ambient light detector, vendor independence and other merits.
occupancy sensor, water level sensor and LEDs are connected. The BAS scheme presented here is based entirely on wired
Remote control and event notification facilities have been also network. Rewiring of existing buildings may be difficult and
implemented. costly, and hence in such cases power line and wireless
OPC server is configured in NAPOPC[6] software supplied networks can be more suitable. In fact, a mixed-network
by ICPCON configured for data exchange, while GUI based protocol at the device level could be the best solution.
OPC client has been developed on LabVIEW[7] (Graphical
Programming Environment from National Instruments) as VII. FUTURE SCOPE
shown in Figs. 3 and 4, developed for serving control and
In modern contexts, BAS is a rapidly growing phenomenon.
entertainment purposes respectively.
Emerging wired/wireless communication technologies are
V. RESULTS expected to transform the present partially networked houses
into Smart, Intelligent and Adaptive Homes. Higher and higher
penetration of automation will lead to increased device
intelligence and they would be performing their routine tasks in
vivid situations autonomously and without much human
intervention. Such smart homes will provide high level of
energy optimization, security, communication and entertainment
facilities.
Enhancement of each and every facet is important for rapid
growth and wide acceptance of BAS. Focus should be on
making BAS more and more user-friendly and a part of
residents’ routine life. Therefore, serious efforts should be made
to make BAS rugged, reliable and cost-effective as well as user-
friendly.
This work can be further extended by
1. connecting GSM Modem– to enable sending of SMS
alerts in case of alarm/event.
2. adding more and more functionalities to the GUI to
make it more attractive and user-friendly.
Figure 3. Front panel of LabVIEW GUI.
3. trying to build similar GUI for commercially available
Wireless Sensor Network Motes.
4. trying to build similar GUI for commercially available
power line based automation devices and home
appliances.
5. for adding more and more security, communication Proceedings 6th IEEE International Workshop on Factory
and entertainment features. Communication Systems, Torino, Italy, 2006, June 28-30, pp. 99-
102.
REFERENCES [4] OPC Overview [Online] Available: http://www.opcfoundation.org
[5] Randy Kondor, “Integrating OPC into Building Automation”
[1] MODBUS Specifications and Implementation Guidelines [Online] [Online] Available: http://www.automatedbuildings.com/news/
Available: http://www.modbus.org dec03/articles/matrikon/matri.htm
[2] W. Kastner, G. Neugschwandtner, S. Soucek, and H. M. Newman, [6] User’s Manual, “NAPOPC DA Server” [Online] Available:
“Communication Systems for Building Automation and Control”, http://www.icpdas.com/products/Software/NAPOPC/napopc.htm
Proceedings of IEEE, Vol. 93, Issue 6, June 2005, pp. 1178-1203. [7] Online Help and Technical Support Documentation [Online]
[3] W. Granzer, W. Kastner, G. Neugschwandtner, and F. Praus, “A Available: http://www.ni.com/support
Modular Architecture for Building Automation Systems”,