36  Weightless Technical Implementation

In 60 Seconds

Weightless-P uses Adaptive Data Rate (200 bps to 100 kbps) to optimize power based on link quality, with GMSK modulation ranging from 3,542 uJ per packet at 100 kbps to higher energy at lower rates for extended range. This chapter covers ADR calculations, TV White Space channel management, duty cycle constraints, and TCO analysis across LPWAN technologies.

36.1 Introduction

⏱️ ~12 min | ⭐⭐ Intermediate | 📋 P09.C17B.U01

This chapter explores the technical aspects of Weightless LPWAN technology, including adaptive data rate calculations, TV White Space channel management, and cost analysis implementations. Through Python examples and interactive quizzes, you’ll gain hands-on understanding of Weightless protocol mechanics.

Learning Objectives

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

  • Calculate adaptive data rate parameters and battery life for Weightless-P deployments
  • Analyze TV White Space channel availability and evaluate spectrum management trade-offs
  • Compare total cost of ownership across LPWAN technologies at different deployment scales
  • Apply duty cycle formulas to assess power consumption in constrained IoT devices
  • Distinguish between Weightless-P, Weightless-N, and Weightless-W modulation strategies
  • Justify technology selection decisions using quantitative TCO and link budget evidence

This chapter dives into the technical implementation of the Weightless LPWAN standard, covering its radio characteristics, network architecture, and protocol stack. If you are evaluating Weightless for a specific IoT deployment, this technical deep-dive helps you understand what the technology can and cannot do.

“Let’s peek under the hood of Weightless!” said Max the Microcontroller. “At the radio level, Weightless-P uses 12.5 kHz narrow channels in sub-GHz bands. That narrow bandwidth is what gives it long range with low power – the receiver can focus on a tiny slice of spectrum and pull out weak signals.”

Sammy the Sensor asked about the network: “The architecture looks similar to LoRaWAN – sensors talk to base stations, which forward to a cloud backend. But Weightless supports full bidirectional communication, so the cloud can send commands and firmware updates back to sensors without waiting for the next uplink window.”

Lila the LED examined the protocol stack: “It has a MAC layer that handles scheduling, a transport layer for reliability, and an application layer for data formatting. The whole stack is designed for constrained devices – small memory footprint, low processing requirements.”

Bella the Battery checked the power specs: “Weightless-P targets 3 to 10 years of battery life with hourly transmissions on a standard AA battery. The sleep current is under 1 microamp, and the radio is active for only a few milliseconds per transmission. That’s the kind of efficiency that keeps me happy!”

36.2 Prerequisites

Before diving into this chapter, you should be familiar with:

36.3 Weightless-P Adaptive Data Rate

Weightless-P uses Adaptive Data Rate (ADR) to optimize power consumption based on link quality. Devices close to the base station use higher data rates (faster transmission, lower energy), while distant devices use lower data rates (robust modulation, longer range).

36.3.1 Modulation Options

Modulation Data Rate TX Time (37 bytes) Energy Range
GMSK_HIGH 100 kbps 13.8 ms 3,542 µJ 2 km
GMSK_MID 50 kbps 17.4 ms 3,392 µJ 3.5 km
DBPSK_LOW 12.5 kbps 39.6 ms 10,098 µJ 4.5 km
DBPSK_ULTRA 0.2 kbps 1,490 ms 536,400 µJ 6 km

Energy calculated at ~257 mW TX power (24 dBm, 3.3 V supply) — typical for a Weightless-P module operating at maximum rated output. Lower TX power configurations reduce energy proportionally.

Key Insight: Higher data rates save battery by reducing time-on-air, not by reducing range. ADR selects the highest data rate that maintains reliable connectivity.

36.4 Weightless-P ADR Battery Life Calculator

Adjust the sliders to see how ADR modulation choice affects battery life for a Weightless-P sensor.

How much battery life does Weightless-P’s ADR save compared to fixed low data rate? Consider a parking sensor (1 message/hour, CR2450 coin cell = 19.8 kJ capacity).

Fixed DBPSK_LOW (conservative, always 4.5 km range): - Energy per message: 10,098 µJ - Daily energy: \(10{,}098 \times 24 = 242{,}352\text{ µJ} = 0.242\text{ J}\) - Battery life: \(\frac{19{,}800\text{ J}}{0.242\text{ J/day}} = 81{,}818\text{ days} \approx 224\text{ years}\) (sensor fails first!)

