25  WSN Deployment & Energy

In 60 Seconds

Hexagonal sensor deployment uses 23% fewer nodes than grid layout while achieving 100% coverage (spacing R x sqrt(3) vs R x sqrt(2)). Coverage does not guarantee connectivity – ensure Rc >= 2Rs. Duty cycling extends battery life by 100x: a 1% duty cycle turns 4-day battery life into over a year, using sleep/wake state machines that keep the radio off 99% of the time.

25.1 Learning Objectives

By the end of this chapter, you will be able to:

  • Plan Sensor Deployment: Calculate optimal sensor placement using grid and hexagonal patterns for complete coverage
  • Analyze Coverage vs Connectivity: Differentiate sensing range from communication range and apply the R_c >= 2Rs rule to prevent isolated nodes
  • Implement Duty Cycling: Design power state machines that extend battery life by 100× through sleep scheduling
  • Calculate Battery Lifetime: Estimate network operational duration based on duty cycle parameters and consumption profiles
  • Integrate Power Harvesting: Design solar-powered nodes for energy-neutral operation

Sensor network deployment and sizing is about determining how many sensors you need and where to place them. Think of planning a sprinkler system for a garden – too few sprinklers leave dry spots, too many waste water and money. Getting the right number and placement of sensors ensures complete monitoring without unnecessary cost.

25.2 Prerequisites

Before diving into deployment and energy topics, you should be familiar with:

Minimum Viable Understanding (MVU)

If you only learn three things from this chapter:

  1. Hexagonal deployment uses 23% fewer nodes than grid – spacing of R x sqrt(3) for hexagonal vs R x sqrt(2) for grid both achieve 100% coverage, but hexagonal is more efficient
  2. Coverage does not guarantee connectivity – the rule R_c >= 2 x R_s (communication range at least 2x sensing range) prevents isolated sensor islands that can detect events but cannot report them
  3. Duty cycling extends battery life 100x – a 1% duty cycle with 20mA active current and 1 uA sleep current gives 0.201 mA average draw, turning days of battery into over a year

Sammy the Sensor needs to watch over a big field. Where should he and his friends go?

Lila the Listener explains: “Imagine you’re playing hide and seek in a huge park. You need to place lookouts so EVERY spot is watched by at least one person.”

Two patterns for placing lookouts:

  • Square Grid: Like a checkerboard – lookouts at every intersection. Easy to plan, but you need more people.
  • Hexagon Pattern: Like a honeycomb – lookouts in a zigzag pattern. Uses 23% FEWER people to watch the same area! Nature chose hexagons for beehives because they’re the most efficient shape.

Max the Messenger warns: “But just because your lookouts can SEE everywhere doesn’t mean they can TALK to each other! Imagine two lookouts can see 10 meters but can only shout 8 meters. They can see a thief but can’t tell anyone!”

Bella the Battery shares her energy-saving trick: “I tell Sammy to SLEEP most of the time! He sleeps for 99 seconds, then wakes up for just 1 second to check the temperature and send a message. This is called duty cycling and it makes my energy last from 4 DAYS all the way to over a YEAR!”

Common Misconception: “100% Coverage Guarantees Network Connectivity”

The Myth: Many beginners assume that if sensor coverage reaches 100% of an area, the network will automatically be fully connected and functional.

The Reality: Coverage and connectivity are independent constraints. A 2008 study by Kumar et al. analyzing 1,000+ WSN deployments found that 23% of networks achieved full sensing coverage but had disconnected regions where nodes couldn’t communicate with the base station.

Real-World Impact:

  • Smart Agriculture Project (2019): 500-node soil moisture network in California had 98% sensing coverage but 37 nodes formed isolated islands due to insufficient communication range
  • Cost Impact: $42,000 redesign + 3-month deployment delay to add 89 relay nodes
  • Lesson Learned: The rule of thumb R_c ≥ 2 × R_s (communication range must be at least 2× sensing range) prevents this issue

Why It Happens: Communication range (R_c) and sensing range (R_s) are determined by different hardware components. A temperature sensor might detect at 10m radius while the radio only transmits reliably to 8m, creating coverage without connectivity.

Solution: Always verify both coverage and connectivity during deployment planning. Use connectivity algorithms like spanning tree validation or multi-hop path analysis to ensure all nodes can reach the base station.

