Zigbee
Blog Credit: Trupti Thakur
Image Courtesy: Google
Zigbee Technology-The smart home protocol
Zigbee is a standards-based wireless technology developed to enable low-cost, low-power wireless machine-to-machine (M2M) and internet of things (IoT) networks. Zigbee is for low-data rate, low-power applications and is an open standard.
Zigbee is one of the wireless personal area network (WPAN) specifications. It is designed to meet low-power and low data rate applications and is developed under IEEE 802.15.4 standard by The Zigbee Alliance. Typically, Zigbee is used in establishing a smart home for devices from different manufacturers to communicate with each other to enable automation.
Hence, it is also called the smart home protocol. For example, the light system can be linked to the security cameras, and the coffee maker can be linked to the alarm system so that the coffee is ready for you when you wake up.
If we want a network for short-range communication for streaming audio, we opt for Bluetooth. For streaming videos and larger files, we use Wi-Fi. But, we need a network using which we can connect a large number of battery-powered devices. We can’t go for Wi-Fi because of its high energy requirements, and we can’t choose Bluetooth even though it consumes less power, as only a small number of devices can be connected using Bluetooth.
We need a network that can connect many battery-powered devices, and the main aspect here is low energy/ power consumption. This is the whole purpose of developing Zigbee Technology. Zigbee revolves around control and sensor networks. Hence, it is one of the most common standards and applications for the Internet of Things (IoT).
Zigbee networks use Mesh Topology, which gives a separate link for every device pair in the Network. Even if one link fails, the Network can utilize another alternate path/ link for communication. Hence, it is reliable.
Wi-Fi and Bluetooth networks, on the other hand, use Star topology, where each node/ device is connected to a central node that can be a hub, router, or switch. If the link to a device fails, the device gets disconnected from the Network. If the central node fails, the whole Network will be down.
The catch with these networks is that they offer a low data rate.
Network Supported data Rates (b-bit) Wi-Fi 1.73 Gbps2, 866.7 Mbps2, 450 Mbps3, 54 Mbps Bluetooth 24 Mbps, 3 Mbps, 700 Kbps Zigbee 250 kbps, 100 kbps, 40 kbps, 20 kbps The applications of Zigbee are designed in a way that the required data rate is low. For example, one of the biggest companies that use Zigbee technology is Amazon’s smart home services.
These networks are also secured with 128-bit AES symmetric encryption keys. A single Zigbee network can support up to 65,000 nodes. Zigbee also uses the same frequency band as the Wifi-2.4GHz Electromagnetic spectrum. The recent developments of Amazon and Google, like Alexa and Google Home, also support Zigbee connections.
A typical example is when you have a Zigbee-enabled light bulb and a Zigbee-enabled light switch and you want the light switch to control the light bulb. With Zigbee, the two devices – even if they’re from different manufacturers – speak a common language, so there’s no barrier to communication. ZigBee specifies three different device types: the ZigBee Coordinator (ZC), the ZigBee Router (ZR), and the ZigBee End Device (ZED). These three devices play different roles in a ZigBee network.
Architecture and Working
In a Zigbee network, there will be three types of devices:
- Zigbee Coordinator
- End device
- Zigbee Router
End Devices:
The End device is a battery-powered device that we use. These devices communicate with the Zigbee Coordinator.
Zigbee Routers:
- A Zigbee router isn’t the same as a Wi-Fi router. It can send information to the Coordinator and route data from Zigbee end devices to the Coordinator.
- The Zigbee router is a mains-powered device, which means it is directly connected to the house’s main power. So, there is no concern about its battery life.
Zigbee Coordinator:
- The Coordinator is also a mains-powered device, and every Zigbee network will have only one Coordinator.
- It is responsible for starting and maintaining the Network and selecting the network security mode.
- It receives the information from the end devices and bridges the information to the home network for us to access from our phones or tablets.
- There can be any Zigbee routers in a network but only one Coordinator.
- A Zigbee end device can’t route traffic.
- The Zigbee Coordinator can route traffic and is responsible for establishing the Network in the first place.
- Using the Zigbee routers, We can connect the end devices that are otherwise out of range.
- It helps with the mesh capabilities of the Network by providing alternate links if any one link fails during communication.
Advantages (Pros):
- Zigbee is the best Network for battery-powered devices as it allows them to turn off/ sleep when they aren’t used. When needed, the Network quickly wakes them up, thus saving power.
- Though battery-powered, Zigbee devices can have a good life span due to the Network’s power-saving capabilities.
- Zigbee is an open standard. There are a large variety of devices available from different manufacturers. Hence, Zigbee devices are available at low costs.
- The Network stays reliable due to its Mesh Topology.
- Extending a Wi-Fi network is more time-consuming and costly than extending a Zigbee network.
Disadvantages (Cons):
- If one Coordinator fails, the whole Network goes down.
- When the Coordinator is replaced, all the Zigbee devices aren’t automatically connected to the new Coordinator. Every connection has to be manually established again.
- The open standard of Zigbee brought compatibility issues. Not every Zigbee device is compatible with every Zigbee network. Even the devices from the same manufacturer as the other devices in a network might need to be compatible with the Network.
- Zigbee 3.0 forces the manufacturers to follow a specific standard to be certified, but it still needs to be implemented
- Due to its low bandwidth, Zigbee doesn’t support audio and Video applications like Doorbells and CCTV cameras.
Notable users of Zigbee in Smart home:
- Amazon
- Ikea
- Samsung
- Panasonic
- Bosch
- Huawei
- Philips
- Nokia
- Texas Instrumentals
- Belkin
The name Zigbee:
Isn’t the word Zigbee weird for technology? Here is the analogy behind the name. The word Zigbee refers to the waggle dance of honey bees. When a bee finds a source for nectar or pollen, it returns to the comb and dances to let its nest mates know the source’s location, distance, and direction. The bee in the name specifies it all. The Zigbee Alliance found the name suitable, intrigued by the silent yet powerful communication through dance.
Blog By: Trupti Thakur