@INPROCEEDINGS{Maas1304:Co, AUTHOR="Mehdi Maasoumy and Qi Zhu and Cheng Li and Forrest Meggers and Alberto Sangiovanni-Vincentelli", TITLE="Co-design of Control Algorithm and Embedded Platform for {HVAC} Systems", BOOKTITLE="The 4th ACM/IEEE International Conference on Cyber-Physical Systems (ICCPS'13) (ICCPS 2013)", ADDRESS="Philadelphia, USA", DAYS=8, MONTH=apr, YEAR=2013, ABSTRACT="The design of heating, ventilation and air conditioning (HVAC) systems is crucial for reducing the energy consumption in buildings. As complex cyber-physical systems, HVAC systems involve three closely-related subsystems - the control algorithm, the physical environment and the embedded implementation platform. In the traditional top-down approach, the control algorithm and the embedded platform are mostly designed separately leading to sub-optimal systems. In this paper, we propose a co-design approach that analyzes the interaction between the control algorithm and the embedded platform through a set of interface variables in particular the sensing accuracy. We design six control algorithms that take into account the sensing error, and model the relation of control performance and cost versus sensing error. We also capture the relation of embedded platform cost versus sensing error by analysis of the collected data from a testbed. Based on these models, we explore the co-design of the control algorithm and the embedded platform to optimize a system with respect to energy cost and monetary cost while satisfying the constraints for user comfort level."