ADR-Optimized (close sensors use GMSK_HIGH, far use DBPSK_LOW): - Assume 70% of sensors within 2 km (use GMSK_HIGH at 3,542 µJ), 30% need 4.5 km (DBPSK_LOW at 10,098 µJ) - Average energy: \(0.7 \times 3{,}542 + 0.3 \times 10{,}098 = 2{,}479 + 3{,}029 = 5{,}508\text{ µJ}\) - Daily energy: \(5{,}508 \times 24 = 132{,}192\text{ µJ} = 0.132\text{ J}\) - Battery life: \(\frac{19{,}800}{0.132} = 150{,}000\text{ days} \approx 411\text{ years}\)

ADR improvement: \(411 / 224 = 1.83×\) battery life extension! Even better: network capacity doubles because close sensors finish transmitting in 13.8 ms vs 39.6 ms (2.87× faster), freeing time slots for more devices. ADR is a win-win: longer battery life and higher network throughput!

36.5 Python Implementation

36.5.1 Implementation 1: Weightless-P Adaptive Data Rate Calculator

This implementation demonstrates how Weightless-P dynamically adjusts data rate based on link quality, optimizing for battery life and throughput.

Expected Output:

=== Weightless-P Adaptive Data Rate Analysis ===

Scenario: Agricultural sensor
Payload: 15 bytes
Frequency: 24 messages/day
Battery: 2400 mAh (2× AA)

Modulation Comparison:
----------------------------------------------------------------------------------------------------
Modulation      Data Rate    TX Time    Energy       Range    Battery Life
----------------------------------------------------------------------------------------------------
GMSK_HIGH          100.0 kbps   13.0 ms    1755.0 µJ   2.0 km          6.9 years
GMSK_MID            50.0 kbps   17.4 ms    3392.4 µJ   3.5 km          3.6 years
DBPSK_LOW           12.5 kbps   39.6 ms    10098.0 µJ  4.5 km          1.2 years
DBPSK_ULTRA          0.2 kbps 1490.0 ms  536400.0 µJ  6.0 km          0.0 years

====================================================================================================

Optimal Modulation Selection (ADR):
--------------------------------------------------------------------------------
Distance     Selected        Data Rate    Battery Life
--------------------------------------------------------------------------------
    1.5 km GMSK_HIGH           100.0 kbps          6.9 years
    3.0 km GMSK_MID             50.0 kbps          3.6 years
    4.0 km DBPSK_LOW            12.5 kbps          1.2 years
    5.5 km DBPSK_ULTRA           0.2 kbps          0.0 years

================================================================================

Key Insight: ADR uses highest data rate for given distance,
minimizing time-on-air and maximizing battery life.

Key Concepts Demonstrated:

  • Adaptive Data Rate (ADR): Automatically selects best modulation based on link quality
  • Time-on-Air Trade-off: Higher data rate = shorter TX time = lower energy
  • Range vs Battery: Longer range requires lower data rate, consuming more energy
  • GMSK vs DBPSK: GMSK offers higher rates for good links, DBPSK for challenging conditions

36.5.2 Implementation 2: TV White Space Channel Availability Simulator

This implementation simulates TV White Space channel discovery for Weightless-W, demonstrating cognitive radio and dynamic spectrum access.

Expected Output (abbreviated):

TVWS Availability Comparison:
Location                       Available    Bandwidth       Utilization
London (Urban)                   22 channels       176 MHz      40.0%
Cambridge (Suburban)             28 channels       224 MHz      25.0%
Rural Northumberland             32 channels       256 MHz      15.0%

Key Insight: Rural areas have more TVWS availability (less TV coverage),
making Weightless-W ideal for agricultural and rural IoT applications.

Key Concepts Demonstrated:

  • Cognitive Radio: Devices query database to avoid interference
  • Dynamic Spectrum Access: Use available channels without license
  • Geographic Variation: Urban areas have less TVWS than rural
  • Protected Channels: Must avoid wireless microphones and other licensed users

36.5.3 Implementation 3: Weightless vs Competition Cost Analyzer

