87  802.15.4 Quiz: Deployment

In 60 Seconds

IEEE 802.15.4 achieves multi-year battery life through ultra-low duty cycling where devices sleep over 99% of the time, making sleep current the dominant power drain. When selecting variants, sub-GHz frequencies (802.15.4g at 915 MHz) offer 10-40x better indoor range than 2.4 GHz, dramatically reducing infrastructure costs despite lower data rates.

Key Concepts
  • Site Survey: Pre-deployment RF measurement to validate coverage, identify interference sources, and determine optimal node placement
  • Link Budget Margin: Difference between calculated received power and receiver sensitivity; 10-20 dB typical for reliable IoT links
  • Path Loss Model: Mathematical model of signal attenuation with distance; indoor models add wall attenuation factors
  • Average Current Calculation: \(I_{avg} = I_{TX} imes DC_{TX} + I_{RX} imes DC_{RX} + I_{sleep} imes DC_{sleep}\)
  • Battery Lifetime: Battery capacity (mAh) / Average current (mA); apply 0.7-0.8 derating for real-world conditions
  • Deployment Density: Number of devices per PAN per coordinator; star limited to 254, tree/mesh scales further
  • Coordinator Placement: Positioning the PAN coordinator centrally minimizes maximum hop count and balances load
  • Commissioning Process: The ordered sequence of network formation, device association, address allocation, and configuration

87.1 Minimum Viable Understanding

This quiz tests two critical deployment decisions: (1) battery life calculation using weighted average current with realistic derating factors (self-discharge, voltage drop, temperature), where sleep current dominates at sub-0.001% duty cycles; and (2) variant selection between 2.4 GHz and sub-GHz (802.15.4g at 915 MHz), where the FSPL advantage of lower frequencies translates to 10-40x fewer infrastructure devices for large deployments.

87.2 Learning Objectives

After completing this quiz section, you will be able to:

  • Derive realistic battery life estimates for IEEE 802.15.4 sensor deployments by combining duty cycle analysis with derating factors (self-discharge, voltage drop, temperature)
  • Justify the selection of IEEE 802.15.4g (sub-GHz) over standard 802.15.4 (2.4 GHz) for large-area industrial deployments based on propagation physics
  • Quantify infrastructure cost differences between frequency bands by calculating coverage area per coordinator device
  • Critique oversimplified power budget calculations that omit self-discharge, MCU overhead, and voltage cutoff effects

This quiz tests your knowledge of deploying 802.15.4 networks and managing power consumption. Questions cover topics like choosing the right channel, positioning devices for best coverage, and configuring sleep modes to maximize battery life – all practical skills for real IoT deployments.

Navigation

Overview: Quiz Bank Overview - Learning objectives and study strategy

Part 2 Quiz Sections:

Study Materials:


87.3 Quiz 1: Battery Life Calculation for Warehouse Deployment

Wait, why is the answer 8.7 years, not 45 years?

Realistic Factors:

In practice, battery capacity degrades and other factors reduce lifetime:

  • Self-discharge: Coin cells lose ~2-3% capacity/year even unused
  • Temperature effects: Warehouse temperature swings reduce capacity
  • Voltage drop: Effective capacity ~70% when considering voltage cutoff
  • Microcontroller overhead: Periodic wake-ups for RTC, housekeeping add ~0.5 uA

Revised calculation with realistic factors:

Effective capacity: 2000 mAh x 0.7 (voltage drop) = 1400 mAh
Additional overhead: 0.005 mA + 0.0005 mA (MCU) = 0.0055 mA
Self-discharge equivalent: ~1% capacity loss/year

Battery life = 1400 mAh / 0.0055 mA
Battery life = 254,545 hours = 10,606 days = 29 years

With 3% self-discharge/year:
Effective life = 29 years / 3.3 = ~8.8 years = 8.7 years

Why other options are incorrect:

Option A: 6 months

This would require:
Battery life = 6 months = 4,380 hours
Current drain = 2000 mAh / 4,380 hours = 0.457 mA

This implies duty cycle of:
10 x duty + 0.005 x (1-duty) = 0.457
duty = 4.52% (transmitting 4.5% of the time)

