Elsevier

European Journal of Control

Volume 61, September 2021, Pages 151-170
European Journal of Control

A cyber-physical system for building automation and control based on a distributed MPC with an efficient method for communication

https://doi.org/10.1016/j.ejcon.2021.04.008Get rights and content

Abstract

This paper introduces a cyber-physical system for building automation and control that is developed based on a distributed model predictive control. The implemented distributed method significantly reduces computation overhead with respect to the centralized methods. However, continuous data transfer between subsystems, which are often far from each other, is required when using this method. Information transmission between subsystems is very often subject to the limitations of transmission bandwidth and/or short communication range resulting in significant communication overhead. This causes significant time latency between making measurements and applying control commands, which adversely affects the control performance. Therefore, the distributed method used in this paper implements a two-level communication architecture to reduce the communication overhead. In order to avoid collision in communication inside neighborhood using this method, the TDMA-OFDMA scheme is used for wireless communication between distributed devices. Under these assumptions, the communication overhead is calculated. Then, a novel algorithm for finding the size of neighborhoods resulting in the lowest time latency between making measurements and applying control commands is presented for a typical office building. Finally, the satisfactory performance of the proposed cyber-physical system for the temperature control of a typical office building in the presence of disturbance and model inaccuracy is illustrated using computer simulations.

Introduction

Large-scale Building Automation and Control Systems (BACSs) are used for controlling the environment of buildings, such as temperature by means of Fan Coil Units (FCUs), air conditioning, and ventilation. About half of the energy consumed in commercial buildings is directly related to space heating, cooling, and ventilation [9]. There are some commercial products available that are based on wired communication technologies for setting up BACSs. However, large-scale wireless BACSs, which are easy to deploy and cost-effective, have not been well studied yet. The advent of easily controllable smart thermostats and smart meters (with wireless communication and computation capabilities) and new wireless communication infrastructures has made it possible to reduce building energy consumption by designing a wireless cyber-physical system to operate the heating, cooling,and ventilation systems in a more efficient way to address the global energy and environmental concerns.

In recent years, advances in communication as well as sensor and actuator technologies enable us to develop cyber-physical systems. These systems are the new generation of Industrial Internet of Things (IIoT) systems. IIoT systems comprise of three different layers: Field, communication,and computation. The field layer consists of distributed sensors, actuators,and other networked devices. The communication layer consists of low cost and low power consumption Machine to Machine (M2M) IoT wireless communication modules, such as Digi XBee, LoRa, Sigfox. Each distributed field device is equipped with at least one M2M IoT module in an IIoT system. This module transmits data from the attached field device to a gateway that connects the M2M module to the Internet. The computation layer includes a computer server connected to the Internet. Data gathered from the field is received by this remote computer in real time; and subsequently, it generates proper commands to be sent to field devices via the communication layer by running the optimization, estimation, data mining,or the machine learning algorithms in real time. The ease of interconnection of distributed sensors and actuators and generally speaking the field devices to IIoT systems results in larger and larger IIoT systems. As the size of IIoT systems increases, the available centralized algorithms, such as the active set method, the interior point method, the Kalman filter, etc., which the centralized computer server runs, are not able to complete their computation on time due to the huge computational complexity associated with large-scale IIoT systems. One way to overcome this computational scalability problem is to use the cloud computing concepts and exploit the available computational resources of the field. In IIoT systems, each distributed sensor, actuator,or networked device is equipped with at least one M2M IoT module, which is an embedded system equipped with a microprocessor/microcontroller. These distributed embedded systems provide us with one of the computational resources of the field. Having this computational resource, one way to overcome the aforementioned drawback is to break down the computational load of the centralized computer server to the distributed computational resources of the field and use parallel computation and consensus to complete the required centralized computation on time. In this type of IIoT systems, the computation layer is integrated to the field layer forming a new type of IIoT systems, which is known as cyber-physical systems. The main advantages of cyber-physical systems over IIoT systems are the scalability, higher reliability (due to its distributed nature), the ease of implementation, the lower cost of implementation and maintenance, etc. Therefore, the applications domain of cyber-physical systems is now very vast. It ranges from agricultural irrigation networks [19] to smart buildings [4], [27], [30], [35] and power systems.

