Abstract

A decentralized control structure is introduced into the heating, ventilation, and air conditioning (HVAC) system to solve the high maintenance and labor cost problem in actual engineering. Based on this new control system, a decentralized optimization method is presented for sensor fault repair and optimal group control of HVAC equipment. Convergence property of the novel method is theoretically analyzed considering both convex and nonconvex systems with constraints. In this decentralized control system, traditional device is fitted with a control chip such that it becomes a smart device. The smart device can communicate and operate collaboratively with the other devices to accomplish some designated tasks. The effectiveness of the presented method is verified by simulations and hardware tests.

1. Introduction

The heating, ventilation, and air conditioning (HVAC) system is responsible for providing a high-quality and healthy environment for the building’s occupants. It comprises a set of interconnected subsystems, including the heating and cooling plants, the ventilation system, and one or more zones served by the terminal units of the ventilation system. The control system is an indispensable part of HVAC system. An HVAC control system consists of several hardware components, such as sensors, electrical and mechanical actuators, and controllers, and is highly complex and nonlinear, especially in the case of large-scale buildings [1].

The current DDC based control architecture in HVAC systems has several deficiencies during construction and operation. The construction problem is the high labor cost for the establishment of the basic network. In some cases, this task is even unfeasible and can be exceedingly demanding. During practical operations, the traditional control system needs information transmission to the supervising computer for control and alarm processes, which can cause severe link congestion and operational lag. The implementation of DDC based control system also encounters difficulties when the system scale changes. What is more, the entire system cannot continue to process information and always develops chain breaks if the supervising center breaks down. In addition, the information security of hierarchical control structure is faced with challenge as well. Most HVAC control systems today are not fully operational and are trivial for the reasons mentioned above.

Under the conventional HVAC control structure, the majority of sensor fault detection and diagnosis (SFDD) methods are based on a centralized algorithm [219]. To the best of our knowledge, these methods have a series of disadvantages, such as poor adaptability and instantaneity. Therefore, few SFDD methods for HVAC systems have been applied in practice. Sensor fault repair is considered a key problem due to the increasing number of sensors for the monitoring and control of HVAC systems.

For the optimal control of devices group, including cooling towers, chillers, and pumps, the current control structure needs considerable configuration and can hardly reach optimal operation. The reason is that the accurate model of the total HVAC system is complex and is yet to be established in some sense. The group control in large-scale HVAC control systems is another challenge encountered [20].

As the conventional control structure is a barrier for the broad application of HVAC control systems, new architecture with features such as easy extension, convenient implementation, and plug-and-play operation has never been more desirable. To meet practical needs and theoretical challenges, a decentralized HVAC control system is proposed [21]. The objective and main contribution of the present study are the design and analysis of a novel decentralized method for the SFDD and the group control based on a decentralized HVAC control system.

2. Decentralized HVAC Control System

The HVAC system is a large-scale interconnected nonlinear system as shown in Figure 1(a). Thus, the DDC based control approach may be less suitable compared with a decentralized approach. The decentralized control system consists of several autonomous and network-connected computing nodes (CPNs), in which a microcontroller unit is embedded. According to the vision of a decentralized method, traditional devices can be upgraded and transformed into smart devices through the incorporation of the CPNs.

For simplicity, the topology is used to denote regional relationships: each subsystem is represented by a node and the edges refer to physical connectivity as depicted in Figure 1(b). Notably, the effect of a physical field (e.g., humidity and temperature) in most HVAC control systems is gradual and mainly reflected in adjacent areas. Therefore, each CPN (agent) can only communicate with its immediate neighboring agents, which are connected through network cables. Any computing task must be accomplished in a decentralized and coordinated manner by the CPNs. The decentralized HVAC control system simplifies the configuration and facilitates the installation. In this case, complicated onsite modeling, configuration, commissioning, and other developing work are simplified to the wiring of communication connection among smart devices. Thus, this novel flat control structure is flexible and plug-and-play. The present study designs a novel decentralized mechanism assisted by a decentralized optimization method.

