Semi-Supervised Transfer Learning Methodology for Fault Detection and Diagnosis in Air-Handling Units
Abstract
:1. Introduction
- The proposal of a cross-domain transfer learning approach for FDD in HVAC systems with high dissimilarity between their operating conditions. The study includes the description of the application framework and a quantitative analysis of the transfer learning performance.
- The use of a parameter-based transfer approach for transfer learning in FDD applications for AHU equipment. The proposed methodology for the leverage of knowledge is also compared to other state-of-the-art transfer learning approaches to ensure the validity of the study hypothesis.
- A robust data instances filter for the AHU datasets, based on the reference model predictions’ probability to evaluate the similarity between the samples. This dissimilarity filter is compared to other uncertainty measures commonly found in the literature.
Literature Review
2. Materials and Methods
2.1. Construction of the Reference Model
2.2. Target Data Collection and Labelling
2.3. Dissimilarity Reduction Previous to the Transfer Learning
Algorithm 1 Algorithm used to filter the target samples based on their class similarity with the one observed in the source domain. |
Require: Pretrained model |
Input: Labelled operating data of the AHU , labels of the labelled data |
Output: Filtered training samples pool N |
1: for each of the samples do |
2: ▹ Obtain the predicted label |
3: if Prediction confidence is over a threshold then |
4: if then |
5: Add sample to the target training pool N |
6: end if |
7: end if |
8: end for |
2.4. Transfer Learning to the Target Model
3. Results and Discussion
3.1. Experimental AHU Installations
- F1: Outdoor air damper stuck at the fully closed position;
- F2: Heating coil valve leak;
- F3: Cooling coil valve stuck.
3.2. Methodology Analysis
3.2.1. Model’s Overall Accuracy Validation
3.2.2. Dissimilarity Filtering Comparison
3.2.3. Comparison with Other Transfer Learning Methodologies
- domain adversarial neural network (DANN), replicating the network architecture and training parameters used in [19] which consists of several dense layers fully connected, that is, a 3-layer feature extractor with 17, 14 and 11 neurons followed by a 4-layer (11, 9, 7, 5 neurons) label predictor and a 4-layer domain discriminator with 11, 8, 5 and 2 neurons. The learning rate is set to 0.001 and is trained for 400 epochs using the Adam optimizer,
- Subspace alignment, which is a classical transfer learning that tries to linearly align the source and target domain in a reduced PCA space. It has been used in [55] for activity recognition in one building using features learnt in another building. For this implementation, a 3-component PCA has been implemented as a pre-processing stage before the ANN architecture described in the proposed methodology,
- Feature augmentation, which consists of increasing the number of features by separating the existing features into three classes: specific source features, specific target features, and general features that have the same behaviour in both domains. Like in the previous approach, it consists of a pre-processing stage that is added in before the ANN defined for the proposed methodology,
- Correlation alignment (CORAL), minimizes the domain shift by aligning the second-order statistics of the distributions. This, as in the rest of the methodologies of the category performs a transformation on the input data before it is fed to the ANN of the proposed methodology. Here, the regularization hyperparameter has been set at which is a common value found in the literature, and
- Transfer Component analysis (TCA), which is an efficient dimensionality reduction for aligning marginal distributions. It is used in [23] in combination with an SVM for the transfer learning in FDD for chillers achieving an F-scores between 0.7 and 0.9. It is also used in [20] for the prediction of temperatures in residential buildings. Here, both TCA-SVM and TCA-ANN were tested using the radial basis function as the TCA kernel and a trade-off parameter of 0.1. The ANN variant of the TCA obtained better results and it is the one that is reported in Table 4.
- Kullback-Leibler importance estimation procedure (KLIEP) which reweights the source samples minimizing the Kullback-Leibler divergence between the source and target domains. In [56], the authors use this methodology to estimate occupancy in smart buildings. Here the hyperparameters of the KLIEP estimator are the same used in [56] and the estimator used is the same as the one in the proposed methodology, and
- Transfer AdaBoost (TrAdaBoost), which applies the reverse boosting principle to reduce the weights of the poorly predicted source samples and increase the weight of the target samples. The authors of [57] use this methodology to perform a medium-term energy prediction of buildings. Here a total of 10 ANN estimators are trained each 200 epochs using a learning rate for the TrAdaBoost of 0.1.
4. Discussion
- This study is not subject to the hypothesis of high similarity between the used domains, which is a common requirement in the published articles related to transfer learning in the field. This is the main advantage of the study compared with the current studies in the field,
- It provides an easily transferable scheme that does not require too much effort to be adapted and applied to a new installation without recorded historical data. In comparison to other data-driven approaches, it does not need a huge amount of labelled data, which implies large data collection periods or a high number of epochs during the training, which favour the overfitting of the resulting model, and
- The usage of a data instance filter generated from the reference model, which is used to characterize the patterns for their later recognition, but also to evaluate the dissimilarity between the domains to detect not correlated samples.
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- International Energy Agency (IEA). Energy Efficiency 2021; Technical Report; International Energy Agency: Paris, France, 2021. [Google Scholar]
- United Nations Environment Programme. 2021 Global Status Report for Buildings and Construction: Towards a Zero-Emission, Efficient and Resilient Buildings and Construction Sector; Technical Report; UNEP: Nairobi, Kenya, 2021. [Google Scholar]
- Adhikari, R.; Pipattanasomporn, M.; Rahman, S. An algorithm for optimal management of aggregated HVAC power demand using smart thermostats. Appl. Energy 2018, 217, 166–177. [Google Scholar] [CrossRef]
- Fan, C.; Sun, Y.; Zhao, Y.; Song, M.; Wang, J. Deep learning-based feature engineering methods for improved building energy prediction. Appl. Energy 2019, 240, 35–45. [Google Scholar] [CrossRef]
- Manno, A.; Martelli, E.; Amaldi, E. A Shallow Neural Network Approach for the Short-Term Forecast of Hourly Energy Consumption. Energies 2022, 15, 958. [Google Scholar] [CrossRef]
- Olu-Ajayi, R.; Alaka, H.; Sulaimon, I.; Sunmola, F.; Ajayi, S. Building energy consumption prediction for residential buildings using deep learning and other machine learning techniques. J. Build. Eng. 2022, 45, 103406. [Google Scholar] [CrossRef]
- Wang, J.; Munankarmi, P.; Maguire, J.; Shi, C.; Zuo, W.; Roberts, D.; Jin, X. Carbon emission responsive building control: A case study with an all-electric residential community in a cold climate. Appl. Energy 2022, 314, 118910. [Google Scholar] [CrossRef]
- Halhoul Merabet, G.; Essaaidi, M.; Ben Haddou, M.; Qolomany, B.; Qadir, J.; Anan, M.; Al-Fuqaha, A.; Abid, M.R.; Benhaddou, D. Intelligent building control systems for thermal comfort and energy-efficiency: A systematic review of artificial intelligence-assisted techniques. Renew. Sustain. Energy Rev. 2021, 144, 110969. [Google Scholar] [CrossRef]
- Mirnaghi, M.S.; Haghighat, F. Fault detection and diagnosis of large-scale HVAC systems in buildings using data-driven methods: A comprehensive review. Energy Build. 2020, 229, 110492. [Google Scholar] [CrossRef]
- Baldi, S.; Zhang, F.; Le Quang, T.; Endel, P.; Holub, O. Passive versus active learning in operation and adaptive maintenance of Heating, Ventilation, and Air Conditioning. Appl. Energy 2019, 252, 113478. [Google Scholar] [CrossRef]
- Li, Y.; O’Neill, Z. An innovative fault impact analysis framework for enhancing building operations. Energy Build. 2019, 199, 311–331. [Google Scholar] [CrossRef]
- Zhang, R.; Hong, T. Modeling of HVAC operational faults in building performance simulation. Appl. Energy 2017, 202, 178–188. [Google Scholar] [CrossRef]
- Lazarova-Molnar, S.; Mohamed, N. Collaborative data analytics for smart buildings: Opportunities and models. Clust. Comput. 2019, 22, 1065–1077. [Google Scholar] [CrossRef]
- Shi, Z.; O’Brien, W. Development and implementation of automated fault detection and diagnostics for building systems: A review. Autom. Constr. 2019, 104, 215–229. [Google Scholar] [CrossRef]
- Mao, W.; Zhang, D.; Tian, S.; Tang, J. Robust detection of bearing early fault based on deep transfer learning. Electronic 2020, 9, 323. [Google Scholar] [CrossRef]
- Zou, Y.; Liu, Y.; Deng, J.; Jiang, Y.; Zhang, W. A novel transfer learning method for bearing fault diagnosis under different working conditions. Measurement 2021, 171, 108767. [Google Scholar] [CrossRef]
- Li, J.; Lin, M.; Li, Y.; Wang, X. Transfer learning network for nuclear power plant fault diagnosis with unlabeled data under varying operating conditions. Energy 2022, 254, 124358. [Google Scholar] [CrossRef]
- Li, P.; Anduv, B.; Zhu, X.; Jin, X.; Du, Z. Across working conditions fault diagnosis for chillers based on IoT intelligent agent with deep learning model. Energy Build. 2022, 268, 112188. [Google Scholar] [CrossRef]
- Zhu, X.; Chen, K.; Anduv, B.; Jin, X.; Du, Z. Transfer learning based methodology for migration and application of fault detection and diagnosis between building chillers for improving energy efficiency. Build. Environ. 2021, 200, 107957. [Google Scholar] [CrossRef]
- Grubinger, T.; Chasparis, G.C.; Natschläger, T. Generalized online transfer learning for climate control in residential buildings. Energy Build. 2017, 139, 63–71. [Google Scholar] [CrossRef]
- Pinto, G.; Wang, Z.; Roy, A.; Hong, T.; Capozzoli, A. Transfer learning for smart buildings: A critical review of algorithms, applications, and future perspectives. Adv. Appl. Energy 2022, 5, 100084. [Google Scholar] [CrossRef]
- Bascol, K.; Emonet, R.; Fromont, E. Improving Domain Adaptation by Source Selection. In Proceedings of the 2019 IEEE International Conference on Image Processing (ICIP), Taipei, Taiwan, 22–25 September 2019; pp. 3043–3047. [Google Scholar] [CrossRef] [Green Version]
- Van de Sand, R.; Corasaniti, S.; Reiff-Stephan, J. Data-driven fault diagnosis for heterogeneous chillers using domain adaptation techniques. Control Eng. Pract. 2021, 112, 104815. [Google Scholar] [CrossRef]
- Yao, R.; Guo, C.; Deng, W.; Zhao, H. A novel mathematical morphology spectrum entropy based on scale-adaptive techniques. ISA Trans. 2022, 126, 691–702. [Google Scholar] [CrossRef] [PubMed]
- Wu, D.; Wu, C. Research on the Time-Dependent Split Delivery Green Vehicle Routing Problem for Fresh Agricultural Products with Multiple Time Windows. Agriculture 2022, 12, 793. [Google Scholar] [CrossRef]
- Chen, H.; Miao, F.; Chen, Y.; Xiong, Y.; Chen, T. A Hyperspectral Image Classification Method Using Multifeature Vectors and Optimized KELM. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 14, 2781–2795. [Google Scholar] [CrossRef]
- An, Z.; Wang, X.; Li, B.; Xiang, Z.; Zhang, B. Robust visual tracking for UAVs with dynamic feature weight selection. Appl. Intell. 2022, 1–14. [Google Scholar] [CrossRef]
- Kim, W.; Katipamula, S. A review of fault detection and diagnostics methods for building systems. Sci. Technol. Built Environ. 2018, 24, 3–21. [Google Scholar] [CrossRef]
- Li, J.; Guo, Y.; Wall, J.; West, S. Support vector machine based fault detection and diagnosis for HVAC systems. Int. J. Intell. Syst. Technol. Appl. 2019, 18, 204. [Google Scholar] [CrossRef]
- Zhao, Y.; Li, T.; Fan, C.; Lu, J.; Zhang, X.; Zhang, C.; Chen, S. A proactive fault detection and diagnosis method for variable-air-volume terminals in building air conditioning systems. Energy Build. 2019, 183, 527–537. [Google Scholar] [CrossRef]
- Lee, K.P.; Wu, B.H.; Peng, S.L. Deep-learning-based fault detection and diagnosis of air-handling units. Build. Environ. 2019, 157, 24–33. [Google Scholar] [CrossRef]
- Han, H.; Zhang, Z.; Cui, X.; Meng, Q. Ensemble learning with member optimization for fault diagnosis of a building energy system. Energy Build. 2020, 226, 110351. [Google Scholar] [CrossRef]
- Taheri, S.; Ahmadi, A.; Mohammadi-Ivatloo, B.; Asadi, S. Fault detection diagnostic for HVAC systems via deep learning algorithms. Energy Build. 2021, 250, 111275. [Google Scholar] [CrossRef]
- Miyata, S.; Lim, J.; Akashi, Y.; Kuwahara, Y.; Tanaka, K. Fault detection and diagnosis for heat source system using convolutional neural network with imaged faulty behavior data. Sci. Technol. Built Environ. 2020, 26, 52–60. [Google Scholar] [CrossRef]
- Yan, K.; Zhong, C.; Ji, Z.; Huang, J. Semi-supervised learning for early detection and diagnosis of various air handling unit faults. Energy Build. 2018, 181, 75–83. [Google Scholar] [CrossRef]
- Fan, C.; Liu, X.; Xue, P.; Wang, J. Statistical characterization of semi-supervised neural networks for fault detection and diagnosis of air handling units. Energy Build. 2021, 234, 110733. [Google Scholar] [CrossRef]
- Yan, K.; Huang, J.; Shen, W.; Ji, Z. Unsupervised learning for fault detection and diagnosis of air handling units. Energy Build. 2020, 210, 109689. [Google Scholar] [CrossRef]
- Li, B.; Cheng, F.; Zhang, X.; Cui, C.; Cai, W. A novel semi-supervised data-driven method for chiller fault diagnosis with unlabeled data. Appl. Energy 2021, 285, 116459. [Google Scholar] [CrossRef]
- Khalil, M.; McGough, S.; Pourmirza, Z.; Pazhoohesh, M.; Walker, S. Transfer Learning Approach for Occupancy Prediction in Smart Buildings. In Proceedings of the 2021 12th International Renewable Engineering Conference (IREC), Amman, Jordan, 14–15 April 2021; pp. 1–6. [Google Scholar] [CrossRef]
- Chen, Y.; Tong, Z.; Zheng, Y.; Samuelson, H.; Norford, L. Transfer learning with deep neural networks for model predictive control of HVAC and natural ventilation in smart buildings. J. Clean. Prod. 2020, 254, 119866. [Google Scholar] [CrossRef]
- Fang, X.; Gong, G.; Li, G.; Chun, L.; Li, W.; Peng, P. A hybrid deep transfer learning strategy for short term cross-building energy prediction. Energy 2021, 215, 119208. [Google Scholar] [CrossRef]
- Zheng, H.; Wang, R.; Yang, Y.; Yin, J.; Li, Y.; Li, Y.; Xu, M. Cross-Domain Fault Diagnosis Using Knowledge Transfer Strategy: A Review. IEEE Access 2019, 7, 129260–129290. [Google Scholar] [CrossRef]
- Zhang, J.; Inderjeet, M. kNN Approach to Unbalanced Data Distributions: A Case Study involving Information Extraction. In Proceedings of the International Conference on Machine Learning (ICML 2003), Workshop on Learning from Imbalanced Datasets II, Washington DC, USA, 21 August 2003. [Google Scholar]
- Fan, C.; He, W.; Liu, Y.; Xue, P.; Zhao, Y. A novel image-based transfer learning framework for cross-domain HVAC fault diagnosis: From multi-source data integration to knowledge sharing strategies. Energy Build. 2022, 262, 111995. [Google Scholar] [CrossRef]
- Li, D.; Zhou, Y.; Hu, G.; Spanos, C.J. Handling Incomplete Sensor Measurements in Fault Detection and Diagnosis for Building HVAC Systems. IEEE Trans. Autom. Sci. Eng. 2019, 17, 833–846. [Google Scholar] [CrossRef]
- Bourdeau, M.; Zhai, X.Q.; Nefzaoui, E.; Guo, X.; Chatellier, P. Modeling and forecasting building energy consumption: A review of data-driven techniques. Sustain. Cities Soc. 2019, 48, 101533. [Google Scholar] [CrossRef]
- Budd, S.; Robinson, E.C.; Kainz, B. A survey on active learning and human-in-the-loop deep learning for medical image analysis. Med Image Anal. 2021, 71, 102062. [Google Scholar] [CrossRef] [PubMed]
- Jian, C.; Yang, K.; Ao, Y. Industrial fault diagnosis based on active learning and semi-supervised learning using small training set. Eng. Appl. Artif. Intell. 2021, 104, 104365. [Google Scholar] [CrossRef]
- Jin, Y.; Qin, C.; Huang, Y.; Liu, C. Actual bearing compound fault diagnosis based on active learning and decoupling attentional residual network. Measurement 2021, 173, 108500. [Google Scholar] [CrossRef]
- Vununu, C.; Lee, S.H.; Kwon, K.R. A Classification Method for the Cellular Images Based on Active Learning and Cross-Modal Transfer Learning. Sensors 2021, 21, 1469. [Google Scholar] [CrossRef]
- Wen, J.; Li, S. RP-1312–Tools for Evaluating Fault Detection and Diagnostic Methods for Air-Handling Units; Technical Report; ASHRAE: Atlanta, GA, USA, 2012. [Google Scholar]
- Li, S.; Wen, J. Development and validation of a dynamic air handling unit model, Part 1. ASHRAE Trans. 2010, 116, 45–56. [Google Scholar]
- Granderson, J.; Lin, G.; Harding, A.; Im, P.; Chen, Y. Building fault detection data to aid diagnostic algorithm creation and performance testing. Sci. Data 2020, 7, 65. [Google Scholar] [CrossRef]
- IEA. Share of Global Electricity Demand Growth to 2050; IEA: Paris, France, 2019; Available online: https://www.iea.org/data-and-statistics/charts/share-of-global-electricity-demand-growth-to-2050 (accessed on 28 August 2022).
- Chiang, Y.T.; Lu, C.H.; Hsu, J.Y.J. A Feature-Based Knowledge Transfer Framework for Cross-Environment Activity Recognition Toward Smart Home Applications. IEEE Trans. Hum.-Mach. Syst. 2017, 47, 310–322. [Google Scholar] [CrossRef]
- Dridi, J.; Amayri, M.; Bouguila, N. Transfer learning for estimating occupancy and recognizing activities in smart buildings. Build. Environ. 2022, 217, 109057. [Google Scholar] [CrossRef]
- Qian, F.; Gao, W.; Yang, Y.; Yu, D. Potential analysis of the transfer learning model in short and medium-term forecasting of building HVAC energy consumption. Energy 2020, 193, 116724. [Google Scholar] [CrossRef]
Variable | Meaning | Description |
---|---|---|
Supply air temperature | Temperature at the exit of the AHU served to thermal zones, after the mixing box, heating and cooling coils and the supply fan. | |
Outdoor air temperature | Temperature of the fresh air that is fed into the fresh air intake. The volume of air is controlled by the outside air dampers. | |
Mixed air temperature | Temperature of the mixing chamber or economizer, where the fresh air is mixed with the exhaust air allowing the recirculation of the latter. | |
Return air temperature | Temperature of the air that leaves the thermal zone, before the return fan. | |
Supply air temperature setpoint | Setpoint for . It is achieved by modifying the control (e.g., open/close dampers, heating/cooling the air) | |
Supply air fan speed control signal | Signal to modify the speed of the supply air fan. It takes values in the interval [0, 1] | |
Outdoor air damper control signal | Signal to open or close the metallic sheets of the dampers. It takes values in the interval [0, 1] | |
Exhaust air damper control signal | Signal to open or close the metallic sheets of the dampers. It takes values in the interval [0, 1] | |
Return air damper control signal | Signal to open or close the metallic sheets of the dampers. It takes values in the interval [0, 1] | |
Cooling coil valve control signal | Signal to modify the opening of the water valve of the cooling coil, increasing or decreasing the amount of water that enters the heat exchanger. It takes values in the interval [0, 1] | |
Heating coil valve control signal | Signal to modify the opening of the water valve of the heating coil, increasing or decreasing the amount of water that enters the heat exchanger. It takes values in the interval [0, 1] | |
Occupancy mode indicator | Occupancy signal created from the schedule fixed by the building management team. |
Methodology | # Samples | Precision | Recall | F-Score |
---|---|---|---|---|
Proposed | F0: 181 F1: 21 F2: 15 F3: 17 | 0.92 | 0.93 | 0.92 |
Entropy sampling | F0: 1427 F1: 794 F2: 494 F3: 332 | 0.81 | 0.80 | 0.80 |
Margin Sampling | F0: 2014 F1: 995 F2: 521 F3: 499 | 0.84 | 0.83 | 0.84 |
Random Sampling | F0: 107 F1: 52 F2: 21 F3: 20 | 0.73 | 0.66 | 0.66 |
Test Trained on → Tested on | Precision | Recall | F-Score |
---|---|---|---|
Source → Source (Figure 7) | 0.99 | 0.98 | 0.98 |
Target → Target (Figure 9) | 0.86 | 0.77 | 0.81 |
Source, Target → Target (Figure 11) | 0.92 | 0.93 | 0.92 |
Source → Target (without re-training) (Figure 8) | 0.55 | 0.59 | 0.55 |
Source → Target (without dissimilarity reduction) | 0.40 | 0.39 | 0.29 |
Methodology | Precision | Recall | F-Score |
---|---|---|---|
DANN | 0.46 | 0.47 | 0.45 |
Subspace alignment | 0.40 | 0.47 | 0.38 |
Feature augmentation | 0.86 | 0.81 | 0.78 |
CORAL | 0.17 | 0.14 | 0.07 |
TCA | 0.52 | 0.65 | 0.55 |
KLIEP | 0.51 | 0.35 | 0.30 |
TrAdaBoost | 0.74 | 0.73 | 0.73 |
Proposed | 0.92 | 0.93 | 0.92 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Martinez-Viol, V.; Urbano, E.M.; Torres Rangel, J.E.; Delgado-Prieto, M.; Romeral, L. Semi-Supervised Transfer Learning Methodology for Fault Detection and Diagnosis in Air-Handling Units. Appl. Sci. 2022, 12, 8837. https://doi.org/10.3390/app12178837
Martinez-Viol V, Urbano EM, Torres Rangel JE, Delgado-Prieto M, Romeral L. Semi-Supervised Transfer Learning Methodology for Fault Detection and Diagnosis in Air-Handling Units. Applied Sciences. 2022; 12(17):8837. https://doi.org/10.3390/app12178837
Chicago/Turabian StyleMartinez-Viol, Victor, Eva M. Urbano, Jose E. Torres Rangel, Miguel Delgado-Prieto, and Luis Romeral. 2022. "Semi-Supervised Transfer Learning Methodology for Fault Detection and Diagnosis in Air-Handling Units" Applied Sciences 12, no. 17: 8837. https://doi.org/10.3390/app12178837
APA StyleMartinez-Viol, V., Urbano, E. M., Torres Rangel, J. E., Delgado-Prieto, M., & Romeral, L. (2022). Semi-Supervised Transfer Learning Methodology for Fault Detection and Diagnosis in Air-Handling Units. Applied Sciences, 12(17), 8837. https://doi.org/10.3390/app12178837