Top Banner
PERFORMANCE ANALYSIS OF A ZIGBEE BEACON ENABLED CLUSTER TREE NETWORK Saad A. Khan 1 and Fahad A. Khan 2 'Al-Khwarizmi Institute of Computer Science University of Engineering & Technology, Lahore, Pakistan. 2Department of Electrical Engineering, University of Engineering & Technology, Lahore, Pakistan. [email protected], [email protected] Abstract- Zigbee provides a realistic and feasible solution for the implementation of 'low data rate', 'low cost' and 'minimum energy consumption' networks. These attractive features are compelling the industry to adopt Zigbee and deploy and integrate it in a whole slew of consumer market applications. Energy consum ption always plays a critical role in modern system design and coerces developers to propose and exploit various routing techniques to minimize power losses. The IEEE 802.15.4 standard has been made use of for the MAC and physical layers of the Zigbee protocol stack. In our work we have identified that a clustered network approach brings about minimum energy consum ption in such networks; this is owes to the fact of load distribution among data aggregating heads. We provide a beacon enabled performance analysis of such network. The impact of Zigbee's deployment has been felt in e.g. the health care industry, patient monitoring, home are networks, remote surveillance and management and consumer wireless devices such as cell phones, PDA's, etc. We expect our findings to aid in developers in engineering systems in the aforementioned applications; in such a manner that Zigbee's integration would result in networks that consume minimal energy, thereby, conserving energy and ensuring maximal longevity of the network and its devices. Index Terms- Zigbee; IEEE 802.15.4; Performance Analysis in IEEE 802.15.4; Multi hop network; Home Area Network I. INTRODUCTION WIRELESS sensor network (WSN) is an emerging technology comprising of complex distributed network of nodes that have sensing, data processing and storage capabilities. Nodes in sensor networks have trammeled amount of energy for their operations. WSN are usually composed of numerous nodes that sense surroundings, transmitting information wireless to other nodes for sharing collaborative tasks. Recent advancement in this field has provided with standards such as IEEE 802.15.4 and Zigbee, which provides a platform for many commercial applications like environmental, health, home control etc. One of the areas where wireless sensor network and consumer electronics blend together is home automation and home area networking. One major objective is to develop an integrated and user-friendly environment with least power consumption and long battery life [1]. Recent research in clustered wireless sensor networks shows the importance of establishing fusing head formations to preserve energy. Such formations help in increasing the network life-time. In clustered sensor network the sensed data is not directly sent to the coordinator (sink node), but to 978-1-4244-4361-1/09/$25.00 ©2009 IEEE designated cluster head which collect the data for nodes in cluster to route it to sink node via shortest paths of other heads. Routing in Zigbee networks is quite similar to ones used in Mobile Adhoc networks (MANET's), in which sustaining end-to-end efficient routing paths in challenging due to many factor including orphaning of nodes due to node failures, mobility issues etc [2]. Most of the industrial applications have parallels in home automation. For example, a home HVAC that is equipped with temperature and light sensors can keep the inside of room moderated according to outside sunny side and temperature. One important use of Zigbee in such networks is due to its large support of network. With such implementation and location-aware capabilities a diverse collection of consumer activities can be entertained. Location can provide context- specific information in activities like shopping, tourism [3]. For management of routing paths in home area networking, quite complex computations are required. Use of clustered topology eliminates redundancy in such a way that only accumulated data is sent to the sink. While using Zigbee, the unique active, sleep and wake-up modes of deployed nodes ultimately result in power saving. Possible network topologies for Zigbee sensor networks include star, cluster-tree and mesh topology respectively. Zigbee networks are usually data centric based on the concept of attributes and clusters. Hierarchical routing and clustering has due advantages of scalability, self organization, security, better data aggregation and fault tolerance. Although hierarchical clustering is well known for large sized and full-load networks yet we are now using it for HAN's. In hierarchical architecture, there is less computation burden, dynamic organization, localization and redundancy exploitation [4]. In this paper we provide the mathematical analysis of a beacon enabled clustered multi-hop network. Performance analysis of coordinator and end-devices has been done in a beacon enabled configurable. Further the life time of nodes has been calculated using real analysis of Zigbee nodes. The nodes used for this purpose are IEEE 802.15.4 complaint Chipcon CC2431. The organization of paper is as follows: Section II is the related work that had been done on the performance analysis of IEEE 802.15.4. Section III gives a brief introduction to Zigbee with respect to data transmission. Section IV comprises performance analysis of the Zigbee cluster tree network. We conclude the paper in section V.
6

PERFORMANCEANALYSIS OF A ZIGBEE BEACON ENABLED ...eecs.ucf.edu/~skhan/Publications/Download/SKhan-2009-ICEE.pdf · advancement in this field has provided with standards such as IEEE

Mar 23, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PERFORMANCEANALYSIS OF A ZIGBEE BEACON ENABLED ...eecs.ucf.edu/~skhan/Publications/Download/SKhan-2009-ICEE.pdf · advancement in this field has provided with standards such as IEEE

PERFORMANCE ANALYSIS OF A ZIGBEE BEACONENABLED CLUSTER TREE NETWORK

Saad A. Khan 1 and Fahad A. Khan2

'Al-Khwarizmi Institute of Computer Science University of Engineering & Technology, Lahore, Pakistan.2Department of Electrical Engineering, University of Engineering & Technology, Lahore, Pakistan.

[email protected], [email protected]

Abstract- Zigbee provides a realistic and feasible solution forthe implementation of 'low data rate', 'low cost' and 'minimumenergy consumption' networks. These attractive features arecompelling the industry to adopt Zigbee and deploy and integrateit in a whole slew of consumer market applications. Energyconsum ption always plays a critical role in modern system designand coerces developers to propose and exploit various routingtechniques to minimize power losses. The IEEE 802.15.4standard has been made use of for the MAC and physical layersof the Zigbee protocol stack. In our work we have identified thata clustered network approach brings about minimum energyconsum ption in such networks; this is owes to the fact of loaddistribution among data aggregating heads. We provide a beaconenabled performance analysis of such network. The impact ofZigbee's deployment has been felt in e.g. the health care industry,patient monitoring, home are networks, remote surveillance andmanagement and consumer wireless devices such as cell phones,PDA's, etc. We expect our findings to aid in developers inengineering systems in the aforementioned applications; in such amanner that Zigbee's integration would result in networks thatconsume minimal energy, thereby, conserving energy andensuring maximal longevity of the network and its devices.

Index Terms- Zigbee; IEEE 802.15.4; Performance Analysis inIEEE 802.15.4; Multi hop network; Home Area Network

I. INTRODUCTION

WIRELESS sensor network (WSN) is an emerging technologycomprising of complex distributed network of nodes that havesensing, data processing and storage capabilities. Nodes insensor networks have trammeled amount of energy for theiroperations. WSN are usually composed of numerous nodesthat sense surroundings, transmitting information wireless toother nodes for sharing collaborative tasks. Recentadvancement in this field has provided with standards such asIEEE 802.15.4 and Zigbee, which provides a platform formany commercial applications like environmental, health,home control etc. One of the areas where wireless sensornetwork and consumer electronics blend together is homeautomation and home area networking. One major objective isto develop an integrated and user-friendly environment withleast power consumption and long battery life [1].

Recent research in clustered wireless sensor networks showsthe importance of establishing fusing head formations topreserve energy. Such formations help in increasing thenetwork life-time. In clustered sensor network the sensed datais not directly sent to the coordinator (sink node), but to

978-1-4244-4361-1/09/$25.00 ©2009 IEEE

designated cluster head which collect the data for nodes incluster to route it to sink node via shortest paths of otherheads. Routing in Zigbee networks is quite similar to onesused in Mobile Adhoc networks (MANET' s), in whichsustaining end-to-end efficient routing paths in challengingdue to many factor including orphaning of nodes due to nodefailures, mobility issues etc [2].

Most of the industrial applications have parallels in homeautomation. For example, a home HVAC that is equipped withtemperature and light sensors can keep the inside of roommoderated according to outside sunny side and temperature.One important use of Zigbee in such networks is due to itslarge support of network. With such implementation andlocation-aware capabilities a diverse collection of consumeractivities can be entertained. Location can provide context­specific information in activities like shopping, tourism [3].

For management of routing paths in home area networking,quite complex computations are required. Use of clusteredtopology eliminates redundancy in such a way that onlyaccumulated data is sent to the sink. While using Zigbee, theunique active, sleep and wake-up modes of deployed nodesultimately result in power saving. Possible network topologiesfor Zigbee sensor networks include star, cluster-tree and meshtopology respectively. Zigbee networks are usually datacentric based on the concept of attributes and clusters.Hierarchical routing and clustering has due advantages ofscalability, self organization, security, better data aggregationand fault tolerance. Although hierarchical clustering is wellknown for large sized and full-load networks yet we are nowusing it for HAN's. In hierarchical architecture, there is lesscomputation burden, dynamic organization, localization andredundancy exploitation [4].

In this paper we provide the mathematical analysis of abeacon enabled clustered multi-hop network. Performanceanalysis of coordinator and end-devices has been done in abeacon enabled configurable. Further the life time of nodeshas been calculated using real analysis of Zigbee nodes. Thenodes used for this purpose are IEEE 802.15.4 complaintChipcon CC2431.

The organization of paper is as follows: Section II is therelated work that had been done on the performance analysisof IEEE 802.15.4. Section III gives a brief introduction toZigbee with respect to data transmission. Section IVcomprises performance analysis of the Zigbee cluster treenetwork. We conclude the paper in section V.

Page 2: PERFORMANCEANALYSIS OF A ZIGBEE BEACON ENABLED ...eecs.ucf.edu/~skhan/Publications/Download/SKhan-2009-ICEE.pdf · advancement in this field has provided with standards such as IEEE

like route discovery, maintenance and message relayingfunctions are done in this layer.

In addition to the beacon, CAP is a mandatory part of asuperframe. Coordinators are required to listen to the channelthe whole CAP to detect and receive any data from their childnodes. On the other hand, the child nodes may only transmitdata and receive an optional acknowledgement (ACK) whenneeded, which increases their energy efficiency. In thecontention access period (CAP), every node can transmitaccording to the CSMAICA MAC protocol [14], with the useof a proper backoff algorithm [15], as required by the IEEE802.15.4 standard.

There is an additional layer between the network andapplication layer i.e. the APS layer. It connects the NWK,SSP, endpoints and is responsible to route messages todifferent sub layers.

IEEE 802.15.4 has defined the MAC and PRY layers areshown in the figure. MAC is responsible network association,channel access mechanism, acknowledged frame delivery etc.There are two DSSS (Direct Spread Spectrum Sequence)physical layer supported by IEEE 802.15.4 in ISM (Industrial,Scientific and Medical) frequency bands. Low-band operatesin the 868 Mhz or 915 Mhz frequency band. The raw data rateof 20 or 40 Kbps is supported by it. A high data rate of 250Kbps is supported in high frequency band of2.4 Ghz [5].

Since the main goal of a Zigbee network is datatransmission under the constraint of maximum power saving, abeacon frame structure can be employed. In the beacon­enabled mode, all communications are performed in asuperframe structure. A superframe is bounded by periodicallytransmitted beacon frames, which allow nodes to synchronizeto the network. An active part of a superframe is divided into16 contiguous time slots that form three parts: the beacon,Contention Access Period (CAP) and Contention-Free Period(CFP). At the end of the superframe is an inactive period,when nodes may enter to a power saving mode. The BeaconInterval (IB) and the active Superframe Duration (SD) areadjustable by Beacon Order (BO) and Superframe Order (SO)parameters as

(1)

(2)

ZDOI

Zigbee Device Object

Physical Layer868/915 Mhz ] 2.4Ghz

Network Layer NWK IMedium Access Layer (MAC)

SecurityServiceProvider

SSP

Fig. 1. Zigbee Protocol Stack & IEEE 802.15.4

IEEE802.15.4

BI = aBaseSuperframeDuration x 2BO

SD = aBaseSuperframeDuration x 2S0

II. RELATED WORK

A large scale star network mathematical analysis has beenpresented by Bougard [6]. The special contribution made bythis paper is the BER calculation, where operational analysishas been focused to packet size of data and path loss. In [20],authors have proposed model for the slotted Carrier SenseMultiple Access with Collision Avoidance (CSMA/CA)access scheme of the IEEE 802.15.4 standard for theunacknowledged transmission mode. In [7], it has been foundthat using low-duty-cycle operations, energy can be saved.Performance Analysis of IEEE 802.15.4 in a cluster treenetwork has been presented in [11]. Beacon enabled networksare prone to beacon collisions, which defmitely leads tosynchronization failures. Such beacon collisions can beminimized by using long beacon intervals. Moreover, usingmore frequency channels is an option for reduction incollisions. Yet using such options always culminates in anincreased energy consumption of network. A deepperformance probabilistic analysis and modeling of IEEE802.15.4 for medical area networking has been done byTimmons and Scanlon [8]. Basic formulae and calculations foraverage back off, frame size, node lifetime and reception andtransmission times have been done thoroughly.

In [9], a detailed performance analysis of IEEE 802.15.4 hasbeen done for a cluster-tree based topology (pure meshnetworking). Device power consumption, node operations,calculation of back off time, coordinator's energy efficiency &good put have been modeled & simulated using WISENES.

In [12] J. Misic and her group have analyzed the IEEEStandard 802.15.4 in the beacon enabled mode using thetheory of discrete time Markov chains and M/G/I/K queues.The paper includes the impact of different parameters such aspacket arrival rate, number of stations, station's buffer size,packet size, and inactive period between the beacons. Severalimportant performance parameters such as probability ofaccess, probability that medium is idle, queue lengthdistribution in the device, and probability distribution of thepacket service time is also discussed in the paper. Lately, hergroup has done an extensive work related to analysis of clusterinterconnection schemes in 802.15.4 beacon enabled networksin [17-19].

III. ZIGBEE BEACON ENABLED MODE OVERVIEW

Zigbee protocol stack is divided into multiple layers as shownin figure 1. The top most is the application layer which isresponsible for a node's relationship in the network; it alsosupervises and initiates the network. ZDO (Zigbee DeviceObject) performs the overall node management. There are 255endpoints defined in the layer, '0' end-point being specifiedfor ZDO, which can be called upon in order to discover otherZigbee nodes, to see profiles, to define security and networksettings. Security functions like encryption, authentication,key distribution and other security related functionality ishandled by the SSP.The NWK layer is responsible for providing the multi hop androuting facilities. NWK can be initiated and other functions

Page 3: PERFORMANCEANALYSIS OF A ZIGBEE BEACON ENABLED ...eecs.ucf.edu/~skhan/Publications/Download/SKhan-2009-ICEE.pdf · advancement in this field has provided with standards such as IEEE

device receives beacons and exchanges data with acoordinator. The rest of time, device is in the sleep mode.Table I gives the measured power consumption of CC2431

Performance Analysis of RFD:Two types of configuration can be supported in a beaconenabled mode. One is query based data uplink. In this modethe sensor node wakes up during the beacon, sends back thedata to cluster head and goes to sleep again. If the node wouldawake on every beacon interval, more energy will be drainedwhich is not desired. It is due to the fact that reduced functiondevice has more stringent power consumption as compared tofully functional device (i.e. coordinator).

The other configuration mode is periodic transmissions ofdata which can be accomplished by using a software operatedtimer of 8051 microcontroller built within the chip. Operating

TABLE II

ASSUMPTIONS

CFP is an optional feature of IEEE 802.15.4 MAC, inwhich a channel access is performed in allocated time slots. Inorder to allow safe data transmission, a guaranteed time slot(GTS) may be reserved to nodes which require it [16]. A nodemay reserve bandwidth for delay critical applications byrequesting GTS from a PAN Coordinator. The GTSallocations are signaled in beacon frames. In star networks, adevice may obtain better Quality of Service (QoS) by the useof GTS, since contention and collisions are avoided. Yet, theapplicability of GTS in peer-to-peer or cluster-tree networks ispoor, since GTS may be used only between the PANCoordinator and its one-hop neighbors. Moreover,intercoordinator collisions degrade QoS in GTS, since nocollision avoidance mechanism is used in CFP.

IV. PERFORMANCE ANALYSIS

To analyze the performance of devices in cluster tree networkwe have done analysis for end-devices and networkcoordinator. The models being used are based on analysisdone in cluster tree network, presented in [9]. To obtain realdeployment results, Chipcon's CC2431 module has been usedfor performance analysis. This module contains a SOCsolution of Zigbee networks. It is an extension to theirprevious device CC2340 with additional unit of localization[10].

Symbol

tCAP

SDCtx.r

Items in long frameRadio Data Rate

Synchronization inaccuracy

Contention access periodaBasesuperframeDuration

Crystal tolerances

Value

8250kbps

lOOJls

l5.36-6l.44ms960Jls20ppm

where, tBR is Beacon reception time and is given by

The acknowledge ACK reception time tAR and indirect datatRI transmission time are:

tST is the transmission time for short frames. Usualapplications in home network invoke short data frame lengthpackets.

(4)

(5)

h = hours, s = seconds;

DC . = tBR + (tST+tAR)Ret + (tST+tAR+tRI+tAT)Ret +device BI UIxBI DIxBI

tNS/ r:cSI

(3)

the microcontroller in 8-bit auto-reload mode helps inobtaining required time intervals. When the reduced functiondevice is awake, a MLME-SYNC.request is generated withthe TrackBeacon parameter as off. This will trigger a onetimeSYNC request due to which the sensor can receive the beaconfrom fully functional device, then transmit the payload dataand go back into sleep mode. The data assumed for ouranalysis is of fifty bytes.The duty cycle of device [9] is calculated in terms of variousbeacon receptions. Direct and indirect data transmissions andreceptions have also been catered in calculations

Symbol Current Power Consumption

PTX 26mA 70mWPRX 29mA 78.3mWPCCA 30.7mA 83mWPI lAmA 3.79mWPMCU O.8mA 2.25mWPs O.06uA 1.62JlW

Configuration of cluster tree network:To obtain the lowest power consumption, a cluster-tree typebeacon-enabled network topology is selected. In addition, CFPoption is not used and all data exchanges are performed duringCAP. Thus, the CAP length (tCAP) is approximated to be equalto the superframe length.

To analyze the cluster tree network, we consider a networkwhich has three child coordinators and within each cluster aretwelve devices. The network depth has been taken as four,which results in a total of 1500+ nodes. Data is transmittedfrom each node to the cluster head which routes the data to thenetwork coordinator. This activity corresponds to the uplinkdata. The interval between the transmission frames isnormalized to the beacon interval of the superframe.

Due to the effect to interlacing as defined in Zigbeespecifications, we have ignored the beacon collisions. InZigbee specification time is divided into periodic slots ofequal length to the superframe length. At the startup ofnetwork the coordinator performs passive scan and performsoperation of searching for neighbors and spare slots forperiodic transmissions. A randomly selected slot is used fromthe acquired free slots to avoid the collisions with siblings.

The two essential network parameters that are required forthe determination of duty cycle are the beacon order BO andthe super frame order so. In a beacon-enabled network,

TABLE IMEASURED POWER CONSUMPTION @ 2.7 V

Page 4: PERFORMANCEANALYSIS OF A ZIGBEE BEACON ENABLED ...eecs.ucf.edu/~skhan/Publications/Download/SKhan-2009-ICEE.pdf · advancement in this field has provided with standards such as IEEE

Network scanning time tNS either accounts for a new nodewhich has to join the network or the node which has lost itscontact.

tAW LAtAR = t TR + -2- + Ii" + t lFS (6)

t = t + (tRES+tBOT) + LSRI 1 2 R (7)

ACK transmission time is obtained by adding up receive totransmit time, wait duration and ACK frame length.

tAT = t + tAW + LART 2 R (8)

Figure 2, shows that less energy is required in searching thenetwork as the beacon interval increases. Beacon order SOwhich basically determines beacon interval Sf has atypicalrange of 6-1O.We have calculated power consumption forBO=6 and 50=0. For small multi hop networking applicationslike home area networking, this value suffices as we haveshort frame lengths in such applications. It was observedduring calculations that power consumption increases in caseof higher BO. The dotted line is figure below gives thelogarithmic trend for power consumption.

where , EBRBeacon reception energy, Pdevice is the powerconsumption of device

-- .

Beacon Interval (ms)

....

o 10 20 30 40 50 60 70 80 90 100

1.11

0.90.80.70.60.50.40.30.20.1

o

Fig . 2. RFD power consumption as a function of beacon interval

(9)

(12)

(II)

Transmission energy EST for short frames isEST = t SI X P1 + E BOT + (tIT + Ls/R)PTX

P . = EBR + (EST+EAR+ERI+EAT)Ret + (EST+EAR)Retdevtce BI DI xBI UIxBI

(l - DCdevic Ift) Ps

(10)

t NS = t lR + aBasesuperframeDuratio X (ZBO +1)

The energy required that is required for indirectcommunication of short frames isE RI = t RI X PRX (13)

Energies for ACK reception and transmission areEAR = (tAR - tIFS)PR 1ft + (t IFS X P1)

(14)

EAT = (tRT + L:) PTX + (tAW /Z)P1 (15)

respectively and network scanning energy is formulated asENS = t NS X PRX (16)

Total ON time of the node = 30.26 msTotal active mode power consumption = 492.64 (mA.ms)Total low-power mode time of node= Imin - 30.26ms = 59969.74 ms

Total current consumption in low power mode= 500f..lA x 59969.74ms = 29.98487 mA.ms

Description Current Duration Consumption(mA.ms)

Startup Sequence. 5mA 0.49ms 2.45MCU in activemode runn ing on16MhzMCU ON, running 12mA 1O.5ms 126.00on 32Mhz clockRadio on RX mode 26mA 4.2ms 109.20Packet processing 12mA 2ms 24.00MCUonRadio on RX mode 27mA 1.95ms 52.65Radio on, TX mode 29mA 2ms 58.00Radio on, RX mode 26mA Ims 26 .00for listeningacknowledgementMCUON 12mA 7.5ms 90.00Shutdown 7mA 0.62ms 4.34sequence, MCUrunning on 16Mhzclock

Total active power consumption + inactive powerconsumption = 522.62 mA.ms= 1.45 x 10-4 mAh / min = 0.00871rnA

Fig.3. Observed current values and duration fordifferent intervals in an RFD

Assuming battery of 3000-mAh true capacity we have,3000 / 0.00871mA = 344431hours approx = 39years approxwhich exceeds the shell life of AA battery.

Assuming coin-cell battery with 50mAh true capacity50mAh / 0.00871mA = 5740hours approx = 239 days

Page 5: PERFORMANCEANALYSIS OF A ZIGBEE BEACON ENABLED ...eecs.ucf.edu/~skhan/Publications/Download/SKhan-2009-ICEE.pdf · advancement in this field has provided with standards such as IEEE

Perfonnance Analysis of a FFD

A ful1y functional device in a clustered home area network iseither the coordinator which initiates the network and acts assink node, or the cluster head which gathers the data fromvarious nodes to send it to sink node. In non-b eacon In itsnormal function , a coordinator configured in beacon enabled

where ,t HT is the beacon transmission time and t i r IS the time fortransmission oflong data frames if anyt BT = t SI + tIT + LB/R (18)

Power consumption of coordinator can be ultimatelyexpressed asP . = EBT +EBR + tC APX PRX + (E AR) (nA+nB+l)R et +

coordin a tor BI BI UI XBl XA

(E ST+EAR+ERI +EAT)Ret + t NS + (1 - DC . )Dl xBI NSI coor d m ator

Fig.5. Observ ed curren t values and dura tion for

Beacon Interval (ms)Fig. 4. Coordinator power consumptio n as a function of beacon interval

~ + -

o 10 20 30 40 50 60 70 80 90 100

1412.811.6l OA9.2

86.85.64A3.2

20.8

-OA

Description Cur rent Duration Consumption(mA.ms)

Startup Sequence. 5mA 0.49ms 2.45MCU in act ivemode runn ing onl 6MhzMCU ON, runn ing 12mA 1.8ms 2 \.6on 32Mhz clockRadio on, TX mode 29mA 0.58ms 16.82Radio on RX mode 27mA 14.75ms 398.25Packet process ing, 12mA I.Ims 13.2MCU ON, runn ingon 16Mhz clockShutdown 7mA 0.62ms 4.34sequence, MCUrunn ing on 16Mhzclock

...e...eo;

=....-eSoU

(19)

where, beacon transmission energy isEBT = tSIP1 + (tIT + LB/R)PTX (20)

The sink node /coordinator has more power as it has to initiate,transmit and received data and this power cannot becompromised. Thus it is same both for the clustered or non­clustered networks respectively.In Figure 4, power consumption of coordinator is plott ed as afunction of B1. When the beacon interval goes long , powerconsumption of device decreases as can be observed from thegraph. Same trend line (dotted line is the logarithmic trendscale) in figure 4 is observed as was for the end device but ascoordinator performs most of the activities for the networkand govern s the network being an FFD, its power goes upto13mW.

TABL E IIITHENETWORK PARAMETERS

Symbol Parameter Value

8 0 Beacon order 6SO Superframe order 0Ret Average no. of 3

retransmissionsh Hidden node probab ility 30%

Uplink data transmiss ionUI interval 1-100

Downlink dataDI transmission interval 100

Beacon interval81 Network scannin g interval 0.96sINS 5h

LA ACK frame length I IoctetsLJj Beacon frame length 260ctetsLJ) Data frame length 500ctets1.0 Data frame overhead 250ctetsNA No. of devices 4NB No. of nodes 500

