Scenario: You are planning a Zigbee network for a warehouse facility. The warehouse is 100m x 50m (5,000 sqm) with metal shelving units creating partial obstructions. You need to ensure reliable mesh coverage for inventory tracking sensors.
Given:
- Warehouse dimensions: 100m x 50m (5,000 sqm)
- Ceiling height: 8m (sensors at 2m height, potential for ceiling-mounted routers)
- Environment: Industrial with metal shelving (path loss exponent n = 3.5)
- Zigbee indoor range (ideal): 10-30m
- Effective range with obstructions: 10-15m between routers
- Requirement: Every point within 10m of a router for 99% reliability
- Sensors needed: 200 battery-powered inventory tags
Solution:
Step 1: Calculate Coverage Area per Router
With effective range of 10m and requirement for overlap: \[\text{Coverage radius} = 10\text{m}\] \[\text{Coverage area per router} = \pi r^2 = \pi \times 10^2 = 314 \text{ sqm}\]
With 30% overlap for redundancy: \[\text{Effective coverage} = 314 \times 0.7 = 220 \text{ sqm per router}\]
Step 2: Calculate Minimum Router Count
\[\text{Minimum routers} = \frac{\text{Total area}}{\text{Effective coverage}} = \frac{5000}{220} = 22.7 \approx 23 \text{ routers}\]
Step 3: Design Grid Layout
For a 100m x 50m space with 10m coverage:
Routers along 100m dimension: 100m / 15m spacing = 7 routers
Routers along 50m dimension: 50m / 15m spacing = 4 routers
Grid total: 7 x 4 = 28 routers
Using 15m spacing provides overlap since each router covers 10m radius.
Step 4: Apply Redundancy Factor
For industrial environment (metal interference, forklift movement): \[\text{Recommended routers} = \text{Grid total} \times 1.3 = 28 \times 1.3 = 36 \text{ routers}\]
Round to practical number: 36 routers (9 x 4 grid with extras at key points)
Step 5: Verify Mesh Connectivity
| Router spacing |
15m |
Within 10m overlap range |
| Paths to coordinator |
2-4 per router |
Redundant |
| Max hops to coordinator |
5-6 |
Within Zigbee limit (30) |
| Coverage redundancy |
1.6x minimum |
Good |
Step 6: Calculate Total Device Count
Coordinator: 1 (central location)
Routers: 36 (mains-powered, ceiling-mounted)
End Devices: 200 (battery-powered sensors)
Total: 237 devices
Network capacity: 65,000 (using 0.4%)
Step 7: Estimate Battery Life for Sensors
Assuming sensors report every 10 minutes: \[\text{Reports per day} = \frac{24 \times 60}{10} = 144 \text{ transmissions}\] \[\text{Energy per transmission} \approx 0.15 \text{ mJ}\] \[\text{Daily energy} = 144 \times 0.15 = 21.6 \text{ mJ}\] \[\text{Average quiescent draw} \approx 6 \mu\text{A} \times 24\text{h} = 0.144 \text{ mAh/day}\]
(The 6 µA average accounts for 2 µA deep sleep plus periodic polling and MAC duty cycling overhead.)
With CR2450 battery (620 mAh): \[\text{Battery life} \approx \frac{620}{0.144 + 0.02} \approx 3,780 \text{ days} = 10.4 \text{ years}\]
Warehouse sensor battery life calculations must account for both active transmission energy and sleep current to optimize deployment costs.
\[\text{Total Daily Energy (mAh)} = \frac{N_{\text{tx}} \times I_{\text{tx}} \times T_{\text{tx}}}{3600} + I_{\text{sleep}} \times 24\]
Worked example: For 200 inventory sensors reporting every 10 minutes: - Transmissions/day: 144 - TX current: 30 mA for 10ms → 144 × 30 × 0.01 / 3600 = 0.012 mAh/day - Sleep current: 2 µA × 24h = 0.048 mAh/day - Total: 0.06 mAh/day (TX + sleep)
Note: The main text above uses a simplified model with 0.144 mAh/day sleep current (accounting for periodic polling overhead beyond pure sleep), yielding ~10.4 years. This PNtI calculation uses pure 2 µA sleep current, yielding a theoretical maximum:
Battery life (CR2450, 620 mAh): 620 / 0.06 = 10,333 days (~28 years theoretical)
In practice, factors such as polling overhead, MAC retries, and self-discharge reduce real-world battery life to 5-10 years.
For 200 sensors × $15/sensor = $3,000 investment, avoiding 5-year battery replacements saves $1,200 in labor, justifying higher-quality sensors with 2 µA sleep current versus 10 µA alternatives.
Result: The warehouse requires 36 routers in a 9x4 grid pattern with 15m spacing, plus 1 coordinator and 200 end device sensors. Total cost estimate:
| Coordinator |
1 |
$50 |
$50 |
| Routers (smart plugs) |
36 |
$25 |
$900 |
| Sensor tags |
200 |
$15 |
$3,000 |
| Total |
237 |
- |
$3,950 |
Key Insight: In industrial environments, use 1.3-1.5x the minimum router count for reliability. The mesh topology ensures that even if 2-3 routers fail (power outage, damage), the network self-heals via alternate paths. Place routers at ceiling level to avoid obstruction by shelving and forklifts. Budget 30% extra capacity for future sensor additions.