1146 Weightless Technical Implementation
1146.1 Introduction
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.
By the end of this chapter, you will be able to:
- Calculate adaptive data rate parameters for Weightless-P deployments
- Understand TV White Space channel availability and spectrum management
- Compare total cost of ownership across LPWAN technologies
- Apply duty cycle and power consumption calculations
1146.2 Prerequisites
Before diving into this chapter, you should be familiar with:
- Weightless LPWAN Overview: Understanding the three Weightless variants and their basic characteristics
- LPWAN Fundamentals: Core LPWAN concepts including power budgets and link calculations
1146.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).
1146.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 |
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.
1146.4 Python Implementation
1146.4.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
1146.4.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:
=== TV White Space (TVWS) Availability Simulation ===
Location: London (Urban)
Coordinates: 51.5074°, -0.1278°
----------------------------------------------------------------------
Total UHF channels (21-60): 40
Active TV broadcasts: 16 (40.0%)
Protected channels: 2 (5.0%)
Available for Weightless-W: 22 (55.0%)
Total available bandwidth: 176 MHz
Spectrum utilization: 40.0%
Sample available channels:
Channel 21: 474.0 MHz (8 MHz bandwidth)
Channel 23: 490.0 MHz (8 MHz bandwidth)
Channel 25: 506.0 MHz (8 MHz bandwidth)
Channel 26: 514.0 MHz (8 MHz bandwidth)
Channel 27: 522.0 MHz (8 MHz bandwidth)
======================================================================
Location: Cambridge (Suburban)
Coordinates: 52.2053°, 0.1218°
----------------------------------------------------------------------
Total UHF channels (21-60): 40
Active TV broadcasts: 10 (25.0%)
Protected channels: 2 (5.0%)
Available for Weightless-W: 28 (70.0%)
Total available bandwidth: 224 MHz
Spectrum utilization: 25.0%
Sample available channels:
Channel 21: 474.0 MHz (8 MHz bandwidth)
Channel 22: 482.0 MHz (8 MHz bandwidth)
Channel 24: 498.0 MHz (8 MHz bandwidth)
Channel 25: 506.0 MHz (8 MHz bandwidth)
Channel 26: 514.0 MHz (8 MHz bandwidth)
======================================================================
Location: Rural Northumberland
Coordinates: 54.9783°, -1.6174°
----------------------------------------------------------------------
Total UHF channels (21-60): 40
Active TV broadcasts: 6 (15.0%)
Protected channels: 2 (5.0%)
Available for Weightless-W: 32 (80.0%)
Total available bandwidth: 256 MHz
Spectrum utilization: 15.0%
Sample available channels:
Channel 21: 474.0 MHz (8 MHz bandwidth)
Channel 22: 482.0 MHz (8 MHz bandwidth)
Channel 23: 490.0 MHz (8 MHz bandwidth)
Channel 24: 498.0 MHz (8 MHz bandwidth)
Channel 25: 506.0 MHz (8 MHz bandwidth)
======================================================================
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
1146.4.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:
=== LPWAN Technology Cost Comparison ===
Scenario 1: Small Smart Agriculture Deployment
Devices: 100
Area: 10 km²
Lifetime: 7 years
Messages: 24 per day
Cost Breakdown:
-----------------------------------------------------------------------------------------------
Technology Infrastructure Devices Subscriptions Total TCO Rank
-----------------------------------------------------------------------------------------------
Weightless-P €3,400 €1,900 €0 €5,300 1
LoRaWAN €17,800 €1,600 €0 €19,400 2
NB-IoT €0 €2,000 €16,800 €18,800 3
===============================================================================================
Scenario 2: Large Smart City Deployment
Devices: 5000
Area: 100 km²
Lifetime: 10 years
Messages: 48 per day
Cost Breakdown:
-----------------------------------------------------------------------------------------------
Technology Infrastructure Devices Subscriptions Total TCO Rank
-----------------------------------------------------------------------------------------------
Weightless-P €30,500 €103,000 €0 €133,500 1
LoRaWAN €38,000 €87,500 €0 €125,500 2
NB-IoT €0 €108,000 €1,200,000 €1,308,000 3
===============================================================================================
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 due to 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
1146.5 Knowledge Check: Performance Calculations
1146.6 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
1146.7 What’s Next
Continue your Weightless learning:
- Next: Weightless Market Comparison - Ecosystem analysis, market positioning, and comprehensive decision frameworks
- Previous: Weightless LPWAN Overview - Introduction to variants and use cases
- Related: LoRaWAN Architecture - Compare with LoRaWAN ADR implementation