3. Decentralized Optimization

Decentralized approaches remove the requirement of central coordination and enable individual devices to determine their own actions based on local and neighboring information.

3.1. Problem Statement

Most research and applications can be abstracted as constrained optimization problems. The minimum optimization is considered in this study. Thus, the centralized optimization can be stated aswhere the variable , , with coupled variables denotes the decision variable of agent and is the quantity of agents. The local objective function , , represents the individual cost of agent in the actual engineering. Constraints and can include the basic physical laws, such as energy, mass, and momentum conservation equations.

The implementation of the centralized optimization problem (1) requires a central processor with access to the total system information. However, the decentralized method focuses on each local agent with restricted information on the whole system. Each agent can exchange information only with its neighboring nodes.

To provide a clear expression, the neighborhood of a given agent is defined as . The set , , is introduced to denote the coupled variable, which is the decision variable shared by agents and . The decentralized structure requires each agent to solve local optimization exclusively based on the information on other agents in its neighborhood. The approach of the present study is based on variable splitting method [22] to obtain an equivalent constrained optimization formulation, which is then addressed in a decentralized manner. The variable splitting method is shown in Figure 2. In and , the common variable set is replaced by and , respectively. Moreover, .

Then problem (1) can be transformed into the decentralized optimization problem (2) based on the variable splitting method:where the notation , represents the function of xi in which the neighborhood state is fixed. Node can solve problem (2) after it determines the neighborhood value provided that is received from its neighbors in the previous iteration. If each objective function is as close as possible to its minimum, then the optimal solution of the centralized optimization problem can be obtained while also ensuring that the coupled constraints are not violated across the nodes. Consequently, each node can realize a decentralized and autonomous operation. For the decentralized optimization problem, optimality is defined using the Nash equilibrium [23]. The expression is a Nash equilibrium for the optimization problem ifwhere is the quantity of agents. Assuming that the optimization problems were convex and differential, Inalhan gave the decentralized algorithm and the corresponding equivalence of the centralized optimization and decentralized optimization [23].

However, most optimization problems in engineering are usually nonderivable, discontinuous, constrained, and highly nonlinear problems with numerous local optima. Thus, the present study proposes an iterative method to solve the decentralized optimization of HVAC control system.

3.2. Algorithm Design

The decentralized estimation distribution algorithm (EDA) is provided to solve the decentralized optimization problem. EDA is an evolutionary algorithm based on probability distribution [24]. The algorithm is adapted in a decentralized manner: each agent executes identical evolutionary algorithms with neighboring coordination. Moreover, the penalty method is applied to solve the consensus optimization. For the decentralized optimization model presented in problem (2), the modified penalty cost function of the th agent is considered aswhere the penalty factor , the initial value of which is finite, approaches infinity when the iteration progresses. When is small, or in an extreme case , the optimal solution minimizes agent without considering the agent , that is, without considering the penalty terms. In other words, during the penalty function transformation, and do not need to be equal when is not large enough. When increases, the optimal solution considers reducing the penalty terms. If approaches infinity, then = .

The analysis cited in the preceding paragraph makes analyzing the convergence of the presented algorithm possible. In short, the th agent collects the value of the coupled variables from the neighborhood and optimizes with the local . To present a clear expression, the key algorithm is described in the flow chart in Figure 3.

The presented decentralized algorithm can be treated as a synchronous iteration. In the form of synchronous iteration, all agents are initially optimized on the basis of the desired solutions. The solution set is then passed to its neighborhood and is reoptimized for each solution set received at each step.

3.3. Convergence Analysis

It is proved that the decentralized optimization algorithm converges to the centralized optimality in this section.

For the discrete EDA, the solution space in each local agent , , is defined as , where , , is the space of the th variable and is the length of chromosome vector. For the th variable, , where is the quantity of the value states, and . If is the th generation that contains chromosomes, then is written as , where denotes the th chromosome among .