4.5% of 900 seconds = 40.5 seconds transmitting every 15 min!
Actual: 1.6 ms every 15 min = 0.00018%

Impossibly high - only if sensor continuously transmitted.

Option B: 18 months

Battery life = 18 months = 13,140 hours
Required current = 2000 / 13,140 = 0.152 mA

This implies duty cycle of:
10 x duty + 0.005 x (1-duty) = 0.152
duty = 1.47%

1.47% of 900 seconds = 13.2 seconds per transmission!
Actual transmission: 1.6 ms (8,250x faster)

Would only occur with defective hardware (150 uA sleep current).

Option D: 25 years

Ignores self-discharge (3% loss/year over 25 years = 75% capacity loss)
Unrealistic for coin cells which typically degrade after 10 years
Even if current drain supports 25 years, chemistry doesn't

Key Insight:

IEEE 802.15.4’s ultra-low duty cycle (<< 1%) enables multi-year operation: - Transmission takes 1.6 ms every 900,000 ms (0.00018% duty cycle) - Sleep current (5 uA) dominates total power consumption - Result: Average current = sleep current, enabling 8.7-year lifetime

Practical Implications:

  • Warehouse deployment: 8.7 years exceeds typical sensor lifespan (5 years)
  • Maintenance-free: No battery changes during useful life
  • Scalability: 500 sensors x no maintenance = viable deployment

This is why IEEE 802.15.4 dominates IoT sensor networks - the ultra-low duty cycle enables truly “install and forget” deployments.


87.4 Quiz 2: IEEE 802.15.4g vs Standard for Industrial Deployment

Why other options are incorrect:

Option A: 15 and 8 devices (WRONG counts)

15 devices covering 480,000 m^2:
Coverage per device = 480,000 / 15 = 32,000 m^2
Required range: sqrt(32,000 / pi) = 101 m

But problem states interference reduces range to 30m!
15 devices only cover: 15 x 2,827 = 42,405 m^2
42,405 m^2 << 480,000 m^2 (only 8.8% of factory covered!)

Option B: 48 and 6 devices (WRONG reasoning)

48 devices for 802.15.4-2003:
Coverage = 48 x 2,827 = 135,696 m^2
Only 28% coverage - massive gaps!

Recommendation to "choose 802.15.4-2003 for lower latency":
- Ignores 40x higher infrastructure cost
- Ignores incomplete coverage (28% only)
- Latency difference (16ms vs 3.2ms) is negligible for monitoring

Option C: 24 and 12 devices (WRONG counts and reasoning)

24 devices for 802.15.4-2003:
24 x 2,827 = 67,848 m^2 (only 14% coverage)

Recommendation: "Choose 802.15.4-2003 for twice the throughput"
- Throughput: 250 kbps vs 50 kbps = 5x (not 2x)
- But insufficient coverage makes throughput irrelevant!
- Monitoring 200 machines needs only 2.7 kbps
- Both standards exceed requirements by 18-92x

Key Insight:

The massive range difference (400m vs 30m) creates a 40x cost advantage for IEEE 802.15.4g: - Sub-GHz frequencies (915 MHz) penetrate industrial obstacles better - Longer wavelength = better diffraction around machinery - Lower frequency = less absorption by metal structures - Result: 4 devices provide coverage that requires 160 devices at 2.4 GHz

The 5x latency penalty (16ms vs 3.2ms) is completely negligible for industrial monitoring where update intervals are measured in seconds, not milliseconds.


87.5 Interactive: Battery Life Calculator

87.5.1 Quick Check: Derating Factor Impact

Use the calculator above (or mental math) to answer: if you double the reporting interval from 15 minutes to 30 minutes while keeping all other parameters the same, what happens to realistic battery life?

87.6 Knowledge Checks

87.6.1 Knowledge Check: Duty Cycle Power Dominance

87.6.2 Knowledge Check: Sub-GHz Advantages

Place these steps in the correct sequence for calculating realistic battery life in an 802.15.4 deployment.

Scenario: You are deploying 2,000 temperature sensors in a refrigerated warehouse. The business requirement is 10-year maintenance-free operation. Each sensor reports every 20 minutes. You need to specify the coin cell capacity.

