Jiaxin's Homepage
Back to Projects
Software-defined Radio Age of Information Random Access USRP GNURadio

Software-Defined Radio Implementation of Age-of-Information-Oriented Random Access

Software-Defined Radio Implementation of Age-of-Information-Oriented Random Access

Overview

This project presents the first practical Software-Defined Radio (SDR) implementation of Age-of-Information (AoI) oriented random access protocols. Using USRP N210 and GNURadio, we implemented and compared multiple random access schemes, demonstrating the effectiveness of AoI-based scheduling in real-world scenarios.

Background: Age of Information

What is Age of Information?

Age of Information (AoI) is a freshness metric that measures the time elapsed since the most recently received packet was generated at the source.

Key Characteristics:

Applications:

AoI vs. Traditional Metrics

Metric Focus Application
Latency Packet delivery delay Real-time communications
Throughput Data rate File transfers, streaming
AoI Information freshness Status updates, sensing

Motivation

The Challenge

Traditional random access protocols (e.g., Aloha, CSMA) optimize for throughput or latency, but not information freshness.

Problem: These schemes may lead to:

Our Approach

We design and implement AoI-oriented random access that:

  1. Minimizes Age: Optimizes information freshness
  2. Practical: Works on real hardware
  3. Simple: Easy to deploy in existing systems

System Design

Two-Level Updating Mechanism

Our key innovation is a two-level updating scheme that reduces both peak and average AoI.

Concept

Traditional Scheme:            Our Two-Level Scheme:
┌────┐  ┌────┐  ┌────┐        ┌────┐  ┌────┐  ┌────┐
│ Tx │──│ Rx │──│ App│        │ Tx │──│ Rx │──│ App│
└────┘  └────┘  └────┘        └────┘  └────┘  └────┘
   │                            │
   └─> Generate at will         └─> Level 1: Time-based
                                  └─> Level 2: AoI-based (if needed)

Algorithm

Level 1: Time-Based Updates

Level 2: AoI-Based Updates

Benefits:

Hardware Architecture

┌─────────────────────────────────────────┐
│         Transmitter Node                │
│  ┌─────────────────────────────────┐   │
│  │  Application (AoI Monitor)      │   │
│  ├─────────────────────────────────┤   │
│  │  Scheduler (Two-Level Logic)    │   │
│  ├─────────────────────────────────┤   │
│  │  GNU Radio Transmitter          │   │
│  │  - Frame Creation               │   │
│  │  - Modulation (BPSK/QPSK)       │   │
│  └─────────────────────────────────┘   │
│            │                             │
│  ┌─────────┴──────────┐                 │
│  │   USRP N210        │                 │
│  │   - DAC            │                 │
│  │   - RF Front-end   │                 │
│  └────────────────────┘                 │
└─────────────────────────────────────────┘
            │ Wireless Channel
            ↓
┌─────────────────────────────────────────┐
│         Receiver Node                   │
│  ┌─────────────────────────────────┐   │
│  │   USRP N210                     │   │
│  │   - ADC                         │   │
│  │   - RF Front-end                │   │
│  └─────────┬───────────────────────┘   │
│            │                             │
│  ┌─────────┴─────────────────────────┐ │
│  │  GNU Radio Receiver               │ │
│  │  - Demodulation                   │ │
│  │  - Frame Detection                │ │
│  │  - Timestamping                   │ │
│  ├──────────────────────────────────┤ │
│  │  AoI Calculator                  │ │
│  │  - Track packet generation time  │ │
│  │  - Compute current age           │ │
│  └─────────────────────────────────┘ │
└─────────────────────────────────────────┘

Implementation Details

Hardware Specifications

USRP N210 Configuration:

Antenna: Vertically polarized omnidirectional (2 dBi gain)

Software Stack

GNU Radio Companion (GRC) Flowgraph:

Python Integration:

Experimental Evaluation

Setup

Topology: Single transmitter, single receiver Duration: 10+ minutes per experiment Metrics: Average AoI, Peak AoI, Throughput

Schemes Compared

  1. Baseline: Traditional Slotted Aloha
    • Fixed transmission probability
    • No AoI awareness
  2. With Grouping: Slotted Aloha with transmission groups
    • Users assigned to time slots
    • Reduced collision probability
  3. Two-Level (Ours): Proposed AoI-oriented scheme
    • Time-based + AoI-based updates
    • Dynamic threshold adaptation

Results

Age Performance

Scheme Avg AoI (slots) Peak AoI (slots) Improvement
Baseline 8.5 18.0 -
With Grouping 7.2 15.5 15% / 14%
Two-Level (Ours) 6.8 12.6 20% / 30%

Trade-offs

Metric Baseline Two-Level
Average AoI 8.5 6.8 (↓20%)
Peak AoI 18.0 12.6 (↓30%)
Throughput 0.35 0.32 (↓8%)
Complexity Low Medium

Analysis:

Validation vs Theory

Theoretical Model: Based on discrete-time Markov chain Experimental Results: Match theoretical predictions within 5%

Average AoI Comparison:
Theory: 6.5 slots
Experiment: 6.8 slots
Error: 4.6% ✓

Key Insights

1. Two-Level is Effective

The two-level mechanism provides:

2. Peak AoI Matters Most

For status update systems:

3. Hardware Validation is Critical

Theoretical predictions alone are insufficient:

4. Simplicity Wins

Complex schemes with marginal gains may not be worth it:

Applications

This implementation is suitable for:

1. Industrial IoT

2. Smart Grid

3. Autonomous Systems

4. Environmental Monitoring

Challenges and Solutions

Challenge 1: Synchronization

Problem: Distributed nodes need synchronized time slots

Solution:

Challenge 2: Dynamic Thresholds

Problem: Optimal AoI threshold varies with conditions

Solution:

Challenge 3: Scalability

Problem: Performance degrades with many users

Solution:

Future Work

  1. Multi-Hop Networks: Extend to relay scenarios
  2. Machine Learning: Adaptive threshold optimization
  3. Network Coding: Combine with PNC for efficiency
  4. Large-Scale Testbed: Deploy 10+ nodes
  5. Standardization: Propose for IEEE 802.11 / BLE standards

Publication

Software-Defined Radio Implementation of Age-of-Information-Oriented Random Access

Zhiyuan Han, Jiaxin Liang, Yu Gu, Hao Chen (* Two authors have the same contributions)

2020 The 46th Annual Conference of the IEEE Industrial Electronics Society (IECON), pp. 4374-4379

DOI: 10.1109/IECON43393.2020.9254614

PDF

arXiv

Impact

First practical implementation of AoI-oriented random access, enabling:

This work demonstrates that age-based protocols are not just theoretically interesting but practically viable for next-generation status update systems.