You are on page 1of 6

Performance Analysis of ZigBee based Load

Control and Power Monitoring System


Deepak Karia§, Jaypal Baviskar*, Raj Makwana† and Niraj Panchal‡
Department of Electronics and Telecommunication
Sardar Patel Institute of Technology, Mumbai 400058, India
§ † ‡
deepakckaria@gmail.com, *jay.22kar@gmail.com, rajmak88@gmail.com, nirajp101@gmail.com

Abstract—The use of wireless technology in home and industrial remote end consists of RF device interfaced with a micro-
automation systems is on the rise due to several advantages such as controller for controlling the loads via relays. The load
cost reduction, easy placement and installation, easy extension, considered for our model can have their electrical ratings upto
comfort benefits, and mobile device connectivity. This paper 230V (AC)/5A single phase. It can be resistive load such as
provides a comparative study of different wireless protocols such as
incandescent bulb (residential), load bank or any electric heating
ZigBee (over IEEE 802.15.4) and Bluetooth (over IEEE 802.15.1)
for the selection of appropriate technology for Load Control. It also load like Heater (Industrial). Even it can be an inductive load
describes a project model for remote controlling and monitoring of like various electric motors, transformers, etc. The power
various loads/appliances and a means of efficient power utilization consumption can be estimated by measuring the electrical
through real-time power level indicator with the help of a PC-based parameters i.e. voltage and current which will be processed and
GUI application. Further the analysis of various performance routed back to the RF device connected to the computer to
parameters such as Latency, Received Signal Strength Indicator provide real-time monitoring [2].
(RSSI) value, Round-Trip Delay time (RTD), Network coexistence This paper also describes the analysis of various performance
of the ZigBee technology are evaluated for the implemented system. parameters of ZigBee such as Latency, Received Signal Strength
Indicator (RSSI) value, Round trip delay (RTD) time in
Keywords- Automation, Wireless Technologies, Latency, RSSI, RTD,
particular, related to our proposed model also the Network
Network coexistence, ZigBee, Power Monitoring.
coexistence and Robustness are discussed in general.
This paper is organized as follows. Section II provides the
I. INTRODUCTION
comparative study of different wireless technologies. Further
In the past few decades, various wireless technologies have details regarding the ZigBee protocol and network topologies are
been revolutionized in terms of data rate, coverage area, power discussed in Section III. Section IV describes our implemented
consumption, scalability, capacity etc. The implementation of system, Section V deals with the analysis of various performance
any particular wireless technology depends on the above parameters and the final Section VI presents the conclusion of
mentioned metrics. In order to evaluate the system efficiency, its our paper.
performance parameters like latency, Received Signal Strength
Indicator (RSSI) value, Round trip delay (RTD) time and such II. COMPARATIVE STUDY
other parameter needs to be analyzed carefully. Regarding the
different wireless technologies, in [1], Jin-Shyan Lee et al. have Table I below summarizes [3], [4] the key differences between
given a detailed comparative study of different short-range the three short-range wireless technologies. As shown below,
wireless protocols viz. Bluetooth (defined by standard IEEE Wi-Fi provides higher data rates for multimedia access as
802.15.1), UWB (defined by standard IEEE 802.15.3), ZigBee compared to both ZigBee and Bluetooth which provides lower
(defined by standard IEEE 802.15.4) and Wi-Fi (defined by data transfer rates. ZigBee and Bluetooth are intended for
standard IEEE 802.11a/b/g). Their behavior and main features in WPAN communication (about 10m), while Wi-Fi is designed for
terms of various attributes, including network topology, capacity, WLAN (about 100m). Although, certain ZigBee chipsets can
quality of service support, security, and power consumption are reach a range of upto 100m.
considered for the comparison. Also, Table II below provides the comparison of the electrical
Being an automation, control and monitoring system our parameters for the different chipsets of BlueCore2 [3] from
proposed model is implemented with ZigBee protocol. It consists Cambridge Silicon Radio (CSR), XB24-B [4] from Digi
of two modules i.e. one Transmitter and one or more Receiver International Inc. and CX53111 [5] from Conexant (previous
modules. The transmitter module which is interfaced to the Intersils Prism), while Fig. 1 indicates power consumption in
controlling computer via serial connector consists of a Radio mW unit for each protocol.
Frequency (RF) device. The receiver modules placed at the

