Programming Large-Scale Multi-Robot System with Timing Constraints

Shan Jiang, Jiannong Cao, Yan Liu, Jinlin Chen, Xuefeng Liu

Introduction

As robotics technology matures, the focus is shifting from single, high-complexity robots to large-scale Multi-Robot Systems (MRS). These swarms offer redundancy and parallel task execution, but they present a significant software engineering challenge. Traditionally, developers have relied on imperative programming models where instructions must be explicitly defined for every individual unit. This approach is not only labor-intensive but also fails to scale effectively as the number of robots grows into the hundreds or thousands.

To address these limitations, this research introduces RMR (Real-time Multi-Robot), a logic-based programming model designed to treat a robot swarm as a single, cohesive entity. By utilizing ensemble-level logic and declarative constraints, RMR simplifies the coordination of complex physical tasks while ensuring real-time performance.

The RMR Framework and Methodology

The core philosophy of RMR is the shift from "micro-programming" individual nodes to "macro-programming" the aggregate. The system architecture relies on a high-level abstraction where the developer writes a single program for the entire ensemble.

The RMR system architecture illustrating the compilation from ensemble-level logic to node-level execution.

As shown in the architecture above, the RMR compiler translates high-level logic into node-level byte-code. This code is then executed by a distributed runtime system residing on each robot, which interacts with the local operating system (such as FreeRTOS).

Key Technical Innovations

  1. Goal Facts (?): Unlike standard logic programming, RMR introduces "goal facts." These represent desired states rather than just current truths. The runtime uses these to prioritize rules that actively move the system toward a defined objective.
  2. Time Assertions: Real-world robotics requires strict timing. RMR allows developers to declare deadlines directly in the logic (e.g., assert(start_state, end_state, deadline, failure_action)). The runtime handles the underlying scheduling to meet these constraints.
  3. Hybrid Reasoning: The system employs a combination of forward reasoning (to quickly derive new facts) and backward reasoning (to provide goal-oriented direction), ensuring efficient execution on resource-constrained hardware.

Experimental Evaluation

The researchers evaluated the RMR framework using a dual-pronged approach involving both high-fidelity simulation and physical hardware testing.

Simulation and Physical Test-bed

Initial testing was conducted in an adapted version of VisibleSim, which was modified to model wireless communication delays and message pools. Following successful simulations, the system was deployed on a physical test-bed consisting of a 1.5m x 1.5m arena.

Physical experimental setup featuring custom-built robots navigating a structured environment.

The physical swarm comprised nine custom-built robots. Each unit was equipped with an array of sensors—including ultrasonic sensors, accelerometers, and gyroscopes—and powered by a microcontroller running a real-time operating system. This setup allowed the researchers to validate the RMR compiler's ability to produce efficient code for embedded systems.

Key Results and Insights

The RMR system was successfully validated through two primary coordination tasks:

  • Corridor Passing: Robots demonstrated the ability to dynamically form lines and coordinate movement through narrow bottlenecks without collisions, a task that typically requires complex manual synchronization in imperative languages.
  • Formation Control: The swarm successfully organized into various geometric shapes, including triangles and rhombuses, demonstrating the flexibility of the logic-based approach.

Performance metrics indicated that the RMR runtime is highly efficient. In scalability tests, the execution time increased only marginally as the number of robots grew, suggesting that the logic-based overhead is minimal compared to the coordination benefits it provides.

Conclusion and Future Work

RMR represents a significant step forward in making large-scale robot swarms programmable and reliable. By abstracting away the complexities of individual node management and timing, it allows developers to focus on high-level mission goals. Future research will focus on optimizing the distributed scheduling mechanisms and enhancing the system's robustness in dynamic, unpredictable environments where obstacle avoidance and path planning become more critical.

Summary updated

BibTeX
@inproceedings{jiang2016programming,
  author = {Shan Jiang and Jiannong Cao and Yan Liu and Jinlin Chen and Xuefeng Liu},
  title = {{Programming Large-Scale Multi-Robot System with Timing Constraints}},
  booktitle = {ICCCN},
  year = {2016},
  doi = {10.1109/icccn.2016.7568563},
}
Figure