Scenario: Calculate the energy savings from hierarchical data aggregation in a 500-sensor environmental monitoring network.
Given:
- 500 sensors deployed across forest preserve
- Each sensor: temperature, humidity readings (16 bytes)
- Sampling interval: 10 minutes (144 samples/day per sensor)
- Radio: Zigbee (802.15.4), TX current 17 mA, 50ms per packet
- Packet overhead: 20 bytes (headers, addressing)
Without Aggregation (Flat Topology):
Each sensor sends directly to gateway:
- Data per packet: 16 bytes sensor data + 20 bytes overhead = 36 bytes
- Transmissions per sensor per day: 144
- Total packets to gateway: 500 × 144 = 72,000 packets/day
Energy per sensor per day (TX only):
144 packets × (17 mA × 50 ms) = 144 × 0.000236 mAh = 0.034 mAh
With 2-Level Aggregation (Cluster Topology):
Tier 1: 50 clusters of 10 sensors each
Each cluster head:
- Receives 10 sensor readings (10 × 16 = 160 bytes)
- Computes min, max, avg for temp & humidity (5 aggregates × 4 bytes = 20 bytes)
- Transmits 20 bytes + 20 overhead = 40 bytes to gateway
- Aggregation ratio: 160 / 20 = 8:1 reduction
Transmissions per cluster head per day: 144
Total packets to gateway: 50 clusters × 144 = 7,200 packets/day
Cluster head energy:
- RX from 10 members: 10 × 144 × (12 mA × 20 ms) = 0.096 mAh (RX mode)
- TX to gateway: 144 × (17 mA × 50 ms) = 0.034 mAh
- Aggregation compute: 144 × 5 ms × 10 mA = 0.002 mAh
- Total: 0.132 mAh/day
Regular sensor energy (sends to cluster head):
144 × (17 mA × 50 ms) = 0.034 mAh/day
Energy Comparison:
| Flat (no aggregation) |
72,000 |
0.034 mAh |
17.0 mAh |
1.00× baseline |
| 2-level aggregation |
7,200 |
0.044 mAh* |
21.9 mAh |
1.29× |
*Note: Average accounts for 50 cluster heads (0.132 mAh) + 450 regular sensors (0.034 mAh) = (50 × 0.132 + 450 × 0.034) / 500 = 0.044 mAh average
Wait — Aggregation Uses MORE Energy?
The Paradox Explained: Local computation and receiving from 10 sensors costs more energy per cluster head than simply transmitting. However, the network-wide bandwidth reduction is 72,000 → 7,200 packets (90%), which provides these benefits:
- Reduced gateway congestion: 90% fewer collisions at gateway
- Lower latency: Average packet queuing time 5ms → 0.5ms
- Scalability: Network can grow to 5,000 sensors without saturating gateway
- Data quality: Statistical aggregates filter outliers and sensor noise
The Real Savings: Multi-hop relay energy In flat topology, edge sensors must relay to gateway via 3-4 hops:
Edge sensor (4 hops from gateway):
- Own data: 144 TX
- Relay for 20 downstream sensors: 20 × 144 = 2,880 relay TX
- Total: 3,024 TX/day = 0.714 mAh/day (21× higher than aggregation!)
Aggregation-aware routing (LEACH protocol):
- Cluster heads chosen among high-battery nodes
- Rotation every 30 days distributes relay burden
- No sensor acts as relay for more than 10 neighbors
- Maximum energy: 0.132 mAh (vs 0.714 mAh flat relay)
Result: Data aggregation reduces peak sensor energy consumption by 5.4× (0.714 → 0.132 mAh) while cutting gateway traffic by 90%. The small 1.3× increase in average energy is far outweighed by the 5× reduction in hotspot energy and improved network scalability.
Key Lesson: Evaluate aggregation on peak energy (hotspot nodes) and network scalability, not average energy per sensor. Aggregation’s value is load balancing and preventing hotspot node failures, which would partition the entire network.