Advanced Supervision of Smart Buildings Using a Novel Open-Source Control Platform
<p>Simplified scheme of a global monitoring and control system. DCU—Dynamic Control Unit; ASS—Advanced Supervision Server; PDS—Process Data Server; GMS—Global Monitoring System; and, PV—Process Visualisation.</p> "> Figure 2
<p>Dynamic control unit—DCU56IO (decomposed on the left). <b>A</b>—main DCU board; <b>B</b>—digital modules; <b>C</b>—power and communication module; <b>D</b>—analog modules; <b>1</b>—top cover; <b>2</b>—chassis; <b>3</b>—mid cover; <b>a</b>—width (230.2 mm); <b>b</b>—heigh (138 mm); and, <b>c</b>—depth (53.5 mm).</p> "> Figure 3
<p>DCU control modes. <span class="html-fig-inline" id="sensors-21-00160-i001"> <img alt="Sensors 21 00160 i001" src="/sensors/sensors-21-00160/article_deploy/html/images/sensors-21-00160-i001.png"/></span>—real system/process; <span class="html-fig-inline" id="sensors-21-00160-i002"> <img alt="Sensors 21 00160 i002" src="/sensors/sensors-21-00160/article_deploy/html/images/sensors-21-00160-i002.png"/></span>—DCU controller; and, <span class="html-fig-inline" id="sensors-21-00160-i003"> <img alt="Sensors 21 00160 i003" src="/sensors/sensors-21-00160/article_deploy/html/images/sensors-21-00160-i003.png"/></span>—host PC with simulation platform. NOTE: Red arrows connect parts, which cooperate in specific control mode.</p> "> Figure 4
<p>Graphical output from <span class="html-italic">signalCheck()</span> function simulation.</p> "> Figure 5
<p>Visualisation accessible on any device with a web browser. <span class="html-fig-inline" id="sensors-21-00160-i004"> <img alt="Sensors 21 00160 i004" src="/sensors/sensors-21-00160/article_deploy/html/images/sensors-21-00160-i004.png"/></span>—mobile-phone; <span class="html-fig-inline" id="sensors-21-00160-i005"> <img alt="Sensors 21 00160 i005" src="/sensors/sensors-21-00160/article_deploy/html/images/sensors-21-00160-i005.png"/></span>—tablet; <span class="html-fig-inline" id="sensors-21-00160-i006"> <img alt="Sensors 21 00160 i006" src="/sensors/sensors-21-00160/article_deploy/html/images/sensors-21-00160-i006.png"/></span>—desktop; and, <span class="html-fig-inline" id="sensors-21-00160-i007"> <img alt="Sensors 21 00160 i007" src="/sensors/sensors-21-00160/article_deploy/html/images/sensors-21-00160-i007.png"/></span>—laptop.</p> "> Figure 6
<p>Experimental results of <span class="html-italic">cfn:: TC T15.3_out0</span> variable. (<b>a</b>) Signal evaluation and oscillation analysis. (<b>b</b>) Signal evolution and sudden change analysis.</p> "> Figure 7
<p>Experimental results of <span class="html-italic">cfn:: T1.1_out0</span> variable. (<b>a</b>) Signal evaluation and oscillation analysis. (<b>b</b>) Signal evolution and sudden change analysis.</p> "> Figure A1
<p></p> "> Figure A2
<p></p> ">
Abstract
:1. Introduction
1.1. Motivation
1.2. Signal Analysis and Anomaly Detection Methods
2. A Novel Dynamic Control System Platform
2.1. Structure of the Control System Platform
- control algorithm design and implementation—including means to design control diagrams in a convenient software environment familiar to the developer;
- data processing and advanced supervision—together with database and advanced supervision procedures of the ASS package; and,
- global monitoring and visualisation—the visualisation of processes and design of GUI for a specific system operation and global management of ongoing processes.
2.2. Hardware and Software of Dynamic Control Unit
- (a)
- User-friendly graphical control design and programming environment.
- (b)
- Process data recording into database system.
- (c)
- Modern and universal HMI.
- (d)
- Hard real-time process control (true sampling time starting at 1 ms).
- (e)
- Provide all standard control elements in industrial and building management.
- (f)
- Support advanced control algorithms and advanced control design techniques.
- (g)
- Support controller networking.
- (h)
- Support standard license-free communication protocol.
- (i)
- Cost-effective hardware components.
- (j)
- Open-source and platform independent software tools.
- MODE 1—real controller + real system—classic control mode, in which the real-time control application is executed inside the DCU controller and I/Os signals from real system are measured by physical I/Os channels of DCU;
- MODE 2—controller model + system model—classic simulation mode, where the controller and plant is designed in dynamic simulator environment, thus the control application execution in DCU is stopped and physical I/Os remain in the last state;
- MODE 3—real controller + system model—validation of the control algorithm (after mode 2), when the process model outputs are sent into DCU, where they are processed and evaluated, while output values are sent back to the process model in the host PC; and,
- MODE 4—controller model + real system—the real process is controlled, but the control application is executed inside host PC and DCU receives computed values of outputs and sends measured physical inputs back into the host PC.
3. Advanced Supervision Server and Its Functions
- DCU I/O analysis—time-domain and frequency-domain analysis to detect anomalies, unwanted oscillations and switching frequencies, wear of system’s components, etc.; and,
- DCU process control analysis—closed-loop identification, controller tuning, and implementation of advanced control algorithms.
3.1. Signal Analysis Procedure
Row 1—output folder path and file name, where to store results. |
Row 2—informative message or any optional string. |
Row 3—number of input parameters (matrices) for analysis. |
Row 4—number of results (if previous results from analysis need to be considered). |
* |
Row 5—definition of matrix dimensions (number of rows and columns). |
Row 6—the first row of matrix. |
Row 7…(x − 1)—other rows of matrix (each row is on new line). |
† |
Row x—number of initial parameters. |
Row (x + 1)…(x + y)—matrix dimensions and rows values—analogous to part between * and †. |
3.2. Main Functions of the Signal Analysis Procedure
3.3. Outputs, Other Features and Offline Simulation of the Procedure
Row 1—return message for user (status of the procedure evaluation). |
Row 2—reached percentage value of criterion from fftAnalysis() and peaksAnalysis() functions. |
Row 3—timestamp when the highest criterion was measured. |
Row 4—attained percentage value of criterion from changeAnalysis() function. |
Row 5—timestamp when the biggest change in signal was measured. |
4. Practical Case Study
4.1. Experimental Setup
4.2. Experimental Results and Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A. Input and Output Data File Example
- Input:
- C:/Users/minarcik/Desktop/sch/signalCheck_output_31.dat
- Some string here if needed
- 6
- 1
- 7200,2
- 1584537167675,32.360452
- 1584537166670,32.360394
- 1584537165664,32.360343
- 1584537164659,32.357122
- 1584537163656,32.354222
- …
- 1584529900994,29.928913
- 1584529899988,29.930158
- 1584529898983,29.931279
- 1584529897978,29.932288
- 1584529896973,29.933196
- 1,1
- 25.0
- 1,1
- 1.0
- 1,1
- 1500.0
- 1,1
- 2.0
- 1,1
- 20.0
- Initialization
- 4
- 1,1
- 0
- 1,1
- 0
- 1,1
- 0
- 1,1
- 0
- Output:
- MESSAGE: OK: Peaks signal analysis has been conducted. OK: Sudden change signal analysis has been conducted;
- MATRIX_0: [75.95734313336];
- MATRIX_1: [1584530612174];
- MATRIX_2: [335.6069380092];
- MATRIX_3: [1584532109604];
Appendix B. Scilab Console List during the signalCheck() Procedure
- –>signalCheck(’signalCheck_input_13.dat’)
- OK: Data have been read from file.
- OK: Input data have been read.
- OK: Previous results have been read.
- OK: The signal is not continuous-time and has been divided into 5 segments
- OK: A duration of the 1. segment is 7200.548 [s]
- OK: The signal meets all the requirements and will be analysed…
- OK: Signal analysis executed and the result is [cfr, tsf, sc, tss]:
- !149.3251305613 1584530465256 328.4002204453 1584530601120 !
- OK: Execution time of the signal analysis was 6.811 [s] (0.018-fftAnalysis + 0.029-peaksAnalysis + 6.764- changeAnalysis)
- OK: A duration of the 2. segment is 0 [s] !ERROR: Signal length is shorter than 100 samples, so the analysis for this signal will not be executed! !
- OK: A duration of the 3. segment is 0 [s]
- !ERROR: Signal length is shorter than 100 samples, so the analysis for this signal will not be executed! !
- OK: A duration of the 4. segment is 0 [s]
- !ERROR: Signal length is shorter than 100 samples, so the analysis for this signal will not be executed! !
- OK: A duration of the 5. segment is 33.913 [s]
- !ERROR: Signal length is shorter than 100 samples, so the analysis for this signal will not be executed! !
- OK: The final result is [cfr, tsf, sc, tss]:
- !149.3251305613 1584530465256 328.4002204453 1584530601120 !
- OK: Results have been written to the text file
- ans =
- OK: FFT analysis has been conducted. OK: Sudden change signal analysis has been conducted.
Appendix C. Results of signalCheck() Function Simulations
References
- Mocrii, D.; Chen, Y.; Musilek, P. IoT-based smart homes: A review of system architecture, software, communications, privacy and security. Internet Things 2018, 1–2, 81–98. [Google Scholar] [CrossRef]
- Al Dakheel, J.; Del Pero, C.; Aste, N.; Leonforte, F. Smart buildings features and key performance indicators: A review. Sustain. Cities Soc. 2020, 61, 102328. [Google Scholar] [CrossRef]
- Sovacool, B.K.; Furszyfer Del Rio, D.D. Smart home technologies in Europe: A critical review of concepts, benefits, risks and policies. Renew. Sustain. Energy Rev. 2020, 120, 109663. [Google Scholar] [CrossRef]
- Metallidou, C.K.; Psannis, K.E.; Egyptiadou, E.A. Energy efficiency in smart buildings: IoT approaches. IEEE Access 2020, 8, 63679–63699. [Google Scholar] [CrossRef]
- Minoli, D.; Sohraby, K.; Occhiogrosso, B. IoT considerations, requirements, and architectures for smart buildings—energy optimization and next-generation building management systems. IEEE Internet Things J. 2017, 4, 269–283. [Google Scholar] [CrossRef]
- Technavio. Top 10 Building Management System Companies in the World. 2019. Available online: https://blog.technavio.com/blog/top-10-building-management-system-companies-worldwide (accessed on 13 October 2020).
- Alaa, M.; Zaidan, A.; Zaidan, B.; Talal, M.; Kiah, M. A review of smart home applications based on Internet of Things. J. Netw. Comput. Appl. 2017, 97, 48–65. [Google Scholar] [CrossRef]
- Mofidi, F.; Akbari, H. Intelligent buildings: An overview. Energy Build. 2020, 223, 110192. [Google Scholar] [CrossRef]
- Marinakis, V.; Karakosta, C.; Doukas, H.; Androulaki, S.; Psarras, J. A building automation and control tool for remote and real time monitoring of energy consumption. Sustain. Cities Soc. 2013, 6, 11–15. [Google Scholar] [CrossRef]
- Valinejadshoubi, M.; Moselhi, O.; Bagchi, A.; Salem, A. Development of an IoT and BIM-based automated alert system for thermal comfort monitoring in buildings. Sustain. Cities Soc. 2020, in press. [Google Scholar] [CrossRef]
- Wang, J.; Fu, Y.; Yang, X. An integrated system for building structural health monitoring and early warning based on an Internet of things approach. Int. J. Distrib. Sens. Netw. 2017, 13, 1–14. [Google Scholar] [CrossRef] [Green Version]
- Sheikhnejad, Y.; Gonçalves, D.; Oliveira, M.; Martins, N. Can buildings be more intelligent than users?- The role of intelligent supervision concept integrated into building predictive control. Energy Rep. 2020, 6, 409–416. [Google Scholar] [CrossRef]
- Majewski, J.; Wojtyna, R. Results of applying evolutionary algorithms to frequency-domain signal analysis. In Proceedings of the 2017 Signal Processing: Algorithms, Architectures, Arrangements, and Applications (SPA), Poznan, Poland, 20–22 September 2017; pp. 121–124. [Google Scholar]
- Elbi, M.D.; Kizilkaya, A. Multicomponent signal analysis: Interwoven Fourier decomposition method. Digit. Signal Process. 2020, 104, 102771. [Google Scholar] [CrossRef]
- Ren, W.X.; Sun, Z.S. Structural damage identification by using wavelet entropy. Eng. Struct. 2008, 30, 2840–2849. [Google Scholar] [CrossRef]
- Li, D.; Cai, Z.; Qin, B.; Deng, L. Signal frequency domain analysis and sensor fault diagnosis based on artificial intelligence. Comput. Commun. 2020, 160, 71–80. [Google Scholar] [CrossRef]
- Sharma, R.R.; Pachori, R.B. A new method for non-stationary signal analysis using eigenvalue decomposition of the Hankel matrix and Hilbert transform. In Proceedings of the 2017 4th International Conference on Signal Processing and Integrated Networks (SPIN), Noida, India, 2–3 February 2017; pp. 484–488. [Google Scholar]
- Zhu, K.; Wong, Y.S.; Hong, G.S. Wavelet analysis of sensor signals for tool condition monitoring: A review and some new results. Int. J. Mach. Tools Manuf. 2009, 49, 537–553. [Google Scholar] [CrossRef]
- Lu, Q. The processing of the rolling bearing’s fault signal based on wavelet analysis. In Proceedings of the 2012 International Conference on Image Analysis and Signal Processing, Hangzhou, China, 9–11 November 2012; pp. 1–5. [Google Scholar]
- Ma, Q.; Solís, M.; Galvín, P. Wavelet analysis of static deflections for multiple damage identification in beams. Mech. Syst. Signal Process. 2021, 147, 107103. [Google Scholar] [CrossRef]
- Yeap, Y.M.; Geddada, N.; Satpathi, K.; Ukil, A. Time- and Frequency-Domain Fault Detection in a VSC-Interfaced Experimental DC Test System. IEEE Trans. Ind. Inform. 2018, 14, 4353–4364. [Google Scholar] [CrossRef]
- Sejdić, E.; Djurović, I.; Jiang, J. Time–frequency feature representation using energy concentration: An overview of recent advances. Digit. Signal Process. 2009, 19, 153–183. [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]
- Lughofer, E.; Zavoianu, A.C.; Pollak, R.; Pratama, M.; Meyer-Heye, P.; Zörrer, H.; Eitzinger, C.; Radauer, T. On-line anomaly detection with advanced independent component analysis of multi-variate residual signals from causal relation networks. Inf. Sci. 2020, 537, 425–451. [Google Scholar] [CrossRef]
- Smiti, A. A critical overview of outlier detection methods. Comput. Sci. Rev. 2020, 38, 100306. [Google Scholar] [CrossRef]
- Chandola, V.; Banerjee, A.; Kumar, V. Anomaly detection: A survey. ACM Comput. Surv. 2009, 41, 1–58. [Google Scholar] [CrossRef]
- Ariyaluran Habeeb, R.A.; Nasaruddin, F.; Gani, A.; Targio Hashem, I.A.; Ahmed, E.; Imran, M. Real-time big data processing for anomaly detection: A survey. Int. J. Inf. Manag. 2019, 45, 289–307. [Google Scholar] [CrossRef] [Green Version]
- Prosystemy. About Us. Available online: http://prosystemy.sk/index.php?lang=en (accessed on 15 October 2020).
Parameter | Value |
---|---|
Label | Temperature Signal Check |
Computational platform URL | http://127.0.0.1/ASS/ass/aspcall.php |
Procedure call | signalCheck |
Priority | 50 |
Scheduled | EVERY 3600 SEC |
For control variables | cfn:: TC T15.3_out0, cfn:: T1.1_out0 |
For control functions | |
Input string | Temp.analysis jj |
Input structure | Analyzed Temperature Signal: CONTROL_VARIABLE[7200SEC], |
Frequency Critical Period: 60, | |
Frequency Critical Amplitude: 2, | |
Frequency Critical Duration: 900, | |
Sudden Change Threshold [degC]: 3, | |
Sudden Change Interval [s]: 5 | |
Result structure | Critical Frequency Reached: REAL: 0, |
Sudden Change:REAL: 0, | |
Time of Critical Frequency Event: TIMESTAMP: 0, | |
Time of Sudden Change Event: TIMESTAMP: 0 | |
Result record size | 10 |
Result record resend | 1 |
Visualisation notification | Crit. Frequency Reached: Oscillation is close to critical period. |
Visualisation alarm | Crit. Frequency Reached: Oscillating is above critical period and amplitude. |
GMS alarm | |
GMS warning | |
GMS notification | |
Max execution time | 30SEC |
Analysis Time | Oscillation Analysis | Sudden Change Analysis | ||
---|---|---|---|---|
28/11/2020 | Attained Criterion [%] | Attained in Time | Attained Criterion [%] | Attained in Time |
01:59:51 | 46.3334 | 01:09:50 | 33.2977 | 01:16:06 |
02:59:51 | 71.0155 | 02:14:00 | 33.9134 | 02:36:49 |
03:59:51 | 59.8925 | 02:19:15 | 34.2351 | 02:36:49 |
04:59:51 | 88.0896 | 04:25:37 | 33.4914 | 03:46:29 |
05:59:50 | 110.4940 | 04:28:13 | 33.2420 | 04:36:42 |
06:59:50 | 77.3565 | 05:42:25 | 33.2640 | 05:55:09 |
07:59:50 | 148.9891 | 06:19:14 | 65.6254 | 06:32:50 |
08:59:51 | 60.8071 | 07:56:55 | 33.3015 | 08:06:15 |
09:59:51 | 110.2355 | 09:21:39 | 33.2728 | 08:22:16 |
10:59:50 | 110.2355 | 09:21:39 | 33.0811 | 09:39:07 |
11:59:57 | 117.1298 | 10:37:50 | 33.0036 | 10:44:25 |
12:59:57 | 80.3785 | 11:20:33 | 33.2893 | 11:38:14 |
13:59:57 | 31.4047 | 13:12:32 | 33.2516 | 13:26:10 |
15:00:10 | 28.4239 | 13:59:22 | 33.2770 | 13:26:10 |
Analysis Time | Oscillation Analysis | Sudden Change Analysis | ||
---|---|---|---|---|
28/11/2020 | Attained Criterion [%] | Attained in time | Attained Criterion [%] | Attained in Time |
01:59:49 | 46.3335 | 01:09:50 | 33.2977 | 01:16:06 |
02:59:49 | 108.8712 | 02:15:54 | 33.3104 | 01:28:54 |
03:59:49 | 227.4807 | 03:11:55 | 467.3365 | 03:17:12 |
04:59:49 | 155.0944 | 03:19:18 | 33.1927 | 04:11:20 |
05:59:48 | 44.0485 | 05:03:54 | 33.2763 | 05:27:12 |
06:59:48 | 155.5126 | 06:23:36 | 65.8576 | 06:32:54 |
07:59:48 | 148.9891 | 06:19:14 | 65.6254 | 06:32:50 |
08:59:49 | 199.7701 | 07:48:42 | 65.6596 | 08:06:07 |
09:59:48 | 147.9392 | 09:02:10 | 466.3525 | 09:07:55 |
10:59:48 | 66.8067 | 10:09:14 | 33.2872 | 09:45:42 |
11:59:55 | 95.6282 | 10:35:29 | 33.2592 | 11:38:14 |
12:59:55 | 80.3785 | 11:20:33 | 33.2893 | 11:38:14 |
13:59:55 | 222.7023 | 12:42:22 | 33.1799 | 13:08:13 |
15:00:08 | 49.0933 | 14:16:57 | 33.1973 | 14:34:18 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2020 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 (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Minarčík, P.; Procházka, H.; Gulan, M. Advanced Supervision of Smart Buildings Using a Novel Open-Source Control Platform. Sensors 2021, 21, 160. https://doi.org/10.3390/s21010160
Minarčík P, Procházka H, Gulan M. Advanced Supervision of Smart Buildings Using a Novel Open-Source Control Platform. Sensors. 2021; 21(1):160. https://doi.org/10.3390/s21010160
Chicago/Turabian StyleMinarčík, Peter, Hynek Procházka, and Martin Gulan. 2021. "Advanced Supervision of Smart Buildings Using a Novel Open-Source Control Platform" Sensors 21, no. 1: 160. https://doi.org/10.3390/s21010160
APA StyleMinarčík, P., Procházka, H., & Gulan, M. (2021). Advanced Supervision of Smart Buildings Using a Novel Open-Source Control Platform. Sensors, 21(1), 160. https://doi.org/10.3390/s21010160