Scenario: Evaluate OGDC (Optimal Geographical Density Control) algorithm performance for a randomly deployed sensor network.
Given:
- Deployment area: 200m × 200m = 40,000 m²
- Sensors deployed: 150 (random scatter)
- Sensing range (Rs): 20m
- Coverage disk area per sensor: π × 20² = 1,257 m²
- Target: >95% area coverage with minimum active sensors
Step 1: Calculate theoretical minimum sensors for 1-coverage:
Coverage area calculation: Each sensor with sensing range \(R_s\) covers a disk of area \(A = \pi R_s^2\). Minimum sensors needed: \(N = \frac{\text{Area}_{\text{total}}}{A}\). Worked example: Rs = 20 m, total area = 40,000 m² → sensor coverage = π × 20² = 1,257 m² → minimum N = 40,000 / 1,257 ≈ 32 sensors (perfect hexagonal packing). Triangular lattice achieves 90.7% efficiency, so practical minimum: 32 / 0.907 ≈ 36 sensors.
Theoretical minimum (perfect placement): 40,000 / 1,257 = 31.8 → 32 sensors
With triangular lattice efficiency (90.7%):
Practical minimum: 32 / 0.907 = 35.3 → 36 sensors
Step 2: Calculate OGDC optimal spacing:
OGDC spacing: d = √3 × Rs = 1.732 × 20m = 34.6m
Sensors in 200m × 200m grid with 34.6m spacing:
Rows: 200 / 34.6 = 5.78 → 6 rows
Sensors per row: 200 / 34.6 = 5.78 → 6 sensors
Grid total: 6 × 6 = 36 sensors ✓ Matches theoretical minimum
Step 3: Simulate OGDC on 150 randomly deployed sensors:
OGDC Algorithm Execution:
Phase 1: Starting node selection
- Random backoff: Node 73 wins (shortest timer)
- Node 73 activates, broadcasts START message
Phase 2: Iterative activation (10 rounds)
Round 1: Node 73 broadcasts → 12 neighbors receive
8 nodes within 34.6m skip (redundant)
4 nodes beyond 34.6m activate
Round 2-10: Iterative spreading
Each newly activated node triggers next wave
Stops when all area covered
Final active nodes: 58 out of 150 deployed
Active percentage: 58 / 150 = 38.7%
Sleeping nodes: 92 (for rotation scheduling)
Step 4: Evaluate coverage achieved:
Coverage verification (grid sampling):
Sample points: 40 × 40 = 1,600 points (5m spacing)
Covered points: 1,549
Coverage percentage: 1,549 / 1,600 = 96.8%
Coverage holes: 51 points (3.2%)
Hole locations: Primarily at area boundaries and near-corner regions
Max hole diameter: 12m (acceptable for most applications)
Step 5: Compare OGDC vs alternatives:
| All-on (baseline) |
150 |
99.8% |
1.0× (baseline) |
Trivial |
| Grid (perfect) |
36 |
100% |
4.17× |
Requires precise placement |
| OGDC (simulated) |
58 |
96.8% |
2.59× |
Self-organizing, distributed |
| Random 40% |
60 |
82.1% |
2.50× |
Unreliable, gaps |
Step 6: Calculate lifetime extension from OGDC:
Scenario: 2× AA batteries (5,700 mAh), baseline lifetime 18 months
All-on deployment:
- Lifetime: 18 months
OGDC with rotation (3 sets of 58 sensors each, rotating every 30 days):
- Lifetime: 18 months × (150 / 58) = 46.6 months = 3.9 years
- Extension: 2.59× over all-on
Result: OGDC achieves 96.8% coverage with only 38.7% of sensors active, extending network lifetime by 2.59× (18 months → 46.6 months) compared to all-sensors-on deployment, while maintaining coverage above the 95% target.
Key Lesson: OGDC’s value is not perfect coverage (grid placement achieves 100%) but rather “good enough” coverage (96.8%) with dramatic energy savings (2.59×) in scenarios where precise sensor placement is impractical (aerial deployment, emergency response, inaccessible terrain).