978-1-4673-6217-7/13/$31.00 2013
c IEEE 1479

Authorized licensed use limited to: Cisco. Downloaded on June 28,2020 at 07:05:09 UTC from IEEE Xplore. Restrictions apply.
TABLE I III. ZIGBEE PROTOCOL
COMPARISON OF THE BLUETOOTH, ZIGBEE, AND WI-FI
PROTOCOLS ZigBee is designed as a low rate (LR) wireless personal access
network (WPAN) to serve a wide range of applications in the
Standard Bluetooth ZigBee Wi-Fi industrial, residential and medical field. It requires low power
Application Focus Cable Monitoring and Web, Email, consumption, low cost and relaxed needs for data rate and
Replacement Control Video
Quality of Service (QoS). Various applications including home
Frequency Band 2.4 GHz 868/915 MHz; 2.4 GHz; 5 security systems, tele- metering, building automation networks,
2.4 GHz GHz
remote patient monitoring, industrial control networks and
Max Signal Rate 1 Mb/s 250 Kb/s 54 Mb/s several other can be benefited from the ZigBee protocol.
Nominal Range 10 m 10 - 100 m 100 m
Channel 1 MHz 0.3/0.6 MHz; 2 22 MHz A. ZigBee Protocol stack
Bandwidth MHz
Data protection 16-bit CRC 16-bit CRC 32-bit CRC In order to provide an efficient and standard based wireless
Max number of 8 more than 32 transfer of data ZigBee makes use of the IEEE 802.15.4 defined
cell nodes 65000 PHY and MAC layers (Refer Fig. 2). The ZigBee Alliance
specifies the Logical Network, Security and Application
TABLE II Software to complete the communication suite. Further the
ELECTRICAL PARAMETERS OF CHIPSETS FOR EACH PROTOCOL
interoperability and intercompatibility between similar products
Standard Bluetooth ZigBee Wi-Fi from different manufacturers are provided by ZigBee profiles
Chipset BlueCore2 XB24-B CX5311 defined in application layer [8].
VDD (volt) 1.8 3.3 3.3
TX (mA) 57 40 219
RX (mA) 47 40 215
Nominal TX power 0 to 10 -25 to 0 15 to 20
(dBm)
Battery Life (days) 1-7 100 - 1000 0.5 – 5

Since our proposed model is mainly concerned with the


controlling and monitoring purpose, the data rates provided by
Bluetooth and ZigBee are suitable for our application, whereas
Wi-Fi is basically designed for multimedia access. Also the
power consumption of Bluetooth and ZigBee is much less than
Wi-Fi. Along with low power consumption and the possibility to
increase the range of deployment, the network scalability offered
by ZigBee is large as compared to Bluetooth [6], [7]. The
comparison of above parameters leads us to select ZigBee as the
wireless interface technology for our proposed system.
Fig. 2. ZigBee Protocol Stack

The IEEE 802.15.4 operates over three frequency bands for


communications. ZigBee uses a Direct Sequence Spread
Spectrum (DSSS) radio signal in the 868 MHz band (Europe-
providing data rate of 20 kbps), 915 MHz band (North America-
providing date rate of 40 kbps) and the 2.4 GHz ISM band
(available worldwide with date rate of 250 kbps). The 2.4 GHz
ISM band is divided into sixteen channels having a channel
width of 3 MHz and centered 5 MHz from each other, giving a
2-MHz gap between pairs of channels. It uses the Offset
Quadrature Phase Shift Keying (OQPSK) modulation technique
with chip rate of 2000 kcps and 16-ary orthogonal symbols with
Fig. 1. Comparison of the power consumption for each protocol. a symbol rate of 62.5 ksps [9]

1480 2013 International Conference on Advances in Computing, Communications and Informatics (ICACCI)

