Intermittent Opportunistic Routing Components for the INET Framework

Edward Longman, Mohammed El-Hajjar, Geoff V. MerrettarXiv 2021 · arXiv

Abstract

The rise of battery-free Internet of Things (IoT) devices necessitates new networking paradigms to handle intermittent power availability. This paper introduces a modular architectural framework for the INET/OMNeT++ simulation environment, specifically designed for intermittently-powered wireless sensor networks (WSNs). By standardizing interfaces between the Data Link Layer (DLL) and Network Layer (NET), the framework allows for the seamless integration and comparison of various opportunistic routing (OR) protocols. We demonstrate the utility of this approach by implementing two prominent protocols, ORW and ORPL, within the proposed modular structure.

Introduction

Traditional wireless sensor networks are typically battery-constrained, but emerging IoT applications are shifting toward energy-harvesting (e.g., solar, thermal) "battery-free" devices. These devices operate intermittently, waking up to perform tasks only when sufficient energy is harvested. This "on-off" behavior disrupts standard point-to-point networking: if a node shuts down while a packet is en route, communication fails.

Opportunistic Routing (OR) mitigates this by allowing a sender to broadcast packets to any available neighbor that meets specific criteria, rather than a fixed next-hop. However, research in this area is hindered by simulation tools that lack modularity, often embedding routing logic directly into radio code. This paper addresses the need for a "power-in-the-loop" simulation framework that supports modular protocol development and "like-for-like" comparisons.

Modular Architecture and Methods

The authors propose a set of C++ module interfaces for the INET Framework that decouple forwarding logic from link-layer transmission. This cross-layer design is essential for the tight timing requirements of intermittent nodes, where the "receive window" is extremely brief.

The modular architecture of the proposed framework, illustrating the interaction between the Network (NET) and Data Link (DLL) layers through standardized interfaces.

Key interfaces introduced in this framework include:

  • IOpportunisticLinkLayer: A MAC-layer interface that enables the system to evaluate whether a packet should be accepted based on routing criteria before committing energy to full reception.
  • IForwardingJudge: Implemented at the routing table level, this interface makes real-time decisions on whether a node is a suitable forwarder for a broadcast packet.
  • Overhearing Interfaces (ILinkOverhearingSource & IRoutingOverhearingSource): These facilitate neighbor discovery by extracting information from passing traffic. This "energy-aware overhearing" avoids the overhead of dedicated heartbeat packets.

Results and Validation

The framework was validated by modularizing two existing protocols: Opportunistic Routing for WSN (ORW) and Opportunistic RPL (ORPL). Simulations in OMNeT++ modeled realistic energy harvesting profiles and harvest-transmit cycles to create realistic intermittency scenarios.

Simulation snapshots showing multi-hop opportunistic routes (left) and the corresponding sawtooth energy harvesting profile of a node (right).

The results demonstrate that the proposed interfaces can support diverse OR protocols without requiring monolithic code rewrites. Visual analysis of the simulations confirms that multi-hop routes successfully form even as nodes frequently toggle between active and inactive states. Furthermore, the framework allows researchers to observe the direct impact of energy harvesting profiles on network performance. The implementation is available as an open-source resource on GitHub.

Conclusion and Future Work

This work provides a standardized "testbed" for the WSN research community, enabling rigorous comparison of opportunistic routing protocols under varying energy-harvesting conditions. By separating forwarding logic from link logic, researchers can optimize specific components—such as neighbor discovery or energy prediction—independently.

Future work will focus on refining the API for "deferred transmissions," where nodes wait for optimal neighbors to wake up, and integrating advanced predictive models to estimate neighbor availability based on harvesting trends.

Summary updated

Abstract

Intermittently-powered wireless sensor networks (WSNs) use energy harvesting and small energy storage to remove the need for battery replacement and to extend the operational lifetime. However, an intermittently-powered forwarder regularly turns on or off, which requires alternative networking solutions. Opportunistic routing (OR) is a potential cross-layer solution for this novel application, but due to the interaction with the energy storage, the operation of these protocols is highly dynamic. To compare protocols and components in like-for-like scenarios we propose module interfaces for MAC, routing and discovery protocols, that enable clear separation of concerns and good interchangeability. We also suggest some candidates for each of the protocols based on our own implementation and research.
BibTeX
@misc{longman2021intermittent,
  author = {Edward Longman and Mohammed El-Hajjar and Geoff V. Merrett},
  title = {{Intermittent Opportunistic Routing Components for the INET Framework}},
  year = {2021},
  eprint = {2109.12047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.12047},
}
Figure