Professional Documents
Culture Documents
B. G. Stewart
Glasgow Caledonian
University, Glasgow, UK
b.stewart@gcal.ac.uk
I.
INTRODUCTION
A. Kocian1
University of Rome "Tor
Vergata", Rome, Italy
kocian@ieee.org
S. G. McMeekin
Glasgow Caledonian
University, Glasgow, UK
scott.mcmeekin@gcal.ac.uk
PERFORMANCE EVALUATION
B. Simulation Scenarios
To evaluate the performance of OPNET in simulating
ZigBee WSNs, the three common topologies of WSNs
will be investigated, namely: star, mesh and tree
topologies. In star topology, nodes are connected to a
single hub node. The hub coordinator requires greater
message handling, routing, and decision-making
capabilities than the other nodes or end devices. If a
communication link is cut, it only affects one node.
However, if the coordinator fails the network is destroyed.
In mesh topology nodes are regularly distributed to allow
transmission only to a nodes nearest neighbours. The
nodes in these networks are generally identical, so that
mesh nets are also referred to as peer-to-peer nets. Mesh
nets can be good models for large-scale networks of
wireless sensors that are distributed over a geographic
region. An advantage of mesh topologies is that, while all
nodes are possibly identical and have the same computing
and transmission capabilities, certain nodes can be
designated as coordinators that take on additional
functions. If a coordinator fails, another node can then
take over these duties. In tree topology the coordinator
node is connected to one or more other nodes that are one
level lower in the hierarchy with a point-to-point link
between each of the end nodes and the coordinator node.
Also each of the end nodes that are connected to the
coordinator node will have one or more other nodes that
are one level lower in the hierarchy connected to it with a
point-to-point. The initial star topology scenario
considered here consists of 8 ZigBee end devices (reduced
function devices) and 1 coordinator (full function devices)
as shown in Fig. 1. The initial mesh and tree topology
scenarios considered consist of 8 ZigBee end devices, 6
ZigBee routers and 1 coordinator as shown in Fig. 2. The
selection of the number of ZigBee routers in the tree and
mesh topologies is made to ensure that each topology can
handle the increase in the number of end devices in the
simulation scenarios that follow without rapid increase in
the delay. The mesh and the tree routing scenarios
normally use the ad-hoc on-demand distance vector
(AODV) routing protocol. All the three topologies will be
simulated with and without the use of Request-to-Send/
Clear-to-Send (RTS/CTS) handshaking to study the effect
of handshaking on the delay and other QoS parameters. In
sensor networks hundreds to several thousands of nodes
could be deployed throughout the sensor field. Therefore
consideration of the number of nodes was included in the
simulation evaluation process. Simulation was performed
for scenarios of 8 nodes up to scenarios of 200 nodes in
the three selected WSNs topologies.
250
10
III.
A. End-to-End Delay
The end-to-end delay (ETE) is defined as the end-toend delay of all the packets received by the 802.15.4
MACs of all WPAN nodes in the network and forwarded
to the higher layer. As the number of nodes in the WANs
increase the delay obviously will increase. A simulation of
ETE delay of the three topologies with increasing number
of nodes was undertaken. Fig. 3 shows the simulation
results of the average ETE delay for the mesh, tree and
star topologies as a function of the number of nodes.
In this simulation scenario the RTS/CTS handshake is
enabled. It is seen that the difference in delays between
the mesh and the tree topology is small even when the
number of nodes increase. However, there are slightly
0.05
5
3
4
0.1
250
-85
2.4
0.05
Packet size/type
1024
(bits/constant)
B. Number of Hops
Fig. 5 shows the average number of hops taken by
application traffic sent by a particular node for different
numbers of sensor nodes for the three test scenarios. For
mesh and tree topologies, the minimum hop number is
around two. However for the star topology the number of
hops remains at 2 as the number of nodes increase. The
tree topology obviously exhibits a higher number of hops
than the other two topologies. This is due to the longer
route taken for the data from source to destination. There
are no alternative routes in this topology hence the path is
longer. In mesh topology the number of hops is lower than
the tree topology because there is always an alternative
route to reach the destination and this route is based on the
shortest path to destination. The maximum number of
hops in tree topology is expected to reach as high as 7
hops at 100 nodes but since the average number of hops is
considered it shows a maximum of 4. In star topology the
hop count is maintained at 2 and this number is the
average over the entire simulation run. It is obvious that as
node number increases the average hops will increase.
However, it is seen that when there are more than 100
sensor nodes, the hop number decreases. It appears that
the network is performing better as the number of nodes
increase. In fact, this takes place since higher data
collisions occur in crowded networks thus only some data
packets possess a probability of delivery to allow them to
reach the destination and hence only few nodes can send
data to the receiver successfully. Again the general trends
of these results agree with the results obtained in [2].
C. Global MAC Throughput
Global MAC throughput is the total data traffic in
bits/sec successfully received and forwarded to the higher
layer by the 802.15.4 MAC in all the nodes of the WSN. It
is known that throughput usually depends on many
aspects of networks such as power control, scheduling
strategies, routing schemes and network topology [8]. Fig.
6 shows the average global MAC throughput against the
number of nodes for all 3 simulation topologies. It can
clearly be seen that when the number of nodes increases
the MAC throughput increases. This is correct because the
data being received by the MAC layer increases.
Figure 3 Simulation of the average ETE delay for the mesh, star and
tree topologies.
IV.
C. Energy Model
Unlike NS-2 and other WSN simulation tools the
OPNET model for ZigBee networks does not support
energy models or the simulation of any energy related
aspects of WSNs [2]. Evaluating and simulating energy
resources sometimes is an essential factor for estimating
the life-time of a sensor node since the full operation of
the wireless node depends on internal battery power. The
simulation results presented here generally discuss the
QoS parameters with varying number of nodes. However
the WSN throughput will have an effect energy consumed
in the entire network. This evaluation could not be done
with OPNET Modeler due to the non availability of
energy model. The new energy model can be introduced
at the OPNET ZigBee process level at the MAC layer by
including a new kernel procedure for energy which
evaluates the energy consumed when the node is
accessing the channel and when it is in idle state. In so
doing the operator will then have a clear understanding of
node life-time under certain operating conditions and how
the QoS parameters are affected by the available energy
resources.
D. Contention Free Operation Mode
The OPNET model for ZigBee networks does not
support contention-free operation and slotted operation
mode. Generally, schedule-based protocols are
contention-free and hence energy waste caused by
collisions is eliminated. In addition to that, sensor nodes
require turning their RF transmitters and receivers on
during slots where data is to be transmitted or received
(i.e. carrier sensing). The sensor node can turn off its
transmitter and receiver in all other slots, thereby avoiding
overhearing. This results in low-duty-cycle node
operations, which may significantly extend the network
lifetime. Schedule-based MAC protocols have several
disadvantages [10] such as missing a reporting event
while the node is a sleep or the incorporated delays that
occur between the wakeup and sleep times. The effect of
contention free mode of operation on the QoS
parameters was not included here. The contention free
mode of operation can be included by adding a new
function at the MAC layer process model of OPNET
ZigBee model which allows the selection between the two
modes of operation.
V.
CONCLUSION
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]