25.3 Deployment Planning

⏱️ ~8 min | ⭐⭐ Intermediate | 📋 P05.C32.U03

Key Concepts

  • Energy Budget: Total energy available (battery capacity in mAh) divided by required lifetime — sets per-operation energy limits
  • Radio Energy: Dominant consumption source — transmission costs 10-100 mW; 1 bit transmitted costs as much as 3,000 CPU instructions
  • Duty Cycling: Alternating sleep (µW) and active (mW) states to reduce average power consumption by 90-99%
  • Energy-Delay Trade-off: Sleeping saves energy but increases latency; optimal duty cycle balances both for the application
  • Residual Energy: Remaining battery capacity — used by routing protocols to avoid overloading nodes close to depletion
  • Energy Harvesting: Supplementing batteries with ambient energy (solar, vibration) to extend or eliminate battery replacement
  • Transmission Power Control: Adjusting radio output power to minimize energy while maintaining link quality — saves 50-80% over fixed maximum power

25.3.1 Coverage Analysis

Proper sensor placement ensures complete area coverage:

Comparison of grid and hexagonal sensor deployment patterns showing node spacing and coverage overlap for 100 percent area coverage
Figure 25.1: Sensor deployment pattern comparison: grid vs hexagonal for 100% coverage

This variant provides a practical calculation framework for determining the number of sensors needed based on area and deployment pattern.

Calculator diagram showing inputs for coverage area, sensing radius, and deployment pattern to compute required node count

Quick Formula Reference: | Pattern | Nodes Needed | When to Use | |———|————–|————-| | Grid | Area / (2R²) | Simple deployment, rectangular fields | | Hexagonal | Area / (2.6R²) | Cost-optimized, complex terrain | | Random | Area / (1.5R²) + 20% | Aerial drop, hostile terrain |

Coverage Calculation:

Deployment Pattern Formula Coverage Efficiency
Grid d = R × √2 100%
Hexagonal d = R × √3 100%
Random Varies 70-90%
Triangular d = R × √3 100%

Where d = distance between nodes, R = sensing radius

Example Deployment Calculation:

Given:
- Area: 100m × 100m = 10,000 m²
- Sensing range: 10m radius
- Pattern: Hexagonal grid

Calculation:
- Node spacing: d = 10m × √3 ≈ 17.3m
- Nodes per row: 100m / 17.3m ≈ 6 nodes
- Number of rows: 100m / 15m ≈ 7 rows
- Total nodes needed: 6 × 7 = 42 sensors

Add 10% redundancy: 46 sensors deployed

25.3.2 Connectivity Requirements

Beyond coverage, nodes must maintain communication paths back to the sink or gateway.

Symbol Meaning Typical design rule
R_s Sensing range Maximum distance at which events can be detected
R_c Communication range Maximum distance for reliable radio links

In many grid deployments we aim for:

  • Connectivity rule of thumb: R_c ≥ 2 × R_s.
  • If R_c is much smaller than this, you can achieve full sensing coverage but still have islands with no multi-hop path to the base station.

25.4 Energy Management Strategies

⏱️ ~12 min | ⭐⭐⭐ Advanced | 📋 P05.C32.U04

25.4.1 Duty Cycling Implementation

Duty cycling dramatically extends network lifetime:

State machine diagram showing sensor node power states: active, idle, and sleep, with transitions triggered by timers and events
Figure 25.2: Duty cycling state machine showing power states and transitions

Duty Cycle Parameters:

Parameter Typical Value Impact
Sleep Duration 1-60 seconds Battery life
Active Duration 10-100 ms Responsiveness
Listen Window 5-20 ms Receive success
Duty Cycle 0.1-10% Energy efficiency

Energy Calculation:

Battery Lifetime Estimation
═══════════════════════════════════════

Parameters:
- Battery capacity: 2000 mAh
- Sleep current: 1 µA
- Active current: 20 mA
- Active time per cycle: 100 ms
- Cycle period: 10 seconds

Calculations:
- Active time ratio: 100ms / 10s = 1%
- Average current = 0.01 × 20mA + 0.99 × 0.001mA
                  = 0.2mA + 0.001mA
                  = 0.201 mA

- Lifetime = 2000mAh / 0.201mA
           = 9,950 hours
           ≈ 414 days

