How the Zigbee Specification is Shaping the Internet of Things
Zigbee is an open source spec for Wireless Personal Area Network (WPAN) communication that allows Zigbee-certified products to connect and communicate using the same IoT language. Companies that utilize and support Zigbee are part of the Zigbee Alliance. To date, the Zigbee Alliance contains over 500 companies, all of which work together to create and utilize Zigbee in their product design. Some of the most noticeable companies in the Zigbee Alliance include Comcast, Honeywell, IKEA, Legrand, Samsung SmartThings, and Amazon.
Zigbee was first published in December 2004 and was most recently updated in August 2015. It was designed to be used with control and sensor networks and implements AES-128 encryption.
Zigbee operates on a 2.4 gigahertz (GHz) radio frequency. As seen in the table below, this high level radio frequency gives Zigbee a speed of 250 kilobits per second (kbps) and 16 channels.
The above frequency table comes from the IEEE 802.15.4 Specification. The IEEE 802.15.4 Specification is the foundation for Zigbee. It specifies the physical layer and media access control for low-rate WPANs. The IEEE 802.15.4 Specification provides designs for the following:
- The mechanism for creating and joining networks.
- The carrier-sense multiple access (CSMA) mechanism, a mechanism for sending over packets and avoiding collisions
- The link layer, a layer for acknowledging and writing messages between devices.
Zigbee is short range, which means it can only give a jolt that reaches 10-100 meters with line-of-sight (LOS) propagation. In order for Zigbee devices to be successful, there must be a line-of-site between the devices. While signals can be set up to bounce, it is not a reliable form of communication on the Zigbee network.
The Zigbee Network
Network nodes are the physical devices that make up a network. Each network can only support a finite number of nodes; if too many nodes are added to the network, they begin to compete with each other and stop functioning successfully.
Zigbee functions on lower frequencies so its network speed is relatively slow. The Zigbee network has a maximum signal rate of 250 kbps, which limits the network to text-made instructions, as audio or video communication is not usable.
However, the lower network speed also means that Zigbee is able to integrate more nodes into a single network. For example, a Bluetooth network typically holds 20 nodes, while a Zigbee network can support 65,000 nodes.
The Zigbee network is also relatively cheap to install because the electrical components are quite cheap. All of these factors together make the Zigbee network ideal for smart home and control center installations.
The Devices of the Zigbee Network
Each node in a Zigbee network is defined as one of three device types:
- Coordinator: The orchestral director for the whole network. The coordinator controls the communication of all of the devices on the network.
- Router: Responsible for relays and strengthening the signal over distances. With a router, the Zigbee network is able to extend past the default 100 m jolt.
- End Device: These are the devices you think of when you use your Zigbee network, such as smart lights or thermostats. The end devices are the devices you are able to use thanks to the coordinator, router, and network.
The devices in a Zigbee network can be set up in three main topologies:
Most home or personal networks use a star topology because it is simple to set up. As you can see from the photo above, the star topology is not very fold-tolerant. If one of the devices goes down, it is no longer able to communicate with the rest of the network.
The cluster three and mesh topologies are more robust, and therefore more likely to be used for industrial configurations. The cluster three topology sets up the coordinator in the middle with multiple routers connected around it. Each router is then connected to several end devices. In this setup, when a router goes offline, you only lose the connection to a portion of your devices.
The mesh topology is the ultimate setup. The devices are connected to multiple routers so that if one router goes offline, the signal can still keep bouncing between other routers. This ensures that small system failures will not derail the network’s productivity.
Energy Harvesting with Zigbee
The slow speeds of the Zigbee network means that the network itself requires relatively little power to operate. In fact, some devices that utilize the Zigbee network have been able to integrate self-powering solutions. Some of the most common solutions have included:
- Piezoelectricity: On compression, these devices can generate their own electricity. For example, self-powered buttons are able to generate enough electricity when pushed that they don’t need to be connected to an electrical current.
- Photovoltaic Solutions: These devices do not generate their own electricity but, given their relatively low electricity requirements, are able to sustain purely on photovoltaic generation.
- Electromagnetic Induction: These devices depend on constant movement to generate the electricity they need, making their use case quite narrow. The most common example is seen in watches that can induct electricity from the movement of your wrist.
- Blood sugar oxidation: This is limited to health monitoring implants. These devices can turn natural blood sugar oxidation into energy.
The Zigbee network is commonly used in a number of practical applications, including:
- Home Automation: One of the most common uses for IoT technology is home automation. Many smart homes rely on Zigbee networks to communicate.
- Wireless Implantable Medical Devices: Some of the most common Zigbee medical devices include cochlear implants, pacemakers, insulin pumps, deep brain neurotransmitters, gastric simulators, and food drop implants.
- Security systems: Zigbee networks are ideal for most home and office security systems. One of the most popular home security companies, Honeywell, uses Zigbee for nearly all of their devices.
- Control systems: Control systems are those systems where the touch of a button turns on lights, adjusts the thermostat, or controls a different feature in your home or office. While a Zigbee network may seem unnecessary for a single light and switch, when it is scaled to an industrial level, its low cost and power usage make it one of the most viable options.
Zigbee in Your Life
As mentioned previously, many large companies, such as Comcast, IKEA, Legrand, Samsung SmartThings, and Amazon, create products that are compatible with Zigbee.
For example, you can connect your Amazon Alexa to the Zigbee network as a hub and connect all of your other IoT devices to your Alexa, thereby allowing your Alexa to control devices around your house. If you have Samsung SmartThings, you can send messages via Zigbee to control your television and other smart devices.
Additional IoT Protocols
While Zigbee is a formidable force in the WPAN market, it is not the only IoT protocol on the market. Some of the other IoT protocols competing with Zigbee include:
- Bluetooth 5
- Wi-Fi HaLow
These other IoT protocols each have their own unique benefits, and can sometimes be the more advantageous option based on the applications you want to use. For the home or small office though,I believe that Zigbee’s advantages should make it the first you consider when setting up a WPAN.