For all , a chromosome satisfies    and is contained in generation . Considering that the th generation depends only on the th generation, Markov models are applied to describe this evolutionary process. For a generation, the transfer probability of the value state iswhere is the transfer probability from states to . It can be proved that the EDA can reach generation and thus converge to a local optimization (or global optimization for each agent ) with a probability of 1 [24].

For the continuous case, an elite-preserving operator is used in the presented algorithm. This operator favors the elites of a population by giving them an opportunity to be directly carried over to the next generation. Thus, the new population consists of new chromosomes, with . The following theorems of probability and statistics are introduced to complete the proof process.

Theorem 1. For any , ifthen the random exists almost everywhere and converges to with a probability of 1.

Theorem 2. The present study assumes that , is the event sequence based on probability and defines . IfthenIfand are independent of one another, then

The present study assumes that the search space of problem (4) is a closed and bounded region. The objective function is taken as the fitness function , and the optimal solution set is expressed aswhere . The chromosomes of EDA can be divided into the following properties: (I)At least one chromosome belongs to , which is written as .(II)All M chromosomes belong to , which is written as , whereIf    represents the probability that the th generation transfers to when the th generation keeps the state of , then the following conditions hold:(I) at and .(II) at and , where .

Proof. Conditions (I)-(II) are proved in sequence as follows:(I)This algorithm uses the elite-preserving operator. Thus, situation (I) is obviously valid.(II)For any , the present study assumes that . Thus, exists satisfyingwhenwhere denotes the length of the chromosome.
Defineso thatdue toThe probability that transfers to can be defined bywhere is the chromosome of a new generation, and are the th elements of and , respectively, and . Given that the evolutionary computation of EDA is based on probability, each element of the chromosome generates a series of the probability function , with .
For , and thusFor simplicity, can be denoted byand then clearlyDefineso thatAsthe following result can be achieved:where the constant is

Proposition 3. The present study assumes that , , is the population of the th generation of EDA, which consists of chromosomes. If the fitness function is continuous on the bounded region , the optimal solution converges to the local optimization for agent with a probability of 1, and

Proof. For any , setand thus, the following equation is obtained:so thatAccording to Theorem 2,is true. Therefore, the local solution converges to the local optimization for agent i with a probability of 1. Proposition 3 is true for each agent in the decentralized control system. Then the validity of the global optimization is deduced in the subsequent paragraphs.

Proposition 4. For the decentralized optimization, converges to the Nash equilibrium of the centralized optimization problem with a probability of 1.

Proof. According to Proposition 3, the local solution can converge to the local optimization for agent with a probability of 1. Define the probability as ; that is,According to the limit operation, the global probability can be described asFor the coupled variables, a similar result is also obtained:as shown in Figure 4.
Then the present study directly obtainswhere is a Nash equilibrium of problem (1). In conclusion, converges to an optimal solution of the centralized optimization problem with a probability of 1 as the iteration step .

3.4. Case Study

A numerical experiment is conducted to demonstrate the effectiveness of the proposed algorithm by comparing centralized method with decentralized method. The control network is composed of agents, which are sequentially connected and numbered as 1 to 5. To achieve goals, the self-organized agents are able to communicate with one another over a connected, undirected graph. This control network is selected for its clarity and because it is also a problem that requires coordinated behavior among agents. Thus, it is an adequate control network for analysis. In many applications involving networks, nodes can be abstracted as agents that with some capacity make optimal decisions in order to accomplish some designated task. The optimization model can be designed asThe objective function and the corresponding constraints can be decomposed using the approach mentioned above. The local objective function and corresponding constraints in each node are described in Figure 5.

The evolutionary process of the decision variables can be obtained through the presented algorithm and is illustrated in Figure 6(a). The respective evolutionary process of each local objective function is demonstrated in Figure 6(b).