With 50% battery efficiency: ~207 days

25.4.2 Interactive Duty Cycle Calculator

Adjust the parameters below to see how duty cycle affects battery lifetime:

Duty Cycling Energy Multiplier Effect: Compare three duty cycle scenarios for a 2000 mAh battery at 3.3V (6.6 Wh capacity):

Always-on (100% active at 20 mA): \[\text{Lifetime} = \frac{2000 \text{ mAh}}{20 \text{ mA}} = 100 \text{ hours} = 4.2 \text{ days}\]

10% duty cycle (0.1 × 20 mA + 0.9 × 0.001 mA = 2.001 mA): \[\text{Lifetime} = \frac{2000}{2.001} = 1000 \text{ hours} = 42 \text{ days}\] 10× improvement

1% duty cycle (0.01 × 20 mA + 0.99 × 0.001 mA = 0.201 mA): \[\text{Lifetime} = \frac{2000}{0.201} = 9{,}950 \text{ hours} = 415 \text{ days}\] 100× improvement

The diminishing returns are clear: reducing duty cycle from 100% to 10% gives 10× gain, but further reducing to 1% gives another 10× for a total 100× improvement. However, below 1%, sleep current (1 µA) becomes the limiting factor, so reducing active time further yields minimal benefit unless sleep current is also reduced.

Worked Example: LEACH Cluster Head Rotation Planning

Scenario: A precision agriculture deployment uses LEACH protocol with 100 soil sensors. After 3 months, the network shows uneven battery depletion - some nodes are at 30% while others remain at 80%. Diagnose the rotation problem and calculate correct LEACH parameters.

Given:

  • 100 sensor nodes, uniformly distributed across field
  • Target: 5 cluster heads per round (p = 0.05)
  • Round duration: 20 seconds
  • Cluster head energy per round: 15 mJ (aggregation + long-range TX to gateway)
  • Regular node energy per round: 2 mJ (sense + short-range TX to cluster head)
  • Battery capacity: 7,400 mJ per node (energy budget for this simulation period)

Steps:

  1. Analyze expected rotation frequency: \[T(n) = \frac{p}{1 - p \times (r \mod \frac{1}{p})}\]
    • With p = 0.05, each node should become cluster head once every 20 rounds (1/p)
    • 20 rounds × 20 seconds = 400 seconds = 6.67 minutes between CH duty
    • Expected energy balance: 1 CH round + 19 regular rounds = 15 + 38 = 53 mJ per 20-round epoch
  2. Identify the bug: Node clustering creates unfair selection:
    • Nodes in dense regions have more neighbors, receive more data as CH
    • Nodes near field edges have fewer cluster members
    • Edge CH nodes: 8 members × 0.5 mJ/member = 4 mJ aggregation
    • Center CH nodes: 15 members × 0.5 mJ/member = 7.5 mJ aggregation
    • Center nodes consume 1.9× more energy as CH
  3. Calculate corrected threshold with energy weighting: \[T(n) = \frac{p}{1 - p \times (r \mod \frac{1}{p})} \times \frac{E_{current}(n)}{E_{average}}\]
    • Low-energy nodes get lower threshold (less likely to become CH)
    • High-energy nodes get higher threshold (more likely to become CH)
  4. Verify energy balance after correction:
    • 20-round epoch energy (uniform): 53 mJ
    • 20-round epoch energy (density-adjusted): 48 mJ (edge) to 58 mJ (center)
    • Variance reduced from 40% to 8%
  5. Calculate expected network lifetime:
    • Original (unbalanced): First node dies at 7,400 / 70 mJ/epoch = 105.7 epochs × 400s = 42,286 s = 11.7 hours
    • Corrected (balanced): First node dies at 7,400 / 55 mJ/epoch = 134.5 epochs × 400s = 53,818 s = 15.0 hours
    • 28% lifetime improvement from fair rotation

Result: Adding residual energy weighting to LEACH threshold calculation improves network lifetime by 28% by preventing high-density region nodes from excessive cluster head duty.

Key Insight: Standard LEACH assumes uniform node distribution. Real deployments with non-uniform placement or varying cluster sizes require energy-aware threshold modifications. Monitor per-node battery levels during deployment and adjust p or add energy weighting to the threshold formula.

Worked Example: Gateway Placement Optimization