Authorized licensed use limited to: Cisco. Downloaded on June 28,2020 at 07:05:09 UTC from IEEE Xplore. Restrictions apply.
B. Network Topology for ZigBee Our designed system using ZigBee protocol is divided into
The network layer of ZigBee supports star, tree and mesh three parts viz. User End System (UES), Load End System
topologies. The ZigBee Alliance’s core specification defines (LES) and Power Measurement Unit (PMU). Fig. 4 below shows
ZigBee as an innovative, self-configuring, self-healing system of the block diagram of our designed system.
redundant, and a very low-power nodes [10]. For mesh networks,
communication takes place between each two adjacent wireless A. User End System (UES)
nodes as shown in Fig. 3 below. If any one of the node fails, the UES mainly consists of two parts: PC and ZigBee
information is automatically rerouted to allow devices to go on transreceiver interfaced with PC via UART (Universal
communicating without the failure of communication. Nodes Asynchronous Receiver/Transmitter) port. Module of XBee
using ZigBee protocol stack can communicate with each other Series2 of Digi Inc. [4] is used as a part of ZigBee stack. The
through building floors and can even walk through walls because XBee radios are programmed using X-CTU software in
of their rerouting capability, thereby making it suitable to be Application Programming Interface (API) mode with the desired
employed in office premises, campuses or factory units. baud rate [11]. Unlike the Transparent mode (AT mode), the API
mode unleashes the full power of the XBees and allows to
construct a real wireless network consisting of two or more
devices in the network. The module connected to PC is
configured as ZigBee Coordinator API. A Java based GUI
application is developed on PC which enables the user to control
the load remotely. Fig. 5 and Fig. 6 below show the GUI
windows. This application carries out operations such as
switching ON/OFF the load and indicating their status. It also
receives data from PMU through LES transreceiver and plots the
real-time power consumption graph.

Fig. 3. Network Topology for ZigBee

The star topology being the most common network


configuration is useful when endpoints are closely clustered and
communicate with a single router node. This helps in reduction
of the battery consumption at client nodes. Similarly the tree
topology brings together several star networks with the data and
control messages being transferred using hierarchical routing
strategy.
Fig. 5. GUI for Appliance Control.

IV. SYSTEM DESIGN

Fig. 6. GUI for Power Monitoring.

B. Load End System (LES)


Both UES and LES are wirelessly linked by ZigBee with
STAR topology. At LES, the ZigBee transceiver module is
interfaced with the Controller Board and is configured as ZigBee
Router API. Arduino controller board with ATmega328
Fig. 4. Block diagram of proposed system microcontroller serves as MCU which is used to drive the relay

2013 International Conference on Advances in Computing, Communications and Informatics (ICACCI) 1481