To illustrate the application of the cyber-physical system described above, let us consider controlling the temperature of an office with several rooms and hallways. One easy way for controlling the environment of this office as used in many places is as follows: In each room and hallway (referred to as subsystem), at least a thermostat which includes a sensor, a tuning volume, and an electrical relay is deployed to measure temperature, and a fan coil unit (actuator) is also installed to maintain the temperature close to the desired value. Moreover, the temperature control policy in each room and hallway is designed in a fully decentralized fashion without considering the temperature interaction between rooms and hallways, which from now on are referred to as subsystems. However, as internal doors are opened, the distribution of subsystems temperature changes, and hence, the implemented control policy becomes inefficient as it has been designed in a fully decentralized way. Now, suppose actuators and sensors in the setup proposed in this paper are equipped with wireless communication modules. Therefore; they can collaborate with each other for the temperature regulation of the entire building. To achieve this goal, a performance criterion for the entire building that penalizes both the energy consumption and the deviation of each subsystem temperature from the desired temperature is defined. For this setup, each decision-maker is defined as the collection of the thermostat and fan coil of each subsystem equipped with at least one M2M wireless communication module. In this setup, the decision-makers can be designed to minimize this performance criterion subject to the thermal dynamics of the building and operational constraints forming a wireless cyber-physical system for building automation and control. Two main methodologies have been developed to address this optimal control problem: One is based on the centralized optimization methodology, and the other one is based on the distributed optimization methodology. The conventional and widely used methodology is the centralized methodology, e.g., [31]. However, for large-scale buildings with many subsystems, the implementation of centralized methods requires high-performance computing devices with very fast processors and very large memory, which are beyond the available computational power and memory of each distributed decision-maker. Therefore, the distributed optimization methods have been introduced in the literature for developing cyber-physical systems by distributing the computational load to distributed decision-makers [19], [32], [36], [45]. It has been shown that distributed methods are successful and superior with respect to centralized methods in many aspects, especially in terms of computational complexity [16], [18] and reliability. Because of the above reasons, we implement the distributed optimization methods for distributing the computational load to the distributed decision-makers of the proposed cyber-physical system to tune actuators settings properly.

Wireless cyber-physical systems are very often subject to communication delays. Therefore, many research papers in this area are concerned with the analysis and compensation of communication delay effects in distributed networks, e.g., [12], [17], [50]. A hierarchical (two-level) communication architecture and a three-step algorithm including an extra outer iterate step are proposed in [19], [44] to provide scope for managing the communication overhead, which is associated with the distributed optimization methods. In this distributed optimization method, distributed decision-makers are grouped into disjoint neighborhoods of nearby decision-makers; and the number of decision-makers within a neighborhood denotes the size of the neighborhood. The exchange of information between decision-makers within a neighborhood, which is subject to low communication overhead, frequently occurs after each decision variable update. In contrast, the exchange of information between neighborhoods, which is subject to high communication overhead, is limited to be less frequent. Hence, as most of the communication between distributed decision-makers is within neighborhoods (referred to as inside neighborhood communication), the communication overhead of the method of [19], [44] is much less than that of the other distributed methods, e.g., [46], that uses a single – level communication architecture. This is shown in Section 3 by calculating the communication cost for inside neighborhood communication denoted by Ccomin and between neighborhood communication (referred to as all to all communication) denoted by Ccomout. In large-scale systems with many geographically distributed decision-makers, Ccomout is much larger than Ccomin. Therefore, in the distributed methods that use single-level communication architecture for communication, the communication overhead is extremely high as all the time, all to all communication takes place. Hence, in this paper, we use the distributed method of [19] that uses the two-level communication architecture; because from the communication point of view, it is efficient. In this method, each decision-maker within a neighborhood frequently updates its local component of the overall decision variable by solving an optimization problem of reduced size. The updated value is then communicated to all other neighboring decision-makers. This inside neighborhood update or communication is referred to as an inner iterate. In addition to inner iterates, updates of decision variables from other neighborhoods are received periodically. They are referred to as outer iterates. Between outer iterates, distributed decision-makers continue to compute and refine the local approximation of the optimal solution with fixed values for decision variables from outside the neighborhood. These inner-outer iterates continue until an ϵ-convergence stopping criterion is satisfied.

