ZigBee: Next Generation Wireless Network

Seminar Report On

ZigBee: Next Generation Wireless Network

Submitted by Anil Kumar K

In the partial fulfillment of requirements in degree of Master of Technology (M-Tech) in SOFTWARE ENGINEERING


Department of Computer Science, CUSAT


ZigBee: Next Generation Wireless Network

ZigBee is an open technology developed by the SigBee Alliance to overcome the limitations of BLUETOOTH and Wi-Fi. ZigBee is an IEEE 802.15.4 standard for data communications with business and consumer devices. It is designed around low-power consumption allowing batteries to essentially last forever. BLUETOOTH as we know was developed to replace wires and Wi-Fi to achieve higher data transfer rate, as such till now nothing has been developed for sensor networking and control machines which require longer battery life and continuous working without human intervention. ZigBee devices allow batteries to last up to years using primary cells (low cost) without any chargers (low cost and easy installation).

The ZigBee standard provides network, security, and application support services operating on top of the IEEE 802.15.4 Medium Access Control (MAC) and Physical Layer (PHY) wireless standard. It employs a suite of technologies to enable scalable, self-organizing, self-healing networks that can manage various data traffic patterns. The network layer supports various topologies such star, clustered tree topology and self healing mesh topology which is essential in Smartdust

Apart from easy installation and easy implementation ZigBee has a wide application area such as home networking, industrial networking, Smartdust, many more, having different profiles specified for each field. The upcoming of ZigBee will revolutionize the home networking and rest of the wireless world.

Department of Computer Science, CUSAT


ZigBee: Next Generation Wireless Network

Table of Contents 1. Intorduction 2. Existing Standards 2.1. Wi-Fi (IEEE standard 802.11) 2.1.1. Standards 2.1.2. Network Types 2.2. Bluetooth (IEEE standard 802.15.1) 2.3. ZigBee (IEEE standard 802.15.4) 3. Intoduction to ZigBee 3.1. The ZigBee Alliance 3.2. The Name ZigBee 3.3. Why ZigBee 3.4. IEEE 802.15.4 3.5. Components of IEEE 802.15.4 4. ZigBee/IEEE 802.15.4 – General Characteristics 4.1. ZigBee/IEEE 802.15.4 – Typical Traffic Types Addressed 5. ZigBee Protocol Stack 5.1. The Physical Layer (PHY) 5.2. Media Access Layer (MAC) 5.2.1. Frame Structure 5.2.2. Super Frame Structure 5.3. Network and Security Layer 5.4. Application Layer 5.4.1. ZigBee Device Object 5.4.2. Application Support Layer 6. ZigBee Security 7. ZigBee Applications 8. Conclusion 9. Bibliography 3 4 4 5 5 6 7 8 8 9 9 11 11 12 12 14 15 16 18 20 21 23 24 24 24 25 28 29

Department of Computer Science, CUSAT


a distance of 1800 miles. The modulated signal thus received is then demodulated and the data is extracted from the signal. Radio waves are often referred to as radio carriers because they simply perform the function of delivering energy to a remote receiver. a radio receiver tunes in one radio frequency while rejecting all other frequencies. the mobile telephone. and communication satellites. since the frequency or bit rate of the modulating information adds to the carrier. Wireless networks are used to augment rather than replace wired networks and are most commonly used to provide last few stages of connectivity between a mobile user and a wired network. John’s Newfoundland. Wireless networks use electromagnetic waves to communicate information from one point to another without relying on any physical connection. the television.Introduction It was in 1896 that Guglielmo Marconi invented the first wireless telegraph. CUSAT 4 . Department of Computer Science. which uses wireless media such as radio frequency technology to transmit and receive data over the air. advances in wireless technologies have led to the radio. and cost advantages over traditional wired networks: Mobility: provide mobile users with access to real-time information so that they can roam around in the network without getting disconnected from the network. Wireless networks offer the following productivity. This mobility supports productivity and service opportunities not possible with wired networks.ZigBee: Next Generation Wireless Network 1. In 1901 he sent telegraphic signals across the Atlantic ocean from Cornwall to St. Once data is superimposed (modulated) onto the radio carrier. All type of information can now be send to any corner of the world. The data being transmitted is superimposed on the radio carrier so that it can be accurately extracted at the receiving end. Multiple radio carriers can exist in the same space at the same time without interfering with each other if the radio waves are transmitted on different radio frequencies. minimizing the need for wired connections. Over the last century. the radio signal occupies more than a single frequency. To extract data. A wireless network is a flexible data communication system. convenience.