tCCA CCA analysis time 128JlstAW ACK wait duration 864Jlst BOT Back off period 320Jlst lFS Interframe spacing 192JlstR' S Response time for data 19.52ms

request

h = hours, s = seco nds;

DCco ord inat or =tBT+tBR + ( tA R) (nA + n B+ l )Ret + (tST+tAR+tRl+tAT)Ret + t CAP +

BI UI XBIXA DIXBI 8 1

tNs/NSI (17)

topology needs only to wake in the time of beacon intervalsand then it goes back to sleep if it has nothing to do.Using a BO of 6, we can calculate the BI to be 0.98 seconds.

Bl = aBaseSuperframeDuration x 2BO symbolswhere, aBase SuperframeDuration = 960Jls and each symbol

euals to 16Jls. BI is an approximate data response timebecause the data can be only exchanged immediately after thebeacon.

Superframe duration (SD) determines the ON time of adevice, for how long it would be awake during its contentionaccess period time. Using SO of 0, we get an approx. SD ofl5ms. The selection of SO to be equal to 0 is to minimi ze theON time of a device during its contention access period. SOcan be increased to allow the inflow of more packets , but itwill be at the expense of more energy consumption.

Function of coordinator is to maintain synchronization withthe cluster heads by regularly receiving beacons from them.Duty cycle of coordinator is:

Page 6: PERFORMANCEANALYSIS OF A ZIGBEE BEACON ENABLED ...eecs.ucf.edu/~skhan/Publications/Download/SKhan-2009-ICEE.pdf · advancement in this field has provided with standards such as IEEE

different intervals in an FFD

Total ON time of the node = 19.34 ms

Total active mode power consumption = 456.66 (mA.ms)Total low-power mode time of node= 1.96s - 19.34ms = 1946.66 msTotal current consumption in low power mode= 500JlA x 1946.66ms = 0.973 mA.ms

Total active power consumption + inactive powerconsumption = 457.636 mA.ms= 1.27 x 10-4 mAh / BI = 0.23mA

Assuming battery of3000-mAh true capacity we have,3000 / 0.23mA = 13043hours approx = 1.48years approx

v. CONCLUSION

The network formed in a cluster is well-defined consisting ofleaf nodes, data aggregating and sinking heads, and the mainsinking node i.e. coordinator. This structure simplifies multihop routing and permits effective energy saving; each nodehas to maintain synchronization with its cluster-head only. Therest of the time, nodes may save energy by switching intosleep modes. Resulting into less energy consumption per nodeand hence increases network's life-time. The performanceanalysis shows that BO and SO have a very significant effecton cluster tree network and its performance. Energyconsumption analysis show that using a Zigbee node in clustertree networks like home area network increases the battery lifetime, by consuming less energy and hence helps in increasinglife time of network.