Scenario: A warehouse deploys 80 inventory tracking sensors across 4,000 m² (100m × 40m). Currently using one gateway at the entrance causes 6-hop routes and poor battery life. Determine optimal gateway count and placement for 2-year target lifetime.

Given:

  • Warehouse: 100m × 40m with sensors at 5m grid spacing (20 × 8 = 160 positions, 80 active)
  • Radio range: 8m (indoor metal shelving interference)
  • Current gateway: (0, 20) - entrance location
  • Maximum hop count: 6 (100m / 8m + overhead)
  • Per-hop energy: 0.5 mJ (TX) + 0.3 mJ (RX) = 0.8 mJ
  • Sensor reading interval: Every 60 seconds
  • Battery: 1000 mAh at 3.3V = 11,880 J
  • Target lifetime: 2 years (17,520 hours, 1,051,200 readings)

Steps:

  1. Calculate current energy consumption for worst-case node:

    • Node at (100, 20): 6 hops to gateway
    • Own packet energy: 6 hops × 0.5 mJ = 3.0 mJ
    • Relay burden: ~40 nodes behind this position × 6 hops avg × 0.8 mJ = 192 mJ/reading
    • Total per reading: 195 mJ
    • Lifetime: 11,880,000 mJ / (195 mJ × 60 readings/hr) = 1,015 hours = 42 days
  2. Evaluate 2-gateway configuration:

    • Gateways at (25, 20) and (75, 20)
    • Maximum hop count: 3
    • Maximum relay burden: ~20 nodes × 3 hops × 0.8 mJ = 48 mJ
    • Worst-case energy: 1.5 mJ (own) + 48 mJ (relay) = 49.5 mJ/reading
    • Lifetime: 11,880,000 / (49.5 × 60) = 4,000 hours = 167 days
  3. Evaluate 4-gateway configuration:

    • Gateways at (25, 10), (25, 30), (75, 10), (75, 30)
    • Maximum hop count: 2
    • Maximum relay burden: ~10 nodes × 2 hops × 0.8 mJ = 16 mJ
    • Worst-case energy: 1.0 mJ + 16 mJ = 17 mJ/reading
    • Lifetime: 11,880,000 / (17 × 60) = 11,647 hours = 485 days (1.3 years)
  4. Evaluate 6-gateway configuration:

    • Gateways at (17, 10), (50, 10), (83, 10), (17, 30), (50, 30), (83, 30)
    • Maximum hop count: 1-2
    • Maximum relay burden: ~6 nodes × 1.5 hops × 0.8 mJ = 7.2 mJ
    • Worst-case energy: 0.8 mJ + 7.2 mJ = 8 mJ/reading
    • Lifetime: 11,880,000 / (8 × 60) = 24,750 hours = 1,031 days (2.8 years)
  5. Cost-benefit analysis:

    Gateways Worst Lifetime Gateway Cost Battery Replacements (2yr) Total Cost
    1 42 days $200 80 × 17 = 1,360 × $5 = $6,800 $7,000
    2 167 days $400 80 × 4 = 320 × $5 = $1,600 $2,000
    4 485 days $800 80 × 1.5 = 120 × $5 = $600 $1,400
    6 1,031 days $1,200 0 (exceeds 2 years) $1,200

Result: Deploy 6 gateways at calculated positions. While initial hardware cost is highest ($1,200), total 2-year cost is lowest due to zero battery replacements. The 6-gateway configuration achieves the 2-year target with 40% margin.

Key Insight: Gateway cost ($200 each) is often trivial compared to battery replacement labor, especially in hard-to-access locations like warehouse ceilings. Calculate total cost of ownership (TCO) including maintenance before minimizing gateway count. The “extra” gateways pay for themselves through reduced maintenance visits.

25.4.3 Power Harvesting Integration

Solar-powered nodes can achieve near-perpetual operation when harvested energy covers long-term consumption:

Block diagram of solar-powered sensor node architecture showing solar panel, MPPT charger, battery, and energy balance calculation
Figure 25.3: Solar power harvesting architecture with MPPT charger and energy balance calculation

Design guidelines:

  • Aim for energy-neutral operation: average E_harvested ≥ E_consumed over days/weeks.
  • Include margin (for example, harvest 1.5× the expected consumption) to tolerate cloudy periods.
  • Combine harvesting with duty cycling and adaptive sampling so that consumption stays inside the energy budget.

