ZigBee
Categories: Wireless networking | IEEE 802 | Domotics
ZigBee is a published specification set of high level communication protocols designed to use small, low power digital radios based on the IEEE 802.15.4 standard for wireless personal area networks (WPANs). The relationship between IEEE 802.15.4 and ZigBee is analogous to that existing between IEEE 802.11 and the Wi-Fi Alliance. The ZigBee 1.0 specifications were ratified on December 14, 2004 and are available to members of the ZigBee Alliance. An entry level membership in the ZigBee Alliance costs US$ 3500 and provides access to the specifications. For non-commercial purposes, the ZigBee specification is available to the general public at the Zigbee Alliance homepage.
The technology is designed to be simpler and cheaper than other WPANs such as Bluetooth. The most capable ZigBee node type is said to require only about 10% of the software of a typical Bluetooth or Wireless Internet node, while the simplest nodes are about 2%. However, actual node sizes are much higher, more like 50% of Bluetooth code size. ZigBee chip vendors announced 128 kByte devices.
As of 2005, the estimated cost of the radio for a ZigBee node is about $6 to the manufacturer in very high volumes. Most ZigBee solutions require an additional micro controller driving the price further up at this time. It should be mentioned that before Bluetooth was launched (1998) it had a projected price, in high volumes, of $4-$6. The price of consumer grade Bluetooth chips are now under $3.
ZigBee has started work on version 1.1.
Contents |
Uses
ZigBee is aimed at applications with low data rates and low power consumption. ZigBee's current focus is to define a general-purpose, inexpensive self-organizing mesh network that can be shared by industrial controls, medical devices, smoke and intruder alarms, building-automation and home automation. The network is designed to use very small amounts of power, so that individual devices might run for a year or two with a single alkaline battery.
Device types
There are three different types of ZigBee devices: The most capable is a "ZigBee coordinator." It might bridge to other networks, and forms the root of the network tree. It is able to store information about the network. There is exactly one ZigBee coordinator in each network. A "full function device" (FFD) can act as an intermediate router, passing data from other devices. A "reduced function device" (RFD) is just smart enough to talk to the network; it cannot relay data from other devices. An RFD requires less memory, and therefore should be less expensive to manufacture, than an FFD. Similarly, an FFD requires less memory, and therefore should be less expensive to manufacture, than a ZigBee coordinator.
Protocols
The protocols build on recent algorithmic research to automatically construct a low-speed ad-hoc network of nodes. In most large cases, the network is a cluster of clusters. It can also form a mesh or a single cluster.
The ZigBee protocols support both beaconing and non-beaconing networks. In beaconing networks, the network nodes transmit beacons to confirm their presence to other network nodes, and to allow nodes to sleep between beacons, thereby lowering their duty cycle and extending their battery life. Beacon intervals may range from 15.36 milliseconds to 15.36 ms * 214 = 251.65824 seconds at 250 kbit/s, from 24 milliseconds to 24 ms * 214 = 393.216 seconds at 40 kbit/s and from 48 milliseconds to 48 ms * 214 = 786.432 seconds at 20 kbit/s; to obtain the benefits of low duty cycle operation with long beacon intervals, however, precise timing is needed, which can conflict with the need for low product cost. In non-beaconing networks, most devices typically have their receivers continuously active, requiring a more robust power supply; however, this enables heterogeneous networks, in which some devices receive continuously while some remain asleep, transmitting only when an external stimulus is detected. The typical example of a heterogeneous network is the wireless light switch: The ZigBee node at the lamp may receive constantly, since it is connected to the mains supply, while the battery-powered light switch remains asleep until the switch is thrown. The switch then wakes up, sends a command to the lamp, receives an acknowledgement, and returns to sleep. In such a network the lamp node is at least an FFD, if not the ZigBee coordinator; the switch node is typically an RFD.
In general, the ZigBee protocols minimize the time the radio is on in order to reduce the power used by the radio. In beaconing networks the network synchronizes nodes to talk and listen at particular times when they have anything to hear or say. In non-beaconing networks, power consumption is more asymmetrical; some devices are constantly active, while others (if present) are almost always asleep.
ZigBee uses the IEEE 802.15.4 Low-Rate Wireless Personal Area Network (WPAN) standard to describe its lower protocol layers—the physical layer (PHY), and the medium access control (MAC) portion of the data link layer (DLL). This standard specifies operation in the unlicensed 2.4 GHz, 915 MHz and 868 MHz ISM bands. The radio uses DSSS which is managed by the digital stream into the modulator. Conventional DSSS is employed in the 868 and 915 MHz bands, while an orthogonal signaling scheme that transmits four bits per symbol is employed 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. Transmission range is between 10 and 75 metres (33~246 feet).
The basic mode of channel access specified by IEEE 802.15.4 is "carrier sense, multiple access" (CSMA/CA), that is, the nodes talk in the same way that people converse; they briefly check to see that no one is talking before they start. Beacons, however, are sent on a fixed timing schedule, and do not use CSMA. Message acknowledgements also do not use CSMA.
Software and hardware
The software is designed to be easy to code for small, cheap microprocessors. The radio design utilized by ZigBee has been carefully optimized for low cost. It has few analog stages and uses digital circuits wherever possible. Most vendors plan to put the radio on a single chip. (An interesting link: [1] look for the USB Dongle)
History
- ZigBee-style networks began to be conceived near 1998, when many engineers realized that both WiFi and Bluetooth were going to be unsuitable for many applications. In particular, many engineers wanted to design self-organizing ad-hoc networks of digital radios. The simple one-chip design of Bluetooth digital radios was also inspirational for many engineers.
- The IEEE 802.15.4 standard was completed in May 2003.
- In the summer of 2003, Philips Semiconductors, a major promoter, ceased its investment. Philips Lighting has, however, continued Philips' participation, and Philips remains a promoter member on the ZigBee Alliance Board of Directors.
- The ZigBee Alliance announced in October 2004 that its membership had more than doubled in the past year and had grown to more than 100 member companies, in 22 countries. By April 2005 membership had grown to more than 150 companies.
- The ZigBee specifications were ratified on 14 December 2004.
- The ZigBee Alliance announces public availability of Specification 1.0 on 13 June 2005
Device Vendors
- Helicomm (802.15.4/ZigBee) - The "IP-Link" modules are battery-powered transceivers operating at 916 MHz and 2.4 GHz. The network consists of endpoints, optional routers, and a PC gateway. The endpoint boards measure 1.4×0.9×0.4 inches without case or antenna, but the assembled plastic enclosures are significantly larger.
- MaxStream (802.15.4/ZigBee) - The "XBee" products are 900 MHz and 2.4 GHz "wireless modems" with a serial UART interface. Operation seems to be peer-to-peer and mesh topologies are listed as "coming soon".
- Luxoft Labs (804.15.4/ZigBee) - MeshNetics(tm) is a Chipcon-based 2.4 GHz transceiver measuring 50 x 50 mm, and running a modified TinyOS firmware enhanced to support ZigBee. The devices are powered by dual AAA batteries and support RS-232F, ISP JTAG, and SPI/l2C interfaces.
- Crossbow Technology (802.15.4/ZigBee and nonstandard protocols) - Crossbow's MICA2, MICA2DOT, MICAz, and MCS Cricket radios are OEM modules compatible with a wide variety of Crossbow sensor modules (using the Atmel CPU). MICAz is the 2.4 GHz ZigBee radio (with Chipcon chipset). The Crossbows radios are relatively large, except for the MICA2DOT which is extremely small. The non-ZigBee versions use the open-source TinyOS stack, and support other frequencies such as 313.9-316.1 MHz, 433.1-434.8 MHz, 868-870 MHz, and 902-928 MHz.
- Millennial Net (ZigBee-like nonstandard protocol) - The MeshScape(tm) network consists of endpoints ("end node"), routers ("mesh node"), and a PC base station ("MeshGate"). The endpoints measure 1.5 x 0.6 inches for the OEM board; about twice that for the assembled demo board. The endpoints support typical analog/digital/USART sensor interface, and kits are available for 2.4 GHz and 916 MHz bands. NOTE: "MeshScape" is a renaming of Millennial Net's previous "i-Bean" (tm) brand.
- Dust Networks (802.15.4 but not ZigBee) - The SmartMesh(tm) transceivers ("motes") are OEM boards (1.2 x 1.1 inches) with a 3V Samtec MB1-130 interface supporting typical analog/digital/UART interfaces. Available in both 2.4 GHz (M2020) and 902-928 MHz (M1010) bands. The evaluation kit includes battery-powered plastic enclosures that are about 5" square.
- Innovative Wireless Technologies (802.15.4 and/or ZigBee) - The AXON(tm) transceiver modules utilize Chipcon radios and are available in 2.4 GHz, 915 MHz, and 868 MHz frequency bands. IWT also sells a nonstandard Synaptrix(tm) protocol stack that can be used with the same hardware.
- EnOcean (nonstandard mesh protocol) - The TCM 120/130 transceiver module is an 868.3 MHz OEM board measuring 24 x 42 x 5 mm. A limited mesh network can be formed using the TCM 110 repeater modules.
- Sensicast (802.15.4 or nonstandard mesh protocol) - They sell both retail packaged sensors and OEM boards that can participate in an endpoint/router/gateway mesh network ("SensiNet"). The endpoint modules are somewhat large compared to competitor products. Supported frequency bands include 900 MHz and 2.4 GHz. An 802.15.4 version is available (but not ZigBee).
Chip/Firmware Vendors
- Chipcon - The 2.4 GHz CC2420 is an 802.15.4/ZigBee compliant radio chip operating at 2.4 GHz.
- Freescale - The MC13193 is a 2.4 GHz RF transceiver data modem for ZigBee applications. Freescale also provides the full zigbee stack for its devices.
- Ember Corporation - The EM250, EM260, and EM2420 are 802.15.4/ZigBee compliant 2.4 GHz radio chips. A ZigBee protocol stack firmware called "EmberZNet" is available, and also a nonstandard version called "EmberNet".
- Atmel - The AT86RF210 Z-Link(tm) is an 802.15.4/ZigBee compliant radio chip operating at a frequency range of 868 MHz and 902–928 MHz.
- San Juan Software - Develops firmware, ZigBee application level software and gives on-site ZigBee training.
- Jennic - The JT24Z001 2.4 GHz Transceiver and JS24Z121 2.4 GHz System on a Chip (SoC) Device for IEEE 802.15.4 and ZigBee standards.
- Integration - 802.15.4/ZigBee compliant platforms, USB ZigBee Dongle, Training
- Wireless-Tools - 802.15.4/ZigBee compliant platforms, USB ZigBee Dongle, Training
Training Courses
- Systems & Network Training - IEEE 802.15.4 & ZigBee courses
Competing Technologies
- Bluetooth -- an industrial specification for wireless personal area networks (PANs)
- X10 -- A powerline protocol first introduced in the 1970's.
- INSTEON -- (http://www.insteon.net) Smarthome's peer-to-peer mesh networking product that features a hybrid radio/powerline transmission. Designed for home usage, and interoperates with X10.
- UPB -- (http://www.pcslighting.com/UPBMain.htm) A new powerline protocol that offers improved performance and reliability over X10.
- nanoNET -- (http://www.nanotron.com/) A proprietary set of wireless sensor protocols, designed to compete with ZigBee.
- Z-wave -- (http://www.z-wavealliance.com/) A proprietary protocol for wireless home control networking.
- TinyOS -- (http://www.tinyos.net/) A mesh network OS using the NesC language.
- European Installation Bus.
External links
- ZigBee
- ZigBee a Wireless Mesh ZigBee, a short overview of this wireless technology
- ZigBee Tutorial and Forum Includes information on Technology, Architecture, Devices, Comparisions and Applications.
- Wireless Sensing Solutions - WSS is an annual conference discussing ZigBee-related topics with exhibits by various vendors
- ZigBee Chatter Slashdot users discuss ZigBee technology
- Sun Microsystems SunSPOTS Sun Microsystems, SunSPOT
- Radio-Electronics.Com An overview of Zigbee
- IEEE 802.15.4 web site
- Zigbee Background information about Zigbee (in German)
- Circuit Cellar Article 1 and Circuit Cellar Article 2 help hobbyists use a Chipcon demonstration boardcs:ZigBee