The detailed numerical results of the decentralized optimization algorithm are shown in Table 1. For comparison, the optimal results obtained by the centralized method are listed in the same table. It can be seen that the decentralized optimization almost converges to the optimal results of centralized optimization. Thus the numerical simulations show the effectiveness of the proposed decentralized algorithm and validate the theoretical analysis. Next, the presented algorithm is examined in practical applications. The present study focuses on two basic operational tasks in HVAC control systems, namely, sensor fault self-repair and device group control.

4. Sensor Fault Self-Repair Application

In the decentralized HVAC control system, each sensor is regarded as a low-intelligence node called a sensor-Agent. A sensor-Agent is attached to the CPN, which can be self-organized and self-computed independently. In practice, there may be more than one sensor covering a single zone. In this case, the multiple measurements can be combined by averaging or using advanced sensor fusion methods, while the proposed mechanism can still be applied.

4.1. Problem Formulation

Systematic comparison and optimization, a novel method for sensor drift error, is presented in the literature [25] to remedy the deficiencies of the existing SFDD methods in practical engineering. The SFDD in the present study is also formulated as a constrained optimization problem. Due to the fact that faulty sensors are always less in engineered system, the optimization aims to minimize the faulty probability of all the sensors. The equality and inequality constraints are established on the basis of basic physical laws in HVAC system. Thus, the centralized optimization model for sensor fault detection and self-repair can be described aswhere is the measurement of sensor , the optimal solution (true value) of which is . Then, can be explained as the measured error of sensor . Parameters and denote the quantity of inequality and equality constraints, respectively. The objective function expresses the faulty probability (FP) of sensor andwhere parameter can affect the slope of the faulty probability function. Problem (39) can be transformed into problem (40) on each agent , , based on the above analysis:In the decentralized control system, a flat undirected graph is used to describe the decentralized sensor network. If constraints exist between sensors and , then these sensors are connected using an undirected edge . The comparison between the centralized and decentralized SFDD methods is illustrated in Figure 7. The presented decentralized algorithm runs in each sensor-Agent and operates at the field level of an HVAC control system.

The chilled water system, which is an essential subsystem in HVAC systems, is used as an example to validate the presented algorithm.

4.2. Chilled Water System Model

In the chilled water system, the bypass valve has a one-way direction. The two parallel chillers of the primary pump side supply chilled water to four parallel Fan-Coil Units (FCUs) through secondary pumps. The return chilled water of each FCU converges to the chillers. The chilled water of the primary and secondary loops is balanced by a bypass pipe between the water distributor and collector. The detailed system structure is illustrated in Figure 8(a). Parameters are assumed to be given. Variables are measured by temperature sensors 1−16. The detailed variables and parameters are listed in Table 2. The constraint model of each sensor-Agent is developed and illustrated in Table 3. The range of the variables can be identified according to the rated values. Supply chilled water temperature sensors have a range of , and return chilled water temperature sensors have a range of . The decentralized sensor network is established according to their constraint relationship. Figure 8(b) demonstrates the sensor network topology of the chilled water system.

4.3. Simulation Results

The present study assumes that the water flow parameters (L·s−1) are , , , , , , , , , and . Parameter in the objective function is set to 5. When four sensors fail at the same time, the measurements and drift error are set as shown in Figure 9.

The diagnosis results are obtained by implementing the presented algorithm on sensors 1−16. Figure 10 shows the evolutionary process of decision variables. Under mutual negotiation and adjustment, the optimal correction value fluctuates and finally reaches a new equilibrium state. After about 10 iterations, the algorithm becomes convergent. It can be seen that the stable value of faulty sensors has a larger deviation from the measurement than the normal sensors. Table 4 classifies the detailed numerical values to summarize the results clearly.

The FP of each sensor, that is, the objective function of the decentralized optimization, is presented in Figure 11. The FP of the faulty nodes tend to approach 1. Conversely, the FP of the normal nodes approaches 0. The results indicate that sensors 3, 6, 13, and 15 fail with a probability of 1, whereas all other sensors are normal. The simulation results presented in the preceding paragraph indicate that the proposed method can realize sensor fault self-repair and adequately solve the problem of drift error. The diagnosis performance of the proposed method depends on the quality and quantity of the constraints involved. For best results, each variable has to be involved in at least one equality constraint or two inequality constraints as shown in