Authorized licensed use limited to: Cisco. Downloaded on June 28,2020 at 07:05:09 UTC from IEEE Xplore. Restrictions apply.
or contactor to turn the load ON/OFF. The purpose of using consists of Current sensor IC WCS 2705 and LM358 which is
Arduino board is because it is an open-source electronics used for amplifier and Precision rectifier circuit with DC power
prototyping platform based on flexible, easy-to-use hardware and module. WCS 2705 is current sensor IC with the sensitivity of
software [12]. Also the microcontroller on the board (Atmel 255mV/A [13]. It has the capability of sensing both AC as well
ATmega328) can be programmed using the Arduino as DC current. Here it is used to convert the desired load current
programming language which is similar to the C programming into corresponding equivalent output voltage which is further
language. The LES transceiver Module receives the control read by the MCU and transmitted back to UES for power
commands from the UES in the form of packages and forwards plotting.
those to the controller board. The controller manages the
different relays and the XBee radio reads its status and transmits V. RESULT ANALYSIS OF THE SYSTEM
it back to the UES. After the development of the ZigBee based wireless load
The relay card mainly consists of relays and the relay driving control system, the performance analysis of ZigBee protocol for
circuitry. Relays are used to provide isolation between a control the above system was carried out and various performance
circuit and load. In our project, the relay card is developed for indicators of system such as Latency involved in operation, RSSI
controlling four different loads. Fig. 7 shows the actual relay value, Round trip time and Robustness were analysed.
card with Load no. 3 and 4 turned ON and its status reflected
back on the GUI. A. Latency
It is defined as the average time taken by a message sent from
a source node to be correctly received by a sink node. Network
latency involves two types of latencies i.e. c-plane and u-plane
latency. Information regarding it is provided in the 3GPP
Literature [14].The u-plane latency is defined as the time
required for packet transmission from IP layer of the sender to
the IP layer of the receiver. It is also known as transport delay.
The c-plane latency is regarding the availability of first packet at
receiver reference point and it can be defined as the time taken
by the first packet to successfully reach at the receiver reference
point.
Fig. 7. Relay Board with Appliance 3 and 4 turned ON. In a ZigBee based wireless system, it is the time required for
C. Power Measurement Unit (PMU) an end device to receive the transmitted packet from a ZigBee
Co-ordinator or vice versa. Typically for ZigBee protocol, the
The PMU design configuration using the current sensor and latency involved is approximately 16 to 32 msec. The result
Operational Amplifier circuitry to measure power in single-phase obtained for our system is depicted below in Fig 9.
is illustrated in Fig. 8. The op-amp is used to amplify the IC
output into significant value and precision rectifier to rectify the
negative cycle of wave so that it will not damage the MCU.

Fig. 9. Measurement of latency between a sent and received packet.


Fig. 8. Block Diagram of PMU circuit design using WCS2705
While performing the analysis, a 32 byte packet is transmitted
Output of the op-amp is provided at the analog pin of MCU between the two sensor nodes viz. ZigBee Coordinator (ZC) and
which reads the electrical parameters and processes it further in the ZigBee End Device (ZE) which are separated by distance of
order to calculate the power and then forward it to the UES to 5 meter (non line of sight). The Latency measured comes around
plot the power consumption graph in real time. The PMU to be approximately 58msec.

1482 2013 International Conference on Advances in Computing, Communications and Informatics (ICACCI)

Authorized licensed use limited to: Cisco. Downloaded on June 28,2020 at 07:05:09 UTC from IEEE Xplore. Restrictions apply.
Coordinator (ZC) and ZigBee End devise (ZE), there exists one
B. Received Signal Strength Indicator (RSSI) RTD path which is RTD -1=ZC-ZE-ZC.
For communications, IEEE 802.15.4 radios provide
application with information about the incoming signal. The
RSSI value is the significant parameter while analyzing the
effect of distance on received signal strength. As the distance
increases the characteristics of Received Signal Strength (RSS)
[15] will decrease. The equation for RSSI is as follows:
Fig. 11. WSN consisting two sensor nodes with one path for RTD
RSSI = í (10nlog10 d + X) (1)
where, The RTD time for RTD-1 path in above network is calculated by
n = signal propagation constant, also named propagation using following equation
exponent. RTD-1 = t1 + t2 (2)
d = distance from sender. where, t1 is the delay time between the ZC and ZE respectively
X = received signal strength at a distance of one meter. and t2 is the delay time between the ZE and ZC respectively.
From equation 1, when d=1meter, X= - (RSSI). For XBee S2 Similarly RTD time for the RTD path which is containing (N-1)
radio, RSSI value at 1 meter is -52 dBm. With these sensor nodes can be calculated with the following general
considerations the graph is plotted which obeys the above equation :
equation and same is compared with the practical RSSI values. RTD-(n-1) = t1 + t2 +………..+ t(n-2)+ t (n-1) (3)
The RSSI can be directly read on X-CTU software from XBee From Fig. 12, the observed value of RTD for our two node
S2 modules which are configured as ZC and ZE in our proposed system is 170 msec.
model. The received signal strength is measured inside the
institute premises at different distances and the results for the
indoor experiment are shown in Fig. 10 below:

Fig. 12. Measurement of RTD on DSO.

