Zigbee: Zigbee Is An Ieee 802.15.4-Based Specification For A Suite of High-Level Communication
Zigbee: Zigbee Is An Ieee 802.15.4-Based Specification For A Suite of High-Level Communication
Overview
ZigBee is a low-cost, low-power, wireless mesh network standard targeted at the wide
development of long battery life devices in wireless control and monitoring applications. Zigbee
devices have low latency, which further reduces average current. ZigBee chips are typically
integrated with radios and with microcontrollers that have between 60-256 KB flashes memory.
ZigBee operates in the industrial, scientific and medical (ISM) radio bands: 2.4 GHz in most
jurisdictions worldwide; 784 MHz in China, 868 MHz in Europe and 915 MHz in the USA and
Australia. Data rates vary from 20 kbit/s (868 MHz band) to 250 kbit/s (2.4 GHz band).
The ZigBee network layer natively supports both star and tree networks, and generic mesh
networking. Every network must have one coordinator device, tasked with its creation, the control
of its parameters and basic maintenance. Within star networks, the coordinator must be the central
node. Both trees and meshes allow the use of ZigBee routers to extend communication at the
network level.
ZigBee builds on the physical layer and media access control defined in IEEE standard
802.15.4 for low-rate WPANs. The specification includes four additional key components: network
layer, application layer, ZigBee device objects (ZDOs) and manufacturer-defined application objects
which allow for customization and favor total integration. ZDOs are responsible for some tasks,
including keeping track of device roles, managing requests to join a network, as well as device
discovery and security.
ZigBee is one of the global standards of communication protocol formulated by the
significant task force under the IEEE 802.15 working group. The fourth in the series, WPAN Low
Rate/ZigBee is the newest and provides specifications for devices that have low data rates, consume
very low power and are thus characterized by long battery life. Other standards like Bluetooth and
IrDA address high data rate applications such as voice, video and LAN communications.
Use cases
ZigBee protocols are intended for embedded applications requiring low power consumption
and tolerating low data rates. The resulting network will use very small amounts of power —
individual devices must have a battery life of at least two years to pass ZigBee certification.
Typical application areas include:
• Home Entertainment and Control — Home automation such as in QIVICON, smart lighting,
advanced temperature control, safety and security, movies and music
• Wireless sensor networks — Starting with individual sensors like Telosb/Tmote and Iris
from Memsic
• Industrial control
• Embedded sensing
• Medical data collection
• Smoke and intruder warning
• Building automation
Application profiles
The current list of application profiles either published, or in development are:
Released specifications
ZigBee Home Automation 1.2
• Smart Energies 1.1b
• Telecommunication Services 1.0
• Health Care 1.0
• RF4CE – Remote Control 1.0
• RF4CE – Input Device 1.0
• Remote Control 2.0
• Light Link 1.0
• IP 1.0
• Building Automation 1.0
• Gateway 1.0
• Green Power 1.0 (Optional battery-less remote control feature of ZigBee 2012)
• Retail Services
Specifications under development
ZigBee Smart Energy 2.0
• Smart Energy 1.2/1.3
• Light Link 1.1
• Home Automation 1.3
The ZigBee Smart Energy V2.0 specifications define an Internet protocol to monitor,
control, inform and automate the delivery and use of energy and water. It is an enhancement of the
ZigBee Smart Energy version 1 specifications.[15] It adds services for plug-in electric vehicle
charging, installation, configuration and firmware download, prepay services, user information and
messaging, load control, demand response and common information and application profile
interfaces for wired and wireless networks. It is being developed by partners including:
• HomeGrid Forum responsible for marketing and certifying ITU-T G.hn technology and
products
• HomePlug Powerline Alliance
• International Society of Automotive Engineers SAE International
• IPSO Alliance
• SunSpec Alliance
• Wi-Fi Alliance.
In 2009, the RF4CE (Radio Frequency for Consumer Electronics) Consortium and ZigBee
Alliance agreed to deliver jointly a standard for radio frequency remote controls. ZigBee RF4CE is
designed for a broad range of consumer electronics products, such as TVs and set-top boxes. It
promised many advantages over existing remote control solutions, including richer communication
and increased reliability, enhanced features and flexibility, interoperability, and no line-of-sight
barrier. The ZigBee RF4CE specification lifts off some networking weight and does not support all
the mesh features, which is traded for smaller memory configurations for lower cost devices, such
as remote control of consumer electronics.
With the introduction of the second ZigBee RF4CE application profile in 2012 and increased
momentum in MSO market, the ZigBee RF4CE team provides an overview on current status of the
standard, applications, and future of the technology.
Radio hardware
The radio design used by ZigBee has been carefully optimized for low cost in large scale
production. It has few analog stages and uses digital circuits wherever possible.
Though the radios themselves are inexpensive, the ZigBee Qualification Process involves a
full validation of the requirements of the physical layer. All radios derived from the same validated
semiconductor mask set would enjoy the same RF characteristics. An uncertified physical layer that
malfunctions could cripple the battery lifespan of other devices on a ZigBee network. ZigBee radios
have very tight constraints on power and bandwidth. Thus, radios are tested with guidance given by
Clause 6 of the 802.15.4-2006 Standard. Most vendors plan to integrate the radio and
microcontroller onto a single chip getting smaller devices.
This standard specifies operation in the unlicensed 2.4 GHz (worldwide), 915 MHz
(Americas and Australia) and 868 MHz (Europe) ISM bands. Sixteen channels are allocated in the
2.4 GHz band, with each channel spaced 5 MHz apart, though using only 2 MHz of bandwidth. The
radios use direct-sequence spread spectrum coding, which is managed by the digital stream into the
modulator. Binary phase-shift keying (BPSK) is used in the 868 and 915 MHz bands, and offset
quadrature phase-shift keying (OQPSK) that transmits two bits per symbol is used in the 2.4 GHz
band.
The raw, over-the-air data rate is 250 kbit/s per channel in the 2.4 GHz band, 40 kbit/s per
channel in the 915 MHz band, and 20 kbit/s in the 868 MHz band. The actual data throughput will
be less than the maximum specified bit rate due to the packet overhead and processing delays. For
indoor applications at 2.4 GHz transmission distance may be 10–20 m, depending on the
construction materials, the number of walls to be penetrated and the output power permitted in that
geographical location.[21] Outdoors with line-of-sight, range may be up to 1500 m depending on
power output and environmental characteristics. The output power of the radios is generally 0-20
dBm (1-100 mW).
Software
The software is designed to be easy to develop on small, inexpensive microprocessors. For
more detail, please use one or more of the sources listed in the References section below, or go
directly to the ZigBee Alliance web site using the External links provided below.
Network layer
The main functions of the network layer are to enable the correct use of the MAC sublayer
and provide a suitable interface for use by the next upper layer, namely the application layer. Its
capabilities and structure are those typically associated to such network layers, including routing.
On the one hand, the data entity creates and manages network layer data units from the
payload of the application-layer and performs routing according to the current topology. On the
other hand, there is the layer control, which is used to handle configuration of new devices and
establish new networks: it can determine whether a neighboring device belongs to the network and
discovers new neighbors and routers. The control can also detect the presence of a receiver, which
allows direct communication and MAC synchronization.
The routing protocol used by the network layer is AODV. To find the destination device, it
broadcasts out a route request to all of its neighbors. The neighbors then broadcast the request to
their neighbors and onward until the destination is reached. Once the destination is reached, it sends
its route reply via unicast transmission following the lowest cost path back to the source. Once the
source receives the reply, it will update its routing table for the destination address of the next hop
in the path and the path cost.
Application layer
The application layer is the highest-level layer defined by the specification and is the
effective interface of the ZigBee system to its end users. It comprises the majority of components
added by the ZigBee specification: both ZDO and its management procedures, together with
application objects defined by the manufacturer, are considered part of this layer.
Main components
The ZDO (ZigBee Device Object), a protocol in the ZigBee protocol stack, is responsible for
overall device management, security keys, and policies. It is responsible for defining the role of a
device as either coordinator or end device, as mentioned above, but also for the discovery of new
(one-hop) devices on the network and the identification of their offered services. It may then go on
to establish secure links with external devices and reply to binding requests accordingly.
The application support sublayer (APS) is the other main standard component of the layer,
and as such it offers a well-defined interface and control services. It works as a bridge between the
network layer and the other elements of the application layer: it keeps up-to-date binding tables in
the form of a database, which can be used to find appropriate devices depending on the services that
are needed and those the different devices offer. As the union between both specified layers, it also
routes messages across the layers of the protocol stack.