25.5 Knowledge Check

Scenario: Evaluate solar harvesting for 100-node soil moisture monitoring network in California vineyard. Determine if perpetual operation is feasible.

Given:

  • Location: Central California (avg 6 peak sun hours/day)
  • Node consumption: 0.3 mA average (1% duty cycle)
  • Operating voltage: 3.3V
  • Solar panel options: 50mm × 70mm (0.5W max), 100mm × 100mm (1.0W max)
  • Target: Energy-neutral operation year-round

Energy Budget Calculation:

  1. Daily energy consumption: \[E_{consumed} = 0.3 \text{ mA} \times 3.3\text{V} \times 24\text{h} = 23.76 \text{ mWh/day}\]

  2. Available solar energy (6 peak sun hours):

    • Small panel (0.5W): 0.5W × 6h = 3 Wh = 3,000 mWh/day
    • Large panel (1.0W): 1.0W × 6h = 6 Wh = 6,000 mWh/day
  3. System efficiency losses:

    • Solar panel efficiency: 85% (angle, dust)
    • MPPT charger efficiency: 90%
    • Battery round-trip efficiency: 85%
    • Total efficiency: 0.85 × 0.90 × 0.85 = 65%
  4. Net harvested energy:

    • Small panel: 3,000 mWh × 0.65 = 1,950 mWh/day
    • Large panel: 6,000 mWh × 0.65 = 3,900 mWh/day
  5. Energy margin:

    • Small panel: 1,950 / 23.76 = 82× overcapacity
    • Large panel: 3,900 / 23.76 = 164× overcapacity
  6. Winter worst-case (3 peak sun hours, cloudy):

    • Small panel: 1,950 × (3/6) × 0.5 (cloudy factor) = 488 mWh/day
    • Margin: 488 / 23.76 = 20.5× still sufficient!
  7. Battery sizing for 5 days autonomy (cloudy period): \[E_{battery} = 23.76 \text{ mWh/day} \times 5 \text{ days} = 119 \text{ mWh}\] \[\text{Battery capacity} = \frac{119 \text{ mWh}}{3.3\text{V}} = 36 \text{ mAh}\] Use 200 mAh LiPo (5.6× margin for aging/temperature derating)

Component Selection:

  • Solar panel: 50mm × 70mm (0.5W) – $4.50/unit
  • MPPT charger: BQ25570 – $2.80/unit
  • Battery: 200 mAh 3.7V LiPo – $3.20/unit
  • Total per-node cost: $10.50

Decision: Small panel (0.5W) provides 82× margin in summer, 20× in winter. Deploy with 200 mAh battery for 5-day autonomy. Total solar system cost ($10.50 × 100 = $1,050) is recovered vs. battery replacement in 1.5 years (vs. 4× annual replacement @ $300/year for non-solar).

Factor Choose Hexagonal Choose Grid Choose Random
Deployment precision High (GPS/surveyed positions) High (aligned to structure) Low (aerial drop, difficult terrain)
Node count optimization Critical (expensive sensors) Moderate Not possible (uncontrolled)
Terrain Flat, accessible Structured (building, factory) Rough, inaccessible
Coverage target >95% guaranteed 90-95% acceptable 70-90% (overprovisioned)
Installation method Manual placement Mounted to grid (poles, beams) Scatter (drone, artillery)

Efficiency comparison (same coverage):

  • Hexagonal: 100 nodes (d = 1.73 × Rs)
  • Grid: 123 nodes (d = 1.41 × Rs) – 23% more sensors
  • Random: 150+ nodes (30% overlap factor) – 50% more sensors

When grid is preferred despite inefficiency:

  1. Nodes mount to existing structures (streetlights, building columns)
  2. Aesthetic/organizational requirements (parking lot grid)
  3. Maintenance access follows grid pattern (warehouse aisles)
  4. Existing infrastructure provides power/data (ceiling tiles in office)

Hybrid approach: Hexagonal where possible, grid where constrained by structure, random for inaccessible zones.

Quick Check: Connectivity Verification

Before deploying, verify the Rc >= 2Rs rule with a simple check:

if communication_range >= 2 * sensing_range:
    print("Coverage implies connectivity")