D. Robustness
Fig. 10. Experimental and theoretical values of RSSI plotted in MATLAB. Reliable packet transfer is a vital aspect while transmission, in
case of data packet failure due to adverse environments
C. Round trip Delay Time (RTD) conditions or interference from nearby radios, a transmitter will
Round-trip delay (RTD), also called as round-trip time (RTT), retransmit the packet to ensure successful delivery. It requires
it is defined as the time required for a signal or packet to travel additional power which in turn reduces the system efficiency.
from a particular source node via the path consisting other nodes Bluetooth uses the frequency hopping technique whereas ZigBee
and back again to source node. The round trip delay time can be implements a new technique which is known as ‘frequency
up to a few milliseconds under ideal conditions between nearby agility’ [17] and is included in the ZigBee PRO stack
spaced sensor nodes. But under adverse conditions when the specification. Frequency agility is the ultimate feature to mitigate
sensor nodes are separated by a large distance it can be extended interference and it is the ability to move a ZigBee network to
to several seconds [16]. Let us consider the wireless sensor another channel while operation is going on.
network having two nodes i.e. ZC and ZE, as shown in Fig. 11. Whenever there is a requirement of a new channel across the
As our system consists of two sensor nodes i.e. ZigBee network, scanning for a clear spectrum should be done by a
network node and communication regarding this should be

2013 International Conference on Advances in Computing, Communications and Informatics (ICACCI) 1483