5. Group Control Application

An extended application of the presented algorithm is examined in this section.

5.1. Problem Formulation

The optimal control of devices group plays an important role in HVAC system. The group control can also be abstracted as the constrained optimization model. Taking chillers as an example, the objective function is to minimize the energy consumption of all chillers. The constraints refer to the load balance; that is, the sum of the cooling loads is equal to the demand of the terminal. Thus, the centralized optimization model for the group control can be described aswhere is the cost of unit , is the quantity of devices, is the total load demand of the terminal, is the rated capacity (kW) of chiller , and is the status of unit , andBased on the control scheme proposed in the present study, problem (42) can be transformed into problem (44) for agent , . ConsiderThe device adopted in the decentralized control system is the updated smart device; that is, each decentralized controller is embedded into the body of chillers and becomes an organic part of each device. Therefore, the presented decentralized control algorithm can be executed in each smart device as demonstrated in Figure 12.

5.2. Simulation Results

The quantity of chillers is assumed to be 20. The rated capacity (kW) of chillers 1–20 is assumed to be 15, 20, 33, 41, 57, 69, 15, 12, 10, 24, 12, 15, 12, 69, 15, 12, 33, 41, 57, and 69, respectively. To simplify the calculation, the cost , , of each device is assumed to be identical. The load demand (kW) is assumed, and the result is expected to be reasonable with a margin error of 0.2 (kW). The simulation result is shown in Figure 13. Chillers 3, 4, 5, 7, 9, 10, 12, and 17 are part of the start-up. It can be seen that the summary result satisfies the load demand. The decision process converges at approximately the 300th iteration, and the consumed time is 35.77 s. However, the result is executed on a common computer with the Von Neumann type. To obtain more precise results, the present study utilizes the decentralized test platform described in the subsequent section.

6. Hardware Test

The decentralized test platform developed in the present study consists of a series of CPNs as shown in Figure 14. In practical engineering, each CPN is connected to its neighbors through a network cable or wireless communication. In the hardware experiment, SFDD and group control algorithm can be downloaded to each decentralized CPN to run. Each CPN acts as a sensor-Agent or smart device to test the decentralized algorithm.

The whole system is self-organized and plug-and-play. No configuration or commissioning work is needed. Regardless of the numbers or types of devices within the HVAC systems, a simple connection of neighboring smart devices through RJ45 jacks enables them to communicate with one another and collaboratively work to realize the SFDD and the group control.

7. Conclusion

In actual projects, the proprietor has to rely on a system integrator for HVAC control systems. Network construction is a complex and time-consuming process because a considerable amount of secondary development, such as configuration and commissioning, is necessary. In the key procedure, the control algorithm and model are written into the centralized controller, which needs to be reprogrammed from case to case because the system configuration or device type changes. Therefore, the development and operation involved in this undertaking incur high maintenance and labor costs.

A novel idea for the decentralized control method is proposed to solve actual engineering problems. With the rapid development of the electronic industry, smart hardware has been widely employed in different fields. According to the vision of a decentralized method, traditional devices can be upgraded and transformed into smart devices through the incorporation of a decentralized control chip. The accurate model and decentralized algorithm can be written into this chip. Smart devices communicate with their neighboring nodes and work collaboratively to perform the control tasks. In this case, complicated onsite modeling, configuration, commissioning, and other developing work can be simplified to the wiring of communication connection among smart devices, which can easily adapt to any change in subsystems and can be plug-and-play. Therefore, most tasks can be completed on the field level of the HVAC control system.

The proposed method meets the requirements of the modern HVAC control system and is adaptive to other large-scale distributed control systems. However, the present study is an elementary exploration into the decentralized control system and needs further investigation.

Competing Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

The authors would like to acknowledge the support provided by Tsinghua University-UTC Research Center for Integrated Building Energy, Safety and Control Systems.