Step 1: Calculate Average Current Consumption

Transmission parameters:

Sampling interval: 20 minutes = 1,200 seconds = 1,200,000 ms
Transmission time: 2.0 ms (50-byte frame at 250 kbps, including ACK)
Transmit current: 12 mA
Sleep current: 3 µA = 0.003 mA
MCU overhead: 0.5 µA (RTC, housekeeping) = 0.0005 mA

Average current calculation:

Duty cycle = 2.0 ms / 1,200,000 ms = 0.000167% (extremely low)

I_avg = (I_tx × T_tx + I_sleep × T_sleep) / T_total

Per 20-minute cycle:
I_avg = (12 mA × 2 ms + 0.003 mA × 1,199,998 ms) / 1,200,000 ms
I_avg = (24 mA-ms + 3,600 mA-ms) / 1,200,000 ms
I_avg = 3,624 mA-ms / 1,200,000 ms
I_avg = 0.00302 mA ≈ 3 µA

Add MCU overhead:
I_total = 0.00302 + 0.0005 = 0.00352 mA ≈ 3.5 µA

Key observation: Transmission contributes only 0.02 µA (24/1,200,000) to the average — sleep current dominates by 150:1.

Step 2: Calculate Required Capacity for 10-Year Operation

Theoretical capacity:

Target lifetime: 10 years = 87,600 hours

Capacity_theoretical = I_avg × Lifetime
Capacity_theoretical = 0.00352 mA × 87,600 hours = 308 mAh

Apply realistic derating factors:

Factor Impact Multiplier
Voltage drop (usable capacity at cutoff voltage) 70% capacity at 2.0V cutoff × 1.43
Self-discharge (3%/year for lithium) 30% loss over 10 years × 1.43
Temperature effects (-20°C to +5°C refrigeration) 15% capacity reduction × 1.18
End-of-life margin (80% DoD target) 20% reserve × 1.25

Total capacity requirement:

Capacity_required = 308 mAh × 1.43 × 1.43 × 1.18 × 1.25
Capacity_required = 308 × 3.00 = 924 mAh

Step 3: Select Coin Cell and Verify

Candidate coin cells:

Battery Capacity Voltage Cost Verification
CR2032 220 mAh 3.0V $0.50 220 < 924 ❌ FAIL
CR2450 620 mAh 3.0V $1.20 620 < 924 ❌ FAIL
CR123A 1,500 mAh 3.0V $2.50 1,500 > 924 ✅ PASS (1.62× margin)

Select: CR123A (1,500 mAh, 3.0V)

Step 4: Verify Actual Lifetime with Derating

Usable capacity = 1,500 mAh × 0.70 (voltage drop) = 1,050 mAh
After self-discharge: 1,050 × 0.70 (30% loss) = 735 mAh
After temperature: 735 × 0.85 (15% loss) = 625 mAh
Lifetime @ 80% DoD: 625 × 0.80 = 500 mAh usable

Battery life = 500 mAh / 0.00352 mA = 142,045 hours = 16.2 years

Margin: 16.2 years / 10 years target = 1.62× safety margin

Step 5: Cost-Benefit Analysis

Option A: CR2450 (620 mAh, $1.20)

  • Theoretical life: 620 / 3.00 derating = 207 mAh usable / 0.00352 mA = 58,807 hours = 6.7 years
  • Fails 10-year requirement → Requires mid-life battery replacement

Replacement scenario:

Initial deployment: 2,000 × $1.20 = $2,400
Replacement at year 6: 2,000 × ($1.20 battery + $15 labor) = $32,400
Total 10-year cost: $34,800

Option B: CR123A (1,500 mAh, $2.50)

  • Verified life: 16.2 years (exceeds 10-year target by 62%)
  • No replacement needed
Initial deployment: 2,000 × $2.50 = $5,000
Total 10-year cost: $5,000

Cost savings: $34,800 - $5,000 = $29,800 (86% reduction)

Step 6: Sensitivity Analysis

What if actual sleep current is 5 µA instead of 3 µA? (20% process variation)

