Beruflich Dokumente
Kultur Dokumente
B. VENKAT Department of Electronics & Instrumentation Engineering, GITAM University, Rushikonda, Visakhapatnam, Andhra Pradesh 530045, India
Wireless technologies have been rapidly developed during recent years used in applications like smart home automation, greenhouse monitoring, and healthcare [1]. The existing technologies are Bluetooth, Wi-Fi, Wi-Max, wireless mobile Ad-hoc network (WMANET), UMB, wireless HART, Bluetooth and ZigBee. Wireless sensor networks are formed by communicating over wireless links without using a fixed networked infrastructure. ZigBee is the name for a short-range, low-power, low-cost, and low-data-rate wireless multi-hop networking technology standard. A ZigBee network consists of three types of logical devices viz. coordinator (Full Function Device, FFD), router and an end device (Reduced Function Device, RFD) [3]. The coordinator is the first device on the network which starts, configures and manages the network [5]. This also selects the network identifier which is the Personal Area Network (PAN ID) and one amongst the 16 channels in the range of 2.4-2.4835GHz. When the coordinator is ready, the other devices can join this network. ZigBee supports various network topologies such as star, peer-to-peer, cluster tree and mesh [2].This paper presents the establishment of a ZigBee network with a tree topology, monitoring and logging of packet data using Labview.
R TI
ISSN: 0975-5462
1.
Introduction
LE S
Abstract: ZigBee is a wireless technology being deployed for wireless sensor networks. Low data rate personal area network applications like smart home automation, greenhouse monitoring and healthcare use ZigBee, a high level communication protocol as a standard to acquire the data. The data from the sensor nodes are monitored and logged using packet sniffer. The available sniffers in the market need additional hardware with dedicated software which costs more. Also the packet sniffer has to be compatible with the sensor node hardware. In this paper, sniffing of packets at the base station is implemented using LabView. With Texas Instruments Z-Accel Modules, a tree topology is established and temperature is monitored, logged with time stamping and packet data analysis is presented. Keywords: ZigBee; Wireless Sensor Networks; cc2480 radio.
IN
Dr. D.S.MURTY Department of Electronics & Communication Engineering, GVP College of Engineering, Madhurwada, Visakhapatnam, Andhra Pradesh 530045, India
PR ES
3391
B. UDAYA KUMAR Department of Electronics & Instrumentation Engineering, GITAM University, Rushikonda, Visakhapatnam, Andhra Pradesh 530045, India
B. Udaya Kumar et. al. / International Journal of Engineering Science and Technology Vol. 2(8), 2010, 3391-3395 2. Experimental setup and network establishment
E
Figure 1 Experimental Setup
The network topology, shown in figure 2, is considered for experimentation. The network consists of one coordinator and two router- sources and four end devices. 3. Nodes Software Design
R TI
The packets arrive at the base station through a Virtual COM port which is read using LabView .The block diagram of the VI implemented for one node is as shown in the figure 6.
ISSN: 0975-5462
The application software comprises of a source and a sink. The source transmits the temperature data and sink receives it. The flow charts for coordinator, router and end device are as shown in figures 3, 4, 5 respectively.
LE S
The application processor configures the CC2480 as a FFD or RFD using Application Program Interface (API) calls and Remote Procedure Calls (RPC). The API calls provides the necessary functions to establish a ZigBee wireless sensor network [8]. After the configuration procedure, each device registers with the application profile. An application profile defines the input, output commands and data format exchanges between the devices on the network. The application software binds the devices with a logical link at the application layer. With the binding feature, the application transfers the data packet without knowing the actual destination address[9].The sensor node has on chip temperature sensor, measures the temperature and periodically sends the data to the base station.
IN
PR ES
C R R E E E
3392
The experimental setup is as shown in the figure 1. The network is established using Texas Instruments Z-accel module where ZigBee Stack runs on a ZigBee Processor and the application runs on an external microcontroller [4]. The sensor node hardware is embedded with an application processor (Microcontroller MSP430F2214) and a ZigBee processor (CC2480 ZigBee processor).
B. Udaya Kumar et. al. / International Journal of Engineering Science and Technology Vol. 2(8), 2010, 3391-3395
Power up device
Power up device
Power up device
IN
Bind Confirmed No Yes Send Data
Figure 3 Coordinator
R TI
Using the event driven programming technique in LabView, the packet received at base station is stored in an array. The length of array is based on the size of the packet. A 17 byte packet arrives the virtual com port every 15sec from each node. The packet consists of parameters like Start of Packet (SoP), source address, destination address, temperature value, node battery voltage, Frame Control Check (FCS), Received Signal Strength Indicator (RSSI), Number of hops, acknowledgement, list of input commands, list of output commands, profile ID, number of packets sent. The data in the array is logged into spreadsheet with respective time stamping for further analysis.
ISSN: 0975-5462
LE S
No Yes
Figure 4 Router
PR ES
Yes Send ZB_WRITE_CONFIGURATION End Device Register Application profile Bind with near Router Send Data periodically
No
No
S
No
3393
B. Udaya Kumar et. al. / International Journal of Engineering Science and Technology Vol. 2(8), 2010, 3391-3395
4.
The tree topology for ZigBee based WSN is established and observed using TIs ZigBee Sensor Monitor, shown in figure 7. The Virtual Instrument (VI) is developed using NI LabView for the six nodes, shown in figure 8, is used to monitor graphically the temperature at each node. The total number of packets sent, received, and the number of received for 15 minutes data is presented, shown in figure 9.
R TI
ISSN: 0975-5462
LE S
IN
Figure 7 Network View
PR ES
3394
B. Udaya Kumar et. al. / International Journal of Engineering Science and Technology Vol. 2(8), 2010, 3391-3395
[1] [2]
[3]
[4] [5]
David Egan, the Emergence of ZigBee in Building Automation and Industrial Control, IEE Computing & Control Engineering, May 2005, pp 14-19. B. Udaya Kumar, B. Venkat, ZigBee Based Wireless Motor Speed Control, International Journal of Engineering and Information technology, Volume: 01 Number: 2 Oct 2009, pp 115-120.1 ZHANG Qian et al., A wireless solution for greenhouse monitoring and control system based on ZigBee Technology, Journal of Zhejiang University SCIENCE A, 2007 8(10):1584-1587 Texas Instruments CC2480 Interface Specification SWRA175A HSIN-MU TSAI et al., Zigbee-Based Intra-Car Wireless Sensor Networks: A Case Study, IEEE Wireless Communications December 2007, pp 67-77 Gary W. Johnson, Richard Jennings, LabView Graphical Programming, 4th edition, MGH John H. Davies, MSP430 Microcontroller Basics, Newnes, 2008 Jos A. Gutirrez, Edgar H. Callaway Jr., Raymond L. Barrett Jr. Low-Rate Wireless Personal Area Networks; Enabling Wireless Sensors with IEEE 802.15.4TM . Standards Information Network, 2003. ZigBee Specification document, ZigBee Alliance, 2007
R TI
ISSN: 0975-5462
5.
References
LE S
IN
3395
PR ES