Tehnički Vjesnik (Jan 2024)

Dual-Approach Calibration Unlocks Potential of Low-Power, Low-Cost Temperature and Humidity Sensors

  • Mario Holik,
  • Antun Barac,
  • Josip Zidar,
  • Marinko Stojkov

DOI
https://doi.org/10.17559/TV-20240606001753
Journal volume & issue
Vol. 31, no. 4
pp. 1335 – 1347

Abstract

Read online

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