with a batch size equal to the length of the training
dataset were used. Validating the model on the test
dataset, resulted in an RMSE value of 2.373 (Figure 8).
Figure 8: Estimated indoor temperature vs. measured
indoor temperature for the validation set (1
st
scenario).
For the second scenario, the mean value was
computed on 30 successive records in order to reduce
the number of records in the dataset. A Bidirectional
LSTM model with 12 neurons was trained over 500
epochs. Validating the model resulted in an RMSE of
1.062 (Figure 9).
Figure 9: Estimated indoor temperature vs. measured
indoor temperature for the validation set (2
nd
scenario).
ST's extension package of the STM32CubeMX,
STM32Cube.AI was used for converting the models
exported from Keras into optimized code for running
on the smart emulator module.
Experiments performed with indoor air parameter
measurements collected from home and office rooms
demonstrated a very good estimation capability even
for simple LSTM structures. A more difficult
situation was considered, for the case of greenhouse
room: the environmental variables (temperatures,
humidities) are exhibiting a wider dynamic range and
saturation for the humidity transducer is present.
4 CONCLUSIONS
The experiments performed on the time series
obtained for a smart sensor network dedicated to
smart home platforms are indicating successful
operation of the virtual sensors for a time horizon of
few days. The training sets consisted of time series
collected in one week. This proves that the proposed
approach can be reliably used in providing the
adaptive behaviour of a distributed control network
for temperature/humidity control.
Further efforts will be dedicated to provide a fully
automated construction of the models for the virtual
sensors by introduction of the dedicated neural
network model generator as a server application
running in the cloud.
ACKNOWLEDGEMENTS
This paper was supported by the project
POCU/380/6/13/123927 – ANTREDOC, "Entre-
preneurial competencies and excellence research in
doctoral and postdoctoral study programs", project
co-funded from the European Social Fund through the
Human Capital Operational Program 2014-2020.
REFERENCES
Duda, N., Nowak, T., Hartmann, M., et al. BATS: Adaptive
Ultra Low Power Sensor Network for Animal Tracking.
Sensors 2018, 18, 3343. DOI: 10.3390/s18103343.
Elnour, M., Meskin, N., Al-Naemi, M. Sensor data
validation and fault diagnosis using Auto-Associative
Neural Network for HVAC systems, Journal of
Building Engineering 2020, 27, 100935. DOI:
10.1016/j.jobe.2019.100935.
Gunay, H. B., Shi, Z., Newsham, G., Moromisato, R.
Detection of zone sensor and actuator faults through
inverse greybox modelling. Building and Environment
2020, 171, 106659. DOI: 10.1016/j.buildenv.2020.
106659
Verhelst, J., Van Ham, G., Saelens, D. and Helsen, L.
Economic impact of persistent sensor and actuator
faults in concrete core activated office buildings.
Energy and Buildings 2017, 142, 111-127. DOI:
10.1016/j.enbuild.2017.02.052.
Isermann, R. Fault-Diagnosis Systems. An Introduction
from Fault Detection to Fault Tolerance. 475 pages.
Springer-Verlag Berlin Heidelberg, Germany. 2006.
ISBN: 978-3-540-24112-6
Shan-Bin Sun, Yuan-Yuan He, Si-Da Zhou and Zhen-Jiang
Yue: A Data-Driven Response Virtual Sensor
Technique with Partial Vibration Measurements Using
Convolutional Neural Network. Sensors 2017, 17,
2888. DOI: 10.3390/s17122888.
Chirag Deb, Fan Zhang, Junjing Yang, Siew Eang Lee,
Kwok Wei Shah. A review on time series forecasting
techniques for building energy consumption.
Renewable and Sustainable Energy Reviews 2017, 74,
902–924. DOI: 10.1016/j.rser.2017.02.085.