This implementation compares total cost of ownership (TCO) for Weightless-P, LoRaWAN, and NB-IoT across different deployment scales.

Expected Output (abbreviated):

Per-Device Annual Cost:
Technology      Small (100 dev)      Large (5000 dev)
Weightless-P              €7.57/year            €2.67/year
LoRaWAN                  €27.71/year            €2.51/year
NB-IoT                   €26.86/year           €26.16/year

Key Insights:
- Small deployments: Weightless-P/LoRaWAN cheaper (no subscriptions)
- Large deployments: Private networks dominate (economies of scale)
- NB-IoT subscription costs scale linearly with device count

Key Concepts Demonstrated:

  • Total Cost of Ownership (TCO): Infrastructure + devices + subscriptions + maintenance
  • Scale Economics: Private networks become more cost-effective at larger scales
  • Subscription Impact: NB-IoT’s per-device fees dominate at scale
  • Decision Criteria: Small deployments favor simplest solution, large deployments favor private networks

36.6 Knowledge Check: Performance Calculations

:

36.7 Summary

This chapter covered the technical implementation aspects of Weightless:

  • Adaptive Data Rate (ADR) optimizes power consumption by selecting the highest data rate that maintains reliable connectivity
  • TV White Space management requires geolocation database queries and dynamic channel selection
  • Total Cost of Ownership analysis shows Weightless-P is competitive for private network deployments
  • Power calculations demonstrate that sleep current dominates average consumption in LPWAN devices
  • Narrowband operation improves link budget through noise reduction, enabling longer range

36.8 Concept Relationships

ADR Optimizes Link Budget, Not Power Directly: Adaptive Data Rate selects highest modulation (GMSK 100 kbps) that maintains reliable link. Power savings come from shorter time-on-air (13.8 ms vs 1,490 ms), not lower transmit power (220 mA constant). Key insight: battery life dominated by transmission duration at fixed power, not power level at fixed duration.

TV White Space Availability vs Complexity: TVWS offers cleaner spectrum (no ISM congestion) + better propagation (470-790 MHz vs 868/915 MHz). BUT requires cognitive radio (GPS + geolocation database client + spectrum sensing), adding $30-50 per device vs $5-10 for ISM modules. Trade-off: spectrum quality vs deployment complexity.

TCO Analysis Reveals Scale Effects: Small deployment (100 devices): Weightless-P cheaper than LoRaWAN (private network vs public subscription). Large deployment (5,000 devices): LoRaWAN cheaper (module cost $5 vs Weightless $18, volume matters). Crossover point ~500 devices where economies of scale reverse the cost advantage.

36.9 See Also

Foundational Concepts:

Comparative Technical Analysis:

  • LoRaWAN Architecture - LoRa ADR (SF7-12) vs Weightless ADR (GMSK 100 kbps to DBPSK 0.2 kbps). Both optimize time-on-air; different modulation schemes.
  • NB-IoT Power and Channel - NB-IoT uses repetition coding (not ADR) for coverage extension. Compare power calculations.

Market Context:

  • Weightless Market Comparison - TCO analysis from this chapter feeds into ecosystem failure analysis (high module cost driven by low volume)

Hands-On Tools:

  • Try Weightless ADR Calculator (Simulations Hub) with custom parameters to visualize modulation selection
  • Use TVWS Channel Availability Map to check spectrum in your deployment region

36.10 What’s Next

Chapter Focus Why Read It
Weightless Market Comparison Ecosystem maturity, vendor landscape, commercial positioning Understand why limited module availability constrains Weightless-P despite strong technical specs
Weightless LPWAN Overview Variant comparison (W, N, P), use cases, spectrum bands Revisit the three-variant architecture to place ADR and TVWS calculations in context
LoRaWAN Architecture LoRa ADR (SF7–SF12), network server, Class A/B/C Compare Weightless ADR (GMSK/DBPSK modulation) against LoRaWAN’s spreading factor approach
NB-IoT Power and Channel Repetition coding, DRX cycles, PSM Contrast NB-IoT’s coverage extension method with Weightless-P’s ADR for the same link budget challenge
LPWAN Fundamentals Link budget, Aloha vs TDMA, duty cycle Deepen the theoretical foundation behind the calculations demonstrated in this chapter