Abstract
Internet of Things (IoT) promises to bring ease of monitoring, better efficiency and innovative services across many domains with connected devices around us. With information from critical parts of infrastructure and powerful cloud-based data analytics, many applications can be developed to gain insights about IoT systems as well as transform their capabilities. Actuation applications form an essential part of these IoT systems, as they enable automation as well as fast low-level decision making. However, modern IoT systems are designed for data acquisition, and actuation applications are implemented in an ad-hoc manner. We identify modeling constraints in a systematic manner as indispensable to support actuation applications because constraints encompass high-level policies dictated by laws of physics, legal policies, and user preferences. We explore data models for constraints in IoT systems with the example of a home heating system and illustrate the challenges in enforcing these constraints in the IoT system architecture.
Introduction
While the Internet of Things (IoT) has mastered the "read" side of data collection, it still struggles with "actuation"—the "write" side where actions are taken in the physical world. Currently, actuation is often handled in an ad-hoc, hard-coded manner by developers. As we move toward autonomous systems like smart irrigation, drone delivery, and automated home heating, we cannot rely on individual developers to manually account for every possible constraint.
Without a formal model, an automated system might inadvertently violate the laws of physics (e.g., bursting a pipe), break the law (e.g., violating safety regulations), or ignore user preferences (e.g., making a room uncomfortably cold to save energy). This paper proposes a systematic framework for modeling actuation constraints to ensure that automated IoT decisions remain safe, efficient, and compliant, moving toward an "Operating System" model where safety and policy constraints are enforced at the system level.
Modeling Actuation Constraints
The proposed approach utilizes a multi-layered modeling strategy, centered on a dependency model that maps the relationships between various system entities. Using a home heating system as a case study, the model identifies how external factors like weather and utility pricing interact with internal system characteristics to produce specific effects.
Key components of this model include:
- Inputs: Solar output, weather data (temperature, humidity), and utility pricing (Demand Response).
- System Characteristics: Heater air temperature and fan air flow.
- Effects: Resulting ambient temperature, humidity, air quality, and power consumption.
Furthermore, the framework employs State Space Modeling to define the "operating point" of a system. By mapping these points, system transitions can be categorized as Legal (within safety/health regulations), Illegal (violating regulations), Comfortable, or Uncomfortable (based on user preference).
Key Insights
- Actuation as the "Missing Half": Standardized APIs exist for data retrieval, but a standardized method for constraining actions is lacking.
- The "OS" Analogy: Just as a computer OS provides memory protection, an IoT system needs a layer to ensure one application's actuation doesn't violate fundamental safety or legal constraints.
- Multi-Domain Constraints: Constraints are a complex mix of Physics (e.g., thermal mass), Legal (e.g., minimum habitability temperatures), and User Preference (e.g., desired comfort levels).
- Conflict Resolution: A formal "Policy Translation" layer is essential to resolve conflicts when different applications have competing goals (e.g., energy efficiency vs. user comfort).
Limitations and Future Work
Implementing this framework at scale, such as for a smart city, presents significant complexity challenges. Additionally, there is a tension between latency and safety; enforcing constraints in the cloud may be too slow for time-critical decisions, suggesting a need for local enforcement on gateways. Future work involves developing verification tools to ensure high-level policies are correctly translated into low-level actuator constraints and addressing the needs of dynamic environments where policies may shift during emergencies.
Summary updated