Factors Wirepas Uses to Determine Routing Path in a Mesh
Wirepas uses several factors to make this autonomous decision, not just link quality, though that's typically number 1. Here are those factors.
- Link Quality (RSSI/SNR):
- Each node assesses the signal strength and quality (e.g., RSSI, SNR) of its neighbors.
- Better quality links are preferred to ensure reliable communication.
- Hop Count to Gateway:
- Nodes prefer paths with fewer hops to minimize latency and conserve energy.
- The hop count metric is continuously updated.
- Congestion / Load Balancing:
- Nodes avoid routes through congested neighbors (e.g., those relaying too much traffic).
- Load is distributed across the mesh to avoid bottlenecks and maintain throughput.
- Battery Level:
- This helps extend the lifetime of battery-operated devices.
- Parent Node Availability:
- Each node selects a parent (router) that has stable connectivity and minimal latency to the sink.
- If the parent fails or becomes unavailable, the node will reroute to a better alternative.
- Topology Stability / Hysteresis:
- To avoid constant switching of routes (flapping), Wirepas applies hysteresis logic.
- A new path must be significantly better before a node changes its parent.
- Frequency / Channel Availability (Interference Avoidance):
- Wirepas Mesh dynamically selects frequency channels to avoid interference and optimize performance.
- Channel-hopping may be used for robustness.
- Time Synchronization and Slot Allocation (TSCH principles):
- The mesh uses time-synchronized channel hopping for scheduled communication.
- Slot availability affects path selection indirectly by influencing communication efficiency.
How It Works in Practice
When a new node joins:
It scans for nearby nodes.
Evaluates each candidate based on the above criteria.
Selects the best parent.
Starts participating in routing, depending on its role.
As conditions change (node added/removed, interference, power loss), the mesh auto-heals:
Nodes reevaluate neighbors.
Mesh routes dynamically adjust without central coordination.
Comments