Mesh networking is a powerful way to route data. Range is extended by allowing data to hop node to node and reliability is increased by “self healing,” the ability to create alternate paths when one node fails or a connection is lost. One popular mesh networking protocol is ZigBee, which is specifically designed for low-data rate, low-power applications. Digi International offers several products based on ZigBee. Additionally, Digi has developed an alternate mesh protocol named DigiMesh. Both ZigBee and DigiMesh offer unique advantages important to different applications, and this paper discusses those advantages.
ZigBee Nodes
The ZigBee Protocol defines three types of nodes: Coordinators, Routers and End Device, with a requirement of one Coordinator per network. While all nodes can send and receive data, there are differences in the specific roles they play.
Coordinators are the most capable of the three node types. There is exactly one coordinator in each network and it is the device that establishes the network originally. It is able to store information about the network, including security keys.
Routers act as intermediate nodes, relaying data from other devices.
End Devices can be low-power / battery-powered devices. They have sufficient functionality to talk to their parents (either the coordinator or a router) and cannot relay data from other devices. This reduced functionality allows for the potential to reduce their cost.
ZigBee offers these advantages:
• Open standard with interoperability between vendors
• Option for lower cost, reduced function end nodes
DigiMesh Nodes
DigiMesh has only one node type. As a homogenous network, all nodes can route data and are interchangeable. There are no parent-child relationships. All can be configured as low-power / battery- powered devices.
DigiMesh offers these advantages:
• Network setup is simpler
• More flexibility to expand the network
• Increased reliability in environments where routers may come and go due to interference or damage sleeping Routers
Allowing a node to sleep reduces power consumption, which is especially helpful for nodes that are battery powered. Currently, ZigBee allows for End Devices to sleep but not Routers or Coordinators. DigiMesh allows all nodes to sleep, thereby increasing battery life.
Sleeping is allowed by time synchronization. Some systems require a gateway or coordinator to establish time synchronization. A significant advantage of DigiMesh is it eliminates the single point of failure associated with relying on a coordinator or gateway. Instead, DigiMesh establishes time synchronization through a nomination and election process, enabling the network to operate autonomously.
Additional Differences
Since ZigBee is an open standard, it offers the potential for interoperability with devices made by different vendors. This provides the ability to have over-the-air firmware updates. Furthermore, ZigBee offers established profiles for common applications such as energy management and lighting controls. A good selection of diagnostic support tools, like RF packet sniffers, is also available.
DigiMesh, as a proprietary protocol, allows for tighter control of code space and therefore more room for growth in features. DigiMesh is available on platforms with longer range and more RF data rate options. Frame payload is generally larger, which can improve throughput for applications that send larger data blocks. Additionally, DigiMesh uses a simplified addressing method, which improves network setup and trouble shooting.
Conclusion
ZigBee and DigiMesh are excellent mesh networking protocols with distinct advantages. So, which is right for you? In general terms, here is a guide.
Choose ZigBee if you need:
• Open standard based product
• Potential for interoperability with devices made by different vendors
• Over-the-air firmware upgrades
Choose DigiMesh if you need:
• Ability to sleep on all nodes
• Simplified network setup and expansion
• More robust mesh networks (no Parent/Child dependencies). Fast 900 MHz (up to 156 Kbps)
• Longer range options, up to 40 miles (64 km) for each hop Larger frame payloads
• Smaller code space to allow more room for specialized features