A Dynamic Bayesian Network Framework for Data-Driven Fault Diagnosis and Prognosis of Smart Building Systems
Authors:   , Pradhan Ojas Man Singh , Wen Jin 
Published: August 2023

Buildings are subject to faults in their heating, ventilation and air-conditioning (HVAC) systems that can lead to excessive energy wastage, poor indoor climate, equipment failures and high maintenance costs. Field studies have shown that employing fault detection, diagnosis and prognosis (FDDP) tools followed up with equipment services and corrections can help achieve up to 40% of energy savings within the HVAC system and improve indoor climate, increase equipment lifecycle and reduce maintenance costs. The increasing adoption of building automation systems (BAS), Internet of Things (IoT) and other smart technologies in recent years have allowed large amounts of data to be continuously collected from building systems. This data-rich environment, along with the surge in data analytics and machine learning tools, has made cost-effective data-driven FDDP strategies possible. Compared to purely physics-based methods, data-driven methods require less explicit knowledge of the underlying physical system, thus are often easier to develop, and can learn certain intricate relationships that exist among data. Within the reported data-driven FDDP methods, there exists a few research gaps: 1) data imputation methods that leverage mutual information from correlated measurements to defy poor data quality from BAS have not been utilized efficiently; 2) there lacks a systematic and scalable fault diagnosis framework that incorporates probabilistic temporal relationships to track fault evolution; 3) existing fault diagnosis strategies typically focus on traditional rule-based control strategies and their scalability for advanced control strategies such as Guideline 36 have not been explored yet; 4) active threats information such as cyber-attacks, are typically not incorporated in an FDDP framework; 5) fault prognosis strategies to preemptively identify gradual faults for predictive maintenance have rarely been studied. This research attempts to address the above-mentioned research gaps through the following: Data Imputation: reported data imputation methods that are suitable for handling and repairing multi-source BAS data are evaluated. Data collected from a medium-sized, mixed-use institution building situated in Stockholm, Sweden and a small commercial building simulated in a laboratory setup is used to evaluate five different data imputation methods. Results demonstrate that incorporating time-lagged cross-correlations within the k-Nearest Neighbor (kNN) method helps to significantly improve the imputation accuracy and minimize the impact of repaired data on data-driven algorithms. Dynamic Bayesian Network (DBN)-based Framework for Cyber-Physical Fault Diagnosis: a DBN framework with discretized conditional probabilities parameters to represent the temporal relationships among building measurements is developed. Both domain knowledge and machine learning methods are used to develop the DBN structure and parameter model. The developed framework is evaluated for both traditional rule-based and Guideline 36 controls using datasets from a real building, a laboratory building, and a virtual testbed. Results show that the developed DBN framework is effective in diagnosing and isolating faults in systems even with different control strategies. The framework also successfully distinguishes whether system abnormalities originate from cyber-attacks or naturally occurring physical faults. Potential future direction to improve fault isolation using modified DBN topological structure is also reported in this study. DBN-based Framework for Fault Prognosis: an extension of the DBN framework in conjunction with Robust Multivariate Temporal (RMT) variate selection is proposed for fault prognosis. The RMT variate selection is used to extract localized temporal features from high dimensional datasets to determine the best inputs for training forecasting models. The expected fault-free behavior of multiple target variates, selected using domain knowledge, is forecasted using incoming data. The prediction errors generated from the forecasting phase are used as evidences in the DBN inference to estimate future fault probabilities. Gradual faults simulated in the virtual testbed are used to evaluate the prognosis framework. Results show that the developed framework is effective in prognosing gradual faults by leveraging the trending growth on the prediction errors. The research presented in this thesis contributes to the overall objective of developing a robust and cost-effective DBN-based framework for fault diagnosis and prognosis of building HVAC systems. Potential solutions to other existing challenges of implementing data-driven FDDP strategies, such as obtaining high-quality datasets, handling and repairing missing data, establishing a baseline model for detecting abnormalities despite other disturbances such as weather and internal conditions changes, and extracting temporal features from timeseries data are also examined.