Technical gazette, Vol. 31 No. 4, 2024.
Original scientific paper
https://doi.org/10.17559/TV-20240606001753
Dual-Approach Calibration Unlocks Potential of Low-Power, Low-Cost Temperature and Humidity Sensors
Mario Holik
orcid.org/0009-0008-2726-2613
; University of Slavonski Brod, Mechanical Engineering Faculty in Slavonski Brod, Trg I. B. Mažuranić 2, 35000 Slavonski Brod, Croatia
Antun Barac
orcid.org/0000-0002-6653-2013
; University of Slavonski Brod, Mechanical Engineering Faculty in Slavonski Brod, Trg I. B. Mažuranić 2, 35000 Slavonski Brod, Croatia
*
Josip Zidar
orcid.org/0000-0001-6859-4712
; Josip Juraj Strossmayer University of Osijek, Faculty of Electrical Engineering, Computer Science and Information, Technology Osijek Kneza Trpimira 2B, 31000 Osijek, Croatia
Marinko Stojkov
orcid.org/0000-0003-1727-1766
; University of Slavonski Brod, Mechanical Engineering Faculty in Slavonski Brod, Trg I. B. Mažuranić 2, 35000 Slavonski Brod, Croatia
* Corresponding author.
Abstract
Calibration of low-cost humidity sensors such as the HTS221TR is critical for accurate measurements, especially in smart devices. This study compares two calibration methods: machine learning (PyTorchNeural Network regression model) and optimization algorithm with Engineering Equation Solver. The critical role of temperature in humidity measurement emphasizes that it must be included for a valid calibration. The machine learning approach significantly reduced the average deviation of humidity, reaching ±2,5% compared to the original ±13,4%. Additionally, it aligned mean values along the identity line. However, the performance of the model varied across the different humidity ranges. Applying the model to real-world scenarios showed that the model underestimates humidity, likely due to the sensor's inherent tendency to overestimate humidity, especially at higher temperatures. Despite these challenges, both calibration methods offer simple and effective approaches for correcting low-cost sensor measurements, with machine learning enabling faster processing. This study not only improves the accuracy of the HTS221TR sensor, but also paves the way for more accurate and affordable humidity measurement technologies in general.
Keywords
data processing; machine learning; optimization algorithm; pytorch neural network; supply chain monitoring
Hrčak ID:
318495
URI
Publication date:
27.6.2024.
Visits: 390 *