Академический Документы
Профессиональный Документы
Культура Документы
A novel fault Detection and Recovery mechanism for Zigbee Sensor Networks
Jian Wan, Jianrong Wu, Xianghua Xu
Grid and Services Computing Lab, S. of Computer Science, Hangzhou Dianzi
University, Hangzhou, China
E-mail: wanjian@hdu.edu.cn, wujianlong111@163.com, xianghuaxu@yahoo.com.cn
essential to guarantee sensor network reliability and
connectivity after one or more nodes are loss in
connection with the network [2] [3].
ZigBee [4] is a wireless standard based on IEEE
802.15.4[5] that was developed to address the unique
needs of most remote monitoring and control and
sensor network applications, and enable broad-based
deployment of wireless networks with low cost, low
power, low data-rate solutions. ZigBee standard has a
self-repair ability which specifies how a disconnected
node attempts to find a new parent and re-join the
network.
This paper proposes an efficient fault recovery
mechanism based on ZigBee Specification, supposing
a node is termed as failing when its energy level
drops below the threshold value. The main
contributions of this paper are:
i) We design three types of failure mechanisms
depending on the type of node in the tree
network of ZigBee.
ii) We design a energy efficient methods for fault
recovery in ZigBee network.
iii) We show the performance of failure mechanisms
for the increase of total number of nodes in
ZigBee network.
Abstract
Wireless Sensor networks (WSN) are prone to
cause failures due to the constraining factors of
energy, memory and communication capability. This
paper describes an efficient faulty detection and
recovery mechanism for ZigBee network which is an
industrial standard widely adopted for WSN. We
propose a localized tree based method for detecting
faults due to energy exhaustion of nodes and repair
them after node failure. We design three types of
failure mechanisms depending on the type of node in
the tree network of ZigBee. In order to avoid much
more exchange message and reduce the collision of
re-joining network, we take an elected new parent
strategy from the disconnected children, and make
the disconnected node re-join network together with
as many descendant nodes as possible. Simulation
results show that our proposed method consumes less
energy than the original ZigBee network, and prolong
the lifetime of network efficiently.
1 Introduction
Wireless sensor networks (WSN) is composed of a
large number of low-cost, low-powered and selforganizing sensor devices, called sensor nodes, which
can be deployed on the ground, in the air, under water,
on bodies, in vehicles, and inside buildings. The
monitoring area may be inaccessible terrains or harsh
environment. On the other hand, sensor network
should possess cooperative and self-heal capabilities.
There is a wide range of application of sensor
networks. For example, environment monitoring,
home automation, military sensing, patient
monitoring, building monitoring and so on [1].
Some sensor nodes may fail due to various reasons
such as energy depletion, environmental interference,
or malicious attacks. This often results in a nonuniform network topology and some nodes will lose
contact with the rest of the network. Therefore, the
sensor nodes should have a robust and reliable feature
to detect faulty nodes and take appropriate measures
to recovery from the failure status. This ability is
2 Related Work
In this section, we summarize the related works in
the area of fault detection and recovery in wireless
sensor networks. In [6], M. Ding, D. Chen, K. Xing
and X. Chen present one localized algorithm for
faulty sensor identification and one localized
algorithm for fault-tolerant event boundary detection.
Both faulty sensors and sensors in an event region
270
3 Motivation
In ZigBee network, there are three types of nodes,
namely coordinator, routers and end devices. A
coordinator starts a network and allows other nodes to
join it. Routers scan to find a network to join and
allow other nodes to join it. End devices cant route
messages, dont have the capability of allowing other
nodes to join it, and poll parent to get messages.
When a parent is accepting a node as its child it
assigns a 16-bit network address to the child node.
Network addresses are assigned using a distributed
addressing scheme that is designed to provide every
potential parent with a finite sub-block of network
addresses. These addresses are unique within a
particular network and are given by a parent to its
children. Besides, each ZigBee node has a globally
unique 64-bit identifier called IEEE address.
After forming a network, the coordinator
determines the maximum number of children (Cm) of
a ZigBee router, the maximum number of child
routers (Rm) of a parent node, and the depth of the
network (Lm). We may compute the function, ,
essentially the size of the address sub-block being
distributed by each parent at that depth to its routercapable child nodes for a given network depth(d), as
follows:
if Rm =1
1+ Cm (Lm d 1),
Lm
1
Cskip(d) = 1+ Cm Rm Cm Rm
(1)
, otherwise
1 Rm
(3)
271
4 Proposed algorithms
4.1 Tree formation
This paper deals with the fault detection and
recovery based on a tree topology of ZigBee network.
The nodes in the network are classified into four
types, leaf node, pre-leaf node, internal node and the
root node. The descriptions of each node are
explained in table 1 and illustrated in figure 2.
Table 1.
Type of Node
Description
Root Node
Pre-leaf Node
Coordinator
Own at least one pre-leaf
node or internal node as child
Its children are all leaf nodes
Leaf Node
No child nodes
Internal Node
272
2)
5 Performance evaluation
We evaluate the performance improvement of our
mechanism by comparing the built-in self-healing
process of ZigBee. We use Visual C++ as the tool. In
each of our experiments, we study five different
sensor fields, ranging from 100 to 500 nodes in
increments of 100 nodes, all these nodes are
randomly deployed in a region of size 400m400m.
And set the transmission range as 50 meters. We set
the network parameters (Cm, Rm, Lm) as three
schemes(6, 5, 4), (4, 4, 5), (4, 3, 6). Based on
equation (1), we can conclude the maximum nodes
number (Nm) is given by the following equation:
if Rm = 1
Cm Lm + 1,
Nm = 1 Cm RmLm + Cm Rm
, otherwise
1 Rm
(4)
273
6 Conclusion
In this paper, we have proposed an efficient fault
recovery mechanism about disconnected nodes how
to re-join the network will result in less exchange
messages, which is based on ZigBee Specification,
supposing a node is termed as failing when its energy
level drops below the threshold value. We design
three types of failure mechanisms depending on the
type of node in the tree network of ZigBee. And we
take a elected strategy from some disconnected
healthy children, to reduce the collision of re-joining
process. As the performance evaluation shows, the
proposed mechanism can reduce certain precious
energy, and it will extend the life of the network.
In a future work, we plan to design a more
complex fault detection mechanism, and we will
combine a new cluster mechanism into the ZigBee
network.
References
[1]
274