Abstract
Cyber-Physical Systems (CPS) are increasingly transitioning from isolated, monolithic designs to distributed, networked architectures. This paper presents DREMS (Distributed Real-time Embedded Managed Systems), a software infrastructure designed to provide cloud-like flexibility while maintaining the rigorous timing and safety guarantees required by physical systems. By integrating a custom-extended Linux kernel with model-driven development, DREMS enables the secure co-existence of heterogeneous real-time applications on shared hardware.
Introduction: The Rise of Cyber-Physical Clouds
Traditional Cyber-Physical Systems, such as satellite clusters or unmanned aerial vehicle (UAV) swarms, have historically relied on dedicated hardware for specific tasks. However, the modern demand for scalability and resource efficiency suggests a shift toward "cyber-physical clouds." Unlike standard cloud computing, which prioritizes throughput and "best-effort" performance, a cyber-physical cloud must handle strict timing constraints, resource scarcity, and critical isolation.
The core challenge lies in the "jitter" inherent in standard virtualization and networking, which can lead to catastrophic failures in physical control loops. DREMS addresses this by treating physics as a first-class citizen in software design, ensuring that timing-critical tasks can coexist with data-heavy tasks without compromising safety.
The DREMS Architecture
The DREMS platform is organized into a layered software stack that bridges the gap between high-level application logic and low-level hardware constraints. This structure allows for the management of complex distributed systems through a unified framework.
1. Platform Kernel and Temporal Partitioning
At the base, DREMS utilizes a modified Linux kernel (v3.2.17) that implements temporal partitioning. Inspired by the ARINC-653 avionics standard, this mechanism ensures that each "actor" (process) is allocated a deterministic slice of CPU time. This prevents a non-critical task, such as a data-logging service, from starving a high-priority flight control task of necessary processing cycles.
2. Middleware and Component Model
Applications in DREMS are built using a component-based model. This abstraction allows developers to focus on functional logic while the middleware handles the complexities of distribution. The system integrates two primary communication paradigms:
- CORBA (Common Object Request Broker Architecture): Used for synchronous, point-to-point service requests.
- DDS (Data Distribution Service): Used for asynchronous, anonymous publish-subscribe messaging, ideal for sensor data dissemination.
3. Model-Driven Development (MDD)
To manage the complexity of configuring distributed systems, DREMS employs a model-driven toolchain. Developers use a graphical modeling language to define system architecture, security policies, and resource requirements. Software generators then automatically produce the necessary "glue code" and deployment configurations, significantly reducing the likelihood of human error in manual setup.
Security and Resource Management
Security in DREMS is enforced through Mandatory Access Control (MAC) and Multi-Level Security (MLS) labels. Every communication event is mediated by a Trusted Computing Base (TCB), ensuring that data flows only between authorized components. This prevents compromised or low-integrity sensors from influencing critical control components.
Furthermore, the system is "managed" by a central authority known as the Mission Manager. This component, along with the Deployment and Resource Managers, oversees the execution of applications across the cluster, ensuring that resource utilization (CPU, memory, bandwidth) remains within safe bounds according to a pre-defined plan.
Evaluation: Cluster Flight Control
The researchers validated the DREMS prototype using a cluster of three industrial x86-based computers simulating a flight control and sensor processing scenario. The test involved approximately 100 distinct elements, including components and network links. The results demonstrated that the platform could successfully run high-bandwidth sensor tasks alongside low-bandwidth, high-criticality control tasks in 100ms temporal partitions without mutual interference.
Conclusion and Future Directions
DREMS represents a significant step toward flexible yet deterministic CPS platforms. While the current prototype excels in static deployment scenarios, future research will focus on enhancing support for highly dynamic environments where nodes frequently join or leave the network. Additionally, porting the real-time kernel extensions to more diverse hardware architectures, such as ARM, remains a priority for broader adoption in the embedded systems community.
Reference: Karsai, G., Balasubramanian, D., Dubey, A., & Otte, W. R. (2017). Distributed and Managed: Research Challenges and Opportunities of the Next Generation Cyber-Physical Systems. arXiv:1710.00267 [cs.DC].
Summary updated