Due to the superiority of distributed optimization methods with respect to the conventional centralized methods, In the proposed cyber-physical system we use the distributed optimization method introduced in [19], [44] for the temperature control of buildings by considering the effects of computational latency, which is the summation of the computation overhead and communication overhead. Note that the proofs for the feasibility, convergence, and the optimality of the distributed method used in this paper for the temperature control were previously presented in [19]. In the aforementioned reference, a novel distributed optimization method has been presented; and then a novel cyber-physical system, which is based on this optimization method, has been introduced for improving the performance of Australia’s automated irrigation network. In sum, in the wireless cyber-physical system proposed in this paper for the temperature regulation of large-scale buildings, the field layer consists of distributed decision-makers. Each subsystem (room or hallway) is equipped with a decision-maker and a decision-maker is the collection of at least one thermostat and one fan coil unit equipped with one M2M IoT module. In this cyber-physical system, distributed M2M wireless IoT modules form the communication layer and the computation layer is integrated with the field layer using the distributed optimization method of [19].

This paper introduces a cyber-physical system for building automation and control, as described above, which is developed based on the distributed optimization method of [19]. An application of this method for the temperature control of a building is presented. This method requires simultaneous communication within neighborhoods. Therefore, to avoid a collision in inside neighborhood communication using this method, the TDMA (time division multiple access)-OFDMA (orthogonal frequency division multiple access) scheme must be used for wireless communication between the distributed decision-makers. This type of communication can be easily implemented using M2M IoT modules. For example, the XBee module of Digi International provides us with this feature. Each XBee module is equipped with an embedded processor, which can also be used for distributed computation. Each subsystem of the building is equipped with a decision-maker, which includes at least a thermostat as well as a fan coil equipped with an M2M IoT module. Under this setup, the communication overhead is calculated. Then, a novel algorithm for finding the size of neighborhoods resulting in the lowest time latency between making measurements and applying control commands is presented for a typical office building. Finally, the satisfactory performance of the distributed model predictive control method, which is developed based on the distributed optimization method of [19], with minimum time latency for the temperature control of this building in the presence of disturbance and model inaccuracy, is illustrated by computer simulations. Distributed control methods for building automation and control have been investigated previously in [4], [27], [30], [35], [40]; however, unlike this paper, none of the available studies are concerned with the effects of communication and computation overheads on building automation performance, and they do not find the best trade-off between control performance, communication overhead and computation overhead for building automation.

This paper is organized as follows: the introduction was presented in Section 1. Section 2 describes building temperature control system by presenting the optimal control problem to be solved, the distributed optimization method introduced in [19], and the thermal model of a typical office building. Section 3 is devoted to the communication part. In Section 4, the optimal trade-off between control performance, communication overhead and computation overhead are determined for a typical office building of interest by finding the optimal size of neighborhoods, denoted by m* for this building. Using computer simulations, the satisfactory performance of the proposed wireless cyber-physical system with the optimal size of neighborhoods for the temperature control of this building in the presence of disturbance is illustrated in Section 5. Finally, the paper is concluded in Section 6.

Section snippets

Temperature control of building

This section describes the temperature control aspect of building automation and control system by presenting the thermal model of a typical office building, the optimal control problem to be solved, and the distributed optimization method introduced in [19].

Calculation of the communication overhead

For communication purposes, this paper focuses on IEEE 802.15.4/ZigBee communication technology. IEEE 802.15.4 standard and other specifications of ZigBee illustrate outstanding communication technologies for large-scale, low data rate, low cost, low power consumption, and simple operation wireless networks [38]. Note that XBee modules of Digi international have been developed based on this standard.

The Standard supports two medium access modes that can be selected by the Personal Area Network

Calculating the optimal size of neighborhoods