Authorized licensed use limited to: Cisco. Downloaded on June 28,2020 at 07:05:09 UTC from IEEE Xplore. Restrictions apply.
established with the ZigBee coordinator. But still, the ACKNOWLEDGMENT
predetermined planning is required in order to avoid interference We are thankful to our institute Sardar Patel Institute of
from Wi-Fi as ZigBee gets easily blocked with a Wi-Fi access Technology, Mumbai, India for providing the facilities to carry
point, so networks must be planned to avoid placing the two out our research and project work.
technologies together. As Wi-Fi output power increases with
advances in technology, it will be increasingly difficult for a REFERENCES
ZigBee network to coexist. [1] J. S. Lee, Y. W. Su, and C. C. Shen, “A Comparative Study of Wireless
Protocols: Bluetooth, UWB, ZigBee, and Wi-Fi”, Proceedings of the 33rd
E. Network coexistence Annual Conference of the IEEE Industrial Electronics Society (IECON),
pp. 46-51, November 2007.
Coexistence can be defined as the ability of different [2] C. H. Lien, H. C. Chen, Y. W. Bai, and M. B. Linl, “Power Monitoring and
technologies to operate in the presence of other technology in the Control for Electric Home Appliances Based on Power Line
same working environment. Emerging ubiquitous wireless Communication”, Proceedings of IEEE International Instrumentation and
environments such as Wi-Fi, ZigBee have been gaining Measurement Technology Conference, pp. 2179-2184, May 2008.
[3] “BlueCore2-External Product Data Sheet”, Cambridge Silicon Radio,
popularity due to its various features. Interference between these Cambridge, UK, August 2006.
networks or technologies increases as more and more standards [4] “XBee Series 2 OEM RF Modules Product Manual”, Digi International,
emerges which uses the same communication band. In K. Shuaib Inc., June 2007.
et al. [18] have provided the interference problems between [5] “Single-Chip WLAN Radio CX53111”, Conexant Newport Beach, CA,
2006.
these standards and research regarding the coexistence of [6] N. Baker, “ZigBee and Bluetooth: Strengths and weaknesses for industrial
ZigBee, Bluetooth and Wi-Fi is carried out. 2.4 GHz ISM band applications”, Proceedings of IEE Computing and Control Engineering,
is used by these three protocols. It was found that Wi-Fi has the vol. 16, no. 2, pp 20-25, April/May 2005.
significant effect on ZigBee throughput; it causes 10% reduction [7] R. V. Sakhare, B. T. Deshmukh, “Electric Power Management Using
ZigBee Wireless Sensor Network”, Proceedings of International Journal
in throughput of ZigBee. But ZigBee interference has an of Advances in Engineering and Technology (IJAET), vol. 4, Issue 1, pp.
insignificant effect on Wi-Fi throughput. When the experiment 492-500, July 2012.
was repeated using Wi-Fi and Bluetooth, significant reduction in [8] J. S. Lee and Y. C. Huang, “ITRI ZBnode: A ZigBee/IEEE 802.15.4
the throughputs of both the protocols was observed. Hence it can Platform for Wireless Sensor Networks”, Proceedings of IEEE
International Conference on Systems, Man, and Cybernetics, Taipei,
be concluded that the use of the unlicensed band of wireless Taiwan, vol. 2, pp. 1462-1467, October 2006
spectrum i.e. 2.4 GHz ISM band by ZigBee causes interference [9] V. K. Garg, “Wireless Communication and Networking”, Morgan
problems. Even devices such as microwave ovens and cordless Kaufmann, 1st edition, pp 668, June 2007.
telephones can cause interference with ZigBee [19]. However, [10] “ZigBee-Setting Standards for Energy-Efficient Control Networks”, White
Paper by Schneider Electric Industries SAS, no. P40110601EN, June
ZigBee and Wi-Fi can exist together with less interference 2011.
problems than alternative technologies currently available. [11] “X-CTU Configuration and Test Utility Software User Guide”, Digi
International, Inc., August 2008.
VI. CONCLUSION [12] Information about Arduino, http://www.arduino.cc/
[13] “Hall Effect Base Linear Current Sensor WCS2705”,
The proliferation of wireless technology has resulted in WinsonSemiconductor Corporation, China, March 2013.
providing features such as mobility, low maintenance along with [14] 3GPP TR 25.912 V.9.0.0, “Feasibility study for evolved universal
terrestrial radio access (UTRA) and universal terrestrial radio access
more security and compact systems. Based on the comparison of
network (UTRAN)”, Rel. 9, Dec 2009.
different technical parameters between Bluetooth, ZigBee and [15] S. J. Halder, Joon-Goo Park and W. Kim, “Adaptive Filtering for Indoor
Wi-Fi, it is concluded that ZigBee is an efficient wireless Localization using ZIGBEE RSSI and LQI Measurement”, Adaptive
protocol in terms of power consumption, scalability and it also Filtering Applications, Dr Lino Garcia (Ed.), ISBN: 978-953-307-306-4,
2011.
provides a suitable data rate for controlling and monitoring
[16] A. D. Angelis, A. Moschitta, P. Hndel, P. Carbone, “Experimental Radio
purpose. This paper describes an embedded wireless system Indoor Positioning Systems Based on Round-Trip Time Measurement”,
build using the ZigBee technology for remote load controlling Advances in Measurement Systems, M. K. Sharma (Ed.), ISBN: 978-953-
and power monitoring. Through the GUI display of real time 307-061-2, April 2010, pp.196-219.
[17] G. Thonet, P. Allard-Jacquin, P. Colle “ZigBee – WiFi Coexistence”,
power consumption, the user can detect any variation in the
White paper and test report,. April 15, 2008.
power consumption of the rated load. As a result the user can [18] K. Shuaib, M. Boulmalf, F. Sallabi and A. Lakas, ”Co-existence of
check the load for any defect and repair/replace the load in order ZigBee and WLAN - a performance study”, IFIP International Conference
to conserve energy. Also the performance of the implemented on Wireless and Optical Communications Networks, pp. 5, 2006.
[19] Jennic, “Deployment guidelines for IEEE 802.15.4/ZigBee wireless
system is analyzed on the basis of evaluation of various
networks”, 37-38, 2007.
performance parameters of ZigBee technology such as latency,
Received Signal Strength Indicator (RSSI), Round Trip Delay
(RTD) time. The results obtained practically are demonstrated
and are compared with theoretical values.

1484 2013 International Conference on Advances in Computing, Communications and Informatics (ICACCI)

Authorized licensed use limited to: Cisco. Downloaded on June 28,2020 at 07:05:09 UTC from IEEE Xplore. Restrictions apply.

You might also like