REFERENCES

[1] Andrew Wheeler, Ember Corporation, "Commercial Applicationsof Wireless Sensor Networks Using Zigbec", IEEE CommunicationMagzine, Topics in Ad Hoc and Sensor Networks, pp 70-77, April2007.[2] N Liang, P Chen, T Sun, G Yang, L Chen and M Gerla, "Impactof node heterogeneity in ZigBee Mesh Network Routing", IEEESMCC, 8-11 Oct, 2006.[3] Edgar H. Callway, Jr,"Wireless Sensor Networks; Architecturesand Protocols",pg 4-6, ISBN 0-8493-1823-8.[4] Saad A. Khan, Hajra Aziz, Samia Maqsood, Saleha Faisal,"Clustered Home Area Network: A Beacon Enabled IEEE 802.15.4Approach ", IEEE ICET 2008, pg 193-198, Oct 19-18 2008[5] ZigBee Alliance. "ZigBee Specifications", version 1.0, April2005.[6] Bougard, B., Catthoor, F., Daly, D.C., Chandrakasan, A.,Dehaene, W., "Energy efficiency if IEEE 802.15.4 standard in densewireless microsensor networks: modeling and improvementperspectives", in Proc of Design, automation and test in Europe(DATE'05) (Munich, Germany, Maarch 7-11, 2005), IEEE, 2005,Vol. 1, 196-201[7] G. Lu, B. Krishnamachari, and C. S. Raghavendra, "Performanceevaluation of the IEEE 802.15.4MAC for low-rate lowpower wirelessnetworks," in Proceedings of the 23rd IEEE InternationalPerformance Computing and Communications Conference (IPCCC'04), pp. 701-706, Phoenix, Ariz, USA, April 2004.