I_total = 0.005 + 0.0005 = 0.0055 mA
Battery life = 500 mAh / 0.0055 mA = 90,909 hours = 10.4 years

Still meets 10-year target with 4% margin (versus 62% original margin).

What if transmission interval drops to 10 minutes? (2× higher duty cycle)

Transmission contributes: 12 mA × 2 ms / 600,000 ms = 0.04 µA
Sleep contributes: 3 µA
I_total = 0.04 + 3 + 0.5 = 3.54 µA (negligible change!)

Battery life = 500 mAh / 0.00354 mA = 141,243 hours = 16.1 years

Transmission frequency has almost no impact because duty cycle is so low that sleep current still dominates.

Key Lessons:

  1. Sleep current dominates — reducing sleep from 5 µA to 3 µA has 10× more impact than doubling transmission frequency
  2. Derating is critical — ignoring self-discharge and temperature effects would have led to 308 mAh spec (CR2450), failing at year 6.7
  3. Labor cost dwarfs battery cost — $1.30 upfront battery cost savings leads to $29,800 in replacement labor costs
  4. Margin is insurance — 62% margin absorbs process variation, temperature extremes, and unexpected duty cycle increases

Real-World Deployment Decision:

Specified: CR123A (1,500 mAh) at $2.50 per unit

  • 2,000 sensors × $2.50 = $5,000 battery cost
  • Zero replacement visits over 10 years
  • 16.2-year verified lifetime provides 62% margin against specification drift
Concept Relationships:
Concept Root Cause Design Implication Real-World Example
Multi-year battery life Duty cycle << 1%, sleep current dominates Minimize sleep current (3 µA vs 5 µA = 66% longer life) Warehouse sensors: 8.7 years on CR123A
Sub-GHz range advantage Longer wavelength, less free-space path loss 40x infrastructure cost reduction Factory: 4 routers (sub-GHz) vs 160 routers (2.4 GHz)
Realistic derating Self-discharge, temperature, voltage drop 3× capacity margin needed Theoretical 45 years → Actual 8.7 years
Latency trade-off Lower data rate (50 kbps vs 250 kbps) 5× transmission time acceptable for monitoring 16 ms vs 3.2 ms, both << 1 second SLA

87.7 See Also


Common Pitfalls

RF propagation in buildings is highly variable. Walls, floors, metal cabinets, and HVAC systems create unexpected dead zones. A 30-minute site survey prevents months of troubleshooting after deployment. Never skip it even for small deployments.

Crystal oscillator startup (1-3 ms) and radio calibration time (1-2 ms) add to the effective TX/RX window. For sensors transmitting every 100 ms, a 4 ms startup adds 4% duty cycle not accounted for in naive calculations — tripling power consumption at high reporting rates.

Deploying devices at the edge of their link budget (0 dB margin) works in ideal conditions but fails in real environments. Always maintain 10 dB margin minimum. A device at maximum range fails when a person walks between it and the coordinator.

Power calculations often include only successful transmissions. Under interference, 20-40% retransmission rates can double actual energy consumption. Include a retransmission factor in power budgets for environments where interference is expected.

87.8 Summary

This quiz section tested your understanding of:

  1. Battery Life Calculations: How to calculate realistic battery life considering duty cycle, self-discharge, voltage drop, and microcontroller overhead
  2. Variant Selection: When to choose IEEE 802.15.4g (sub-GHz) over standard 802.15.4 (2.4 GHz) based on range, interference, and deployment cost

Key Takeaways:

  • IEEE 802.15.4’s ultra-low duty cycle enables multi-year battery life
  • Sub-GHz frequencies (915 MHz) offer dramatically better range in industrial environments
  • Infrastructure cost can vary by 40x depending on variant selection
  • Latency differences (5x) are often negligible for monitoring applications

87.9 What’s Next

Topic Description
Superframe and Device Types Quiz Test your understanding of GTS allocation, beacon timing, and FFD/RFD capabilities
Security and Interference Quiz Practice questions on AES-CCM encryption overhead and channel hopping strategies
802.15.4 Comprehensive Review End-to-end specification review covering PHY, MAC, security, and deployment topics