KRATOS: An Open Source Hardware-Software Platform for Rapid Research in LPWANs

Rajeev Piyare, Amy L. Murphy, Michele Magno, Luca Benini

Abstract

This paper introduces KRATOS, an end-to-end, open-source platform designed to break down the barriers to entry for Long-Range (LoRa) networking research. By combining custom ultra-low-power hardware with a full port of the Contiki operating system, KRATOS provides a "starter kit" for researchers to move beyond simple star topologies and explore complex, multi-hop IoT networking. The platform integrates energy harvesting and an ultra-low-power wake-up receiver, enabling deep-sleep consumption of just 1.83 µW while supporting standard networking stacks like IPv6 and RPL.

Introduction

While LoRa has become a dominant technology for the Internet of Things (IoT) due to its kilometer-scale range, the ecosystem remains largely closed. Commercially available LoRa devices are often expensive and proprietary "black boxes." Furthermore, most LoRa deployments rely on simple star topologies (like LoRaWAN). Researchers wanting to experiment with more sophisticated mesh or multi-hop protocols—which have been well-studied in the Wireless Sensor Network (WSN) community—lack a flexible, open platform to do so. KRATOS fills this gap by providing a transparent hardware design and a compatible software stack.

Hardware-Software Co-design

The authors took a hardware-software co-design approach to maximize energy efficiency and flexibility.

Hardware Architecture

Built using commercial off-the-shelf (COTS) components, the KRATOS "mote" features a 16-bit MSP430FR5969 microcontroller. This MCU was chosen for its ultra-low power consumption and its Ferroelectric RAM (FRAM), which allows the device to save its state instantly before a power failure—a critical feature for energy-harvesting nodes.

The KRATOS hardware platform features integrated sensors, energy harvesting, and a dedicated wake-up receiver.

Key hardware features include:

  • Wake-up Receiver (WuRX): To solve the "idle listening" power drain, a secondary, ultra-low-power receiver listens for a specific "wake-up" signal using only 1.83 µW while the main LoRa radio (SX1276) is powered down.
  • Energy Management: The board includes a BQ25570 harvester IC, capable of managing power from solar panels or thermal generators to charge on-board super-capacitors.

Software Stack

The authors ported ContikiOS to the KRATOS platform, developing a custom Hardware Abstraction Layer (HAL) for the MCU and a Radio Abstraction Layer (RAL) for the LoRa transceiver. This allows standard Contiki networking libraries (like Rime and 6LoWPAN) to communicate over LoRa physical layers without modification, effectively bridging the gap between legacy WSN protocols and modern LPWAN hardware.

Evaluation and Results

The platform was evaluated through high-resolution power profiling and field measurements in a challenging urban environment in Trento, Italy.

Power Efficiency

The primary advantage of the KRATOS architecture is its power profile. In deep sleep with the wake-up receiver active, the mote consumes only 1.83 µW. This is orders of magnitude lower than the 240 mW required for transmission at +14dBm.

Power consumption profile showing the transition from ultra-low-power sleep/WuRX states to active data transmission.

Communication Reliability

In a hilly, non-line-of-sight environment with buildings blocking the path, the platform maintained >95% reliability at 600 meters using a 500 kHz bandwidth and a spreading factor of 12. This demonstrates that the open-source implementation does not sacrifice the robust range characteristics of the LoRa physical layer.

Discussion and Limitations

KRATOS demonstrates that the decade of research into WSN protocols can be successfully "ported" to long-range LoRa radios. The use of FRAM addresses "brownouts" in energy harvesting by preserving network state without the high power cost of Flash memory.

However, some limitations remain. The current WuRX has a sensitivity of -50 dBm, significantly lower than the main LoRa radio's -140 dBm, meaning the "wake-up" range is shorter than the communication range. Additionally, the WuRX bit rate is limited to 1 kbps. Future work should focus on optimizing multi-hop protocols specifically for the unique timing and power constraints of LoRa-based energy-harvesting nodes.

Conclusion

KRATOS provides a cost-effective (<$50 in mass production) and transparent platform for the next generation of LPWAN research. By open-sourcing both the hardware and the software stack, it enables the community to move beyond proprietary star networks toward more resilient and efficient IoT architectures.

Summary updated

BibTeX
@inproceedings{piyare2018kratos,
  author = {Rajeev Piyare and Amy L. Murphy and Michele Magno and Luca Benini},
  title = {{KRATOS: An Open Source Hardware-Software Platform for Rapid Research in LPWANs}},
  booktitle = {WiMob},
  year = {2018},
  url = {https://openreview.net/forum?id=VF_vIAT3W6TX},
}
Figure