else:
    print(f"WARNING: Isolated islands likely! Rc/Rs = {communication_range/sensing_range:.2f} < 2.0")

See the Common Misconception callout at the top of this chapter for a detailed case study of what happens when this rule is violated.

25.6 Concept Relationships

Understanding how deployment and energy concepts interconnect:

Concept Builds On Enables Conflicts With Complements
Hexagonal Deployment Coverage geometry, sensing range 23% node reduction vs grid Structured mounting constraints Optimal area coverage
R_c ≥ 2Rs Rule Sensing/communication range specs Guaranteed connectivity with coverage Short-range radio hardware Multi-hop routing viability
Duty Cycling Low-power sleep modes 100x battery extension Real-time monitoring needs Event-driven sensing
Gateway Placement Communication range limits Reduced hop count, hotspot mitigation Installation access constraints Load balancing strategies
Solar Harvesting Energy budget calculation, MPPT Perpetual operation Indoor/shaded locations Ultra-low duty cycles
LEACH Clustering Hexagonal deployment, duty cycling Energy-balanced multi-hop routing Linear sensor arrangements Data aggregation
Battery Lifetime Duty cycle, harvesting, routing Deployment viability assessment High data rate applications Coverage redundancy

25.7 How It Works: Hexagonal Deployment Optimization

Hexagonal deployment achieves optimal coverage efficiency through geometric principles. Here’s why it works:

Step 1: Coverage Circle Packing

  • Each sensor covers a circular area with radius R (sensing range)
  • Goal: Arrange circles to cover 100% of 2D plane with minimum overlap
  • Hexagonal packing is mathematically proven optimal for circles

Step 2: Geometric Spacing Calculation

  • In grid pattern: Sensors at corners of squares with side length d
    • Worst-case distance (center of square to nearest node) = d × √2 / 2
    • For full coverage: d × √2 / 2 = R, so d = R × √2 ≈ 1.414R
    • Coverage area per node: d² = 2R²
  • In hexagonal pattern: Sensors at vertices of equilateral triangles
    • Worst-case distance (center of triangle to vertex) = R
    • Spacing between sensors: d = R × √3 ≈ 1.732R
    • Coverage area per node: (√3/2) × d² ≈ 2.6R²

Step 3: Node Count Comparison

  • Area to cover: A = 10,000 m²
  • Sensing radius: R = 10m
  • Grid pattern: A / (2R²) = 10,000 / 200 = 50 nodes
  • Hexagonal: A / (2.6R²) = 10,000 / 260 ≈ 39 nodes
  • Savings: (50 - 39) / 50 = 22% fewer nodes

Note: the 23% figure commonly cited assumes slightly different boundary conditions and rounding.

Step 4: Deployment Implementation

  1. Calculate hexagon grid coordinates from area dimensions
  2. Mark sensor positions with GPS waypoints or ground markers
  3. Install sensors at marked locations
  4. Verify coverage using received signal strength (RSS) measurements
  5. Add redundancy sensors in critical zones (30% overlap recommended)

Real-World Example: 100-hectare agricultural field

  • Sensing range: 15m (soil moisture probes)
  • Hexagonal spacing: 15m × 1.73 = 26m between sensors
  • Rows spaced: 26m apart
  • Sensors per row: 1000m / 26m ≈ 39 sensors
  • Number of rows: 1000m / 22.5m ≈ 45 rows
  • Total sensors: 39 × 45 = 1,755 nodes
  • Grid alternative would require: 1,755 × 1.23 = 2,159 nodes (404 more sensors @ $12 each = $4,848 saved)

25.8 Try It Yourself: Coverage and Lifetime Calculation

Objective: Design sensor deployment for a 5km × 2km highway monitoring system.

Scenario:

  • Highway: 5,000m × 2,000m (includes both sides + shoulders)
  • Purpose: Vehicle detection, accident alerts, weather monitoring
  • Sensing range: 50m radius per sensor
  • Communication range: 120m (802.15.4 radio)
  • Battery: 2,500 mAh @ 3.3V
  • Duty cycle: 2% (vehicle presence triggers active sensing)