[8] Timmons, N.F.; Scanlon, W.G., "Analysis of the performance ofIEEE 802.15.4 for medical sensor body area networking," Sensor andAd Hoc Communications and Networks, 2004. IEEE SECON 2004.2004 First Annual IEEE Communications Society Conference on,vol., no., pp. 16-24, 4-7 Oct. 2004[9] Kohvakka, M., Kuorilehto, M., Hannikainen, M., andHamalainen, T. D. 2006. Performance analysis of IEEE 802.15.4 andZigbee for large-scale wireless sensor network applications. InProceedings ofthe 3rd ACM international Workshop on PerformanceEvaluation of Wireless Ad Hoc, Sensor and Ubiquitous Networks(Terromolinos, Spain, October 06 - 06, 2006). PE-WASUN '06.ACM, New York, NY, 48-57[10] www.ti.com/sc/device/CC2431[11] J. Ha,W. H. Kwon, 1. 1. Kim, Y. H. Kim, and Y. H. Shin,"Feasibility analysis and implementation of the IEEE 802.15.4multihop beacon enabled network," in Proceedings ofthe 15th JointConference on Communications & Information (lCCI '05), pp. 1-5,Korea, April 2005.[12] Misic 1. Shafi S. Misic V.B. "The impact of MAC parameterson the performance of 802.15.4 PAN" (2005) Ad HocNetworks, 3 (5), pp. 509-528[13] 1. Misic, S. Shafi, and V. B. Misic. "Performance of beaconenabled IEEE 802.15.4 cluster with downlink and uplink traffic",IEEE Transactions on Parallel and Distributed Systems. vol. 17. no.4, pp. 361-376, April 2006.[14] L. Kleinrock and F. A. Tobagi, "Packet switching in radiochannels: part I-carrier sense multiple-access modes and theirthroughput-delay characteristics," IEEE Transactions onCommunications, vol. 23, no. 12, pp. 1400-1416, December 1975.[15] A. S. Tanenbaum, Computer Networks, Prentice-Hall, UpperSaddle River, NJ, USA, 4th edition, 2003.[16] J. Zheng and M. J. Lee, "Will IEEE 802.15.4 make ubiquitousnetworking a reality?: a discussion on a potential low power, low bitrate standard," IEEE Communications Magazine, vol. 42, no. 6, pp.140-146, June 2004.[17] Misic, 1. and Udayshankar, R. 2008. Analysis of ClusterInterconnection Schemes in 802.15.4 Beacon Enabled Networks. Int.J Distrib. Sen. Netw. 4, 2 (Apr. 2008), 155-175[18] Misic, J. 2007. Design and performance issues of slave-slavecluster interconnection in 802.15.4 beacon enabled networks. Int. JParallel Emerg. Distrib. Syst. 22, 1 (Jan. 2007)[19] 1. Misi'c and C. 1. Fung, "The impact of master-slave bridgeaccess mode on the performance of multi-cluster 802.15.4 network,"Computer Networks, vol. 51, pp. 2411-2449, 2007.[20] Pollin, S. Ergen, M. Ergen, S.C. Bougard, B. Catthoor, F.Bahai, A. Varaiya, P. "Performance Analysis of Slotted CarrierSense IEEE 802.15.4 Acknowledged Uplink Transmissions",Wireless Communications and Networking Conference, 2008. WCNC2008 pp 1559-1564