1. airport lounges.11 networking and wireless networking. With peak operating speeds of around 54 Mbps it is able to compete with many wired systems. CUSAT 5 . 2.11) Wi-Fi is the wireless way to handle networking. Reach of network: the network can be extended to places which can not be wired More Flexibility: wireless networks offer more flexibility and adapt easily to changes in the configuration of the network. and many other places using a wire less link rather that needing to use a cable. Existing Standards In the world of wireless communication there are many standards existing today.11 standard. Department of Computer Science. As a result of the flexibility and performance of the system. Mobile connectivity for computers is a rapidly growing requirement. many Wi-Fi “hotpots” have been set up and more are following.Wi-Fi (IEEE standard 802. Reduced cost of ownership: while the initial investment required for wireless network hardware can be higher than the cost of wired network hardware. cafes. These enabvle people to use their laptop computers as they wait in hotels. Of the schemes that are available the IEEE 802. Bluetooth and ZigBee as they are the most complementary standards among all. Configurations can be easily changed and range from peer-to-peer networks suitable for a small number of users to large infrastructure networks that enable roaming over a broad area. each with a specific application field and characteristics which best suites the need. It is also known as 802. 2. often termed Wi-Fi has become the de-facto standard. The big advantage of Wi-Fi is its simplicity. overall installation expenses and life-cycle costs can be significantly lower in dynamic environments. However among so many standard we will only discuss about Wi-Fi.ZigBee: Next Generation Wireless Network Installation speed and simplicity: installing a wireless system can be fast and easy and can eliminate the need to pull cable through walls and ceilings. Scalability: wireless systems can be configured in a variety of topologies to meet the needs of specific applications and installations.

11k – Measurement reporting 802. to standards for security aspects.1. Of these even 802.11f – Handover 802. and ad-hoc networks.ZigBee: Next Generation Wireless Network 2. ISM band with data rate up to 54 Mbps.11a – Wireless network bearer operating in the 5 GHz. 802. The Department of Computer Science. CUSAT 6 . 802. and can provide considerable cost savings.11s – Mesh networking Of these the standards that are most widely known are the network bearer standards. 802. It can be installed instead of a wired system. 2.11g.11h – Power control 802.11g – Wireless network bearer operating in 24.11b – Wireless network bearer operating in the 2. quality of service and the like: 802.2 Network types There are two types of network that can be formed: infrastructure networks. The infrastructure application is aimed at office areas or to provide a “hotspot”. 802.1.11e – Quality of service and prioritization 802. each with a letter suffix.11n – stream multiplexing 802.11i – Authentication and encryption 802. These cover everything from the wireless standards themselves.4 GHz ISM band with data rates up to 11 Mbps 802.11a. Standards There is a plethora of standards under the IEEE 802 LMSC (LAN / MAN Standard Committee).11b.GHz ISM band with data rates up to 54 Mbps 802.11 has variety of standards. A backbone wired network is still required and is connected to a server.1. especially when used in established offices.11j – Internetworking 802.

his main achievement was that of uniting Denmark under the banner of Christianity. His name translates as “Bluetooth” and this was used as his nickname. Bluetooth has now established itself in the market place enabling a variety of devices to be connected together using wireless technology. 2. The Bluetooth standard was named after him because Bluetooth endeavors to unite personal computing and telecommunications devices.1. The other type of network that may be used is termed as Ad-Hoc network. Bluetooth Bluetooth is based on IEEE standards 802. and then uniting it with Norway that he had conquered. As a result there is no Access Point and special algorithms within the protocols are used to enable one of the peripherals to take over the role of master to control the network with the others acting as slaves.ZigBee: Next Generation Wireless Network wireless network is then split up into a number of cells. but it is also used in a huge number of other applications as well.2. Each Access Point may have a range of between 30 and 300 metres dependent upon the environment and the location of the Access Point. Bluetooth technology has come into its own connecting remote headsets to mobile phones. In this situation the user4s may only communicate with each other and not a larger wired network. Department of Computer Science. each serviced by a base station or Access Point (AP) which acts as a controller for the cell. CUSAT 7 . Bluetooth technology originated in 1994 when Erricsson came up with a concept to use a wireless connection to connect items such as an earphone and a cordless headset and the mobile phone. These are formed when a number of computers and peripherals are brought together. A brave warrior. The name of the Bluetooth standard originates from the Danish king Harald Blatand who was king of Denmark between 940 and 981 AD. They may be needed when several people come together and need to share data or if they need to access a printer without the need for having to use wire connections.15.

4 which defines the physical and MAC layers. thus eliminating interference.4 specification. This makes ZigBee a very attractive proposition. After a network connection is established between two devices they change their frequency 1600 times per second thus leaving no time for interference. and a host of other digital devices. With the applications for remote wireless sensing and control growing rapidly it is estimated that the market size could reach hundreds of millions of dollars as early as 2007. fax machines. Above this ZigBee defines the application and security layer specifications enabling interoperability between products from different manufacturers. In this way ZigBee is a superset of the 802. Scientific and Medical(ISM) frequency band for its radio signals and enables communications to be established between devices up to a maximum distance of 100 metres. 2.4 GHz ISM band. Bluetooth technology enables a user to replace cables between devices such as printers. which warrants the introduction of a focused standard. it can provide a connection between an ad-hoc wireless network and existing wired data networks. Bluetooth employs frequency hopping techniques with the carrier modulated using Gaussian Frequency Shift Keying (GFSK). desktop computers and peripherals. The technology is intended to be placed in a low cost module that can be easily incorporated into electronics devices of all sorts.15. Furthermore. No other sub network will be working at the frequency at which other sub networks work. and if by chance there is interference it will be for few microseconds. Running in the 2. Bluetooth uses the license free Industrial. It builds on IEEE standard 802. Department of Computer Science.15.ZigBee: Next Generation Wireless Network Bluetooth is a wireless data system and can carry data at speeds up to 721 Kbps in its basic form and in addition to this it offers up to three voice channels. ZigBee ZigBee is a wireless networking standard that is aimed at remote control and sensor applications which is suitable for operation in harsh radio environments and in isolated locations. CUSAT 8 .3. and one.

Mitsubishi. Philips and Samsung. There are many wireless monitoring and control applications in industrial and home environments which require longer battery life. taking on board the requirements of the users.ZigBee: Next Generation Wireless Network 3. 3. This organization has over 150 members. For example there is a profile called home lightning that exactly defines how different brands of home lightning-products should communicate with each other.11 wireless local area network standards.1 The Zigbee Alliance The ZigBee standard is organized under the auspices of the ZigBee Alliance. Under the umbrella of the ZigBee Alliance. Motorola. The intended outcome of ZigBee alliance is to create a specification defining how to build different network topologies with data security features and interoperable application profiles. a new standard called IEEE 802.4 has been developed by IEEE. The ZigBee alliance is an organization of companies working together to define an open global standard for making low power wireless networks. For such wireless applications. However.” These seven companies are Ember. Honeywell. The new standard is also called ZigBee. up to now wireless networking has been mainly focused on high – speed communications. Introduction to ZigBee The past few years have witnessed a rapid growth of wireless networking. However it has limited capacity for networking of many nodes. CUSAT 9 . of which seven have taken on the status of what they term “promoter.15. To solve this problem. The Alliance has specified three profiles: Department of Computer Science. and relatively long range applications such as IEEE 802. depending on what type of category the product belongs to. Invensys. the ZigBee Alliance has defines profiles. lower data rates and less complexity than those from existing standards. manufacturers and the system developers. A big challenge for the alliance is to make the interoperability to work among different products. the new standard will be pushed forward. The first well known standard focusing on low rate wireless personal area networks was BLUETOOTH.

up till now there hasn’t been a wireless network standard that meets the unique needs of sensors and control devices. However. These proprietary systems were designed because there were no standards that met their application requirements. The ZigBee Alliance is not pushing a technology. Sensors and controls don’t need high bandwidth but they do need low latency and very low energy consumption for long battery lives and for large device arrays. This communication dance (“The ZigBee Principle”) is what engineers are trying to emulate with this protocol – a bunch of separate and simple organisms that join together to tackle complex tasks. but can claim ‘based on ZigBee platform’. The Name ZigBee The name ZigBee is said to come from the domestic honeybee which uses a zig-zag type of dance to communicate important information to other hive members. Published Profile: A private profile is shared among other users. Public profile: It is the official ZigBee profile. PC LANs. 3. There are a multitude of proprietary wireless systems manufactured today to solve a multitude of problems that don’t require high data rates but do require low cost and very low current drain.ZigBee: Next Generation Wireless Network Private Profile: In this profile interoperability is not at all important. 3. Still one cannot use official ZigBee stamp.3 Why ZigBee? There are a multitude of standards like Bluetooth and Wi-Fi that address mid to heigh data rates for voice. Department of Computer Science. CUSAT 10 . rather it is providing a standardized base set of solutions for sensor and control systems. but can claim that ‘based on ZigBee platform’. Here are the following points that justify the use of ZigBee over the existing standards.2. video etc. However producers cannot use the official ZigBee stamp. These legacy systems are creating significant interoperability problems with each other and with newer technologies.

11 Rx power is 667 mW (always on) @ 100 devices/home & 50. ZigBee devices allow batteries to last up to years using primary cells (low cost) without any chargers (low cost and easy installation). low installation cost and low maintenance.ZigBee: Next Generation Wireless Network Low power consumption. This attribute is critical for massive sensor arrays and control networks.4 PHY and MAC allows networks to handle any number of devices.4 PHY adopted by ZigBee has been designed for the 868 Department of Computer Science.15. ZigBee’s simplicity allows for inherent configuration and redundancy of network devices provides low maintenance. ZigBee devices will be more ecological than their predecessors saving megawatts at it full deployment.1% (typical duty cycle) = 150 watts Low cost to the users means low device cost. Simplicity is essential to cost. The IEEE 802. Simple protocol.4 power cycled at . the home owner would be replacing batteries every month! In contrast Bluetooth.15.15.33 megawatts. which has many different modes and states depending upon your latency and power requirements.000 homes/city = 150 kilowatts. Consider a future home that has 100 wireless control/sensor devices. global implementation: ZigBee’s protocol code stack is estimated to be about 1/4th of Bluetooth’s or 802. Case 2: 802.15. Even mains powered equipment needs to be conscious of energy. ZigBee/IEEE 802. If the batteries for each one only lasted six months.4 has two major states: active(transmit/receive) or sleep. not on which power mode is optimum for each aspect of operation. and maintenance.000 homes/city = 150 3.11’s.15.4 Rx power is 30 mW (always on) @ 100 devices/home & 50. Case 3: 802. simply implemented: Users expect batteries to last many months to years! Consider that a typical single-family house has about 6 smoke/CO detectors. High density of nodes per network: ZigBee’s use of the IEEE 802. interoperability. Case 1: 802. The application software needs to foicus on the application. CUSAT 11 .

15. In March 2004.5 Components of IEEE 802. the 915 MHz band in N America.11) and Wireless PAN.4 IEEE 902. Department of Computer Science.15. The new Task Group 4b aims at clarifying and enhancing specific parts of the Task Group 4 standard.1.15 is the working group 15 of the IEEE 802 which specializes in Wireless PAN standards. The network coordinator maintains the overall network knowledge. It includes four task groups (numbered from 1 to 4): Task group 1 (WPAM/Bluetooth) deals with Bluetooth. 3. task group 4 put itself in hibernation. Task group 3 is in fact two groups: 3 (WPAN High Rate) and 3a (WPAN Alternate Higher Rate). It includes a medium access control and physical layer specification adapted from Bluetooth 1.4 GHz band is now recognized to be a global band accepted in almost all countries. having produced the 802. and the 2. 2002.15. 3. both dealing with high-rate WPAN standards (20 Mbit/s or higher).1 standard. CUSAT 12 .4 IEEE 802. Australia. Task group 4 (WPAN Low Rate) deals with low rate but very long battery life (months or even years).4 standard was released in May 2003. etc. after forming Task Group 4b. published on June 14.ZigBee: Next Generation Wireless Network MHz band in Europe.4 networks use three types of devices.15.4 IEEE 802. Task group 2 (coexistence) deals with coexistence of Wireless LAN (802. The first edition of the 802. It is the most sophisticated one of the three types and required the most memory and computing power.15.

40 Kbps (@ 915 MHz) and 20 kbps (@868 MHz) Optimized for low duty-cycle applications (<0. Multiple topologies: star.ZigBee: Next Generation Wireless Network The Full Function Device (FFD) supports all IEEE 802. ZigBee/IEEE 802. Addressing space of 64 bits – 18.15. It can function as a network coordinator.4 – General Characteristics Data rates of 250 kbps (@2. Fully hand-shaked protocol for transfer reliability Range: 50m typical (5-500m based on environment). 4.15.535 networks.1 ZigBee/IEEE 802. CSMA-CA channel access yields high throughput and low latency for low duty cycle devices like sensors and controls. mesh.4 – Typical Traffic types Addressed Following are typical traffic types specified: Periodic data Department of Computer Science.4 GHz).000. peer-to-peer. Additional memory and computing power make it ideal for network router functions or it could be used in network-edge devices (where the network touches the real world).1%). CUSAT 13 . devices.000 devices (64 bit IEEE address) – 65.15.450. It us generally found in network-edge 4. Optional guaranteed time slot for applications requiring low latency.000. The Reduced Function Device (RFD) carries limited (as specified by the standard) functionality to lower cost and complexity. Low power (battery life multi-month to years).000.4 functions and features specified by the standard.000.

In a disconnected operation the device will only attach to the network when it needs to communicate saving significant energy. mouse) Each of these traffic types mandates different attributes from the MAC. GTS is a method of QoS (Quality of Service) in that it allows each device a specific duration of time each Superframe to do whatever it wishes to do without contention or latency Department of Computer Science. Intermittent data can be handled either in a beaconless system or in a disconnected fashion. sensors) Intermittent data Application/external stimulus defined rate (e.g. CUSAT 14 .15.g. check for any messages and then go back to sleep.g. Low latency applications may choose to the guaranteed time slot (GTS) option. Periodic data can be handled using the beaconing system whereby the sensor will wake up for the beacon.ZigBee: Next Generation Wireless Network Application defined rate (e. The IEEE 802.4 MAC is flexible enough to handle each of these types. light switch) Repetitive low latency data Allocation of time slots(e.

It may be helpful to think of IEEE 802.ZigBee: Next Generation Wireless Network 5. The layers above them are defined by the ZigBee Alliance. CUSAT 15 .1’. ZigBee Protocol Stack The ZigBee protofol stack is 1/4th of that of Wi-Fi and Bluetooth. Following the standard Open Systems Intenconnection (OSI) reference model.15. APPLICATION ZigBee or OEM APPLICATION INTERFACE NETWORK LAYER ZigBee DATA LINK LAYER MAC LAYER MAC LAYER PHY LAYER Fig 5. physical (PHY) and media access (MAC) are defined by the IEEE 802.4 standard as shown in the figure ‘fig 5.1 ZigBee’s Protocol Stack Alliance IEEE Department of Computer Science. The first two layers.4 as the physical radio and ZigBee as the logical network and application software. The IEEE working group passed the first draft of PHY and MAC in 2003. ZigBee’s protocol stack is structured in layers.15.

868/915 MHz Band Modulation The transmitter must be capable of transmitting atleast –3dbm although this should be reduced when possible to reduce interference to other users.4 GHz (16 channels). The 868 and 900 MHz bands also use direct-sequence spread spectrum but with binary-phases shift keying modulation.4 GHz (global). Channel width is 2 MHz with 5 MHz channel spacing. (America) and 868 MHz (Europe). The transmission distance is expected to range from 10 to 75m. 2450 MHz Band Modulation The transmitter must be capable of transmitting at least –3dBm although this should be reduced when possible to reduce interference to other users. Department of Computer Science. Raw data throughput rates of 250Kbps can be achieved at 2. including 2. ZigBee uses direct-sequence spread spectrum in the 2. The maximum allowable power will depend on local regulatory bodies. 40 Kbps at 915 MHz (10 channels). with offset-quadrature phase shift keying modulation. The receiver must have a packet error rate of <1% for input signals at the antenna connector of >-92dBm. CUSAT 16 . The maximum allowable power will depend on local regulations.ZigBee: Next Generation Wireless Network 5. this way assigning the code spectrum utilizes bandwidth efficiently.1 The Physical Layer (PHY) ZigBee-compliant products operate in unlicensed bands worldwide. Like Wi-Fi.4 GHz band. depending on power output and environmental characteristics. 902 to 928 MHz. What is Direct Sequence Spread Spectrum (DSSS)? In direct Sequence Spread Spectrum a bit is assigned a particular code spectrum that is transmitted and on the destination node that code is replaced by that specific bit. and 20 Kbps at 868 MHz (1 channel).

It can be the received power.2. 5.ZigBee: Next Generation Wireless Network The fig 5. Link Quality Indivation (LQI). It can communicate with any other devices within its transmission range.4 to 2. The phusical also specifies other parameters for transmission such as device types that are used. Speading Parameters Data Parameters Channel Symbol Modulation Numbering Chip Rate Modulation Bit Rate Rate 868 to 870 300 0 BPSK 20 Kb/s 20 Kbaud BPSK 868 to MHz Kchip/s 915 902 to 928 600 BPSK 1 to 10 BPSK 40 Kb/s 40 Kbaud MHz MHz Kchip/s 2. channel selection. or a combination of both. The beacon Department of Computer Science.15. and transmitting/receiving packets across physical medium. identify the PAN and describe the structure of the superframe.4 PHY layer provides a parameter.2 Media Access Layer (MAC) There are two channel access mechanisms used by MAC Layer: Non-Beacon mode Beacon mode ZigBee networks can use beacon or non-beacon environments.5 Kbaud GHz Mchip/s Kb/s Orthogonal Fig 5. The IEEE 802. the estimated signal-to-noise-ration (SNR). LQI is passed to MAC layer and finally available to the network and upper layers. An FFD can serve as a coordinator or a regular device. CUSAT 17 . shows the operating frequencies offered by the physical layer of ZigBee protocol.4835 2.0 250 16-ary 2. An RFD is a simple device that associates and communicates only with an FFD. Other futures of PHY layer include the activation and deactivation of the radio transceiver. Beacons are used to synchronize the network devices. to characterize the quality of received signal.4 GHz 11 to 26 O-QPSK 62.2 Table showing ZigBee’s operating frequency and modulation technologies used PHY Frequency Band Tow types of devices are defined: Full Function Device (FFD) and Reduced Function Device (RFD). clear channel assessment.

The channel access in each time slot is contention-based. traditional multiple-access system used in simple peer and nearpear networks. The network coordinator. the network coordinator can dedicate up to seven guaranteed time slots for non contention based or low-latency delivery.999% of the time. awaking on a schedule specified by the coordinator.ZigBee: Next Generation Wireless Network intervals are set by the network coordinator and vary from 15ms to over 4 minutes. However. Since the network coordinator has an “infinite” source of power it can allow clients to sleep for unlimited periods of time. has its receiver on all the time and can therefore wait to hear from each of these stations. Here. the coordinator itself returns to sleep. the client returns to sleep. CUSAT 18 . Client units listen for the network coordinator’s beacon (broadcast at intervals between 0. powered from the main source. but could interfere with others unintentionally. A client registers with the coordinator and looks for any messages directed to it. The non-beacon mode is a simple. It enables all the clients to know when to communicate with each other. basis to announce their continued presence in the network. where each client is autonomous and can initiate a conversation at will. the sensor wakes up instantly and transmits the alert (“Somebody is on the front porch”). When an event occurs. The recipient may not here the call or the channel might already be in use Beacon Mode is a mechanism for controlling power consumption in extended networks such as cluster tree or mesh. The primary value of beacon mode is that it reduces the system’s power consumption Non-beacon mode is typically used for security systems where client units. It operates like a two-way radio network. and glass-break detectors. the two-way radio network has a central dispatcher that manages the channel and arranges the calls. yet random. sleep 99. such as intrusion sensors. motion detectors. Department of Computer Science. Sixteen equal time slots are allocated between beacons are message delivery. Beacon mode is more suitable when the network coordinator is battery-operated. Remote units wake up on a regular. enabling them to save power. If no messages are pending. Once the client communications are completed.015 and 252 s).

Longer intervals of sleep mean that the timer must be more accurate or turn on earlier to make sure that the beacon is heard.2. 5. An acknowledgment frame.3. This frame is shouwn in fig. CUSAT 19 . keeping oscillator circuit costs low. A Mac command frame provides the mechanism for remote control and configuration of client Department of Computer Science. used by a coordinator to transmit beacons. The beacon frame wakes up client devices. A data frame.1 Frame Structure The frame structures have been designed to keep the complexity to minimum while at the same time making them sufficiently robust for transmission on a noisy channel.4 MAC defines four frame structures: A beacon frame. The frame is numbered to ensure that all packets are tracked. 5. Beacons are important for mesh and cluster-tree networks to keep all the nodes synchronized without requiring those nodes to consume precious battery energy by listening for long periods of time. which listen for their address and go back to sleep if they don’t receive it.15. used for confirming successful frame reception It provides feedback from the receiver to the sender confirming that the packet was received without error. The IEEE 802. The data frame provides a payload of up to 104 bytes. used for all transfers of data. The device takes advantage of specified “quiet time” between frames to send a short packet immediately after the data-packet transmission. Each successive protocol layer adds to the structure with layer-specific headers and footers. This frame structure improves reliability in difficult conditions. A frame-check sequence ensures that packets are received without error. A MAC command frame. both of which will increase receiver power consumption. Longer sleep intervals also mean the timer must improve the quality of the timing oscillator circuit (which increases cost) or control the maximum period of time between because to not exceed 252s. used for handling all MAC peer entity control transfers.ZigBee: Next Generation Wireless Network This timing requirement may have an impact on the cost of the timing circuit in each end device.

A centralized network manager uses MAC to configure individual clients’ command frames no matter how large the network The data frame is illustrated below in fig 5.3: Fig 5.3 ZigBee’s Data Frame The Physical Protocol Data Unit is the total information sent over the air. CUSAT 20 . illustration above the Physical layer adds the following overhead: As shown in the Preamble sequence Start of Frame Delimiter Frame Length : : : 4 Octets 1 Octet 1 Octet The MAC adds the following overhead: Frame control Data Sequence Number Address Information : 2 Octets : : 1 Octet 4 to 20 Octets Department of Computer Science.ZigBee: Next Generation Wireless Network nodes.

5. the PAN coordinator may dedicate portions of the active superframe to that application. All transactions shall be completed by the time of the next network beacon. The superframe is bounded by network beacons.2. 5. These portions are called guaranteed time slots (GTSs). The format of the superframe is defined by the coordinator. The beacons are used to synchronize the attached devices.ZigBee: Next Generation Wireless Network Frame Check Sequence : 2 Octets The total overhead for a single packet is therefore 15 – 31 octets (120 bits). CUSAT 21 . Any device wishin to communicate during the contention access period (CAP) between two beacons shall compete with other devices using a slotted CSMA-CA mechanism.4. depending upon the addressing scheme used (short or 64 bit addresses).4 ZigBee’s super frame structure bounded by two beacons For the low latency applications or applications requiring specific data bandwidth. which always appears at the end of the active superframe starting at a slot boundary Department of Computer Science. is sent by the coordinator and is divided into 16 equally sized slots as shown in fig 5. Fig. These numbers do not include any security overhead. to identify the PAN and to describe the structure of the superframes. The guaranteed time slots comprise the contention free period (CFP).2 Super Frame Structure The LR-WPAN standard allows the optional use of a superframe structure.

and mesh as shown in fig 5. Fig. All other devices. directly communicate with the coordinator. In a star topology. The NWK layer supports multiple network topologies including star.3 Network and Security Layer (NWK) The NWK layer associates or dissociates devices using the network coordinator implements security.5 ZigBee’s superframe structure with contention access and free period 5. cluster tree. 5. as shown in fig. and routes frames to their intended destination. known as end devices.5. the PAN coordinator may allocate up to seven of these GTSs and a GTS may occupy more than one slot period. However. Department of Computer Science. In addition. a sufficient portion of the CAO shall remain for contention-based access of other networked devices or new devices wishing to join the network.6 and fig 5. one of the FFD-type devices assumes the role of network coordinator and is responsible for initiating and maintaining the devices on the network. 5. the NWK layer of the network coordinator is responsible for starting a new network and assigning an address to newly associated devices.7. All contention-based transactions shall be complete before the CFP begins. CUSAT 22 . Also each device transmitting in a GTS shall ensure that its transaction is complete before the time of the next GTS or the end of the CFP.ZigBee: Next Generation Wireless Network immediately following the CAP.

the ZigBee coordinator is responsible for starting the network and for choosing key network parameters. you can configure simple networks of more than 65.000 (216) nodes. but the network may be extended through the use of ZigBee routers. Department of Computer Science. The routing algorithm uses a request-response protocol to eliminate sub-optimal routing. Ultimate network size can reach 264 nodes (more than we’ll probably need). Using local addressing.ZigBee: Next Generation Wireless Network Fig. CUSAT 23 .6 Star and pear-to-pear network topology In a mesh topology. thereby reducing address overhead. 5.

and forwarding messages between bound devices.g. CUSAT 24 . Department of Computer Science.7 Cluster tree topology 5. which is the ability to determine which responsibilities of the ZDO include defining the role of the device within the network (e. initiating and/or responding to binding requests and establishing a secure relationship between network devices. the ZDO and the manufacturer-defined application objects.ZigBee: Next Generation Wireless Network Pan Coordinator Cluster Head Device Fig 5. The ZigBee application layer consists of the APS sub-layer. The responsibilities of the APS sub-layer include maintaining tables for binding. which is the ability to match two devices together based on their services and their needs. Another responsibility of the APS sub-layer is discovery.4 Application Layer. ZigBee coordinator or end device). The manufacturer-defined application objects implement the actual applications according to the ZigBeedefined application descriptions.

g. Currently. corresponding remote-control devices. events. CUSAT 25 . The General Operation Framework (GOF) is a glue layer between applications and rest of the protocol stack.4. the GOF specifies methods.ZigBee: Next Generation Wireless Network 5. such as type of device. ZigBee may secure messages transmitted over Department of Computer Science.2 Application Support Layer This layer provides the following services: Discovery: The ability to determine which other devices are operating in the personal operating space of a device. It includes switching and dimming load controllers. Actual application profiles are defined in the individual profiles of the IEEE’s working groups. ZigBee coordinator or end device) Initiates and/or responds to binding requests Establishes a secure relationship between network devices selecting one of ZigBee’s security methods such as public key. beacon. Commercial and Residential Lighting. Each ZigBee device can support up to 30 different profiles. and acknowledgment frame. only one profile. 5. and coordinators using an object model.4. and data formats that are used by application profiles to construct set/get commands and their responses. sleep modes. power source. and occupancy and light sensors.1 ZigBee Device Object Defines the role of the device within the network (e. ZigBee uses MAC layer security to secure MAC command. symmetric key etc. It includes sub-addressing and addressing modes and device descriptions. ZigBee Security When security of MAC layer frames is desired. is defined. The GOF currently covers various elements that are common for all devices. 6. Binding: The ability to match two or more devices together based on their services and their needs and forwarding messages between bound devices.

This number will only increase as more devices are controlled or monitored from a distance. commercial. and authenticity of MAC frames. and then uses this key to process the frame according to the security suite designated for the key being used. we will need to put them under a single standardized control interface that can interconnect into a network. for the reason that it enables reduced costs of development. CUSAT 26 . but for multi-hop messaging ZigBee relies upon upper layers (such as the NWK layer) for security. Five years ago. The MAC layer does the security processing. For the last few years. Now the number of devices is uncountable. industrial and government markets worldwide”. Each key is associated with a single security suite and the MAC frame header has a bit that specifies whether security for a frame is enabled or disabled. Unwired applications are highly sought after in many networks that are characterized by numerous nodes consuming minimum power and enjoying long battery lives. ZigBee Applications The ZigBee Alliance targets applications “Across consumer. 7.ZigBee: Next Generation Wireless Network single hop using secured MAC data frames. The MAC layer uses the Advanced Encryption Standard (AES) as its core cryptographic algorithm and describes a variety of security suites that use the AES algorithm. it looks at the destination (source) of the frame. When the MAC layer transmits (receives) a frame with security enabled. we have witnessed a great expansion of remote control devices in our day-today life. very fast market adoption and rapid ROI. integrity. infrared (IR) remotes for the television were the only such devices in our homes. ZigBee applications can be divided into the following groups. but the upper layers. retrieves the key associated with that destination (source).. To interact with all these remotely controlled devices. which set up the keys and determine the security levels to use. These suites can protect the confidentiality. control this processing. ZigBee technology is designed to best suit these applications. Home networking Industrial control and management Human and computer interface Department of Computer Science. specifically a HAN or home-area network.

“The Home” is receiving a lot of attention lately as the place that could do with a lot of new technology. Why would we all want to do that? In fact.ZigBee: Next Generation Wireless Network Smart dust Intrusion sensors. and game consoles around the home. PC networking is clearly in the ascendancy at present. It may well pick up steam though also as a result of broadband connections –transferring those music and video files from the PC to the home entertainment system perhaps. connecting two or more PCs to a single broadband connection to the Internet as well as printers and other resources that can be shared. stereos. Of these. where one group of applications offers electronic control of heating. The second typically involves connecting the TC to the Stereo system. motion detectors and glass break detectors. key chains ad pens. the home networking market appears to be fragmented into four different application areas: PC networking. Home appliances. Home control. all utility meters. Some of it seems like wishful thinking. Home entertainment distribution. fridge and even toaster – to a single home network that is then connected to the internet does not stand up to much scrutiny at this time. TV and DVD players to the security system. Ideas that we want to connect all our electronic devices at home – from PCs. stereos. Department of Computer Science. lighting and security systems. for example. as a direct result of the rollout of broadband connections to the home. Then there is Microsoft’s work on SPOT (Smart Personal Object Technology) that seems to be a way for Microsoft to try to “Improve” everyday household objects like alarm clocks. CUSAT 27 . where your fridge can access recipes on the Internet or shop on your behalf and your washing machine can call a service engineer. and looks a little less certain as a mass market. microwave oven. sharing content among televisions.

military purposes. Department of Computer Science. “Smart Dust” may not be the subject matter of science fiction any longer – the advent of ZigBee and other wireless protocols suitable for sensor networks is pushing the technology to the next level. computational ability. The goal of the Smart Dust project is to build a self-contained. Using ZigBee we can reduce energy costs through optimized manufacturing process and to identify inefficient operation or poorly performing equipment. and a power supply. This device will be around the size of a grain of sand and will contain sensors. CUSAT 28 . Smart dust an emerging technology can be used for various purposes such as surveillance. millimeter-scale sensing and communication platform for a massively distributed sensor network. bidirectional wireless communications. weather monitoring and many other things which are still beyond reach. while being inexpensive enough to deploy by the hundreds.ZigBee: Next Generation Wireless Network Industrial automation includes extending existing manufacturing and process control systems reliably and improve asset management by continuously monitoring critical equipment.

Minorchanges to Bluetooth or ZigBee won’t change their inherent behaviour or characteristics. ZigBee has addressed sensors. The different Department of Computer Science. Lots of products compliant to Bluetooth version 1. Bluetooth has addressed a voice application by embodying a fast frequency hopping system with a master slave protocol. We have already seen all the aspects of both ZigBee and Bluetooth.ZigBee: Next Generation Wireless Network 8. Will ZigBee be able to compete with Bluetooth in the market? And if yes. Conclusion Bluetooth has already matured and graduated to version 1. and other short message applications by embodying a direct sequence system with a star or peer-to-peer protocols. controls. The differences are from their approach to their desired application. behaviours come from architectural differences. CUSAT 29 . And hence can be concluded that ZigBee and Bluetooth are two solutions for two different application areas.1 are available on the market. will it replace Bluetooth? This question is asked by the people where since ZigBee came to the market.2 after its initial hype.

“Computer Networks”. Pearson Publication Limited.pdf http://www.wikipedia.org/en/about/initial_markets/1_app_home. Ross.org/wiki/Zigbee Behrouz A. CUSAT 30 .org/en/documents/zigbeeoverview4.asp http://www. Fourth Edition.ieee.sigbee. 2004 [10] James Kurose & Keith W. Fourth Edition.com/zigbee/tutorials.zigbee.palowireless. “Wireless Communication and Networks”.doc http://en. Tenenbaum.org http://www.asp http://www. “Computer Networks”. Frouzan. Bibliography [1] [2] [3] [4] [5] [6] [7] http://www.ZigBee: Next Generation Wireless Network 9.zigbee. 2004 [8] Andrew S. Third Edition.org/en/resources/031418r00ZB-MG-ZigBeeTechnology. Pearson Publication Limited. “Data Communication”.standards. 2004 Department of Computer Science. Tata McGraw-Hill Publishing company Limitted. 2003 [9] William Stalling. Fourth Edition Pearson Publication Limited.

Sign up to vote on this title
UsefulNot useful