Tasks:

  1. Calculate Node Count (Grid vs Hexagonal):
    • Area: 5,000m × 2,000m = 10,000,000 m²
    • Grid spacing: R × √2 = 50 × 1.414 = ?
    • Hexagonal spacing: R × √3 = 50 × 1.732 = ?
    • Nodes needed (Grid): Area / (spacing²) = ?
    • Nodes needed (Hexagonal): Area / (2.6 × R²) = ?
    • Cost savings @ $15/node: ?
  2. Verify Connectivity (R_c ≥ 2Rs):
    • Is R_c (120m) ≥ 2 × Rs (2 × 50m = 100m)? ✓ or ✗
    • If hexagonal deployment, maximum distance between nodes = ?
    • Can nodes reach each other? (Compare spacing to R_c)
  3. Calculate Hop Count to Gateway:
    • Assume 2 gateways at opposite ends (0m and 5,000m along highway)
    • Worst-case node position: center (2,500m from either gateway)
    • Hops = Distance / R_c = 2,500m / 120m = ?
    • Is this acceptable for <1 second latency? (assume 20ms/hop)
  4. Energy Budget and Lifetime:
    • Active current: 25 mA (sensing + TX)
    • Sleep current: 0.002 mA
    • Active time per cycle: 2% × 60s = 1.2s active, 58.8s sleep
    • Average current: (0.02 × 25mA) + (0.98 × 0.002mA) = ?
    • Battery lifetime: 2,500 mAh / I_avg = ? hours = ? years
  5. Solar Feasibility:
    • Daily energy: I_avg × 24h = ? mAh/day
    • Voltage: 3.3V → Energy = ? mWh/day
    • Solar panel needed (6 sun-hours, 65% efficiency): ? mW panel
    • Is 500mW panel (50mm × 70mm) sufficient?

What to Observe:

  • How much money does hexagonal save vs grid?
  • What happens if R_c < 2Rs? (Try R_c = 80m)
  • How does duty cycle affect battery life? (Compare 1%, 2%, 5%)

Extension: Design gateway placement to minimize maximum hop count: - Try 1 gateway, 2 gateways (ends), 3 gateways (0m, 2500m, 5000m) - Calculate worst-case hops for each configuration - Which provides best latency-vs-cost trade-off?

25.9 See Also

WSN Deployment Topics:

Related Deployment Strategies:

Energy Management:

Common Pitfalls

Average current calculation ignores burst transmissions — a node averaging 100 µA may draw 30 mA during transmissions, and if coin cell internal resistance is high, voltage sag during bursts causes premature brownout resets. Always measure peak current and verify voltage stays above minimum at the worst-case load.

RF optimization efforts focus on radio (dominant source) but ignore sensor power — a continuous soil moisture sensor drawing 3 mA consumes more than the radio in many duty-cycled designs. Characterize every subsystem’s power consumption before optimizing; the highest consumer is not always the radio.

For 5-year battery life targets, quiescent leakage of voltage regulators (1-100 µA) becomes significant — a 100 µA leakage on a 2,500 mAh battery limits life to 2.85 years regardless of how well you optimize the active duty cycle. Select ultra-low-quiescent regulators (<1 µA) for multi-year deployments.

25.10 Summary

This chapter covered WSN deployment planning and energy management:

  • Deployment Patterns: Grid (d = R × √2) and hexagonal (d = R × √3) patterns both achieve 100% coverage, with hexagonal using 23% fewer nodes
  • Coverage vs Connectivity: Independent constraints require both sensing coverage AND communication paths - use R_c ≥ 2 × R_s rule
  • Duty Cycling: State machine design with 1% duty cycle extends battery life from days to years by spending 99% of time in 1µA sleep mode
  • Battery Estimation: Average current calculation determines lifetime - 2000mAh battery with 0.2mA average draw lasts ~400 days
  • Gateway Optimization: Adding gateways reduces hop count and relay burden, often lowering total cost of ownership despite higher hardware investment
  • Power Harvesting: Solar panels with 1.5× margin over consumption enable energy-neutral perpetual operation

25.11 What’s Next

Topic Chapter Description
Routing and Monitoring WSN Implementation: Routing and Monitoring Protocol selection, decision matrices, and network health monitoring
Architecture Design WSN Implementation: Architecture and Topology Multi-tier system design, LEACH clustering, and hardware selection
Energy Management WSN Fundamentals: Energy Management Duty cycling protocols and energy harvesting techniques