Start With Roles
The coordinator forms the network. Routers act like cluster heads. End devices conserve energy by attaching to a parent instead of routing for others.
Form a coordinator-rooted cluster tree, watch devices associate, and diagnose depth, capacity, and failure tradeoffs.
A cluster-tree network is not just a drawing of sensors under hubs. It is a parent-child structure rooted at a coordinator: routers can accept children, end devices usually attach as leaves, and every extra level changes latency, load, and failure impact.
The coordinator forms the network. Routers act like cluster heads. End devices conserve energy by attaching to a parent instead of routing for others.
Step through scanning, parent choice, association, and data flow. Dashed lines are candidates; solid links are accepted parent-child relationships.
Change child capacity, depth, and link-quality threshold. A good cluster tree must leave devices a parent they can actually use.
The tree is scalable and low-overhead, but one overloaded or failed parent can isolate a whole branch until devices rejoin or repair.
Use presets first, then tune limits to see why a tree that looks neat can still fail learners in real deployments.
Click a phase to freeze the diagram at that teaching point.
The coordinator starts the network and makes itself the root. Routers and end devices can only join if a usable parent can hear them and still has child capacity.
The parent-selection score shown here is a teaching model using link quality, depth, and child capacity. Real stacks use their own network-layer procedures, neighbor tables, security rules, and implementation limits.
Choose Sparse agriculture. Raise the link threshold until the edge devices fail to join. Which limit blocked them first: weak link, full parent, or maximum depth?
Choose Overloaded parent, enable aggregation, then increase child capacity carefully. The goal is not maximum children; the goal is no isolated nodes and no overloaded parent.
Compare Deep warehouse with a shallow maximum depth. A shallow tree is easier to manage, but some devices need intermediate routers to reach the coordinator.
Click any end device. Trace its path to the root. If its parent failed, which descendants would be affected and what would have to rejoin?
The role labels follow Zigbee terminology: coordinator, router, and end device. Routers can route messages and support associations; end devices are neither coordinator nor router.
The score used here is link quality - depth penalty - capacity penalty. It is intentionally simple so learners can see the design pressure. It is not a normative Zigbee or IEEE formula.
A cluster tree is useful because it gives large low-power networks a hierarchy. Its main weakness is also the hierarchy: parent failure and root-side bottlenecks matter.