In this section, for the typical office building of Figs. 2–5, we find the size of neighborhoods yielding the lowest computational latency, which is the summation of the computation overhead and communication overhead. Here, for the sake of simplicity, it is assumed that almost all neighborhoods have an equal size (i.e., mj=m). For a given m, each neighborhood includes nearby rooms/hallways from the same floor or different floors.

Since obtaining an explicit mathematical relation between the

Simulation results

In this section, the distributed model predictive control method of Section 2 is applied to the typical office building of Figs. 2–5, and its performance in disturbance rejection when m*=14 is shown.

As mentioned in the previous section, the size of neighborhoods for having the lowest computational latency is m*=14, where for this case the average computational latency is Ctotalavr=482s. Therefore, the time step must be considered much larger than this time latency to compensate for its effects.

Conclusion

This paper introduced a cyber-physical system for building automation and control, which was developed based on the distributed optimization method of [19] with the optimal size of neighborhoods. To address this problem, the associated communication overhead was calculated. Then, a novel algorithm for finding the size of neighborhoods for a typical office building, yielding the lowest computational latency was presented. Finally, the satisfactory performance of the proposed wireless

Declaration of Competing Interest

There is no conflict of interest associated with this paper.

References (50)

  • S. Yang et al.

    Output feedback stabilization of networked control systems with random delays modeled by markov chains

    IEEE Transactions on Automatic Control

    (2009)
  • N. Abdeddaim et al.

    Multi-channel cluster tree for 802.15. 4 wireless sensor networks

    Personal Indoor and Mobile Radio Communications (PIMRC), 2012 IEEE 23rd International Symposium on

    (2012)
  • Z. Alliance

    ZigBee Specification

    (2005)
  • F.A. Barata et al.

    Distributed mpc for thermal comfort and load allocation with energy auction

    International Journal of Renewable Energy Research (IJRER)

    (2014)
  • W. Beckman et al.

    Transfer functions for efficient calculation of multidimensional transient heat transfer

    Transfer

    (1930)
  • T.L. Bergman

    Introduction to heat transfer

    (2011)
  • J.E. Braun et al.

    Evaluating the performance of building thermal mass control strategies

    HVAC&R Research

    (2001)
  • D. Builder

    Design builder software ltd

    Recuperado de

    (2009)
  • Building energy data book of doe, (http://buildingsdatabook.eren.doe.gov/default.aspx/). February...
  • L.S. Committee

    Part 15.4: wireless medium access control (mac) and physical layer (phy) specifications for low-rate wireless personal area networks (lr-wpans)

    IEEE Computer Society

    (2003)
  • D. Dahlhaus et al.

    Pan-optimized air interfaces

    My personal Adaptive Global NET (MAGNET)

    (2010)
  • M.M. Delbari et al.

    Time delay sensitivity analysis in a wireless network control system using lmi approach

    Asian Control of Control

    (2013)
  • K. Deng et al.

    Building thermal model reduction via aggregation of states

    American Control Conference (ACC), 2010

    (2010)
  • M. Długosz

    Aggregation of state variables in an rc model

    Building Services Engineering Research and Technology

    (2018)
  • S. Farahani

    ZigBee wireless networks and transceivers

    (2011)
  • Cited by (10)

    • Event-based security tracking control for networked control systems against stochastic cyber-attacks

      2022, Information Sciences
      Citation Excerpt :

      Cyber-physical system(CPS) is known as an advanced generation system in which the physical processes, the computing, communication technologies are integrated, presenting high efficiency [1–3].

    • A comprehensive review study of cyber-attacks and cyber security; Emerging trends and recent developments

      2021, Energy Reports
      Citation Excerpt :

      Trap Doors permit an external user to accessibility software at any time without the knowledge of the computer user. Sniffers are a tool to steal usernames and passwords (Karbasi and Farhadi, 2021). Table 1 describes the basic definitions and concepts of cyberspace.

    • An In-Depth Analysis of the Constantly Changing World of Cyber Threats and Defences: Locating the Most Recent Developments

      2023, 2023 International Conference on Power Energy, Environment and Intelligent Control, PEEIC 2023
    View all citing articles on Scopus

    This work was supported by the research office of Sharif University of Technology.

    View full text